# script appropriate for this directory. For more information, check
# any existing configure script.
-configdirs=
+configdirs=doc
srctrigger=readline.c
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
- ;;
-
-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[345]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[345]86-*-sco3.2v[45]*) host_makefile_frag=config/mh-sco4; files=sysdep-sco.h ;;
+ i[345]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[345]86-*-isc*) host_makefile_frag=config/mh-isc ;;
+ i[345]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 ;;
+ i[345]86-*-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 ;;
+ *-*-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 ;;
esac
# per-target: