- Another FreeBSD patch from Ulrich Spoerlein, this time

removing non-standard option to xargs from bootstrap, and
  unsetting the cached GL check so the second test succeeds.
This commit is contained in:
Jamie Wilkinson 2002-10-14 20:52:28 +00:00
parent fc17439847
commit 14068cee85
2 changed files with 5 additions and 4 deletions

View file

@ -6,15 +6,15 @@ export WANT_AUTOMAKE_1_6=1
if [ "$1" = "clean" ]; then
# quick hack to remove extra generated files that make distclean
# doesn't remove
find . -name Makefile.in -print0 | xargs -r0 rm -f
find . -name Makefile.in -print0 | xargs -0 rm -f
rm -f aclocal.m4 install-sh missing mkinstalldirs \
stamp-* tags configure config.* \
compile depcomp ltmain.sh libtool
rm -rf autom4te.cache libltdl
rm -rf quake2-*.tar.gz
find . -name '*~' -print0 | xargs -r0 rm -f
find . -name '*.rej' -print0 | xargs -r0 rm -f
find . -name '*.orig' -print0 | xargs -r0 rm -f
find . -name '*~' -print0 | xargs -0 rm -f
find . -name '*.rej' -print0 | xargs -0 rm -f
find . -name '*.orig' -print0 | xargs -0 rm -f
exit
fi

View file

@ -160,6 +160,7 @@ if test "x$HAVE_OPENGL" != xno; then
HAVE_OPENGL=yes,
dnl add -lX11 and -lXext on FreeBSD if the first
dnl test failed
unset ac_cv_lib_GL_glBegin
AC_CHECK_LIB(GL, glBegin,
OPENGL_LIBS="$OPENGL_LIBS -lX11 -lXext"
HAVE_OPENGL=yes,