[PATCH 2/2] Use BOOSTLIBDIR instead of harcoded path to find boost



    * configure.ac: Use BOOSTLIBDIR variable to find libboost.
---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8b1f93f..ffa0206 100644
--- a/configure.ac
+++ b/configure.ac
@@ -283,8 +283,7 @@ if test x$ENABLE_AUTOTESTS = xyes ; then
     AX_BOOST_UNIT_TEST_FRAMEWORK
     AX_BOOST_TEST_EXEC_MONITOR
 
-    unit_framework_lib_candidates="/usr/lib/libboost_unit_test_framework-st.a 
/usr/lib/libboost_unit_test_framework.a"
-    unit_framework_lib_candidates=$unit_framework_lib_candidates" 
/usr/lib64/libboost_unit_test_framework-st.a /usr/lib64/libboost_unit_test_framework.a"
+    unit_framework_lib_candidates="$BOOSTLIBDIR/libboost_unit_test_framework-st.a 
$BOOSTLIBDIR/libboost_unit_test_framework.a"
     for i in $unit_framework_lib_candidates ; do
         if test -f $i ; then
             BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB=$i
-- 
2.0.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]