diff options
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | m4/db.m4 | 4 |
2 files changed, 8 insertions, 0 deletions
@@ -24169,6 +24169,8 @@ echo "${ECHO_T}yes" >&6 if test -f "/usr/include/db.h"; then db_incdir="/usr/include" db_inc="-I/usr/include" + db_lib='-L$(libdir)' + db_libdir='$(libdir)' else { { echo "$as_me:$LINENO: error: db.h not found" >&5 echo "$as_me: error: db.h not found" >&2;} @@ -24207,6 +24209,8 @@ echo $ECHO_N "checking for db.h... $ECHO_C" >&6 echo "${ECHO_T}using /usr/include/db.h" >&6 db_incdir="/usr/include" db_inc="-I/usr/include" + db_lib='-L$(libdir)' + db_libdir='$(libdir)' else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 @@ -30,6 +30,8 @@ AC_ARG_WITH(db, [ --with-db=PATH Berkeley DB directory], if test -f "/usr/include/db.h"; then db_incdir="/usr/include" db_inc="-I/usr/include" + db_lib='-L$(libdir)' + db_libdir='$(libdir)' else AC_MSG_ERROR([db.h not found]) fi @@ -59,6 +61,8 @@ if test -z "$db_inc"; then AC_MSG_RESULT([using /usr/include/db.h]) db_incdir="/usr/include" db_inc="-I/usr/include" + db_lib='-L$(libdir)' + db_libdir='$(libdir)' else AC_MSG_RESULT(no) AC_MSG_ERROR([db not found, specify with --with-db.]) |