Changeset f289c09 in rtems


Ignore:
Timestamp:
Nov 15, 2002, 2:13:01 PM (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
cef22e87
Parents:
b04b5ca7
Message:

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

  • acinclude.m4: Add CXX_FOR_*, CXXFLAGS_FOR_*. Fix stupid typo (continue/configure).
  • aclocal/prog-cc.m4: Remove obsolete comments. Acknowledge CFLAGS.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rb04b5ca7 rf289c09  
     12002-11-15      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * acinclude.m4: Add CXX_FOR_*, CXXFLAGS_FOR_*.
     4        Fix stupid typo (continue/configure).
     5        * aclocal/prog-cc.m4: Remove obsolete comments.
     6        Acknowledge CFLAGS.
     7
    182002-11-13      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    29
  • acinclude.m4

    rb04b5ca7 rf289c09  
    165165_RTEMS_ARG_VAR([CFLAGS_FOR_$2],
    166166  [c-flags to be used for $1 subdirs (default: provided by autoconf)])
     167_RTEMS_ARG_VAR([CXX_FOR_$2],
     168  [c++-compiler to be used for $1 subdirs (default: auto-detected)])
     169_RTEMS_ARG_VAR([CXXFLAGS_FOR_$2],
     170  [c++-flags to be used for $1 subdirs (default: provided by autoconf)])
    167171if test "$no_recursion" != yes; then
    168172
     
    230234      test -n "[$]CC_FOR_$2" && \
    231235        ac_sub_configure_vars="'CC=[$]CC_FOR_$2'"
     236      test -n "[$]CXX_FOR_$2" && \
     237        ac_sub_configure_vars="$ac_sub_configure_vars 'CXX=[$]CXX_FOR_$2'"
    232238      test -n "[$]CFLAGS_FOR_$2" && \
    233239        ac_sub_configure_vars="$ac_sub_configure_vars 'CFLAGS=[$]CFLAGS_FOR_$2'"
     240      test -n "[$]CXXFLAGS_FOR_$2" && \
     241        ac_sub_configure_vars="$ac_sub_configure_vars 'CXXFLAGS=[$]CXXFLAGS_FOR_$2'"
    234242
    235243      AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args $ac_sub_configure_vars])
     
    262270    if test -n "$ac_prev"; then
    263271      ac_prev=
    264       configure
     272      continue
    265273    fi
    266274    # the eval casts away sh quotes
  • aclocal/prog-cc.m4

    rb04b5ca7 rf289c09  
    2828dnl check if the target compiler may use --pipe
    2929RTEMS_GCC_PIPE
    30 dnl check if the compiler supports --specs if gcc28 is requested
    31 #  if test "$rtems_cv_gcc_specs" = "no"; then
    32 #    AC_MSG_WARN([*** disabling --enable-gcc28])
    33 #      RTEMS_USE_GCC272=yes
    34 #  fi
    3530test "$rtems_cv_gcc_pipe" = "yes" && CC="$CC --pipe"
    3631
     
    3934m4_if([$1],,[],[CPPFLAGS="$CPPFLAGS $1"])
    4035[
    41 CFLAGS="-g -Wall"
     36CFLAGS=${CFLAGS--g -Wall}
    4237fi
    4338
Note: See TracChangeset for help on using the changeset viewer.