summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-12-10 05:41:27 -0500
committerJunio C Hamano <gitster@pobox.com>2011-12-12 16:09:39 -0800
commit9b4b894601a484bec4132f0201c55a7a0d29eab3 (patch)
tree398a5b7e4751f2ff880f0821e92bab2f8eb9e623
parentce77aa4813c8a3980283c0a1e760f51f3a405154 (diff)
downloadgit-9b4b894601a484bec4132f0201c55a7a0d29eab3.tar.gz
Makefile: linux has /dev/tty
Therefore we can turn on our custom prompt function instead of relying on getpass. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c370ea57c..a09da748f7 100644
--- a/Makefile
+++ b/Makefile
@@ -837,6 +837,7 @@ ifeq ($(uname_S),Linux)
NO_STRLCPY = YesPlease
NO_MKSTEMPS = YesPlease
HAVE_PATHS_H = YesPlease
+ HAVE_DEV_TTY = YesPlease
endif
ifeq ($(uname_S),GNU/kFreeBSD)
NO_STRLCPY = YesPlease