bug-gnulib
[Top][All Lists]
Advanced

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

remove redundant macro definitions


From: Bruno Haible
Subject: remove redundant macro definitions
Date: Tue, 2 Jan 2007 21:56:51 +0100
User-agent: KMail/1.9.1

Hi,

Following the gnulib-tool change, we can remove the explicit definitions
of macro names. Paul, Jim: Objections?

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

        * m4/close-stream.m4 (gl_CLOSE_STREAM): Remove GNULIB_CLOSE_STREAM
        macro definition.
        * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Remove GNULIB_FCNTL_SAFER macro
        definition.
        * m4/stdio-safer.m4 (gl_FOPEN_SAFER): Remove GNULIB_FOPEN_SAFER macro
        definition.
        * modules/fwriteerror (configure.ac): Remove GNULIB_FWRITEERROR macro
        definition.

*** m4/close-stream.m4.bak      2006-10-07 21:30:45.000000000 +0200
--- m4/close-stream.m4  2007-01-01 15:44:40.000000000 +0100
***************
*** 1,5 ****
! #serial 2
! dnl Copyright (C) 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.
--- 1,5 ----
! #serial 3
! dnl Copyright (C) 2006-2007 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.
***************
*** 7,14 ****
  AC_DEFUN([gl_CLOSE_STREAM],
  [
    AC_LIBOBJ([close-stream])
-   AC_DEFINE([GNULIB_CLOSE_STREAM], [1],
-     [Define to 1 when using the gnulib close-stream module.])
  
    dnl Prerequisites of lib/close-stream.c.
    :
--- 7,12 ----
*** m4/fcntl-safer.m4.bak       2006-10-07 21:30:45.000000000 +0200
--- m4/fcntl-safer.m4   2007-01-01 15:45:02.000000000 +0100
***************
*** 1,5 ****
! #serial 4
! dnl Copyright (C) 2005, 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.
--- 1,5 ----
! #serial 5
! dnl Copyright (C) 2005-2007 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.
***************
*** 8,13 ****
  [
    AC_LIBOBJ([open-safer])
    AC_LIBOBJ([creat-safer])
-   AC_DEFINE([GNULIB_FCNTL_SAFER], [1],
-     [Define to 1 when using the gnulib fcntl-safer module.])
  ])
--- 8,11 ----
*** m4/stdio-safer.m4.bak       2006-10-07 21:30:45.000000000 +0200
--- m4/stdio-safer.m4   2007-01-01 15:51:13.000000000 +0100
***************
*** 1,5 ****
! #serial 9
! dnl Copyright (C) 2002, 2005, 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.
--- 1,5 ----
! #serial 10
! dnl Copyright (C) 2002, 2005-2007 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.
***************
*** 7,14 ****
  AC_DEFUN([gl_FOPEN_SAFER],
  [
    AC_LIBOBJ([fopen-safer])
-   AC_DEFINE([GNULIB_FOPEN_SAFER], [1],
-     [Define to 1 when using the gnulib fopen-safer module.])
  ])
  
  AC_DEFUN([gl_TMPFILE_SAFER],
--- 7,12 ----
*** modules/fwriteerror.bak     2006-10-07 01:01:48.000000000 +0200
--- modules/fwriteerror 2007-01-01 15:50:51.000000000 +0100
***************
*** 9,16 ****
  stdbool
  
  configure.ac:
- AC_DEFINE([GNULIB_FWRITEERROR], 1,
-   [Define to 1 when using the gnulib fwriteerror module.])
  
  Makefile.am:
  lib_SOURCES += fwriteerror.h fwriteerror.c
--- 9,14 ----




reply via email to

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