mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00

If libcheck is missing, the unit tests are skipped. Header include path changes mean clamav.h is not available when the unit tests are skipped, and thus the check_clamav_skip.c files won't compile. This patch removes the clamav.h dependency so `make check` will "work".
10 lines
254 B
C
10 lines
254 B
C
#include <stdio.h>
|
|
|
|
int main(int argc, char **argv)
|
|
{
|
|
(void)argc;
|
|
(void)argv;
|
|
puts("\n*** Unit tests disabled in this build\n*** Use ./configure --enable-check to enable them\n");
|
|
/* tell automake the test was skipped */
|
|
return 77;
|
|
}
|