Commit 547d3bf4 authored by Ondřej Zajíček's avatar Ondřej Zajíček

Allows pthreads by default on Linux and FreeBSD only.

parent 41f8bf57
......@@ -83,6 +83,14 @@ if test -z "$GCC" ; then
AC_MSG_ERROR([This program requires the GNU C Compiler.])
# Enable threads by default just in Linux and FreeBSD
if test "$enable_pthreads" = try ; then
case "$host_os" in
(linux* | freebsd*) enable_pthreads=try ;;
(*) enable_pthreads=no ;;
if test "$enable_pthreads" != no ; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment