diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rwxr-xr-x | gdb/configure | 6 | ||||
-rw-r--r-- | gdb/configure.in | 6 |
3 files changed, 14 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 723ce0c..313fd61 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2001-11-05 Jim Blandy <jimb@redhat.com> + + * configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES + using `+=' as well as `='. + * configure: Regenerated. + 2001-11-05 Andrew Cagney <ac131313@redhat.com> * gdbarch.sh (init_extra_frame_info): Change to a function with diff --git a/gdb/configure b/gdb/configure index 0eaa4d0..dd5ea43 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 812e6bb..b3ac702 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 |