summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4
diff options
context:
space:
mode:
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.m428
1 files changed, 18 insertions, 10 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
index 7d7fe046fc6..7b7f80ee483 100644
--- a/Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4
+++ b/Build/source/texk/xdvik/m4/xdvi-sys-old-linux.m4
@@ -1,14 +1,22 @@
-dnl ### Check for certain broken versions of Linux
+# Autoconf macros for xdvik.
+# Copyright (C) 2001 - 2009 Paul Vojta <xdvi-core@lists.sourceforge.net>
+#
+# This file is free software; the copyright holder
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+# XDVI_SYS_OLD_LINUX
+# ------------------
+# 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_CACHE_CHECK([for certain old versions of Linux],
+ [xdvi_cv_sys_old_linux],
+ [AS_CASE(["`(uname -sr) 2>/dev/null`"],
+ [["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])])
+if test "x$xdvi_cv_sys_old_linux" = xyes; 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])
-
+fi
+]) # XDVI_SYS_OLD_LINUX