diff options
author | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-03-05 00:28:12 +0000 |
---|---|---|
committer | Manfred Hollstein <manfred@gcc.gnu.org> | 1998-03-05 00:28:12 +0000 |
commit | e8919ca7023d499db9ce40288c99703f6b886605 (patch) | |
tree | 2d49735f50f30ae42afd5ba7edd1489a23dc5516 /libio | |
parent | 299cd3c1d86c4ce2f4d2c42286c25229b49552ae (diff) | |
download | gcc-e8919ca7023d499db9ce40288c99703f6b886605.tar.gz |
config.table: Make locating frag files failsafe even for the special case if...
a
* 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: r18412
Diffstat (limited to 'libio')
-rw-r--r-- | libio/configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libio/configure.in b/libio/configure.in index cbe04c914c9..9d523e7898b 100644 --- a/libio/configure.in +++ b/libio/configure.in @@ -93,6 +93,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" |