diff options
author | Sascha Schumann <sas@php.net> | 2000-05-02 04:32:33 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-05-02 04:32:33 +0000 |
commit | b2e90b4e8bd70950d56ea2d80ca6dba3e5bcedf7 (patch) | |
tree | 1141cbdb8ecde6755019085df6406a0c70a12414 /ext | |
parent | 645b2736a3e9ed6b2f46058daa5faea403d191c3 (diff) | |
download | php-git-b2e90b4e8bd70950d56ea2d80ca6dba3e5bcedf7.tar.gz |
Make dbase compilable as shared module
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dbase/Makefile.in | 1 | ||||
-rw-r--r-- | ext/dbase/config.m4 | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/dbase/Makefile.in b/ext/dbase/Makefile.in index 0fe66dbda4..780cf37fda 100644 --- a/ext/dbase/Makefile.in +++ b/ext/dbase/Makefile.in @@ -1,5 +1,6 @@ LTLIBRARY_NAME = libdbase.la LTLIBRARY_SOURCES = dbf_head.c dbf_rec.c dbf_misc.c dbf_ndx.c dbase.c +LTLIBRARY_SHARED_NAME = dbase.la include $(top_srcdir)/build/dynlib.mk diff --git a/ext/dbase/config.m4 b/ext/dbase/config.m4 index 8723b2e9f4..7a33750b90 100644 --- a/ext/dbase/config.m4 +++ b/ext/dbase/config.m4 @@ -7,7 +7,5 @@ PHP_ARG_ENABLE(dbase,whether to enable the bundled dbase library, if test "$PHP_DBASE" = "yes"; then AC_DEFINE(DBASE,1,[ ]) - PHP_EXTENSION(dbase) -else - AC_DEFINE(DBASE,0,[ ]) + PHP_EXTENSION(dbase, $ext_shared) fi |