[svn] commit: r1641 - /trunk/configure.ac

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Mar 24 22:43:27 UTC 2010


Author: jinmei
Date: Wed Mar 24 22:43:26 2010
New Revision: 1641

Log:
set BOOST_LDFLAGS only when a non-trivial argument (i.e. neither "yes" nor "no")
to --with-boost-lib is given.

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Mar 24 22:43:26 2010
@@ -169,10 +169,9 @@
 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




More information about the bind10-changes mailing list