--- configure.orig	2011-08-29 16:13:55.000000000 -0400
+++ configure	2011-08-29 16:19:39.000000000 -0400
@@ -6466,7 +6466,7 @@
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lboost_filesystem${BOOST_SUFFIX}  $LIBS"
+LIBS="-lboost_filesystem${BOOST_SUFFIX} -lboost_system${BOOST_SUFFIX} $LIBS"
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
@@ -6496,10 +6496,10 @@
 #define `$as_echo "HAVE_LIBboost_filesystem${BOOST_SUFFIX}" | $as_tr_cpp` 1
 _ACEOF
 
-  LIBS="-lboost_filesystem${BOOST_SUFFIX} $LIBS"
+  LIBS="-lboost_filesystem${BOOST_SUFFIX} -lboost_system${BOOST_SUFFIX} $LIBS"
 
 else
-  echo "Error: I can't find the boost_filesystem library! (-lboost_filesystem${BOOST_SUFFIX})" ; exit 1
+  echo "Error: I can't find the boost_filesystem library! (-lboost_filesystem${BOOST_SUFFIX} -lboost_system${BOOST_SUFFIX})" ; exit 1
 fi
 
 if test "$use_mpi" != no ; then
@@ -6591,7 +6591,7 @@
 
 fi
 
-boost_libs="-lboost_program_options${BOOST_SUFFIX} -lboost_filesystem${BOOST_SUFFIX}";
+boost_libs="-lboost_program_options${BOOST_SUFFIX} -lboost_filesystem${BOOST_SUFFIX} -lboost_system${BOOST_SUFFIX}";
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking include/compile/link for the BOOST.program_options library" >&5
 $as_echo_n "checking include/compile/link for the BOOST.program_options library... " >&6; }
@@ -6681,7 +6681,7 @@
   echo " * Not using system BOOST libraries: we'll build our own."
 
   boost_includes="-isystem \$(top_srcdir)/boost/include"
-  boost_libs="\$(top_builddir)/boost/lib/filesystem/libboost_filesystem.a \$(top_builddir)/boost/lib/program_options/libboost_program_options.a"
+  boost_libs="\$(top_builddir)/boost/lib/filesystem/libboost_filesystem.a \$(top_builddir)/boost/lib/program_options/libboost_system.a \$(top_builddir)/boost/lib/program_options/libboost_program_options.a"
 
   CXXFLAGS="$boost_includes $CXXFLAGS"
   LIBS="$boost_libs $LIBS"
