OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [config/] [acx.m4] - Diff between revs 26 and 166

Show entire file | Details | Blame | View Log

Rev 26 Rev 166
Line 354... Line 354...
[AC_REQUIRE([AC_PROG_CPP])dnl
[AC_REQUIRE([AC_PROG_CPP])dnl
m4_define([AC_CHECK_HEADER],m4_defn([_AC_CHECK_HEADER_OLD]))
m4_define([AC_CHECK_HEADER],m4_defn([_AC_CHECK_HEADER_OLD]))
ac_c_preproc_warn_flag=yes])# AC_PROG_CPP_WERROR
ac_c_preproc_warn_flag=yes])# AC_PROG_CPP_WERROR
 
 
# Test for GNAT.
# Test for GNAT.
# We require the gnatbind program, and a compiler driver that
# We require the gnatbind & gnatmake programs, as well as a compiler driver
# understands Ada.  We use the user's CC setting, already found,
# that understands Ada.  We use the user's CC setting, already found, and
# and possibly add $1 to the command-line parameters.
# possibly add $1 to the command-line parameters.
#
#
# Sets the shell variable have_gnat to yes or no as appropriate, and
# Sets the shell variable have_gnat to yes or no as appropriate, and
# substitutes GNATBIND and GNATMAKE.
# substitutes GNATBIND and GNATMAKE.
AC_DEFUN([ACX_PROG_GNAT],
AC_DEFUN([ACX_PROG_GNAT],
[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])
[AC_REQUIRE([AC_CHECK_TOOL_PREFIX])
Line 385... Line 385...
if test x"$errors" = x && test -f conftest.$ac_objext; then
if test x"$errors" = x && test -f conftest.$ac_objext; then
  acx_cv_cc_gcc_supports_ada=yes
  acx_cv_cc_gcc_supports_ada=yes
fi
fi
rm -f conftest.*])
rm -f conftest.*])
 
 
if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then
  have_gnat=yes
  have_gnat=yes
else
else
  have_gnat=no
  have_gnat=no
fi
fi
])
])

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.