From: akk Date: Tue, 31 Oct 2006 14:40:57 +0000 (+0000) Subject: Patch, provided in PAL13669. X-Git-Tag: V3_2_3pre1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=16fe2eff118abbd9ce06fb389731ac77f5e727a2;p=modules%2Fkernel.git Patch, provided in PAL13669. --- diff --git a/salome_adm/unix/config_files/check_cppunit.m4 b/salome_adm/unix/config_files/check_cppunit.m4 index 9de130c26..4029ea190 100644 --- a/salome_adm/unix/config_files/check_cppunit.m4 +++ b/salome_adm/unix/config_files/check_cppunit.m4 @@ -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