meson: Derive defines from header, struct, function names
commit70021b0e837c7b74ab687d95c6b788f8288c3463
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 21 Dec 2016 03:20:30 +0000 (21 08:50 +0530)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Jul 2017 23:03:39 +0000 (13 19:03 -0400)
tree0f4c1a8ebbefff4b04acdcb05ad7af9eaebe38f9
parent122f4c051db2d1f02569db5b167c0932ae29aa4d
meson: Derive defines from header, struct, function names

This is what Autoconf macros do too, so no need to hard-code the names.
meson.build