include -lGLU too
This commit is contained in:
parent
c1fb5d4d1e
commit
8aa779e4c5
@ -5,7 +5,7 @@
|
||||
if test $ENABLE_OPENGL = yes; then
|
||||
if test $HAVE_OPENGL = no; then
|
||||
- TMPLIBS="-lglut -lGL -lGLU $X_PRE_LIBS -lX11 -lXmu -lXi -lXext -lXt $X_EXTRA_LIBS $X_LIBS"
|
||||
+ TMPLIBS="-lglut"
|
||||
+ TMPLIBS="-lglut -lGLU"
|
||||
AC_CHECK_LIB(glut, glutInit, [HAVE_OPENGL=yes;
|
||||
OPENGL_LIBS=$TMPLIBS], HAVE_OPENGL=no, $TMPLIBS)
|
||||
fi
|
||||
|
@ -5,7 +5,7 @@
|
||||
if test $ENABLE_OPENGL = yes; then
|
||||
if test $HAVE_OPENGL = no; then
|
||||
- TMPLIBS="-lglut -lGL -lGLU $X_PRE_LIBS -lX11 -lXmu -lXi -lXext -lXt $X_EXTRA_LIBS $X_LIBS"
|
||||
+ TMPLIBS="-lglut"
|
||||
+ TMPLIBS="-lglut -lGLU"
|
||||
echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
|
||||
echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6
|
||||
if test "${ac_cv_lib_glut_glutInit+set}" = set; then
|
||||
|
Loading…
Reference in New Issue
Block a user