This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++ configure time


On Mon, Mar 19, 2001 at 10:16:47PM -0800, Zack Weinberg wrote:
> define(_AC_GEN_FILE_0i, [_AC_GEN_FILE_0o([$1],$3[]indir([$4],[$2])$3)])

All of these fail if the input string contains commas.  There
was a reason that I had the ugly quoting that I did.  It might
well be possible to do better that I'd done though...

> ifelse(substr([$2], 0, 1), -, y, n)[]dnl

Consider ifelse(regexp([$2], [^-]), -1, n, y) instead.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]