Skip to content

Commit a2bc783

Browse files
authored
Autotools: Add missing sigil in AC_CASE and fix Autoconf syntax (#14967)
1 parent ccd2787 commit a2bc783

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/php.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,9 +1103,9 @@ int main(void) {
11031103
[php_cv_time_r_type=POSIX])],
11041104
[php_cv_time_r_type=POSIX])
11051105
])
1106-
AS_CASE([php_cv_time_r_type],
1106+
AS_CASE([$php_cv_time_r_type],
11071107
[hpux], [AC_DEFINE([PHP_HPUX_TIME_R], [1],
1108-
[Define to 1 if you have HP-UX 10.x.-style reentrant time functions.])]
1108+
[Define to 1 if you have HP-UX 10.x.-style reentrant time functions.])],
11091109
[irix], [AC_DEFINE([PHP_IRIX_TIME_R], [1],
11101110
[Define to 1 you have IRIX-style reentrant time functions.])])
11111111
])

ext/opcache/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ int main(void) {
228228
]])],
229229
[php_cv_shm_mmap_anon=yes],
230230
[php_cv_shm_mmap_anon=no],
231-
[AS_CASE([host_alias],
231+
[AS_CASE([$host_alias],
232232
[*linux*|*midipix], [php_cv_shm_mmap_anon=yes],
233233
[php_cv_shm_mmap_anon=no])])])
234234
AS_VAR_IF([php_cv_shm_mmap_anon], [yes],

0 commit comments

Comments
 (0)