diff --git a/TSRM/threads.m4 b/TSRM/threads.m4 index fa0114d8743cb..6b8a773b32566 100644 --- a/TSRM/threads.m4 +++ b/TSRM/threads.m4 @@ -31,12 +31,6 @@ dnl dnl Set some magic defines to achieve POSIX threads conformance. dnl AC_DEFUN([PTHREADS_FLAGS],[ - if test -z "$host_alias" && test -n "$host"; then - host_alias=$host - fi - if test -z "$host_alias"; then - AC_MSG_ERROR(host_alias is not set. Make sure to run config.guess) - fi case $host_alias in *solaris*) PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";; diff --git a/build/php.m4 b/build/php.m4 index c20b0f3a4e875..47314d3490d94 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -124,7 +124,7 @@ AC_DEFUN([PHP_CANONICAL_HOST_TARGET],[ host_alias=$host fi if test -z "$host_alias"; then - AC_MSG_ERROR([host_alias is not set!]) + AC_MSG_ERROR([host_alias is not set! Make sure to run config.guess]) fi ])