]> git.mxchange.org Git - flightgear.git/commitdiff
Remove an incorrect use of AM_CONDITIONAL()
authorcurt <curt>
Fri, 11 Jan 2008 16:47:39 +0000 (16:47 +0000)
committercurt <curt>
Fri, 11 Jan 2008 16:47:39 +0000 (16:47 +0000)
configure.ac

index 85a2cd532526007d38e24b30266ce57d9be16fc7..957e8ac1e2bf1723ff05d33be7ca590a175a8cc1 100644 (file)
@@ -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)