]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix bug with missing libboost_filesystem library detection
authorvsr <vsr@opencascade.com>
Wed, 9 Oct 2013 07:39:00 +0000 (07:39 +0000)
committervsr <vsr@opencascade.com>
Wed, 9 Oct 2013 07:39:00 +0000 (07:39 +0000)
salome_adm/unix/config_files/check_boost.m4

index 1bb59a77af125a0292cfabefc0eb2e720a70b031..dcb561d1934475dedddd8e4f725f9e079d3778ef 100644 (file)
@@ -150,8 +150,8 @@ else
                 BOOST_LIB_REGEX="${BOOST_LIBS} -lboost_regex${BOOST_LIBSUFFIX}",
                 BOOST_LIB_REGEX="")
   AC_CHECK_FILE(${BOOSTDIR}/lib${LIB_SUFFIX}/libboost_filesystem${BOOST_LIBSUFFIX}.so,
-                BOOST_LIB_REGEX="${BOOST_LIBS} -lboost_filesystem${BOOST_LIBSUFFIX}",
-                BOOST_LIB_REGEX="")
+                BOOST_LIB_FILESYSTEM="${BOOST_LIBS} -lboost_filesystem${BOOST_LIBSUFFIX}",
+                BOOST_LIB_FILESYSTEM="")
 fi
 AC_MSG_RESULT(for boost binaries: $boost_binaries_ok)
 
@@ -173,6 +173,7 @@ AC_SUBST(BOOST_LIB_THREAD)
 AC_SUBST(BOOST_LIB_SIGNALS)
 AC_SUBST(BOOST_LIB_SYSTEM)
 AC_SUBST(BOOST_LIB_REGEX)
+AC_SUBST(BOOST_LIB_FILESYSTEM)
 AC_SUBST(BOOST_PROGRAM_OPTIONS_LIB)
 
 AC_LANG_RESTORE