-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 6/17/2008 6:33 PM: | | But these header files are already providing no-op code if the user has | chosen to configure with --disable-threads. The default for this option is in | m4/lock.m4, lines 49..55. lock.m4 can export a macro gl_DISABLE_THREADS | that would set the default to "no threads"; the user could then still use | --enable-threads. Implemented as follows: |
Thanks. Next I'm wondering if we should add a module which invokes gl_DISABLE_THREADS, as well as pulls in the unlocked-io module, for the benefit of projects that are known to be single-threaded, as it is slightly easier to add a module to the list of imports than it is to modify configure.ac to manually invoke gl_DISABLE_THREADS. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhYhxYACgkQ84KuGfSFAYD9EQCgld9jJMTeDaHbj1250iO2HgyZ 460AoMJj+51bqWnzRjnp151obAWGJioF =/OyV -----END PGP SIGNATURE-----
