From: brain Date: Tue, 17 May 2005 03:29:04 +0000 (+0000) Subject: Made prompts clearer X-Git-Tag: v2.0.23~10271 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=feada18e2fb37feb01afc2a40b9aa0bed357a6d3;p=user%2Fhenk%2Fcode%2Finspircd.git Made prompts clearer git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1415 e03df62e-2008-0410-955e-edbf42e46eb7 --- 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..