From 321324ebf644585cfc3451c5409cb0f55ff03f2e Mon Sep 17 00:00:00 2001
From: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Date: Mon, 5 Apr 2010 22:19:19 +0200
Subject: win32: libbb/Config.in Cygwin
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
---
 libbb/Config.in | 13 +++++++++++++
 1 file changed, 13 insertions(+)

(limited to 'libbb')

diff --git a/libbb/Config.in b/libbb/Config.in
index 55367b21b..7a2d922ed 100644
--- a/libbb/Config.in
+++ b/libbb/Config.in
@@ -29,6 +29,7 @@ config MD5_SIZE_VS_SPEED
 config FEATURE_FAST_TOP
 	bool "Faster /proc scanning code (+100 bytes)"
 	default n
+	depends on !PLATFORM_MINGW32
 	help
 	  This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
 	  but code size is slightly bigger.
@@ -36,11 +37,21 @@ config FEATURE_FAST_TOP
 config FEATURE_ETC_NETWORKS
 	bool "Support for /etc/networks"
 	default n
+	depends on !PLATFORM_MINGW32
 	help
 	  Enable support for network names in /etc/networks. This is
 	  a rarely used feature which allows you to use names
 	  instead of IP/mask pairs in route command.
 
+config FEATURE_CYGWIN_TTY
+	bool "Support Cygwin tty"
+	default n
+	depends on PLATFORM_MINGW32
+	help
+	  Try to sneak in Cygwin shared structure to determine if
+	  a file handle is Cygwin tty, useful if you want to use
+	  a Cygwin-based terminal emulator.
+
 config FEATURE_EDITING
 	bool "Command line editing"
 	default n
@@ -151,6 +162,7 @@ config FEATURE_COPYBUF_KB
 config MONOTONIC_SYSCALL
 	bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
 	default y
+	depends on !PLATFORM_MINGW32
 	help
 	  Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
 	  time intervals (time, ping, traceroute etc need this).
@@ -169,6 +181,7 @@ config IOCTL_HEX2STR_ERROR
 config FEATURE_HWIB
 	bool "Support infiniband HW"
 	default y
+	depends on !PLATFORM_MINGW32
 	help
 	  Support for printing infiniband addresses in
 	  network applets.
-- 
cgit v1.2.3-55-g6feb