Mercurial > hg > octave-nkf > gnulib-hg
changeset 8976:ac9d2f4c619c
* m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Fix POSIX sed portability
glitch reported by Ralf Wildenhues in
<http://lists.gnu.org/archive/html/bug-gnulib/2007-06/msg00114.html>.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 12 Jun 2007 20:10:55 +0000 |
parents | b70a0b36c501 |
children | 6186374fc70c |
files | ChangeLog m4/absolute-header.m4 |
diffstat | 2 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-06-12 Paul Eggert <eggert@cs.ucla.edu> + * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Fix POSIX sed portability + glitch reported by Ralf Wildenhues in + <http://lists.gnu.org/archive/html/bug-gnulib/2007-06/msg00114.html>. + * m4/regex.m4 (gl_REGEX): Catch a bug with [[:alnum:]_-] reported by Vin Shelton.
--- a/m4/absolute-header.m4 +++ b/m4/absolute-header.m4 @@ -1,5 +1,5 @@ -# absolute-header.m4 serial 6 -dnl Copyright (C) 2006 Free Software Foundation, Inc. +# absolute-header.m4 serial 7 +dnl Copyright (C) 2006, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -32,7 +32,12 @@ dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell. AS_VAR_SET(gl_absolute_header, [`(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | -sed -n '\#/]m4_quote(m4_defn([gl_HEADER_NAME]))[#{s#.*"\(.*/]m4_quote(m4_defn([gl_HEADER_NAME]))[\)".*#\1#;s#^/[^/]#//&#;p;q;}'`]) +sed -n '\#/]m4_quote(m4_defn([gl_HEADER_NAME]))[#{ + s#.*"\(.*/]m4_quote(m4_defn([gl_HEADER_NAME]))[\)".*#\1# + s#^/[^/]#//&# + p + q +}'`]) fi AS_VAR_POPDEF([ac_header_exists])dnl ])dnl