config.m4 716 B

123456789101112131415161718192021222324
  1. dnl
  2. dnl $Id$
  3. dnl
  4. PHP_ARG_WITH(isapi, for Zeus ISAPI support,
  5. [ --with-isapi[=DIR] Build PHP as an ISAPI module for use with Zeus], no, no)
  6. if test "$PHP_ISAPI" != "no"; then
  7. if test "$PHP_ISAPI" = "yes"; then
  8. ZEUSPATH=/usr/local/zeus # the default
  9. else
  10. ZEUSPATH=$PHP_ISAPI
  11. fi
  12. test -f "$ZEUSPATH/web/include/httpext.h" || AC_MSG_ERROR(Unable to find httpext.h in $ZEUSPATH/web/include)
  13. PHP_BUILD_THREAD_SAFE
  14. AC_DEFINE(WITH_ZEUS, 1, [ ])
  15. PHP_ADD_INCLUDE($ZEUSPATH/web/include)
  16. PHP_SELECT_SAPI(isapi, shared, php5isapi.c)
  17. INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$ZEUSPATH/web/bin/"
  18. fi
  19. dnl ## Local Variables:
  20. dnl ## tab-width: 4
  21. dnl ## End: