2009-05-13 Ken Werner <ken.werner@de.ibm.com>

* configure.in: Introduce config_libnosys flag which defaults to true.
        * configure: Regenerate.
This commit is contained in:
Jeff Johnston 2009-05-13 21:38:25 +00:00
parent 0d1c7d281c
commit 9708e8cde2
3 changed files with 60 additions and 92 deletions

View File

@ -1,3 +1,8 @@
2009-05-13 Ken Werner <ken.werner@de.ibm.com>
* configure.in: Introduce config_libnosys flag which defaults to true.
* configure: Regenerate.
2009-05-13 Ulrich Weigand <uweigand@de.ibm.com> 2009-05-13 Ulrich Weigand <uweigand@de.ibm.com>
* spu/crtn.S: Add dummy to ensure nothing gets linked at address 0. * spu/crtn.S: Add dummy to ensure nothing gets linked at address 0.

44
libgloss/configure vendored
View File

@ -273,7 +273,6 @@ PACKAGE_BUGREPORT=''
ac_unique_file="libnosys" ac_unique_file="libnosys"
ac_subdirs_all="$ac_subdirs_all doc" ac_subdirs_all="$ac_subdirs_all doc"
ac_subdirs_all="$ac_subdirs_all libnosys"
ac_subdirs_all="$ac_subdirs_all i386" ac_subdirs_all="$ac_subdirs_all i386"
ac_subdirs_all="$ac_subdirs_all m32r" ac_subdirs_all="$ac_subdirs_all m32r"
ac_subdirs_all="$ac_subdirs_all m68hc11" ac_subdirs_all="$ac_subdirs_all m68hc11"
@ -302,6 +301,7 @@ ac_subdirs_all="$ac_subdirs_all m32c"
ac_subdirs_all="$ac_subdirs_all arm" ac_subdirs_all="$ac_subdirs_all arm"
ac_subdirs_all="$ac_subdirs_all spu" ac_subdirs_all="$ac_subdirs_all spu"
ac_subdirs_all="$ac_subdirs_all iq2000" ac_subdirs_all="$ac_subdirs_all iq2000"
ac_subdirs_all="$ac_subdirs_all libnosys"
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar subdirs CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS AR LD RANLIB ac_ct_RANLIB CCAS CCASFLAGS host_makefile_frag_path LIBOBJS LTLIBOBJS' ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar subdirs CC DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS AR LD RANLIB ac_ct_RANLIB CCAS CCASFLAGS host_makefile_frag_path LIBOBJS LTLIBOBJS'
ac_subst_files='host_makefile_frag' ac_subst_files='host_makefile_frag'
@ -1823,10 +1823,9 @@ subdirs="$subdirs doc"
fi fi
config_testsuite=true
config_libnosys=true
subdirs="$subdirs libnosys"
case "${target}" in case "${target}" in
i[3456]86-*-elf* | i[3456]86-*-coff*) i[3456]86-*-elf* | i[3456]86-*-coff*)
@ -1834,49 +1833,42 @@ case "${target}" in
subdirs="$subdirs i386" subdirs="$subdirs i386"
config_testsuite=true
;; ;;
m32r-*-*) m32r-*-*)
subdirs="$subdirs m32r" subdirs="$subdirs m32r"
config_testsuite=true
;; ;;
m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*) m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
subdirs="$subdirs m68hc11" subdirs="$subdirs m68hc11"
config_testsuite=true
;; ;;
fido-*-* | m68*-*-*) fido-*-* | m68*-*-*)
subdirs="$subdirs m68k" subdirs="$subdirs m68k"
config_testsuite=true
;; ;;
hppa*-*-pro*) hppa*-*-pro*)
subdirs="$subdirs pa" subdirs="$subdirs pa"
config_testsuite=true
;; ;;
i960-*-coff) i960-*-coff)
subdirs="$subdirs i960" subdirs="$subdirs i960"
config_testsuite=true
;; ;;
sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*) sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
subdirs="$subdirs sparc" subdirs="$subdirs sparc"
config_testsuite=true
;; ;;
sh*-*-pe | mips*-*-pe | *arm-wince-pe) sh*-*-pe | mips*-*-pe | *arm-wince-pe)
@ -1889,42 +1881,36 @@ subdirs="$subdirs wince"
subdirs="$subdirs mips" subdirs="$subdirs mips"
config_testsuite=true
;; ;;
powerpc-*-*|powerpcle-*-*) powerpc-*-*|powerpcle-*-*)
subdirs="$subdirs rs6000" subdirs="$subdirs rs6000"
config_testsuite=true
;; ;;
mn10200-*-*) mn10200-*-*)
subdirs="$subdirs mn10200" subdirs="$subdirs mn10200"
config_testsuite=true
;; ;;
mn10300-*-*) mn10300-*-*)
subdirs="$subdirs mn10300" subdirs="$subdirs mn10300"
config_testsuite=true
;; ;;
bfin-*-*) bfin-*-*)
subdirs="$subdirs bfin" subdirs="$subdirs bfin"
config_testsuite=true
;; ;;
cris-*-* | crisv32-*-*) cris-*-* | crisv32-*-*)
subdirs="$subdirs cris" subdirs="$subdirs cris"
config_testsuite=true
;; ;;
crx-*-*) crx-*-*)
@ -1937,77 +1923,66 @@ subdirs="$subdirs crx"
subdirs="$subdirs d30v" subdirs="$subdirs d30v"
config_testsuite=true
;; ;;
fr30-*-*) fr30-*-*)
subdirs="$subdirs fr30" subdirs="$subdirs fr30"
config_testsuite=true
;; ;;
frv*-*-*) frv*-*-*)
subdirs="$subdirs frv" subdirs="$subdirs frv"
config_testsuite=true
;; ;;
lm32*-*-*) lm32*-*-*)
subdirs="$subdirs lm32" subdirs="$subdirs lm32"
config_testsuite=true
;; ;;
mcore-*-*) mcore-*-*)
subdirs="$subdirs mcore" subdirs="$subdirs mcore"
config_testsuite=true
;; ;;
mep-*-*) mep-*-*)
subdirs="$subdirs mep" subdirs="$subdirs mep"
config_testsuite = true;
;; ;;
moxie-*-*) moxie-*-*)
subdirs="$subdirs moxie" subdirs="$subdirs moxie"
config_testsuite=true
;; ;;
mt-*-*) mt-*-*)
subdirs="$subdirs mt" subdirs="$subdirs mt"
config_testsuite=true
;; ;;
xstormy16-*-*) xstormy16-*-*)
subdirs="$subdirs xstormy16" subdirs="$subdirs xstormy16"
config_testsuite=true
;; ;;
m32c-*-*) m32c-*-*)
subdirs="$subdirs m32c" subdirs="$subdirs m32c"
config_testsuite=true
;; ;;
strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*) strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
subdirs="$subdirs arm" subdirs="$subdirs arm"
config_testsuite=true
;; ;;
spu-*-elf) spu-*-elf)
@ -2015,20 +1990,23 @@ subdirs="$subdirs arm"
subdirs="$subdirs spu" subdirs="$subdirs spu"
config_testsuite=false config_testsuite=false
config_libnosys=false
;; ;;
iq2000-*-*) iq2000-*-*)
subdirs="$subdirs iq2000" subdirs="$subdirs iq2000"
config_testsuite=true
;; ;;
esac esac
# For now, don't bother configuring testsuite
# if test "${config_libnosys}" = "true"; then
# if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi
#
subdirs="$subdirs libnosys"
fi
DEPDIR="${am__leading_dot}deps" DEPDIR="${am__leading_dot}deps"

