autoconf-patches
[Top][All Lists]
Advanced

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

Re: AC_TRY_COMPILE() annoyances with 2.63b


From: Eric Blake
Subject: Re: AC_TRY_COMPILE() annoyances with 2.63b
Date: Thu, 09 Apr 2009 23:02:51 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Mike Frysinger on 4/9/2009 10:51 PM:
> this looks good to me (but didnt actually test), thanks !
> 
> perhaps also update the documentation of m4_normalize and m4_strip to refer 
> to 
> m4_blank/m4_nblank ?

Good idea.  I'm adding this to the series.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkne0vsACgkQ84KuGfSFAYAiJwCePuTz1qvgsd+136vElXbNky23
jhkAn1xSQKGwLIWwOGc8aRe2UYq9NRXP
=vr4w
-----END PGP SIGNATURE-----
>From 08733441c0247b0ac9aea4cada7d7e54f46d2dbb Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Thu, 9 Apr 2009 23:00:22 -0600
Subject: [PATCH] Add cross-reference to new macros.

* doc/autoconf.texi (Text processing Macros) <m4_normalize>
<m4_strip>: Reference the new m4_ifblank.
Suggested by Mike Frysinger.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog         |    5 +++++
 doc/autoconf.texi |    7 +++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9ac238d..6b85565 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2009-04-09  Eric Blake  <address@hidden>

+       Add cross-reference to new macros.
+       * doc/autoconf.texi (Text processing Macros) <m4_normalize>
+       <m4_strip>: Reference the new m4_ifblank.
+       Suggested by Mike Frysinger.
+
        Improve documentation about if exit status.
        * doc/autoconf.texi (Limitations of Builtins) <if>: Mention that
        exit status bugs don't affect modern targets.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index c3033cd..c4f39dc 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -11810,7 +11810,9 @@ Text processing Macros
 Remove leading and trailing spaces and tabs, sequences of
 backslash-then-newline, and replace multiple spaces, tabs, and newlines
 with a single space.  This is a combination of @code{m4_flatten} and
address@hidden
address@hidden  To determine if @var{string} consists only of bytes
+that would be removed by @code{m4_normalize}, you can use
address@hidden
 @end defmac

 @defmac m4_re_escape (@var{string})
@@ -11833,7 +11835,8 @@ Text processing Macros
 reduced to a single space, then leading and trailing spaces are removed.
 The result is still a quoted string.  Note that this does not interfere
 with newlines; if you want newlines stripped as well, consider
address@hidden, or do it all at once with @code{m4_normalize}.
address@hidden, or do it all at once with @code{m4_normalize}.  To
+quickly test if @var{string} has only whitespace, use @code{m4_ifblank}.
 @end defmac

 @defmac m4_text_box (@var{message}, @dvar{frame, -})
-- 
1.6.1.2


reply via email to

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