* rldefs.h: On Linux, include <termios.h> to fix compile error
[deliverable/binutils-gdb.git] / readline / configure.in
index ffc54b4547480e84bacad8bd6a3306166ce99f6d..981c78fc24b90c90272657cb0a603d2b00781eb3 100644 (file)
@@ -3,43 +3,53 @@
 # script appropriate for this directory.  For more information, check
 # any existing configure script.
 
-configdirs=
+configdirs=doc
 srctrigger=readline.c
 srcname="the readline library"
-commontargets=true
 
 # per-host:
 
 files=sysdep-norm.h
 links=sysdep.h
 
-case "${host_os}" in
-m88kbcs | sysv*)
-       host_makefile_frag=config/hm-sysv
-       ;;
-
-aix*)
-       host_makefile_frag=config/hm-sysv
-       case "${host_cpu}" in
-       rs6000) files=sysdep-aix.h
-       esac
-       ;;
-
-irix*)
-       host_makefile_frag=config/hm-sysv
-       files=sysdep-irix.h
-       ;;
-
-newsos*)
-       files=sysdep-newsos.h
-       ;;
-esac
-
-case "${host_vendor}" in
-sco* )
-       host_makefile_frag=config/hm-sco
-       files=sysdep-sco.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:
+
+
This page took 0.024814 seconds and 4 git commands to generate.