Skip to content

Commit

Permalink
Build fix for FreeBSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnarbeutner committed Oct 22, 2013
1 parent 533c8a8 commit 9a031ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion m4/ax_boost_base.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9a031ef

Please sign in to comment.