X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.in;h=81e1de9e5d46212ff87c5e391b6d1c229d86bfba;hb=1992cbf6645e87584da8576e290e270fc40af6cb;hp=26cbf807c49ed8abcf912134d34826545e6b22b6;hpb=61a66c46fb3b7ed0d22b27bf08c2d7adf418ce62;p=ctsim.git diff --git a/configure.in b/configure.in index 26cbf80..81e1de9 100644 --- a/configure.in +++ b/configure.in @@ -3,8 +3,8 @@ dnl Process this file with autoconf to produce a configure script. dnl Must reset CDPATH so that bash's cd does not print to stdout dnl CDPATH= -AC_INIT(src/ctrec.c) -AM_INIT_AUTOMAKE(ctsim,0.5.4) +AC_INIT(src/ctrec.cpp) +AM_INIT_AUTOMAKE(ctsim,0.6.0-b1) AM_CONFIG_HEADER(config.h) dnl Checks for programs. @@ -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