* configure.in (AC_OUTPUT): Handle assignments to NATDEPFILES

using `+=' as well as `='.
* configure: Regenerated.
This commit is contained in:
Jim Blandy 2001-11-05 23:54:49 +00:00
parent 3f08ced966
commit c462020561
3 changed files with 14 additions and 4 deletions

View 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

6
gdb/configure vendored
View file

@ -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

View 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