Mercurial > hg > octave-kai > gnulib-hg
changeset 9809:b17288dc1d83
Fix regex compilation error on HP-UX 11.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 23 Mar 2008 23:49:02 +0100 |
parents | b5b092e3f5c7 |
children | f805ab5f1771 |
files | ChangeLog m4/regex.m4 modules/regex |
diffstat | 3 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-03-23 Bruno Haible <bruno@clisp.org> + + Fix regex compilation error on HP-UX 11. + * m4/regex.m4 (gl_PREREQ_REGEX): Require AC_TYPE_MBSTATE_T. + * modules/regex (Files): Add m4/mbstate_t.m4. + Reported by Ton Voon <ton.voon@altinity.com>. + 2008-03-23 Bruno Haible <bruno@clisp.org> * doc/gnulib-tool.texi (gettextize and autopoint): New section.
--- a/m4/regex.m4 +++ b/m4/regex.m4 @@ -1,7 +1,7 @@ -#serial 48 +#serial 49 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -# 2006, 2007 Free Software Foundation, Inc. +# 2006, 2007, 2008 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -217,6 +217,7 @@ [ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([AC_TYPE_MBSTATE_T]) AC_CHECK_FUNCS_ONCE([isblank iswctype mbrtowc wcrtomb wcscoll]) AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>]) ])