1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Check host_alias on one place (#13042)

This commit is contained in:
Peter Kokot
2023-12-29 13:44:39 -08:00
committed by GitHub
parent 948b2bc211
commit d657d5592e
2 changed files with 1 additions and 7 deletions

View File

@@ -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";;

View File

@@ -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
])