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: Thu, 31 Dec 2009 22:28:18 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> +       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise.

Your patch reordered the statements in such a way that ac_cv_header_sys_select_h
can be tested before it is computed. This fixes it.


2009-12-31  Bruno Haible  <address@hidden>

        * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Invoke
        gl_CHECK_NEXT_HEADERS before testing ac_cv_header_sys_select_h, not
        afterwards.

--- m4/sys_select_h.m4.orig     Thu Dec 31 22:20:06 2009
+++ m4/sys_select_h.m4  Thu Dec 31 21:47:11 2009
@@ -45,13 +45,13 @@
           ])
       fi
     ])
+  gl_CHECK_NEXT_HEADERS([sys/select.h])
   if test $ac_cv_header_sys_select_h = yes; then
     HAVE_SYS_SELECT_H=1
   else
     HAVE_SYS_SELECT_H=0
   fi
   AC_SUBST([HAVE_SYS_SELECT_H])
-  gl_CHECK_NEXT_HEADERS([sys/select.h])
   if test $gl_cv_header_sys_select_h_selfcontained != yes; then
     gl_PREREQ_SYS_H_WINSOCK2
   fi




reply via email to

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