summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/readline/configure.in
blob: 560f3535e766a63ede8bc94360c55deeee6d5cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# This file is a shell script fragment that supplies the information
# necessary to tailor a template configure script into the configure
# script appropriate for this directory.  For more information, check
# any existing configure script.

configdirs=doc
srctrigger=readline.c
srcname="the readline library"

# per-host:

files=sysdep-norm.h
links=sysdep.h

case "${host}" in
  *-*-cygwin32*)	host_makefile_frag=config/mh-posix ;;
  *-*-irix*)		host_makefile_frag=config/mh-sysv; files=sysdep-irix.h;;
  i[3456]86-ncr-sysv4*)	host_makefile_frag=config/mh-ncr3000 ;;
# Using sysdep-norm.h is harmful because termio.h defines VWERASE even though
# c_cc is too small for it (VWERASE is for termios).
# The problem with _POSIX_SOURCE is said not to be a problem after all.
#  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 ;;
  m88*-harris-cxux7*)	host_makefile_frag=config/mh-sysv4 ; files=sysdep-cxux7.h ;;
  *-*-sysv4*)		host_makefile_frag=config/mh-sysv4 ; files=sysdep-sysv4.h ;;
  *-*-solaris2*)	host_makefile_frag=config/mh-sysv4 ;;
  i[3456]86-*-sco3.2v[45]*)	host_makefile_frag=config/mh-sco4; files=sysdep-sco.h ;;
  i[3456]86-*-sco*)	host_makefile_frag=config/mh-sco; files=sysdep-sco.h ;;
# Don't use this; ISC 4.0 only supports POSIX features if you link with
# -lcposix.  No thanks.
#  i[3456]86-*-isc*)	host_makefile_frag=config/mh-isc ;;
  i[3456]86-*-isc*)	host_makefile_frag=config/mh-sysv ;;
  *-*-go32)		host_makefile_frag=config/mh-go32 ;;
  m68k-apollo-sysv*)	host_makefile_frag=config/mh-apollo68v ;;    
  *-*-sysv*)		host_makefile_frag=config/mh-sysv ;;
  *-*-m88kbcs*)		host_makefile_frag=config/mh-sysv ;;
  *-*-linux*)		host_makefile_frag=config/mh-posix ;;
  powerpc-ibm-aix*)	host_makefile_frag=config/mh-sysv; files=sysdep-aix.h ;;
  rs6000-ibm-aix*)	host_makefile_frag=config/mh-sysv; files=sysdep-aix.h ;;
  rs6000-bull-bosx*)	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 ;;
  *-*-gnu*)		host_makefile_frag=config/mh-gnu ;;
  *-*-sunos3*)						files=sysdep-obsd.h ;;
# Using termios on SunOS is necessary to save and restore cs7 versus cs8.
  *-*-sunos4.1*)	host_makefile_frag=config/mh-posix ;;
  *-*-ultrix2*)						files=sysdep-obsd.h ;;
  *-*-riscos*)		host_makefile_frag=config/mh-sysv ;;
  *-*-openbsd*)					files=sysdep-openbsd.h ;;
esac

# per-target: