From: short <> Date: Sat, 7 Apr 2001 15:03:39 +0000 (+0000) Subject: Implemented RTS/CTS handshaking (-C/--rtscts vs. -x/--xonxoff) X-Git-Tag: rel_1_5_1~17 X-Git-Url: http://git.jankratochvil.net/?p=mdsms.git;a=commitdiff_plain;h=a5d4eae63cff57da92ceb14f86fe33d9896a7baa Implemented RTS/CTS handshaking (-C/--rtscts vs. -x/--xonxoff) Used "-ggdb3" instead of just "-ggdb" for GCC in maintainer mode --- diff --git a/configure.in b/configure.in index e90c5d6..b935eb1 100644 --- a/configure.in +++ b/configure.in @@ -34,7 +34,7 @@ dnl Checks for programs. AC_PROG_CC if test "$USE_MAINTAINER_MODE" = yes;then if test "$GCC" = yes;then - CFLAGS="$CFLAGS -Wall -ansi -pedantic -ggdb" + CFLAGS="$CFLAGS -Wall -ansi -pedantic -ggdb3" if test x$efence != xno;then AC_CHECK_LIB(efence, EF_Exit) fi @@ -144,6 +144,21 @@ AC_TRY_COMPILE([ AC_DEFINE(HAVE_CBAUDEX) AC_MSG_RESULT(yes), AC_DEFINE(CBAUDEX, 0) AC_MSG_RESULT(no)) +AC_MSG_CHECKING([for CRTSCTS]) +AC_TRY_COMPILE([ +#ifdef HAVE_TERMIOS_H +#include +#endif], [CRTSCTS;], + AC_DEFINE(HAVE_CRTSCTS) AC_MSG_RESULT(yes),[ + if test "$USE_MAINTAINER_MODE" = yes ;then + AC_DEFINE(HAVE_CRTSCTS) AC_MSG_RESULT(faked for maintainer) + # from "RedHat: glibc-devel-2.2-5/bits/termios.h" + AC_DEFINE(CRTSCTS, 020000000000) + else + AC_DEFINE(CRTSCTS, 0) AC_MSG_RESULT(no) + fi + ]) + AC_MSG_CHECKING([for FD_SETSIZE]) AC_TRY_COMPILE([ #ifdef HAVE_SYS_TIME_H