From 3fdaf2bbc7457608cacd9ffe460d212014134cae Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 23 Aug 2006 15:15:47 +0000 Subject: fix from psm: add UCLIBC_ prefix to HAS_SHADOW option --- Makefile.in | 2 +- debian/config | 2 +- extra/Configs/Config.in | 2 +- libc/pwd_grp/Makefile.in | 2 +- libc/pwd_grp/pwd_grp.c | 2 +- libc/pwd_grp/pwd_grp_internal.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.in b/Makefile.in index a1de34ecf..d6f8cf72e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -181,7 +181,7 @@ ifneq ($(UCLIBC_HAS_GETOPT_LONG),y) $(RM) $(PREFIX)$(DEVEL_PREFIX)include/getopt.h endif endif -ifneq ($(HAS_SHADOW),y) +ifneq ($(UCLIBC_HAS_SHADOW),y) # Remove shadow header since shadow password support is disabled. $(RM) $(PREFIX)$(DEVEL_PREFIX)include/shadow.h endif diff --git a/debian/config b/debian/config index 301f7b31b..8362238d8 100644 --- a/debian/config +++ b/debian/config @@ -80,7 +80,7 @@ UCLIBC_HAS_LFS=y MALLOC_STANDARD=y MALLOC_GLIBC_COMPAT=y UCLIBC_DYNAMIC_ATEXIT=y -HAS_SHADOW=y +UCLIBC_HAS_SHADOW=y # UNIX98PTY_ONLY is not set ASSUME_DEVPTS=y UCLIBC_HAS_TM_EXTENSIONS=y diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 7f1b4b5fb..4eb7d0f4a 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -463,7 +463,7 @@ config UCLIBC_SUSV3_LEGACY Currently applies to bcopy/bzero/bcmp/index/rindex. WARNING! ABI incompatibility. -config HAS_SHADOW +config UCLIBC_HAS_SHADOW bool "Shadow Password Support" default y help diff --git a/libc/pwd_grp/Makefile.in b/libc/pwd_grp/Makefile.in index c1bbbf1cf..f9c7149e7 100644 --- a/libc/pwd_grp/Makefile.in +++ b/libc/pwd_grp/Makefile.in @@ -11,7 +11,7 @@ PWDGRP_OUT := $(top_builddir)libc/pwd_grp CSRC := $(notdir $(wildcard $(PWDGRP_DIR)/*.c)) CSRC := $(filter-out pwd_grp.c pwd_grp_internal.c,$(CSRC)) -ifneq ($(HAS_SHADOW),y) +ifneq ($(UCLIBC_HAS_SHADOW),y) SHADOW_CSRC := \ fgetspent_r.c fgetspent.c getspent_r.c getspent.c \ getspnam_r.c getspnam.c lckpwdf.c putspent.c \ diff --git a/libc/pwd_grp/pwd_grp.c b/libc/pwd_grp/pwd_grp.c index 961899af9..2a9d4519a 100644 --- a/libc/pwd_grp/pwd_grp.c +++ b/libc/pwd_grp/pwd_grp.c @@ -31,7 +31,7 @@ #include #include #include -#ifdef __HAS_SHADOW__ +#ifdef __UCLIBC_HAS_SHADOW__ #include #endif #ifdef __UCLIBC_HAS_THREADS__ diff --git a/libc/pwd_grp/pwd_grp_internal.c b/libc/pwd_grp/pwd_grp_internal.c index cb0ae76cf..c89747890 100644 --- a/libc/pwd_grp/pwd_grp_internal.c +++ b/libc/pwd_grp/pwd_grp_internal.c @@ -31,7 +31,7 @@ #include #include #include -#ifdef __HAS_SHADOW__ +#ifdef __UCLIBC_HAS_SHADOW__ #include #endif #ifdef __UCLIBC_HAS_THREADS__ -- cgit v1.2.3