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

Autotools: Quote PHP_ADD_LIB* arguments (#15112)

Following previous CS syncs, this quotes arguments in PHP_ADD_LIB* M4
macros:
- PHP_ADD_LIBRARY
- PHP_ADD_LIBRARY_WITH_PATH
- PHP_ADD_LIBPATH
This commit is contained in:
Peter Kokot
2024-07-26 23:26:55 +02:00
committed by GitHub
parent a7bd911ad6
commit ff4b99e260
14 changed files with 57 additions and 47 deletions

View File

@@ -76,8 +76,9 @@ if test "$PHP_%EXTNAMECAPS%" != "no"; then
dnl If you need to check for a particular library function (e.g. a conditional
dnl or version-dependent feature) and you are not using pkg-config:
dnl PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL,
dnl [
dnl PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $%EXTNAMECAPS%_DIR/$PHP_LIBDIR, %EXTNAMECAPS%_SHARED_LIBADD)
dnl [PHP_ADD_LIBRARY_WITH_PATH([$LIBNAME],
dnl [$%EXTNAMECAPS%_DIR/$PHP_LIBDIR],
dnl [%EXTNAMECAPS%_SHARED_LIBADD])
dnl AC_DEFINE(HAVE_%EXTNAMECAPS%_FEATURE, 1, [ ])
dnl ],[
dnl AC_MSG_ERROR([FEATURE not supported by your %EXTNAME% library.])