source: trunk/athena/lib/locker/configure.in @ 12582

Revision 12582, 672 bytes checked in by danw, 26 years ago (diff)
liblocker, a library for attaching, detaching, and otherwise dealing with lockers
Line 
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(locker.h)
3
4AC_PROG_CC
5AC_PROG_INSTALL
6AC_PROG_RANLIB
7AC_PATH_PROG(MOUNT_CMD, mount, , ${PATH}:/sbin:/usr/sbin)
8AC_PATH_PROG(UMOUNT_CMD, umount, , ${PATH}:/sbin:/usr/sbin)
9
10AC_MSG_CHECKING(if rpcsvc/mount.h needs sys/fs/nfs.h)
11AC_TRY_COMPILE([
12#include <rpc/rpc.h>
13#include <rpcsvc/mount.h>
14], , AC_MSG_RESULT(no), AC_TRY_COMPILE([
15#include <rpc/rpc.h>
16#include <sys/fs/nfs.h>
17#include <rpcsvc/mount.h>
18], , AC_MSG_RESULT(yes)
19     AC_DEFINE(NEED_SYS_FS_NFS_H),
20  AC_MSG_ERROR(couldn't include rpcsvc/mount.h)))
21
22ATHENA_KRB4_REQUIRED
23ATHENA_AFS_REQUIRED
24ATHENA_HESIOD_REQUIRED
25
26AC_OUTPUT(Makefile)
Note: See TracBrowser for help on using the repository browser.