bug-gnulib
[Top][All Lists]
Advanced

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

Re: use of AC_DEFUN_ONCE


From: Bruno Haible
Subject: Re: use of AC_DEFUN_ONCE
Date: Mon, 4 May 2009 11:51:40 +0200
User-agent: KMail/1.9.9

Eric Blake wrote:
> > +++ modules/errno   2009-05-04 00:29:42.000000000 +0200
> > @@ -9,7 +9,7 @@
> >  include_next
> >
> >  configure.ac:
> > -AC_REQUIRE([gl_HEADER_ERRNO_H])
> > +gl_HEADER_ERRNO_H
> 
> Looks good to me.

OK, I applied it:


2009-05-04  Bruno Haible  <address@hidden>

        Exploit new semantics of AC_DEFUN_ONCE available since 2009-01-26.
        * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Remove outdated comment.
        * modules/errno (configure.ac): Drop AC_REQUIRE.
        * m4/multiarch.m4 (gl_MULTIARCH): Remove outdated comment.
        * modules/multiarch (configure.ac): Drop AC_REQUIRE.

--- m4/errno_h.m4.orig  2009-05-04 11:47:03.000000000 +0200
+++ m4/errno_h.m4       2009-05-04 11:46:55.000000000 +0200
@@ -1,10 +1,9 @@
-# errno_h.m4 serial 4
+# errno_h.m4 serial 5
 dnl Copyright (C) 2004, 2006, 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
 
-dnl This macro must pass through AC_REQUIRE (never directly invoke it).
 AC_DEFUN_ONCE([gl_HEADER_ERRNO_H],
 [
   AC_REQUIRE([AC_PROG_CC])
--- m4/multiarch.m4.orig        2009-05-04 11:47:03.000000000 +0200
+++ m4/multiarch.m4     2009-05-04 11:46:50.000000000 +0200
@@ -1,4 +1,4 @@
-# multiarch.m4 serial 4
+# multiarch.m4 serial 5
 dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -19,7 +19,6 @@
 # Detect this situation and set the macro AA_APPLE_UNIVERSAL_BUILD at the
 # beginning of config.h and set APPLE_UNIVERSAL_BUILD accordingly.
 
-dnl This macro must pass through AC_REQUIRE (never directly invoke it).
 AC_DEFUN_ONCE([gl_MULTIARCH],
 [
   dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN.
--- modules/errno.orig  2009-05-04 11:47:03.000000000 +0200
+++ modules/errno       2009-05-04 02:36:44.000000000 +0200
@@ -9,7 +9,7 @@
 include_next
 
 configure.ac:
-AC_REQUIRE([gl_HEADER_ERRNO_H])
+gl_HEADER_ERRNO_H
 
 Makefile.am:
 BUILT_SOURCES += $(ERRNO_H)
--- modules/multiarch.orig      2009-05-04 11:47:03.000000000 +0200
+++ modules/multiarch   2009-05-04 02:36:44.000000000 +0200
@@ -7,7 +7,7 @@
 Depends-on:
 
 configure.ac:
-AC_REQUIRE([gl_MULTIARCH])
+gl_MULTIARCH
 
 Makefile.am:
 




reply via email to

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