X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.in;h=81e1de9e5d46212ff87c5e391b6d1c229d86bfba;hb=1992cbf6645e87584da8576e290e270fc40af6cb;hp=580d9d2dd80da591f8ad0a620a7ca8a97f2a24c9;hpb=f24b761bf648dd317adae95ecdee6587e41bffe2;p=ctsim.git diff --git a/configure.in b/configure.in index 580d9d2..81e1de9 100644 --- a/configure.in +++ b/configure.in @@ -293,15 +293,12 @@ fi dnl Setting projet libraries and includes LDFLAGS="$LDFLAGS -L../libkmath -L../libk -L../libcio -L../libir" ctlibs_base="$ctlibs_base -lkmath -lk -lcio" -if test -n "$pngdir" ; then +if test "$png" = "true" ; then ctlibs_base="$ctlibs_base -lpng" fi if test "$zlib" = "true" ; then ctlibs_base="$ctlibs_base -lz" fi -if test "$png" = "true" ; then - ctlibs_base="$ctlibs_base -lpng" -fi if test "$g2" = "true" ; then ctlibs_base="$ctlibs_base -lg2" fi