* m4/regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Aug 2005 00:51:27 +0000 (00:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Aug 2005 00:51:27 +0000 (00:51 +0000)
m4/ChangeLog
m4/regex.m4

index dc70d35..016206b 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-20  Bruno Haible  <bruno@clisp.org>
+
+       * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
+
 2005-08-17  Bruno Haible  <bruno@clisp.org>
 
        * strcasestr.m4: New file.
index 1ae114b..21d8113 100644 (file)
@@ -1,4 +1,4 @@
-#serial 24
+#serial 25
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free
 # Software Foundation, Inc.
@@ -125,6 +125,7 @@ AC_DEFUN([gl_INCLUDED_REGEX],
 # Prerequisites of lib/regex.c and lib/regex_internal.c.
 AC_DEFUN([gl_PREREQ_REGEX],
 [
+  AC_REQUIRE([AC_GNU_SOURCE])
   AC_REQUIRE([gl_C_RESTRICT])
   AC_REQUIRE([AM_LANGINFO_CODESET])
   AC_CHECK_HEADERS_ONCE([locale.h wchar.h wctype.h])