]> gcc.gnu.org Git - gcc.git/commitdiff
config.table: Make locating frag files failsafe even for the special case if...
authorManfred Hollstein <manfred@gcc.gnu.org>
Thu, 5 Mar 1998 00:28:12 +0000 (00:28 +0000)
committerManfred Hollstein <manfred@gcc.gnu.org>
Thu, 5 Mar 1998 00:28:12 +0000 (00:28 +0000)
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

index cbe04c914c96dcd1fa6e13da1c6e56d933d6fec3..9d523e7898bd010b78c701397741cddfc66230af 100644 (file)
@@ -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"
This page took 0.058837 seconds and 5 git commands to generate.