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
This commit is contained in:
Alexandre Oliva 1998-01-15 23:39:59 +00:00 committed by Jeff Law
parent 850037bb7d
commit 4bcdb76dd5
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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