1
0
Fork 0

Remove an incorrect use of AM_CONDITIONAL()

This commit is contained in:
curt 2008-01-11 16:47:39 +00:00
parent 50461db267
commit de6175a475

View 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)