Mercurial > hg > octave-jordi > gnulib-hg
annotate m4/fcntl_h.m4 @ 12559:c2cbabec01dd
update nearly all FSF copyright year lists to include 2010
Use the same procedure as for 2009, outlined in
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Fri, 01 Jan 2010 10:31:12 +0100 |
parents | 5bdbb871dd27 |
children | 2c14f1e449e5 |
rev | line source |
---|---|
12502
5bdbb871dd27
Move gl_FCNTL_O_FLAGS to a separate .m4 file.
Bruno Haible <bruno@clisp.org>
parents:
12456
diff
changeset
|
1 # serial 9 |
7225 | 2 # Configure fcntl.h. |
12559
c2cbabec01dd
update nearly all FSF copyright year lists to include 2010
Jim Meyering <meyering@redhat.com>
parents:
12502
diff
changeset
|
3 dnl Copyright (C) 2006, 2007, 2009, 2010 Free Software Foundation, Inc. |
7225 | 4 dnl This file is free software; the Free Software Foundation |
5 dnl gives unlimited permission to copy and/or distribute it, | |
6 dnl with or without modifications, as long as this notice is preserved. | |
7 | |
8 dnl Written by Paul Eggert. | |
9 | |
10 AC_DEFUN([gl_FCNTL_H], | |
11 [ | |
11482 | 12 AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) |
12180
2c71cf09ef7e
Avoid symlink attack in localcharset module.
Bruno Haible <bruno@clisp.org>
parents:
12051
diff
changeset
|
13 AC_REQUIRE([gl_FCNTL_O_FLAGS]) |
2c71cf09ef7e
Avoid symlink attack in localcharset module.
Bruno Haible <bruno@clisp.org>
parents:
12051
diff
changeset
|
14 gl_CHECK_NEXT_HEADERS([fcntl.h]) |
2c71cf09ef7e
Avoid symlink attack in localcharset module.
Bruno Haible <bruno@clisp.org>
parents:
12051
diff
changeset
|
15 ]) |
2c71cf09ef7e
Avoid symlink attack in localcharset module.
Bruno Haible <bruno@clisp.org>
parents:
12051
diff
changeset
|
16 |
9299 | 17 AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], |
18 [ | |
19 dnl Use AC_REQUIRE here, so that the default settings are expanded once only. | |
20 AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) | |
21 GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 | |
22 ]) | |
23 | |
24 AC_DEFUN([gl_FCNTL_H_DEFAULTS], | |
25 [ | |
12454
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
12421
diff
changeset
|
26 GNULIB_FCNTL=0; AC_SUBST([GNULIB_FCNTL]) |
12047
21ec8b9a3f27
openat: fix openat bugs on Solaris 9
Eric Blake <ebb9@byu.net>
parents:
11966
diff
changeset
|
27 GNULIB_OPEN=0; AC_SUBST([GNULIB_OPEN]) |
21ec8b9a3f27
openat: fix openat bugs on Solaris 9
Eric Blake <ebb9@byu.net>
parents:
11966
diff
changeset
|
28 GNULIB_OPENAT=0; AC_SUBST([GNULIB_OPENAT]) |
9299 | 29 dnl Assume proper GNU behavior unless another module says otherwise. |
12456
f3aceada3c52
fcntl: port portions of fcntl to mingw
Eric Blake <ebb9@byu.net>
parents:
12454
diff
changeset
|
30 HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) |
12047
21ec8b9a3f27
openat: fix openat bugs on Solaris 9
Eric Blake <ebb9@byu.net>
parents:
11966
diff
changeset
|
31 HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) |
12454
f7624052e60d
fcntl: support F_DUPFD_CLOEXEC on systems with fcntl
Eric Blake <ebb9@byu.net>
parents:
12421
diff
changeset
|
32 REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) |
12047
21ec8b9a3f27
openat: fix openat bugs on Solaris 9
Eric Blake <ebb9@byu.net>
parents:
11966
diff
changeset
|
33 REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) |
21ec8b9a3f27
openat: fix openat bugs on Solaris 9
Eric Blake <ebb9@byu.net>
parents:
11966
diff
changeset
|
34 REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT]) |
9299 | 35 ]) |