}
}
-
+print "Checking for cache from previous configure...\n";
getcache();
+print "Checking operating system version...\n";
getosflags();
if (!$config{MAX_CLIENT}) {
$config{MAX_CLIENT} = $config{MAX_CLIENT_T};
}
+printf "Checking if strlcpy exists... ";
# Perform the strlcpy() test..
$config{HAS_STRLCPY} = "false";
my $fail = 0;
}
close(STRLCPY);
}
+print "yes\n" if $config{HAS_STRLCPY} eq "true";
+print "no\n" if $config{HAS_STRLCPY} eq "false";
+printf "Checking if kqueue exists... ";
$has_kqueue = 0;
$fail = 0;
open(KQUEUE, "</usr/include/sys/event.h") or $fail = 1;
}
close(KQUEUE);
}
+print "yes\n" if $has_kqueue == 1;
+print "no\n" if $has_kqueue == 0;
################################################################################
# BEGIN INTERACTIVE PART #
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?\nPlease be aware that kqueue support is\nEXPERIMENTAL and not gauranteed to work properly.\nIf you are unsure, answer no.\n\nEnable 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 no.\n\nEnable kqueue?");
}
# File Descriptor Settings..