Skip to content

Commit d657d55

Browse files
authored
Check host_alias on one place (#13042)
1 parent 948b2bc commit d657d55

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

TSRM/threads.m4

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ dnl
3131
dnl Set some magic defines to achieve POSIX threads conformance.
3232
dnl
3333
AC_DEFUN([PTHREADS_FLAGS],[
34-
if test -z "$host_alias" && test -n "$host"; then
35-
host_alias=$host
36-
fi
37-
if test -z "$host_alias"; then
38-
AC_MSG_ERROR(host_alias is not set. Make sure to run config.guess)
39-
fi
4034
case $host_alias in
4135
*solaris*)
4236
PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;

build/php.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ AC_DEFUN([PHP_CANONICAL_HOST_TARGET],[
124124
host_alias=$host
125125
fi
126126
if test -z "$host_alias"; then
127-
AC_MSG_ERROR([host_alias is not set!])
127+
AC_MSG_ERROR([host_alias is not set! Make sure to run config.guess])
128128
fi
129129
])
130130

0 commit comments

Comments
 (0)