Make OpenAFS 1.9.0
[openafs.git] / acinclude.m4
1 dnl This file contains the common configuration code which would
2 dnl otherwise be duplicated between configure and configure-libafs.
3 dnl
4 dnl NB: Because this code is a macro, references to positional shell
5 dnl parameters must be done like $[]1 instead of $1
6
7 AC_DEFUN([OPENAFS_CONFIGURE_COMMON],[
8 OPENAFS_AUTOHEADER_BOTTOM
9 AC_CANONICAL_HOST
10 SRCDIR_PARENT=`pwd`
11
12 #BOZO_SAVE_CORES pam
13 OPENAFS_OPTIONS
14 OPENAFS_DOC
15
16 dnl Checks for UNIX variants.
17 AC_SEARCH_LIBS([strerror],[cposix])
18
19 dnl Various compiler setup.
20 AC_TYPE_PID_T
21 AC_TYPE_SIZE_T
22
23 dnl Checks for programs.
24 AC_PROG_INSTALL
25 AC_PROG_LN_S
26 AC_PROG_RANLIB
27 AC_PROG_YACC
28 OPENAFS_LEX
29
30 dnl Checks
31 OPENAFS_FORCE_ABS_INSTALL
32 OPENAFS_CHECK_BIGENDIAN
33 OPENAFS_PRINTF_TAKES_Z_LEN
34 OPENAFS_OSTYPE
35 OPENAFS_SYSNAME
36 OPENAFS_OSCONF
37 OPENAFS_LINUX_CHECKS
38 OPENAFS_C_ATOMIC_CHECKS
39 OPENAFS_SOCKET_CHECKS
40 OPENAFS_LIBRARY_CHECKS
41 AC_CHECK_RESOLV_RETRANS
42 OPENAFS_SOCKOPT_CHECK
43 OPENAFS_PTHREAD_CHECKS
44 HOST_CPU="$host_cpu"
45 OPENAFS_BSD_CHECKS
46 OPENAFS_OPTION_TESTS
47 OPENAFS_TIVOLI_TESTS
48 OPENAFS_HEADER_CHECKS
49 OPENAFS_MEMBER_CHECKS
50 OPENAFS_LIBINTL_CHECKS
51 OPENAFS_MORE_OPTION_TESTS
52 OPENAFS_FUNCTION_CHECKS
53 OPENAFS_ROKEN
54 OPENAFS_HCRYPTO
55 OPENAFS_CURSES
56 OPENAFS_C_ATTRIBUTE
57 OPENAFS_C_PRAGMA
58 OPENAFS_MORE_ROKEN_CHECKS
59 OPENAFS_NETDB_CHECKS
60 AC_HEADER_TIME
61 OPENAFS_ROKEN_HEADERS
62 OPENAFS_BSWAP_CHECKS
63 OPENAFS_PIO_CHECKS
64 OPENAFS_REGEX_CHECKS
65 OPENAFS_MORE_PTHREAD_CHECKS
66 OPENAFS_TYPE_CHECKS
67 RRA_HEADER_PAM_CONST
68 OPENAFS_DIRECTORY_PATHS
69 OPENAFS_YET_MORE_OPTION_TESTS
70 OPENAFS_OUTPUT_VARIABLES
71 OPENAFS_FUSE
72 OPENAFS_SWIG
73 OPENAFS_TOPDIRS
74 OPENAFS_CROSSTOOLS
75 OPENAFS_LINT
76 OPENAFS_CRYPT_CHECKS
77 OPENAFS_C_STRUCT_LABEL_CHECK
78 OPENAFS_DIRENT_CHECKS
79 OPENAFS_SYS_RESOURCE_CHECKS
80 OPENAFS_UUID_CHECKS
81 OPENAFS_CTF_TOOLS_CHECKS
82 ])