Commit 1db673ca by Rainer Orth Committed by Rainer Orth

configure: Regenerate.

	* configure: Regenerate.

	config:
	* acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for
	Ada compilation.
	Fix acx_cv_cc_gcc_supports_ada spelling.

From-SVN: r80771
parent 6e97f1f9
2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure: Regenerate.
2004-04-15 James E Wilson <wilson@specifixinc.com>
* Makefile.tpl (configure-[+module+], configure-gcc,
......
2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for
Ada compilation.
Fix acx_cv_cc_gcc_supports_ada spelling.
2004-03-08 Paolo Bonzini <bonzini@gnu.org>
PR ada/14131
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment