]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fixed to preserve epoll/select/kqueue choices
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 25 May 2005 18:11:52 +0000 (18:11 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Wed, 25 May 2005 18:11:52 +0000 (18:11 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1517 e03df62e-2008-0410-955e-edbf42e46eb7

configure

index 01683da91c927a1eef0e18410e69c01dbab0f3d0..919aee625c6e67634cccb9902bfe10e1c9abbd40 100755 (executable)
--- a/configure
+++ b/configure
@@ -66,6 +66,8 @@ if ($arg eq "-update") {
     # We've Loaded the cache file and all our variables..
     print "Updating Files..\n";
     getosflags();
+    $has_epoll = $config{HAS_EPOLL};
+    $has_kqueue = $config{HAS_KQUEUE};
     writefiles();
     print "Complete.\n";
     exit;
@@ -149,6 +151,9 @@ if ($config{OSNAME} =~ /CYGWIN/) {
        $config{HAS_STRLCPY} = "true";
 }
 
+$config{HAS_EPOLL} = $has_epoll;
+$config{HAS_KQUEUE} = $has_kqueue; 
+
 ################################################################################
 #                          BEGIN INTERACTIVE PART                              #
 ################################################################################