]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Made prompts clearer
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 17 May 2005 03:29:04 +0000 (03:29 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 17 May 2005 03:29:04 +0000 (03:29 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1415 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index 6432d298c8aaf6c0364261628fcf24c4cf65c35d..26d39d6bc9e695be897dc0dd9c6033be30a8d3dd 100755 (executable)
--- 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..