summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/m4/xdvi-sys-sunos4.m4
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/xdvik/m4/xdvi-sys-sunos4.m4')
-rw-r--r--Build/source/texk/xdvik/m4/xdvi-sys-sunos4.m428
1 files changed, 18 insertions, 10 deletions
diff --git a/Build/source/texk/xdvik/m4/xdvi-sys-sunos4.m4 b/Build/source/texk/xdvik/m4/xdvi-sys-sunos4.m4
index 3d19e3b2a4e..45e52761355 100644
--- a/Build/source/texk/xdvik/m4/xdvi-sys-sunos4.m4
+++ b/Build/source/texk/xdvik/m4/xdvi-sys-sunos4.m4
@@ -1,13 +1,21 @@
-dnl ### Check for SunOS 4
+# Autoconf macros for xdvik.
+# Copyright (C) 1999 - 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_SUNOS_4
+# ----------------
+# Check for SunOS 4.
AC_DEFUN([XDVI_SYS_SUNOS_4],
-[AC_CACHE_CHECK([for SunOS 4], xdvi_cv_sys_sunos_4,
-[case "`(uname -sr) 2>/dev/null`" in
-"SunOS 4."*)
- xdvi_cv_sys_sunos_4=yes ;;
-*) xdvi_cv_sys_sunos_4=no ;;
-esac])
-if test $xdvi_cv_sys_sunos_4 = yes; then
+[AC_CACHE_CHECK([for SunOS 4],
+ [xdvi_cv_sys_sunos_4],
+ [AS_CASE(["`(uname -sr) 2>/dev/null`"],
+ ["SunOS 4."*],
+ [xdvi_cv_sys_sunos_4=yes],
+ [xdvi_cv_sys_sunos_4=no])])
+if test "x$xdvi_cv_sys_sunos_4" = xyes; then
AC_DEFINE([SUNOS4], 1, [Define if you are using SunOS 4.x.])
-fi])
-
+fi
+]) # XDVI_SYS_SUNOS_4