1*** libtool.orig	Thu Jun 20 16:01:33 2002
2--- libtool	Thu Jun 20 17:33:38 2002
3***************
4*** 1853,1858 ****
5--- 1853,1867 ----
6  	*) . ./$lib ;;
7  	esac
8
9+ 	# remove anything from the dependency_libs value which references opengl libs
10+ 	# this sed simply matches the pattern:
11+ 	#     (zero-or-more-non-whitespace)libGL(zero-or-more-non-whitespace)
12+ 	# 	and
13+ 	#     -lGL(zero-or-more-non-whitespace)
14+ 	# and replaces it with ''
15+ 	dependency_libs=`$echo "$dependency_libs" | sed -e "s/[^[:space:]]*libGL[^[:space:]]*/ /g"`
16+ 	dependency_libs=`$echo "$dependency_libs" | sed -e "s/-lGL[^[:space:]]*/ /g"`
17+
18  	if test "$linkmode,$pass" = "lib,link" ||
19  	   test "$linkmode,$pass" = "prog,scan" ||
20  	   { test "$linkmode" = oldlib && test "$linkmode" = obj; }; then
21