summaryrefslogtreecommitdiff
path: root/sapi/thttpd/config.m4
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-08-07 13:54:35 +0000
committerSascha Schumann <sas@php.net>2000-08-07 13:54:35 +0000
commit4b8823d427f42544b0b2fec442fabe4afa5a3b85 (patch)
tree1ec9cb22d4bd5c53dfacde55344f01ecfc0831d0 /sapi/thttpd/config.m4
parent55801d5330602740e3eca0ecea8209a35de67da5 (diff)
downloadphp-git-4b8823d427f42544b0b2fec442fabe4afa5a3b85.tar.gz
Fix building thttpd SAPI module.
This works now with thttpd 2.19. Thanks to Andrzej Borsuk <andrzej.borsuk@alfaelektro.com.pl> for pointing me into the right direction.
Diffstat (limited to 'sapi/thttpd/config.m4')
-rw-r--r--sapi/thttpd/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/thttpd/config.m4 b/sapi/thttpd/config.m4
index 50d37a87e3..d9a11d1dbe 100644
--- a/sapi/thttpd/config.m4
+++ b/sapi/thttpd/config.m4
@@ -5,6 +5,8 @@ AC_ARG_WITH(thttpd,
INSTALL_IT="\
echo 'PHP_LIBS = -L. -lphp4 \$(PHP_LIBS) \$(EXTRA_LIBS)' > $THTTPD/php_makefile; \
echo 'PHP_LDFLAGS = \$(NATIVE_RPATHS) \$(PHP_LDFLAGS)' >> $THTTPD/php_makefile; \
+ echo 'PHP_CFLAGS = \$(COMMON_FLAGS) \$(CFLAGS) \$(EXTRA_CFLAGS)' >> $THTTPD/php_makefile; \
+ \$(LN_S) $abs_srcdir/sapi/thttpd/thttpd.c $THTTPD/php_thttpd.c; \
cp $abs_srcdir/sapi/thttpd/php_thttpd.h $SAPI_STATIC $THTTPD;\
test -f $THTTPD/php_patched || \
(cd $THTTPD && patch < $abs_srcdir/sapi/thttpd/thttpd_patch && touch php_patched)"