X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-exclude.c;h=a729bba3664b2fe9f613c1d78eb6af797b36d010;hb=c26924950a3a546112e35c99aad85c0855f4664a;hp=c220e0b35b64d84793862d3e5651ac622f681d52;hpb=f28a2482feb7b5870dea9c7fb895622cdca5bd30;p=gnulib.git diff --git a/tests/test-exclude.c b/tests/test-exclude.c index c220e0b35..a729bba36 100644 --- a/tests/test-exclude.c +++ b/tests/test-exclude.c @@ -60,6 +60,12 @@ int exclude_flags[] = { ARGMATCH_VERIFY (exclude_keywords, exclude_flags); +/* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in , and + thus must link with a definition of that function. Provide it here. */ +#ifdef ARGMATCH_DIE_DECL +ARGMATCH_DIE_DECL { exit (1); } +#endif + int main (int argc, char **argv) {