summaryrefslogtreecommitdiff
path: root/ext/filepro
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-02 04:32:50 +0000
committerSascha Schumann <sas@php.net>2000-05-02 04:32:50 +0000
commit6767b4df686dc5523e5e25355713657a93f2121c (patch)
tree7875aec54289a333f136c6cfd1cb94fe27678894 /ext/filepro
parentb2e90b4e8bd70950d56ea2d80ca6dba3e5bcedf7 (diff)
downloadphp-git-6767b4df686dc5523e5e25355713657a93f2121c.tar.gz
Make filepro compilable as shared module
Diffstat (limited to 'ext/filepro')
-rw-r--r--ext/filepro/Makefile.in1
-rw-r--r--ext/filepro/config.m44
2 files changed, 2 insertions, 3 deletions
diff --git a/ext/filepro/Makefile.in b/ext/filepro/Makefile.in
index efa4ac7a2b..8fe3a41a93 100644
--- a/ext/filepro/Makefile.in
+++ b/ext/filepro/Makefile.in
@@ -1,5 +1,6 @@
LTLIBRARY_NAME = libfilepro.la
LTLIBRARY_SOURCES = filepro.c
+LTLIBRARY_SHARED_NAME = filepro.la
include $(top_srcdir)/build/dynlib.mk
diff --git a/ext/filepro/config.m4 b/ext/filepro/config.m4
index cb04525269..314fbd1aaf 100644
--- a/ext/filepro/config.m4
+++ b/ext/filepro/config.m4
@@ -7,7 +7,5 @@ PHP_ARG_ENABLE(filepro,whether to enable the bundled filePro support,
if test "$PHP_FILEPRO" = "yes"; then
AC_DEFINE(HAVE_FILEPRO, 1, [ ])
- PHP_EXTENSION(filepro)
-else
- AC_DEFINE(HAVE_FILEPRO, 0, [ ])
+ PHP_EXTENSION(filepro, $ext_shared)
fi