More weirdness... If I change the below to:
APR_FOREACH([
[if test "$ac_cv_header_]translit(eachval,[/+-.],[_p__])" = "yes"; then
dnl note: this translit() maps "/" to "_" and omits ".". the third arg
(note the rearrangements in the translit strings), configure looks
like:
for ac_hdr in ByteOrder.h \
conio.h \
crypt.h \
if test "$ac_cv_header_ByteOrderh" = "yes"; then
ByteOrderh=1
else
ByteOrderh=0
fi
if test "$ac_cv_header_conioh" = "yes"; then
conioh=1
else
conioh=0
fi
Note that the '.' isn't being transposed to '_' but rather deleted
alltogether. It should be:
if test "$ac_cv_header_ByteOrder_h" = "yes"; then
and this is on Gnu m4 4.1.4
--
===========================================================================
Jim Jagielski [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/
"Hell is hot, that's never been disputed by anybody."