]> granicus.if.org Git - check/commitdiff
configure.ac: move pthread check earlier
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 21 Oct 2013 03:26:26 +0000 (03:26 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Mon, 21 Oct 2013 03:26:26 +0000 (03:26 +0000)
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

configure.ac

index 226ed04f909313a972d9a862d02b856278a7beec..67b7b8b63a86d73b53b81efaaa5fb12df55f2999 100644 (file)
@@ -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*])