]> granicus.if.org Git - php/commitdiff
added check if vauth.h exists in vpopmail install
authorBoian Bonev <bbonev@php.net>
Thu, 24 May 2001 03:19:44 +0000 (03:19 +0000)
committerBoian Bonev <bbonev@php.net>
Thu, 24 May 2001 03:19:44 +0000 (03:19 +0000)
ext/vpopmail/config.m4

index 3870b4270a9bd1a216c6fa7be54bf86ab3a4b305..0191a35f57a687176c3218ed5b27bb675d56ff09 100644 (file)
@@ -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)