- <p>The configure script no longer checks for antique compilers;
- <code>c89</code> is assumed as a minimum. There are a few
- features from later revisions which are used when available. The
- configure script makes checks to turn on useful warnings from
- clang, gcc and icc. You should be able to build <em class=
- "small-caps">ncurses</em> 6.0 with any of the current (or not so
- current) C compilers available in 2015.</p>
-
- <p>The configure script, by the way, makes changes which do not
- work with systems whose <code>/bin/sh</code> is non-POSIX. This
- mainly affects Solaris (the other vendor <em class=
- "small-caps">unix</em> systems have followed the POSIX guidelines
- for the past twenty years). If you must build on Solaris, its
- <a href=
- "http://docs.oracle.com/cd/E19253-01/html/817-0552/fhkpy.html">xpg4</a>
- binaries suffice, e.g.,</p>
-
- <blockquote class="code-block">
- <!--{{atr2html-->
-
- <p style="font-family: monospace; font-size: 10pt;">
- <font color="#800000">#!/bin/sh</font><br>
- <font color="#008080">WHAT</font>=<strong><em><font color=
- "#800000">`</font></em></strong>hostname|sed -e <font color="#800080">'s/\..*//'</font><strong><em><font color="#800000">`</font></em></strong><br>
-
- <font color="#008080">OUT</font>=configure.out<br>
- <strong><font color=
- "#000080">cat</font></strong> >><font color=
- "#008080">$OUT</font> <font color=
- "#800080"><<EOF/</font><font color="#800080"><br>
- ** </font><strong><em><font color=
- "#800000">`</font></em></strong>date<strong><em><font color=
- "#800000">`</font></em></strong><font color="#800080"><br>
- ** node: </font><font color=
- "#008080">$WHAT</font><font color="#800080"><br>
- ** user: </font><strong><em><font color=
- "#800000">`</font></em></strong>id<strong><em><font color=
- "#800000">`</font></em></strong><font color="#800080"><br>
- ** conf: $*<br>
- EOF/</font><br>
- <br>
- <font color="#008080">SHELL</font>=/bin/sh<br>
- <strong><font color=
- "#000080">if</font></strong> <strong><font color=
- "#000080">test</font></strong> -f /usr/xpg4/bin/sh<br>
-
- <strong><font color="#000080">then</font></strong><br>
- <font color=
- "#008080">CONFIG_SHELL</font>=/usr/xpg4/bin/sh<br>
- <strong><font color="#000080">export</font></strong> CONFIG_SHELL<br>
-
- <font color=
- "#008080">SHELL</font>=<font color=
- "#008080">$CONFIG_SHELL</font><br>
- <strong><font color="#000080">fi</font></strong><br>
- <br>
- rm -f config.status config.cache<br>
- <font color="#008080">TOP</font>=<font color=
- "#008080">$HOME</font>/<font color="#008080">$WHAT</font><br>
- <font color=
- "#008080">$SHELL</font> ./configure --verbose \<br>
-
- --disable-echo \<br>
-
- --disable-overwrite \<br>
-
- --enable-warnings \<br>
-
- --with-warnings \<br>
-
- --prefix=<font color="#008080">$TOP</font> <font color="#008080">$*</font> <strong><font color="#008080">2</font></strong>>&<strong><font color="#008080">1</font></strong> | tee -a <font color="#008080">$OUT</font><br>
-
- <!--atr2html}}--></p>
- </blockquote>
-
- <p>Other major changes to the configure script include:</p>