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

index 12eaef29d161f7d1fd15071baea9f8f5985701b0..770a2a2715b543dd82e967847ab6ef9076d3f53d 100644 (file)
@@ -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