2001-10-09 16:48:25 +01:00
|
|
|
dnl This file contains the common configuration code which would
|
|
|
|
dnl otherwise be duplicated between configure and configure-libafs.
|
|
|
|
dnl
|
|
|
|
dnl NB: Because this code is a macro, references to positional shell
|
|
|
|
dnl parameters must be done like $[]1 instead of $1
|
|
|
|
|
2004-06-03 07:13:27 +01:00
|
|
|
AC_DEFUN([OPENAFS_CONFIGURE_COMMON],[
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_AUTOHEADER_BOTTOM
|
2001-10-09 16:48:25 +01:00
|
|
|
AC_CANONICAL_HOST
|
|
|
|
SRCDIR_PARENT=`pwd`
|
|
|
|
|
2006-08-01 23:49:36 +01:00
|
|
|
#BOZO_SAVE_CORES pam
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_OPTIONS
|
|
|
|
OPENAFS_DOC
|
2011-07-25 00:20:05 +01:00
|
|
|
|
2014-03-30 13:02:17 +01:00
|
|
|
dnl Checks for UNIX variants.
|
2001-10-09 16:48:25 +01:00
|
|
|
AC_ISC_POSIX
|
|
|
|
|
|
|
|
dnl Various compiler setup.
|
|
|
|
AC_TYPE_PID_T
|
|
|
|
AC_TYPE_SIZE_T
|
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_LN_S
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
AC_PROG_YACC
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_LEX
|
2001-10-09 16:48:25 +01:00
|
|
|
|
2017-12-29 19:24:28 +00:00
|
|
|
dnl Checks
|
2010-07-22 18:21:14 +01:00
|
|
|
OPENAFS_FORCE_ABS_INSTALL
|
2001-10-09 16:48:25 +01:00
|
|
|
OPENAFS_CHECK_BIGENDIAN
|
2009-10-12 03:55:05 +01:00
|
|
|
OPENAFS_PRINTF_TAKES_Z_LEN
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_OSTYPE
|
|
|
|
OPENAFS_SYSNAME
|
2011-11-02 16:32:56 +00:00
|
|
|
OPENAFS_OSCONF
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_LINUX_CHECKS
|
|
|
|
OPENAFS_C_ATOMIC_CHECKS
|
|
|
|
OPENAFS_SOCKET_CHECKS
|
|
|
|
OPENAFS_LIBRARY_CHECKS
|
2010-02-27 16:52:03 +00:00
|
|
|
AC_CHECK_RESOLV_RETRANS
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_SOCKOPT_CHECK
|
|
|
|
OPENAFS_PTHREAD_CHECKS
|
2006-01-20 16:40:24 +00:00
|
|
|
HOST_CPU="$host_cpu"
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_BSD_CHECKS
|
|
|
|
OPENAFS_OPTION_TESTS
|
|
|
|
OPENAFS_TIVOLI_TESTS
|
|
|
|
OPENAFS_HEADER_CHECKS
|
|
|
|
OPENAFS_MEMBER_CHECKS
|
|
|
|
OPENAFS_LIBINTL_CHECKS
|
|
|
|
OPENAFS_MORE_OPTION_TESTS
|
|
|
|
OPENAFS_FUNCTION_CHECKS
|
|
|
|
OPENAFS_ROKEN
|
|
|
|
OPENAFS_HCRYPTO
|
|
|
|
OPENAFS_CURSES
|
|
|
|
OPENAFS_C_ATTRIBUTE
|
|
|
|
OPENAFS_C_PRAGMA
|
|
|
|
OPENAFS_MORE_ROKEN_CHECKS
|
|
|
|
OPENAFS_NETDB_CHECKS
|
Add libroken as its own library
Include libroken as a library in its own right, so that the whole
of the code can benefit from it. This change purely adds libroken
for the Unix build system. It doesn't replace those pieces of
libroken in hcrypto or util, or enable it for Windows.
There is also the option of using a system-install libroken, if one is
found at configure time.
*) If --with-libroken=yes, or is not supplied than a system library
will be used if suitable. Otherwise, we'll use the internal
libroken
*) If --with-libroken=/path/to/installation then the libroken at
that path will be used. If there is no libroken there, or it
is not suitable, an error will be returned
*) If --with-libroken=internal then the internal libroken is used,
regardless of what is present on the system.
We deliberately do not provide installed headers for the internal
libroken. If other applications wish to make use of libroken, then
they should use the Heimdal one, rather than piggybacking on ours.
Change-Id: Iff01e1e17090404cc8e4783108ae8a8784170918
Reviewed-on: http://gerrit.openafs.org/3191
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-10-29 12:10:16 +01:00
|
|
|
AC_HEADER_TIME
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_ROKEN_HEADERS
|
|
|
|
OPENAFS_BSWAP_CHECKS
|
|
|
|
OPENAFS_HPUX_CHECKS
|
|
|
|
OPENAFS_REGEX_CHECKS
|
|
|
|
OPENAFS_MORE_PTHREAD_CHECKS
|
|
|
|
OPENAFS_TYPE_CHECKS
|
2011-04-28 20:56:11 +01:00
|
|
|
RRA_HEADER_PAM_CONST
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_DIRECTORY_PATHS
|
|
|
|
OPENAFS_YET_MORE_OPTION_TESTS
|
|
|
|
OPENAFS_OUTPUT_VARIABLES
|
2010-04-08 20:50:18 +01:00
|
|
|
OPENAFS_FUSE
|
2009-08-14 22:32:54 +01:00
|
|
|
OPENAFS_SWIG
|
2017-12-29 19:24:28 +00:00
|
|
|
OPENAFS_TOPDIRS
|
|
|
|
OPENAFS_CROSSTOOLS
|
|
|
|
OPENAFS_LINT
|
|
|
|
OPENAFS_JAVA
|
|
|
|
OPENAFS_CRYPT_CHECKS
|
|
|
|
OPENAFS_C_STRUCT_LABEL_CHECK
|
|
|
|
OPENAFS_DIRENT_CHECKS
|
|
|
|
OPENAFS_SYS_RESOURCE_CHECKS
|
|
|
|
OPENAFS_UUID_CHECKS
|
2018-02-05 21:16:17 +00:00
|
|
|
OPENAFS_CTF_TOOLS_CHECKS
|
2001-10-09 16:48:25 +01:00
|
|
|
])
|