maint: factor trap-related code out of two syntax-check rules
authorJim Meyering <meyering@redhat.com>
Mon, 3 May 2010 13:35:56 +0000 (15:35 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 3 May 2010 13:49:38 +0000 (15:49 +0200)
commit7d501cdd9c1b7c37dd0c3c085c05969edd2917ee
tree3c6e4a7c234c5f119dbf8fba817ed56b1737d8fc
parentecf6d16dc7488e6929cd431c31288b354071dce3
maint: factor trap-related code out of two syntax-check rules

* cfg.mk (gl_trap_): Define, using a loop and eval'd trap,
rather than repeated "trap" uses.  Also handle "13", SIGPIPE.
(sc_always_defined_macros): Use it.
(sc_system_h_headers): Likewise.
cfg.mk