]> granicus.if.org Git - icinga2/commitdiff
Build fix for FreeBSD. v0.0.3
authorGunnar Beutner <gunnar@beutner.name>
Tue, 22 Oct 2013 15:53:30 +0000 (17:53 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 22 Oct 2013 15:53:30 +0000 (17:53 +0200)
m4/ax_boost_base.m4

index 810acefe42eb98c88492a4653d443ae966aa2c19..d193d945d1e864850ee97594ccf434babeef9548 100644 (file)
@@ -116,12 +116,14 @@ if test "x$want_boost" = "xyes"; then
                         break
                     fi
                 done
-                for libsubdir in ${sys_dlsearch_path//:/ }; do
+                save_IFS=$IFS; IFS=:
+                for libsubdir in $sys_dlsearch_path; do
                     if ls "$libsubdir/libboost_"* >/dev/null 2>&1 ; then
                         BOOST_LDFLAGS="-L$libsubdir"
                         break
                     fi
                 done
+                IFS=$save_IFS
                 BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
                 BOOST_PATH="$ac_boost_path_tmp"
                 break;