Eric Blake b25ca8143a build: accomodate selinux 2.5 header API change
Yet again, selinux has been adding const-correctness; this change
is ABI-compatible, but breaks API, which affects us when we try to
override things in our testsuite:

../../tests/securityselinuxhelper.c:307:24: error: conflicting types for 'selabel_open'
 struct selabel_handle *selabel_open(unsigned int backend,
                        ^~~~~~~~~~~~
In file included from ../../tests/securityselinuxhelper.c:32:0:
/usr/include/selinux/label.h:73:24: note: previous declaration of 'selabel_open' was here

The problem is a new 'const' prior to the second parameter.

Fix it the same way we did in commit 292d3f2d: check for the new
const at configure time.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 5ea3a690a28ed1d7ef1253a6e63e236541cceba2)
2016-10-03 18:10:17 +02:00
..
2014-09-03 09:36:13 -06:00
2015-05-21 18:13:18 +02:00
2015-10-21 15:03:35 +02:00
2015-04-23 17:08:48 -04:00
2016-01-08 21:21:34 -05:00
2015-06-25 09:11:15 +02:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2016-01-08 21:21:34 -05:00
2015-04-27 16:03:31 +02:00
2013-07-29 13:09:39 -06:00
2015-05-21 18:13:18 +02:00
2013-03-19 13:13:28 -06:00
2015-10-21 15:03:35 +02:00
2014-11-25 08:47:12 -07:00
2013-10-14 10:31:01 +01:00
2015-04-14 19:33:02 +02:00
2015-04-14 19:33:02 +02:00
2015-10-21 15:03:35 +02:00
2015-04-23 17:08:48 -04:00