From ae63e2860fe413649090bcaa4fb5cd322c6f852a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 22 Aug 2013 23:12:50 +0300 Subject: fix USE_OPENGL define --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') 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 ] ) -- cgit v1.2.3-60-g2f50