Fixed cut&paste bug.

oldstable
Eric Pouech 1999-07-24 10:25:45 +00:00 committed by Alexandre Julliard
parent 270c23d8b4
commit 1a97191e83
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -3150,7 +3150,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
cat >> confdefs.h <<\EOF
#define HAVE_LIBMESAGL 1
EOF
X_PRE_LIBS="$X_PRE_LIBS -lGL"
X_PRE_LIBS="$X_PRE_LIBS -lMesaGL"
else
echo "$ac_t""no" 1>&6
fi

View File

@ -154,7 +154,7 @@ then
AC_CHECK_LIB(GL,glXCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lGL",,$X_LIBS -lXext -lX11 -lm)
if test "$ac_cv_lib_GL_glXCreateContext" = "no"
then
AC_CHECK_LIB(MesaGL,glXCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lGL",,$X_LIBS -lXext -lX11 -lm)
AC_CHECK_LIB(MesaGL,glXCreateContext,AC_DEFINE(HAVE_LIBMESAGL) X_PRE_LIBS="$X_PRE_LIBS -lMesaGL",,$X_LIBS -lXext -lX11 -lm)
fi
fi
fi