AIX: Fix undefined symbols
[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_TOP
9 OPENAFS_AUTOHEADER_BOTTOM
10 AC_CANONICAL_HOST
11 SRCDIR_PARENT=`pwd`
12
13 #BOZO_SAVE_CORES pam
14 OPENAFS_OPTIONS
15 OPENAFS_DOC
16
17 dnl Checks for UNIX variants.
18 AC_SEARCH_LIBS([strerror],[cposix])
19
20 dnl Various compiler setup.
21 AC_TYPE_PID_T
22 AC_TYPE_SIZE_T
23
24 dnl Checks for programs.
25 AC_PROG_INSTALL
26 AC_PROG_LN_S
27 AC_PROG_RANLIB
28 AC_PROG_YACC
29 OPENAFS_LEX
30
31 dnl Checks
32 OPENAFS_FORCE_ABS_INSTALL
33 OPENAFS_CHECK_BIGENDIAN
34 OPENAFS_PRINTF_TAKES_Z_LEN
35 OPENAFS_OSTYPE
36 OPENAFS_SYSNAME
37 OPENAFS_OSCONF
38 OPENAFS_LINUX_CHECKS
39 OPENAFS_C_ATOMIC_CHECKS
40 OPENAFS_SOCKET_CHECKS
41 OPENAFS_LIBRARY_CHECKS
42 AC_CHECK_RESOLV_RETRANS
43 OPENAFS_SOCKOPT_CHECK
44 OPENAFS_PTHREAD_CHECKS
45 HOST_CPU="$host_cpu"
46 OPENAFS_BSD_CHECKS
47 OPENAFS_OPTION_TESTS
48 OPENAFS_TIVOLI_TESTS
49 OPENAFS_HEADER_CHECKS
50 OPENAFS_MEMBER_CHECKS
51 OPENAFS_LIBINTL_CHECKS
52 OPENAFS_MORE_OPTION_TESTS
53 OPENAFS_FUNCTION_CHECKS
54 OPENAFS_ROKEN
55 OPENAFS_HCRYPTO
56 OPENAFS_CURSES
57 OPENAFS_C_ATTRIBUTE
58 OPENAFS_C_PRAGMA
59 OPENAFS_MORE_ROKEN_CHECKS
60 OPENAFS_NETDB_CHECKS
61 AC_HEADER_TIME
62 OPENAFS_ROKEN_HEADERS
63 OPENAFS_BSWAP_CHECKS
64 OPENAFS_PIO_CHECKS
65 OPENAFS_REGEX_CHECKS
66 OPENAFS_MORE_PTHREAD_CHECKS
67 OPENAFS_TYPE_CHECKS
68 RRA_HEADER_PAM_CONST
69 OPENAFS_DIRECTORY_PATHS
70 OPENAFS_YET_MORE_OPTION_TESTS
71 OPENAFS_OUTPUT_VARIABLES
72 OPENAFS_FUSE
73 OPENAFS_SWIG
74 OPENAFS_TOPDIRS
75 OPENAFS_CROSSTOOLS
76 OPENAFS_LINT
77 OPENAFS_CRYPT_CHECKS
78 OPENAFS_C_STRUCT_LABEL_CHECK
79 OPENAFS_DIRENT_CHECKS
80 OPENAFS_SYS_RESOURCE_CHECKS
81 OPENAFS_UUID_CHECKS
82 OPENAFS_CTF_TOOLS_CHECKS
83 ])