1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Autotools: Quote macro arguments

- PHP_EXPAND_PATH
- PHP_LIBGCC_LIBPATH
- PHP_OUTPUT
- PHP_REMOVE_USR_LIB
This commit is contained in:
Peter Kokot
2024-07-27 05:26:32 +02:00
parent bb8d667f8f
commit a7f0fe1f33
7 changed files with 9 additions and 9 deletions

View File

@@ -948,7 +948,7 @@ PHP_ARG_ENABLE([libgcc],
[no])
if test "$PHP_LIBGCC" = "yes"; then
PHP_LIBGCC_LIBPATH(gcc)
PHP_LIBGCC_LIBPATH([gcc])
if test -z "$libgcc_libpath"; then
AC_MSG_ERROR([Cannot locate libgcc. Make sure that gcc is in your path])
fi
@@ -1437,8 +1437,8 @@ AC_SUBST([PHP_LDFLAGS])
PHP_UTILIZE_RPATHS
PHP_REMOVE_USR_LIB(PHP_LDFLAGS)
PHP_REMOVE_USR_LIB(LDFLAGS)
PHP_REMOVE_USR_LIB([PHP_LDFLAGS])
PHP_REMOVE_USR_LIB([LDFLAGS])
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"

View File

@@ -23,5 +23,5 @@ if test "$PHP_PHAR" != "no"; then
PHP_INSTALL_HEADERS([ext/phar], [php_phar.h])
PHP_OUTPUT(ext/phar/phar.1 ext/phar/phar.phar.1)
PHP_OUTPUT([ext/phar/phar.1 ext/phar/phar.phar.1])
fi

View File

@@ -14,7 +14,7 @@ if test "$PHP_APXS2" != "no"; then
APXS=/usr/sbin/apxs
fi
else
PHP_EXPAND_PATH($PHP_APXS2, APXS)
PHP_EXPAND_PATH([$PHP_APXS2], [APXS])
fi
$APXS -q CFLAGS >/dev/null 2>&1

View File

@@ -55,5 +55,5 @@ if test "$PHP_CGI" != "no"; then
PHP_SUBST([SAPI_CGI_PATH])
PHP_SUBST([BUILD_CGI])
PHP_OUTPUT(sapi/cgi/php-cgi.1)
PHP_OUTPUT([sapi/cgi/php-cgi.1])
fi

View File

@@ -52,7 +52,7 @@ if test "$PHP_CLI" != "no"; then
PHP_SUBST([SAPI_CLI_PATH])
PHP_SUBST([BUILD_CLI])
PHP_OUTPUT(sapi/cli/php.1)
PHP_OUTPUT([sapi/cli/php.1])
PHP_INSTALL_HEADERS([sapi/cli], [cli.h])
fi

View File

@@ -508,7 +508,7 @@ if test "$PHP_FPM" != "no"; then
PHP_ADD_BUILD_DIR([sapi/fpm/fpm])
PHP_ADD_BUILD_DIR([sapi/fpm/fpm/events])
PHP_OUTPUT(sapi/fpm/php-fpm.conf sapi/fpm/www.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html)
PHP_OUTPUT([sapi/fpm/php-fpm.conf sapi/fpm/www.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html])
PHP_ADD_MAKEFILE_FRAGMENT([$abs_srcdir/sapi/fpm/Makefile.frag])
SAPI_FPM_PATH=sapi/fpm/php-fpm

View File

@@ -98,5 +98,5 @@ if test "$PHP_PHPDBG" != "no"; then
PHP_SUBST([BUILD_PHPDBG])
PHP_SUBST([BUILD_PHPDBG_SHARED])
PHP_OUTPUT(sapi/phpdbg/phpdbg.1)
PHP_OUTPUT([sapi/phpdbg/phpdbg.1])
fi