aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-11-05 23:54:49 +0000
committerJim Blandy <jimb@codesourcery.com>2001-11-05 23:54:49 +0000
commitc462020561f289be6da6126c5d47cbe063fbd1f5 (patch)
tree12ffc9fc4209a356e51ed143f5f6423414a9ef8d
parent3f08ced966f9f8e992998b24eab8435db97532ab (diff)
downloadgdb-c462020561f289be6da6126c5d47cbe063fbd1f5.zip
gdb-c462020561f289be6da6126c5d47cbe063fbd1f5.tar.gz
gdb-c462020561f289be6da6126c5d47cbe063fbd1f5.tar.bz2
* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
using `+=' as well as `='. * configure: Regenerated.
-rw-r--r--gdb/ChangeLog6
-rwxr-xr-xgdb/configure6
-rw-r--r--gdb/configure.in6
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