regex: port to non-glibc/lock-using systems
authorJim Meyering <meyering@fb.com>
Mon, 5 Aug 2013 18:24:26 +0000 (11:24 -0700)
committerJim Meyering <meyering@fb.com>
Wed, 7 Aug 2013 05:13:28 +0000 (22:13 -0700)
commitade95dda0df7e42c80c5e6d7cb51fe44d0663719
tree2477509a130afcf0e27a8a98ac5c8c1f0a70a55e
parent0f0de03774e76123900873513602ff70be6d9be5
regex: port to non-glibc/lock-using systems

Since 29-05-2013 commit, 55ba71f4, compilation on a non-glibc
system with GNULIB_LOCK would fail due to absence of the
included "glthread/lock.h".  This would affect any package
for which the "lock" module is used only by the regex module,
and not explicitly used.
* m4/regex.m4 (gl_PREREQ_REGEX): Require gl_GLIBC21.
* modules/regex (Depends-on) [!GLIBC && $ac_use_included_regex]:
Add a dependency on the "lock" module.
ChangeLog
m4/regex.m4
modules/regex