From 110d6985463886ecc53dbafe32e626704ec612cb Mon Sep 17 00:00:00 2001 From: David Michael Date: Fri, 14 Dec 2012 14:56:59 -0500 Subject: Detect when the passwd struct is missing pw_gecos NO_GECOS_IN_PWENT was documented with other Makefile variables but was only enforced by manually defining it to the C preprocessor. This adds support for detecting the condition with configure and defining the make variable. Signed-off-by: David Michael Signed-off-by: Junio C Hamano --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 81c12db274..e953951be8 100644 --- a/Makefile +++ b/Makefile @@ -1648,6 +1648,9 @@ endif ifdef NO_D_INO_IN_DIRENT BASIC_CFLAGS += -DNO_D_INO_IN_DIRENT endif +ifdef NO_GECOS_IN_PWENT + BASIC_CFLAGS += -DNO_GECOS_IN_PWENT +endif ifdef NO_ST_BLOCKS_IN_STRUCT_STAT BASIC_CFLAGS += -DNO_ST_BLOCKS_IN_STRUCT_STAT endif -- cgit v1.2.1