From: Manfred Hollstein Date: Thu, 5 Mar 1998 00:28:14 +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=c940e6278c9fd4961a7d4299e36dba342de98764;p=gcc.git 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 --- diff --git a/libstdc++/configure.in b/libstdc++/configure.in index 1a2803e7b35..d7e8d78a550 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"