AC_MSG_CHECKING([for X])
if test "$no_x" != "yes" ; then
- AC_DEFINE(HAVE_SGP)
- AM_CONDITIONAL(HAVE_SGP, test 1==1)
AC_DEFINE(HAVE_X11)
LDFLAGS="$LDFLAGS -L../libctgraphics -L/usr/X11R6/lib"
ctlib_graphics="$ctlibs_base -lctgraphics"
AC_MSG_RESULT(yes)
- if test "$g2" = "true" ; then
- ctlib_graphics="$ctlib_graphics -lg2"
- AC_DEFINE(HAVE_G2)
- fi
ctlib_graphics="$ctlib_graphics $X_BASIC_LIBS $X_TOOLKIT_LIBS"
if test "$libgl" = "true" ; then
ctlib_graphics="$ctlib_graphics -lwx_gtk_gl -lglut -lGL -lGLU"
fi
-else
if test "$wxwin" = "true" ; then
AC_DEFINE(HAVE_SGP)
AM_CONDITIONAL(HAVE_SGP, test 1==1)
fi
+else
AC_MSG_RESULT(no)
fi