summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/db/config.m49
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/db/config.m4 b/ext/db/config.m4
index 9aad420958..c169a99fe3 100644
--- a/ext/db/config.m4
+++ b/ext/db/config.m4
@@ -42,6 +42,11 @@ if test "$DBM_LIB" = "-lgdbm"; then
])
])
])
- INCLUDES="$INCLUDES $GDBM_INCLUDES"
-dnl## AC_SUBST(GDBM_INCLUDE)
+
+if test -n "$DBM_LIB"; then
+ INCLUDES="$INCLUDES $GDBM_INCLUDE"
+ EXTRA_LIBS="$EXTRA_LIBS $DBM_LIB"
fi
+
+PHP_EXTENSION(db)
+