Revision 24069,
935 bytes
checked in by broder, 15 years ago
(diff) |
In locker:
* Add a configure-time option to tear the NFS (and therefore the krb4)
out of liblocker.
* Shell out to aklog, instead of duplicating all of its code.
* On Debathena, build without NFS support.
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | AC_INIT(locker.h) |
---|
3 | |
---|
4 | AC_PROG_CC |
---|
5 | AC_PROG_INSTALL |
---|
6 | AC_PROG_RANLIB |
---|
7 | |
---|
8 | AC_ARG_ENABLE([nfs], |
---|
9 | [AS_HELP_STRING([--enable-nfs], [support for kNFS lockers (deprecated)])]) |
---|
10 | |
---|
11 | if test "$enable_nfs" = "yes"; then |
---|
12 | AC_DEFINE([ENABLE_NFS],[1],[Support for kNFS lockers (deprecated).]) |
---|
13 | |
---|
14 | AC_PATH_PROG(MOUNT_CMD, mount, , ${PATH}:/sbin:/usr/sbin) |
---|
15 | AC_PATH_PROG(UMOUNT_CMD, umount, , ${PATH}:/sbin:/usr/sbin) |
---|
16 | |
---|
17 | AC_MSG_CHECKING(if rpcsvc/mount.h needs sys/fs/nfs.h) |
---|
18 | AC_TRY_COMPILE([ |
---|
19 | #include <rpc/rpc.h> |
---|
20 | #include <rpcsvc/mount.h> |
---|
21 | ], , AC_MSG_RESULT(no), AC_TRY_COMPILE([ |
---|
22 | #include <rpc/rpc.h> |
---|
23 | #include <sys/fs/nfs.h> |
---|
24 | #include <rpcsvc/mount.h> |
---|
25 | ], , AC_MSG_RESULT(yes) |
---|
26 | AC_DEFINE(NEED_SYS_FS_NFS_H), |
---|
27 | AC_MSG_ERROR(couldn't include rpcsvc/mount.h))) |
---|
28 | |
---|
29 | ATHENA_KRB4_REQUIRED |
---|
30 | fi |
---|
31 | |
---|
32 | ATHENA_KRB5_REQUIRED |
---|
33 | ATHENA_AFS_REQUIRED |
---|
34 | ATHENA_HESIOD_REQUIRED |
---|
35 | |
---|
36 | AC_OUTPUT(Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.