bug-gnulib
[Top][All Lists]
Advanced

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

Re: link-warning usage improvements


From: Bruno Haible
Subject: Re: link-warning usage improvements
Date: Fri, 1 Jan 2010 20:03:21 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> >> +  headers: make check of system header explicit
> >> +  * m4/netdb_h.m4 (gl_HEADER_NETDB): Don't exploit knowledge of
> >> +  gl_CHECK_NEXT_HEADER internals, but call AC_CHECK_HEADERS_ONCE
> >> +  ourselves.
> >
> > This looks fine.
> 
> Pushed (after rebasing to pick up the copyright year change).

m4/wchar.m4 can be simplified even more now:


2010-01-01  Bruno Haible  <address@hidden>

        wchar: Remove unused configure check.
        * m4/wchar.m4 (gl_WCHAR_H): Don't test whether <wchar.h> is standalone.

--- m4/wchar.m4.orig    Fri Jan  1 19:54:49 2010
+++ m4/wchar.m4 Fri Jan  1 19:52:18 2010
@@ -7,7 +7,7 @@
 
 dnl Written by Eric Blake.
 
-# wchar.m4 serial 29
+# wchar.m4 serial 30
 
 AC_DEFUN([gl_WCHAR_H],
 [
@@ -21,12 +21,6 @@
   gl_CHECK_NEXT_HEADERS([wchar.h])
   if test $ac_cv_header_wchar_h = yes; then
     HAVE_WCHAR_H=1
-    AC_CACHE_CHECK([whether <wchar.h> is standalone],
-      [gl_cv_header_wchar_h_standalone],
-      [AC_COMPILE_IFELSE([[#include <wchar.h>
-wchar_t w;]],
-        [gl_cv_header_wchar_h_standalone=yes],
-        [gl_cv_header_wchar_h_standalone=no])])
   else
     HAVE_WCHAR_H=0
   fi




reply via email to

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