clamav/unit_tests/check_clamav_skip.c
Török Edvin 15d67313c4 allow 'make check' to work even if check is not installed
by skipping checks that require it. (bb #1157)
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.

git-svn: trunk@4172
2008-09-11 11:02:12 +00:00

7 lines
221 B
C

#include <stdio.h>
int main(int argc, char **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;
}