]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: avoid check-symfile on non-Linux
authorEric Blake <eblake@redhat.com>
Wed, 5 Sep 2012 19:10:18 +0000 (13:10 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 5 Sep 2012 19:10:18 +0000 (13:10 -0600)
commitae94cf2d13f8925f4a1f37210cf4b9112f0adcc6
tree1e3791cde6fe7fe6586a054e3639adab8fdb3d6c
parent98e732fc34a47ad9dfdb64aa4207623ee4c1ebcd
build: avoid check-symfile on non-Linux

I tested both OpenBSD and cygwin; both failed 'make check' with:

  GEN    check-symfile
Can't return outside a subroutine at ./check-symfile.pl line 13.

Perl requires 'exit 77' instead of 'return 77' in that context,
but even with that tweak, the build still fails, since the exit
code of 77 is only special to explicit TESTS=foo listings, and
not to make-only dependency rules where we are not going through
automake's test framework.

* src/check-symfile.pl: Kill bogus platform check...
* src/Makefile.am (check-symfile): ...and replace with an automake
conditional.
src/Makefile.am
src/check-symfile.pl