Do not compile the serf_spider test program if APR doesn't support threads.
* build/scons_extras.py
(CheckAPRHasThreads): New custom test function.
* SConstruct
(custom_tests): Add CheckAPRHasThreads.
(apr_has_threads): Perform the config test.
(TEST_PROGRAMS): Add serf_spider only if APR has threads.
* test/CMakeLists.txt
(serf_check_apr_has_threads): New test function.
(SIMPLE_TEST_TARGETS): Add serf_spider only if APR has threads.
* CMakeLists.txt: Add a note to the summary if APR doesn't have threads.
git-svn-id: https://svn.apache.org/repos/asf/serf/trunk@1931481 13f79535-47bb-0310-9956-ffa450edef68
4 files changed