apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: FreeBSD and gnu m4
Date Tue, 27 Feb 2001 19:38:10 GMT
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   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Hell is hot, that's never been disputed by anybody."

Mime
View raw message