Changeset 292


Ignore:
Timestamp:
2006-12-02T03:28:29+01:00 (8 years ago)
Author:
moo
Message:

m4 compatibility for solaris

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.m4

    r230 r292  
    7878    M4="$M4 -E" 
    7979  fi 
     80   dnl fix for solaris m4: size of the push-back and argument 
     81  if echo | "$M4" -B 102400 > /dev/null 2>&1 ; then 
     82    M4="$M4 -B 102400" 
     83  fi 
    8084  PHP_SUBST([M4]) 
    8185  AC_PATH_PROGS([GREP], [grep]) 
  • trunk/processor/main.m4

    r291 r292  
    1313define(`m4_errprint', `ONCE(`errprint(`$1 
    1414')')') 
     15ifdef(`len', ` 
     16define(`m4_len', defn(`len')) 
     17undefine(`len') 
     18') 
    1519define(`ZEND_STRS', `($1), (sizeof($1))') 
    1620define(`ZEND_STRL', `($1), (sizeof($1) - 1)') 
Note: See TracChangeset for help on using the changeset viewer.