Eric Blake 7040c65eb8 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 e0509e7106525d3568fc7498c37287652da20e5d)
2016-10-03 17:40:53 +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
2015-06-25 09:11:15 +02:00
2015-11-27 16:39:46 +01:00
2015-04-27 16:03:31 +02:00
2015-05-21 18:13:18 +02:00
2015-10-05 14:34:04 -04:00
2015-10-05 14:34:04 -04:00
2015-10-21 15:03:35 +02:00
2015-10-21 15:03:35 +02:00
2014-11-25 08:47:12 -07:00
2015-04-14 19:33:02 +02:00
2015-04-14 19:33:02 +02:00
2014-04-08 11:15:55 +01:00
2015-10-21 15:03:35 +02:00
2015-04-23 17:08:48 -04:00