aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 5444e11f5e..2b4ad208ab 100644
--- a/configure.in
+++ b/configure.in
@@ -303,7 +303,7 @@ DB3_CFLAGS=$ac_cv_db3_cflags
AC_SUBST(DB3_CFLAGS)
CPPFLAGS_save="$CPPFLAGS"
-CPPFLAGS="$CPPFLAGS $DB3_CFLAGS"
+CPPFLAGS="$DB3_CFLAGS $CPPFLAGS"
AC_CHECK_HEADERS(db.h db3/db.h, break)
AC_CACHE_CHECK([db3 header version], ac_cv_db3_header_version,
@@ -357,7 +357,7 @@ AC_SUBST(DB3_LDADD)
AC_CACHE_CHECK([that db3 library version matches header version], ac_cv_db3_lib_version_match,
[
- LIBS="$LIBS $DB3_LDADD"
+ LIBS="$DB3_LDADD $LIBS"
AC_TRY_RUN([
#ifdef HAVE_DB3_DB_H
#include <db3/db.h>