diff options
Diffstat (limited to 'Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4')
-rw-r--r-- | Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4 b/Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4 new file mode 100644 index 00000000000..7d7fe046fc6 --- /dev/null +++ b/Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4 @@ -0,0 +1,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]) + |