build: avoid dynamic linking issue on Solaris sparc
commit6412d569dc104fe7c0dea8adf71c011df1afeaeb
authorPádraig Brady <P@draigBrady.com>
Mon, 25 Jan 2016 01:57:12 +0000 (24 17:57 -0800)
committerPádraig Brady <P@draigBrady.com>
Mon, 25 Jan 2016 02:09:08 +0000 (24 18:09 -0800)
tree1215def5527f6c4a3507a9e788c65738a135ca99
parentcfdac06196de4af636ddcfdbfb4c4fd22782d6e7
build: avoid dynamic linking issue on Solaris sparc

Solaris Studio 12 on sparc (not x86) will not remove
unused functions, thus leaving a reference to an
undefined program_name symbol from emit_try_help().

* src/system.h (emit_try_help): Change from an inline function
to a macro, so that the inline function is not actually
defined in libstdbuf.c.
Fixes http://bugs.gnu.org/22430
src/system.h