| 1 |
# Autoconf macros for xdvik. |
| 2 |
# Copyright (C) 2001 - 2009 Paul Vojta <[email protected]> |
| 3 |
# |
| 4 |
# This file is free software; the copyright holder |
| 5 |
# gives unlimited permission to copy and/or distribute it, |
| 6 |
# with or without modifications, as long as this notice is preserved. |
| 7 |
|
| 8 |
# XDVI_SYS_OLD_LINUX |
| 9 |
# ------------------ |
| 10 |
# Check for certain broken versions of Linux. |
| 11 |
AC_DEFUN([XDVI_SYS_OLD_LINUX], |
| 12 |
[AC_CACHE_CHECK([for certain old versions of Linux], |
| 13 |
[xdvi_cv_sys_old_linux], |
| 14 |
[AS_CASE(["`(uname -sr) 2>/dev/null`"], |
| 15 |
[["Linux 2."[01].* | "Linux 2.2."[0-8] | "Linux 2.2."[0-8]-*]], |
| 16 |
[xdvi_cv_sys_old_linux=yes], |
| 17 |
[xdvi_cv_sys_old_linux=no])]) |
| 18 |
if test "x$xdvi_cv_sys_old_linux" = xyes; then |
| 19 |
AC_DEFINE([FLAKY_SIGPOLL], 1, |
| 20 |
[Define if you are using Linux 2.1.xxx -- 2.2.8, or if you find it necessary.]) |
| 21 |
fi |
| 22 |
]) # XDVI_SYS_OLD_LINUX |