diff options
author | Jeff Law <law@redhat.com> | 1998-01-16 07:41:21 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1998-01-16 07:41:21 +0000 |
commit | 8e12359329fd48edc455afa2f80922eca7b79a7d (patch) | |
tree | f09c75bced23b22cc1bc9e8cd0eca1fb70209c2a /configure.in | |
parent | 13151a934d9acf7f376225d758d48af42ca4d8c6 (diff) | |
download | gdb-8e12359329fd48edc455afa2f80922eca7b79a7d.zip gdb-8e12359329fd48edc455afa2f80922eca7b79a7d.tar.gz gdb-8e12359329fd48edc455afa2f80922eca7b79a7d.tar.bz2 |
* configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.in b/configure.in index b426148..8a5664a 100644 --- a/configure.in +++ b/configure.in @@ -284,7 +284,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 @@ -956,7 +958,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 |