aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-12-23 02:01:39 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-01-28 17:06:02 +0100
commite01115702ad73c32efdf11b97d84a81f59300e1d (patch)
treead59f6e47978e3873cc0f1229d6aaac5aae221e8 /configure.ac
parentab6e81997cf8c5bcf7d1778bb32d8e01425b13f1 (diff)
downloadblogc-e01115702ad73c32efdf11b97d84a81f59300e1d.tar.gz
blogc-e01115702ad73c32efdf11b97d84a81f59300e1d.tar.bz2
blogc-e01115702ad73c32efdf11b97d84a81f59300e1d.zip
common: thread-pool: initial work
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9e6d7eb..35cbba9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -135,6 +135,7 @@ AS_IF([test "x$enable_runserver" = "xyes"], [
AC_MSG_ERROR([blogc-runserver tool requested but pthread is not supported])
])
RUNSERVER="enabled"
+ have_threads=yes
have_runserver=yes
])
AM_CONDITIONAL([BUILD_RUNSERVER], [test "x$have_runserver" = "xyes"])
@@ -220,6 +221,8 @@ AM_CONDITIONAL([USE_BGR_DEPS], [test "x$have_bgr_deps" = "xyes"])
BASH="$ac_cv_path_bash"
AC_SUBST(BASH)
+AM_CONDITIONAL([USE_THREADS], [test "x$have_threads" = "xyes"])
+
AC_CHECK_HEADERS([sys/stat.h time.h])
LT_LIB_M