pkgsrc/x11/gtkglarea/patches/patch-aa

46 lines
1.6 KiB
Text

$NetBSD: patch-aa,v 1.5 2001/04/07 19:34:32 rh Exp $
--- configure.orig Wed Feb 16 21:30:35 2000
+++ configure
@@ -1965,7 +1965,7 @@
echo $ac_n "checking Mesa""... $ac_c" 1>&6
echo "configure:1968: checking Mesa" >&5
-LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lMesaGL"
+LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lGL"
cat > conftest.$ac_ext <<EOF
#line 1971 "configure"
#include "confdefs.h"
@@ -1989,7 +1989,7 @@
if test "x$have_MesaGL" = "xno"; then
echo $ac_n "checking Mesa with pthreads""... $ac_c" 1>&6
echo "configure:1992: checking Mesa with pthreads" >&5
- LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lMesaGL -lpthread"
+ LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lGL -lpthread"
cat > conftest.$ac_ext <<EOF
#line 1995 "configure"
#include "confdefs.h"
@@ -2025,9 +2025,9 @@
elif test "x$with_lib_MesaGL" = "xyes"; then
if test "x$have_MesaGL" = "xyes"; then
- GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL"
+ GL_LIBS="$GL_LDOPTS -lGLU -lGL"
elif test "x$have_MesaGL_pthread" = "xyes"; then
- GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL -lpthread"
+ GL_LIBS="$GL_LDOPTS -lGLU -lGL -lpthread"
else
{ echo "configure: error: Missing MesaGL library" 1>&2; exit 1; }
fi
@@ -2037,9 +2037,9 @@
if test "x$have_GL" = "xyes"; then
GL_LIBS="$GL_LDOPTS -lGLU -lGL"
elif test "x$have_MesaGL" = "xyes"; then
- GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL"
+ GL_LIBS="$GL_LDOPTS -lGLU -lGL"
elif test "x$have_MesaGL_pthread" = "xyes"; then
- GL_LIBS="$GL_LDOPTS -lMesaGLU -lMesaGL -lpthread"
+ GL_LIBS="$GL_LDOPTS -lGLU -lGL -lpthread"
else
{ echo "configure: error: You need GL or MesaGL libraries" 1>&2; exit 1; }
fi