OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [aclocal/] [check-cxx.m4] - Blame information for rev 639

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl $Id: check-cxx.m4,v 1.2 2001-09-27 11:59:11 chris Exp $
2
dnl
3
AC_DEFUN(RTEMS_CHECK_CXX,
4
[dnl
5
AC_REQUIRE([RTEMS_CHECK_CPU])dnl
6
AC_REQUIRE([RTEMS_PROG_CC_FOR_TARGET])dnl
7
AC_REQUIRE([RTEMS_PROG_CXX_FOR_TARGET])dnl
8
AC_CACHE_CHECK([whether to build rtems++],
9
  rtems_cv_HAS_CPLUSPLUS,
10
  [ if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
11
      if test -n "$CXX_FOR_TARGET"; then
12
        rtems_cv_HAS_CPLUSPLUS="yes"
13
      else
14
        rtems_cv_HAS_CPLUSPLUS="no"
15
      fi
16
    else
17
      rtems_cv_HAS_CPLUSPLUS="no"
18
    fi])
19
HAS_CPLUSPLUS="$rtems_cv_HAS_CPLUSPLUS";
20
AC_SUBST(HAS_CPLUSPLUS)dnl
21
])

powered by: WebSVN 2.1.0

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