aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1992-10-02 07:13:29 +0000
committerDavid D. Zuhn <zoo@cygnus>1992-10-02 07:13:29 +0000
commitd5dcef63462d85af28fb9a3d4580678ef259f86a (patch)
tree574c9b21f1165000fd28034e38094ca454413dc0 /readline
parent15ae586e2edb29392c1fcc82a8d4c5fcb2a58c78 (diff)
downloadgdb-d5dcef63462d85af28fb9a3d4580678ef259f86a.zip
gdb-d5dcef63462d85af28fb9a3d4580678ef259f86a.tar.gz
gdb-d5dcef63462d85af28fb9a3d4580678ef259f86a.tar.bz2
use canonical triple
Diffstat (limited to 'readline')
-rw-r--r--readline/ChangeLog4
-rw-r--r--readline/configure.in75
2 files changed, 38 insertions, 41 deletions
diff --git a/readline/ChangeLog b/readline/ChangeLog
index 5eada80..88da886 100644
--- a/readline/ChangeLog
+++ b/readline/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 1 23:44:14 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+
+ * configure.in: use cpu-vendor-os triple instead of nested cases
+
Wed Sep 30 12:58:57 1992 Stu Grossman (grossman at cygnus.com)
* readline.c (rl_complete_internal): Cast alloca to (char *) to
diff --git a/readline/configure.in b/readline/configure.in
index 1faa350..0766866 100644
--- a/readline/configure.in
+++ b/readline/configure.in
@@ -12,47 +12,40 @@ srcname="the readline library"
files=sysdep-norm.h
links=sysdep.h
-case "${host_os}" in
-solaris*|sysv4*)
- host_makefile_frag=config/mh-sysv4
- case "${host_vendor}" in
- ncr*)
- host_makefile_frag=config/mh-ncr3000
- ;;
- esac
- ;;
-
-scosysv*)
- host_makefile_frag=config/mh-sco
- files=sysdep-sco.h
- ;;
-
-m88kbcs | sysv*)
- host_makefile_frag=config/mh-sysv
- case "${host_vendor}" in
- apollo)
- host_makefile_frag=config/mh-apollo68v ;;
- esac
- ;;
-
-linux)
- host_makefile_frag=config/mh-posix
- ;;
-aix*)
- host_makefile_frag=config/mh-sysv
- case "${host_cpu}" in
- rs6000) files=sysdep-aix.h
- esac
- ;;
-
-irix*)
- host_makefile_frag=config/mh-sysv
- files=sysdep-irix.h
- ;;
-
-newsos* | mach*)
- files=sysdep-obsd.h
- ;;
+case "${host}" in
+ i[34]86-ncr-sysv4*)
+ host_makefile_frag=config/mh-ncr3000
+ ;;
+ mips-sgi-irix*)
+ host_makefile_frag=config/mh-sysv
+ files=sysdep-irix.h
+ ;;
+ *-sun-solaris*| *-*-sysv4*)
+ host_makefile_frag=config/mh-sysv4
+ ;;
+ i[34]86-*-sco)
+ host_makefile_frag=config/mh-sco
+ files=sysdep-sco.h
+ ;;
+ m68k-apollo-sysv*)
+ host_makefile_frag=config/mh-apollo68v
+ ;;
+ m88k-motorola-m88kbcs | *-*-sysv*)
+ host_makefile_frag=config/mh-sysv
+ ;;
+ i[34]86-*-linux)
+ host_makefile_frag=config/mh-posix
+ ;;
+ rs6000-ibm-aix*)
+ host_makefile_frag=config/mh-sysv
+ files=sysdep-aix.h
+ ;;
+ *-ibm-aix*)
+ host_makefile_frag=config/mh-sysv
+ ;;
+ m68k-sony-news* | *-*-mach* | *-*-bsd*)
+ files=sysdep-obsd.h
+ ;;
esac
# per-target: