config.m4 559 B

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