* configure.in (m88k-*-sysvr4*): Use sysdep-norm.h.
[binutils-gdb.git] / readline / configure.in
index 1d14098185e3b1a4b73ab9b8eb4132a590e1be70..29b5d4a33758c2efc43ee2d338c7d97ecfc80c1a 100644 (file)
@@ -9,9 +9,34 @@ srcname="the readline library"
 
 # per-host:
 
-case "${host_os}" in
-sysv* | irix* | aix*) host_makefile_frag=config/hmake-sysv ;;
+files=sysdep-norm.h
+links=sysdep.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:
 
+