X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.in;h=63efb05ff93c00e6ef401841dc641377ebf8324d;hb=cabc5359e111e9d8a9554263ece8e51d8de1ef86;hp=5f43602fde9d3db4059979e0c35b2b9330b07ad0;hpb=3e346e67f7f7a331919a32439b0f54a4d53d3029;p=ctsim.git diff --git a/configure.in b/configure.in index 5f43602..63efb05 100644 --- a/configure.in +++ b/configure.in @@ -4,7 +4,7 @@ dnl Must reset CDPATH so that bash's cd does not print to stdout dnl CDPATH= AC_INIT(src/pjrec.cpp) -AM_INIT_AUTOMAKE(ctsim,1.9.9) +AM_INIT_AUTOMAKE(ctsim,2.0.0-b1) AM_CONFIG_HEADER(config.h) dnl Checks for programs. @@ -80,6 +80,7 @@ AC_CHECK_LIB(g2, main, [g2=true], [g2=false]) AC_CHECK_LIB(wx_gtk, main, [wxwin=true; wx_gtk=true; AC_DEFINE(HAVE_WXWINDOWS)], [wxwin=false]) AC_CHECK_LIB(wx_msw, main, [wxwin=true; wx_msw=true; AC_DEFINE(HAVE_WXWINDOWS)], [wxwin=false]) AC_CHECK_LIB(dmallocxx, main, [dmalloc=true], [dmalloc=false]) +AC_CHECK_LIB(fftw, main, [fftw=true; AC_DEFINE(HAVE_FFTW)], [fftw=false]) if test "$zlib" = "true" ; then AC_CHECK_LIB(png, main, [png=true ; AC_DEFINE(HAVE_PNG)], [png=false]) @@ -309,6 +310,10 @@ if test "$wx_gtk" = "true" ; then ctlibs_tools="$ctlibs_tools -lwx_gtk" fi +if test "$fftw" = "true" ; then + ctlibs_tools="$ctlibs_tools -lrfftw -lfftw" +fi + dnl Setting projet libraries and includes LDFLAGS="$LDFLAGS -L../libctsupport -L../libctsim" ctlibs="$ctlibs_base -lctsim $ctlibs_graphics -lctsupport $ctlibs_tools"