View File

@ -24,128 +24,113 @@ AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE([cygnus no-define 1.9.5]) AM_INIT_AUTOMAKE([cygnus no-define 1.9.5])
if test -z "${with_multisubdir}" ; then if test -z "${with_multisubdir}" ; then
AC_CONFIG_SUBDIRS(doc) AC_CONFIG_SUBDIRS([doc])
fi fi
AC_CONFIG_SUBDIRS(libnosys) dnl indicates whether to run configure within the testsuite subdirectory
config_testsuite=true
dnl indicates whether to run configure within the libnosys subdirectory
config_libnosys=true
case "${target}" in case "${target}" in
i[[3456]]86-*-elf* | i[[3456]]86-*-coff*) i[[3456]]86-*-elf* | i[[3456]]86-*-coff*)
AC_CONFIG_SUBDIRS(i386) AC_CONFIG_SUBDIRS([i386])
config_testsuite=true
;; ;;
m32r-*-*) m32r-*-*)
AC_CONFIG_SUBDIRS(m32r) AC_CONFIG_SUBDIRS([m32r])
config_testsuite=true
;; ;;
m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*) m68hc11-*-* | m6811-*-* | m68hc12-*-* | m6812-*-*)
AC_CONFIG_SUBDIRS(m68hc11) AC_CONFIG_SUBDIRS([m68hc11])
config_testsuite=true
;; ;;
fido-*-* | m68*-*-*) fido-*-* | m68*-*-*)
AC_CONFIG_SUBDIRS(m68k) AC_CONFIG_SUBDIRS([m68k])
config_testsuite=true
;; ;;
hppa*-*-pro*) hppa*-*-pro*)
AC_CONFIG_SUBDIRS(pa) AC_CONFIG_SUBDIRS([pa])
config_testsuite=true
;; ;;
i960-*-coff) i960-*-coff)
AC_CONFIG_SUBDIRS(i960) AC_CONFIG_SUBDIRS([i960])
config_testsuite=true
;; ;;
sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*) sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
AC_CONFIG_SUBDIRS(sparc) AC_CONFIG_SUBDIRS([sparc])
config_testsuite=true
;; ;;
sh*-*-pe | mips*-*-pe | *arm-wince-pe) sh*-*-pe | mips*-*-pe | *arm-wince-pe)
AC_CONFIG_SUBDIRS(wince) AC_CONFIG_SUBDIRS([wince])
;; ;;
mips*-*-*) mips*-*-*)
AC_CONFIG_SUBDIRS(mips) AC_CONFIG_SUBDIRS([mips])
config_testsuite=true
;; ;;
powerpc-*-*|powerpcle-*-*) powerpc-*-*|powerpcle-*-*)
AC_CONFIG_SUBDIRS(rs6000) AC_CONFIG_SUBDIRS([rs6000])
config_testsuite=true
;; ;;
mn10200-*-*) mn10200-*-*)
AC_CONFIG_SUBDIRS(mn10200) AC_CONFIG_SUBDIRS([mn10200])
config_testsuite=true
;; ;;
mn10300-*-*) mn10300-*-*)
AC_CONFIG_SUBDIRS(mn10300) AC_CONFIG_SUBDIRS([mn10300])
config_testsuite=true
;; ;;
bfin-*-*) bfin-*-*)
AC_CONFIG_SUBDIRS(bfin) AC_CONFIG_SUBDIRS([bfin])
config_testsuite=true
;; ;;
cris-*-* | crisv32-*-*) cris-*-* | crisv32-*-*)
AC_CONFIG_SUBDIRS(cris) AC_CONFIG_SUBDIRS([cris])
config_testsuite=true
;; ;;
crx-*-*) crx-*-*)
AC_CONFIG_SUBDIRS(crx) AC_CONFIG_SUBDIRS([crx])
;; ;;
d30v-*-*) d30v-*-*)
AC_CONFIG_SUBDIRS(d30v) AC_CONFIG_SUBDIRS([d30v])
config_testsuite=true
;; ;;
fr30-*-*) fr30-*-*)
AC_CONFIG_SUBDIRS(fr30) AC_CONFIG_SUBDIRS([fr30])
config_testsuite=true
;; ;;
frv*-*-*) frv*-*-*)
AC_CONFIG_SUBDIRS(frv) AC_CONFIG_SUBDIRS([frv])
config_testsuite=true
;; ;;
lm32*-*-*) lm32*-*-*)
AC_CONFIG_SUBDIRS(lm32) AC_CONFIG_SUBDIRS([lm32])
config_testsuite=true
;; ;;
mcore-*-*) mcore-*-*)
AC_CONFIG_SUBDIRS(mcore) AC_CONFIG_SUBDIRS([mcore])
config_testsuite=true
;; ;;
mep-*-*) mep-*-*)
AC_CONFIG_SUBDIRS(mep) AC_CONFIG_SUBDIRS([mep])
config_testsuite = true;
;; ;;
moxie-*-*) moxie-*-*)
AC_CONFIG_SUBDIRS(moxie) AC_CONFIG_SUBDIRS([moxie])
config_testsuite=true
;; ;;
mt-*-*) mt-*-*)
AC_CONFIG_SUBDIRS(mt) AC_CONFIG_SUBDIRS([mt])
config_testsuite=true
;; ;;
xstormy16-*-*) xstormy16-*-*)
AC_CONFIG_SUBDIRS(xstormy16) AC_CONFIG_SUBDIRS([xstormy16])
config_testsuite=true
;; ;;
m32c-*-*) m32c-*-*)
AC_CONFIG_SUBDIRS(m32c) AC_CONFIG_SUBDIRS([m32c])
config_testsuite=true
;; ;;
strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*) strongarm-*-elf | strongarm-*-coff | arm*-*-elf | arm*-*-coff | ep9312-*-elf | ep9312-*-coff | xscale-*-elf | xscale-*-coff | *arm-*-*)
AC_CONFIG_SUBDIRS(arm) AC_CONFIG_SUBDIRS([arm])
config_testsuite=true
;; ;;
spu-*-elf) spu-*-elf)
AC_CONFIG_SUBDIRS(spu) AC_CONFIG_SUBDIRS([spu])
config_testsuite=false config_testsuite=false
config_libnosys=false
;; ;;
iq2000-*-*) iq2000-*-*)
AC_CONFIG_SUBDIRS(iq2000) AC_CONFIG_SUBDIRS([iq2000])
config_testsuite=true
;; ;;
esac esac
# For now, don't bother configuring testsuite dnl For now, don't bother configuring testsuite
# dnl
# if test ${config_testsuite); then AC_CONFIG_SUBDIRS(testsuite); fi dnl if test "${config_testsuite}" = "true";
# dnl then AC_CONFIG_SUBDIRS([testsuite])
dnl fi
if test "${config_libnosys}" = "true"; then
AC_CONFIG_SUBDIRS([libnosys])
fi
LIB_AC_PROG_CC LIB_AC_PROG_CC
AS=${AS-as} AS=${AS-as}