aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-10-30 14:49:30 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-10-30 14:49:30 +0300
commit63b5181546bf00dd7a5cae05225d5b1c80bbbc75 (patch)
treee5b73f944b57d6cffeb8850e0671b91ea5118484
parent0d61882d80d474b49e7f1c3103731310249c1d5f (diff)
downloadlibmicrohttpd-63b5181546bf00dd7a5cae05225d5b1c80bbbc75.tar.gz
libmicrohttpd-63b5181546bf00dd7a5cae05225d5b1c80bbbc75.zip
configure: added summary message about fuzzing tests
-rw-r--r--configure.ac43
-rw-r--r--src/Makefile.am13
2 files changed, 45 insertions, 11 deletions
diff --git a/configure.ac b/configure.ac
index 2fbb59dd..484090cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2662,10 +2662,44 @@ AC_MSG_RESULT([[$enable_postprocessor]])
2662 2662
2663 2663
2664# optional: have zzuf, socat? 2664# optional: have zzuf, socat?
2665AC_CHECK_PROG([have_zzuf],[zzuf], [yes], [no]) 2665run_zzuf_tests="no"
2666AC_CHECK_PROG([have_socat],[socat], [yes], [no]) 2666AS_VAR_IF([enable_heavy_tests],["yes"],
2667AM_CONDITIONAL([HAVE_ZZUF], [test "x$have_zzuf" = "xyes"]) 2667 [
2668AM_CONDITIONAL([HAVE_SOCAT], [test "x$have_socat" = "xyes"]) 2668 AS_VAR_IF([enable_curl],["yes"],
2669 [
2670 AC_CHECK_PROG([have_zzuf],[zzuf],[yes],[no])
2671 AS_VAR_IF([have_zzuf],["yes"],
2672 [
2673 AC_CHECK_PROG([have_socat],[socat],[yes],[no])
2674 AS_VAR_IF([have_socat],["yes"],
2675 [
2676 run_zzuf_tests="yes"
2677 run_zzuf_tests_MSG="yes"
2678 ],
2679 [
2680 run_zzuf_tests="no"
2681 run_zzuf_tests_MSG="no, socat tool not found"
2682 ]
2683 )
2684 ],
2685 [
2686 run_zzuf_tests="no"
2687 run_zzuf_tests_MSG="no, zzuf tool not found"
2688 ]
2689 )
2690 ],
2691 [
2692 run_zzuf_tests="no"
2693 run_zzuf_tests_MSG="no, tests with libcurl are not enabled"
2694 ]
2695 )
2696 ],
2697 [
2698 run_zzuf_tests="no"
2699 run_zzuf_tests_MSG="no, heavy tests are not enabled"
2700 ]
2701)
2702AM_CONDITIONAL([RUN_ZZUF_TESTS],[test "x$run_zzuf_tests" = "xyes"])
2669 2703
2670have_gnutls=no 2704have_gnutls=no
2671have_gnutls_sni=no 2705have_gnutls_sni=no
@@ -4285,6 +4319,7 @@ AC_MSG_NOTICE([GNU libmicrohttpd ${PACKAGE_VERSION} Configuration Summary:
4285 Build static lib: ${enable_static} 4319 Build static lib: ${enable_static}
4286 Build shared lib: ${enable_shared} 4320 Build shared lib: ${enable_shared}
4287 Test with libcurl: ${MSG_CURL} 4321 Test with libcurl: ${MSG_CURL}
4322 Fuzzing tests: ${run_zzuf_tests_MSG=no}
4288]) 4323])
4289 4324
4290AS_IF([test "x$enable_https" = "xyes"], 4325AS_IF([test "x$enable_https" = "xyes"],
diff --git a/src/Makefile.am b/src/Makefile.am
index 619c7cc3..85a10510 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,14 +1,13 @@
1# This Makefile.am is in the public domain 1# This Makefile.am is in the public domain
2
3SUBDIRS = include microhttpd .
4
2if RUN_LIBCURL_TESTS 5if RUN_LIBCURL_TESTS
3curltests = testcurl 6SUBDIRS += testcurl
4if HAVE_ZZUF 7if RUN_ZZUF_TESTS
5if HAVE_SOCAT 8SUBDIRS += testzzuf
6zzuftests = testzzuf
7endif 9endif
8endif 10endif
9endif
10
11SUBDIRS = include microhttpd $(curltests) $(zzuftests) .
12 11
13# Finally (last!) also build experimental lib... 12# Finally (last!) also build experimental lib...
14if HAVE_EXPERIMENTAL 13if HAVE_EXPERIMENTAL