xref: /PHP-5.5/sapi/phttpd/config.m4 (revision eb923bf6)
1dnl
2dnl $Id$
3dnl
4
5PHP_ARG_WITH(phttpd, for PHTTPD support,
6[  --with-phttpd=DIR       Build PHP as phttpd module], no, no)
7
8if test "$PHP_PHTTPD" != "no"; then
9  if test ! -d $PHP_PHTTPD ; then
10    AC_MSG_ERROR([You did not specify a directory])
11  fi
12  PHP_BUILD_THREAD_SAFE
13  PHP_ADD_INCLUDE($PHP_PHTTPD/include)
14  AC_DEFINE(HAVE_PHTTPD, 1, [Whether you have phttpd])
15  PHP_SELECT_SAPI(phttpd, shared, phttpd.c)
16  INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$PHP_PHTTPD/modules/"
17fi
18
19dnl ## Local Variables:
20dnl ## tab-width: 4
21dnl ## End:
22