summaryrefslogtreecommitdiff
path: root/sapi/nsapi/config.m4
blob: 854785df04d77fef37f6fa202ae492897bb67607 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
dnl ## $Id$ -*- sh -*-

RESULT=no
AC_MSG_CHECKING(for AOLserver support)
AC_ARG_WITH(aolserver,
[  --with-aolserver=DIR],
[
	if test ! -d $withval ; then
		AC_MSG_ERROR(You did not specify a directory)
	fi
	if test "$enable_thread_safety" != "yes"; then
		AC_MSG_ERROR(AOLserver must be compiled using --enable-thread-safety)
	fi
	NS_DIR=$withval
	AC_ADD_INCLUDE($NS_DIR/include)
	AC_DEFINE(HAVE_AOLSERVER)
	PHP_SAPI=nsapi
	SAPI_TARGET=php4_nsapi.so
	INSTALL_IT="\$(SHELL) \$(srcdir)/install-sh -m 0755 $SAPI_TARGET $NS_DIR/root/bin/$SAPI_TARGET"
	RESULT=yes
])
AC_MSG_RESULT($RESULT)

dnl ## Local Variables:
dnl ## tab-width: 4
dnl ## End: