From: ehofman Date: Tue, 1 Dec 2009 09:08:08 +0000 (+0000) Subject: The problem with the current test is that HAVE_CULLSETTINGS_CLEAR_MASK is always... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c617798d558f196f2699f51e822131895559188;p=flightgear.git The problem with the current test is that HAVE_CULLSETTINGS_CLEAR_MASK is always defined, either with a value of 1 or a value of 0 while the test in the code checks for '#if defined(HAVE_CULLSETTINGS_CLEAR_MASK)' --- diff --git a/configure.ac b/configure.ac index ea2963025..5af7587c9 100644 --- a/configure.ac +++ b/configure.ac @@ -692,7 +692,7 @@ AC_COMPILE_IFELSE( [[osg::CullSettings::VariablesMask mask = osg::CullSettings::CLEAR_MASK;]])], [AC_DEFINE([HAVE_CULLSETTINGS_CLEAR_MASK],1,[define if OSG has CullSettings::CLEAR_MASK]) AC_MSG_RESULT([yes])], - [AC_DEFINE([HAVE_CULLSETTINGS_CLEAR_MASK],0,[define if OSG has CullSettings::CLEAR_MASK]) + [AC_DEFINE([DONT_HAVE_CULLSETTINGS_CLEAR_MASK],1,[define if OSG doesn't have CullSettings::CLEAR_MASK]) AC_MSG_RESULT([no])]) AC_LANG_POP