From fa6212f1f07f1a0bb2e1a05aedde0edd8d318192 Mon Sep 17 00:00:00 2001
From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sat, 17 Jan 1998 20:04:38 +0000
Subject: [PATCH]         * configure.in: Check makefile fragments in the
 source         directory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17385 138bc75d-0d04-0410-961f-82ee72b054a4
---
 ChangeLog    | 5 +++++
 configure.in | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8646d2d05e1f..dac7b07b5d72 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jan 17 21:04:59 1998 H.J. Lu  (hjl@gnu.org)
+
+	* configure.in: Check makefile fragments in the source
+	directory.
+
 Fri Jan 16 00:41:37 1998  Alexandre Oliva <oliva@dcc.unicamp.br>
 
 	* configure.in: check whether host and target makefile
diff --git a/configure.in b/configure.in
index 25db03d904b1..7b2682bd2c5e 100644
--- a/configure.in
+++ b/configure.in
@@ -278,7 +278,7 @@ if [ x${shared} = xyes ]; then
       host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic"
       ;;
     *)
-      if test -f config/mh-${host_cpu}pic; then
+      if test -f ${srcdir}/config/mh-${host_cpu}pic; then
         host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic"
       fi
       ;;
@@ -900,7 +900,7 @@ if [ x${shared} = xyes ]; then
       target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic"
       ;;
     *)
-      if test -f config/mt-${target_cpu}pic; then
+      if test -f ${srcdir}/config/mt-${target_cpu}pic; then
         target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic"
       fi
       ;;
-- 
GitLab