Browse Source

Check host_alias on one place (#13042)

pull/13048/head
Peter Kokot 2 years ago
committed by GitHub
parent
commit
d657d5592e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      TSRM/threads.m4
  2. 2
      build/php.m4

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

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

Loading…
Cancel
Save