Changeset 2086


Ignore:
Timestamp:
Oct 20, 2009, 10:54:08 PM (10 years ago)
Author:
Peter
Message:

avoid using AS_ECHO and AS_VAR_IF which are not part of autoconf 2.61 interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_add_flag.m4

    r2083 r2086  
    5656            [-I/usr/include], [ignore=yes],
    5757            [-I/usr/local/include],[AS_IF([test "x$CXX" = "xg++"],[ignore=yes])],
    58             [-D*], [yat_def=`AS_ECHO([$yat_flag]) | $SED 's,^-D,,;s,=.*,,'`;
     58            [-D*], [yat_def=`echo "$yat_flag" | $SED 's,^-D,,;s,=.*,,'`;
    5959                    AX_C_IFDEF([$yat_def],[ignore=yes])])
    6060
    61     AS_VAR_IF([ignore], [no],
     61    AS_IF([test x$ignore = xno],
    6262          [YAT_FIND_STR([$1], [$yat_flag], ,
    6363                        [AX_CXXCPP_CHECK_FLAG([$yat_flag], ,,
Note: See TracChangeset for help on using the changeset viewer.