mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +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.
|
||||
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.
|
||||
AM_PROG_LIBTOOL
|
||||
AC_PROG_YACC
|
||||
|
@ -873,7 +878,7 @@ AC_SUBST(LDFLAGS_SHLIB)
|
|||
AC_SUBST(LDFLAGS_SHLIB_EXPORT)
|
||||
AC_SUBST(RPATHS)
|
||||
AC_SUBST(RAW_RPATHS)
|
||||
|
||||
|
||||
PHP_BUILD_DATE=`date '+%Y-%m-%d'`
|
||||
AC_SUBST(PHP_BUILD_DATE)
|
||||
AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue