X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fafs.m4;h=fc1ea41b5af57f49cda194de9133dd55524190fb;hb=9a4ef223da492c45a9913fb232e3256044f8115e;hp=9e7d7731619ee91527c180f919b4472730f03463;hpb=e57a75aeced7cc15383a33a93586610ba777111c;p=gnulib.git diff --git a/m4/afs.m4 b/m4/afs.m4 index 9e7d77316..fc1ea41b5 100644 --- a/m4/afs.m4 +++ b/m4/afs.m4 @@ -1,13 +1,17 @@ -#serial 5 +# serial 10 -AC_DEFUN([jm_AFS], +# Copyright (C) 1999-2001, 2004, 2008-2011 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_DEFINE(AFS, 1, [Define if you have the Andrew File System.]) - ac_result=yes - else - ac_result=no + AC_ARG_WITH([afs], + AS_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.]) fi - AC_MSG_RESULT($ac_result) ])