]> granicus.if.org Git - php/commitdiff
MFH: - Fixed compile error with HP-UX using GCC.
authorfoobar <sniper@php.net>
Thu, 16 Dec 2004 11:49:55 +0000 (11:49 +0000)
committerfoobar <sniper@php.net>
Thu, 16 Dec 2004 11:49:55 +0000 (11:49 +0000)
configure.in

index 5f302b449295b956ab6f13b8a218cd98720230ae..49e9be67a970cdbbaa51e1379e26c6266bc94ce4 100644 (file)
@@ -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