summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4
blob: 7d7fe046fc6118e91c3316c61d23be39f6458a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
dnl ### Check for certain broken versions of Linux

AC_DEFUN([XDVI_SYS_OLD_LINUX],
[AC_CACHE_CHECK([for certain old versions of Linux], xdvi_cv_sys_old_linux,
[case "`(uname -sr) 2>/dev/null`" in
"Linux 2."[[01]].* | "Linux 2.2."[[0-8]] | "Linux 2.2."[[0-8]]-*)
  xdvi_cv_sys_old_linux=yes ;;
*) xdvi_cv_sys_old_linux=no ;;
esac])
if test $xdvi_cv_sys_old_linux = yes; then
  AC_DEFINE([FLAKY_SIGPOLL], 1,
            [Define if you are using Linux 2.1.xxx -- 2.2.8, or if you find it necessary.])
fi])