summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-23 15:15:47 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-23 15:15:47 +0000
commit3fdaf2bbc7457608cacd9ffe460d212014134cae (patch)
tree9c87cb7b0341ff963d2cb3f3a22810c7f9b0dd08
parent0c156ee0c4f2a39d6e6f868fb781be07bcee0f55 (diff)
fix from psm: add UCLIBC_ prefix to HAS_SHADOW option
-rw-r--r--Makefile.in2
-rw-r--r--debian/config2
-rw-r--r--extra/Configs/Config.in2
-rw-r--r--libc/pwd_grp/Makefile.in2
-rw-r--r--libc/pwd_grp/pwd_grp.c2
-rw-r--r--libc/pwd_grp/pwd_grp_internal.c2
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 <pwd.h>
#include <grp.h>
#include <paths.h>
-#ifdef __HAS_SHADOW__
+#ifdef __UCLIBC_HAS_SHADOW__
#include <shadow.h>
#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 <pwd.h>
#include <grp.h>
#include <paths.h>
-#ifdef __HAS_SHADOW__
+#ifdef __UCLIBC_HAS_SHADOW__
#include <shadow.h>
#endif
#ifdef __UCLIBC_HAS_THREADS__