X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fafs.m4;h=05e4a5b29a1a442680abff69c23e08e3a6471a67;hb=47d388a0d92a7bf22ec80fd9438041fe412d41d9;hp=8ca39615f3562cc7c3f9736a9f669e26ed9f002b;hpb=55d60367e77ca276a46cf364db86dc8f66d12ead;p=gnulib.git diff --git a/m4/afs.m4 b/m4/afs.m4 index 8ca39615f..05e4a5b29 100644 --- a/m4/afs.m4 +++ b/m4/afs.m4 @@ -1,7 +1,12 @@ -#serial 2 +#serial 7 -AC_DEFUN(jm_AFS, - AC_MSG_CHECKING(for AFS) - test -d /afs \ - && AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.]) -) +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 + ])