generate-af-list.sh: slightly generalize pattern, fix w/musl (#8629)
authorWill Dietz <github@wdtz.org>
Sat, 31 Mar 2018 10:55:45 +0000 (05:55 -0500)
committerLennart Poettering <lennart@poettering.net>
Sat, 31 Mar 2018 10:55:45 +0000 (12:55 +0200)
commit203690537b2d2c099a1380e0950d07981b4471c4
tree6df2bb61c2965b14f30c87a1004d2aac02c1fe40
parent3e85ec072180b6fbec82d715186985536859a29d
generate-af-list.sh: slightly generalize pattern, fix w/musl (#8629)

Accept definitions to other AF_ constants, not just PF_ ones,
such as:

  #define AF_LINUX AF_LOCAL

It may not be necessary to impose any restriction on the
definitions of the macros extracted, but for now
keep most of that requirement but match AF_* as well.
src/basic/generate-af-list.sh