X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fafs.m4;h=e7ebafaeadb6053cb928e63c9e351c4091b51254;hb=e69a17d02ee0bc09acf4498515fd6934160c9923;hp=fa568ba93abc2e5cc2c351cc88d108fc208939db;hpb=23fe10e274cf20fb2cb75ea1da9556a733106657;p=gnulib.git diff --git a/m4/afs.m4 b/m4/afs.m4 index fa568ba93..e7ebafaea 100644 --- a/m4/afs.m4 +++ b/m4/afs.m4 @@ -1,13 +1,17 @@ -#serial 6 +# serial 10 + +# Copyright (C) 1999-2001, 2004, 2008-2010 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) ])