5 dnl OPENAFS_SUMMARY_CHECK_NAME
7 dnl Check whether namei fileserver is enabled for this platform/configure options.
8 dnl When namei is enabled with a configure option, the AFS_NAMEI_ENV will be defined
9 dnl for the test program. AFS_NAMEI_ENV can also be defined in the platform and sysname
10 dnl param headers for this platform. Avoid including the afs/afs_sysnames.h header since
11 dnl it has not been installed to the `include/afs' system directory yet (and is not
12 dnl needed for this namei check).
14 dnl Note that, if set, AFS_PARAM_COMMON is the header filename, including the .h suffix.
16 AC_DEFUN([OPENAFS_SUMMARY_CHECK_NAMEI],
17 [AC_CACHE_CHECK([whether namei fileserver is enabled], [openafs_cv_summary_check_namei],
18 [rm -f conftestparam.h; touch conftestparam.h; # automatically cleaned up by configure
19 AS_IF([test "x${AFS_PARAM_COMMON}" != "x" && test -f "src/config/${AFS_PARAM_COMMON}"],
20 [grep -v '#include <afs/afs_sysnames.h>' "src/config/${AFS_PARAM_COMMON}" >> conftestparam.h])
21 AS_IF([test "x${AFS_SYSNAME}" != "x" && test -f "src/config/param.${AFS_SYSNAME}.h"],
22 [grep -v '#include <afs/afs_sysnames.h>' "src/config/param.${AFS_SYSNAME}.h" >> conftestparam.h])
26 #include "conftestparam.h"
32 [openafs_cv_summary_check_namei="yes"],
33 [openafs_cv_summary_check_namei="no"])
39 dnl Print the configure summary.
41 AC_DEFUN([OPENAFS_SUMMARY],[
42 AS_IF([test "x${LIB_curses}" = "x"],
43 [summary_build_scout="no"],
44 [summary_build_scout="yes"])
45 AS_IF([test "x${DOCBOOK_STYLESHEETS}" = "x"],
46 [summary_docbook_stylesheets="no"],
47 [summary_docbook_stylesheets="yes"])
50 ***************************************************************
54 sysname : ${AFS_SYSNAME}
57 userspace : ${enable_debug}
58 kernel : ${enable_debug_kernel}
61 transarc paths : ${enable_transarc_paths}
62 namei fileserver : ${openafs_cv_summary_check_namei}
63 use unix sockets : ${USE_UNIX_SOCKETS}
64 ptserver supergroups : ${enable_supergroups}
65 pthreaded ubik : ${enable_pthreaded_ubik}
66 install kauth : ${INSTALL_KAUTH}
67 docbook stylesheets : ${summary_docbook_stylesheets}
70 scout/afsmonitor : ${summary_build_scout}
72 login : ${BUILD_LOGIN}
77 curses : ${LIB_curses}
80 hcrypto : ${LIB_hcrypto}
82 ***************************************************************