bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] remove: remove unnecessary use of m4/dos.m4


From: Paul Eggert
Subject: [PATCH] remove: remove unnecessary use of m4/dos.m4
Date: Thu, 24 Feb 2011 17:52:53 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

This is another in my series of removing unnecessary uses
of m4/dos.m4.

* m4/remove.m4 (gl_FUNC_REMOVE): Don't require gl_AC_DOS; not needed.
* modules/remove (FILES): Remove m4/dos.m4.
---
 ChangeLog      |    4 ++++
 m4/remove.m4   |    3 +--
 modules/remove |    1 -
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2b3ec59..301268c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-02-24  Paul Eggert  <address@hidden>
 
+       remove: remove unnecessary use of m4/dos.m4
+       * m4/remove.m4 (gl_FUNC_REMOVE): Don't require gl_AC_DOS; not needed.
+       * modules/remove (FILES): Remove m4/dos.m4.
+
        * lib/openat-proc.c: Don't include dirname.h; not needed.
 
        backupfile: remove unnecessary use of m4/dos.m4
diff --git a/m4/remove.m4 b/m4/remove.m4
index 139d2fa..1c314ea 100644
--- a/m4/remove.m4
+++ b/m4/remove.m4
@@ -1,4 +1,4 @@
-# remove.m4 serial 1
+# remove.m4 serial 2
 dnl Copyright (C) 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,
@@ -7,7 +7,6 @@ dnl with or without modifications, as long as this notice is 
preserved.
 AC_DEFUN([gl_FUNC_REMOVE],
 [
   AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
-  AC_REQUIRE([gl_AC_DOS])
   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
   AC_REQUIRE([gl_FUNC_RMDIR])
   AC_REQUIRE([gl_FUNC_UNLINK])
diff --git a/modules/remove b/modules/remove
index 63e06e0..886a039 100644
--- a/modules/remove
+++ b/modules/remove
@@ -3,7 +3,6 @@ remove() function: remove a file or directory
 
 Files:
 lib/remove.c
-m4/dos.m4
 m4/remove.m4
 
 Depends-on:
-- 
1.7.4




reply via email to

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