Fixed subtle configure bug concerning OpenGL.
Found on FreeBSD (which has OpenGL in /usr/X11R6/lib).
This commit is contained in:
parent
83eb6b83a5
commit
61c8a939f3
|
@ -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),
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue