better search_path/search_for

added [=DIR] to php_arg_with
This commit is contained in:
Thilo Raufeisen 2006-02-02 13:00:21 +00:00
parent 2c4a8cdcb0
commit 7852127f8d

View file

@ -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