tools/configurator: support --header-file if we don't want to write to stdout.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Jun 2018 02:32:51 +0000 (12:02 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 12 Jun 2018 02:32:51 +0000 (12:02 +0930)
commit1239aa28828e86658f003ce4ef5a5fa023c42711
tree8f7840ebdce59604cc28b11327e4ad1fa9998b83
parent5cd7a0eacf97f9e8d112223e5908dab25d7a6faa
tools/configurator: support --header-file if we don't want to write to stdout.

Works well with --autotools-style.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/configurator/configurator.c