httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <madhusudan_mathiha...@hp.com>
Subject Patch for config.guess
Date Sat, 14 Jul 2001 02:30:42 GMT
Here's the patch that enables Apache 2.0 on HP-UX/Itanium platform. The
patch is to modify config.guess in order to identify HP-UX operating system
on Itanium. Please review and commit appropriately.

The patch contains modifications for the following:

$APACHE_BASE/srclib/pcre/config.guess
$APACHE_BASE/srclib/apr/build/config.guess
$APACHE_BASE/srclib/apr/shmem/unix/mm/config.guess

$APACHE_BASE/srclib/apr-util/build/config.guess
$APACHE_BASE/srclib/apr-util/xml/expat/conftools/config.guess

PS: Would it be a better idea to have a single config.guess instead of the
above 2 - 3 different versions? The first set (srclib/pcre/config.guess,
srclib/apr/build/config.guess and srclib/apr/shmem/unix/mm/config.guess) are
same, but the remaining two config.guess are different.

Thanks
-Madhu


diff -ru httpd-2_0_20/srclib/pcre/config.guess.orig
httpd-2_0_20/srclib/pcre/config.guess
--- httpd-2_0_20/srclib/pcre/config.guess.orig	Mon Jul  9 09:27:36 2001
+++ httpd-2_0_20/srclib/pcre/config.guess	Mon Jul  9 09:55:09 2001
@@ -423,6 +423,10 @@
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 	echo m68k-hp-bsd4.4
 	exit 0 ;;
+    ia64:HP-UX:*:*)
+	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+	echo ia64-hp-hpux${HPUX_REV}
+        exit 0 ;;
     9000/[34678]??:HP-UX:*:*)
 	case "${UNAME_MACHINE}" in
 	    9000/31? )            HP_ARCH=m68000 ;;

diff -ru httpd-2_0_20/srclib/apr-util/build/config.guess.orig
httpd-2_0_20/srclib/apr-util/build/config.guess
--- httpd-2_0_20/srclib/apr-util/build/config.guess.orig	Mon Jul  9
09:57:43 2001
+++ httpd-2_0_20/srclib/apr-util/build/config.guess	Mon Jul  9 09:58:18
2001
@@ -423,6 +423,10 @@
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 	echo m68k-hp-bsd4.4
 	exit 0 ;;
+    ia64:HP-UX:*:*)
+        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+        echo ia64-hp-hpux${HPUX_REV}
+        exit 0 ;;
     9000/[34678]??:HP-UX:*:*)
 	case "${UNAME_MACHINE}" in
 	    9000/31? )            HP_ARCH=m68000 ;;

diff -ru httpd-2_0_20/srclib/apr-util/xml/expat/conftools/config.guess.orig
httpd-2_0_20/srclib/apr-util/xml/expat/conftools/config.guess
--- httpd-2_0_20/srclib/apr-util/xml/expat/conftools/config.guess.orig	Mon
Jul  9 09:58:29 2001
+++ httpd-2_0_20/srclib/apr-util/xml/expat/conftools/config.guess	Mon
Jul  9 09:58:48 2001
@@ -423,6 +423,10 @@
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 	echo m68k-hp-bsd4.4
 	exit 0 ;;
+    ia64:HP-UX:*:*)
+        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+        echo ia64-hp-hpux${HPUX_REV}
+        exit 0 ;;
     9000/[34678]??:HP-UX:*:*)
 	case "${UNAME_MACHINE}" in
 	    9000/31? )            HP_ARCH=m68000 ;;

diff -ru httpd-2_0_20/srclib/apr/build/config.guess.orig
httpd-2_0_20/srclib/apr/build/config.guess
--- httpd-2_0_20/srclib/apr/build/config.guess.orig	Mon Jul  9 09:56:17
2001
+++ httpd-2_0_20/srclib/apr/build/config.guess	Mon Jul  9 09:56:33 2001
@@ -469,6 +469,10 @@
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 	echo m68k-hp-bsd4.4
 	exit 0 ;;
+    ia64:HP-UX:*:*)
+        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+        echo ia64-hp-hpux${HPUX_REV}
+        exit 0 ;;
     9000/[34678]??:HP-UX:*:*)
 	case "${UNAME_MACHINE}" in
 	    9000/31? )            HP_ARCH=m68000 ;;

diff -ru httpd-2_0_20/srclib/apr/shmem/unix/mm/config.guess.orig
httpd-2_0_20/srclib/apr/shmem/unix/mm/config.guess
--- httpd-2_0_20/srclib/apr/shmem/unix/mm/config.guess.orig	Mon Jul  9
09:56:55 2001
+++ httpd-2_0_20/srclib/apr/shmem/unix/mm/config.guess	Mon Jul  9 09:57:10
2001
@@ -417,6 +417,10 @@
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 	echo m68k-hp-bsd4.4
 	exit 0 ;;
+    ia64:HP-UX:*:*)
+        HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+        echo ia64-hp-hpux${HPUX_REV}
+        exit 0 ;;
     9000/[34678]??:HP-UX:*:*)
 	case "${UNAME_MACHINE}" in
 	    9000/31? )            HP_ARCH=m68000 ;;



Mime
View raw message