aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 19976dd..8d30459 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -1366,7 +1366,8 @@ dnl provided by makefile fragments.
dnl
if test "${nativefile}" = ""; then
< Makefile \
- sed -e '/^NATDEPFILES[[ ]]*=[[ ]]*/s//# NATDEPFILES=/' \
+ sed -e '/^NATDEPFILES[[ ]]*=.*\\$/,/[[^\\]]$/s/^/# /' \
+ -e '/^NATDEPFILES[[ ]]*=/s/^/# /' \
| sed -e '/^\(NATDEPFILES[[ ]]*[[+]]=[[ ]]*\)/s//# \1/' \
> Makefile.tem
mv -f Makefile.tem Makefile