summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/chown.m44
-rw-r--r--m4/cloexec.m44
-rw-r--r--m4/dup2.m46
-rw-r--r--m4/fsusage.m43
-rw-r--r--m4/getcwd.m41
-rw-r--r--m4/jm-macros.m41
-rw-r--r--m4/mkstemp.m44
-rw-r--r--m4/mountlist.m44
-rw-r--r--m4/save-cwd.m44
-rw-r--r--m4/unistd-safer.m44
10 files changed, 16 insertions, 19 deletions
diff --git a/m4/chown.m4 b/m4/chown.m4
index ccdfae992..39f6bb6a3 100644
--- a/m4/chown.m4
+++ b/m4/chown.m4
@@ -1,4 +1,4 @@
-#serial 13
+#serial 14
# Determine whether we need the chown wrapper.
dnl Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free
@@ -81,6 +81,6 @@ AC_DEFUN([gl_FUNC_CHOWN_FOLLOWS_SYMLINK],
# Prerequisites of lib/chown.c.
AC_DEFUN([gl_PREREQ_CHOWN],
[
- AC_CHECK_HEADERS_ONCE(unistd.h fcntl.h)
+ AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_FUNC([fchown], , [AC_LIBOBJ(fchown-stub)])
])
diff --git a/m4/cloexec.m4 b/m4/cloexec.m4
index f95320cc6..ab2d358a4 100644
--- a/m4/cloexec.m4
+++ b/m4/cloexec.m4
@@ -1,4 +1,4 @@
-# cloexec.m4 serial 3
+# serial 4
dnl Copyright (C) 2004, 2005 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,5 +10,5 @@ AC_DEFUN([gl_CLOEXEC],
AC_LIBOBJ([cloexec])
dnl Prerequisites of lib/cloexec.c.
- AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(unistd.h)
])
diff --git a/m4/dup2.m4 b/m4/dup2.m4
index ba9147da7..31af8044d 100644
--- a/m4/dup2.m4
+++ b/m4/dup2.m4
@@ -1,5 +1,5 @@
-# dup2.m4 serial 2
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+#serial 3
+dnl Copyright (C) 2002, 2005 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.
@@ -14,5 +14,5 @@ AC_DEFUN([gl_FUNC_DUP2],
# Prerequisites of lib/dup2.c.
AC_DEFUN([gl_PREREQ_DUP2], [
- AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(unistd.h)
])
diff --git a/m4/fsusage.m4 b/m4/fsusage.m4
index 2406a146a..dd10f7997 100644
--- a/m4/fsusage.m4
+++ b/m4/fsusage.m4
@@ -1,4 +1,4 @@
-# fsusage.m4 serial 15
+#serial 16
# Obtaining file system usage information.
# Copyright (C) 1997, 1998, 2000, 2001, 2003, 2004, 2005 Free Software
@@ -255,7 +255,6 @@ choke -- this is a workaround for a Sun-specific problem
AC_DEFUN([gl_PREREQ_FSUSAGE_EXTRA],
[
AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
- AC_CHECK_HEADERS_ONCE(fcntl.h)
AC_CHECK_HEADERS(dustat.h sys/fs/s5param.h sys/filsys.h sys/statfs.h sys/statvfs.h)
gl_STATFS_TRUNCATES
])
diff --git a/m4/getcwd.m4 b/m4/getcwd.m4
index 3e7e5dcba..2e8547511 100644
--- a/m4/getcwd.m4
+++ b/m4/getcwd.m4
@@ -63,6 +63,5 @@ AC_DEFUN([gl_PREREQ_GETCWD],
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_REQUIRE([AC_HEADER_DIRENT])
AC_REQUIRE([gl_CHECK_TYPE_STRUCT_DIRENT_D_INO])
- AC_CHECK_HEADERS_ONCE(fcntl.h)
:
])
diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4
index 7323ad4ca..88d38da04 100644
--- a/m4/jm-macros.m4
+++ b/m4/jm-macros.m4
@@ -187,7 +187,6 @@ AC_DEFUN([gl_MACROS],
AC_DEFUN([gl_CHECK_ALL_HEADERS],
[
AC_CHECK_HEADERS_ONCE( \
- fcntl.h \
hurd.h \
memory.h \
mntent.h \
diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4
index 13dec1f1c..fb6cfcdf7 100644
--- a/m4/mkstemp.m4
+++ b/m4/mkstemp.m4
@@ -1,4 +1,4 @@
-#serial 10
+#serial 11
# Copyright (C) 2001, 2003, 2004, 2005 Free Software Foundation, Inc.
# This file is free software; the Free Software Foundation
@@ -65,7 +65,7 @@ AC_DEFUN([gl_PREREQ_MKSTEMP],
# Prerequisites of lib/tempname.c.
AC_DEFUN([gl_PREREQ_TEMPNAME],
[
- AC_CHECK_HEADERS_ONCE(fcntl.h sys/time.h stdint.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(sys/time.h stdint.h unistd.h)
AC_CHECK_FUNCS(__secure_getenv gettimeofday)
AC_CHECK_DECLS_ONCE(getenv)
AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])
diff --git a/m4/mountlist.m4 b/m4/mountlist.m4
index d5d62a458..db06f8f18 100644
--- a/m4/mountlist.m4
+++ b/m4/mountlist.m4
@@ -1,4 +1,4 @@
-# mountlist.m4 serial 6
+#serial 7
dnl Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -20,7 +20,7 @@ AC_DEFUN([gl_MOUNTLIST],
AC_DEFUN([gl_PREREQ_MOUNTLIST_EXTRA],
[
dnl Note gl_LIST_MOUNTED_FILE_SYSTEMS checks for mntent.h, not sys/mntent.h.
- AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(unistd.h)
AC_CHECK_HEADERS(sys/mntent.h)
gl_FSTYPENAME
])
diff --git a/m4/save-cwd.m4 b/m4/save-cwd.m4
index fbe3279fa..7acdfeb85 100644
--- a/m4/save-cwd.m4
+++ b/m4/save-cwd.m4
@@ -1,4 +1,4 @@
-#serial 5
+#serial 6
dnl Copyright (C) 2002, 2003, 2004, 2005 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,5 +10,5 @@ AC_DEFUN([gl_SAVE_CWD],
AC_LIBOBJ([save-cwd])
dnl Prerequisites for lib/save-cwd.c.
AC_CHECK_FUNCS_ONCE(fchdir)
- AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(unistd.h)
])
diff --git a/m4/unistd-safer.m4 b/m4/unistd-safer.m4
index f672c876f..a1dc2b753 100644
--- a/m4/unistd-safer.m4
+++ b/m4/unistd-safer.m4
@@ -1,4 +1,4 @@
-# unistd-safer.m4 serial 3
+#serial 4
dnl Copyright (C) 2002, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -16,7 +16,7 @@ AC_DEFUN([gl_UNISTD_SAFER],
# Prerequisites of lib/dup-safer.c.
AC_DEFUN([gl_PREREQ_DUP_SAFER], [
- AC_CHECK_HEADERS_ONCE(fcntl.h unistd.h)
+ AC_CHECK_HEADERS_ONCE(unistd.h)
])
# Prerequisites of lib/fd-safer.c.