Commit 6797f268f0fcfae485c23016d70b6b2fb4d956c4
1 parent
f6f41071
Exists in
master
and in
5 other branches
Mostrando o diretório de config php na saída do configure
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
configure.ac
... | ... | @@ -419,9 +419,12 @@ case "$host" in |
419 | 419 | PHPMAJOR=`$PHPCONFIG --version | cut -d. -f1` |
420 | 420 | if test -d /etc/php${PHPMAJOR}/conf.d; then |
421 | 421 | PHPCONFDIR=/etc/php${PHPMAJOR}/conf.d |
422 | + elif test -d /etc/php/conf.d; then | |
423 | + PHPCONFDIR=/etc/php/conf.d | |
422 | 424 | else |
423 | 425 | PHPCONFDIR=/etc/php${PHPMAJOR}/cli |
424 | 426 | fi |
427 | + AC_MSG_NOTICE([Using $PHPCONFDIR for PHP config files.]) | |
425 | 428 | fi |
426 | 429 | |
427 | 430 | esac | ... | ... |