Skip to content

Commit 7e1e450

Browse files
authored
Autotools: Remove redundant double quotes (#15634)
1 parent daeb329 commit 7e1e450

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

build/php.m4

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ AC_DEFUN([_PHP_CHECK_SIZEOF], [
10491049
LIBS=
10501050
old_LDFLAGS=$LDFLAGS
10511051
LDFLAGS=
1052-
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
1052+
AC_RUN_IFELSE([AC_LANG_SOURCE([#include <stdio.h>
10531053
#include <stdlib.h>
10541054
#include <stddef.h>
10551055
#include <inttypes.h>
@@ -1065,7 +1065,7 @@ int main(void)
10651065
fprintf(fp, "%d\n", sizeof($1));
10661066
return(0);
10671067
}
1068-
]])], [
1068+
])], [
10691069
eval $php_cache_value=`cat conftestval`
10701070
], [
10711071
eval $php_cache_value=0
@@ -1151,7 +1151,7 @@ dnl
11511151
dnl Internal.
11521152
dnl
11531153
AC_DEFUN([PHP_DOES_PWRITE_WORK],[
1154-
AC_RUN_IFELSE([AC_LANG_SOURCE([[
1154+
AC_RUN_IFELSE([AC_LANG_SOURCE([
11551155
#include <sys/types.h>
11561156
#include <sys/stat.h>
11571157
#include <fcntl.h>
@@ -1168,8 +1168,7 @@ $1
11681168
if (pwrite(fd, "text", 4, -1) != -1 || errno != EINVAL) return 1;
11691169
return 0;
11701170
}
1171-
1172-
]])],[
1171+
])],[
11731172
ac_cv_pwrite=yes
11741173
],[
11751174
ac_cv_pwrite=no
@@ -1543,14 +1542,14 @@ dnl
15431542
AC_DEFUN([PHP_TEST_BUILD], [
15441543
old_LIBS=$LIBS
15451544
LIBS="$4 $LIBS"
1546-
AC_LINK_IFELSE([AC_LANG_SOURCE([[
1545+
AC_LINK_IFELSE([AC_LANG_SOURCE([
15471546
$5
15481547
char $1(void);
15491548
int main(void) {
15501549
$1();
15511550
return 0;
15521551
}
1553-
]])],[
1552+
])],[
15541553
LIBS=$old_LIBS
15551554
$2
15561555
],[

ext/hash/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PHP_ARG_WITH([mhash],
22
[for mhash support],
3-
[AS_HELP_STRING([[--with-mhash]],
3+
[AS_HELP_STRING([--with-mhash],
44
[Include mhash support])])
55

66
AS_VAR_IF([PHP_MHASH], [no],, [

ext/iconv/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ int main(void) {
8484
[AC_MSG_FAILURE([The iconv check failed, 'errno' is missing.])])
8585

8686
AC_CACHE_CHECK([if iconv supports //IGNORE], [php_cv_iconv_ignore],
87-
[AC_RUN_IFELSE([AC_LANG_SOURCE([[
87+
[AC_RUN_IFELSE([AC_LANG_SOURCE([
8888
#include <iconv.h>
8989
#include <stdlib.h>
9090
@@ -103,7 +103,7 @@ int main(void) {
103103
}
104104
return 0;
105105
}
106-
]])],
106+
])],
107107
[php_cv_iconv_ignore=yes],
108108
[php_cv_iconv_ignore=no],
109109
[php_cv_iconv_ignore=no])])

ext/mysqli/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ AC_DEFUN([PHP_MYSQL_SOCKET_SEARCH], [
2626

2727
PHP_ARG_WITH([mysqli],
2828
[for MySQLi support],
29-
[AS_HELP_STRING([[--with-mysqli]],
29+
[AS_HELP_STRING([--with-mysqli],
3030
[Include MySQLi support. The MySQL native driver will be used])])
3131

3232
dnl ext/pdo_mysql/config.m4 also depends on this configure option.

ext/standard/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ dnl Check for argon2
345345
dnl
346346
PHP_ARG_WITH([password-argon2],
347347
[for Argon2 support],
348-
[AS_HELP_STRING([[--with-password-argon2]],
348+
[AS_HELP_STRING([--with-password-argon2],
349349
[Include Argon2 support in password_*])])
350350

351351
AS_VAR_IF([PHP_PASSWORD_ARGON2], [no],, [

0 commit comments

Comments
 (0)