From feada18e2fb37feb01afc2a40b9aa0bed357a6d3 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 17 May 2005 03:29:04 +0000 Subject: Made prompts clearer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1415 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 6432d298c..26d39d6bc 100755 --- a/configure +++ b/configure @@ -171,10 +171,16 @@ dir_check("is the IRCd binary to be placed", "BINARY_DIR"); dir_check("are the IRCd libraries to be placed", "LIBRARY_DIR"); if ($has_kqueue) { - yesno(USE_KQUEUE,"You are running a BSD operating system, and kqueue\nwas detected. Would you like to enable kqueue support?\nIf you are unsure, answer yes.\n\nEnable kqueue?"); + yesno(USE_KQUEUE,"You are running a BSD operating system, and kqueue\nwas detected. Would you like to enable kqueue support?\nThis is likely to increase performance.\nIf you are unsure, answer yes.\n\nEnable kqueue?"); } if ($has_epoll) { - yesno(USE_EPOLL,"You are running a linux operating system, and epoll\nwas detected. Would you like to enable epoll support?\nIf you are unsure, answer yes.\n\nEnable epoll?"); + yesno(USE_EPOLL,"You are running a Linux 2.6+ operating system, and epoll\nwas detected. Would you like to enable epoll support?\nThis is likely to increase performance.\nIf you are unsure, answer yes.\n\nEnable epoll?"); +} +$chose_hiperf = (($config{USE_EPOLL} eq "y") || ($config{USE_KQUEUE} eq "y")); +if (!$chose_hiperf) +{ + print "No high-performance socket engines are available, or you chose\n"; + print "not to enable one. Defaulting to select() engine.\n\n"; } # File Descriptor Settings.. -- cgit v1.2.3