From ae9b5189d0d8edcb284d03787dade3510091b5c2 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 29 Aug 2024 12:47:04 +0200 Subject: [PATCH] Autotools: Remove redundant double quotes --- build/php.m4 | 13 ++++++------- ext/hash/config.m4 | 2 +- ext/iconv/config.m4 | 4 ++-- ext/mysqli/config.m4 | 2 +- ext/standard/config.m4 | 2 +- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/build/php.m4 b/build/php.m4 index 4d365d8111db..dd290c55fbf9 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -1049,7 +1049,7 @@ AC_DEFUN([_PHP_CHECK_SIZEOF], [ LIBS= old_LDFLAGS=$LDFLAGS LDFLAGS= - AC_RUN_IFELSE([AC_LANG_SOURCE([[#include + AC_RUN_IFELSE([AC_LANG_SOURCE([#include #include #include #include @@ -1065,7 +1065,7 @@ int main(void) fprintf(fp, "%d\n", sizeof($1)); return(0); } - ]])], [ + ])], [ eval $php_cache_value=`cat conftestval` ], [ eval $php_cache_value=0 @@ -1151,7 +1151,7 @@ dnl dnl Internal. dnl AC_DEFUN([PHP_DOES_PWRITE_WORK],[ - AC_RUN_IFELSE([AC_LANG_SOURCE([[ + AC_RUN_IFELSE([AC_LANG_SOURCE([ #include #include #include @@ -1168,8 +1168,7 @@ $1 if (pwrite(fd, "text", 4, -1) != -1 || errno != EINVAL) return 1; return 0; } - - ]])],[ + ])],[ ac_cv_pwrite=yes ],[ ac_cv_pwrite=no @@ -1543,14 +1542,14 @@ dnl AC_DEFUN([PHP_TEST_BUILD], [ old_LIBS=$LIBS LIBS="$4 $LIBS" - AC_LINK_IFELSE([AC_LANG_SOURCE([[ + AC_LINK_IFELSE([AC_LANG_SOURCE([ $5 char $1(void); int main(void) { $1(); return 0; } - ]])],[ + ])],[ LIBS=$old_LIBS $2 ],[ diff --git a/ext/hash/config.m4 b/ext/hash/config.m4 index 5d379abe1078..1eef801a2fea 100644 --- a/ext/hash/config.m4 +++ b/ext/hash/config.m4 @@ -1,6 +1,6 @@ PHP_ARG_WITH([mhash], [for mhash support], - [AS_HELP_STRING([[--with-mhash]], + [AS_HELP_STRING([--with-mhash], [Include mhash support])]) AS_VAR_IF([PHP_MHASH], [no],, [ diff --git a/ext/iconv/config.m4 b/ext/iconv/config.m4 index f0c31c1114af..de76ea9e5300 100644 --- a/ext/iconv/config.m4 +++ b/ext/iconv/config.m4 @@ -84,7 +84,7 @@ int main(void) { [AC_MSG_FAILURE([The iconv check failed, 'errno' is missing.])]) AC_CACHE_CHECK([if iconv supports //IGNORE], [php_cv_iconv_ignore], - [AC_RUN_IFELSE([AC_LANG_SOURCE([[ + [AC_RUN_IFELSE([AC_LANG_SOURCE([ #include #include @@ -103,7 +103,7 @@ int main(void) { } return 0; } - ]])], + ])], [php_cv_iconv_ignore=yes], [php_cv_iconv_ignore=no], [php_cv_iconv_ignore=no])]) diff --git a/ext/mysqli/config.m4 b/ext/mysqli/config.m4 index 9f534f29d26a..119c7dcad9db 100644 --- a/ext/mysqli/config.m4 +++ b/ext/mysqli/config.m4 @@ -26,7 +26,7 @@ AC_DEFUN([PHP_MYSQL_SOCKET_SEARCH], [ PHP_ARG_WITH([mysqli], [for MySQLi support], - [AS_HELP_STRING([[--with-mysqli]], + [AS_HELP_STRING([--with-mysqli], [Include MySQLi support. The MySQL native driver will be used])]) dnl ext/pdo_mysql/config.m4 also depends on this configure option. diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 90a3cbd3166a..ef6b3c5a0101 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -345,7 +345,7 @@ dnl Check for argon2 dnl PHP_ARG_WITH([password-argon2], [for Argon2 support], - [AS_HELP_STRING([[--with-password-argon2]], + [AS_HELP_STRING([--with-password-argon2], [Include Argon2 support in password_*])]) AS_VAR_IF([PHP_PASSWORD_ARGON2], [no],, [