]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Patch, provided in PAL13669. V3_2_3pre1 V3_2_3pre2
authorakk <akk@opencascade.com>
Tue, 31 Oct 2006 14:40:57 +0000 (14:40 +0000)
committerakk <akk@opencascade.com>
Tue, 31 Oct 2006 14:40:57 +0000 (14:40 +0000)
salome_adm/unix/config_files/check_cppunit.m4

index 9de130c26bd2796d0b935ed4b928738abb3776a6..4029ea19017ac3ca5fc891dc51e108ffd100fcce 100644 (file)
@@ -24,10 +24,17 @@ if test -z "$CPPUNITHOME"; then
   exits_ok=no  
   if test "x$exits_ok" = "xno"; then
      for d in /usr/local /usr ; do
-        AC_CHECK_FILE(${d}/lib/libcppunit.so,exits_ok=yes,exits_ok=no)
+        AC_CHECK_FILE(${d}/lib64/libcppunit.so,exits_ok=yes,exits_ok=no)
+        if test "x$exits_ok" = "xyes"; then
+           CPPUNITHOME=$d
+           AC_MSG_RESULT(libcppunit.so detected in $d/lib64)
+          break
+        fi
+       AC_CHECK_FILE(${d}/lib/libcppunit.so,exits_ok=yes,exits_ok=no)
         if test "x$exits_ok" = "xyes"; then
            CPPUNITHOME=$d
            AC_MSG_RESULT(libcppunit.so detected in $d/lib)
+          break
         fi
      done
   fi