diff options
author | Andreas Schwab <schwab@suse.de> | 2003-03-14 15:12:06 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2003-03-14 15:12:06 +0000 |
commit | 8d3f82aa3ae7dc4a11f94bd191e56a63faa06ae8 (patch) | |
tree | d7ab9e4386ae45a79a68a676afc64a83ad7af342 /libstdc++-v3/configure | |
parent | f650843fc32b30f61fb62b103fe9db2f69a4f9a5 (diff) | |
download | gcc-8d3f82aa3ae7dc4a11f94bd191e56a63faa06ae8.tar.gz |
configure.in: Only append to makefiles that are newly created to avoid multiple...
2003-03-14 Andreas Schwab <schwab@suse.de>
* configure.in: Only append to makefiles that are newly created to
avoid multiple multi-do/multi-clean rules.
* configure: Rebuilt.
From-SVN: r64363
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-x | libstdc++-v3/configure | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index de8b7d1b7f6..05385ca9dcf 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -24270,9 +24270,22 @@ test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h if test -n "$CONFIG_FILES"; then if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then LD="${ORIGINAL_LD_FOR_MULTILIBS}" - ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in - grep '^MULTISUBDIR =' Makefile >> src/Makefile - grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile + # Ony modify Makefiles that are just being created. + case " $CONFIG_FILES" in + *" Makefile"*) + ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in + ;; + esac + case $CONFIG_FILES in + *src/Makefile*) + grep '^MULTISUBDIR =' Makefile >> src/Makefile + ;; + esac + case $CONFIG_FILES in + *libsupc++/Makefile*) + grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile + ;; + esac fi fi chmod +x mkcheck |