[PATCH] build: avoid bootstrap failure

Stefano Lattarini <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <28b37d67a8ce68020c85514077c7ffdcbdca2bb4.1356802693.git.stefano.lattarini@gmail.com>
Without this change, trying to bootstrap GNU sed from a freshly-cloned
Git checkout aborts with an error like this:

  ./bootstrap: aclocal --force -I m4 ...
  ./bootstrap: autoconf --force ...
  configure.ac:20: error: possibly undefined macro: gl_DISABLE_THREADS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

* bootstrap.conf (gnulib_modules): Add 'threadlib'.

Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <[email protected]>
---
 ChangeLog      | 5 +++++
 bootstrap.conf | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 133b56a..e0b36b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2012-12-29  Stefano Lattarini  <[email protected]>  (tiny change)
 
+	build: avoid bootstrap failure
+	* bootstrap.conf (gnulib_modules): Add 'threadlib'.
+
+2012-12-29  Stefano Lattarini  <[email protected]>  (tiny change)
+
 	build: use AC_CONFIG_HEADERS, not AM_CONFIG_HEADER
 	* configure.ac: Here.  The latter has been removed in Automake 1.13.
 
diff --git a/bootstrap.conf b/bootstrap.conf
index c6919ac..48ab2aa 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -20,7 +20,7 @@
 gnulib_modules="
     acl alloca btowc c-ctype extensions fwriting getdelim getopt gettext-h
     localcharset mbrlen mbrtowc mbsinit memchr mkostemp obstack pathmax regex
-    rename selinux-h stdbool stat-macros ssize_t strerror strverscmp
+    rename selinux-h stdbool stat-macros ssize_t strerror strverscmp threadlib
     unlocked-io verify version-etc-fsf wcrtomb wctob"
 
 checkout_only_file=
-- 
1.8.1.rc3.27.g3b73c7d
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.