Autotools: Add missing sigil in AC_CASE and fix Autoconf syntax (#14967)

This commit is contained in:
Peter Kokot 2024-07-16 08:55:22 +02:00 committed by GitHub
parent ccd2787947
commit a2bc783815
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1103,9 +1103,9 @@ int main(void) {
[php_cv_time_r_type=POSIX])],
[php_cv_time_r_type=POSIX])
])
AS_CASE([php_cv_time_r_type],
AS_CASE([$php_cv_time_r_type],
[hpux], [AC_DEFINE([PHP_HPUX_TIME_R], [1],
[Define to 1 if you have HP-UX 10.x.-style reentrant time functions.])]
[Define to 1 if you have HP-UX 10.x.-style reentrant time functions.])],
[irix], [AC_DEFINE([PHP_IRIX_TIME_R], [1],
[Define to 1 you have IRIX-style reentrant time functions.])])
])

View File

@ -228,7 +228,7 @@ int main(void) {
]])],
[php_cv_shm_mmap_anon=yes],
[php_cv_shm_mmap_anon=no],
[AS_CASE([host_alias],
[AS_CASE([$host_alias],
[*linux*|*midipix], [php_cv_shm_mmap_anon=yes],
[php_cv_shm_mmap_anon=no])])])
AS_VAR_IF([php_cv_shm_mmap_anon], [yes],