From 6e9ab40b286f6bcf8d3f07844389093c447b0011 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 8 Aug 2001 23:21:16 +0000 Subject: [PATCH] Change libGLU check to look for gluLookAt instead of glBegin. --- configure | 10 +++++----- configure.in | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure index c852304c10d..241c00ecd8d 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 26f8d8653e8..48b48ab264a 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