diff options
author | manfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-05 00:28:10 +0000 |
---|---|---|
committer | manfred <manfred@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-03-05 00:28:10 +0000 |
commit | 7c102e5df2a90b5b6fdd8f001da4dd2f8d4126f7 (patch) | |
tree | 9fba2a54d912e2e89d9bb35b5727c19b017c4134 /libiberty/config.table | |
parent | 48aa9528fa4fad7b5dba69d8c8a97ca69ae77456 (diff) | |
download | ppe42-gcc-7c102e5df2a90b5b6fdd8f001da4dd2f8d4126f7.tar.gz ppe42-gcc-7c102e5df2a90b5b6fdd8f001da4dd2f8d4126f7.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18410 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/config.table')
-rw-r--r-- | libiberty/config.table | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libiberty/config.table b/libiberty/config.table index e367e1b3cce..f302956725b 100644 --- a/libiberty/config.table +++ b/libiberty/config.table @@ -66,6 +66,14 @@ fi echo "# Warning: this fragment is automatically generated" > temp-frag 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}/${xsrcdir}config/$frag if [ -f ${frag} ]; then echo "Appending ${frag} to xhost-mkfrag" |