--- configure.orig 2007-06-26 13:40:19.000000000 +0200 +++ configure 2007-10-31 03:47:03.000000000 +0100 @@ -24236,7 +24236,7 @@ #include int main() { -#ifdef OPENSSL_THREADS +#if defined(OPENSSL_THREADS) || defined(THREADS) exit(0); /* ok */ #else exit(1); /* no thread support */