Use the proper tool for the job and make libsigrok/version.h a secondary configuration header, so that autoconf's AC_DEFINE machinery can be used to generate it. Note that the header template is still hand-written, enabling fine control of the content. |
||
---|---|---|
.. | ||
libsigrok.h | ||
proto.h | ||
version.h.in |