annotate modules/sys_ioctl @ 14700:6758fa38915e topic/libposix

manual merge
author Bruce Korb <bkorb@gnu.org>
date Fri, 06 May 2011 08:15:59 -0700
parents 8636d98120a9 049942251f65
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A <sys/ioctl.h> for systems with missing declarations.
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/sys_ioctl.in.h
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/sys_ioctl_h.m4
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 include_next
12943
2c1c5f9d6a39 sys_ioctl: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12766
diff changeset
10 c++defs
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 unistd
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12536
diff changeset
12 warn-on-use
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 configure.ac:
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 gl_SYS_IOCTL_H
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 AC_PROG_MKDIR_P
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 Makefile.am:
14108
873a3371d1d2 spell the pkginclude directory correctly.
Bruce Korb <bkorb@gnu.org>
parents: 14107
diff changeset
19 nobase_nodist_pkginclude_HEADERS += sys/ioctl.h
14102
f49fe7e6d028 add _HEADERS primaries to Makefile.am snippets for installable headers
Gary V. Vaughan <gary@gnu.org>
parents: 13761
diff changeset
20
12536
cd64e80f94e4 link-warning: always build headers with link warnings
Eric Blake <ebb9@byu.net>
parents: 12410
diff changeset
21 BUILT_SOURCES += sys/ioctl.h
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 # We need the following in order to create <sys/ioctl.h> when the system
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 # does not have a complete one.
14527
049942251f65 Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
25 sys/ioctl.h: sys_ioctl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
11926
79c91e5cce7a Use $(MKDIR_P) instead of @MKDIR_P@.
Simon Josefsson <simon@josefsson.org>
parents: 11868
diff changeset
26 $(AM_V_at)$(MKDIR_P) sys
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11801
diff changeset
27 $(AM_V_GEN)rm -f $@-t $@ && \
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 sed -e 's|@''HAVE_SYS_IOCTL_H''@|$(HAVE_SYS_IOCTL_H)|g' \
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
13761
a19ace3ba849 Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents: 13088
diff changeset
32 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 -e 's|@''NEXT_SYS_IOCTL_H''@|$(NEXT_SYS_IOCTL_H)|g' \
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 -e 's|@''GNULIB_IOCTL''@|$(GNULIB_IOCTL)|g' \
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H)|g' \
11801
a29d6bab4448 Make it possible to use module 'gethostname' without module 'close' or 'ioctl'.
Bruno Haible <bruno@clisp.org>
parents: 10615
diff changeset
36 -e 's|@''SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
13088
dbbdff0be05d Fix ioctl's protoype on glibc systems.
Bruno Haible <bruno@clisp.org>
parents: 12943
diff changeset
37 -e 's|@''REPLACE_IOCTL''@|$(REPLACE_IOCTL)|g' \
12943
2c1c5f9d6a39 sys_ioctl: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12766
diff changeset
38 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12536
diff changeset
39 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 < $(srcdir)/sys_ioctl.in.h; \
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11801
diff changeset
41 } > $@-t && \
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42 mv $@-t $@
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43 MOSTLYCLEANFILES += sys/ioctl.h sys/ioctl.h-t
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
44 MOSTLYCLEANDIRS += sys
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11926
diff changeset
47 <sys/ioctl.h>
10615
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49 License:
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50 LGPLv2+
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
52 Maintainer:
be40ec1f7b03 New module 'sys_ioctl'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
53 all