From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8361 invoked from network); 11 Oct 2007 19:23:54 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 11 Oct 2007 19:23:54 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 25990 invoked from network); 11 Oct 2007 19:23:48 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 11 Oct 2007 19:23:48 -0000 Received: (qmail 21466 invoked by alias); 11 Oct 2007 19:23:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23939 Received: (qmail 21445 invoked from network); 11 Oct 2007 19:23:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 11 Oct 2007 19:23:45 -0000 Received: (qmail 25691 invoked from network); 11 Oct 2007 19:23:45 -0000 Received: from mtaout03-winn.ispmail.ntl.com (81.103.221.49) by a.mx.sunsite.dk with SMTP; 11 Oct 2007 19:23:39 -0000 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20071011192338.NLXX26125.mtaout03-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Thu, 11 Oct 2007 20:23:38 +0100 Received: from pws-pc.ntlworld.com ([81.107.45.67]) by aamtaout03-winn.ispmail.ntl.com with SMTP id <20071011192338.WWFI26699.aamtaout03-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Thu, 11 Oct 2007 20:23:38 +0100 Date: Thu, 11 Oct 2007 20:23:01 +0100 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: uuid module out-of-tree Message-Id: <20071011202301.2d61328e.p.w.stephenson@ntlworld.com> In-Reply-To: <20071011150811.GA3525@scowler.net> References: <20071011144428.GA2134@scowler.net> <20071011150811.GA3525@scowler.net> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.14; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 11 Oct 2007 11:08:11 -0400 Clint Adams wrote: > On Thu, Oct 11, 2007 at 10:44:28AM -0400, Clint Adams wrote: > > One thing to do would be to ship some kind of include file for autoconf > > so that the out-of-tree module can set all the necessary defines > > (such as HAVE_STDARG_H or HAVE_VARARGS_H) needed by system.h > > > > Alternately, the portions of system.h that require config.h but don't > > need to be exported for out-of-tree modules could be split out to > > a different header or guarded with #ifdefs. > > With the following aczshoot.m4 function (included from acinclude.m4) > > AC_DEFUN(zsh_OOT, > [ > AC_CHECK_HEADERS(stdarg.h varargs.h termios.h termio.h) > > AC_TYPE_SIGNAL > > AC_DEFINE([ZSH_OOT_MODULE], [], [Out-of-tree module]) > ]) > > and the following patch, the complete config.h is unnecessary. The uuid > module doesn't need stdarg.h, varargs.h, termios.h, termio.h, or > RETSIGTYPE, however. Any thoughts? It looks unobtrusive enough we could do that for now and change it if we think of something better. I haven't really go my mind around the requirements for doing this properly, however. I think it's worth keeping zcurses in the distribution anyway. It would be quite a nice addition to compinstall and zsh-install-newuser (with a function front-end). -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/