Add check for missing wrapper headers
authorFlorian Weimer <fweimer@redhat.com>
Fri, 15 Feb 2019 20:51:58 +0000 (21:51 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Sat, 16 Feb 2019 07:25:16 +0000 (08:25 +0100)
commitad18dadec945329f95b53b63ed69f91878a329df
tree8c44cc46d0c33a0ddc261e8f6245e0493283d82a
parentebd32784ce2029d0461a90a79bc4e37f8d051765
Add check for missing wrapper headers

If building on a subset of architectures only, it is easy to miss
wrapper headers which are required by other architectures because
they lack the corresponding sysdeps header.  The check ensures
that every installed header which is not itself a sysdeps header
has a header under include/ (that presumably wraps the header,
and perhaps also adding declarations and definitions for !_ISOMAC).

Also check for the absence of the sysdeps/generic/bits directory
removed in commit c72565e5f1124c2dc72573e83406fe999e56091f, to make
accidental re-introduction more difficult.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
ChangeLog
Makefile
Rules
scripts/check-wrapper-headers.py [new file with mode: 0644]