Bruno Haible <[EMAIL PROTECTED]> writes: > What about this patch, then? Add the dependency to the module description. > It's then unnecessary to mention it in the autoconf macro.
Both patches look a bit off to me, since argp should be usable in multithreaded code. (This is a problem with the current gnulib, too, but we should fix it while we're in the neighborhood.) Instead, shouldn't we split gl_FUNC_GLIBC_UNLOCKED_IO into two pieces? The first piece defines USE_UNLOCKED_IO and AC_LIBSOURCES unlocked-io.h, and is useful only in non-multithreaded apps. The 2nd piece requires gl_USE_SYSTEM_EXTENSIONS and checks for the declarations of clearerr_unlocked, etc. The 1st piece depends on the 2nd piece. Argp depends only on the 2nd piece. We could call the 2nd piece a new module "unlocked-decls", say. _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib