dnl CDPATH=
AC_INIT(src/ctrec.c)
-AM_INIT_AUTOMAKE(ctsim,0.5.2)
+AM_INIT_AUTOMAKE(ctsim,0.5.2-b2)
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
CFLAGS="$CFLAGS -I$testlamdir/include"
lamdir="$testlamdir"
AC_SUBST(lamdir)
+ mpienable="true"
+ AC_SUBST(mpienable)
break
fi
done
[ 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
my_includes="$my_includes -I../include -I.."
AC_SUBST(my_includes)
-AM_CONDITIONAL(HAVE_INTERACTIVE_GRAPHICS, test 1==0)
+if test "x$no_x" != "xyes" ; then
+ AC_DEFINE(HAVE_INTERACTIVE_GRAPHICS)
+ AM_CONDITIONAL(HAVE_INTERACTIVE_GRAPHICS, test 1==1)
+fi
-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)