]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Initial revision
authorSam Hartman <hartmans@debian.org>
Wed, 11 Jul 2001 03:12:48 +0000 (03:12 +0000)
committerSam Hartman <hartmans@debian.org>
Wed, 11 Jul 2001 03:12:48 +0000 (03:12 +0000)
doc/html/index.htm [new file with mode: 0644]
src/cf/linux-test3.m4 [new file with mode: 0644]

diff --git a/doc/html/index.htm b/doc/html/index.htm
new file mode 100644 (file)
index 0000000..9774f06
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
+<HTML><HEAD>
+<TITLE>Administration Guide</TITLE>
+<!-- Begin Header Records  ========================================== -->
+<!-- /tmp/idwt3570/auagd000.scr converted by idb2h R4.2 (359) ID      -->
+<!-- Workbench Version (AIX) on 2 Oct 2000 at 11:42:14                -->
+<META HTTP-EQUIV="updated" CONTENT="Mon, 02 Oct 2000 11:42:13">
+<META HTTP-EQUIV="review" CONTENT="Tue, 02 Oct 2001 11:42:13">
+<META HTTP-EQUIV="expires" CONTENT="Wed, 02 Oct 2002 11:42:13">
+</HEAD><BODY>
+<!-- (C) IBM Corporation 2000. All Rights Reserved    --> 
+<BODY bgcolor="ffffff"> 
+<!-- End Header Records  ============================================ -->
+<A NAME="Top_Of_Page"></A>
+<H1>OpenAFS Documentation</H1>
+<HR><P ALIGN="center"> <A HREF="index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <P><HR>
+OpenAFS<BR>
+Dcoumentation<BR>
+<P>Version 1.0
+<P>Document Number 0000-0000-00
+<P>
+<BR>
+<P><B>First Edition (July 2001)</B>
+<P>Included:
+<DL COMPACT>
+<DD><A HREF="AdminGuide/auagd000.htm">AFS Administrator's Guide</A>
+<DD><A HREF="AdminReference/auarf000.htm">AFS Administration Reference</A>
+<DD><A HREF="QuickStartUnix/auqbg000.htm">AFS Quick Start Guide for UNIX</A>
+<DD><A HREF="QuickStartWindows/awqbg000.htm">AFS Quick Start Guide for Windows NT/2000</A>
+<DD><A HREF="UserGuide/auusg000.htm">AFS User's Guide</A>
+<DD><A HREF="ReleaseNotes-3.6/aurns000.htm">IBM AFS 3.6 Release Notes</A>
+</DL>
+<P>
+<HR><P ALIGN="center"> <A HREF="index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <P>
+<!-- Begin Footer Records  ========================================== -->
+<P><HR><B> 
+<br><A HREF="http://www.openafs.org/">OpenAFS, 2001.</A>
+</B> 
+<!-- End Footer Records  ============================================ -->
+<A NAME="Bot_Of_Page"></A>
+</BODY></HTML>
diff --git a/src/cf/linux-test3.m4 b/src/cf/linux-test3.m4
new file mode 100644 (file)
index 0000000..fe3ce59
--- /dev/null
@@ -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 <linux/config.h>
+],
+[#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 <linux/config.h>
+],
+[#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])
+