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.
7 AC_DEFUN([gl_TERMIOS_H],
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])
13 gl_CHECK_NEXT_HEADERS([termios.h])
16 AC_DEFUN([gl_TERMIOS_MODULE_INDICATOR],
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])
25 AC_DEFUN([gl_TERMIOS_H_DEFAULTS],