source: rtems/aclocal/prog-cxx.m4 @ 314a962

4.104.114.84.9
Last change on this file since 314a962 was 53eb191, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 17, 2002 at 1:27:29 PM

2002-04-15 Ralf Corsepius <corsepiu@…>

  • aclocal/prog-cc.m4: Remove GCC272 support. Remove ENABLE_LIBCDIR.
  • aclocal/prog-cxx.m4: Ditto.
  • aclocal/enable-gcc28.m4: Remove.
  • aclocal/enable-libcdir.m4: Ditto.
  • Property mode set to 100644
File size: 704 bytes
Line 
1dnl
2dnl $Id$
3dnl
4dnl Check for target g++
5dnl
6
7AC_DEFUN(RTEMS_PROG_CXX,
8[
9AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
10AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
11
12dnl Only accept g++
13dnl NOTE: This might be too restrictive
14RTEMS_CHECK_TOOL(CXX,g++)
15AC_PROG_CXX
16test -z "$CXX" \
17  && AC_MSG_ERROR([no acceptable c++ found in \$PATH])
18])
19
20AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET,
21[
22  RTEMS_PROG_CXX
23  if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then
24    AC_MSG_ERROR([***]
25     [Inconsistency in compiler configuration:]
26     [Target C compiler and target C++ compiler]
27     [must both either be cross compilers or native compilers]
28     [Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
29  fi
30])
Note: See TracBrowser for help on using the repository browser.