From: Jim Blandy Date: Mon, 5 Nov 2001 23:54:49 +0000 (+0000) Subject: * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c462020561f289be6da6126c5d47cbe063fbd1f5;p=binutils-gdb.git * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES using `+=' as well as `='. * configure: Regenerated. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 723ce0c02d1..313fd613219 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-11-05 Jim Blandy + + * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES + using `+=' as well as `='. + * configure: Regenerated. + 2001-11-05 Andrew Cagney * gdbarch.sh (init_extra_frame_info): Change to a function with diff --git a/gdb/configure b/gdb/configure index 0eaa4d069bb..dd5ea43a986 100755 --- a/gdb/configure +++ b/gdb/configure @@ -9193,8 +9193,10 @@ EOF cat >> $CONFIG_STATUS <<\EOF if test "${nativefile}" = ""; then -sed -e '/^NATDEPFILES[ ]*=[ ]*/s//# NATDEPFILES=/' \ - < Makefile > Makefile.tem + < Makefile \ + sed -e '/^NATDEPFILES[ ]*=[ ]*/s//# NATDEPFILES=/' \ + | sed -e '/^\(NATDEPFILES[ ]*[+]=[ ]*\)/s//# \1/' \ + > Makefile.tem mv -f Makefile.tem Makefile fi diff --git a/gdb/configure.in b/gdb/configure.in index 812e6bb615c..b3ac702abd1 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -1319,8 +1319,10 @@ dnl Autoconf doesn't provide a mechanism for modifying definitions dnl provided by makefile fragments. dnl if test "${nativefile}" = ""; then -sed -e '/^NATDEPFILES[[ ]]*=[[ ]]*/s//# NATDEPFILES=/' \ - < Makefile > Makefile.tem + < Makefile \ + sed -e '/^NATDEPFILES[[ ]]*=[[ ]]*/s//# NATDEPFILES=/' \ + | sed -e '/^\(NATDEPFILES[[ ]]*[[+]]=[[ ]]*\)/s//# \1/' \ + > Makefile.tem mv -f Makefile.tem Makefile fi