2001-11-30 19:01:32 +00:00
|
|
|
dnl
|
|
|
|
dnl $Id$
|
|
|
|
dnl
|
1999-09-27 16:34:28 +00:00
|
|
|
|
|
|
|
AC_MSG_CHECKING(for AOLserver support)
|
|
|
|
AC_ARG_WITH(aolserver,
|
2000-10-30 11:44:18 +00:00
|
|
|
[ --with-aolserver=DIR Specify path to the installed AOLserver],[
|
2000-04-15 17:41:02 +00:00
|
|
|
PHP_AOLSERVER=$withval
|
|
|
|
],[
|
|
|
|
PHP_AOLSERVER=no
|
1999-09-27 16:34:28 +00:00
|
|
|
])
|
2000-04-15 17:41:02 +00:00
|
|
|
AC_MSG_RESULT($PHP_AOLSERVER)
|
|
|
|
|
|
|
|
if test "$PHP_AOLSERVER" != "no"; then
|
2000-05-18 13:10:13 +00:00
|
|
|
if test -d "$PHP_AOLSERVER/include"; then
|
2001-05-12 11:09:05 +00:00
|
|
|
PHP_AOLSERVER_SRC=$PHP_AOLSERVER
|
2000-05-18 13:10:13 +00:00
|
|
|
fi
|
2000-04-15 17:41:02 +00:00
|
|
|
if test -z "$PHP_AOLSERVER_SRC" || test ! -d $PHP_AOLSERVER_SRC/include; then
|
|
|
|
AC_MSG_ERROR(Please specify the path to the source distribution of AOLserver using --with-aolserver-src=DIR)
|
|
|
|
fi
|
|
|
|
if test ! -d $PHP_AOLSERVER/bin ; then
|
|
|
|
AC_MSG_ERROR(Please specify the path to the root of AOLserver using --with-aolserver=DIR)
|
|
|
|
fi
|
|
|
|
PHP_BUILD_THREAD_SAFE
|
2001-03-27 20:35:04 +00:00
|
|
|
PHP_ADD_INCLUDE($PHP_AOLSERVER_SRC/include)
|
2000-04-15 17:41:02 +00:00
|
|
|
AC_DEFINE(HAVE_AOLSERVER,1,[Whether you have AOLserver])
|
2002-03-07 14:20:02 +00:00
|
|
|
PHP_SELECT_SAPI(aolserver, shared, aolserver.c)
|
2001-04-03 20:59:50 +00:00
|
|
|
INSTALL_IT="\$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)$PHP_AOLSERVER/bin/"
|
2000-04-15 17:41:02 +00:00
|
|
|
fi
|
1999-09-27 16:34:28 +00:00
|
|
|
|
|
|
|
dnl ## Local Variables:
|
|
|
|
dnl ## tab-width: 4
|
|
|
|
dnl ## End:
|