Add ax_pthread.m4
[wimlib] / configure.ac
index e6dc26f..581710e 100644 (file)
@@ -92,6 +92,9 @@ AC_CHECK_MEMBER([struct stat.st_mtim],
 #                           Required libraries                               #
 ###############################################################################
 
+# ------------------------------ pthreads -------------------------------------
+AX_PTHREAD([], [AC_MSG_ERROR(["cannot find pthreads library"])])
+
 # ------------------------------ libxml2 --------------------------------------
 AC_CHECK_LIB([xml2], [xmlParseFile], [],
             [AC_MSG_ERROR(["cannot find libxml2"])])