summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2004-12-16 11:49:48 (GMT)
committerfoobar <sniper@php.net>2004-12-16 11:49:48 (GMT)
commiteb0c45d57215646e390bdcd757e750a07bb0a48e (patch)
treee3c340b8ecd536990acc8013df5a76e8d7d02b6e /configure.in
parent2689533db919f1c6bd155d55d7271cf5dd47b809 (diff)
downloadphp-eb0c45d57215646e390bdcd757e750a07bb0a48e.tar.gz
- Fixed compile error with HP-UX using GCC.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 12eaef2..770a2a2 100644
--- a/configure.in
+++ b/configure.in
@@ -227,6 +227,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