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

Autotools: Quote PHP_CHECK_LIBRARY arguments (#15136)

This syncs the quotes across the PHP_CHECK_LIBRARY macro arguments.
This commit is contained in:
Peter Kokot
2024-07-28 18:39:14 +02:00
committed by GitHub
parent a7d856d9bf
commit 2b97c84d4c
16 changed files with 224 additions and 288 deletions

View File

@@ -64,27 +64,21 @@ 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 using pkg-config:
dnl PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL,
dnl [
dnl AC_DEFINE(HAVE_%EXTNAMECAPS%_FEATURE, 1, [ ])
dnl ],[
dnl AC_MSG_ERROR([FEATURE not supported by your %EXTNAME% library.])
dnl ], [
dnl $LIBFOO_LIBS
dnl ])
dnl PHP_CHECK_LIBRARY([$LIBNAME], [$LIBSYMBOL],
dnl [AC_DEFINE([HAVE_%EXTNAMECAPS%_FEATURE], [1], [ ])],
dnl [AC_MSG_ERROR([FEATURE not supported by your %EXTNAME% library.])],
dnl [$LIBFOO_LIBS])
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 PHP_CHECK_LIBRARY([$LIBNAME], [$LIBSYMBOL],
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.])
dnl ],[
dnl -L$%EXTNAMECAPS%_DIR/$PHP_LIBDIR -lm
dnl ])
dnl AC_DEFINE([HAVE_%EXTNAMECAPS%_FEATURE], [1], [ ])
dnl ],
dnl [AC_MSG_ERROR([FEATURE not supported by your %EXTNAME% library.])],
dnl [-L$%EXTNAMECAPS%_DIR/$PHP_LIBDIR -lm])
dnl
dnl PHP_SUBST([%EXTNAMECAPS%_SHARED_LIBADD])