1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
$NetBSD: patch-aj,v 1.2 2002/05/20 19:07:42 cjep Exp $
--- acinclude.m4.orig Tue Aug 28 14:56:47 2001
+++ acinclude.m4 Tue Aug 28 14:58:27 2001
@@ -251,19 +251,6 @@
done
])
-dnl AC_C_VOLATILE
-AC_DEFUN(AC_C_VOLATILE,
-[ AC_MSG_CHECKING([for working volatile])
- AC_CACHE_VAL(ac_cv_c_volatile,
- [ AC_TRY_COMPILE(,[
-extern volatile int errno;
-], ac_cv_c_volatile=yes, ac_cv_c_volatile=no)])dnl
- AC_MSG_RESULT($ac_cv_c_volatile)
-if test $ac_cv_c_volatile = no; then
- AC_DEFINE(volatile, )
-fi
-])
-
dnl AC_C_NOSHARE
AC_DEFUN(AC_C_NOSHARE,
[ AC_MSG_CHECKING([for working noshare])
@@ -401,23 +388,6 @@
if test $ac_cv_weird_accept = yes; then
AC_DEFINE(WEIRD_ACCEPT)
fi
-])
-
-dnl AC_HEADER_TIOCGWINSZ
-AC_DEFUN(AC_HEADER_TIOCGWINSZ,
-[ AC_MSG_CHECKING([for TIOCGWINSZ get-window-size capability])
- AC_CACHE_VAL(ac_cv_header_tiocgwinsz,
- [ AC_HEADER_INCLUDE(tmp_inc_termios, sys/termios.h termios.h)
- AC_EGREP_HEADER(yes, [
-$tmp_inc_termios
-#ifdef TIOCGWINSZ
- yes
-#endif
-], ac_cv_header_tiocgwinsz=yes, ac_cv_header_tiocgwinsz=no)])dnl
- AC_MSG_RESULT($ac_cv_header_tiocgwinsz)
-if test $ac_cv_header_tiocgwinsz = yes; then
- AC_DEFINE(GET_SCREEN_SIZE)
-fi
])
dnl AC_SYS_NEED_SIGNAL_RESET
|