]> xenbits.xensource.com Git - libvirt.git/commit
build-aux: rewrite header ifdef checker in Python
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 30 Aug 2019 12:22:54 +0000 (13:22 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 20 Nov 2019 14:45:25 +0000 (14:45 +0000)
commit2d6f543b0661d1d7c52e690abbc6d412d9597457
tree940d292b4b36a3501209ecc2b35070c62437c58a
parentb7d00249eabbcb87dec8b1e5d57771354141a518
build-aux: rewrite header ifdef checker in Python

As part of a goal to eliminate Perl from libvirt build tools,
rewrite the header-ifdef.pl tool in Python.

This was a straight conversion, manually going line-by-line to
change the syntax from Perl to Python. Thus the overall structure
of the file and approach is the same.

Tested-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Makefile.am
build-aux/header-ifdef.pl [deleted file]
build-aux/syntax-check.mk
scripts/header-ifdef.py [new file with mode: 0644]