diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-26 18:03:36 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-02-26 18:03:36 +0000 |
commit | a064b260e2950b5a153e51c13f579095c53a9a7a (patch) | |
tree | d19c53f7f55b94ababf1bf0a2e16614989443643 /configure.ac | |
parent | 9f2f1fdf76430c655a30f157c756e9695fa0a587 (diff) | |
download | mana-a064b260e2950b5a153e51c13f579095c53a9a7a.tar.gz mana-a064b260e2950b5a153e51c13f579095c53a9a7a.tar.bz2 mana-a064b260e2950b5a153e51c13f579095c53a9a7a.tar.xz mana-a064b260e2950b5a153e51c13f579095c53a9a7a.zip |
Made OpenGL enabled by default.
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 8293650f..9ccf1411 100755 --- a/configure.ac +++ b/configure.ac @@ -77,15 +77,15 @@ AC_MSG_ERROR([*** Library found but cannot find headers (guichan.sf.net) *** ])) AM_INIT_AUTOMAKE # Option to enable OpenGL -AC_ARG_WITH(opengl,[ --with-opengl use OpenGL ] ) -if test "x$with_opengl" == "xyes"; then +AC_ARG_WITH(opengl,[ --without-opengl don't use OpenGL ] ) +if test "x$with_opengl" == "xno"; then + with_opengl=no +else with_opengl=yes OPENGL_CFLAGS=' -DUSE_OPENGL' OPENGL_LIBS=' -lGL -lguichan_opengl' AC_SUBST(OPENGL_CFLAGS) AC_SUBST(OPENGL_LIBS) -else - with_opengl=no fi # Search for sdl-config |