mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Autotools: Add missing sigil in AC_CASE and fix Autoconf syntax (#14967)
This commit is contained in:
parent
ccd2787947
commit
a2bc783815
2 changed files with 3 additions and 3 deletions
|
@ -1103,9 +1103,9 @@ int main(void) {
|
||||||
[php_cv_time_r_type=POSIX])],
|
[php_cv_time_r_type=POSIX])],
|
||||||
[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],
|
[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],
|
[irix], [AC_DEFINE([PHP_IRIX_TIME_R], [1],
|
||||||
[Define to 1 you have IRIX-style reentrant time functions.])])
|
[Define to 1 you have IRIX-style reentrant time functions.])])
|
||||||
])
|
])
|
||||||
|
|
|
@ -228,7 +228,7 @@ int main(void) {
|
||||||
]])],
|
]])],
|
||||||
[php_cv_shm_mmap_anon=yes],
|
[php_cv_shm_mmap_anon=yes],
|
||||||
[php_cv_shm_mmap_anon=no],
|
[php_cv_shm_mmap_anon=no],
|
||||||
[AS_CASE([host_alias],
|
[AS_CASE([$host_alias],
|
||||||
[*linux*|*midipix], [php_cv_shm_mmap_anon=yes],
|
[*linux*|*midipix], [php_cv_shm_mmap_anon=yes],
|
||||||
[php_cv_shm_mmap_anon=no])])])
|
[php_cv_shm_mmap_anon=no])])])
|
||||||
AS_VAR_IF([php_cv_shm_mmap_anon], [yes],
|
AS_VAR_IF([php_cv_shm_mmap_anon], [yes],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue