aboutsummaryrefslogtreecommitdiff
path: root/m4/afs.m4
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-18 22:05:43 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-18 22:05:43 +0000
commita8cd7705e7898d77764aa12ddcc2e29de1860138 (patch)
tree970f609cbecbe515998907fd55a12f814ad2edcd /m4/afs.m4
parent08394ddb2d62ec8aab9121e45ab9c1a102e85ba4 (diff)
downloadmonitoring-plugins-a8cd7705e7898d77764aa12ddcc2e29de1860138.tar.gz
Synchronise with coreutils 2.95. Gettext now synced with coreutils,
so no longer development platform requirement git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1394 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4/afs.m4')
-rw-r--r--m4/afs.m420
1 files changed, 12 insertions, 8 deletions
diff --git a/m4/afs.m4 b/m4/afs.m4
index 9e7d7731..6f7a56cc 100644
--- a/m4/afs.m4
+++ b/m4/afs.m4
@@ -1,13 +1,17 @@
-#serial 5
+#serial 8
-AC_DEFUN([jm_AFS],
+# Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+AC_DEFUN([gl_AFS],
[
- AC_MSG_CHECKING(for AFS)
- if test -d /afs; then
+ AC_ARG_WITH(afs,
+ AC_HELP_STRING([--with-afs],
+ [support for the Andrew File System [[default=no]]]),
+ test "$withval" = no || with_afs=yes, with_afs=no)
+ if test "$with_afs" = yes; then
AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.])
- ac_result=yes
- else
- ac_result=no
fi
- AC_MSG_RESULT($ac_result)
])