(xreadlink): Omit size_t* arg. All uses changed.
[gnulib.git] / m4 / afs.m4
index 5153f90..bbc4744 100644 (file)
--- 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)
 )