[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ABSOLUTE_STDINT_H being expanded as an empty string (Sun cc 5.0, 5.8

From: Paul Eggert
Subject: Re: ABSOLUTE_STDINT_H being expanded as an empty string (Sun cc 5.0, 5.8 on Solaris 7, 8)
Date: Tue, 12 Jun 2007 13:12:00 -0700
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> To meet posix requirements, the sed script needs newlines after `{' and
> instead of all the `;', see autoconf manual.

Thanks for catching and reporting that.  I installed this patch to gnulib:

2007-06-12  Paul Eggert  <address@hidden>

        * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Fix POSIX sed portability
        glitch reported by Ralf Wildenhues in

--- m4/absolute-header.m4       11 Jul 2006 13:02:25 -0000      1.4
+++ m4/absolute-header.m4       12 Jun 2007 20:10:52 -0000
@@ -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 eval is necessary to expand ac_cpp.
 dnl Ultrix and Pyramid sh refuse to redirect output of eval, so use subshell.
 [`(eval "$ac_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD |
-sed -n 
+sed -n '\#/]m4_quote(m4_defn([gl_HEADER_NAME]))[#{
+       s#.*"\(.*/]m4_quote(m4_defn([gl_HEADER_NAME]))[\)".*#\1#
+       s#^/[^/]#//&#
+       p
+       q

reply via email to

[Prev in Thread] Current Thread [Next in Thread]