Re: m4/*_h.m4: improve idioms

2008-09-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 9/27/2008 11:15 AM: > > +dnl Unconditionally enables the replacement of . > +AC_DEFUN([gl_REPLACE_ARPA_INET_H], > +[ > + AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) > + ARPA_INET_H='arpa/inet.h' > +) I'm committing a fix for

Re: m4/*_h.m4: improve idioms

2008-09-29 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Simon, is the part for m4/arpa_inet_h.m4 fine with you? (Not yet committed.) I didn't test it, but I agree with the approach so please push it. /Simon

m4/*_h.m4: improve idioms

2008-09-27 Thread Bruno Haible
Hi Simon, Eric, I find it a bit hard to maintain the autoconf macros when a variable initialized by one .m4 file is assigned in another .m4 file. It's easier if every variable is only touched in a single .m4 file. I'm applying this for iconv_h.m4 and m4/wchar.m4. Actually, for iconv_h.m4 this fix