f3e6c7
--- netkit-telnet-0.17/configure.confverb	2000-07-29 20:00:29.000000000 +0200
f3e6c7
+++ netkit-telnet-0.17/configure	2004-07-05 10:50:36.492963840 +0200
f3e6c7
@@ -263,14 +263,19 @@
f3e6c7
 cat <<EOF >__conftest.cc
f3e6c7
 #include <unistd.h>
f3e6c7
 #include <signal.h>
f3e6c7
-int count=0;
f3e6c7
+volatile int count=0;
f3e6c7
 void handle(int foo) { count++; }
f3e6c7
 int main() {
f3e6c7
+    sigset_t sset;
f3e6c7
     int pid=getpid();
f3e6c7
+    sigemptyset(&sset);
f3e6c7
+    sigaddset(&sset, SIGINT);
f3e6c7
+    sigprocmask(SIG_UNBLOCK, &sset, NULL);
f3e6c7
     signal(SIGINT, handle);
f3e6c7
     kill(pid,SIGINT);
f3e6c7
     kill(pid,SIGINT);
f3e6c7
     kill(pid,SIGINT);
f3e6c7
+    sleep(1);
f3e6c7
     if (count!=3) return 1;
f3e6c7
     return 0;
f3e6c7
 }