X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=readline%2Fconfigure.in;h=29b5d4a33758c2efc43ee2d338c7d97ecfc80c1a;hb=83660d21a7e6a698b3397c0a7483ff9b82a11b2b;hp=1d14098185e3b1a4b73ab9b8eb4132a590e1be70;hpb=a051de4b211b318d30576ebc915e14dacd583564;p=binutils-gdb.git diff --git a/readline/configure.in b/readline/configure.in index 1d14098185e..29b5d4a3375 100644 --- a/readline/configure.in +++ b/readline/configure.in @@ -9,9 +9,34 @@ srcname="the readline library" # per-host: -case "${host_os}" in -sysv* | irix* | aix*) host_makefile_frag=config/hmake-sysv ;; +files=sysdep-norm.h +links=sysdep.h + +case "${host}" in + *-*-irix*) host_makefile_frag=config/mh-sysv; files=sysdep-irix.h;; + i[34]86-ncr-sysv4*) host_makefile_frag=config/mh-ncr3000 ;; + m88k-*-sysv4*) host_makefile_frag=config/mh-sysv ; + # defining POSIX_SOURCE causes stack_t to be undefined + # even though it's used in + files=sysdep-norm.h ;; + *-*-sysv4*) host_makefile_frag=config/mh-sysv4 ; files=sysdep-sysv4.h;; + *-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;; + i[34]86-*-sco3.2v4*) host_makefile_frag=config/mh-sco4; files=sysdep-sco.h ;; + i[34]86-*-sco*) host_makefile_frag=config/mh-sco; files=sysdep-sco.h ;; + i[34]86-*-isc*) host_makefile_frag=config/mh-isc ;; + m68k-apollo-sysv*) host_makefile_frag=config/mh-apollo68v ;; + *-*-sysv*) host_makefile_frag=config/mh-sysv ;; + *-*-m88kbcs) host_makefile_frag=config/mh-sysv ;; + i[34]86-*-linux) host_makefile_frag=config/mh-posix ;; + rs6000-ibm-aix*) 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 ;; + *-*-ultrix2*) files=sysdep-obsd.h ;; esac # per-target: +