summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-12-16 11:49:55 +0000
committerfoobar <sniper@php.net>2004-12-16 11:49:55 +0000
commit1059806c25d05fb01f51df3e5aa7a8acb5276f9d (patch)
tree35ebfeb35c417b95bfcc391733fe9d80e71eb11a
parent68010fd314bd29c49173ed57989eba850d9cb07f (diff)
downloadphp-git-1059806c25d05fb01f51df3e5aa7a8acb5276f9d.tar.gz
MFH: - Fixed compile error with HP-UX using GCC.
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 5f302b4492..49e9be67a9 100644
--- a/configure.in
+++ b/configure.in
@@ -196,6 +196,11 @@ case $host_alias in
LIBS="$LIBS -lbe -lroot";;
*mips*)
CPPFLAGS="$CPPFLAGS -D_XPG_IV";;
+*hpux*)
+ if test "$GCC" = "yes"; then
+ CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED"
+ fi
+ ;;
esac