aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rwxr-xr-xconfig.guess32
2 files changed, 28 insertions, 12 deletions
diff --git a/ChangeLog b/ChangeLog
index f785d79..e1b237b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,14 @@ Fri Aug 26 13:05:27 1994 Per Bothner (bothner@kalessin.cygnus.com)
* config.guess: Recognize i860-stardent-sysv and i860-unknown-sysv.
+ Sun May 1 10:23:10 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
+
+ * config.guess: Guess the OS version for HPUX.
+
+ Tue Mar 1 21:53:03 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu)
+
+ * config.guess (UNAME_VERSION): Recognize aix3.2.4 and aix3.2.5.
+
Fri Aug 26 11:19:08 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
* configure.in: Recognize --with-headers, --with-libs, and
diff --git a/config.guess b/config.guess
index b9335c8..08825b4 100755
--- a/config.guess
+++ b/config.guess
@@ -124,7 +124,13 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo i386-ibm-aix
exit 0 ;;
*:AIX:2:3)
- echo rs6000-ibm-aix3.2
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.5
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
exit 0 ;;
*:AIX:*:*)
echo rs6000-ibm-aix
@@ -135,23 +141,25 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
DPX/2?00:B.O.S.:*:*)
echo m68k-bull-sysv3
exit 0 ;;
- 9000/31?:HP-UX:*:*)
- echo m68000-hp-hpux
- exit 0 ;;
- 9000/[34]??:HP-UX:*:*)
- echo m68k-hp-hpux
- exit 0 ;;
9000/[34]??:4.3bsd:1.*:*)
echo m68k-hp-bsd
exit 0 ;;
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
echo m68k-hp-bsd4.4
exit 0 ;;
- 9000/7??:HP-UX:*:* | 9000/8?7:HP-UX:*:* )
- echo hppa1.1-hp-hpux
- exit 0 ;;
- 9000/8??:HP-UX:*:*)
- echo hppa1.0-hp-hpux
+ 9000/[3478]??:HP-UX:*:*)
+ case "${UNAME_MACHINE}" in
+ 9000/31? ) HP_ARCH=m68000 ;;
+ 9000/[34]?? ) HP_ARCH=m68k ;;
+ 9000/7?? | 9000/8?7 ) HP_ARCH=hppa1.1 ;;
+ 9000/8?? ) HP_ARCH=hppa1.0 ;;
+ esac
+ case ${UNAME_RELEASE} in
+ *.B7.* ) HPUX_REV=7 ;;
+ *.[B0]8.* ) HPUX_REV=8 ;;
+ *.09.* ) HPUX_REV=9 ;;
+ esac
+ echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
3050*:HI-UX:*:*)
sed 's/^ //' << EOF >dummy.c