summaryrefslogtreecommitdiff
path: root/sapi/aolserver/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/aolserver/config.m4')
-rw-r--r--sapi/aolserver/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/aolserver/config.m4 b/sapi/aolserver/config.m4
index 42c7b14b7a..50a0c5b880 100644
--- a/sapi/aolserver/config.m4
+++ b/sapi/aolserver/config.m4
@@ -16,6 +16,9 @@ AC_ARG_WITH(aolserver,
AC_MSG_RESULT($PHP_AOLSERVER)
if test "$PHP_AOLSERVER" != "no"; then
+ if test -d "$PHP_AOLSERVER/include"; then
+ PHP_AOLSERVER_SRC="$PHP_AOLSERVER"
+ fi
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