comparison m4/regex.m4 @ 17459:bbdfd5c3b6d3

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.
author Jim Meyering <meyering@fb.com>
date Mon, 05 Aug 2013 11:24:26 -0700
parents e192356f48c2
children
comparison
equal deleted inserted replaced
17458:bf22413cebcb 17459:bbdfd5c3b6d3
264 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) 264 AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
265 AC_REQUIRE([AC_C_INLINE]) 265 AC_REQUIRE([AC_C_INLINE])
266 AC_REQUIRE([AC_C_RESTRICT]) 266 AC_REQUIRE([AC_C_RESTRICT])
267 AC_REQUIRE([AC_TYPE_MBSTATE_T]) 267 AC_REQUIRE([AC_TYPE_MBSTATE_T])
268 AC_REQUIRE([gl_EEMALLOC]) 268 AC_REQUIRE([gl_EEMALLOC])
269 AC_REQUIRE([gl_GLIBC21])
269 AC_CHECK_HEADERS([libintl.h]) 270 AC_CHECK_HEADERS([libintl.h])
270 AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll]) 271 AC_CHECK_FUNCS_ONCE([isblank iswctype wcscoll])
271 AC_CHECK_DECLS([isblank], [], [], [[#include <ctype.h>]]) 272 AC_CHECK_DECLS([isblank], [], [], [[#include <ctype.h>]])
272 ]) 273 ])