On Wed, Feb 15, 2006 at 11:13:57PM +0100, Nicolas Lécureuil wrote:
> the complete output of the compilation is here :
> http://zarb.org/~neoclust/gnash-build.txt
Could you please try the attached patch? I added the -l when GL libraries
are searched for in a directory list.
--
Pat
Index: macros/opengl.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/opengl.m4,v
retrieving revision 1.8
diff -u -3 -p -u -r1.8 opengl.m4
--- macros/opengl.m4 3 Feb 2006 20:50:27 -0000 1.8
+++ macros/opengl.m4 18 Feb 2006 10:48:02 -0000
@@ -92,7 +92,7 @@ AC_DEFUN([AM_PATH_OPENGL],
for i in $libslist; do
if test -f $i/libGL.a -o -f $i/libGL.so; then
if test x"$i" != x"/usr/lib"; then
- ac_cv_path_opengl_libraries="-L$i"
+ ac_cv_path_opengl_libraries="-L$i -lGL -lGLU"
AC_MSG_RESULT(${ac_cv_path_opengl_libraries})
break
else
@@ -105,7 +105,7 @@ AC_DEFUN([AM_PATH_OPENGL],
else
if test -f ${ac_cv_path_opengl_libraries}/libGL.a -o -f
${ac_cv_path_opengl_libraries}/libGL.so; then
if test x"${ac_cv_path_opengl_libraries}" != x"/usr/lib"; then
- ac_cv_path_opengl_libraries="-L${ac_cv_path_opengl_libraries}"
+ ac_cv_path_opengl_libraries="-L${ac_cv_path_opengl_libraries} -lGL
-lGLU"
else
ac_cv_path_opengl_libraries=""
fi
_______________________________________________
Gnash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash