URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
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
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.