diff options
author | Rafael Gieschke <rafael@gieschke.de> | 2011-05-19 15:37:55 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-20 05:35:58 +0400 |
commit | 590e081dea7c064056941bfae28b25ce956585f5 (patch) | |
tree | 8c3f7e984296967cf55af6fe6db6d345e9e42e4c /Makefile | |
parent | c0336ff27a9a4bf9db87d65c5dec1ebf7dd9f8c6 (diff) |
ident: add NO_GECOS_IN_PWENT for systems without pw_gecos in struct passwd
Allow NO_GECOS_IN_PWENT to be defined in the Makefile for platforms that
lack the pw_gecos field in their "struct passwd", in which case the
uppercased user name is used instead via the standard '&' replacement
mechanism.
Signed-off-by: Rafael Gieschke <rafael@gieschke.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -59,6 +59,9 @@ all:: # # Define NO_MKSTEMPS if you don't have mkstemps in the C library. # +# Define NO_GECOS_IN_PWENT if you don't have pw_gecos in struct passwd +# in the C library. +# # Define NO_LIBGEN_H if you don't have libgen.h. # # Define NEEDS_LIBGEN if your libgen needs -lgen when linking |