Browse Source

configure: warn if building without threads

Evgeny Grin (Karlson2k) 2 năm trước cách đây
mục cha
commit
934d0f52df
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      configure.ac

+ 3 - 1
configure.ac

@@ -5450,7 +5450,9 @@ AS_IF([test "x$enable_bauth" != "xyes" || \
    test "x${enable_md5}" = "xno" || \
    test "x${enable_sha256}" = "xno" || \
    test "x${enable_sha512_256}" != "xyes" || \
+   test "x${USE_THREADS}" = "xnone" || \
    test "x$enable_httpupgrade" != "xyes" || \
    test "x$enable_cookie" != "xyes" || \
    test "x$enable_postprocessor" != "xyes"],
-   [AC_MSG_NOTICE([WARNING: This will be a custom build with missing symbols. Do NOT use this build in a distribution. Building with these kinds of configure options is only for custom builds for embedded systems.])])
+   [AC_MSG_WARN([This will be a custom build with missing symbols. Do NOT use this build in a distribution. Building with these kinds of configure options is only for custom builds for embedded systems.])]
+)