1999-09-27 16:34:28 +00:00
|
|
|
dnl ## $Id$ -*- sh -*-
|
|
|
|
|
1999-11-23 11:22:45 +00:00
|
|
|
RESULT=no
|
|
|
|
AC_MSG_CHECKING(for Zeus ISAPI support)
|
2001-03-19 11:23:57 +00:00
|
|
|
AC_ARG_WITH(isapi,
|
2001-05-12 09:13:42 +00:00
|
|
|
[ --with-isapi=DIR Build PHP as an ISAPI module for use with Zeus.],
|
1999-11-23 11:22:45 +00:00
|
|
|
[
|
|
|
|
if test "$withval" = "yes"; then
|
|
|
|
ZEUSPATH=/usr/local/zeus # the default
|
|
|
|
else
|
|
|
|
ZEUSPATH=$withval
|
|
|
|
fi
|
2000-05-22 14:39:33 +00:00
|
|
|
test -f "$ZEUSPATH/web/include/httpext.h" || AC_MSG_ERROR(Unable to find httpext.h in $ZEUSPATH/web/include)
|
1999-11-29 21:32:11 +00:00
|
|
|
PHP_BUILD_THREAD_SAFE
|
2000-06-08 06:14:58 +00:00
|
|
|
AC_DEFINE(WITH_ZEUS,1,[ ])
|
2001-03-27 20:35:04 +00:00
|
|
|
PHP_ADD_INCLUDE($ZEUSPATH/web/include)
|
1999-11-23 11:22:45 +00:00
|
|
|
PHP_SAPI=isapi
|
|
|
|
PHP_BUILD_SHARED
|
2001-04-03 20:59:50 +00:00
|
|
|
INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$ZEUSPATH/web/bin/"
|
1999-11-23 11:22:45 +00:00
|
|
|
RESULT=yes
|
|
|
|
])
|
|
|
|
AC_MSG_RESULT($RESULT)
|
1999-09-27 16:34:28 +00:00
|
|
|
|
|
|
|
dnl ## Local Variables:
|
|
|
|
dnl ## tab-width: 4
|
|
|
|
dnl ## End:
|