coreutils
[Top][All Lists]
Advanced

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

[coreutils] [PATCH 1/2] build: remove now-useless configure-time header


From: Jim Meyering
Subject: [coreutils] [PATCH 1/2] build: remove now-useless configure-time header checks
Date: Thu, 29 Apr 2010 16:43:12 +0200

[I'll try to send FYI patches like this to the non bug-
 list, so as to avoid creating a ticket ]

>From 518a8664a27d19a31e177fb26c775709d7bdc726 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 29 Apr 2010 11:32:37 +0200
Subject: [PATCH 1/2] build: remove now-useless configure-time header checks

* m4/jm-macros.m4 (gl_CHECK_ALL_HEADERS): Don't test for headers
that gnulib now provides: sys/ioctl.h, sys/time.h, sys/wait.h.
---
 m4/jm-macros.m4 |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 62777c7..9c60195 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -173,12 +173,9 @@ AC_DEFUN([gl_CHECK_ALL_HEADERS],
     paths.h \
     priv.h \
     stropts.h \
-    sys/ioctl.h \
     sys/param.h \
     sys/resource.h \
     sys/systeminfo.h \
-    sys/time.h \
-    sys/wait.h \
     syslog.h \
     termios.h \
   )
-- 
1.7.1.328.g9993c


>From 7905d6d34dbeb73ef03b3c75f66dde9036634775 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Thu, 29 Apr 2010 12:03:41 +0200
Subject: [PATCH 2/2] build: remove now-duplicate use of AC_SYS_LARGEFILE

* m4/jm-macros.m4 (gl_CHECK_ALL_TYPES): Don't require AC_SYS_LARGEFILE,
now that gnulib does it.
---
 m4/jm-macros.m4 |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 9c60195..8711e94 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -189,11 +189,6 @@ AC_DEFUN([gl_CHECK_ALL_HEADERS],
 # This macro must be invoked before any tests that run the compiler.
 AC_DEFUN([gl_CHECK_ALL_TYPES],
 [
-  dnl This test must come as early as possible after the compiler configuration
-  dnl tests, because the choice of the file model can (in principle) affect
-  dnl whether functions and headers are available, whether they work, etc.
-  AC_REQUIRE([AC_SYS_LARGEFILE])
-
   dnl This test must precede tests of compiler characteristics like
   dnl that for the inline keyword, since it may change the degree to
   dnl which the compiler supports such features.
-- 
1.7.1.328.g9993c




reply via email to

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