summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoian Bonev <bbonev@php.net>2001-05-24 03:19:44 +0000
committerBoian Bonev <bbonev@php.net>2001-05-24 03:19:44 +0000
commit78380f113553024969f768403ce2781e63d43619 (patch)
treee98e832baa9ecf4956e4bd891bc1ebc3d8133e6a
parente38171a0b2c5e39f700b2c7e9db11c41a8f45758 (diff)
downloadphp-git-78380f113553024969f768403ce2781e63d43619.tar.gz
added check if vauth.h exists in vpopmail install
-rw-r--r--ext/vpopmail/config.m45
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/vpopmail/config.m4 b/ext/vpopmail/config.m4
index 3870b4270a..0191a35f57 100644
--- a/ext/vpopmail/config.m4
+++ b/ext/vpopmail/config.m4
@@ -36,6 +36,11 @@ if test "$PHP_VPOPMAIL" != "no"; then
fi
done
+ dnl newer versions of vpopmail have include/vauth.h defining valias functions
+ if test -r $VPOPMAIL_INC_DIR/vauth.h; then
+ AC_DEFINE(HAVE_VPOPMAIL_VAUTH,1,[Whether vpopmail has vauth.h])
+ fi
+
AC_MSG_RESULT($VPOPMAIL_DIR)
PHP_ADD_INCLUDE($VPOPMAIL_INC_DIR)