From e8919ca7023d499db9ce40288c99703f6b886605 Mon Sep 17 00:00:00 2001 From: Manfred Hollstein Date: Thu, 5 Mar 1998 00:28:12 +0000 Subject: [PATCH] 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 --- libio/configure.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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"