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-Tag: prereleases/egcs-1.1-prerelease~2185 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8919ca7023d499db9ce40288c99703f6b886605;p=thirdparty%2Fgcc.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 cbe04c914c96..9d523e7898bd 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"