diff options
Diffstat (limited to 'm4/afs.m4')
-rw-r--r-- | m4/afs.m4 | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,13 +1,17 @@ | |||
1 | #serial 5 | 1 | #serial 8 |
2 | 2 | ||
3 | AC_DEFUN([jm_AFS], | 3 | # Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc. |
4 | # This file is free software; the Free Software Foundation | ||
5 | # gives unlimited permission to copy and/or distribute it, | ||
6 | # with or without modifications, as long as this notice is preserved. | ||
7 | |||
8 | AC_DEFUN([gl_AFS], | ||
4 | [ | 9 | [ |
5 | AC_MSG_CHECKING(for AFS) | 10 | AC_ARG_WITH(afs, |
6 | if test -d /afs; then | 11 | AC_HELP_STRING([--with-afs], |
12 | [support for the Andrew File System [[default=no]]]), | ||
13 | test "$withval" = no || with_afs=yes, with_afs=no) | ||
14 | if test "$with_afs" = yes; then | ||
7 | AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.]) | 15 | AC_DEFINE(AFS, 1, [Define if you have the Andrew File System.]) |
8 | ac_result=yes | ||
9 | else | ||
10 | ac_result=no | ||
11 | fi | 16 | fi |
12 | AC_MSG_RESULT($ac_result) | ||
13 | ]) | 17 | ]) |