diff --git a/m4/ax_berkeley_db_cxx.m4 b/m4/ax_berkeley_db_cxx.m4 index 42b47223..36a63e72 100644 --- a/m4/ax_berkeley_db_cxx.m4 +++ b/m4/ax_berkeley_db_cxx.m4 @@ -100,7 +100,7 @@ AC_DEFUN([AX_BERKELEY_DB_CXX], try_headers="db$version/db_cxx.h db`echo $version | sed -e 's,\..*,,g'`/db_cxx.h" fi - LIBS="$old_LIBS $db_cxx_lib" + LIBS="$db_cxx_lib $old_LIBS" for db_cxx_hdr in $try_headers ; do if test -z $DB_CXX_HEADER ; then