cvs: /php4 configure.in.in
| From: | Sascha Schumann | Date: | Thu, 22 Jul 1999 21:11:09 +0000 |
| Subject: | cvs: /php4 configure.in.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2571@lists.php.net to get a copy of this message | ||
sas Thu Jul 22 17:11:09 1999 EDT
Modified files:
/php4 configure.in.in
Log:
add the HPUX ANSI detection from php3
Index: php4/configure.in.in
diff -u php4/configure.in.in:1.58 php4/configure.in.in:1.59
--- php4/configure.in.in:1.58 Wed Jul 21 17:56:24 1999
+++ php4/configure.in.in Thu Jul 22 17:11:09 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in.in,v 1.58 1999/07/21 21:56:24 ssb Exp $ -*- sh -*-
+dnl $Id: configure.in.in,v 1.59 1999/07/22 21:11:09 sas Exp $ -*- sh -*-
dnl Process this file with autoconf to produce a configure script.
divert(0)
@@ -74,6 +74,11 @@
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_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")