summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2011-12-10 10:41:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-12-13 00:09:39 (GMT)
commit9b4b894601a484bec4132f0201c55a7a0d29eab3 (patch)
tree398a5b7e4751f2ff880f0821e92bab2f8eb9e623 /Makefile
parentce77aa4813c8a3980283c0a1e760f51f3a405154 (diff)
downloadgit-9b4b894601a484bec4132f0201c55a7a0d29eab3.zip
git-9b4b894601a484bec4132f0201c55a7a0d29eab3.tar.gz
git-9b4b894601a484bec4132f0201c55a7a0d29eab3.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c370ea..a09da74 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