From: foobar Date: Thu, 16 Dec 2004 11:49:55 +0000 (+0000) Subject: MFH: - Fixed compile error with HP-UX using GCC. X-Git-Tag: php-5.0.4RC1~470 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1059806c25d05fb01f51df3e5aa7a8acb5276f9d;p=php MFH: - Fixed compile error with HP-UX using GCC. --- 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