Ignore:
Timestamp:
Nov 11, 2008, 3:56:23 AM (13 years ago)
Author:
Peter
Message:

prefer m4_default rather than raw m4 macro (ifelse).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build_support/yat_add_flag.m4

    r1560 r1622  
    6868  found=no;       
    6969  for a in $1; do
    70     if test "$f" = "$2"; then
     70    if test "x$a" = "x$2"; then
    7171      found=yes;
    7272    fi
    7373  done
    7474
    75 
    76 
    7775  # ACTION
    7876  if test "$found" = "yes" ; then
    79     ifelse([$3], , :, [$3])
     77    m4_default([$3], [:])
    8078  else
    81     ifelse([$4], , :, [$4])
     79    m4_default([$4], [:])
    8280  fi 
    8381
Note: See TracChangeset for help on using the changeset viewer.