OSDN Git Service

* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES
authorjimb <jimb>
Mon, 5 Nov 2001 23:54:48 +0000 (23:54 +0000)
committerjimb <jimb>
Mon, 5 Nov 2001 23:54:48 +0000 (23:54 +0000)
using `+=' as well as `='.
* configure: Regenerated.

gdb/ChangeLog
gdb/configure
gdb/configure.in

index 723ce0c..313fd61 100644 (file)
@@ -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
index 0eaa4d0..dd5ea43 100755 (executable)
@@ -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
 
index 812e6bb..b3ac702 100644 (file)
@@ -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