URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 30 |
Rev 173 |
dnl $Id: check-cxx.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
dnl $Id: check-cxx.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
|
dnl
|
dnl
|
AC_DEFUN(RTEMS_CHECK_CXX,
|
AC_DEFUN(RTEMS_CHECK_CXX,
|
[dnl
|
[dnl
|
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
|
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
|
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
|
AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
|
AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
|
AC_CACHE_CHECK([whether to build rtems++],
|
AC_CACHE_CHECK([whether to build rtems++],
|
rtems_cv_HAS_CPLUSPLUS,
|
rtems_cv_HAS_CPLUSPLUS,
|
[ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
[ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
|
if test -n "$CXX_FOR_TARGET"; then
|
if test -n "$CXX_FOR_TARGET"; then
|
rtems_cv_HAS_CPLUSPLUS="yes"
|
rtems_cv_HAS_CPLUSPLUS="yes"
|
else
|
else
|
rtems_cv_HAS_CPLUSPLUS="no"
|
rtems_cv_HAS_CPLUSPLUS="no"
|
fi
|
fi
|
else
|
else
|
rtems_cv_HAS_CPLUSPLUS="no"
|
rtems_cv_HAS_CPLUSPLUS="no"
|
fi])
|
fi])
|
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
|
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
|
AC_SUBST(HAS_CPLUSPLUS)dnl
|
AC_SUBST(HAS_CPLUSPLUS)dnl
|
])
|
])
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.