$NetBSD: patch-aa,v 1.4 2000/06/21 03:20:34 jlam Exp $ --- configure.orig Thu Feb 25 14:29:00 1999 +++ configure Tue Jun 20 23:12:13 2000 @@ -2241,7 +2241,7 @@ echo $ac_n "checking Mesa""... $ac_c" 1>&6 echo "configure:2244: checking Mesa" >&5 -LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lMesaGL" +LIBS="$saved_LIBS $GTK_LIBS $GL_LDOPTS -lGL" cat > conftest.$ac_ext <&6 echo "configure:2268: 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 <&2; exit 1; } fi @@ -2313,9 +2313,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