From 0d255f07bf46948289a2698a4a7063514d0e1ef9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 28 Nov 2013 19:28:38 +0100 Subject: build: make pthreads mandatory pthreads should be available anywhere. Even if not, for environment without threads a pthread wrapper could be provided that can't actually start threads, thus disabling features that require threads. Make pthreads mandatory in order to simplify build dependencies and to reduce ifdeffery. (Admittedly, there wasn't much complexity, but maybe we will use pthreads more in the future, and then it'd become a real bother.) --- old-configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'old-configure') diff --git a/old-configure b/old-configure index 995ccb9aa4..564b1c9331 100755 --- a/old-configure +++ b/old-configure @@ -1325,6 +1325,10 @@ else fi echores "$_pthreads" +if test "$_pthreads" = no ; then + die "Unable to find pthreads support." +fi + if test "$_pthreads" = yes ; then # Cargo-cult for -lrt, which is needed on not so recent glibc version for -- cgit v1.2.3