mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
087d17b35e
The acinclude.m4 is very large and often requires to be changed for unrelated commits. Divy up the large acinclude.m4 into a number of smaller files to avoid so many contentions and to make the autoconf system easier to maintain. This is a non-functional change. Care has been taken preserve the ordering of the autoconf tests. Except for whitespace, the generated configure file has not been changed by this refactoring. This has been verified with a 'diff -u -w -B' comparison of the generated configure file before and after applying this commit. Reviewed-on: https://gerrit.openafs.org/12842 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> (cherry picked from commit c72622a244e561173e86ffe88ee3c9a8c823a76a) Reviewed-on: https://gerrit.openafs.org/12876 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> (cherry picked from commit e54963757320adb95b0c73bbd84fb8bf34319210) Reviewed-on: https://gerrit.openafs.org/12978 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Mark Vitale <mvitale@sinenomine.net> Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de> Tested-by: Stephan Wiesand <stephan.wiesand@desy.de> (cherry picked from commit 9d004f20c3bb0ffeae043a053efdb378064311e7) Change-Id: Iefb54c54da2c488ccea13d8c54b9ef8b46f7cfd8 Reviewed-on: https://gerrit.openafs.org/13291 Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net> Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de> Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
66 lines
1.3 KiB
Plaintext
66 lines
1.3 KiB
Plaintext
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
|
|
|
|
AC_DEFUN([OPENAFS_CONFIGURE_COMMON],[
|
|
OPENAFS_AUTOHEADER_BOTTOM
|
|
AC_CANONICAL_HOST
|
|
SRCDIR_PARENT=`pwd`
|
|
|
|
#BOZO_SAVE_CORES pam
|
|
OPENAFS_OPTIONS
|
|
|
|
dnl Checks for UNIX variants.
|
|
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
|
|
OPENAFS_LEX
|
|
|
|
dnl Checks
|
|
OPENAFS_FORCE_ABS_INSTALL
|
|
OPENAFS_CHECK_BIGENDIAN
|
|
OPENAFS_PRINTF_TAKES_Z_LEN
|
|
OPENAFS_OSTYPE
|
|
OPENAFS_SYSNAME
|
|
OPENAFS_LINUX_CHECKS
|
|
OPENAFS_SOCKET_CHECKS
|
|
OPENAFS_LIBRARY_CHECKS
|
|
AC_CHECK_RESOLV_RETRANS
|
|
OPENAFS_SOCKOPT_CHECK
|
|
OPENAFS_PTHREAD_CHECKS
|
|
HOST_CPU="$host_cpu"
|
|
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_CURSES
|
|
OPENAFS_HPUX_CHECKS
|
|
OPENAFS_REGEX_CHECKS
|
|
OPENAFS_TYPE_CHECKS
|
|
AC_HEADER_PAM_CONST
|
|
OPENAFS_DIRECTORY_PATHS
|
|
OPENAFS_YET_MORE_OPTION_TESTS
|
|
OPENAFS_OUTPUT_VARIABLES
|
|
OPENAFS_OSCONF
|
|
OPENAFS_FUSE
|
|
OPENAFS_TOPDIRS
|
|
OPENAFS_LINT
|
|
OPENAFS_JAVA
|
|
OPENAFS_CRYPT_CHECKS
|
|
OPENAFS_C_STRUCT_LABEL_CHECK
|
|
])
|