changeset 6080:371903e6dfee

* m4/regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 21 Aug 2005 00:51:27 +0000
parents 221ad521f976
children e258f5e2593e
files m4/ChangeLog m4/regex.m4
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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.
--- a/m4/regex.m4
+++ b/m4/regex.m4
@@ -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 @@
 # 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])