X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fafs.m4;h=6f7a56cc768993a8deba88dabb95ab8bb8d48b66;hb=7c2e3224d43b0f4a390e2727b637bab39f78fd2f;hp=5153f90e6301e17984967db80b7f29f32747e6d9;hpb=3858b6f20130f691d7e3ccb33ebdee3ca500041d;p=gnulib.git diff --git a/m4/afs.m4 b/m4/afs.m4 index 5153f90e6..6f7a56cc7 100644 --- a/m4/afs.m4 +++ b/m4/afs.m4 @@ -1,7 +1,17 @@ -#serial 1 +#serial 8 -AC_DEFUN(jm_AFS, - AC_CHECKING(for AFS) - test -d /afs \ - && AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.]) -) +# 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_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.]) + fi + ])