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