r194: configure.in
[ctsim.git] / configure.in
index ee4bc51bdbd4163357947f9e4801bd7d4d995636..74d5fecfa53c0091d6e92f739ef3d033e10e9932 100644 (file)
@@ -311,7 +311,7 @@ AM_CONDITIONAL(NO_X, test "x$no_x" = "xyes")
 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)
@@ -321,6 +321,7 @@ if test "$no_x" != "yes" ; then
   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