diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1998-01-15 23:39:59 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-01-15 16:39:59 -0700 |
commit | 4bcdb76dd5e1e2cc2c8227b8481c892dc7abc5fc (patch) | |
tree | c51dbeea9aee022e135b85ea3d294be6a579a555 | |
parent | 850037bb7d3c193eededdefd5f5ff8ba84fefced (diff) | |
download | gcc-4bcdb76dd5e1e2cc2c8227b8481c892dc7abc5fc.zip gcc-4bcdb76dd5e1e2cc2c8227b8481c892dc7abc5fc.tar.gz gcc-4bcdb76dd5e1e2cc2c8227b8481c892dc7abc5fc.tar.bz2 |
configure.in: check whether host and target makefile fragments exist before adding them to...
* configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag
From-SVN: r17373
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 8 |
2 files changed, 11 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Jan 16 00:41:37 1998 Alexandre Oliva <oliva@dcc.unicamp.br> + + * configure.in: check whether host and target makefile + fragments exist before adding them to *_makefile_frag + 1998-01-13 Lee Iverson (leei@ai.sri.com) * config-ml.in (multi-do): LDFLAGS must include multilib diff --git a/configure.in b/configure.in index 68d0d9d..25db03d 100644 --- a/configure.in +++ b/configure.in @@ -278,7 +278,9 @@ if [ x${shared} = xyes ]; then host_makefile_frag="${host_makefile_frag} config/mh-elfalphapic" ;; *) - host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic" + if test -f config/mh-${host_cpu}pic; then + host_makefile_frag="${host_makefile_frag} config/mh-${host_cpu}pic" + fi ;; esac fi @@ -898,7 +900,9 @@ if [ x${shared} = xyes ]; then target_makefile_frag="${target_makefile_frag} config/mt-elfalphapic" ;; *) - target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic" + if test -f config/mt-${target_cpu}pic; then + target_makefile_frag="${target_makefile_frag} config/mt-${target_cpu}pic" + fi ;; esac fi |