* sysdep-6irix.h: New file.
[deliverable/binutils-gdb.git] / readline / configure.in
CommitLineData
a051de4b
JG
1# This file is a shell script fragment that supplies the information
2# necessary to tailor a template configure script into the configure
3# script appropriate for this directory. For more information, check
4# any existing configure script.
5
230e9ef4 6configdirs=doc
a051de4b
JG
7srctrigger=readline.c
8srcname="the readline library"
9
10# per-host:
11
5f4a039a
JG
12files=sysdep-norm.h
13links=sysdep.h
14
d5dcef63 15case "${host}" in
83660d21 16 *-*-irix*) host_makefile_frag=config/mh-sysv; files=sysdep-irix.h;;
230e9ef4
FF
17 i[345]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;;
18# Using sysdep-norm.h is harmful because termio.h defines VWERASE even though
19# c_cc is too small for it (VWERASE is for termios).
20# The problem with _POSIX_SOURCE is said not to be a problem after all.
21# m88k-*-sysv4*) host_makefile_frag=config/mh-sysv ;
83660d21
JK
22 # defining POSIX_SOURCE causes stack_t to be undefined
23 # even though it's used in <setjmp.h>
230e9ef4
FF
24# files=sysdep-norm.h ;;
25 m88*-harris-cxux7*) host_makefile_frag=config/mh-sysv4 ; files=sysdep-cxux7.h ;;
26 *-*-sysv4*) host_makefile_frag=config/mh-sysv4 ; files=sysdep-sysv4.h ;;
83660d21 27 *-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
230e9ef4
FF
28 i[345]86-*-sco3.2v[45]*) host_makefile_frag=config/mh-sco4; files=sysdep-sco.h ;;
29 i[345]86-*-sco*) host_makefile_frag=config/mh-sco; files=sysdep-sco.h ;;
30# Don't use this; ISC 4.0 only supports POSIX features if you link with
31# -lcposix. No thanks.
32# i[345]86-*-isc*) host_makefile_frag=config/mh-isc ;;
33 i[345]86-*-isc*) host_makefile_frag=config/mh-sysv ;;
34 *-*-go32) host_makefile_frag=config/mh-go32 ;;
83660d21
JK
35 m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68v ;;
36 *-*-sysv*) host_makefile_frag=config/mh-sysv ;;
230e9ef4
FF
37 *-*-m88kbcs*) host_makefile_frag=config/mh-sysv ;;
38 i[345]86-*-linux*) host_makefile_frag=config/mh-posix ;;
39 powerpc-ibm-aix*) host_makefile_frag=config/mh-sysv; files=sysdep-aix.h ;;
83660d21 40 rs6000-ibm-aix*) host_makefile_frag=config/mh-sysv; files=sysdep-aix.h ;;
230e9ef4 41 rs6000-bull-bosx*) host_makefile_frag=config/mh-sysv; files=sysdep-aix.h ;;
83660d21
JK
42 *-ibm-aix*) host_makefile_frag=config/mh-sysv ;;
43 m68k-sony-news*) files=sysdep-obsd.h ;;
44 *-*-bsd*) files=sysdep-obsd.h ;;
45 *-*-mach*) files=sysdep-obsd.h ;;
46 *-*-sunos3*) files=sysdep-obsd.h ;;
230e9ef4
FF
47# Using termios on SunOS is necessary to save and restore cs7 versus cs8.
48 *-*-sunos4.1*) host_makefile_frag=config/mh-posix ;;
83660d21 49 *-*-ultrix2*) files=sysdep-obsd.h ;;
230e9ef4 50 *-*-riscos*) host_makefile_frag=config/mh-sysv ;;
b51d8b22
SG
51esac
52
a051de4b 53# per-target:
0b909fe1
JG
54
55
This page took 0.29847 seconds and 4 git commands to generate.