]> Git Repo - binutils.git/blobdiff - readline/configure.in
* lib/gdb.exp (string_to_regexp): Set a default result.
[binutils.git] / readline / configure.in
index 1faa35058539245c60622e8b2736f3602f6362a6..29b5d4a33758c2efc43ee2d338c7d97ecfc80c1a 100644 (file)
@@ -12,47 +12,29 @@ 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
+  *-*-irix*)           host_makefile_frag=config/mh-sysv; files=sysdep-irix.h;;
+  i[34]86-ncr-sysv4*)  host_makefile_frag=config/mh-ncr3000 ;;
+  m88k-*-sysv4*)       host_makefile_frag=config/mh-sysv ;
+                       # defining POSIX_SOURCE causes stack_t to be undefined
+                       # even though it's used in <setjmp.h>
+                       files=sysdep-norm.h ;;
+  *-*-sysv4*)          host_makefile_frag=config/mh-sysv4 ; files=sysdep-sysv4.h;;
+  *-*-solaris2*)       host_makefile_frag=config/mh-sysv4 ;;
+  i[34]86-*-sco3.2v4*) host_makefile_frag=config/mh-sco4; files=sysdep-sco.h ;;
+  i[34]86-*-sco*)      host_makefile_frag=config/mh-sco; files=sysdep-sco.h ;;
+  i[34]86-*-isc*)      host_makefile_frag=config/mh-isc ;;
+  m68k-apollo-sysv*)   host_makefile_frag=config/mh-apollo68v ;;    
+  *-*-sysv*)           host_makefile_frag=config/mh-sysv ;;
+  *-*-m88kbcs)         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*)                                     files=sysdep-obsd.h ;;
+  *-*-bsd*)                                            files=sysdep-obsd.h ;;
+  *-*-mach*)                                           files=sysdep-obsd.h ;;
+  *-*-sunos3*)                                         files=sysdep-obsd.h ;;
+  *-*-ultrix2*)                                                files=sysdep-obsd.h ;;
 esac
 
 # per-target:
This page took 0.02491 seconds and 4 git commands to generate.