mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
add the HPUX ANSI detection from php3
This commit is contained in:
parent
84656f113e
commit
3ccb07f34b
1 changed files with 6 additions and 1 deletions
|
@ -74,6 +74,11 @@ AM_MAINTAINER_MODE
|
||||||
dnl We want this one before the checks, so the checks can modify CFLAGS.
|
dnl We want this one before the checks, so the checks can modify CFLAGS.
|
||||||
test -z "$CFLAGS" && auto_cflags=1
|
test -z "$CFLAGS" && auto_cflags=1
|
||||||
|
|
||||||
|
dnl If we're using cc on HP-UX, add the -Ae to CFLAGS
|
||||||
|
if test -n "$auto_cflags" && test "`uname -s 2>/dev/null`" = "HP-UX"; then
|
||||||
|
test -n "$GCC" || CFLAGS="-Ae $CFLAGS -D_HPUX_SOURCE"
|
||||||
|
fi
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
AC_PROG_YACC
|
AC_PROG_YACC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue