X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.in;h=6f1310999a7dcf7c7662a09ebfe092483d210e88;hb=d0628f1ae00136e2202a614917f52a2b0655df70;hp=36c74b6804193f449afe3b262ca580e04903852b;hpb=13838bda88b63a2535b5baaf7197006767de4b8e;p=ctsim.git diff --git a/configure.in b/configure.in index 36c74b6..6f13109 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/ctrec.c) -AM_INIT_AUTOMAKE(ctsim,0.5.0) +AM_INIT_AUTOMAKE(ctsim,0.5.2-b1) AM_CONFIG_HEADER(config.h) dnl Checks for programs. @@ -24,6 +24,8 @@ AC_CHECK_LIB(z, main, AC_MSG_WARN([zlib missing. Will need zlib for PNG support]) ]) AC_CHECK_LIB(m, main) +AC_CHECK_LIB(curses, main, [curses=true], [curses=false]) +AC_CHECK_LIB(ncurses, main, [ncurses=true], [ncurses=false]) dnl Checks for header files. AC_HEADER_STDC @@ -182,7 +184,7 @@ AC_ARG_WITH(html-dir, [ --with-html-dir=PATH Set directory of html files], [ htmldir=$withval ; AC_SUBST(htmldir) ] ) if test -n "$cgibindir" -o -n "$cgibinurl" ; then - cgiprograms=ctsim.cgi + cgiprograms="ctsim.cgi ctsim.conf" AC_SUBST(cgiprograms) fi @@ -285,4 +287,4 @@ AC_SUBST(my_includes) AM_CONDITIONAL(HAVE_INTERACTIVE_GRAPHICS, test 1==0) -AC_OUTPUT(Makefile libezplot/Makefile src/Makefile libgraph/Makefile libkmath/Makefile Makefile libk/Makefile libir/Makefile libcio/Makefile man/Makefile cgi-bin/ctsim.cgi cgi-bin/Makefile html/ctsim.html html/Makefile include/Makefile getopt/Makefile src/sample-ctrec.sh) +AC_OUTPUT(Makefile libezplot/Makefile src/Makefile libgraph/Makefile libkmath/Makefile Makefile libk/Makefile libir/Makefile libcio/Makefile man/Makefile cgi-bin/ctsim.cgi cgi-bin/Makefile html/ctsim.html html/Makefile include/Makefile getopt/Makefile src/sample-ctrec.sh cgi-bin/ctsim.conf)