| 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 | |
| 6 | configdirs=doc |
| 7 | srctrigger=readline.c |
| 8 | srcname="the readline library" |
| 9 | |
| 10 | # per-host: |
| 11 | |
| 12 | files=sysdep-norm.h |
| 13 | links=sysdep.h |
| 14 | |
| 15 | case "${host}" in |
| 16 | *-*-irix*) host_makefile_frag=config/mh-sysv; files=sysdep-irix.h;; |
| 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 ; |
| 22 | # defining POSIX_SOURCE causes stack_t to be undefined |
| 23 | # even though it's used in <setjmp.h> |
| 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 ;; |
| 27 | *-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;; |
| 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 ;; |
| 35 | m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68v ;; |
| 36 | *-*-sysv*) host_makefile_frag=config/mh-sysv ;; |
| 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 ;; |
| 40 | rs6000-ibm-aix*) host_makefile_frag=config/mh-sysv; files=sysdep-aix.h ;; |
| 41 | rs6000-bull-bosx*) host_makefile_frag=config/mh-sysv; files=sysdep-aix.h ;; |
| 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 ;; |
| 47 | # Using termios on SunOS is necessary to save and restore cs7 versus cs8. |
| 48 | *-*-sunos4.1*) host_makefile_frag=config/mh-posix ;; |
| 49 | *-*-ultrix2*) files=sysdep-obsd.h ;; |
| 50 | *-*-riscos*) host_makefile_frag=config/mh-sysv ;; |
| 51 | esac |
| 52 | |
| 53 | # per-target: |
| 54 | |
| 55 | |