aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobody <>2003-08-21 14:03:26 +0000
committernobody <>2003-08-21 14:03:26 +0000
commit95885b1ba68b2089788d285b5d408b0e35ca2945 (patch)
tree033b75513a9ddb9746a2dd9bf284db8d49b367e7 /configure.in
parentThis commit was manufactured by cvs2svn to create branch (diff)
downloadbinutils-gdb-95885b1ba68b2089788d285b5d408b0e35ca2945.tar.gz
binutils-gdb-95885b1ba68b2089788d285b5d408b0e35ca2945.tar.bz2
binutils-gdb-95885b1ba68b2089788d285b5d408b0e35ca2945.zip
This commit was manufactured by cvs2svn to create tagcarlton_dictionary-20030805-merge
'carlton_dictionary-20030805-merge'. Sprout from cagney_x86i386-20030821-branch 2003-08-21 14:03:24 UTC nobody 'This commit was manufactured by cvs2svn to create branch' Cherrypick from master 2003-08-05 09:39:31 UTC Nick Clifton <nickc@redhat.com> 'Add new Dutch translation.': ChangeLog MAINTAINERS bfd/ChangeLog bfd/Makefile.am bfd/Makefile.in bfd/archures.c bfd/bfd-in2.h bfd/cpu-msp430.c bfd/dep-in.sed bfd/elf-bfd.h bfd/elf-eh-frame.c bfd/elf-hppa.h bfd/elf-m10300.c bfd/elf-strtab.c bfd/elf.c bfd/elf32-arm.h bfd/elf32-cris.c bfd/elf32-hppa.c bfd/elf32-hppa.h bfd/elf32-i386.c bfd/elf32-ip2k.c bfd/elf32-iq2000.c bfd/elf32-m68hc1x.c bfd/elf32-m68k.c bfd/elf32-msp430.c bfd/elf32-ppc.c bfd/elf32-s390.c bfd/elf32-sh.c bfd/elf32-sh64.c bfd/elf32-sparc.c bfd/elf32-vax.c bfd/elf32-xtensa.c bfd/elf64-alpha.c bfd/elf64-hppa.c bfd/elf64-mips.c bfd/elf64-ppc.c bfd/elf64-s390.c bfd/elf64-sh64.c bfd/elf64-sparc.c bfd/elf64-x86-64.c bfd/elfcode.h bfd/elfcore.h bfd/elflink.c bfd/elflink.h bfd/elfxx-ia64.c bfd/elfxx-mips.c bfd/elfxx-mips.h bfd/elfxx-target.h bfd/libhppa.h bfd/libpei.h bfd/po/fr.po bfd/po/sv.po bfd/simple.c bfd/targets.c bfd/version.h config-ml.in config.sub configure configure.in cpu/ChangeLog cpu/frv.cpu gdb/ChangeLog gdb/MAINTAINERS gdb/Makefile.in gdb/NEWS gdb/amd64fbsd-nat.c gdb/blockframe.c gdb/breakpoint.c gdb/cli/cli-decode.c gdb/command.h gdb/config/alpha/nm-fbsd.h gdb/config/frv/tm-frv.h gdb/config/i386/nm-i386sol2.h gdb/config/i386/nm-linux.h gdb/config/i386/nm-x86-64linux.h gdb/config/nm-linux.h gdb/config/pa/tm-hppa64.h gdb/config/pa/tm-hppah.h gdb/configure.host gdb/defs.h gdb/disasm.c gdb/doc/ChangeLog gdb/doc/Makefile.in gdb/doc/gdb.texinfo gdb/doc/gdbint.texinfo gdb/dsrec.c gdb/frame.c gdb/frv-tdep.c gdb/gdbarch.c gdb/gdbarch.h gdb/gdbarch.sh gdb/gdbserver/ChangeLog gdb/gdbserver/Makefile.in gdb/gdbserver/configure.srv gdb/gdbtypes.h gdb/hppa-hpux-tdep.c gdb/hppa-tdep.c gdb/i386-linux-nat.c gdb/i386-nat.c gdb/i386-tdep.c gdb/i386-tdep.h gdb/i386bsd-nat.c gdb/i386fbsd-nat.c gdb/i386obsd-nat.c gdb/i387-tdep.c gdb/infcall.c gdb/inferior.h gdb/infptrace.c gdb/interps.c gdb/interps.h gdb/language.c gdb/language.h gdb/lin-lwp.c gdb/linux-nat.c gdb/linux-nat.h gdb/m68hc11-tdep.c gdb/mi/ChangeLog gdb/mi/mi-cmd-env.c gdb/mi/mi-interp.c gdb/mi/mi-main.c gdb/mips-tdep.c gdb/reggroups.c gdb/rs6000-tdep.c gdb/sh-tdep.c gdb/sh-tdep.h gdb/sol-thread.c gdb/symfile.c gdb/symtab.c gdb/symtab.h gdb/testsuite/ChangeLog gdb/testsuite/config.hin gdb/testsuite/configure gdb/testsuite/configure.in gdb/testsuite/gdb.asm/asm-source.exp gdb/testsuite/gdb.asm/m32r.inc gdb/testsuite/gdb.base/annota3.exp gdb/testsuite/gdb.base/attach.exp gdb/testsuite/gdb.base/completion.exp gdb/testsuite/gdb.base/detach.exp gdb/testsuite/gdb.base/float.exp gdb/testsuite/gdb.base/gcore.exp gdb/testsuite/gdb.disasm/h8300s.exp gdb/testsuite/gdb.disasm/h8300s.s gdb/testsuite/gdb.java/jmisc1.exp gdb/testsuite/gdb.mi/ChangeLog gdb/testsuite/gdb.mi/mi-basics.exp gdb/testsuite/gdb.mi/mi-var-display.exp gdb/testsuite/gdb.mi/mi1-var-display.exp gdb/testsuite/gdb.mi/pthreads.c gdb/testsuite/gdb.threads/gcore-thread.exp gdb/testsuite/gdb.threads/pthreads.c gdb/testsuite/gdb.trace/save-trace.exp gdb/top.c gdb/trad-frame.c gdb/utils.c gdb/version.in gdb/x86-64-linux-nat.c gdb/x86-64-tdep.c gdb/x86-64-tdep.h include/ChangeLog include/bfdlink.h include/coff/ChangeLog include/coff/ti.h include/dis-asm.h include/elf/ChangeLog include/elf/dwarf2.h include/elf/msp430.h include/elf/reloc-macros.h include/nlm/ChangeLog include/nlm/internal.h include/opcode/ChangeLog include/opcode/alpha.h include/opcode/arc.h include/opcode/cgen.h include/opcode/d10v.h include/opcode/d30v.h include/opcode/i370.h include/opcode/i860.h include/opcode/or32.h include/opcode/pj.h include/opcode/ppc.h include/opcode/sparc.h include/opcode/tic80.h include/opcode/v850.h libiberty/ChangeLog libiberty/cp-demangle.c mmalloc/ChangeLog mmalloc/Makefile.in opcodes/ChangeLog opcodes/Makefile.am opcodes/Makefile.in opcodes/arm-dis.c opcodes/cgen-asm.c opcodes/cgen-asm.in opcodes/cgen-dis.c opcodes/cgen-dis.in opcodes/cgen-ibld.in opcodes/cgen-opc.c opcodes/dep-in.sed opcodes/fr30-asm.c opcodes/fr30-dis.c opcodes/fr30-ibld.c opcodes/frv-asm.c opcodes/frv-dis.c opcodes/frv-ibld.c opcodes/ip2k-asm.c opcodes/ip2k-dis.c opcodes/ip2k-ibld.c opcodes/iq2000-asm.c opcodes/iq2000-dis.c opcodes/iq2000-ibld.c opcodes/m32r-asm.c opcodes/m32r-dis.c opcodes/m32r-ibld.c opcodes/openrisc-asm.c opcodes/openrisc-dis.c opcodes/openrisc-ibld.c opcodes/po/fr.po opcodes/ppc-opc.c opcodes/xstormy16-asm.c opcodes/xstormy16-dis.c opcodes/xstormy16-ibld.c sim/ChangeLog sim/MAINTAINERS sim/m68hc11/ChangeLog sim/m68hc11/dv-m68hc11.c sim/m68hc11/dv-m68hc11sio.c sim/m68hc11/dv-m68hc11spi.c sim/m68hc11/dv-m68hc11tim.c sim/m68hc11/interp.c sim/m68hc11/interrupts.c sim/m68hc11/m68hc11_sim.c sim/m68hc11/sim-main.h sim/sh/ChangeLog sim/sh/gencode.c sim/sh/interp.c sim/testsuite/sim/sh/ChangeLog sim/testsuite/sim/sh/allinsn.exp src-release symlink-tree Delete: gdb/hppa-tdep.h gdb/testsuite/gdb.arch/i386-prologue.c gdb/testsuite/gdb.arch/i386-prologue.exp gdb/testsuite/gdb.mi/mi2-basics.exp gdb/testsuite/gdb.mi/mi2-break.exp gdb/testsuite/gdb.mi/mi2-cli.exp gdb/testsuite/gdb.mi/mi2-console.exp gdb/testsuite/gdb.mi/mi2-disassemble.exp gdb/testsuite/gdb.mi/mi2-eval.exp gdb/testsuite/gdb.mi/mi2-file.exp gdb/testsuite/gdb.mi/mi2-hack-cli.exp gdb/testsuite/gdb.mi/mi2-pthreads.exp gdb/testsuite/gdb.mi/mi2-read-memory.exp gdb/testsuite/gdb.mi/mi2-regs.exp gdb/testsuite/gdb.mi/mi2-return.exp gdb/testsuite/gdb.mi/mi2-simplerun.exp gdb/testsuite/gdb.mi/mi2-stack.exp gdb/testsuite/gdb.mi/mi2-stepi.exp gdb/testsuite/gdb.mi/mi2-syn-frame.exp gdb/testsuite/gdb.mi/mi2-until.exp gdb/testsuite/gdb.mi/mi2-var-block.exp gdb/testsuite/gdb.mi/mi2-var-child.exp gdb/testsuite/gdb.mi/mi2-var-cmd.exp gdb/testsuite/gdb.mi/mi2-var-display.exp gdb/testsuite/gdb.mi/mi2-watch.exp sim/testsuite/sim/sh/macl.s sim/testsuite/sim/sh/macw.s
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in60
1 files changed, 20 insertions, 40 deletions
diff --git a/configure.in b/configure.in
index 5c461fc8049..d1a2e1ac021 100644
--- a/configure.in
+++ b/configure.in
@@ -66,19 +66,8 @@ progname=$0
# if PWD already has a value, it is probably wrong.
if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
-# Export original configure arguments for use by sub-configures. These
-# will be expanded once by make, and once by the shell, so they need to
-# have '$' quoted for make, and then each argument quoted for the shell.
-# What's more, the 'echo' below might expand backslashes.
-cat <<\EOF_SED > conftestsed
-s,\\,\\\\,g; s,\$,$$,g
-EOF_SED
-tmp="'$progname'"
-for ac_arg ; do
- tmp="$tmp '"`echo "$ac_arg" | sed -fconftestsed`
-done
-rm -f conftestsed
-TOPLEVEL_CONFIGURE_ARGUMENTS="$tmp"
+# Export original configure arguments for use by sub-configures.
+TOPLEVEL_CONFIGURE_ARGUMENTS="$progname $@"
AC_SUBST(TOPLEVEL_CONFIGURE_ARGUMENTS)
moveifchange=${srcdir}/move-if-change
@@ -253,8 +242,7 @@ esac
# If both --with-headers and --with-libs are specified, default to
# --without-newlib.
-if test x"${with_headers}" != x && test x"${with_headers} != xno \
- && test x"${with_libs}" != x && test x"${with_libs} != xno ; then
+if test x"${with_headers}" != x && test x"${with_libs}" != x ; then
if test x"${with_newlib}" = x ; then
with_newlib=no
fi
@@ -331,13 +319,9 @@ case "${target}" in
*-*-chorusos)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
;;
- powerpc-*-darwin*)
- noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
- noconfigdirs="$noconfigdirs target-libobjc"
- ;;
*-*-darwin*)
noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
- noconfigdirs="$noconfigdirs target-libobjc ${libgcj}"
+ noconfigdirs="$noconfigdirs target-libobjc"
;;
*-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
@@ -938,7 +922,7 @@ copy_dirs=
# Handle --with-headers=XXX. If the value is not "yes", the contents of
# the named directory are copied to $(tooldir)/sys-include.
-if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
+if test x"${with_headers}" != x ; then
if test x${is_cross_compiler} = xno ; then
echo 1>&2 '***' --with-headers is only supported when cross compiling
exit 1
@@ -955,7 +939,7 @@ fi
# Handle --with-libs=XXX. If the value is not "yes", the contents of
# the name directories are copied to $(tooldir)/lib. Multiple directories
# are permitted.
-if test x"${with_libs}" != x && test x"${with_libs}" != xno ; then
+if test x"${with_libs}" != x ; then
if test x${is_cross_compiler} = xno ; then
echo 1>&2 '***' --with-libs is only supported when cross compiling
exit 1
@@ -1766,24 +1750,20 @@ AC_SUBST_FILE(serialization_dependencies)
# Base args. Strip norecursion, cache-file, srcdir, host, build,
# target and nonopt. These are the ones we might not want to pass
# down to subconfigures.
-cat <<\EOF_SED > conftestsed
-s/ --no[[^ ]]* / /
-s/ --c[[a-z-]]*[[= ]][[^ ]]* / /
-s/ --sr[[a-z-]]*[[= ]][[^ ]]* / /
-s/ --ho[[a-z-]]*[[= ]][[^ ]]* / /
-s/ --bu[[a-z-]]*[[= ]][[^ ]]* / /
-s/ --t[[a-z-]]*[[= ]][[^ ]]* / /
-s/ -cache-file[[= ]][[^ ]]* / /
-s/ -srcdir[[= ]][[^ ]]* / /
-s/ -host[[= ]][[^ ]]* / /
-s/ -build[[= ]][[^ ]]* / /
-s/ -target[[= ]][[^ ]]* / /
-s/ [[^' -][^ ]*] / /
-s/^ *//;s/ *$//
-s,\\,\\\\,g; s,\$,$$,g
-EOF_SED
-baseargs=`echo " ${ac_configure_args} " | sed -fconftestsed`
-rm -f conftestsed
+baseargs=`echo " ${ac_configure_args} " | \
+ sed -e 's/ --no[[^ ]]* / /' \
+ -e 's/ --c[[a-z-]]*[[= ]][[^ ]]* / /' \
+ -e 's/ --sr[[a-z-]]*[[= ]][[^ ]]* / /' \
+ -e 's/ --ho[[a-z-]]*[[= ]][[^ ]]* / /' \
+ -e 's/ --bu[[a-z-]]*[[= ]][[^ ]]* / /' \
+ -e 's/ --t[[a-z-]]*[[= ]][[^ ]]* / /' \
+ -e 's/ -cache-file[[= ]][[^ ]]* / /' \
+ -e 's/ -srcdir[[= ]][[^ ]]* / /' \
+ -e 's/ -host[[= ]][[^ ]]* / /' \
+ -e 's/ -build[[= ]][[^ ]]* / /' \
+ -e 's/ -target[[= ]][[^ ]]* / /' \
+ -e "s/ [[^' -][^ ]*] / /" \
+ -e 's/^ *//;s/ *$//'`
# For the build-side libraries, we just need to pretend we're native,
# and not use the same cache file. Multilibs are neither needed nor