From 0e4139e772519fb11a27e1adf774e37c0c455c95 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 24 Feb 2011 07:58:24 -0800 Subject: [PATCH] backupfile: remove unnecessary use of m4/dos.m4 * m4/backupfile.m4 (gl_BACKUPFILE): Don't require gl_AC_DOS; none of its symbols are used by the backupfile code. backupfile.c does use a symbol HAVE_DOS_FILE_NAMES, but that symbol is meant only for the rare case of programs that want all their backup file names to live within 8+3 limits, and dos.m4 doesn't address that. * modules/backupfile (Files): Remove m4/dos.m4. --- ChangeLog | 10 ++++++++++ m4/backupfile.m4 | 3 +-- modules/backupfile | 1 - 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7795cce5e..b739e0647 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2011-02-24 Paul Eggert + + backupfile: remove unnecessary use of m4/dos.m4 + * m4/backupfile.m4 (gl_BACKUPFILE): Don't require gl_AC_DOS; none + of its symbols are used by the backupfile code. backupfile.c does + use a symbol HAVE_DOS_FILE_NAMES, but that symbol is meant only + for the rare case of programs that want all their backup file + names to live within 8+3 limits, and dos.m4 doesn't address that. + * modules/backupfile (Files): Remove m4/dos.m4. + 2011-02-24 Jim Meyering strstr: fix a bug whereby strstr would mistakenly return NULL diff --git a/m4/backupfile.m4 b/m4/backupfile.m4 index 1dce383f4..ac9559ebc 100644 --- a/m4/backupfile.m4 +++ b/m4/backupfile.m4 @@ -1,4 +1,4 @@ -# backupfile.m4 serial 12 +# backupfile.m4 serial 13 dnl Copyright (C) 2002-2006, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -10,7 +10,6 @@ AC_DEFUN([gl_BACKUPFILE], dnl Prerequisites of lib/backupfile.c. AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO]) - AC_REQUIRE([gl_AC_DOS]) AC_REQUIRE([AC_SYS_LONG_FILE_NAMES]) AC_CHECK_FUNCS_ONCE([pathconf]) ]) diff --git a/modules/backupfile b/modules/backupfile index fcfcce621..0258817f9 100644 --- a/modules/backupfile +++ b/modules/backupfile @@ -5,7 +5,6 @@ variables. Files: lib/backupfile.h lib/backupfile.c -m4/dos.m4 m4/backupfile.m4 Depends-on: -- 2.11.0