Salome HOME
PR: AM_CONDITIONAL must be outside if then else bloc
authorprascle <prascle>
Sat, 18 Feb 2006 17:28:08 +0000 (17:28 +0000)
committerprascle <prascle>
Sat, 18 Feb 2006 17:28:08 +0000 (17:28 +0000)
salome_adm/unix/config_files/check_cppunit.m4

index 1691c1b128c2158b6be1c5197c2f50229ea1a9ea..d000a1d87e122a5fa240571a04eb94d34e82c224 100644 (file)
@@ -96,13 +96,12 @@ else
     AC_SUBST(CPPUNIT_INCLUDES)
     AC_SUBST(CPPUNIT_LIBS)
     AC_SUBST(cppunit_ok)
-    AM_CONDITIONAL(CPPUNIT_IS_OK, [test x"$cppunit_ok" = xyes])
-
     AC_MSG_RESULT(yes)
   fi
-
 fi
 
+AM_CONDITIONAL(CPPUNIT_IS_OK, [test x"$cppunit_ok" = xyes])
+
 AC_LANG_RESTORE
 
 ])dnl