aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
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.in
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.in')
-rw-r--r--gdb/configure.in6
1 files changed, 4 insertions, 2 deletions
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