diff options
author | DJ Delorie <dj@redhat.com> | 2004-04-27 18:25:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2004-04-27 18:25:01 +0000 |
commit | b89087822a20db8fc1290f6afc56002a143207bd (patch) | |
tree | 9b7b6c8fa375db8632dbe1f70f181bf20420926c /config | |
parent | beb8df56a1b4c58ed3d79b3cec93c15f91290147 (diff) | |
download | gdb-b89087822a20db8fc1290f6afc56002a143207bd.zip gdb-b89087822a20db8fc1290f6afc56002a143207bd.tar.gz gdb-b89087822a20db8fc1290f6afc56002a143207bd.tar.bz2 |
merge from gcc:
2004-04-27 Paolo Bonzini <bonzini@gnu.org>
Revert:
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (host_modules): Mark with the bootstrap
flag packages on which gcc depends.
* Makefile.tpl (all-bootstrap): Use it.
* Makefile.in: Regenerate.
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (flags_to_pass): Remove *dir variables that
are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS,
as well as prefix and exec_prefix.
* Makefile.in: Regenerate.
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
* configure: Regenerate.
* config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc.
* gcc/Makefile.tpl (compare): Use the result of the test.
* gcc/Makefile.in: Regenerate.
2004-04-23 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc):
Always relocate gcc and prev-gcc to the original names, even
if the build fails.
(new-cleanstrap, new-restage1, new-restage2, new-restage3):
New targets.
Diffstat (limited to 'config')
-rw-r--r-- | config/acx.m4 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/config/acx.m4 b/config/acx.m4 index ab7f98a..9b40d4f 100644 --- a/config/acx.m4 +++ b/config/acx.m4 @@ -177,14 +177,17 @@ acx_cv_cc_gcc_supports_ada=no # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1. # Therefore we must check for the error message as well as an # unsuccessful exit. +# Other compilers, like HP Tru64 UNIX cc, exit successfully when +# given a .adb file, but produce no object file. So we must check +# if an object file was really produced to guard against this. errors=`(${CC} -c conftest.adb) 2>&1 || echo failure` -if test x"$errors" = x; then +if test x"$errors" = x && test -f conftest.$ac_objext; then acx_cv_cc_gcc_supports_ada=yes break fi rm -f conftest.*]) -if test x$GNATBIND != xno && test x$acx_cv_gcc_supports_ada != xno; then +if test x$GNATBIND != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then have_gnat=yes else have_gnat=no |