>> Given that the intention of the above test is to check if the iconv >> function works properly, maybe a workaround would be to use the >> fixed prototype of iconv (as attached)? > > Sorry, that was obviously wrong. The other idea is to suppress the > error with a pragma, but I guess it would be better to actually > check the prototype in AM_ICONV_LINK.
What about using m4_foreach, running the link tests with and without `const'? Werner