On Thu, 2006-10-05 at 14:09 +0200, Bruno Haible wrote: > James Youngman wrote: > > > Couldn't we do something similar in gnulib? E.g., use > > > GNULIB_REPLACE_FUNCS instead? Then AC_REPLACE_FUNCS in people's > > > package will continue to work. > > > > That seems fairly reasonable, albeit a bit of an upheaval for everyone. > > It does not need to affect everyone, if we use m4_pushdef/m4_popdef > to do the trick. See gettext/gettext-tools/m4/libgrep.m4 for an example.
Nice! I tried to use two gnulib-directories in libidn a week ago, and failed because of AC_LIBOBJ. So, basically, each foo_INIT would have to define foo_LIBOBJ and foo_LIBOBJ_REPLACE_FUNCS and push/pop them before calling the other functions. Hm. I think I have enough information to start working on this now. Stay tuned. /Simon
