dnl CDPATH=
AC_INIT(src/ctsim.cpp)
-AM_INIT_AUTOMAKE(ctsim,2.0.0b12)
+AM_INIT_AUTOMAKE(ctsim,2.0.0)
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
dnl Checks for library functions.
AC_FUNC_VPRINTF
-AC_CHECK_FUNCS(strtod strtol snprintf htonl usleep)
+AC_CHECK_FUNCS(strtod strtol snprintf htonl usleep vsprintf vsnprintf)
AC_CHECK_FUNC(basename)
AC_CHECK_FUNC(setjmp)
AC_CHECK_FUNC(setpriority)
my_includes="$my_includes -I../include -I.."
AC_SUBST(my_includes)
-AC_MSG_CHECKING([interactive graphics])
+AC_MSG_CHECKING([for X])
if test "$no_x" != "yes" ; then
AC_DEFINE(HAVE_X11)
AC_DEFINE(HAVE_SGP)
AC_MSG_RESULT(yes)
if test "$g2" = "true" ; then
ctlibs_graphics="$ctlibs_graphics -lg2"
+ AC_DEFINE(HAVE_G2)
fi
ctlibs_graphics="$ctlibs_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS"
else