]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
tests: fix building without xattr support
authorClaudio Bley <cbley@av-test.de>
Wed, 21 Aug 2013 06:52:20 +0000 (08:52 +0200)
committerClaudio Bley <cbley@av-test.de>
Wed, 21 Aug 2013 13:17:12 +0000 (15:17 +0200)
commitd7c4e00367339baf1969c56e6dd40aa1e89f9590
treed2326de151df3e4745e318174fc3e60fbe1dbd8b
parent4b8d387ef9f8d03cde4e812a2db871959fc2db58
tests: fix building without xattr support

Only compile securityselinuxhelper.c if xattr support was detected to
avoid this error:

securityselinuxhelper.c:34:24: fatal error: attr/xattr.h: No such file
or directory compilation terminated.

Since all SELinux tests depend upon the securityselinuxhelper library,
these test programs are now only build when xattr support is
available.
tests/Makefile.am