X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fafs.m4;h=9e7d7731619ee91527c180f919b4472730f03463;hb=1bb8cb70f5271120ecc1f88dd58fb5b79b84353d;hp=8ca39615f3562cc7c3f9736a9f669e26ed9f002b;hpb=55d60367e77ca276a46cf364db86dc8f66d12ead;p=gnulib.git diff --git a/m4/afs.m4 b/m4/afs.m4 index 8ca39615f..9e7d77316 100644 --- a/m4/afs.m4 +++ b/m4/afs.m4 @@ -1,7 +1,13 @@ -#serial 2 +#serial 5 -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([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) + ])