New module 'termios'.
[gnulib.git] / m4 / termios_h.m4
1 # termios_h.m4 serial 1
2 dnl Copyright (C) 2010 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 AC_DEFUN([gl_TERMIOS_H],
8 [
9   dnl Use AC_REQUIRE here, so that the default behavior below is expanded
10   dnl once only, before all statements that occur in other macros.
11   AC_REQUIRE([gl_TERMIOS_H_DEFAULTS])
12
13   gl_CHECK_NEXT_HEADERS([termios.h])
14 ])
15
16 AC_DEFUN([gl_TERMIOS_MODULE_INDICATOR],
17 [
18   dnl Use AC_REQUIRE here, so that the default settings are expanded once only.
19   AC_REQUIRE([gl_TERMIOS_H_DEFAULTS])
20   gl_MODULE_INDICATOR_SET_VARIABLE([$1])
21   dnl Define it also as a C macro, for the benefit of the unit tests.
22   gl_MODULE_INDICATOR_FOR_TESTS([$1])
23 ])
24
25 AC_DEFUN([gl_TERMIOS_H_DEFAULTS],
26 [
27 ])