annotate m4/sys_types_h.m4 @ 17341:6fbd3d9c1853

sys_types: Avoid autoconf warning about gl_SYS_TYPES_H. * m4/sys_types_h.m4 (gl_SYS_TYPES_H): Define through AC_DEFUN_ONCE.
author Bruno Haible <bruno@clisp.org>
date Sat, 02 Mar 2013 17:31:42 +0100
parents e542fd46ad6f
children 344018b6e5d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17341
6fbd3d9c1853 sys_types: Avoid autoconf warning about gl_SYS_TYPES_H.
Bruno Haible <bruno@clisp.org>
parents: 17249
diff changeset
1 # sys_types_h.m4 serial 5
17249
e542fd46ad6f maint: update all copyright year number ranges
Eric Blake <eblake@redhat.com>
parents: 16817
diff changeset
2 dnl Copyright (C) 2011-2013 Free Software Foundation, Inc.
15596
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 dnl This file is free software; the Free Software Foundation
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 dnl gives unlimited permission to copy and/or distribute it,
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 dnl with or without modifications, as long as this notice is preserved.
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6
17341
6fbd3d9c1853 sys_types: Avoid autoconf warning about gl_SYS_TYPES_H.
Bruno Haible <bruno@clisp.org>
parents: 17249
diff changeset
7 AC_DEFUN_ONCE([gl_SYS_TYPES_H],
15596
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 [
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS])
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 gl_NEXT_HEADERS([sys/types.h])
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 dnl Ensure the type pid_t gets defined.
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13 AC_REQUIRE([AC_TYPE_PID_T])
15629
f62fb3d6776f Support for MSVC compiler: Ensure mode_t gets defined.
Bruno Haible <bruno@clisp.org>
parents: 15596
diff changeset
14
f62fb3d6776f Support for MSVC compiler: Ensure mode_t gets defined.
Bruno Haible <bruno@clisp.org>
parents: 15596
diff changeset
15 dnl Ensure the type mode_t gets defined.
f62fb3d6776f Support for MSVC compiler: Ensure mode_t gets defined.
Bruno Haible <bruno@clisp.org>
parents: 15596
diff changeset
16 AC_REQUIRE([AC_TYPE_MODE_T])
16795
6a9ea5d7b466 Large File Support for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
17
6a9ea5d7b466 Large File Support for native Windows platforms.
Bruno Haible <bruno@clisp.org>
parents: 16201
diff changeset
18 dnl Whether to override the 'off_t' type.
16817
7747cb9b54b9 unistd_h: make it easier to avoid sys_types_h
Paul Eggert <eggert@cs.ucla.edu>
parents: 16795
diff changeset
19 AC_REQUIRE([gl_TYPE_OFF_T])
15596
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 ])
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS],
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 [
37c7cad1b0d9 New module 'sys_types'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 ])