|
From: Mojca M. <moj...@gm...> - 2011-07-22 10:41:55
|
This is a copy-paste from some random example that I found online:
if test "x$enable_opengl" != "xno" ; then
if test "x$host_os_darwin" = "xyes" ; then
AC_MSG_CHECKING([for OpenGL framework])
wz_ac_check_opengl_save_LIBS=$LIBS
LIBS="-framework OpenGL $LIBS"
AC_LINK_IFELSE([main() { }],
[GL_h=mac ; GLU_h=mac ; GL_lib=yes ; GLU_lib=yes ;
GLLIB="-framework OpenGL" ; GLULIB="" ; AC_MSG_RESULT([yes])],
[LIBS=$wz_ac_check_opengl_save_LIBS ; AC_MSG_RESULT([no])])
fi
If that is of any help.
Mojca
http://www.gnu-darwin.org/www001/src/ports/games/warzone2100/work/warzone2100-2.0.9/configure.ac
|