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