Fixed subtle configure bug concerning OpenGL.

Found on FreeBSD (which has OpenGL in /usr/X11R6/lib).
This commit is contained in:
Patrik Stridvall 2001-06-28 18:03:15 +00:00 committed by Alexandre Julliard
parent 83eb6b83a5
commit 61c8a939f3
3 changed files with 174 additions and 183 deletions

351
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -324,7 +324,8 @@ then
AC_CHECK_HEADERS(GL/osmesa.h,
[ dnl *** If GL/osmesa.h exists...
AC_CHECK_LIB(GL, OSMesaCreateContext,,
AC_CHECK_LIB(GL, OSMesaCreateContext,
X_PRE_LIBS="$X_PRE_LIBS -lGL",
AC_CHECK_LIB(OSMesa, OSMesaCreateContext,
X_PRE_LIBS="$X_PRE_LIBS -lOSMesa",,
-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS),

View File

@ -394,9 +394,6 @@
/* Define if you have the <ucontext.h> header file. */
#undef HAVE_UCONTEXT_H
/* Define if you have the GL library (-lGL). */
#undef HAVE_LIBGL
/* Define if you have the curses library (-lcurses). */
#undef HAVE_LIBCURSES