summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 756160ce8..6b4230491 100755
--- a/configure.ac
+++ b/configure.ac
@@ -203,8 +203,8 @@ else
else
LDFLAGS="$LDFLAGS -framework OpenGL"
fi
- AC_DEFINE(USE_OPENGL, 1, [Defines if ManaPlus should have OpenGL support])
fi
+AM_CONDITIONAL(USE_OPENGL, test x$with_opengl = xyes)
# Option to enable internal guichan
AC_ARG_WITH(internalguichan,[ --without-internalguichan don't use internal guichan ] )