]> granicus.if.org Git - php/commitdiff
- Make DBA compile as a shared module
authorDerick Rethans <derick@php.net>
Thu, 18 Apr 2002 12:31:19 +0000 (12:31 +0000)
committerDerick Rethans <derick@php.net>
Thu, 18 Apr 2002 12:31:19 +0000 (12:31 +0000)
ext/dba/config.m4
ext/dba/dba_cdb.c
ext/dba/dba_db2.c
ext/dba/dba_db3.c
ext/dba/dba_dbm.c
ext/dba/dba_gdbm.c
ext/dba/dba_ndbm.c

index 86c7be00fd7a1f4a5fda62d35068fb4d9160ae4f..6219c4790eddfb5502a2632db8a5afae8fd949b2 100644 (file)
@@ -230,6 +230,5 @@ if test "$HAVE_DBA" = "1"; then
   PHP_SUBST(DBA_SHARED_LIBADD)
 else
   AC_MSG_RESULT(no)
-  AC_DEFINE(HAVE_DBA, 0, [ ])
 fi
 
index 9b6364e36723d3927e1be3f67d3deb8e8d59995c..9996b89d0a69c313e538a84c75accf0827ac706c 100644 (file)
 
 /* $Id$ */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php.h"
 
 #if DBA_CDB
index bb7cf470d2c4f0e3cb346994fdfbadf7296a2958..e6d8e9f52d39022fff798c2e969d2dbd5271d38c 100644 (file)
 
 /* $Id$ */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php.h"
 
 #if DBA_DB2
index bbdca401a2b1011782e7bb83ff6a7f34f1334fa4..ebc163ae3d013b1622744c363f826e6ef5f85799 100644 (file)
 
 /* $Id$ */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php.h"
 
 #if DBA_DB3
index 437a79e7bc815ab0814e01833a4d475d403f1b09..8ce0b1d39708d723c7c0c8192929edbec4ada846 100644 (file)
 
 /* $Id$ */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php.h"
 
 #if DBA_DBM
index 7b3188ffb51956479373e5ea9ed31da4024ea34f..66a6bce7099a8281b35ea7c393dda19197603fdd 100644 (file)
 
 /* $Id$ */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php.h"
 
 #if DBA_GDBM
index 2b224202648609e9e95e94e32e5a007893438028..7dfb66484b088ad997fc35dd27d3965adaff5205 100644 (file)
 
 /* $Id$ */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "php.h"
 
 #if DBA_NDBM