dnl Deprecated crypto
AC_ARG_ENABLE([kauth],
- [AS_HELP_STRING([--disable-kauth],
- [do not install the deprecated kauth server and utilities (defaults to
- enabled)])],
+ [AS_HELP_STRING([--enable-kauth],
+ [install the deprecated kauth server and utilities (defaults to
+ disabled)])],
,
- [enable_kauth="yes"])
+ [enable_kauth="no"])
dnl Optimization and debugging flags.
AC_ARG_ENABLE([strip-binaries],
AFS_SYSNAME="x86_darwin_120"
OSXSDK="macosx10.8"
;;
+ x86_64-apple-darwin13.*)
+ AFS_SYSNAME="x86_darwin_130"
+ OSXSDK="macosx10.9"
+ ;;
+ i?86-apple-darwin13.*)
+ AFS_SYSNAME="x86_darwin_130"
+ OSXSDK="macosx10.9"
+ ;;
sparc-sun-solaris2.8)
AFS_SYSNAME="sun4x_58"
;;
dnl Type existence checks
AC_CHECK_LINUX_TYPE([struct vfs_path], [dcache.h])
+ AC_CHECK_LINUX_TYPE([kuid_t], [uidgid.h])
dnl Check for structure elements
AC_CHECK_LINUX_STRUCT([address_space_operations],
AC_CHECK_LINUX_STRUCT([file_operations], [iterate], [fs.h])
AC_CHECK_LINUX_STRUCT([file_operations], [sendfile], [fs.h])
AC_CHECK_LINUX_STRUCT([file_system_type], [mount], [fs.h])
- AC_CHECK_LINUX_STRUCT([filename], [name], [fs.h])
AC_CHECK_LINUX_STRUCT([inode_operations], [truncate], [fs.h])
AC_CHECK_LINUX_STRUCT([key_type], [preparse], [key-type.h])
AC_CHECK_LINUX_STRUCT([key_type], [instantiate_prep], [key-type.h])
AC_CHECK_LINUX_FUNC([set_nlink],
[#include <linux/fs.h>],
[set_nlink(NULL, 1);])
+ AC_CHECK_LINUX_FUNC([sock_create_kern],
+ [#include <linux/net.h>],
+ [sock_create_kern(0, 0, 0, NULL);])
AC_CHECK_LINUX_FUNC([splice_direct_to_actor],
[#include <linux/splice.h>],
[splice_direct_to_actor(NULL,NULL,NULL);])
arpa/nameser.h \
curses.h\
direct.h \
- et/com_err.h \
errno.h \
fcntl.h \
grp.h \
#include <dirent.h>
#endif])
+OPENAFS_HAVE_STRUCT_FIELD(struct rusage, ru_idrss,
+[#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif])
+
dnl Eventually, this will look for the system one, or for OpenSSL
LIB_hcrypto="-lafshcrypto"
LDFLAGS_hcrypto="-L\$(TOP_LIBDIR)"
])
-AC_DEFUN([SUMMARY], [
- # Print a configuration summary
-echo
-echo "**************************************"
-echo configure summary
-echo
-AS_IF([test $LIB_curses],[
-echo "LIB_curses : $LIB_curses" ],[
-echo "XXX LIB_curses not found! not building scout and afsmonitor!"
-])
-echo
-echo "**************************************"
-])