From: Manfred Hollstein Date: Thu, 5 Mar 1998 00:28:12 +0000 (+0000) Subject: config.table: Make locating frag files failsafe even for the special case if... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8919ca7023d499db9ce40288c99703f6b886605;p=gcc.git 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 --- 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"