Before:
OpenGL flags are: /usr/X11R6/include
OpenGL libs are: /usr/X11R6/lib
After:
OpenGL flags are: -I/usr/X11R6/include
OpenGL libs are: -L/usr/X11R6/lib
--- macros/opengl.m4.orig Mon Aug 27 19:06:43 2007
+++ macros/opengl.m4 Mon Aug 27 19:09:27 2007
@@ -66,7 +66,7 @@ AC_DEFUN([GNASH_PATH_OPENGL],
fi
if test x"${ac_cv_path_opengl_includes}" != x -a
x"${ac_cv_path_opengl_includes}" != x"default"; then
- OPENGL_CFLAGS="${ac_cv_path_opengl_includes}"
+ OPENGL_CFLAGS="-I${ac_cv_path_opengl_includes}"
else
OPENGL_CFLAGS=""
fi
@@ -127,7 +127,7 @@ AC_DEFUN([GNASH_PATH_OPENGL],
fi
if test x"${ac_cv_path_opengl_lib}" != x ; then
- OPENGL_LIBS="${ac_cv_path_opengl_lib}"
+ OPENGL_LIBS="-L${ac_cv_path_opengl_lib}"
else
OPENGL_LIBS=""
fi
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev