diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-01-02 22:49:31 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-01-02 22:49:31 +0000 |
commit | 27e9bf901e2f3ff513fcbe04d4c1951697f0a7d5 (patch) | |
tree | 6869fcacba6e078704dc31dbbf16ed97904a9a7b /gdb/configure.in | |
parent | 50abf9e57bf73e9b7fc5a1bfa83bcea1557ef029 (diff) | |
download | binutils-gdb-27e9bf901e2f3ff513fcbe04d4c1951697f0a7d5.tar.gz |
* acconfig.h (DEFAULT_BFD_ARCH, DEFAULT_BFD_VEC): Remove.
* configure.in: Cleanup section that sources GDB and BFD configure
subscripts. Remove evil changequotes here.
* config.in, configure: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 2d913dc3fa3..2130aba4d37 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -76,31 +76,24 @@ if test "${enable_multi_ice}" = "yes"; then configdirs="${configdirs} multi-ice" fi -dnl -changequote(,)dnl - -. ${srcdir}/configure.host - -. ${srcdir}/configure.tgt +. $srcdir/configure.host -targ=${target} ; . ${srcdir}/../bfd/config.bfd - -dnl -changequote([,])dnl +. $srcdir/configure.tgt -dnl use BFD to determine the default architecture and byte order -dnl (bfd_vec->byteorder provides the latter). -targ=${target} -. ${srcdir}/../bfd/config.bfd +# Fetch the default architecture and default target vector from BFD. +targ=$target; . $srcdir/../bfd/config.bfd -dnl We only want the first arch, if there is more than one. -targ_archs=`echo ${targ_archs} | sed -e 's/ .*//;'` +# We only want the first architecture, so strip off the others if +# there is more than one. +targ_archs=`echo $targ_archs | sed 's/ .*//'` -if test x"${targ_archs}" != x ; then - AC_DEFINE_UNQUOTED(DEFAULT_BFD_ARCH, ${targ_archs}) +if test "x$targ_archs" != x; then + AC_DEFINE_UNQUOTED(DEFAULT_BFD_ARCH, $targ_archs, + [Define to BFD's default architecture. ]) fi -if test x"${targ_defvec}" != x ; then - AC_DEFINE_UNQUOTED(DEFAULT_BFD_VEC, ${targ_defvec}) +if test "x$targ_defvec" != x; then + AC_DEFINE_UNQUOTED(DEFAULT_BFD_VEC, $targ_defvec, + [Define to BFD's default target vector. ]) fi AC_ARG_PROGRAM |