diff --git a/configure b/configure index c852304c10..241c00ecd8 100755 --- a/configure +++ b/configure @@ -4079,9 +4079,9 @@ EOF fi fi - echo $ac_n "checking for glBegin in -lGLU""... $ac_c" 1>&6 -echo "configure:4084: checking for glBegin in -lGLU" >&5 -ac_lib_var=`echo GLU'_'glBegin | sed 'y%./+-%__p_%'` + echo $ac_n "checking for gluLookAt in -lGLU""... $ac_c" 1>&6 +echo "configure:4084: checking for gluLookAt in -lGLU" >&5 +ac_lib_var=`echo GLU'_'gluLookAt | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4094,10 +4094,10 @@ cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then diff --git a/configure.in b/configure.in index 26f8d8653e..48b48ab264 100644 --- a/configure.in +++ b/configure.in @@ -334,7 +334,7 @@ then fi dnl Check for GLU32 library. - AC_CHECK_LIB(GLU,glBegin, + AC_CHECK_LIB(GLU,gluLookAt, X_PRE_LIBS="$X_PRE_LIBS -lGLU" GLU32FILES='$(GLU32FILES)' GLU32_DLL=glu32