aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorManfred Hollstein <manfred@s-direktnet.de>1998-03-05 00:28:10 +0000
committerManfred Hollstein <manfred@gcc.gnu.org>1998-03-05 00:28:10 +0000
commit0a9e7530d9b895dc28fa63e18031091bab5cf05d (patch)
tree9fba2a54d912e2e89d9bb35b5727c19b017c4134 /libiberty
parentcb37ce6295e5676c1693aafae9b5c7a63c73a6d4 (diff)
downloadgcc-0a9e7530d9b895dc28fa63e18031091bab5cf05d.zip
gcc-0a9e7530d9b895dc28fa63e18031091bab5cf05d.tar.gz
gcc-0a9e7530d9b895dc28fa63e18031091bab5cf05d.tar.bz2
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: r18410
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog5
-rw-r--r--libiberty/config.table8
2 files changed, 13 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index cff6e6b..1cc75d2 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,8 @@
+Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
+
+ * config.table: Make locating frag files failsafe even for the
+ special case if configuring and building in srcdir.
+
Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
* choose-temp.c: Fix handling of sys/file.h to work in libiberty.
diff --git a/libiberty/config.table b/libiberty/config.table
index e367e1b..f302956 100644
--- a/libiberty/config.table
+++ b/libiberty/config.table
@@ -66,6 +66,14 @@ fi
echo "# Warning: this fragment is automatically generated" > temp-frag
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}/${xsrcdir}config/$frag
if [ -f ${frag} ]; then
echo "Appending ${frag} to xhost-mkfrag"