summaryrefslogtreecommitdiff
path: root/ext/db/config.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-04 09:42:27 +0000
committerSascha Schumann <sas@php.net>2000-05-04 09:42:27 +0000
commitb6e4841ec7bcdc1b4fd3533fd4ffeefdac095d52 (patch)
tree27711c7cc4286034dc7bfbfdeda8209d8d768273 /ext/db/config.m4
parentcad04f55792bf247665fcddd4b9f7ca87040ce30 (diff)
downloadphp-git-b6e4841ec7bcdc1b4fd3533fd4ffeefdac095d52.tar.gz
Determine first whether we will use ZTS mode or not.
This is important, because the system checks will yield different results depending on whether POSIX threads are enabled or not. We also use PTHREADS_CFLAGS only in ZTS mode now. Using these flags in non-ZTS mode causes complete build failures on some platforms (i.e. FreeBSD 2.2.x). This will cause harmless warnings on some platforms (i.e. Solaris 2).
Diffstat (limited to 'ext/db/config.m4')
-rw-r--r--ext/db/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/db/config.m4 b/ext/db/config.m4
index 9cc9b38c6d..a602cb4674 100644
--- a/ext/db/config.m4
+++ b/ext/db/config.m4
@@ -2,7 +2,7 @@ dnl $Id$
dnl config.m4 for extension db
dnl don't forget to call PHP_EXTENSION(db)
-divert(2)dnl
+divert(3)dnl
AC_CHECK_HEADERS(db1/ndbm.h)
@@ -27,7 +27,7 @@ AC_DEFUN(AC_PREFERRED_DB_LIB,[
AC_PREFERRED_DB_LIB
-divert(4)dnl
+divert(5)dnl
if test "$DBM_LIB" = "-lgdbm"; then
AC_CHECK_HEADER(gdbm.h, [ GDBM_INCLUDE="" ], [