Add standard GNU configure and build system (autoconf+automake).

Enable termio backend in sysunix.c (HAVE_TERMIO_H)

Modify original sources to fit standard macros defined in config.h
This commit is contained in:
Joachim Nilsson
2008-06-07 21:03:48 +02:00
parent ad061041f1
commit afb65c0d75
15 changed files with 10690 additions and 6 deletions

View File

@@ -34,7 +34,7 @@ rl_ttyset(Reset)
}
#else
#if defined(HAVE_TERMIO)
#if defined(HAVE_TERMIO_H)
#include <termio.h>
void
@@ -101,7 +101,7 @@ rl_ttyset(Reset)
(void)ioctl(0, TIOCSETC, &old_tchars);
}
}
#endif /* defined(HAVE_TERMIO) */
#endif /* defined(HAVE_TERMIO_H) */
#endif /* defined(HAVE_TCGETATTR) */
void