Commit 5e69f118 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

Added -lXmu and -lXi for glut library.

parent 9142f773
......@@ -8007,7 +8007,7 @@ if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
......@@ -8056,7 +8056,7 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
if test $ac_cv_lib_glut_glutMainLoop = yes; then
GLUT_LIBS="-lglut"
GLUT_LIBS="-lglut -lXmu -lXi"
GLUT32FILES='$(GLUT32FILES)'
......
......@@ -343,9 +343,9 @@ This prevents linking to OpenGL. Delete the file and restart configure.])
dnl Check for glut32 library.
AC_CHECK_LIB(glut,glutMainLoop,
[AC_SUBST(GLUT_LIBS,"-lglut")
[AC_SUBST(GLUT_LIBS,"-lglut -lXmu -lXi")
AC_SUBST(GLUT32FILES,'$(GLUT32FILES)')],,
$OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS)
$OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS)
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment