MFH: - Fixed compile error with HP-UX using GCC.
authorfoobar <sniper@php.net>
Thu, 16 Dec 2004 11:50:46 +0000 (11:50 +0000)
committerfoobar <sniper@php.net>
Thu, 16 Dec 2004 11:50:46 +0000 (11:50 +0000)
configure.in

index 5b6bde36cafb89884b48cda72ee835601db4696c..9c694b953cce9522e34320f610bff1bef588b32b 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