r79: *** empty log message ***
[ctsim.git] / configure.in
index 580d9d2dd80da591f8ad0a620a7ca8a97f2a24c9..81e1de9e5d46212ff87c5e391b6d1c229d86bfba 100644 (file)
@@ -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