I'm trying to build Fox snapshot without opengl support, but the resulting
pkg-config script still includes them.
This patch solves the problem for me.
- Jeff
[no-gl.diff]
--- configure.ac.orig 2009-11-11 14:50:40.000000000 -0600
+++ configure.ac 2009-11-11 14:51:10.000000000 -0600
@@ -274,11 +274,12 @@
if test "x$with_opengl" != "xno" ; then
AC_CHECK_HEADER(GL/glu.h,CXXFLAGS="${CXXFLAGS} -DHAVE_GLU_H=1"; LIBS="${LIBS} ${LIBGLU}")
AC_CHECK_HEADER(GL/gl.h,CXXFLAGS="${CXXFLAGS} -DHAVE_GL_H=1"; LIBS="${LIBS} ${LIBGL}")
-fi
+
GL_LIBS="${LIBGL} ${LIBGLU}"
# Substitute variables in output files
AC_SUBST(GL_LIBS)
+fi
# Done.
AC_OUTPUT(Makefile
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users