X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fafs.m4;h=05e4a5b29a1a442680abff69c23e08e3a6471a67;hb=2544ecc3ffdc44a0209c951cac5267d134352780;hp=13f3bc96d51224bf2eb06c7e01e985c36468df93;hpb=8dec69fabc2b9273080a36dac79e3a97001ce2be;p=gnulib.git diff --git a/m4/afs.m4 b/m4/afs.m4 index 13f3bc96d..05e4a5b29 100644 --- a/m4/afs.m4 +++ b/m4/afs.m4 @@ -1,12 +1,12 @@ -#serial 3 +#serial 7 -AC_DEFUN(jm_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 - fi - AC_MSG_RESULT($ac_result) -) +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 + ])