From: brarcher Date: Mon, 21 Oct 2013 03:26:26 +0000 (+0000) Subject: configure.ac: move pthread check earlier X-Git-Tag: 0.10.0~370 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=339d4aa00d648e0c5bd7f4271d5883025f6a524e;p=check configure.ac: move pthread check earlier The time checks will need to know if pthread exists in a future commit. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@844 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/configure.ac b/configure.ac index 226ed04..67b7b8b 100644 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,10 @@ if test "$TEX" = "false"; then AC_MSG_WARN(tex not installed: cannot rebuild HTML documentation.) fi +# Checks for pthread implementation. +ACX_PTHREAD +CC="$PTHREAD_CC" + # Check if floor is in the math library, and if so add -lm to LIBS AC_CHECK_LIB([m], [floor]) @@ -236,10 +240,6 @@ HW_FUNC_SNPRINTF HW_FUNC_VASPRINTF HW_FUNC_ASPRINTF -# Checks for pthread implementation. -ACX_PTHREAD -CC="$PTHREAD_CC" - # Check for whether we can install checkmk (we have a usable awk) AC_ARG_VAR([AWK_PATH],[Awk interpreter command]) AC_PATH_PROG(AWK_PATH, $AWK, [*NO AWK*])