bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] AC_HEADER_STDC


From: Bruno Haible
Subject: Re: [bug-gnulib] AC_HEADER_STDC
Date: Tue, 4 Jul 2006 18:39:30 +0200
User-agent: KMail/1.9.1

Derek R. Price wrote:
>       * m4/onceonly.m4,
>       m4/onceonly_2_57.m4
>       Don't call obsolescent AC_HEADER_STDC.

It's not called there, it's only used as an example. I've changed it
like this.

*** onceonly_2_57.m4    10 Aug 2005 12:06:39 -0000      1.6
--- onceonly_2_57.m4    4 Jul 2006 16:38:47 -0000
***************
*** 1,5 ****
! # onceonly_2_57.m4 serial 3
! dnl Copyright (C) 2002-2003, 2005 Free Software Foundation, Inc.
  dnl This file is free software, distributed under the terms of the GNU
  dnl General Public License.  As a special exception to the GNU General
  dnl Public License, this file may be distributed as part of a program
--- 1,5 ----
! # onceonly_2_57.m4 serial 4
! dnl Copyright (C) 2002-2003, 2005-2006 Free Software Foundation, Inc.
  dnl This file is free software, distributed under the terms of the GNU
  dnl General Public License.  As a special exception to the GNU General
  dnl Public License, this file may be distributed as part of a program
***************
*** 7,16 ****
  dnl the same distribution terms as the rest of that program.
  
  dnl This file defines some "once only" variants of standard autoconf macros.
! dnl   AC_CHECK_HEADERS_ONCE         like  AC_CHECK_HEADERS
! dnl   AC_CHECK_FUNCS_ONCE           like  AC_CHECK_FUNCS
! dnl   AC_CHECK_DECLS_ONCE           like  AC_CHECK_DECLS
! dnl   AC_REQUIRE([AC_HEADER_STDC])  like  AC_HEADER_STDC
  dnl The advantage is that the check for each of the headers/functions/decls
  dnl will be put only once into the 'configure' file. It keeps the size of
  dnl the 'configure' file down, and avoids redundant output when 'configure'
--- 7,16 ----
  dnl the same distribution terms as the rest of that program.
  
  dnl This file defines some "once only" variants of standard autoconf macros.
! dnl   AC_CHECK_HEADERS_ONCE          like  AC_CHECK_HEADERS
! dnl   AC_CHECK_FUNCS_ONCE            like  AC_CHECK_FUNCS
! dnl   AC_CHECK_DECLS_ONCE            like  AC_CHECK_DECLS
! dnl   AC_REQUIRE([AC_FUNC_STRCOLL])  like  AC_FUNC_STRCOLL
  dnl The advantage is that the check for each of the headers/functions/decls
  dnl will be put only once into the 'configure' file. It keeps the size of
  dnl the 'configure' file down, and avoids redundant output when 'configure'
diff -c -3 -r1.7 onceonly.m4
*** onceonly.m4 19 Apr 2006 11:36:18 -0000      1.7
--- onceonly.m4 4 Jul 2006 16:38:47 -0000
***************
*** 1,14 ****
! # onceonly.m4 serial 4 (gettext-0.15)
  dnl Copyright (C) 2002-2003, 2006 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 file defines some "once only" variants of standard autoconf macros.
! dnl   AC_CHECK_HEADERS_ONCE         like  AC_CHECK_HEADERS
! dnl   AC_CHECK_FUNCS_ONCE           like  AC_CHECK_FUNCS
! dnl   AC_CHECK_DECLS_ONCE           like  AC_CHECK_DECLS
! dnl   AC_REQUIRE([AC_HEADER_STDC])  like  AC_HEADER_STDC
  dnl The advantage is that the check for each of the headers/functions/decls
  dnl will be put only once into the 'configure' file. It keeps the size of
  dnl the 'configure' file down, and avoids redundant output when 'configure'
--- 1,14 ----
! # onceonly.m4 serial 5 (gettext-0.15)
  dnl Copyright (C) 2002-2003, 2006 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 file defines some "once only" variants of standard autoconf macros.
! dnl   AC_CHECK_HEADERS_ONCE          like  AC_CHECK_HEADERS
! dnl   AC_CHECK_FUNCS_ONCE            like  AC_CHECK_FUNCS
! dnl   AC_CHECK_DECLS_ONCE            like  AC_CHECK_DECLS
! dnl   AC_REQUIRE([AC_FUNC_STRCOLL])  like  AC_FUNC_STRCOLL
  dnl The advantage is that the check for each of the headers/functions/decls
  dnl will be put only once into the 'configure' file. It keeps the size of
  dnl the 'configure' file down, and avoids redundant output when 'configure'




reply via email to

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