Commit af735f4b authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

set BOOST_LDFLAGS only when a non-trivial argument (i.e. neither "yes" nor "no")

to --with-boost-lib is given.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1641 e5f2f494-b856-4b98-b285-d166d9295462
parent fcb91770
......@@ -169,10 +169,9 @@ AC_SUBST(BOOST_INCLUDES)
AC_ARG_WITH([boost-lib],
AC_HELP_STRING([--with-boost-lib=PATH],
[specify exact directory for Boost libraries]),
[boostlib_path="$withval"])
if test "X$boostlib_path" != "X"; then
BOOST_LDFLAGS="-L$boostlib_path"
fi
[if test "$withval" != "yes" -a "$withval" != "no"; then
BOOST_LDFLAGS="-L$withval"
fi])
AC_SUBST(BOOST_LDFLAGS)
# Check availability of the Boost System library
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment