mirror of
https://github.com/php-gnupg/php-gnupg.git
synced 2024-11-24 23:27:09 +00:00
better search_path/search_for
added [=DIR] to php_arg_with
This commit is contained in:
parent
2c4a8cdcb0
commit
7852127f8d
1 changed files with 3 additions and 3 deletions
|
@ -2,11 +2,11 @@ dnl $Id$
|
||||||
dnl config.m4 for extension gnupg
|
dnl config.m4 for extension gnupg
|
||||||
|
|
||||||
PHP_ARG_WITH(gnupg, for gnupg support,
|
PHP_ARG_WITH(gnupg, for gnupg support,
|
||||||
[ --with-gnupg Include gnupg support])
|
[ --with-gnupg[=DIR] Include gnupg support])
|
||||||
|
|
||||||
if test "$PHP_GNUPG" != "no"; then
|
if test "$PHP_GNUPG" != "no"; then
|
||||||
SEARCH_PATH="/usr/local /usr"
|
SEARCH_PATH="/usr/local/include /usr/include /usr/local/include/gpgme/ /usr/include/gpgme/"
|
||||||
SEARCH_FOR="/include/gpgme.h"
|
SEARCH_FOR="gpgme.h"
|
||||||
if test -r $PHP_GNUPG/$SEARCH_FOR; then
|
if test -r $PHP_GNUPG/$SEARCH_FOR; then
|
||||||
GNUPG_DIR=$PHP_GNUPG
|
GNUPG_DIR=$PHP_GNUPG
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue