bug-gnulib
[Top][All Lists]
Advanced

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

strerror module fix


From: Eric Blake
Subject: strerror module fix
Date: Mon, 03 Dec 2007 20:04:49 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

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

In trying out m4 on a Solaris 7 box, I noticed a failure in test-strerror,
due to broken ordering in configure for the REPLACE_STRERROR shell
variable.  Fixed as follows:

2007-12-03  Eric Blake  <address@hidden>

        * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Ensure
        REPLACE_STRERROR is initialized before this macro.

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

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

iD8DBQFHVMPQ84KuGfSFAYARApQMAJ0alZ5fPol2sPsE/+xfrapK+CNN4QCeLRZw
keLlsiliX9abWcuRWkcXkmA=
=FHow
-----END PGP SIGNATURE-----
diff --git a/ChangeLog b/ChangeLog
index 06e0ee8..43d31a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-03  Eric Blake  <address@hidden>
+
+       * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Ensure
+       REPLACE_STRERROR is initialized before this macro.
+
 2007-12-03  Paul Eggert  <address@hidden>
 
        Add support for Solaris 10 ACLs.  Also, ACLs are Gnulib, not Autoconf.
diff --git a/m4/strerror.m4 b/m4/strerror.m4
index 9cb5769..78b8891 100644
--- a/m4/strerror.m4
+++ b/m4/strerror.m4
@@ -17,6 +17,7 @@ AC_DEFUN([gl_FUNC_STRERROR],
 # Like gl_FUNC_STRERROR, except prepare for separate compilation (no 
AC_LIBOBJ).
 AC_DEFUN([gl_FUNC_STRERROR_SEPARATE],
 [
+  AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
   AC_CACHE_CHECK([for working strerror function],
    [gl_cv_func_working_strerror],
    [AC_RUN_IFELSE(

reply via email to

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