Changeset bde6014e in rtems for aclocal


Ignore:
Timestamp:
Dec 19, 2002, 4:00:03 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a53fc6a
Parents:
53872c1
Message:

2002-12-19 Ralf Corsepius <corsepiu@…>

  • aclocal/prog-cxx.m4: Remove RTEMS_PROG_CXX. Rework RTEMS_PROG_CXX_FOR_TARGET.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/prog-cxx.m4

    r53872c1 rbde6014e  
    55dnl
    66
    7 AC_DEFUN(RTEMS_PROG_CXX,
     7AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET,
    88[
    9 AC_BEFORE([$0], [AC_PROG_CXXCPP])dnl
    109AC_BEFORE([$0], [RTEMS_CANONICALIZE_TOOLS])dnl
    11 
     10AC_REQUIRE([RTEMS_ENABLE_CXX])
     11RTEMS_CHECK_TOOL(CXX,g++)
     12if test "$RTEMS_HAS_CPLUSPLUS" = "yes";
     13then
    1214_RTEMS_FLAGS([CXXFLAGS],
    1315  ["\$(CPU_CFLAGS) \$(RTEMS_CFLAGS_\$(VARIANT_V)_V) \$(CFLAGS_\$(VARIANT_V)_V) -g"])
     
    1517dnl Only accept g++
    1618dnl NOTE: This might be too restrictive
    17 RTEMS_CHECK_TOOL(CXX,g++)
    1819test -z "$CXX" \
    1920  && AC_MSG_ERROR([no acceptable c++ found in \$PATH])
    2021AC_PROG_CXX
    2122
    22 #if test "$GCC" = yes; then
    23 #RTEMS_CXXFLAGS="$RTEMS_CXXFLAGS -Wall"
    24 #m4_if([$1],,[],[RTEMS_CXXFLAGS="$RTEMS_CXXFLAGS $1"])
    25 #fi
    26 ])
    27 
    28 AC_DEFUN(RTEMS_PROG_CXX_FOR_TARGET,
    29 [
    30   RTEMS_PROG_CXX
    3123  if test "$ac_cv_prog_cc_cross" != "$ac_cv_prog_cxx_cross"; then
    3224    AC_MSG_ERROR([***]
     
    3628     [Hint: If building a posix bsp: LD_LIBRARY_PATH?] )
    3729  fi
     30
     31else
     32## Work-around to a bug in automake
     33AM_CONDITIONAL([am__fastdepCXX],[false])
     34fi
    3835])
Note: See TracChangeset for help on using the changeset viewer.