From 9a031efb751324e786878e7be146debc87e7e6c2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 22 Oct 2013 17:53:30 +0200 Subject: [PATCH] Build fix for FreeBSD. --- m4/ax_boost_base.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m4/ax_boost_base.m4 b/m4/ax_boost_base.m4 index 810acefe4..d193d945d 100644 --- a/m4/ax_boost_base.m4 +++ b/m4/ax_boost_base.m4 @@ -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; -- 2.40.0