() Thien-Thi Nguyen <t...@gnu.org> () Sun, 25 Jan 2015 12:09:42 +0100
[annoying archeology] If i can [satisfy curiosity] i'm willing to [...] contribute to gnulib a @(sub-) section of texinfo, so the last question is: Would gnulib accept such a contribution? Another idea is to presume the two-methods status-quo is a mistake and "rebase" one method on the other. For example:
configure.ac | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configure.ac b/configure.ac index b7fa3b4..8334f21 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,19 @@ AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([1.12.2 no-define no-dist-gzip dist-lzip dist-xz serial-tests]) AS_CASE([$PACKAGE_VERSION],[*.*.*],[pretest_p=yes],[pretest_p=no]) + +dnl PROPOSED_gl_DISABLE_THREADS +dnl ------------------ +dnl Arranges for threads to be not used by default. +dnl This should be called *before* gl_INIT. +dnl The user can still override it at installation time, by using the +dnl configure option '--enable-threads'. + +AC_DEFUN([PROPOSED_gl_DISABLE_THREADS], [ + m4_define([gl_THREADLIB_DEFAULT_NO],[]) dnl hmmmmmmm +]) + + # syntax terrors AC_DEFUN([RCS_SET_MAYBE],[dnl @@ -257,6 +270,7 @@ AS_IF([test x"$EXEEXT" = x],[:], [The extension (including leading dot) of executable files.])]) # gnulib +PROPOSED_gl_DISABLE_THREADS gl_EARLY gl_INIT
Any objections if i work up a patch based on this approach (i.e., rewrite ‘gl_DISABLE_THREADS’ and add docs)? -- Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) => nil
signature.asc
Description: PGP signature