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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [config/] [no-executables.m4] - Diff between revs 157 and 225

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 157 Rev 225
Line 23... Line 23...
 
 
AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
AC_BEFORE([$0], [_AC_COMPILER_EXEEXT])
AC_BEFORE([$0], [AC_LINK_IFELSE])
AC_BEFORE([$0], [AC_LINK_IFELSE])
 
 
m4_define([_AC_COMPILER_EXEEXT],
m4_define([_AC_COMPILER_EXEEXT],
AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
[AC_LANG_CONFTEST([AC_LANG_PROGRAM()])
# FIXME: Cleanup?
# FIXME: Cleanup?
AS_IF([AC_TRY_EVAL(ac_link)], [gcc_no_link=no], [gcc_no_link=yes])
AS_IF([AC_TRY_EVAL(ac_link)], [gcc_no_link=no], [gcc_no_link=yes])
if test x$gcc_no_link = xyes; then
if test x$gcc_no_link = xyes; then
  # Setting cross_compile will disable run tests; it will
  # Setting cross_compile will disable run tests; it will
  # also disable AC_CHECK_FILE but that's generally
  # also disable AC_CHECK_FILE but that's generally
  # correct if we can't link.
  # correct if we can't link.
  cross_compiling=yes
  cross_compiling=yes
  EXEEXT=
  EXEEXT=
else
else
  m4_defn([_AC_COMPILER_EXEEXT])dnl
  ]m4_defn([_AC_COMPILER_EXEEXT])dnl
fi
fi
)
)
 
 
m4_define([AC_LINK_IFELSE],
m4_define([AC_LINK_IFELSE],
if test x$gcc_no_link = xyes; then
if test x$gcc_no_link = xyes; then

powered by: WebSVN 2.1.0

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