From 7852127f8d9648485856fb9665c30c4120c9de3c Mon Sep 17 00:00:00 2001 From: Thilo Raufeisen Date: Thu, 2 Feb 2006 13:00:21 +0000 Subject: [PATCH] better search_path/search_for added [=DIR] to php_arg_with --- config.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.m4 b/config.m4 index 6c0a0ed..3389e5c 100644 --- a/config.m4 +++ b/config.m4 @@ -2,11 +2,11 @@ dnl $Id$ dnl config.m4 for extension gnupg PHP_ARG_WITH(gnupg, for gnupg support, -[ --with-gnupg Include gnupg support]) +[ --with-gnupg[=DIR] Include gnupg support]) if test "$PHP_GNUPG" != "no"; then - SEARCH_PATH="/usr/local /usr" - SEARCH_FOR="/include/gpgme.h" + SEARCH_PATH="/usr/local/include /usr/include /usr/local/include/gpgme/ /usr/include/gpgme/" + SEARCH_FOR="gpgme.h" if test -r $PHP_GNUPG/$SEARCH_FOR; then GNUPG_DIR=$PHP_GNUPG else