diff options
author | Thies C. Arntzen <thies@php.net> | 1999-12-28 13:58:52 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 1999-12-28 13:58:52 +0000 |
commit | f3240be01650ab1ce43b4ce2a8a14a1bfa51bbb2 (patch) | |
tree | 6fc5fbc9ac3e86128d2e7f0457a73759b7b1ab82 /sapi/phttpd/config.m4 | |
parent | eb1927d94ea570f3663ef8cdaef3128fe81167f8 (diff) | |
download | php-git-f3240be01650ab1ce43b4ce2a8a14a1bfa51bbb2.tar.gz |
SAPI module for phttpd - found at ftp://ftp.netuse.de/pub/phttpd/, ftp://ftp.signum.se/pub/phttpd/
(DOES NOT WORK YET!!)
Diffstat (limited to 'sapi/phttpd/config.m4')
-rw-r--r-- | sapi/phttpd/config.m4 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sapi/phttpd/config.m4 b/sapi/phttpd/config.m4 new file mode 100644 index 0000000000..299e69225c --- /dev/null +++ b/sapi/phttpd/config.m4 @@ -0,0 +1,24 @@ +dnl ## $Id$ -*- sh -*- + +RESULT=no +AC_MSG_CHECKING(for PHTTPD support) +AC_ARG_WITH(phttpd, +[ --with-phttpd=DIR], +[ + if test ! -d $withval ; then + AC_MSG_ERROR(You did not specify a directory) + fi + PHP_BUILD_THREAD_SAFE + PHTTPD_DIR=$withval + AC_ADD_INCLUDE($PHTTPD_DIR/include) + AC_DEFINE(HAVE_PHTTPD) + PHP_SAPI=phttpd + PHP_BUILD_SHARED + INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED $PHTTPD_DIR/modules/" + RESULT=yes +]) +AC_MSG_RESULT($RESULT) + +dnl ## Local Variables: +dnl ## tab-width: 4 +dnl ## End: |