Changeset b4cde04 in rtems for acinclude.m4


Ignore:
Timestamp:
Jul 22, 2002, 4:07:34 PM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
4cc3ff95
Parents:
305dd8bd
Message:

2002-07-22 Ralf Corsepius <corsepiu@…>

  • aclocal/subdirs.m4: Remove.
  • acinclude.m4: New (Replaces aclocal/subdirs.m4).
File:
1 moved

Legend:

Unmodified
Added
Removed
  • acinclude.m4

    r305dd8bd rb4cde04  
    163163_RTEMS_ARG_VAR([CC_FOR_$2],
    164164  [c-compiler to be used for $1 subdirs (default: auto-detected)])
     165_RTEMS_ARG_VAR([CFLAGS_FOR_$2],
     166  [c-flags to be used for $1 subdirs (default: provided by autoconf)])
    165167if test "$no_recursion" != yes; then
    166168
     
    246248           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir])
    247249      # The eval makes quoting arguments work.
    248       eval CC=[$]CC_FOR_$2 \
     250      ac_sub_configure_vars=
     251      test -n "[$]CC_FOR_$2" && \
     252        ac_sub_configure_vars="CC='[$]CC_FOR_$2'"
     253      test -n "[$]CFLAGS_FOR_$2" && \
     254        ac_sub_configure_vars="$ac_sub_configure_vars CFLAGS='[$]CFLAGS_FOR_$2'"
     255      eval $ac_sub_configure_vars \
    249256        $ac_sub_configure $ac_sub_configure_args \
    250257          --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
Note: See TracChangeset for help on using the changeset viewer.