aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
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 /gdb/configure
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.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure6
1 files changed, 4 insertions, 2 deletions
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