the next release will have as a default
#define SHOPT_CMDLIB_HDR <cmdlist.h>
with appropriate guards around
#include SHOPT_CMDLIB_HDR
in data/builtins.c
the solaris build can then compile with
-DSHOPT_CMDLIB_HDR='"solaris_cmdlist.h"'
-- Glenn Fowler -- AT&T Research, Florham Park NJ --
On Wed, 21 Feb 2007 01:34:00 +0100 Roland Mainz wrote:
> Glenn Fowler wrote:
> [snip]
> > > If that justification isn't enougth I'd like to follow
> > > http://mail.opensolaris.org/pipermail/ksh93-integration-discuss/2007-January/002001.html
> > > which AFAIK allows us to ship any of our code as CPL1.0 on demand and
> > > would therefore avoid the need to add a CDDL license template into that
> > > code (e.g. I am not happy with the idea to put a giant CDDL thing into
> > > David&&Glenn's code for that tiny #ifdef/#include/etc.-hack...).
> >
> > > AFAIK that's all... :-)
> >
> > what is soalrish about
> > #if SHOPT_CMDLIB_SOLARIS_BLTINS
> > #include "solaris_cmdlist.h"
> The Solaris part is hidden in "solaris_cmdlist.h" which defines the list
> of builtins as specified in PSARC 2006/550.