From 40acb3569f620006e8bb14446f6c3f848c602add Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Wed, 11 Jul 2001 03:12:48 +0000 Subject: [PATCH] Initial revision --- doc/html/index.htm | 41 +++++++++++++++++++++++++++++ src/cf/linux-test3.m4 | 60 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 doc/html/index.htm create mode 100644 src/cf/linux-test3.m4 diff --git a/doc/html/index.htm b/doc/html/index.htm new file mode 100644 index 000000000..9774f0684 --- /dev/null +++ b/doc/html/index.htm @@ -0,0 +1,41 @@ + + +Administration Guide + + + + + + + + + + + +

OpenAFS Documentation

+

[Return to Library]


+OpenAFS
+Dcoumentation
+

Version 1.0 +

Document Number 0000-0000-00 +

+
+

First Edition (July 2001) +

Included: +

+
AFS Administrator's Guide +
AFS Administration Reference +
AFS Quick Start Guide for UNIX +
AFS Quick Start Guide for Windows NT/2000 +
AFS User's Guide +
IBM AFS 3.6 Release Notes +
+

+


[Return to Library]

+ +


+
OpenAFS, 2001. +
+ + + diff --git a/src/cf/linux-test3.m4 b/src/cf/linux-test3.m4 new file mode 100644 index 000000000..fe3ce5970 --- /dev/null +++ b/src/cf/linux-test3.m4 @@ -0,0 +1,60 @@ +AC_DEFUN(LINUX_NEED_RHCONFIG,[ +AC_MSG_CHECKING(for redhat kernel configuration) +if test -f "${LINUX_KERNEL_PATH}/include/linux/rhconfig.h"; then + ac_linux_rhconfig=yes + RHCONFIG_SP="-D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0" + RHCONFIG_MP="-D__BOOT_KERNEL_UP=0 -D__BOOT_KERNEL_SMP=1" + AC_MSG_RESULT($ac_linux_rhconfig) + if test ! -f "/boot/kernel.h"; then + AC_MSG_WARN([/boot/kernel.h does not exist. build may fail]) + fi +else + ac_linux_rhconfig=no + RHCONFIG_SP="" + RHCONFIG_MP="" + AC_MSG_RESULT($ac_linux_rhconfig) +fi +AC_SUBST(RHCONFIG_SP) +AC_SUBST(RHCONFIG_MP) +]) + +AC_DEFUN(LINUX_WHICH_MODULES,[ +save_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="-I${LINUX_KERNEL_PATH}/include -D__KERNEL__ $RHCONFIG_SP $CPPFLAGS" +AC_MSG_CHECKING(if kernel uses MODVERSIONS) +AC_CACHE_VAL(ac_cv_linux_config_modversions,[ +AC_TRY_COMPILE( +[#include +], +[#ifndef CONFIG_MODVERSIONS +lose; +#endif +], +ac_cv_linux_config_modversions=yes, +ac_cv_linux_config_modversions=no)]) +AC_MSG_RESULT($ac_cv_linux_config_modversions) +AC_MSG_CHECKING(which kernel modules to build) +if test "x$ac_linux_rhconfig" = "xyes" -o "x$ac_cv_linux_config_modversions" = "xno"; then + MPS="MP SP" +else +AC_CACHE_VAL(ac_cv_linux_config_smp, [ +AC_TRY_COMPILE( +[#include +], +[#ifndef CONFIG_SMP +lose; +#endif +], +ac_cv_linux_config_smp=yes, +ac_cv_linux_config_smp=no)]) +dnl AC_MSG_RESULT($ac_cv_linux_config_smp) + if test "x$ac_cv_linux_config_smp" = "xyes"; then + MPS=MP + else + MPS=SP + fi +fi +AC_MSG_RESULT($MPS) +AC_SUBST(MPS) +CPPFLAGS=$save_CPPFLAGS]) + -- 2.39.5