From ee37f1b6f2e93809c16a05f46aaa162265872108 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 24 Jan 2014 20:18:33 -0200 Subject: [PATCH] cygwin requires -ldb explicitly. should be harmless. --- m4/ax_berkeley_db_cxx.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/ax_berkeley_db_cxx.m4 b/m4/ax_berkeley_db_cxx.m4 index b842a5a7..f35e5e89 100644 --- a/m4/ax_berkeley_db_cxx.m4 +++ b/m4/ax_berkeley_db_cxx.m4 @@ -62,10 +62,10 @@ AC_DEFUN([AX_BERKELEY_DB_CXX], for version in "" 5.0 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0 3.6 3.5 3.4 3.3 3.2 3.1 ; do if test -z $version ; then - db_cxx_lib="-ldb_cxx" + db_cxx_lib="-ldb_cxx -ldb" try_headers="db_cxx.h" else - db_cxx_lib="-ldb_cxx-$version" + db_cxx_lib="-ldb_cxx-$version -ldb-$version" try_headers="db$version/db_cxx.h db`echo $version | sed -e 's,\..*,,g'`/db_cxx.h" fi