Here is a patch to configure.ac that fixes bug 1673614.

-edge
Index: configure.ac
===================================================================
RCS file: /cvsroot/barry/barry/configure.ac,v
retrieving revision 1.14
diff -u -r1.14 configure.ac
--- configure.ac	5 May 2007 03:13:50 -0000	1.14
+++ configure.ac	25 Jun 2007 10:34:18 -0000
@@ -28,12 +28,21 @@
 	[])
 
 AC_ARG_WITH(boost,
-	[  --with-boost=<path>     root path of boost installation (default=no boost)],
-	[BOOST_LIB_PATH="$with_boost/lib"
-	 BOOST_INC_PATH="$with_boost/include"
-	 BOOST_ENABLED="true"],
-	[BOOST_LIB_PATH="/usr/lib"
-	 BOOST_INC_PATH="/usr/include"])
+	AC_HELP_STRING(--with-boost[=path],
+		[root path of boost installation (no arg defaults to 'yes' and uses system path]),
+	use_boost=$withval,  use_boost=no ) 
+
+if test x"$use_boost" != "xyes" ; then
+	if test x"$use_boost" != "xno" ; then
+		BOOST_LIB_PATH=$use_boost/lib
+		BOOST_INC_PATH=$use_boost/include
+		BOOST_ENABLED="true"
+	fi
+else
+	BOOST_LIB_PATH="/usr/lib"
+	BOOST_INC_PATH="/usr/include"
+	BOOST_ENABLED="true"	
+fi
 
 PKG_CHECK_MODULES([OPENSSL], [openssl])
 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to