New module 'termios'.
[gnulib.git] / modules / termios
1 Description:
2 A <termios.h> that works around platform issues.
3
4 Files:
5 lib/termios.in.h
6 m4/termios_h.m4
7
8 Depends-on:
9 include_next
10
11 configure.ac:
12 gl_TERMIOS_H
13
14 Makefile.am:
15 BUILT_SOURCES += termios.h
16
17 # We need the following in order to create <termios.h> when the system
18 # version does not have all declarations.
19 termios.h: termios.in.h
20         $(AM_V_GEN)rm -f $@-t $@ && \
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
23               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
24               -e 's|@''NEXT_TERMIOS_H''@|$(NEXT_TERMIOS_H)|g' \
25             < $(srcdir)/termios.in.h; \
26         } > $@-t && \
27         mv $@-t $@
28 MOSTLYCLEANFILES += termios.h termios.h-t
29
30 Include:
31 <termios.h>
32
33 License:
34 LGPL
35
36 Maintainer:
37 Bruno Haible