bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] [PATCH] tar: don't check for getdtablesize; use AC_CHECK_FUNCS


From: Paul Eggert
Subject: [Bug-tar] [PATCH] tar: don't check for getdtablesize; use AC_CHECK_FUNCS_ONCE
Date: Fri, 17 Sep 2010 10:48:39 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

* configure.ac: Don't check for getdtablesize; no longer needed.
Use AC_CHECK_FUNCS_ONCE rather than AC_CHECK_FUNCS, for efficiency.
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 97a0869..c3a3af7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ gl_INIT
 # paxutils modules
 tar_PAXUTILS
 
-AC_CHECK_FUNCS(fchmod fchown fsync getdtablesize lstat mkfifo readlink symlink 
setlocale)
+AC_CHECK_FUNCS_ONCE([fchmod fchown fsync lstat mkfifo readlink symlink])
 AC_CHECK_DECLS([getgrgid],,, [#include <grp.h>])
 AC_CHECK_DECLS([getpwuid],,, [#include <pwd.h>])
 AC_CHECK_DECLS([time],,, [#include <time.h>])
-- 
1.7.2




reply via email to

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