From de6175a4758def2d23530bc6e403faee21fde7e6 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 11 Jan 2008 16:47:39 +0000 Subject: [PATCH] Remove an incorrect use of AM_CONDITIONAL() --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 85a2cd532..957e8ac1e 100644 --- a/configure.ac +++ b/configure.ac @@ -214,7 +214,6 @@ else fi AC_ARG_ENABLE(osgdebug, [ --enable-osgdebug Use OSG debug libraries], [enable_osgdebug="$enableval"]) -AM_CONDITIONAL(USE_OSGDEBUG, test "x$enable_osgdebug" = "xyes") dnl check for OpenGL related libraries case "${host}" in @@ -527,7 +526,7 @@ case "${host}" in AS_VAR_POPDEF([ac_Framework])dnl ]) - if USE_OSGDEBUG; then + if test "x$enable_osgdebug" = "xyes"; then AC_CHECK_LIB(osgViewerd,osgViewerGetVersion) AC_CHECK_LIB(osgGAd,osgGAGetVersion) AC_CHECK_LIB(osgTextd,osgTextGetVersion) @@ -550,7 +549,7 @@ case "${host}" in fi ;; *) - if USE_OSGDEBUG; then + if test "x$enable_osgdebug" = "xyes"; then AC_CHECK_LIB(osgViewerd,osgViewerGetVersion) AC_CHECK_LIB(osgGAd,osgGAGetVersion) AC_CHECK_LIB(osgTextd,osgTextGetVersion) -- 2.39.5