Fix strerror module on Solaris 7.
authorEric Blake <ebb9@byu.net>
Mon, 3 Dec 2007 23:49:30 +0000 (16:49 -0700)
committerEric Blake <ebb9@byu.net>
Tue, 4 Dec 2007 03:01:50 +0000 (20:01 -0700)
* m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Ensure
REPLACE_STRERROR is initialized before this macro.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
m4/strerror.m4

index 06e0ee8..43d31a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-03  Eric Blake  <ebb9@byu.net>
+
+       * m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): Ensure
+       REPLACE_STRERROR is initialized before this macro.
+
 2007-12-03  Paul Eggert  <eggert@cs.ucla.edu>
 
        Add support for Solaris 10 ACLs.  Also, ACLs are Gnulib, not Autoconf.
@@ -25,7 +30,7 @@
        scripts_byname.h.
 
 2007-12-02  Martin Lambers <marlam@marlam.de>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * lib/getpagesize.h: Remove file.
        * lib/unistd.in.h: Include declaration of getpagesize here.
        Reported by Eric Blake.
 
 2007-10-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * modules/malloc (configure.ac): Define GNULIB_MALLOC_GNU always.
        * modules/realloc (configure.ac): Define GNULIB_REALLOC_GNU always.
        gl_LGPL macro.
 
 2007-10-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * lib/unistr.h (u8_uctomb_aux): Declare also if !HAVE_INLINE.
        (u16_uctomb_aux): Likewise.
index 9cb5769..78b8891 100644 (file)
@@ -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(