From f0523145cc30a32daa64dd0bd5661b0b204f00da Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 1996 22:40:39 +0000 Subject: * Makerules (install-lib.so rules): Undouble $s in target and dep parts of o-iterator-doit defns. (unversioned libraries install rule): Fix pattern. * mach/Makefile (mach-src-headers): Use $(base-machine) instead of $(config-machine). ($(includedir)/machine): Likewise. * config.make.in (base-machine): New variable. * configure.in (machine): Move case stmt to set $machine out of sysdep dirs AC_CACHE_CHECK. (base_machine): New variable, set in that switch and AC_SUBST'd. * Makerules (stub-$(subdir)): Use file name in directory as output, since cmd is cd'd. --- configure | 63 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 33 insertions(+), 30 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 4b82e80..b00ab8a 100755 --- a/configure +++ b/configure @@ -725,34 +725,35 @@ alpha*-linux*) gnu_ld=no elf=no ;; esac -# Compute the list of sysdep directories for this configuration. -sysdep_dir=$srcdir/sysdeps -echo $ac_n "checking sysdep dirs""... $ac_c" 1>&4 -if eval "test \"`echo '$''{'libc_cv_sysdirs'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&4 -else - machine=$config_machine +machine=$config_machine vendor=$config_vendor os=$config_os # Expand the configuration machine name into a subdirectory by architecture # type and particular chip. case "$machine" in -a29k | am29000) machine=a29k ;; -alpha*) machine=alpha/$machine ;; -hppa*) machine=hppa/$machine ;; -i[345]86) machine=i386/$machine ;; -m680?0) machine=m68k/$machine ;; -m68k) machine=m68k/m68020 ;; -m88???) machine=m88k/$machine ;; -m88k) machine=m88k/m88100 ;; -mips*) machine=mips/$machine ;; -mips64*) machine=mips/mips64/$machine ;; -sparc[6789]) machine=sparc/$machine ;; -supersparc) machine=sparc/sparc8 ;; +a29k | am29000) base_machine=a29k machine=a29k ;; +alpha*) base_machine=alpha machine=alpha/$machine ;; +hppa*) base_machine=hppa machine=hppa/$machine ;; +i[345]86) base_machine=i386 machine=i386/$machine ;; +m680?0) base_machine=m68k machine=m68k/$machine ;; +m68k) base_machine=m68k machine=m68k/m68020 ;; +m88???) base_machine=m88k machine=m88k/$machine ;; +m88k) base_machine=m88k machine=m88k/m88100 ;; +mips*) base_machine=mips machine=mips/$machine ;; +mips64*) base_machine=mips64 machine=mips/mips64/$machine ;; +sparc[6789]) base_machine=sparc machine=sparc/$machine ;; +supersparc) base_machine=sparc machine=sparc/sparc8 ;; esac -# Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1. + +# Compute the list of sysdep directories for this configuration. +sysdep_dir=$srcdir/sysdeps +echo $ac_n "checking sysdep dirs""... $ac_c" 1>&4 +if eval "test \"`echo '$''{'libc_cv_sysdirs'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&4 +else + # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1. os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`" case "$os" in @@ -1032,6 +1033,7 @@ fi test -n "$MSGFMT" && break done +test -n "$MSGFMT" || MSGFMT=":" echo $ac_n "checking build system type""... $ac_c" 1>&4 @@ -1195,13 +1197,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1210,13 +1212,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1265,7 +1267,7 @@ if eval "test \"`echo '$''{'libc_cv_friendly_stddef'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_friendly_stddef=yes else @@ -1388,7 +1390,7 @@ if eval "test \"`echo '$''{'libc_cv_have_initfini'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* libc_cv_have_initfini=yes else @@ -1425,7 +1427,7 @@ if eval "test \"`echo '$''{'libc_cv_asm_underscores'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&4 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; }; then +if { (eval echo configure:1439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then rm -rf conftest* libc_cv_asm_underscores=yes else @@ -1781,6 +1783,7 @@ s%@host_alias@%$host_alias%g s%@host_cpu@%$host_cpu%g s%@host_vendor@%$host_vendor%g s%@host_os@%$host_os%g +s%@base_machine@%$base_machine%g s%@sysnames@%$sysnames%g s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g s%@INSTALL_DATA@%$INSTALL_DATA%g -- cgit v1.1