mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Autotools: Remove redundant double quotes (#15634)
This commit is contained in:
parent
daeb3295b2
commit
7e1e450bb9
5 changed files with 11 additions and 12 deletions
13
build/php.m4
13
build/php.m4
|
@ -1049,7 +1049,7 @@ AC_DEFUN([_PHP_CHECK_SIZEOF], [
|
|||
LIBS=
|
||||
old_LDFLAGS=$LDFLAGS
|
||||
LDFLAGS=
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <stdio.h>
|
||||
AC_RUN_IFELSE([AC_LANG_SOURCE([#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <inttypes.h>
|
||||
|
@ -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 <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
@ -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
|
||||
],[
|
||||
|
|
|
@ -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],, [
|
||||
|
|
|
@ -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 <iconv.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@ -103,7 +103,7 @@ int main(void) {
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
]])],
|
||||
])],
|
||||
[php_cv_iconv_ignore=yes],
|
||||
[php_cv_iconv_ignore=no],
|
||||
[php_cv_iconv_ignore=no])])
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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],, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue