From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: Release Guile, now ;-) [was:] Re: GC rewrite, first version. Date: Fri, 02 Aug 2002 11:10:21 -0700 Sender: guile-devel-admin@gnu.org Message-ID: <3D4ACB0D.CB0B8106@pacbell.net> References: <200208021729.g72HTJb30159@Mirddin.farlep.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1028311834 6803 127.0.0.1 (2 Aug 2002 18:10:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2002 18:10:34 +0000 (UTC) Cc: Rob Browning , rm@fabula.de, Han-Wen Nienhuys , Dirk Herrmann , guile-devel@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17agsg-0001lK-00 for ; Fri, 02 Aug 2002 20:10:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17agtC-00047H-00; Fri, 02 Aug 2002 14:11:02 -0400 Original-Received: from bay-bridge.veritas.com ([143.127.3.10] helo=mtvmime01.veritas.com) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17agsb-00041y-00 for ; Fri, 02 Aug 2002 14:10:25 -0400 Original-Received: from megami (unverified) by mtvmime01.veritas.com (Content Technologies SMTPRS 4.2.10) with SMTP id ; Fri, 2 Aug 2002 11:08:57 -0700 Original-Received: from pacbell.net(ellen.veritas.com[10.180.88.137]) (2539 bytes) by megami via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Fri, 2 Aug 2002 11:10:24 -0700 (PDT) (Smail-3.2.0.101 1997-Dec-17 #15 built 2001-Aug-30) X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en Original-To: Sergey Poznyakoff Errors-To: guile-devel-admin@gnu.org X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.devel:934 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:934 Sergey Poznyakoff wrote: > Agreed, I've proposed the #ifdef approach only as a temporary > solution. > > > For now, can you tell which defines are the real trouble makers? Are > > there others than PACKAGE_STRING? I'm wondering if we can just fix > > the major offenders for now and then fix it *right* for 1.6.2. > > The major ones are: PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, > PACKAGE_BUGREPORT. The HAVE_.* defines just generate lots of > redefinition warning, but apart from that they don't do any harm. I'm sure you know, the problem stems from standardized autoconf tests pluging in standardized names. Just add the following macro at the end of the configure.ac file: http://ac-archive.sf.net/Miscellaneous/ac_create_prefix_config_h.html Commentary from the macro: dnl takes the usual config.h generated header file; looks for each of dnl the generated "#define SOMEDEF" lines, and prefixes the defined name dnl (ie. makes it "#define PREFIX_SOMEDEF". The result is written to dnl the output config.header file. The PREFIX is converted to uppercase dnl for the conversions. dnl dnl default OUTPUT-HEADER = $PACKAGE-config.h dnl default PREFIX = $PACKAGE dnl default ORIG-HEADER, derived from OUTPUT-HEADER dnl if OUTPUT-HEADER has a "/", use the basename dnl if OUTPUT-HEADER has a "-", use the section after it. dnl otherwise, just config.h dnl dnl In most cases, the configure.in will contain a line saying dnl AC_CONFIG_HEADER(config.h) dnl somewhere *before* AC_OUTPUT and a simple line saying dnl AC_PREFIX_CONFIG_HEADER dnl somewhere *after* AC_OUTPUT. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel