summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-10 15:22:44 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-10 15:22:44 +1000
commitb2427c82bb8e152c1c792302b60a823268654824 (patch)
tree6e55da78db6649e764d9d7d9b9f0ddd6e16430f2 /configure.ac
parent9f7ffc5a17db16b3d79fdc9ad2379cf38430092a (diff)
- (dtucker) [configure.ac] Part of bug #615: tcsendbreak might be a macro.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 16cc1282..cac1bbf2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.148 2003/09/10 01:39:05 dtucker Exp $
+# $Id: configure.ac,v 1.149 2003/09/10 05:22:45 dtucker Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@@ -671,7 +671,7 @@ AC_CHECK_FUNCS(\
setdtablesize setegid setenv seteuid setgroups setlogin setpcred \
setproctitle setregid setresgid setresuid setreuid setrlimit \
setsid setvbuf sigaction sigvec snprintf socketpair strerror \
- strlcat strlcpy strmode strnvis sysconf tcgetpgrp tcsendbreak \
+ strlcat strlcpy strmode strnvis sysconf tcgetpgrp \
truncate utimes vhangup vsnprintf waitpid \
)
@@ -682,6 +682,13 @@ dnl Make sure prototypes are defined for these before using them.
AC_CHECK_DECL(strsep, [AC_CHECK_FUNCS(strsep)])
AC_CHECK_DECL(getrusage, [AC_CHECK_FUNCS(getrusage)])
+dnl tcsendbreak might be a macro
+AC_CHECK_DECL(tcsendbreak,
+ [AC_DEFINE(HAVE_TCSENDBREAK)],
+ [AC_CHECK_FUNCS(tcsendbreak)],
+ [#include <termios.h>]
+)
+
dnl IRIX and Solaris 2.5.1 have dirname() in libgen
AC_CHECK_FUNCS(dirname, [AC_CHECK_HEADERS(libgen.h)] ,[
AC_CHECK_LIB(gen, dirname,[