[svn] commit: r121 - in /experiments/jelte-configuration: configure configure.in

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Oct 27 02:04:26 UTC 2009


Author: mgraff
Date: Tue Oct 27 02:04:26 2009
New Revision: 121

Log:
allow --with-boost=/usr/pkg

Modified:
    experiments/jelte-configuration/configure
    experiments/jelte-configuration/configure.in

Modified: experiments/jelte-configuration/configure
==============================================================================
--- experiments/jelte-configuration/configure (original)
+++ experiments/jelte-configuration/configure Tue Oct 27 02:04:26 2009
@@ -648,6 +648,7 @@
 ac_user_opts='
 enable_option_checking
 with_xercesc
+with_boost
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1272,6 +1273,7 @@
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-xercesc=PATH       specify a path to the xerces-c if it's not automatically found
+  --with-boost=PATH       specify a path to the boost libraries
 
 Some influential environment variables:
   CXX         C++ compiler command
@@ -3624,6 +3626,20 @@
 	LDFLAGS="$LDFLAGS -L${xercesc_path}/lib"
 fi
 
+
+# Check whether --with-boost was given.
+if test "${with_boost+set}" = set; then :
+  withval=$with_boost; boost_path="$withval"
+else
+  boost_path="no"
+fi
+
+if test "$boost_path" != "no"
+then
+	CFLAGS="$CFLAGS -I${boost_path}/include"
+	LDFLAGS="$LDFLAGS -L${boost_path}/lib"
+fi
+
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure

Modified: experiments/jelte-configuration/configure.in
==============================================================================
--- experiments/jelte-configuration/configure.in (original)
+++ experiments/jelte-configuration/configure.in Tue Oct 27 02:04:26 2009
@@ -29,4 +29,13 @@
 	LDFLAGS="$LDFLAGS -L${xercesc_path}/lib"
 fi
 
+AC_ARG_WITH(boost,
+[  --with-boost=PATH       specify a path to the boost libraries],
+    boost_path="$withval", boost_path="no")
+if test "$boost_path" != "no"
+then
+	CFLAGS="$CFLAGS -I${boost_path}/include"
+	LDFLAGS="$LDFLAGS -L${boost_path}/lib"
+fi
+
 AC_OUTPUT




More information about the bind10-changes mailing list