m4 compatibility for solaris
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@292 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
6f32441f4f
commit
0356300ba7
|
@ -76,6 +76,10 @@ if test "$PHP_XCACHE" != "no"; then
|
|||
AC_PATH_PROGS([M4], [m4])
|
||||
if echo | "$M4" -E > /dev/null 2>&1 ; then
|
||||
M4="$M4 -E"
|
||||
fi
|
||||
dnl fix for solaris m4: size of the push-back and argument
|
||||
if echo | "$M4" -B 102400 > /dev/null 2>&1 ; then
|
||||
M4="$M4 -B 102400"
|
||||
fi
|
||||
PHP_SUBST([M4])
|
||||
AC_PATH_PROGS([GREP], [grep])
|
||||
|
|
|
@ -12,6 +12,10 @@ define(`MAKE_MACRONAME', `translit(`$1', ` ():
|
|||
define(`ONCE', `ifdef(MAKE_MACRONAME(`ONCE $1'), `', `define(MAKE_MACRONAME(`ONCE $1'))$1')')
|
||||
define(`m4_errprint', `ONCE(`errprint(`$1
|
||||
')')')
|
||||
ifdef(`len', `
|
||||
define(`m4_len', defn(`len'))
|
||||
undefine(`len')
|
||||
')
|
||||
define(`ZEND_STRS', `($1), (sizeof($1))')
|
||||
define(`ZEND_STRL', `($1), (sizeof($1) - 1)')
|
||||
dnl ============
|
||||
|
|
Loading…
Reference in New Issue