mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
f2f8d38efa
- added support for externally built modules, - improved support for in-tree shared modules, - fixed diversion bugs, - configure displays some informative messages, - faster static build (libtool isn't used anymore for compiling non-PIC objects), - dependencies comparable to automake's without requiring GNU make or GCC, - working make clean for non-GNU makes.
25 lines
528 B
Bash
25 lines
528 B
Bash
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,1,[Whether you have phttpd])
|
|
PHP_SAPI=phttpd
|
|
PHP_BUILD_SHARED
|
|
INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED $PHTTPD_DIR/modules/"
|
|
RESULT=yes
|
|
])
|
|
AC_MSG_RESULT($RESULT)
|
|
|
|
dnl ## Local Variables:
|
|
dnl ## tab-width: 4
|
|
dnl ## End:
|