David Thompson wrote:
>
> If that's the case, we can just move the Motif checks before the OpenGL
> checks.
The patch below solves the problem:
Index: configure.ac
===================================================================
RCS file: /src/master/dx/configure.ac,v
retrieving revision 1.3
diff -u -r1.3 configure.ac
--- configure.ac 11 Jul 2003 05:50:08 -0000 1.3
+++ configure.ac 16 Sep 2003 08:30:44 -0000
@@ -483,8 +483,6 @@
AC_CHECK_LIB(Xt, XtMalloc)
AC_CHECK_LIB(Xext, XextAddDisplay)
AC_CHECK_LIB(m, sqrt)
-AC_CHECK_LIB(GL, glXGetConfig)
-AC_CHECK_LIB(GLU, gluBuild2DMipmaps)
DX_PATH_XM
if test "$xm_includes" != "" ; then
@@ -504,6 +502,9 @@
[Define to 1 if Windows has XmInit fnct]))
AC_TRY_LINK_FUNC(HCLXtInit, AC_DEFINE(HAVE_HCLXTINIT, 1,
[Define to 1 if Windows has XtInit fnct]))
+
+AC_CHECK_LIB(GL, glXGetConfig)
+AC_CHECK_LIB(GLU, gluBuild2DMipmaps)
dnl want to put the Xmu tests in before here!!
DX_X_LINK_LIBS="$LIBS"