From: Michael Welsh Duggan Date: Wed, 28 Feb 2001 19:22:44 +0000 (+0000) Subject: linux-libafs-with-modversions-20010228 X-Git-Tag: BP-openafs-devel-autoconf~47 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3f43961f538884b76092012627172dcb1afffa7d;p=packages%2Fo%2Fopenafs.git linux-libafs-with-modversions-20010228 Use symbol versioning when compiling against a kernel with symbol versioning enabled. --- diff --git a/src/config/param.i386_linux22.h b/src/config/param.i386_linux22.h index 76a493960..7f3277e9f 100644 --- a/src/config/param.i386_linux22.h +++ b/src/config/param.i386_linux22.h @@ -60,6 +60,11 @@ #define AFS_GLOBAL_SUNLOCK #endif +#if defined(MODULE) && defined(CONFIG_MODVERSIONS) +#define MODVERSIONS +#include +#endif + #endif /* __KERNEL__ && !DUMP_KERNEL*/ #ifdef KERNEL diff --git a/src/config/param.i386_linux24.h b/src/config/param.i386_linux24.h index 1dd862bcb..0e8e95401 100644 --- a/src/config/param.i386_linux24.h +++ b/src/config/param.i386_linux24.h @@ -52,6 +52,11 @@ #define AFS_GLOBAL_SUNLOCK #endif +#if defined(MODULE) && defined(CONFIG_MODVERSIONS) +#define MODVERSIONS +#include +#endif + #endif /* __KERNEL__ && !DUMP_KERNEL*/ #ifdef KERNEL