diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-18 11:13:43 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-05-18 11:13:43 +0300 |
commit | c9f99f4ec82e02dd0c32479efd1d57a065a8642c (patch) | |
tree | 710dca41997840242a7568d0f51287a5f5495dff /configure.in | |
parent | 95760e349e95f9a7607da0341f43b6528cbc5ff7 (diff) |
Rework how <db.h> is included
Diffstat (limited to 'configure.in')
-rwxr-xr-x | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b4974f025e0b..844b46344481 100755 --- a/configure.in +++ b/configure.in @@ -4414,6 +4414,8 @@ if test -n "$with_system_db" -o -n "$with_system_libs" && \ [AC_MSG_RESULT([yes])], [AC_MSG_ERROR([no. you need at least db 4.1])]) + SYSTEM_DB_CFLAGS="-DSYSTEM_DB_HEADER='<$db_header>'" + DB_LIB= for dbver in 5.1 5.0 5 4.8 4.7 4 ''; do for dash in - ''; do @@ -4442,6 +4444,7 @@ else BUILD_TYPE="$BUILD_TYPE BERKELEYDB" fi AC_SUBST(SYSTEM_DB) +AC_SUBST(SYSTEM_DB_CFLAGS) AC_SUBST(DB_LIB) AC_SUBST(DB_CPPLIB) |