| 20167 |
php_config_exec_prefix="" |
php_config_exec_prefix="" |
| 20168 |
fi; |
fi; |
| 20169 |
if test x$php_config_exec_prefix != x ; then |
if test x$php_config_exec_prefix != x ; then |
| 20170 |
php_config_args="$php_config_args" |
if test x${PHP_CONFIG} == x ; then |
|
if test x${PHP_CONFIG+set} != xset ; then |
|
| 20171 |
PHP_CONFIG=$php_config_exec_prefix/bin/php-config |
PHP_CONFIG=$php_config_exec_prefix/bin/php-config |
| 20172 |
fi |
fi |
| 20173 |
fi |
fi |
| 20174 |
if test x$php_config_prefix != x ; then |
if test x$php_config_prefix != x ; then |
| 20175 |
php_config_args="$php_config_args --prefix=$php_config_prefix" |
if test x${PHP_CONFIG} == x ; then |
|
if test x${PHP_CONFIG+set} != xset ; then |
|
| 20176 |
PHP_CONFIG=$php_config_prefix/bin/php-config |
PHP_CONFIG=$php_config_prefix/bin/php-config |
| 20177 |
fi |
fi |
| 20178 |
fi |
fi |
|
|
|
| 20179 |
# checking config script |
# checking config script |
| 20180 |
# Extract the first word of "php-config", so it can be a program name with args. |
# Extract the first word of "php-config", so it can be a program name with args. |
| 20181 |
set dummy php-config; ac_word=$2 |
set dummy php-config; ac_word=$2 |
| 20233 |
echo "$as_me:$LINENO: checking for php - version >= $min_php_version" >&5 |
echo "$as_me:$LINENO: checking for php - version >= $min_php_version" >&5 |
| 20234 |
echo $ECHO_N "checking for php - version >= $min_php_version... $ECHO_C" >&6 |
echo $ECHO_N "checking for php - version >= $min_php_version... $ECHO_C" >&6 |
| 20235 |
no_php="" |
no_php="" |
| 20236 |
if test "$PHP_CONFIG" = "no" ; then |
if test x$PHP_CONFIG = xno ; then |
| 20237 |
no_php=yes |
no_php=yes |
| 20238 |
else |
else |
| 20239 |
PHP_PREFIX="`$PHP_CONFIG --prefix`" |
PHP_PREFIX="`$PHP_CONFIG --prefix`" |
| 20242 |
PHP_LIBS="`$PHP_CONFIG --libs`" |
PHP_LIBS="`$PHP_CONFIG --libs`" |
| 20243 |
PHP_EXTENSION_DIR="`$PHP_CONFIG --extension-dir`" |
PHP_EXTENSION_DIR="`$PHP_CONFIG --extension-dir`" |
| 20244 |
PHP_VERSION="`$PHP_CONFIG --version`" |
PHP_VERSION="`$PHP_CONFIG --version`" |
| 20245 |
php_config_major_version=`$PHP_CONFIG $php_config_args --version | \ |
php_config_major_version=`$PHP_CONFIG --version | \ |
| 20246 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` |
| 20247 |
php_config_minor_version=`$PHP_CONFIG $php_config_args --version | \ |
php_config_minor_version=`$PHP_CONFIG --version | \ |
| 20248 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'` |
| 20249 |
php_config_micro_version=`$PHP_CONFIG $php_config_args --version | \ |
php_config_micro_version=`$PHP_CONFIG --version | \ |
| 20250 |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'` |
| 20251 |
if test $php_config_major_version -gt $require_major_version || \ |
if test $php_config_major_version -gt $require_major_version || \ |
| 20252 |
(test $php_config_major_version -eq $require_major_version && \ |
(test $php_config_major_version -eq $require_major_version && \ |