From a9151388528c84d7993a366ae03b57f5a413ca78 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 19 Feb 2006 19:36:31 +0000 Subject: 22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions. --- Src/system.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'Src/system.h') diff --git a/Src/system.h b/Src/system.h index 33804e71a..377cd173e 100644 --- a/Src/system.h +++ b/Src/system.h @@ -710,3 +710,28 @@ extern short ospeed; # include # endif #endif + +#if defined(HAVE_INITGROUPS) && !defined(DISABLE_DYNAMIC_NSS) +# define USE_INITGROUPS +#endif + +#if defined(HAVE_GETGRGID) && !defined(DISABLE_DYNAMIC_NSS) +# define USE_GETGRGID +#endif + +#if defined(HAVE_GETGRNAM) && !defined(DISABLE_DYNAMIC_NSS) +# define USE_GETGRNAM +#endif + +#if defined(HAVE_GETPWENT) && !defined(DISABLE_DYNAMIC_NSS) +# define USE_GETPWENT +#endif + +#if defined(HAVE_GETPWNAM) && !defined(DISABLE_DYNAMIC_NSS) +# define USE_GETPWNAM +#endif + +#if defined(HAVE_GETPWUID) && !defined(DISABLE_DYNAMIC_NSS) +# define USE_GETPWUID +#endif + -- cgit v1.2.3