From c940e6278c9fd4961a7d4299e36dba342de98764 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 5 Mar 1998 00:28:14 +0000 Subject: [PATCH] config.table: Make locating frag files failsafe even for the special case if... MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit � * 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 --- libstdc++/configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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" -- 2.30.2