mk-conf.sh, INSTALL: truly deal with Solaris +..
commit131fafa7e355d7572ff09c0fb2b9f6741613838f
authorSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Thu, 21 May 2015 20:40:45 +0000 (21 22:40 +0200)
committerSteffen (Daode) Nurpmeso <sdaoden@users.sf.net>
Thu, 21 May 2015 20:48:35 +0000 (21 22:48 +0200)
treec1091fa90e541ead0a0cb412c76e3cba2851e65f
parent1d72a06f0c4ea56eca68d3fc837f39f74c030f4a
mk-conf.sh, INSTALL: truly deal with Solaris +..

The real problem on SunOS/Solaris was that we indeed need stuff
from /usr/xpg4 in order to function: the awk(1) from /usr/bin
cannot printf \xHEX sequences (and would require redirecting STDIN
from /dev/null in cc-test.sh), and the termcap(3) from
/usr/include just works fine in the test program, but in all the
header noise that comes in via nail.h i just cannot get around the
first of the following

  In file included from termcap.c:32:
  /usr/include/term.h:1060: error: field `Ottyb' has incomplete type
  /usr/include/term.h:1061: error: field `Nttyb' has incomplete type
  termcap.c: In function `termcap_init':
  termcap.c:87: warning: passing arg 3 of `tputs' from incompatible pointer type
  termcap.c: In function `termcap_destroy':
  termcap.c:101: warning: passing arg 3 of `tputs' from incompatible pointer type
  *** Error code 1

(whereas the latter i already circumvented via [3bfd273], but
which got reverted again).  So use the ncurses(3) from /usr/xpg4
and all is fine.

So generalize this a bit just in case we need more such
OS-specifics in the future.

Update INSTALL accordingly, and add an example on how to adjust
utility programs from the command line.
INSTALL
mk-conf.sh