diff --git a/build/php.m4 b/build/php.m4 index a882bec8ac2..b804eea1426 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -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.])]) ]) diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 891efae9613..57d992a1538 100644 --- a/ext/opcache/config.m4 +++ b/ext/opcache/config.m4 @@ -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],