[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gl_DISABLE_THREADS placement
From: |
Thien-Thi Nguyen |
Subject: |
gl_DISABLE_THREADS placement |
Date: |
Sat, 24 Jan 2015 12:16:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
I understand that adding ‘gl_DISABLE_THREADS’ to configure.ac
causes module ‘threadlib’ (specifically file threadlib.m4) to
generate a configure script that runs as if ‘--disable-threads’
had been included on the command-line. Is this correct?
My questions are:
- Where to add ‘gl_DISABLE_THREADS’?
Some light experimentation w/
gl_EARLY
gl_DISABLE_THREADS
gl_INIT
seems to yield the desired result, but i wonder if
i'm missing something (either now or latent).
- Is there any way to get "./configure --help" to output:
--disable-threads build without multithread safety (default)
instead of the current:
--disable-threads build without multithread safety
? This would be a (small) hint for the user, i think.
Background: GNU RCS is single-threaded, but until:
http://lists.gnu.org/archive/html/bug-rcs/2015-01/msg00000.html
there were no reported problems w/ the default-enabled state.
--
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
- gl_DISABLE_THREADS placement,
Thien-Thi Nguyen <=