diff options
author | Ian Lance Taylor <ian@airs.com> | 1998-04-03 18:30:15 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1998-04-03 18:30:15 +0000 |
commit | 03abc2bd652b49325b5a66563c7a5dbdf158fd39 (patch) | |
tree | 7a33ff895bc9acf6054c60b07f48772e4a7036c8 /ld/configure | |
parent | ed1cc83df244cd183a04a5b390e9e91bc27f1e66 (diff) | |
download | gdb-03abc2bd652b49325b5a66563c7a5dbdf158fd39.zip gdb-03abc2bd652b49325b5a66563c7a5dbdf158fd39.tar.gz gdb-03abc2bd652b49325b5a66563c7a5dbdf158fd39.tar.bz2 |
* configure.in: Put the tdirs in a file and use AC_SUBST_FILE,
rather than in a shell variable and using AC_SUBST.
* Makefile.am (DISTCLEANFILES): Remove ldscripts. Add tdirs.
(distclean-local): New target.
* configure, Makefile.in: Rebuild.
Diffstat (limited to 'ld/configure')
-rwxr-xr-x | ld/configure | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ld/configure b/ld/configure index 0281b17..529249d 100755 --- a/ld/configure +++ b/ld/configure @@ -2298,7 +2298,8 @@ fi all_targets= EMUL= all_emuls= -TDIRS= + +rm -f tdirs for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'` do @@ -2326,8 +2327,7 @@ do all_emuls="$all_emuls e${i}.o" eval result=\$tdir_$i test -z "$result" && result=$targ_alias - TDIRS="$TDIRS\\ -tdir_$i=$result" + echo tdir_$i=$result >> tdirs ;; esac done @@ -2336,6 +2336,8 @@ done +TDIRS=tdirs + if test x${all_targets} = xtrue; then if test x${want64} = xtrue; then @@ -2524,7 +2526,8 @@ s%@HOSTING_CRT0@%$HOSTING_CRT0%g s%@HOSTING_LIBS@%$HOSTING_LIBS%g s%@NATIVE_LIB_DIRS@%$NATIVE_LIB_DIRS%g s%@EMUL@%$EMUL%g -s%@TDIRS@%$TDIRS%g +/@TDIRS@/r $TDIRS +s%@TDIRS@%%g s%@EMULATION_OFILES@%$EMULATION_OFILES%g CEOF |