diff options
author | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-03-05 00:28:14 +0000 |
---|---|---|
committer | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-03-05 00:28:14 +0000 |
commit | c940e6278c9fd4961a7d4299e36dba342de98764 (patch) | |
tree | a2f6f6a8c421b73c949cb15dc6f8b9381fbcb82d | |
parent | 05abeea015cb00cdcdf8bb15bb807b67cbf12a67 (diff) | |
download | gcc-c940e6278c9fd4961a7d4299e36dba342de98764.zip gcc-c940e6278c9fd4961a7d4299e36dba342de98764.tar.gz gcc-c940e6278c9fd4961a7d4299e36dba342de98764.tar.bz2 |
config.table: Make locating frag files failsafe even for the special case if...
�
* config.table: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
* configure.in: Make locating frag files failsafe even for the
special case if configuring and building in srcdir.
From-SVN: r18414
-rw-r--r-- | libstdc++/configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++/configure.in b/libstdc++/configure.in index 1a2803e..d7e8d78 100644 --- a/libstdc++/configure.in +++ b/libstdc++/configure.in @@ -65,6 +65,14 @@ case "${target}" in esac for frag in ${frags}; do + case ${frag} in + ../* ) + if [ ${srcdir} = . ]; then + [ -n "${with_target_subdir}" ] && frag=../${frag} + [ -n "${with_multisrctop}" ] && frag=${with_multisrctop}${frag} + fi + ;; + esac frag=${srcdir}/config/$frag if [ -f ${frag} ]; then echo "Appending ${frag} to target-mkfrag" |