~ubuntu-branches/ubuntu/precise/openafs/precise-proposed

« back to all changes in this revision

Viewing changes to acinclude.m4

  • Committer: Package Import Robot
  • Author(s): Russ Allbery
  • Date: 2012-03-28 17:25:05 UTC
  • mfrom: (28.2.13 sid)
  • Revision ID: package-import@ubuntu.com-20120328172505-y9iycrlfhtfsn7mv
Tags: 1.6.1-1
* New upstream release.
  - Do not ignore all InlineBulkStatus errors in file server.
  - Support for Linux 3.3 and 3.4.
  - Fix incorrect kernel error handling in afs_notify_change.
  - Fix locking around RXS_PreparePacket.

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
        [disable compilation of the kernel module with optimization (defaults
201
201
         based on platform)])],
202
202
    , 
203
 
    [enable_optimize_kernel="yes"])
 
203
    [enable_optimize_kernel=""])
204
204
AC_ARG_ENABLE([debug-lwp],
205
205
    [AS_HELP_STRING([--enable-debug-lwp],
206
206
        [enable compilation of the LWP code with debugging information
847
847
                 AC_CHECK_LINUX_FUNC([d_alloc_anon],
848
848
                                     [#include <linux/fs.h>],
849
849
                                     [d_alloc_anon(NULL);])
 
850
                 AC_CHECK_LINUX_FUNC([d_make_root],
 
851
                                     [#include <linux/fs.h>],
 
852
                                     [d_make_root(NULL);])
850
853
                 AC_CHECK_LINUX_FUNC([do_sync_read],
851
854
                                     [#include <linux/fs.h>],
852
855
                                     [do_sync_read(NULL, NULL, 0, NULL);])
887
890
                 AC_CHECK_LINUX_FUNC([rcu_read_lock],
888
891
                                     [#include <linux/rcupdate.h>],
889
892
                                     [rcu_read_lock();])
 
893
                 AC_CHECK_LINUX_FUNC([set_nlink],
 
894
                                     [#include <linux/fs.h>],
 
895
                                     [set_nlink(NULL, 1);])
890
896
                 AC_CHECK_LINUX_FUNC([splice_direct_to_actor],
891
897
                                     [#include <linux/splice.h>],
892
898
                                     [splice_direct_to_actor(NULL,NULL,NULL);])
896
902
                 AC_CHECK_LINUX_FUNC([zero_user_segments],
897
903
                                     [#include <linux/highmem.h>],
898
904
                                     [zero_user_segments(NULL, 0, 0, 0, 0);])
 
905
                 AC_CHECK_LINUX_FUNC([noop_fsync],
 
906
                                     [#include <linux/fs.h>],
 
907
                                     [void *address = &noop_fsync; printk("%p\n", address)];)
899
908
 
900
909
                 dnl Consequences - things which get set as a result of the
901
910
                 dnl                above tests
944
953
                 LINUX_REGISTER_SYSCTL_TABLE_NOFLAG
945
954
                 LINUX_HAVE_DCACHE_LOCK
946
955
                 LINUX_D_COUNT_IS_INT
947
 
                 LINUX_HAVE_SET_NLINK
 
956
                 LINUX_IOP_MKDIR_TAKES_UMODE_T
 
957
                 LINUX_IOP_CREATE_TAKES_UMODE_T
948
958
 
949
959
                 dnl If we are guaranteed that keyrings will work - that is
950
960
                 dnl  a) The kernel has keyrings enabled
1310
1320
AC_CHECK_FUNCS(setvbuf vsyslog getcwd)
1311
1321
AC_CHECK_FUNCS(regcomp regexec regerror)
1312
1322
AC_CHECK_FUNCS(fseeko64 ftello64 pread preadv pwrite pwritev preadv64 pwritev64)
 
1323
AC_CHECK_FUNCS([setenv unsetenv])
1313
1324
 
1314
1325
case $AFS_SYSNAME in
1315
1326
*hp_ux* | *hpux*)