From MAILER-DAEMON Sun Jun 01 14:57:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19MY16-0004uG-2f
	for mharc-autoconf@gnu.org; Sun, 01 Jun 2003 14:57:16 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19MY0R-0004D6-8g
	for autoconf@gnu.org; Sun, 01 Jun 2003 14:56:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19MXxf-0002vl-5C
	for autoconf@gnu.org; Sun, 01 Jun 2003 14:53:43 -0400
Received: from diem-wing.mit.edu ([18.101.1.23])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19MXvJ-00021n-Be
	for autoconf@gnu.org; Sun, 01 Jun 2003 14:51:17 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id AC0F743E9; Sun,  1 Jun 2003 14:51:41 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: Peter Eisentraut <peter_e@gmx.net>
References: <Pine.LNX.4.44.0305311220100.1796-100000@peter.localdomain>
From: Assar Westerlund <assar@kth.se>
Date: 01 Jun 2003 14:51:41 -0400
In-Reply-To: <Pine.LNX.4.44.0305311220100.1796-100000@peter.localdomain>
Message-ID: <86wug5hbr6.fsf@diem-wing.mit.edu>
Lines: 25
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
Subject: Re: Possible problem with AC_CHECK_TYPES
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 01 Jun 2003 18:57:14 -0000

Peter Eisentraut <peter_e@gmx.net> writes:
> Using "Intel(R) C++ Compiler for 32-bit applications, Version 7.1" (which
> also serves as a C compiler), this only draws a warning, not an error, if
> 'union semun' doesn't exist:
> 
> config.c(8): warning #279: controlling expression is constant
>       if ((union semun *) 0)
>           ^
> 
> config.c(11): warning #70: incomplete type is not allowed
>       if (sizeof (union semun))

> Is this compiler justified in doing so and/or should the Autoconf test be
> adjusted to cover this problem?

I would argue that's un-useful behaviour by the compiler.  The
standard seems to say that "you shall not" do sizeof(incomplete type)
and the compiler is required to issue a "diagnostic" for this.  The
standard doesn't really say that it should fail to compile this
program, but I cannot see how that would be useful.

Have you/can you ask intel about this?

It might make sense to have autoconf work-around this problem.  Do you
have any suggestion for a way to do so?



From MAILER-DAEMON Sun Jun 01 15:16:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19MYJh-0004b1-Nd
	for mharc-autoconf@gnu.org; Sun, 01 Jun 2003 15:16:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19MYJZ-0004HD-3X
	for autoconf@gnu.org; Sun, 01 Jun 2003 15:16:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19MYJJ-0003WK-2e
	for autoconf@gnu.org; Sun, 01 Jun 2003 15:16:05 -0400
Received: from diem-wing.mit.edu ([18.101.1.23])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19MYJG-0003Oh-Ao
	for autoconf@gnu.org; Sun, 01 Jun 2003 15:16:02 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id D6D904432; Sun,  1 Jun 2003 15:16:27 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: Robert Norris <rob@cataclysm.cx>
References: <20030530041655.GA1358@gideon.its.monash.edu.au>
From: Assar Westerlund <assar@kth.se>
Date: 01 Jun 2003 15:16:27 -0400
In-Reply-To: <20030530041655.GA1358@gideon.its.monash.edu.au>
Message-ID: <861xydlib8.fsf@diem-wing.mit.edu>
Lines: 12
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
Subject: Re: Output from AC_DEFINE_UNQUOTED not appearing in config.h
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 01 Jun 2003 19:16:28 -0000

Robert Norris <rob@cataclysm.cx> writes:
> for opt in $want_storage ; do
>     eval "j2_want_storage_$opt=yes"
>     def="WANT_STORAGE_`echo $opt | tr 'a-z' 'A-Z'`"
>     AC_DEFINE_UNQUOTED($def)
> done

This doesn't work.  AC_DEFINE_UNQUOTED needs a third argument and the
first one cannot be a shell variable for autoheader to add it to
config.h.in.  See the section on 'autoheader' in the documentation.
You need to use one of the AH_VERBATIM/AH_TEMPLATE/AH_TOP/AH_BOTTOM
macros.



From MAILER-DAEMON Mon Jun 02 01:43:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Mi68-0005bP-Qd
	for mharc-autoconf@gnu.org; Mon, 02 Jun 2003 01:43:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Mi65-0005Rc-PX
	for autoconf@gnu.org; Mon, 02 Jun 2003 01:43:05 -0400
Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Mi64-0005PB-Cc
	for autoconf@gnu.org; Mon, 02 Jun 2003 01:43:04 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Mi4L-0000ln-Ue
	for autoconf@gnu.org; Mon, 02 Jun 2003 01:41:19 -0400
Received: from mail.dpsl.net ([202.144.16.187] helo=khyber.enigma)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Mi4L-0008Jb-8n
	for autoconf@gnu.org; Mon, 02 Jun 2003 01:41:17 -0400
Received: by mail.dpsl.net with Internet Mail Service (5.5.2653.19)
	id <K7393L59>; Mon, 2 Jun 2003 11:15:04 +0530
Received: from khyber.enigma (mail.dpsl.net [202.144.16.187]) by khyber.enigma
	with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id K7393L57; Mon, 2 Jun 2003 11:15:00 +0530
Received: FROM WAS BY khyber.enigma ; Mon Jun 02 11:14:59 2003 +0500
From: Sagar Shah <sagars@dpsl.net>
To: autoconf@gnu.org, libart@gnome.org, gnome-devel-list@gnome.org, 
	gnomemm-list@gnome.org
Message-ID: <001101c32932$829e1e50$860410ac@WAS>
Date: Mon, 2 Jun 2003 11:12:20 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_000E_01C328F7.D5F17470"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-TMDA-Confirmed: Mon Jun 2 01:43:04 EDT 2003
Subject: Issue regarding GNOME CANVAS Libraries on Windows
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 02 Jun 2003 05:43:06 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_000E_01C328F7.D5F17470
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

   =20
Hi,
=20
I have made gtkmm applications (projects), that are working fine
over Linux 7.x os, the applications include the support of gnome
libraries (libgnome, libart, etc), gtkmm and gtk libraries.
=20
Well  I wanted to have the same applications to be working  over
Microsoft Windows 9x,NT,2000. For these I have installed Dev-Cpp IDE,
gtk-2.0 and gtkmm-2.0.
=20
The applications that include GTK and GTKMM libraries are working fine
over Windows, but the problems comes when applications of GNOME CANVAS
is tried to built over Windows, since I dont have support of GNOME
libraries in windows..
=20
we have searched the libraries over the net, but a html page
http://canvas.gnome.org:65348/gnomefaq/html/x359.html
<http://canvas.gnome.org:65348/gnomefaq/html/x359.html>=20
< http://canvas.gnome.org:65348/gnomefaq/html/x359.html
<http://canvas.gnome.org:65348/gnomefaq/html/x359.html> >  ,stating =
that
no support is available of GNOME for Windows, made my efforts in vain .
=20
If u could guide me, in what way I could get GNOME libraries, for =
having
GNOME
CANVAS applications working over Microsoft Windows, I would be very
much greatful to u.
=20
Thanx in advance.
=20
Kind Regards,

Sagar Shah
=20

------=_NextPart_000_000E_01C328F7.D5F17470
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>

<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>&nbsp;&nbsp;&nbsp; </FONT></DIV>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I&nbsp;have made gtkmm applications (projects), that are working=20
fine<BR>over Linux 7.x os, the applications include the support of=20
gnome<BR>libraries (libgnome, libart, etc), gtkmm and gtk=20
libraries.<BR>&nbsp;<BR>Well&nbsp; I&nbsp;wanted to have the same =
applications=20
to be working&nbsp; over<BR>Microsoft Windows 9x,NT,2000. For =
these&nbsp;I have=20
installed Dev-Cpp IDE,<BR>gtk-2.0 and gtkmm-2.0.<BR>&nbsp;<BR>The =
applications=20
that include GTK and GTKMM libraries are working fine<BR>over Windows, =
but the=20
problems comes when applications of GNOME CANVAS<BR>is tried to built =
over=20
Windows, since I dont have support of GNOME<BR>libraries in=20
windows..<BR>&nbsp;<BR>we have searched the libraries over the net, but =
a html=20
page<BR><A=20
href=3D"http://canvas.gnome.org:65348/gnomefaq/html/x359.html">http://ca=
nvas.gnome.org:65348/gnomefaq/html/x359.html</A><BR>&lt;<A=20
href=3D"http://canvas.gnome.org:65348/gnomefaq/html/x359.html">http://ca=
nvas.gnome.org:65348/gnomefaq/html/x359.html</A>&gt;&nbsp;=20
,stating that<BR>no support is available of GNOME for Windows, =
made&nbsp;my=20
efforts in vain .<BR>&nbsp;<BR>If u could guide me, in =
what&nbsp;way&nbsp;I=20
could get GNOME libraries, for having GNOME<BR>CANVAS applications =
working over=20
Microsoft Windows,&nbsp;I would be very<BR>much greatful to=20
u.<BR>&nbsp;<BR>Thanx in advance.<BR>&nbsp;<BR>Kind Regards,</DIV><FONT =
size=3D2>
<DIV><BR><FONT size=3D3>Sagar Shah</FONT></DIV>
<DIV>&nbsp;</DIV></FONT></BODY></HTML>

------=_NextPart_000_000E_01C328F7.D5F17470--




From MAILER-DAEMON Mon Jun 02 11:08:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19MqrK-0002Gv-9s
	for mharc-autoconf@gnu.org; Mon, 02 Jun 2003 11:04:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19MqrF-0002Cq-Qd
	for autoconf@gnu.org; Mon, 02 Jun 2003 11:04:21 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Mqqi-0001l5-6H
	for autoconf@gnu.org; Mon, 02 Jun 2003 11:03:50 -0400
Received: from anor.ics.muni.cz ([147.251.4.35])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Mqqh-0001j8-7c
	for autoconf@gnu.org; Mon, 02 Jun 2003 11:03:47 -0400
Received: from anxur.fi.muni.cz (IDENT:0@anxur.fi.muni.cz [147.251.48.3])
	by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id h52F3fSP005803
	for <autoconf@gnu.org>; Mon, 2 Jun 2003 17:03:41 +0200
Received: from aisa.fi.muni.cz (IDENT:0@aisa [147.251.48.1])
	by anxur.fi.muni.cz (8.12.9/8.12.8) with ESMTP id h52F3ePN020650
	for <autoconf@gnu.org>; Mon, 2 Jun 2003 17:03:40 +0200 (MEST)
Received: from aisa.fi.muni.cz (IDENT:12503@localhost [127.0.0.1])
	by aisa.fi.muni.cz (8.12.9/8.12.8) with ESMTP id h52F3dfO8381964
	for <autoconf@gnu.org>; Mon, 2 Jun 2003 17:03:39 +0200 (MET DST)
Received: from localhost (xsvobod2@localhost)h52F3dAo8676759
	for <autoconf@gnu.org>; Mon, 2 Jun 2003 17:03:39 +0200 (MET DST)
X-Authentication-Warning: aisa.fi.muni.cz: xsvobod2 owned process doing -bs
Date: Mon, 2 Jun 2003 17:03:39 +0200
From: David Svoboda <xsvobod2@informatics.muni.cz>
To: autoconf@gnu.org
Message-ID: <Pine.SGI.4.21.0306021656090.7519400-100000@aisa.fi.muni.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Muni-Spam-TestIP: 147.251.48.3
X-Muni-Virus-Test: Clean
Subject: AC_PROG_CC and AC_PROG_LIBTOOL problem
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 02 Jun 2003 15:04:24 -0000

I've been using Compaq C++ compiler under Tru64 UNIX (alpha). In libtool
it is supposed, that this compiler doesn't supprot -fPIC flag, which
generates position independent code. 

If I compile my project by hand (with using -fPIC flag), everythig is ok.
If I let the autoconf and libtool do it, they use -DPIC flag and
finally the unresolved references are in the resulting shared library.

Do you happen to know, how to solve this problem?

	David




From MAILER-DAEMON Mon Jun 02 12:35:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19MsAu-0007U8-I6
	for mharc-autoconf@gnu.org; Mon, 02 Jun 2003 12:28:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Ms9b-00079m-6E
	for autoconf@gnu.org; Mon, 02 Jun 2003 12:27:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Ms4b-0004zw-Og
	for autoconf@gnu.org; Mon, 02 Jun 2003 12:22:14 -0400
Received: from 12-218-210-98.client.mchsi.com ([12.218.210.98]
	helo=desk.wscott1.homeip.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19Ms45-0004gv-2K
	for autoconf@gnu.org; Mon, 02 Jun 2003 12:21:41 -0400
Received: from (locally authorised broken client using invalid hostname!)
	localhost (really [127.0.0.1]) by wscott1.homeip.net
	via sendmail with esmtp
	id <m19Ms3y-00ApYUC@desk.wscott1.homeip.net> (Debian Smail3.2.0.114)
	Mon, 2 Jun 2003 11:21:34 -0500 (EST) 
Date: Mon, 02 Jun 2003 11:21:34 -0500 (EST)
Message-Id: <20030602.112134.56958549.wscott@bitmover.com>
To: cygwin@cygwin.com, autoconf@gnu.org
From: Wayne Scott <wscott@bitmover.com>
X-Mailer: Mew version 3.2 on Emacs 21.3 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: CYGWIN enviroment conflicts with autoconf configure scripts
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 02 Jun 2003 16:28:43 -0000


I have been debugging a problem in Windows under the Cygwin
enviroment, where a autoconf configure script would fail to run
correctly if the user executing the script was not the same person
that installed cygwin.

I debugged this to the following problem:  We have been using
CYGWIN=nontsec to make the permissions work.

CYGWIN is a enviromental variable used by CYGWIN for a number of different
purposes.

	http://cygwin.com/cygwin-ug-net/setup-env.html

Unfortunately it is also used as a temporary variable in the autoconf
script and so as soon as configure resets the CYGWIN variable, it was
unable to run 'gcc' anymore.


Autoconf needs to be changes to not trash the CYGWIN variable when
running it's tests.  And Cygwin developers need to beware of this
problem when trying to build programs.



autoconf v2.13
cygwin 1.3.22

Thanks,

-Wayne



From MAILER-DAEMON Mon Jun 02 13:04:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19MsjE-0002jy-8B
	for mharc-autoconf@gnu.org; Mon, 02 Jun 2003 13:04:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19MseE-0000aw-OK
	for autoconf@gnu.org; Mon, 02 Jun 2003 12:59:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19MsXj-0007R5-MQ
	for autoconf@gnu.org; Mon, 02 Jun 2003 12:52:20 -0400
Received: from mx1.redhat.com ([66.187.233.31])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19MsXP-00075E-2C
	for autoconf@gnu.org; Mon, 02 Jun 2003 12:51:59 -0400
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
	[172.16.52.254])
	by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h52GprH06504
	for <autoconf@gnu.org>; Mon, 2 Jun 2003 12:51:53 -0400
Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156])
	by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h52GprI04872
	for <autoconf@gnu.org>; Mon, 2 Jun 2003 12:51:53 -0400
Received: from redhat.com (coi.boston.redhat.com [172.16.67.14])
	by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h52Gpqb22165
	for <autoconf@gnu.org>; Mon, 2 Jun 2003 12:51:52 -0400
Received: by redhat.com (Postfix, from userid 201)
	id 227C06C68C; Mon,  2 Jun 2003 12:51:50 -0400 (EDT)
Date: Mon, 2 Jun 2003 12:51:50 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com, autoconf@gnu.org
Message-ID: <20030602165150.GA3109@redhat.com>
Mail-Followup-To: cygwin@cygwin.com, autoconf@gnu.org
References: <20030602.112134.56958549.wscott@bitmover.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030602.112134.56958549.wscott@bitmover.com>
User-Agent: Mutt/1.4.1i
Subject: Re: cygwin enviroment conflicts with autoconf configure scripts
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: cygwin@cygwin.com
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 02 Jun 2003 17:04:08 -0000

On Mon, Jun 02, 2003 at 11:21:34AM -0500, Wayne Scott wrote:
>I have been debugging a problem in Windows under the Cygwin enviroment,
>where a autoconf configure script would fail to run correctly if the
>user executing the script was not the same person that installed
>cygwin.

That's an indication of an improper cygwin installation.  Your
/etc/passwd is probably incorrect.

cgf



From MAILER-DAEMON Mon Jun 02 13:53:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19MtU4-0003Ay-E9
	for mharc-autoconf@gnu.org; Mon, 02 Jun 2003 13:52:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19MtTu-00035L-UG
	for autoconf@gnu.org; Mon, 02 Jun 2003 13:52:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19MtQz-0001zJ-9r
	for autoconf@gnu.org; Mon, 02 Jun 2003 13:49:25 -0400
Received: from gw.permabit.com ([4.36.55.2] helo=diem-wing.mit.edu)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19MtFb-0005p5-UL
	for autoconf@gnu.org; Mon, 02 Jun 2003 13:37:39 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id 1D2AD443B; Mon,  2 Jun 2003 13:38:05 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: Wayne Scott <wscott@bitmover.com>
References: <20030602.112134.56958549.wscott@bitmover.com>
From: Assar Westerlund <assar@kth.se>
Date: 02 Jun 2003 13:38:05 -0400
In-Reply-To: <20030602.112134.56958549.wscott@bitmover.com>
Message-ID: <86u1b82xdu.fsf@diem-wing.mit.edu>
Lines: 14
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
cc: cygwin@cygwin.com
Subject: Re: CYGWIN enviroment conflicts with autoconf configure scripts
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 02 Jun 2003 17:52:34 -0000

Wayne Scott <wscott@bitmover.com> writes:
> Unfortunately it is also used as a temporary variable in the autoconf
> script and so as soon as configure resets the CYGWIN variable, it was
> unable to run 'gcc' anymore.

It's only set by the (now obsolete) AC_CYGWIN macro.

> Autoconf needs to be changes to not trash the CYGWIN variable when
> running it's tests.  And Cygwin developers need to beware of this
> problem when trying to build programs.
>
> autoconf v2.13

You need to update autoconf and migrate away from obsolete macros.



From MAILER-DAEMON Mon Jun 02 23:19:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19N2I4-0001gw-M9
	for mharc-autoconf@gnu.org; Mon, 02 Jun 2003 23:16:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19N2Hb-0001CZ-Nx
	for autoconf@gnu.org; Mon, 02 Jun 2003 23:16:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19N2Fs-0008GW-Fr
	for autoconf@gnu.org; Mon, 02 Jun 2003 23:14:33 -0400
Received: from sdns.at-m.jp ([211.10.28.165])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19N2EB-0006MC-Dm
	for autoconf@gnu.org; Mon, 02 Jun 2003 23:12:47 -0400
Received: from MailMagic (f037.ah097.FreeBit.NE.JP [221.113.97.37])
	by sdns.at-m.jp (8.11.6/8.11.6) with ESMTP id h533Cka00612
	for <autoconf@gnu.org>; Tue, 3 Jun 2003 12:12:46 +0900
Message-ID: 200306031216110578.D1752516DCE74E1DB9E6CEF818CEEB0A@mail.at-m.or.jp
From: =?ISO-2022-JP?B?GyRCJV4lKyU4JWMlUSVzGyhC?= <ukk@mail.at-m.or.jp>
To: autoconf@gnu.org
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
Date: Tue, 3 Jun 2003 12:16:11 +0900
X-Priority: 3
X-Library: Indy 9.00.10
X-Mailer: MailMagic 2.0
Subject:  =?iso-2022-jp?b?GyRCIVZMJD41Qno5LTlwIighVyEhSSw4KyEqISo2QzBbGyhC?=
 =?iso-2022-jp?b?GyRCJE4lXiUrIVYbKEIgGyRCRm5KRiVBGyhC?=
 =?iso-2022-jp?b?GyRCJWokKyRpJE5CIyRqSiohVxsoQg==?=
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 03 Jun 2003 03:16:46 -0000



http://www10.ocn.ne.jp/~maca-ja/
$B$46=L#$,$"$j$^$7$?$i!"99$K>\$7$$>pJs$,$4$6$$$^$9$N$G!">e5-%[!<%`%Z!<%8$K%"%/(B
$B%;%9$7$F$/$@$5$$!#(B

$B!V%P%$%"%0%i!W$H$NHf3SI=$b7G:\$5$l$F$$$^$9!#(B

$B!V%A%j$N4q@W!W$H$b$$$o$l$k!V%^%+!W$N8zMQ$r$43NG'$/$@$5$$!#(B

$B0l@Z$^$6$j$b$N$NL5$$!":G9bIJ<A$N!!!V%T%e%"%^%+!W!!$r$4>R2p$7$^$9!#(B

$B%$%s%?!<%M%C%HFCJLJt;E2A3J$G<u$1IU$1$F$$$^$9!#(B

$B@:NO8:B`!"<"M\6/AT!"CK@-5!G=$N2wI|$G!"<+?.$K$"$U$l$?L%NOE*$JCK@-$KJQ?H$7$F$/$@$5$$!#(B

$B!J0l@Z$NI{:nMQ!"J?9T<#NE!"$I$N$h$&$J?)$7J}$G$bLdBj$"$j$^$;$s!K(B

$B%^%+%8%c%Q%s(B
  $BEl5~ETL\9u6hJ?D.(B1-26-17-303
  03-5731-9855

$BEvJ}$+$i$N%a!<%k$,ITMW$JJ}$O!"!V<u?.5qH]!W$HI=<($9$k$+!"6u%a!<%k$r(B
 ukk@mail.at-m.or.jp$B$^$GAw?.$/$@$5$$$^$9$h$&$*4j$$CW$7$^$9!#(B




From MAILER-DAEMON Tue Jun 03 02:37:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19N5Pt-0003rO-0l
	for mharc-autoconf@gnu.org; Tue, 03 Jun 2003 02:37:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19N5Pe-0003kB-D6
	for autoconf@gnu.org; Tue, 03 Jun 2003 02:36:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19N5PP-0003My-Ec
	for autoconf@gnu.org; Tue, 03 Jun 2003 02:36:35 -0400
Received: from mail2.thewrittenword.com ([67.95.107.111]
	helo=spuckler.il.thewrittenword.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19N5Oe-0002sw-Sq
	for autoconf@gnu.org; Tue, 03 Jun 2003 02:35:48 -0400
Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com
	[127.0.0.1])h536ZlSN004605;	Tue, 3 Jun 2003 01:35:47 -0500 (CDT)
Received: (from china@localhost)
	by spuckler.il.thewrittenword.com (8.12.7p2/8.12.7) id h536ZlKO004604;
	Tue, 3 Jun 2003 01:35:47 -0500 (CDT)
Date: Tue, 3 Jun 2003 01:35:47 -0500
From: Albert Chin <autoconf@thewrittenword.com>
To: David Svoboda <xsvobod2@informatics.muni.cz>
Message-ID: <20030603063547.GB4373@spuckler.il.thewrittenword.com>
References: <Pine.SGI.4.21.0306021656090.7519400-100000@aisa.fi.muni.cz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.SGI.4.21.0306021656090.7519400-100000@aisa.fi.muni.cz>
User-Agent: Mutt/1.4i
cc: autoconf@gnu.org
Subject: Re: AC_PROG_CC and AC_PROG_LIBTOOL problem
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 03 Jun 2003 06:37:03 -0000

On Mon, Jun 02, 2003 at 05:03:39PM +0200, David Svoboda wrote:
> I've been using Compaq C++ compiler under Tru64 UNIX (alpha). In libtool
> it is supposed, that this compiler doesn't supprot -fPIC flag, which
> generates position independent code. 
> 
> If I compile my project by hand (with using -fPIC flag), everythig is ok.
> If I let the autoconf and libtool do it, they use -DPIC flag and
> finally the unresolved references are in the resulting shared library.

-DPIC is just to let the code know it's being compiled PIC. I think
Tru64 UNIX is PIC only.

There is a libtool mailing list:
  http://www.gnu.org/software/libtool/

-- 
albert chin (china@thewrittenword.com)



From MAILER-DAEMON Tue Jun 03 04:47:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19N7Qs-0002AH-4L
	for mharc-autoconf@gnu.org; Tue, 03 Jun 2003 04:46:14 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19N7P8-0001ZI-0t
	for autoconf@gnu.org; Tue, 03 Jun 2003 04:44:26 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19N7M6-0008PX-Am
	for autoconf@gnu.org; Tue, 03 Jun 2003 04:41:19 -0400
Received: from 12-210-238-170.client.attbi.com ([12.210.238.170]
	helo=Angel.zoy.org)	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19N7Kz-00080s-0c
	for autoconf@gnu.org; Tue, 03 Jun 2003 04:40:09 -0400
Received: by Angel.zoy.org (Postfix, from userid 1000)
	id C7485BB94; Tue,  3 Jun 2003 01:40:06 -0700 (PDT)
Date: Tue, 3 Jun 2003 01:40:06 -0700
From: Michel LESPINASSE <walken@zoy.org>
To: autoconf@gnu.org
Message-ID: <20030603084006.GA26509@zoy.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Subject: how can I rebuild autoconf.m4f ?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 03 Jun 2003 08:46:10 -0000

Hi,

As a package maintainer, I've had to fix a problem for one of my
users, who's trying to use my package on HP-UX. This does not work
because my package is trying to use AC_CHECK_FUNCS([gettimeofday]),
which is broken in autoconf 2.57 as I've noticed reading
http://mail.gnu.org/archive/html/autoconf/2002-12/msg00089.html

So - I noticed the patch that was mentionned in that thread, and saw
if has beenapplied in autoconf CVS, so I thought I should just apply
it over my local autoconf installation and that should fix this user's
issue. So I went ahead and applied the patch over my
/usr/share/autoconf/autoconf/c.m4 file. However, it turns out this is
not sufficient - I should also rebuild the autoconf.m4f file, which
contains a precompiled version of the other files.

Anyone know how I can rebuild autoconf.m4f ? I have not been able to
find any clues in the docs and/or in google.

It'd be nice if you could copy me in your replies, as I'm not on the list.

Thanks,

-- 
Michel "Walken" LESPINASSE
"In this time of war against Osama bin Laden and the oppressive
Taliban regime, we are thankful that OUR leader isn't the spoiled son
of a powerful politician from a wealthy oil family who is supported by
religious fundamentalists, operates through clandestine organizations,
has no respect for the democratic electoral process, bombs innocents,
and uses war to deny people their civil liberties." --The Boondocks



From MAILER-DAEMON Tue Jun 03 07:44:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19NAAq-0005eA-C0
	for mharc-autoconf@gnu.org; Tue, 03 Jun 2003 07:41:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19NA6D-000458-SF
	for autoconf@gnu.org; Tue, 03 Jun 2003 07:37:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19NA5M-0003jF-5K
	for autoconf@gnu.org; Tue, 03 Jun 2003 07:36:12 -0400
Received: from tartarus.telenet-ops.be ([195.130.132.46])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19NA4D-0003HM-Ug
	for autoconf@gnu.org; Tue, 03 Jun 2003 07:35:02 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by tartarus.telenet-ops.be (Postfix) with SMTP id 79BC8DB925
	for <autoconf@gnu.org>; Tue,  3 Jun 2003 13:34:54 +0200 (CEST)
Received: from gewestpallieter.gewestpallieter.be (D5761361.kabel.telenet.be
	[213.118.19.97])
	by tartarus.telenet-ops.be (Postfix) with ESMTP id 050DBDB958
	for <autoconf@gnu.org>; Tue,  3 Jun 2003 13:34:54 +0200 (CEST)
Received: from gewestpallieter.be (localhost [127.0.0.1])
	h53BYsac024292
	for <autoconf@gnu.org>; Tue, 3 Jun 2003 13:34:54 +0200 (CEST)
	(envelope-from johan@gewestpallieter.be)
Received: (from johan@localhost)
	by gewestpallieter.be (8.12.8p1/8.12.8/Submit) id h53BYs8R024291
	for autoconf@gnu.org; Tue, 3 Jun 2003 13:34:54 +0200 (CEST)
Date: Tue, 3 Jun 2003 13:34:54 +0200
From: Johan Vervloet <johan@gewestpallieter.be>
To: autoconf@gnu.org
Message-ID: <20030603113454.GA24210@gewestpallieter.be>
Mail-Followup-To: autoconf@gnu.org
References: <20030523125941.GC40014@gewestpallieter.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030523125941.GC40014@gewestpallieter.be>
User-Agent: Mutt/1.4.1i
X-Editor: Elvis http://elvis.the-little-red-haired-girl.org/
X-Operating-System: FreeBSD/4.8-RELEASE (i386)
X-Uptime: 1:34PM  up 4 days, 19:08, 5 users, load averages: 0.00, 0.00, 0.00
Subject: Re: autoconf, libtool, FreeBSD and --no-verify
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 03 Jun 2003 11:41:50 -0000

* Johan Vervloet (johan@gewestpallieter.be) wrote:
> Hello,
> 
> I am building a project under FreeBSD using autoconf, automake and
> libtool.  When I run my generated configure script, it ends like this :
> 
>   loading cache /dev/null within ltconfig
>   ltconfig: you must specify a host type if you use `--no-verify'
>   Try `ltconfig --help' for more information.
>   configure: error: libtool configure failed

For the record, I solved the problem installing the libtool14 port
instead of the `vanilla' libtool port.

Johan



> 
> When I edit the configure file, and remove the `--no-verify' from this
> line
> 
>   ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
>   $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
>   || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
> 
> the problem doesn't occur anymore.
> 
> Does anybody know why this is ? And is there a way to create a
> functional configure from configure.in automatically ? 
> 
> Regards,
> 
> Johan
> 
> -- 
> web     http://www.gewestpallieter.be/~johan/
> mail    johan@gewestpallieter.be
> jabber  johan@pallieter.dyns.be
> 

-- 
  /"\  ASCII Ribbon Campaign
  \ /  against HTML email and proprietary formats
   X   
  / \  http://www.gewestpallieter.be/~johan/asciirib.php



From MAILER-DAEMON Wed Jun 04 06:17:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19NVHY-0003pH-KD
	for mharc-autoconf@gnu.org; Wed, 04 Jun 2003 06:14:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19NVHH-0003Xa-Q8
	for autoconf@gnu.org; Wed, 04 Jun 2003 06:13:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19NVHC-0003OY-J9
	for autoconf@gnu.org; Wed, 04 Jun 2003 06:13:52 -0400
Received: from horkos.telenet-ops.be ([195.130.132.45])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19NVGh-0002pM-KV
	for autoconf@gnu.org; Wed, 04 Jun 2003 06:13:19 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by horkos.telenet-ops.be (Postfix) with SMTP id 328CC83C01
	for <autoconf@gnu.org>; Wed,  4 Jun 2003 12:13:16 +0200 (CEST)
Received: from gewestpallieter.gewestpallieter.be (D5761361.kabel.telenet.be
	[213.118.19.97])
	by horkos.telenet-ops.be (Postfix) with ESMTP id E942A83C22
	for <autoconf@gnu.org>; Wed,  4 Jun 2003 12:13:15 +0200 (CEST)
Received: from gewestpallieter.be (localhost [127.0.0.1])
	h54ADGuR029209
	for <autoconf@gnu.org>; Wed, 4 Jun 2003 12:13:16 +0200 (CEST)
	(envelope-from johan@gewestpallieter.be)
Received: (from johan@localhost)
	by gewestpallieter.be (8.12.8p1/8.12.8/Submit) id h54ADGOm029208
	for autoconf@gnu.org; Wed, 4 Jun 2003 12:13:16 +0200 (CEST)
Date: Wed, 4 Jun 2003 12:13:15 +0200
From: Johan Vervloet <johan@gewestpallieter.be>
To: autoconf@gnu.org
Message-ID: <20030604101315.GA1705@gewestpallieter.be>
Mail-Followup-To: autoconf@gnu.org
References: <20030523125941.GC40014@gewestpallieter.be>
	<20030603113454.GA24210@gewestpallieter.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030603113454.GA24210@gewestpallieter.be>
User-Agent: Mutt/1.4.1i
X-Editor: Elvis http://elvis.the-little-red-haired-girl.org/
X-Operating-System: FreeBSD/4.8-RELEASE (i386)
X-Uptime: 12:07PM  up 11:53, 4 users, load averages: 0.00, 0.01, 0.00
Subject: Re: autoconf, libtool, FreeBSD and --no-verify
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 04 Jun 2003 10:14:09 -0000

Blood, sweat tears... :-)

It wasn't easy, but I finally managed to create a library under FreeBSD
using the gnu autotools.

There were a lot of troubles : autoconf which generated a non running
configure script, error messages while linking,...

Because I didn't find a lot of information about these problems on the
Internet, I have put my workarounds in my Slashdot journal :

http://slashdot.org/~jvervloet/journal/35362

Regards,

Johan




From MAILER-DAEMON Wed Jun 04 10:43:18 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19NZMF-0002gz-SP
	for mharc-autoconf@gnu.org; Wed, 04 Jun 2003 10:35:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19NZFc-0000ms-TP
	for autoconf@gnu.org; Wed, 04 Jun 2003 10:28:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19NZCg-0000Ek-FL
	for autoconf@gnu.org; Wed, 04 Jun 2003 10:25:30 -0400
Received: from mother.ludd.luth.se ([130.240.16.3])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19NZ7A-0007KT-AC
	for autoconf@gnu.org; Wed, 04 Jun 2003 10:19:44 -0400
Received: from speedy.ludd.luth.se (speedy.ludd.luth.se [130.240.16.13])
	by mother.ludd.luth.se (8.11.6+Sun/8.9.3) with ESMTP id h54EJf823035
	for <autoconf@gnu.org>; Wed, 4 Jun 2003 16:19:41 +0200 (MEST)
Date: Wed, 4 Jun 2003 16:19:41 +0200 (CEST)
From: =?ISO-8859-1?Q?Mattias_Br=E4ndstr=F6m?= <brasse@ludd.luth.se>
To: autoconf@gnu.org
Message-ID: <Pine.NEB.4.53.0306041619050.12047@speedy.ludd.luth.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Macro writing
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 04 Jun 2003 14:35:17 -0000

Hello!

I just starting out to use autoconf and automake. Now I have written a
small macro that checks for the existance of xerces-c on my system. I
was someone on this list could give me some feedback on it. =)

This is the macro:

AC_DEFUN([RKC_XERCES], [
AC_LANG_PUSH([C++])
AC_MSG_CHECKING([for Xerces-C])
RKC_TMP=$CXXFLAGS
CXXFLAGS=-lxerces-c
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <iostream>
XERCES_CPP_NAMESPACE_USE
],
[
XercesDOMParser* parser = new XercesDOMParser();
])],
[AC_MSG_RESULT([yes])],
[AC_MSG_FAILURE([missing])])
CXXFLAGS=$RKC_TMP
AC_LANG_POP
])

The first thing I am unhappy about is my use of the variable RKC_TMP
to store the value of CXXFLAGS in order to restore that value at the
end of the macro. Is there a better way to do this or should I just be
happy that it works and leave it at that?

This macro will fail if Xerces-C isn't intalled in in a standard
location like /usr or /usr/local, to get around this I supppose that I
could use something like AC_ARG_WITH and let the user specify the
location with ./configure --with-xerces-prefix=/opt?

Maybe like this:
AC_ARG_WITH(xerces-prefix, [some help],
            xerces-prefix="$withval", xerces-prefix="")

Now if xerces-prefix != "" I could set CXXFLAGS to something like this:
CXXFLAGS=-I$xerces-prefix/include -L$xerces-prefix/lib -lxerces-c

Am I on the right track so far? =)

The last thing I'm a bit puzzled with is if I should add the include
and library paths to my project globaly or if I should set some
Xerces-C specific variables and use them in my Makefile.am's where
necessary? If I should add them globaly then how do I do that?

I understand if you think I'm rambling, even I think that. =) I'm just
curious if there are any best prectices for things like this. Any
suggestions would be helpful!

Regards,
Mattias




From MAILER-DAEMON Wed Jun 04 20:14:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19NiCA-0004AG-0T
	for mharc-autoconf@gnu.org; Wed, 04 Jun 2003 20:01:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Ni5J-0002JU-LD
	for autoconf@gnu.org; Wed, 04 Jun 2003 19:54:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19NhyI-0000j1-NQ
	for autoconf@gnu.org; Wed, 04 Jun 2003 19:47:12 -0400
Received: from mardy.hank.org ([63.205.225.170] helo=mardy)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Nhpa-0006vv-NR
	for autoconf@gnu.org; Wed, 04 Jun 2003 19:38:10 -0400
Received: from bumby ([192.168.1.2] helo=bumby.hank.org)
	by mardy with esmtp (Exim 3.35 #1 (Debian))
	id 19NhpY-0004fE-00
	for <autoconf@gnu.org>; Wed, 04 Jun 2003 16:38:08 -0700
Received: from moseley by bumby.hank.org with local (Exim 3.36 #1 (Debian))
	id 19NhpY-00024a-00
	for <autoconf@gnu.org>; Wed, 04 Jun 2003 16:38:08 -0700
Date: Wed, 4 Jun 2003 16:38:08 -0700
To: autoconf@gnu.org
Message-ID: <20030604233808.GE4969@hank.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
From: Bill Moseley <moseley@hank.org>
Subject: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 05 Jun 2003 00:01:27 -0000

I was building our package on a Solaris 2.6 machine and ended up with:

  ld: fatal: library -lz: not found

On this machine libz is in /usr/local/lib.

Running truss shows:

open("/usr/ccs/lib/libz.so", O_RDONLY)          Err#2 ENOENT
open("/usr/ccs/lib/libz.a", O_RDONLY)           Err#2 ENOENT
open("/usr/lib/libz.so", O_RDONLY)              Err#2 ENOENT
open("/usr/lib/libz.a", O_RDONLY)               Err#2 ENOENT
ld: write(2, " l d :  ", 4)                             = 4
fatal: write(2, " f a t a l :  ", 7)                    = 7
library -lwrite(2, " l i b r a r y   - l", 10)          = 10
zwrite(2, " z", 1)                              = 1
: not foundwrite(2, " :   n o t   f o u n d", 11)               = 11

So it's not looking in /usr/local/lib.

So my question is why is configure finding libz?

I looked at our configure.in and we have the following (which now seems 
overly complicated and doesn't need to take an argument).  But I'm 
curious why or how autoconf was able to link without an error.


dnl if withval not no or and not yes
if test "$withval" != "no" -a "$withval" != "yes"; then
    Z_DIR=$withval
    CPPFLAGS="${CPPFLAGS} -I$withval/include"
    LDFLAGS="${LDFLAGS} -L$withval/lib"
fi

dnl if withval is maybe
if test "$withval" = "maybe"; then
    withval="yes"
    Z_DIR=""
    CPPFLAGS="${CPPFLAGS}"
    LDFLAGS="${LDFLAGS}"
fi

dnl if withval not no then try to enable zlib support
if test "$withval" != "no"; then
    AC_CHECK_HEADERS(zlib.h,
        AC_CHECK_LIB(z, gzread,[
        AC_DEFINE(HAVE_ZLIB,[],[Do we have zlib])
            if test "x${Z_DIR}" != "x"; then
                Z_CFLAGS="-I${Z_DIR}/include"
                Z_LIBS="-L${Z_DIR}/lib -lz"
            else
                Z_LIBS="-lz"
            fi]))
    AC_SUBST(Z_CFLAGS)
    AC_SUBST(Z_LIBS)
else
    AC_MSG_RESULT([Not building with zlib for property compression - use --with-zlib to enable])
fi






-- 
Bill Moseley
moseley@hank.org




From MAILER-DAEMON Thu Jun 05 05:04:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Nqer-0006QB-Ro
	for mharc-autoconf@gnu.org; Thu, 05 Jun 2003 05:03:41 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Nqdj-0005nc-Ea
	for autoconf@gnu.org; Thu, 05 Jun 2003 05:02:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Nqd4-0005f8-9v
	for autoconf@gnu.org; Thu, 05 Jun 2003 05:01:51 -0400
Received: from mother.ludd.luth.se ([130.240.16.3])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Nqbi-00059z-CI
	for autoconf@gnu.org; Thu, 05 Jun 2003 05:00:26 -0400
Received: from speedy.ludd.luth.se (speedy.ludd.luth.se [130.240.16.13])
	by mother.ludd.luth.se (8.11.6+Sun/8.9.3) with ESMTP id h5590N829359
	for <autoconf@gnu.org>; Thu, 5 Jun 2003 11:00:23 +0200 (MEST)
Date: Thu, 5 Jun 2003 11:00:23 +0200 (CEST)
From: =?ISO-8859-1?Q?Mattias_Br=E4ndstr=F6m?= <brasse@ludd.luth.se>
To: autoconf@gnu.org
In-Reply-To: <Pine.NEB.4.53.0306041619050.12047@speedy.ludd.luth.se>
Message-ID: <Pine.NEB.4.53.0306051059110.16268@speedy.ludd.luth.se>
References: <Pine.NEB.4.53.0306041619050.12047@speedy.ludd.luth.se>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Re: Macro writing
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 05 Jun 2003 09:03:40 -0000

Hello again!

Now I have a revised version of my macro. If anyone have the time to say
anything about it it would be greatly appricated!

AC_DEFUN([RKC_XERCES], [

AC_ARG_WITH(xerces-prefix, [  --with-xerces-prefix=PFX   Prefix where
Xerces-C is installed (optional)],
            [xerces_prefix="$withval"], [xerces_prefix=""])

AC_LANG_PUSH([C++])
AC_MSG_CHECKING([for Xerces-C])

if test -n "$xerces_prefix" ; then
  CXXFLAGS="$CXXFLAGS -I$xerces_prefix/include"
  LDFLAGS="$LDFLAGS -L$xerces_prefix/lib"
fi

LIBS="-lxerces-c $LIBS"

AC_LINK_IFELSE([
 AC_LANG_PROGRAM(
  [
  #include <xercesc/parsers/XercesDOMParser.hpp>
  #include <iostream>
  XERCES_CPP_NAMESPACE_USE
  ],
  [
  XercesDOMParser* parser = new XercesDOMParser();
  ])],
 [AC_MSG_RESULT([yes])],
 [AC_MSG_FAILURE([missing])
])

AC_LANG_POP
])


Have a nice day!

Regards,
Mattias



From MAILER-DAEMON Thu Jun 05 17:02:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19O1sC-0000VL-T3
	for mharc-autoconf@gnu.org; Thu, 05 Jun 2003 17:02:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19O1sA-0000UL-Qs
	for autoconf@gnu.org; Thu, 05 Jun 2003 17:02:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19O1nY-00084C-AH
	for autoconf@gnu.org; Thu, 05 Jun 2003 16:57:25 -0400
Received: from harrier.mail.pas.earthlink.net ([207.217.120.12])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19O1gL-0005Sy-Ca
	for autoconf@gnu.org; Thu, 05 Jun 2003 16:49:57 -0400
Received: from sdn-ar-001casfrmp013.dialsprint.net ([158.252.208.15]
	helo=wheat.dslnorthwest.net)
	by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 19O1gF-0004Y3-00
	for autoconf@gnu.org; Thu, 05 Jun 2003 13:49:52 -0700
Received: from ross by wheat.dslnorthwest.net with local (Exim 3.36 #1
	(Debian))	id 19O1gE-0002ij-00
	for <autoconf@gnu.org>; Thu, 05 Jun 2003 13:49:50 -0700
Resent-From: RossBoylan@stanfordalumni.org
Resent-Date: Thu, 5 Jun 2003 13:49:50 -0700
Resent-Message-ID: <20030605204950.GH3192@wheat.boylan.org>
Resent-To: autoconf@gnu.org
Received: from localhost ([127.0.0.1])
	by wheat.dslnorthwest.net with esmtp (Exim 3.36 #1 (Debian))
	id 19O1WH-0002gj-00
	for <ross@localhost>; Thu, 05 Jun 2003 13:39:33 -0700
Received: from earthlink.net	by localhost with POP3 (fetchmail-6.2.1)
	for ross@localhost (single-drop);
	Thu, 05 Jun 2003 13:39:33 -0700 (PDT)
Received: from cmsrelay03.mx.net ([165.212.11.112])
	by robin (EarthLink SMTP Server) with SMTP id 19o1qv7Mf3NZFjX0
	for <drrboylan@earthlink.net>; Thu, 5 Jun 2003 13:33:35 -0700 (PDT)
Received: from umdvg002.cms.usa.net (165.212.10.2)
  by cmsoutbound.mx.net with SMTP; 5 Jun 2003 20:33:34 -0000
Received: from umdvg002.cms.usa.net [127.0.0.1] by umdvg002.cms.usa.net via
	mtad (C8.MAIN.3.06H) 
	with ESMTP id 286HFeuhG1249M02; Thu, 05 Jun 2003 20:33:32 GMT
Received: from esmail01.eservices.usa.net [165.212.64.8] by
	umdvg002.cms.usa.net via smtad (C8.MAIN.3.05C); 
	Thu, 05 Jun 2003 20:33:32 GMT
Received: from scaup.mail.pas.earthlink.net [207.217.120.49] by
	esmail01.eservices.usa.net via smtad (C8.MAIN.3.05C); 
	Thu, 05 Jun 2003 20:33:32 GMT
Received: from sdn-ar-015casfrmp059.dialsprint.net ([158.252.219.61]
	helo=wheat.dslnorthwest.net)
	by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 19O1QQ-0003DT-00; Thu, 05 Jun 2003 13:33:31 -0700
Received: from ross by wheat.dslnorthwest.net with local (Exim 3.36 #1
	(Debian))	id 19O1QP-0002eI-00; Thu, 05 Jun 2003 13:33:29 -0700
Date: Thu, 5 Jun 2003 13:33:29 -0700
To: autconf@gnu.org
Message-ID: <20030605203329.GF3192@wheat.boylan.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
From: Ross Boylan <RossBoylan@stanfordalumni.org>
Resent-Sender: Ross Boylan <RossBoylan@stanfordalumni.org>
Resent-Date: Thu, 05 Jun 2003 16:49:57 -0400
cc: Ross Boylan <RossBoylan@stanfordalumni.org>
Subject: kdelibs build problem: possibly undefined macro: AC_CHECK_MKDTEMP
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 05 Jun 2003 21:02:11 -0000

I am trying to build KDE on a Debian GNU/Linux testing system (build
from cvs head).  I keep running into problems that I think are related
the versions of the auto* tools I'm using.

Do I need particular versions of autoconf to work with particular
versions of automake, for example?  How do I find which ones are
consistent?

And how can I figure out what is going on with errors like the
following, while trying to build kdelibs:
make -k -f Makefile.cvs
This Makefile is only for the CVS repository

*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
configure.in:105: error: possibly undefined macro: AC_CHECK_MKDTEMP
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

Some version info
autoconf (GNU Autoconf) 2.57
automake (GNU automake) 1.7.5
gcc.real (GCC) 3.3 (Debian)
autotools-dev  20030519.1 (provides config.guess and config.sub)

I had some lower version number tools installed earlier, and managed
to get past some problems by removing them.  I believe I only have one
each of autconf and automake now, though several flavors of gcc are on
the system.  Some of the KDE scripts explicitly search for particular
versions of the tools.

Thanks.




From MAILER-DAEMON Fri Jun 06 00:55:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19O9GF-0004XJ-EU
	for mharc-autoconf@gnu.org; Fri, 06 Jun 2003 00:55:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19O9Ft-00040a-Km
	for autoconf@gnu.org; Fri, 06 Jun 2003 00:55:09 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19O9Fa-00036c-2S
	for autoconf@gnu.org; Fri, 06 Jun 2003 00:54:50 -0400
Received: from gull.mail.pas.earthlink.net ([207.217.120.84])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19O9FU-0002kO-NI
	for autoconf@gnu.org; Fri, 06 Jun 2003 00:54:44 -0400
Received: from sdn-ar-023casfrmp186.dialsprint.net ([63.183.8.188]
	helo=wheat.dslnorthwest.net)
	by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 19O9FQ-00000c-00; Thu, 05 Jun 2003 21:54:41 -0700
Received: from ross by wheat.dslnorthwest.net with local (Exim 3.36 #1
	(Debian))	id 19O9FG-0004eh-00; Thu, 05 Jun 2003 21:54:30 -0700
Date: Thu, 5 Jun 2003 21:54:28 -0700
To: autoconf@gnu.org
Message-ID: <20030606045428.GK3192@wheat.boylan.org>
References: <20030605203329.GF3192@wheat.boylan.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030605203329.GF3192@wheat.boylan.org>
User-Agent: Mutt/1.5.4i
From: Ross Boylan <RossBoylan@stanfordalumni.org>
cc: Ross Boylan <RossBoylan@stanfordalumni.org>
Subject: Re: kdelibs build problem: possibly undefined macro: AC_CHECK_MKDTEMP
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 06 Jun 2003 04:55:28 -0000

On Thu, Jun 05, 2003 at 01:33:29PM -0700, Ross Boylan wrote:
> I am trying to build KDE on a Debian GNU/Linux testing system (build
> from cvs head).  I keep running into problems that I think are related
> the versions of the auto* tools I'm using.
> 
> Do I need particular versions of autoconf to work with particular
> versions of automake, for example?  How do I find which ones are
> consistent?
> 
> And how can I figure out what is going on with errors like the
> following, while trying to build kdelibs:
> make -k -f Makefile.cvs
> This Makefile is only for the CVS repository
> 
> *** Creating acinclude.m4
> *** Creating list of subdirectories
> *** Creating configure.in
> *** Creating aclocal.m4
> *** Creating configure
> configure.in:105: error: possibly undefined macro: AC_CHECK_MKDTEMP
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.

OK, this problem was an odd side effect of mixing cvs and cvsup, which
froze some files at older versions.  The macro is defined in some
other KDE files.

I am still interested in answers on the general questions raised at
the top of the message.



From MAILER-DAEMON Fri Jun 06 21:00:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OS4A-0006hu-Vh
	for mharc-autoconf@gnu.org; Fri, 06 Jun 2003 21:00:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OS46-0006Vz-RH
	for autoconf@gnu.org; Fri, 06 Jun 2003 21:00:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OS3d-0005UH-LY
	for autoconf@gnu.org; Fri, 06 Jun 2003 20:59:46 -0400
Received: from fuzzylog.simplesystems.org ([65.66.246.65])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OS3J-0004tH-KT
	for autoconf@gnu.org; Fri, 06 Jun 2003 20:59:25 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by fuzzylog.simplesystems.org (8.9.3/8.9.3) with ESMTP id TAA25541
	for <autoconf@gnu.org>; Fri, 6 Jun 2003 19:59:21 -0500 (CDT)
Date: Fri, 6 Jun 2003 19:59:23 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@scooby.simplesystems.org
To: autoconf@gnu.org
Message-ID: <Pine.GSO.4.44.0306061957020.1470-100000@scooby.simplesystems.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 01:00:17 -0000

If a configure script uses AC_C_INLINE to test the C compiler, and
then later switches the current language to C++ in order to perform
C++ tests, the C++ tests will fail if AC_C_INLINE re-defines 'inline'
to some other string.

It would be useful if Autoconf would hide any re-definition of inline
if the current language is not C.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen




From MAILER-DAEMON Sat Jun 07 02:23:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OX6m-0001pm-9W
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 02:23:20 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OX6k-0001nS-86
	for autoconf@gnu.org; Sat, 07 Jun 2003 02:23:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OX6i-0001jh-Nx
	for autoconf@gnu.org; Sat, 07 Jun 2003 02:23:17 -0400
Received: from diem-wing.mit.edu ([18.101.1.23])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OX6i-0001gT-8g
	for autoconf@gnu.org; Sat, 07 Jun 2003 02:23:16 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id 2CDCB438A; Sat,  7 Jun 2003 02:23:15 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: Bill Moseley <moseley@hank.org>
References: <20030604233808.GE4969@hank.org>
From: Assar Westerlund <assar@kth.se>
Date: 07 Jun 2003 02:23:15 -0400
In-Reply-To: <20030604233808.GE4969@hank.org>
Message-ID: <864r322yp8.fsf@diem-wing.mit.edu>
Lines: 29
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 06:23:18 -0000

Bill Moseley <moseley@hank.org> writes:
> I was building our package on a Solaris 2.6 machine and ended up with:
> 
>   ld: fatal: library -lz: not found
> 
> On this machine libz is in /usr/local/lib.
> 
> Running truss shows:
> 
> open("/usr/ccs/lib/libz.so", O_RDONLY)          Err#2 ENOENT
> open("/usr/ccs/lib/libz.a", O_RDONLY)           Err#2 ENOENT
> open("/usr/lib/libz.so", O_RDONLY)              Err#2 ENOENT
> open("/usr/lib/libz.a", O_RDONLY)               Err#2 ENOENT
> ld: write(2, " l d :  ", 4)                             = 4
> fatal: write(2, " f a t a l :  ", 7)                    = 7
> library -lwrite(2, " l i b r a r y   - l", 10)          = 10
> zwrite(2, " z", 1)                              = 1
> : not foundwrite(2, " :   n o t   f o u n d", 11)               = 11
> 
> So it's not looking in /usr/local/lib.
> 
> So my question is why is configure finding libz?

I can only guess that this happens because the compiler/linker and/or
flags are different between the link that succeeds at configure-time
and the one that fails at make-time.

You'll have to look through config.log to find the actual command that
worked.



From MAILER-DAEMON Sat Jun 07 09:16:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OdSp-0004X4-Bo
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 09:10:31 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OdSY-0004BW-KA
	for autoconf@gnu.org; Sat, 07 Jun 2003 09:10:14 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OdSO-0003ps-59
	for autoconf@gnu.org; Sat, 07 Jun 2003 09:10:05 -0400
Received: from relais.videotron.ca ([24.201.245.36]
	helo=VL-MS-MR004.sc1.videotron.ca)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19OdRx-00034w-Tg
	for autoconf@gnu.org; Sat, 07 Jun 2003 09:09:37 -0400
Received: from riemann.nyongwa.montreal.qc.ca ([24.202.211.97])
 by VL-MS-MR004.sc1.videotron.ca
 (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003))
 with ESMTP id <0HG4001OQ4L4P2@VL-MS-MR004.sc1.videotron.ca> for
 autoconf@gnu.org; Sat, 07 Jun 2003 09:10:16 -0400 (EDT)
Received: from steve by riemann.nyongwa.montreal.qc.ca with local
	(Exim 3.36 #1 (Debian))	id 19OdQS-0000YK-00;
	Sat, 07 Jun 2003 09:08:04 -0400
Date: Sat, 07 Jun 2003 09:08:04 -0400
From: "Steve M. Robbins" <steven.robbins@videotron.ca>
In-reply-to: <Pine.NEB.4.53.0306051059110.16268@speedy.ludd.luth.se>
To: Mattias =?iso-8859-1?Q?Br=E4ndstr=F6m?= <brasse@ludd.luth.se>
Message-id: <20030607130804.GH1639@nyongwa.montreal.qc.ca>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: QUOTED-PRINTABLE
Content-disposition: inline
User-Agent: Mutt/1.5.4i
References: <Pine.NEB.4.53.0306041619050.12047@speedy.ludd.luth.se>
 <Pine.NEB.4.53.0306051059110.16268@speedy.ludd.luth.se>
cc: GNU autoconf Mailing List <autoconf@gnu.org>
Subject: Re: Macro writing
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 13:10:29 -0000

On Thu, Jun 05, 2003 at 11:00:23AM +0200, Mattias Br=E4ndstr=F6m wrot=
e:
> Hello again!
>=20
> Now I have a revised version of my macro. If anyone have the time t=
o say
> anything about it it would be greatly appricated!
>=20
> AC_DEFUN([RKC_XERCES], [
>=20
> AC_ARG_WITH(xerces-prefix, [  --with-xerces-prefix=3DPFX   Prefix w=
here
> Xerces-C is installed (optional)],

My only observation is that if your configure script uses more than
one such macro, the user is going to be annoyed at having to specify
"--with-xerces-prefix" *and* "--with-foo-prefix" ...

Consider using a generic flag to populate CPPFLAGS and LDFLAGS,=20
e.g.=20
 http://ac-archive.sourceforge.net/Installed_Packages/smr_with_build_=
path.html

-S





From MAILER-DAEMON Sat Jun 07 10:43:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OeuV-0003Fp-84
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 10:43:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Oerp-0001kq-3R
	for autoconf@gnu.org; Sat, 07 Jun 2003 10:40:25 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Oeri-0001Uk-DZ
	for autoconf@gnu.org; Sat, 07 Jun 2003 10:40:19 -0400
Received: from zzz-216043027004.splitrock.net ([216.43.27.4]
	helo=calsdesk.macksrecycling.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Oera-0001Cu-TK; Sat, 07 Jun 2003 10:40:11 -0400
Received: from calsdesk.macksrecycling.com (root@localhost [127.0.0.1])
	h57A9NZ03046;	Sat, 7 Jun 2003 10:09:24 GMT
Date: Sat, 7 Jun 2003 10:09:23 +0000
From: Calvin Arndt <carndt@macksrecycling.com>
To: automake@gnu.org, autoconf@gnu.org
Message-Id: <20030607100923.776fb039.carndt@macksrecycling.com>
Organization: Macks Recycling
X-Mailer: Sylpheed version 0.8.2claws (GTK+ 1.2.10; )
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Subject: Getting a world distributable configure script....
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 14:43:10 -0000

I use autoconf/make versions 2.52/1.6.1

The configure script created by the build system absolutely and completely fails on systems with 2.13/1.4. In addition my configure.in fails when used with automake 1.7....

Are there any tip or tricks out there for creating a Build System that actually has a chance of working everywhere???

for the curious just get cvs for sourceforge project tuxtype module tuxtype2

Thanks in advance





From MAILER-DAEMON Sat Jun 07 12:17:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OgNQ-0001mS-DD
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 12:17:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OgNI-0001Yy-7d
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:17:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OgN5-0001O0-MJ
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:16:50 -0400
Received: from mardy.hank.org ([63.205.225.170] helo=mardy)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OgN4-0001KM-Gg
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:16:47 -0400
Received: from laptop ([192.168.1.3] helo=laptop.hank.org)
	by mardy with esmtp (Exim 3.35 #1 (Debian))
	id 19OgMx-0002aS-00; Sat, 07 Jun 2003 09:16:39 -0700
Received: from moseley by laptop.hank.org with local (Exim 3.36 #1 (Debian))
	id 19OgMw-0000CK-00; Sat, 07 Jun 2003 09:16:38 -0700
Date: Sat, 7 Jun 2003 09:16:38 -0700
To: Assar Westerlund <assar@kth.se>
Message-ID: <20030607161637.GB506@hank.org>
References: <20030604233808.GE4969@hank.org>
	<864r322yp8.fsf@diem-wing.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <864r322yp8.fsf@diem-wing.mit.edu>
User-Agent: Mutt/1.5.4i
From: moseley@hank.org
cc: autoconf@gnu.org
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 16:17:06 -0000

On Sat, Jun 07, 2003 at 02:23:15AM -0400, Assar Westerlund wrote:

> Bill Moseley <moseley@hank.org> writes:
> > I was building our package on a Solaris 2.6 machine and ended up with:
> > 
> >   ld: fatal: library -lz: not found
> > 
> > On this machine libz is in /usr/local/lib.
> > 
> I can only guess that this happens because the compiler/linker and/or
> flags are different between the link that succeeds at configure-time
> and the one that fails at make-time.

Yes, I assumed that.

> 
> You'll have to look through config.log to find the actual command that
> worked.

I looked and didn't find anything telling.  All I see is this:

configure:11703: checking for gzread in -lz
configure:11734: gcc -o conftest -g -O2  -Imaybe/include  -Lmaybe/lib 
conftest.c -lz  -lm  >&5
configure:11737: $? = 0
configure:11740: test -s conftest
configure:11743: $? = 0

so I'm not really clear what "maybe/include" is in that output.


-- 
Bill Moseley
moseley@hank.org




From MAILER-DAEMON Sat Jun 07 12:22:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OgSK-0007AY-NJ
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 12:22:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OgS5-0006ne-EW
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:21:57 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OgS3-0006mU-Az
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:21:55 -0400
Received: from diem-wing.mit.edu ([18.101.1.23])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OgRr-0006VZ-VP; Sat, 07 Jun 2003 12:21:44 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id EFF6A438A; Sat,  7 Jun 2003 12:21:41 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: Calvin Arndt <carndt@macksrecycling.com>
References: <20030607100923.776fb039.carndt@macksrecycling.com>
From: Assar Westerlund <assar@kth.se>
Date: 07 Jun 2003 12:21:41 -0400
In-Reply-To: <20030607100923.776fb039.carndt@macksrecycling.com>
Message-ID: <86brx9x3hm.fsf@diem-wing.mit.edu>
Lines: 27
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: automake@gnu.org
cc: autoconf@gnu.org
Subject: Re: Getting a world distributable configure script....
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 16:22:11 -0000

Calvin Arndt <carndt@macksrecycling.com> writes:
> I use autoconf/make versions 2.52/1.6.1
> 
> The configure script created by the build system absolutely and
> completely fails on systems with 2.13/1.4. In addition my
> configure.in fails when used with automake 1.7....

This is confusing.  The generated configure should not depend on have
any version of autoconf at all install on the system it runs on.  Are
you saying that it does?  If so, could you please show us the failure
of running configure?

If you do mean that you want your configure.in/Makefile.am to work
with different versions of autoconf/automake, that's a bit different
and not usually that hard unless you rely on too many low-level features.

> Are there any tip or tricks out there for creating a Build System
> that actually has a chance of working everywhere???

autoconf/automake have requirements on the development system where
you generate configure and Makefile.in but tries to have very few
requirements on the systems that these should run.

> for the curious just get cvs for sourceforge project tuxtype module tuxtype2

I think that you'll in general find that the more precise and smaller
example you have to show, the more likely people are to look at it.



From MAILER-DAEMON Sat Jun 07 12:28:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OgXD-0003V1-Ln
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 12:27:15 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OgWY-0002W0-54
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:26:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OgVn-0001vg-0B
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:25:47 -0400
Received: from diem-wing.mit.edu ([18.101.1.23])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OgVI-0001c5-PI
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:25:16 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id 7B4264303; Sat,  7 Jun 2003 12:25:14 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: moseley@hank.org
References: <20030604233808.GE4969@hank.org>
	<864r322yp8.fsf@diem-wing.mit.edu> <20030607161637.GB506@hank.org>
From: Assar Westerlund <assar@kth.se>
Date: 07 Jun 2003 12:25:14 -0400
In-Reply-To: <20030607161637.GB506@hank.org>
Message-ID: <86adctua6t.fsf@diem-wing.mit.edu>
Lines: 33
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 16:27:08 -0000

moseley@hank.org writes:
> I looked and didn't find anything telling.  All I see is this:
> 
> configure:11703: checking for gzread in -lz
> configure:11734: gcc -o conftest -g -O2  -Imaybe/include  -Lmaybe/lib 
> conftest.c -lz  -lm  >&5
> configure:11737: $? = 0
> configure:11740: test -s conftest
> configure:11743: $? = 0
> 
> so I'm not really clear what "maybe/include" is in that output.

I think that comes from the following piece of code.  I assume that
you initialize withval to maybe at the beginning of your configure.in
so it gets set to that if no option was given.

dnl if withval not no or and not yes
if test "$withval" != "no" -a "$withval" != "yes"; then
    Z_DIR=$withval
    CPPFLAGS="${CPPFLAGS} -I$withval/include"
    LDFLAGS="${LDFLAGS} -L$withval/lib"
fi

dnl if withval is maybe
if test "$withval" = "maybe"; then
    withval="yes"
    Z_DIR=""
    CPPFLAGS="${CPPFLAGS}"
    LDFLAGS="${LDFLAGS}"
fi

Can you show us the compile line where it fails to find libz at build
time?



From MAILER-DAEMON Sat Jun 07 12:30:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OgZJ-0004Q1-Vs
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 12:29:25 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OgYI-0003nu-Pj
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:28:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OgY6-0003kj-GY
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:28:11 -0400
Received: from diem-wing.mit.edu ([18.101.1.23])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OgXq-0003db-D0
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:27:54 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id 8CA574303; Sat,  7 Jun 2003 12:27:52 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
References: <Pine.GSO.4.44.0306061957020.1470-100000@scooby.simplesystems.org>
From: Assar Westerlund <assar@kth.se>
Date: 07 Jun 2003 12:27:52 -0400
In-Reply-To: <Pine.GSO.4.44.0306061957020.1470-100000@scooby.simplesystems.org>
Message-ID: <868ysdrgxj.fsf@diem-wing.mit.edu>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
Subject: Re: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 16:29:24 -0000

Bob Friesenhahn <bfriesen@simple.dallas.tx.us> writes:
> If a configure script uses AC_C_INLINE to test the C compiler, and
> then later switches the current language to C++ in order to perform
> C++ tests, the C++ tests will fail if AC_C_INLINE re-defines 'inline'
> to some other string.
> 
> It would be useful if Autoconf would hide any re-definition of inline
> if the current language is not C.

Wouldn't that require autoconf to write multiple config.h for multiple
languages?  That might be a good idea, but it would require the
configure script to tell what things should be in common, and quite a
bit of restructuring of autoconf.



From MAILER-DAEMON Sat Jun 07 12:44:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Ogn9-00009K-Bu
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 12:43:43 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Ogmk-0007WN-Ft
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:43:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Ogmb-00078a-On
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:43:12 -0400
Received: from fuzzylog.simplesystems.org ([65.66.246.65])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OgmZ-0006tK-Jm
	for autoconf@gnu.org; Sat, 07 Jun 2003 12:43:08 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by fuzzylog.simplesystems.org (8.9.3/8.9.3) with ESMTP id LAA06035;
	Sat, 7 Jun 2003 11:42:36 -0500 (CDT)
Date: Sat, 7 Jun 2003 11:42:35 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@scooby.simplesystems.org
To: Assar Westerlund <assar@kth.se>
In-Reply-To: <868ysdrgxj.fsf@diem-wing.mit.edu>
Message-ID: <Pine.GSO.4.44.0306071136460.1470-100000@scooby.simplesystems.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: autoconf@gnu.org
Subject: Re: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 16:43:40 -0000

On 7 Jun 2003, Assar Westerlund wrote:

> Bob Friesenhahn <bfriesen@simple.dallas.tx.us> writes:
> > If a configure script uses AC_C_INLINE to test the C compiler, and
> > then later switches the current language to C++ in order to perform
> > C++ tests, the C++ tests will fail if AC_C_INLINE re-defines 'inline'
> > to some other string.
> >
> > It would be useful if Autoconf would hide any re-definition of inline
> > if the current language is not C.
>
> Wouldn't that require autoconf to write multiple config.h for multiple
> languages?  That might be a good idea, but it would require the
> configure script to tell what things should be in common, and quite a
> bit of restructuring of autoconf.

Issues with config.h are easily taken care of with an

#undef inline

after including config.h in a C++ module or header.  It is true that
autoheader could arrange to add #ifdefs around the inline define so
that it doesn't take effect for C++.  In fact, it can be argued that
compiler feature tests for the C compiler should never be supplied for
any other language environment since other languages are using a
different compiler.

The main Autoconf issue is that each feature test program includes all
the #defines generated from any previous test.  This means that if
AC_C_INLINE has been executed previously, then a define like

#define inline __inline

may be automatically generated as part of conftest.c, which causes C++
tests which include C++ headers or otherwise use inline to fail.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen




From MAILER-DAEMON Sat Jun 07 13:07:00 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Oh9T-0001Wp-WF
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 13:06:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Oh9L-0001H8-Rk
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:06:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Oh96-0000ya-Ft
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:06:24 -0400
Received: from ro.vxu.se ([194.47.65.169] helo=ro)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Oh8X-0000aU-Rh
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:05:49 -0400
Received: from theta (theta [194.47.65.31])
 by ro.vxu.se (iPlanet Messaging Server 5.2 HotFix 1.04 (built Oct 21 2002))
 with ESMTP id <0HG400582FHNGE@ro.vxu.se> for autoconf@gnu.org; Sat,
 07 Jun 2003 19:05:47 +0200 (MEST)
Received: from vxu.se (localhost [127.0.0.1])21 2002))
	with ESMTP id <0HG400CQBFHNY5@theta.vxu.se> for autoconf@gnu.org;
	Sat, 07 Jun 2003 19:05:47 +0200 (MEST)
Received: from [194.47.102.206] by theta.vxu.se (mshttpd); Sat,
 07 Jun 2003 19:05:47 +0200
Date: Sat, 07 Jun 2003 19:05:47 +0200
From: Mikael Hansen <mhand00@student.vxu.se>
To: autoconf@gnu.org
Message-id: <506994d8f4.4d8f450699@vxu.se>
MIME-version: 1.0
X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.04 (built Oct 21 2002)
Content-type: text/plain; charset=us-ascii
Content-language: sv
Content-transfer-encoding: 7BIT
Content-disposition: inline
X-Accept-Language: sv
Priority: normal
Subject: menu driven configure-script
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 17:06:45 -0000

Why not let autoconf create a configure-script with the possibilbity to set all the options via a menu (like "make menuconfig" for the linux kernel)?

/Mike




From MAILER-DAEMON Sat Jun 07 13:35:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Ohal-00081z-QS
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 13:34:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OhaA-00076c-Ec
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:34:22 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OhZy-0006zS-86
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:34:10 -0400
Received: from diver.doc.ic.ac.uk ([146.169.1.47])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OhZY-0006WT-Ci
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:33:44 -0400
Received: from kungfu.doc.ic.ac.uk ([146.169.6.1] ident=exim)
	by diver.doc.ic.ac.uk with esmtp (Exim 3.16 #7)
	id 19OhZO-0001XE-00; Sat, 07 Jun 2003 18:33:34 +0100
Received: from pgw99 by kungfu.doc.ic.ac.uk with local (Exim 3.32 #1)
	id 19OhZN-000763-00; Sat, 07 Jun 2003 18:33:33 +0100
Date: Sat, 7 Jun 2003 18:33:33 +0100
From: Philip Graham Willoughby <pgw99@doc.ic.ac.uk>
To: Mikael Hansen <mhand00@student.vxu.se>
Message-ID: <20030607173333.GB24972@kungfu.doc.ic.ac.uk>
References: <506994d8f4.4d8f450699@vxu.se>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ"
Content-Disposition: inline
In-Reply-To: <506994d8f4.4d8f450699@vxu.se>
User-Agent: Mutt/1.4.1i
Sender: Philip Willoughby <pgw99@doc.ic.ac.uk>
cc: autoconf@gnu.org
Subject: Re: menu driven configure-script
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 17:34:57 -0000


--i0/AhcQY5QxfSsSZ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2003-06-07 19:05:47 +0000, Mikael Hansen wrote:
> Why not let autoconf create a configure-script with the possibilbity to
> set all the options via a menu (like "make menuconfig" for the linux kern=
el)?

Configure scripts need to run on many more platforms than the linux
kernel config program.  It is not possible to do a menu system with
standard shell commands, you need something like a C program to
interface with the terminal (probably using curses).  I suppose it would
be possible for configure to look for a C compiler and lib[n]curses, and
then compile a c program to do the menu stuff.  It could be useful for
newcomers, but it should not be the default...

Or, you could write a wrapper to configure which ran=20

configure --help

and parsed the output.  Of course this would require all scripts to use
a standard way of showing the sensible options for multiple choice
options, and you'd probably want ``advanced'' parameters to be tagged
differently.

However, most packages _do_ follow the same conventions, so it ought to
be possible.

Regards,

Philip Willoughby

Systems Programmer, Department of Computing, Imperial College, London, UK
--=20
echo bzidd@nfo.ho.co.se | tr "bizndfohces" "pwgd9ociaku"

Why reinvent the wheel?                 Because we can make it rounder...

--i0/AhcQY5QxfSsSZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+4iHti294YDsKgb0RAkADAKCjqFLezXBKVl/7pRVLTItQeUkKLwCfc+ZE
6lFrD0luEPp2Raap5L07vNM=
=JGbm
-----END PGP SIGNATURE-----

--i0/AhcQY5QxfSsSZ--



From MAILER-DAEMON Sat Jun 07 13:52:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OhrX-0001SS-JL
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 13:52:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Ohr4-0000az-U3
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:51:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Ohq7-00076G-01
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:50:54 -0400
Received: from diem-wing.mit.edu ([18.101.1.23])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OhpZ-0006UI-0e
	for autoconf@gnu.org; Sat, 07 Jun 2003 13:50:17 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id 0007E438A; Sat,  7 Jun 2003 13:50:14 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
References: <Pine.GSO.4.44.0306071136460.1470-100000@scooby.simplesystems.org>
From: Assar Westerlund <assar@kth.se>
Date: 07 Jun 2003 13:50:14 -0400
In-Reply-To: <Pine.GSO.4.44.0306071136460.1470-100000@scooby.simplesystems.org>
Message-ID: <867k7xojzd.fsf@diem-wing.mit.edu>
Lines: 19
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
cc: autoconf@gnu.org
Subject: Re: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 17:52:14 -0000

--=-=-=

Bob Friesenhahn <bfriesen@simple.dallas.tx.us> writes:
> The main Autoconf issue is that each feature test program includes all
> the #defines generated from any previous test.  This means that if
> AC_C_INLINE has been executed previously, then a define like
> 
> #define inline __inline
> 
> may be automatically generated as part of conftest.c, which causes C++
> tests which include C++ headers or otherwise use inline to fail.

The patch below seems to make it work correctly for me (for inline and
C++).  The autoheader tricks is use is kind of evil, and doing this
right would require going through all the macros and see which of them
apply for C++.  And this would be a backwards-incompatible change, but
that should not be a problem since I cannot see how it could have
worked usefully for people.


--=-=-=
Content-Disposition: attachment

--- c.m4.~1.179.~	Wed May 28 17:30:26 2003
+++ c.m4	Sat Jun  7 13:42:23 2003
@@ -1010,6 +1010,12 @@
 		    [ac_cv_c_inline=$ac_kw; break])
 done
 ])
+AH_VERBATIM([inlind], [
+#ifndef __cplusplus
+])
+cat >>confdefs.h <<\_ACEOF
+#ifndef __cplusplus
+_ACEOF
 case $ac_cv_c_inline in
   inline | yes) ;;
   no) AC_DEFINE(inline,,
@@ -1017,6 +1023,12 @@
 		 or to nothing if it is not supported.]) ;;
   *)  AC_DEFINE_UNQUOTED(inline, $ac_cv_c_inline) ;;
 esac
+cat >>confdefs.h <<\_ACEOF
+#endif /* __cplusplus */
+_ACEOF
+AH_VERBATIM([inlinf], [
+#endif /* __cplusplus */
+])
 ])# AC_C_INLINE
 
 

--=-=-=--



From MAILER-DAEMON Sat Jun 07 14:15:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OiBL-0007Tw-DO
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 14:12:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OiB2-0007DM-Is
	for autoconf@gnu.org; Sat, 07 Jun 2003 14:12:28 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OiAa-0006gm-GA
	for autoconf@gnu.org; Sat, 07 Jun 2003 14:12:03 -0400
Received: from fuzzylog.simplesystems.org ([65.66.246.65])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OiAP-0006Iw-Ap
	for autoconf@gnu.org; Sat, 07 Jun 2003 14:11:50 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by fuzzylog.simplesystems.org (8.9.3/8.9.3) with ESMTP id NAA09815;
	Sat, 7 Jun 2003 13:11:24 -0500 (CDT)
Date: Sat, 7 Jun 2003 13:11:25 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@scooby.simplesystems.org
To: Assar Westerlund <assar@kth.se>
In-Reply-To: <867k7xojzd.fsf@diem-wing.mit.edu>
Message-ID: <Pine.GSO.4.44.0306071308280.1470-100000@scooby.simplesystems.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: autoconf@gnu.org
Subject: Re: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 18:12:46 -0000

This patch looks like just what the doctor ordered.

Bob

On 7 Jun 2003, Assar Westerlund wrote:

> Bob Friesenhahn <bfriesen@simple.dallas.tx.us> writes:
> > The main Autoconf issue is that each feature test program includes all
> > the #defines generated from any previous test.  This means that if
> > AC_C_INLINE has been executed previously, then a define like
> >
> > #define inline __inline
> >
> > may be automatically generated as part of conftest.c, which causes C++
> > tests which include C++ headers or otherwise use inline to fail.
>
> The patch below seems to make it work correctly for me (for inline and
> C++).  The autoheader tricks is use is kind of evil, and doing this
> right would require going through all the macros and see which of them
> apply for C++.  And this would be a backwards-incompatible change, but
> that should not be a problem since I cannot see how it could have
> worked usefully for people.
>
>

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen




From MAILER-DAEMON Sat Jun 07 15:39:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OjXY-0000zh-60
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 15:39:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OjXD-0000Nr-Ui
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:39:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OjWd-0008CS-BL
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:38:58 -0400
Received: from cmailg4.svr.pol.co.uk ([195.92.195.174])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OjUz-0005xg-BM
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:37:09 -0400
Received: from modem-1603.guenon.dialup.pol.co.uk ([81.76.214.67]
	helo=phekda.freeserve.co.uk)
	by cmailg4.svr.pol.co.uk with esmtp (Exim 4.14)
	id 19OjUq-0001LO-GE; Sat, 07 Jun 2003 20:37:03 +0100
Received: from iolanthe.int.phekda.freeserve.co.uk
	([192.168.1.1] helo=phekda.freeserve.co.uk ident=rich)
	by phekda.freeserve.co.uk with esmtp (Exim 3.22 #1)
	id 19OjUZ-0000rU-00; Sat, 07 Jun 2003 20:36:43 +0100
Sender: rich@phekda.freeserve.co.uk
Message-ID: <3EE23EC9.F0877E55@phekda.freeserve.co.uk>
Date: Sat, 07 Jun 2003 20:36:41 +0100
From: Richard Dawe <rich@phekda.freeserve.co.uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: Mikael Hansen <mhand00@student.vxu.se>
References: <506994d8f4.4d8f450699@vxu.se>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
cc: autoconf@gnu.org
Subject: Re: menu driven configure-script
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 19:39:46 -0000

Hello.

Mikael Hansen wrote:
> 
> Why not let autoconf create a configure-script with the possibilbity
> to set all the options via a menu (like "make menuconfig" for the linux
> kernel)?

Which options? --with-*, --enable-*? Or do you mean "override what configure
detects"?

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]



From MAILER-DAEMON Sat Jun 07 15:56:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OjlR-0006h6-GI
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 15:54:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Ojl2-0006Xl-6i
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:53:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OjkW-0005Uw-Os
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:53:16 -0400
Received: from smtp.terra.es ([213.4.129.129] helo=tsmtp3.ldap.isp)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OjkL-0005Qd-1R
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:53:01 -0400
Received: from 232-151-ADSL.red.retevision.es ([80.224.151.232])
          by tsmtp3.ldap.isp (terra.es) with ESMTP id HG4N8802.6FP; Sat, 7
          Jun 2003 21:52:56 +0200 
From: Jose Roman Bilbao <jrbcast@teleline.es>
To: Richard Dawe <rich@phekda.freeserve.co.uk>
In-Reply-To: <3EE23EC9.F0877E55@phekda.freeserve.co.uk>
References: <506994d8f4.4d8f450699@vxu.se>
	 <3EE23EC9.F0877E55@phekda.freeserve.co.uk>
Content-Type: text/plain; charset=ISO-8859-15
Message-Id: <1055015706.1699.2.camel@gris3.ace.ual.es>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.3.92 (Preview Release)
Date: 07 Jun 2003 21:55:06 +0200
Content-Transfer-Encoding: quoted-printable
cc: autoconf@gnu.org
Subject: Re: menu driven configure-script
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 19:54:07 -0000

It would be great to have such an option as it is really uncomfortable
to write sometimes four or five lines to run configure properly with the
desired options.

Roman.

El s=E1b, 07-06-2003 a las 21:36, Richard Dawe escribi=F3:
> Hello.
>=20
> Mikael Hansen wrote:
> >=20
> > Why not let autoconf create a configure-script with the possibilbity
> > to set all the options via a menu (like "make menuconfig" for the linux
> > kernel)?
>=20
> Which options? --with-*, --enable-*? Or do you mean "override what config=
ure
> detects"?
>=20
> Bye, Rich =3D]




From MAILER-DAEMON Sat Jun 07 15:57:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Ojnr-0000AO-91
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 15:56:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OjnW-00084a-Um
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:56:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Ojmp-0007NY-U8
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:55:36 -0400
Received: from mardy.hank.org ([63.205.225.170] helo=mardy)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Ojlr-0006rC-3L
	for autoconf@gnu.org; Sat, 07 Jun 2003 15:54:35 -0400
Received: from bumby ([192.168.1.2] helo=bumby.hank.org)
	by mardy with esmtp (Exim 3.35 #1 (Debian))
	id 19Ojlo-0003EE-00; Sat, 07 Jun 2003 12:54:32 -0700
Received: from moseley by bumby.hank.org with local (Exim 3.36 #1 (Debian))
	id 19Ojln-0005Wf-00; Sat, 07 Jun 2003 12:54:31 -0700
Date: Sat, 7 Jun 2003 12:54:31 -0700
To: Assar Westerlund <assar@kth.se>
Message-ID: <20030607195431.GA19756@hank.org>
References: <20030604233808.GE4969@hank.org>
	<864r322yp8.fsf@diem-wing.mit.edu> <20030607161637.GB506@hank.org>
	<86adctua6t.fsf@diem-wing.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86adctua6t.fsf@diem-wing.mit.edu>
User-Agent: Mutt/1.5.4i
From: Bill Moseley <moseley@hank.org>
cc: autoconf@gnu.org
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 19:56:32 -0000

On Sat, Jun 07, 2003 at 12:25:14PM -0400, Assar Westerlund wrote:
> moseley@hank.org writes:
> > I looked and didn't find anything telling.  All I see is this:
> > 
> > configure:11703: checking for gzread in -lz
> > configure:11734: gcc -o conftest -g -O2  -Imaybe/include  -Lmaybe/lib 
> > conftest.c -lz  -lm  >&5
> > configure:11737: $? = 0
> > configure:11740: test -s conftest
> > configure:11743: $? = 0
> > 
> > so I'm not really clear what "maybe/include" is in that output.
> 
> I think that comes from the following piece of code.  I assume that
> you initialize withval to maybe at the beginning of your configure.in
> so it gets set to that if no option was given.

Ah, of course.  That's ugly.  I copied that libz test from someplace.  
It's probably better to use LDFLAGS and CPPFLAGS instead of passing a 
directory in.

Can you recommend a better or more common template for optionally
including a library? 

> Can you show us the compile line where it fails to find libz at build
> time?

Sure, sorry for the long lines.  This is on Solaris 2.6.
gcc version 2.95.1 19990816 (release)

/bin/ksh ../libtool --mode=link gcc  -g -O2    -o libswish-e.la -rpath /data/_g/lii/m/local/lib -version-info 2:0:0 -lz  search.lo swish2.lo swish_words.lo  proplimit.lo rank.lo db_read.lo result_sort.lo hash.lo  compress.lo db_native.lo ramdisk.lo check.lo error.lo list.lo  mem.lo swstring.lo docprop.lo metanames.lo headers.lo  swish_qsort.lo date_time.lo double_metaphone.lo stemmer.lo  soundex.lo  replace/libreplace.la -lm
rm -fr .libs/libswish-e.la .libs/libswish-e.* .libs/libswish-e.*
/usr/ccs/bin/ld -G -h libswish-e.so.2 -o .libs/libswish-e.so.2.0.0  search.lo swish2.lo swish_words.lo proplimit.lo rank.lo db_read.lo result_sort.lo hash.lo compress.lo db_native.lo ramdisk.lo check.lo error.lo list.lo mem.lo swstring.lo docprop.lo metanames.lo headers.lo swish_qsort.lo date_time.lo double_metaphone.lo stemmer.lo soundex.lo -z allextract replace/.libs/libreplace.al -z defaultextract  -lz -lm -lc 
ld: fatal: library -lz: not found
ld: fatal: File processing errors. No output written to .libs/libswish-e.so.2.0.0
*** Error code 1

Thanks for the help!

-- 
Bill Moseley
moseley@hank.org




From MAILER-DAEMON Sat Jun 07 18:42:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OmNi-0002ol-95
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 18:41:50 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OmNd-0002Yp-4a
	for autoconf@gnu.org; Sat, 07 Jun 2003 18:41:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OmNW-0002Qn-W4
	for autoconf@gnu.org; Sat, 07 Jun 2003 18:41:39 -0400
Received: from snoopy.pacific.net.au ([61.8.0.36])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OmNN-0001zz-CH
	for autoconf@gnu.org; Sat, 07 Jun 2003 18:41:29 -0400
Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40])
	h57MfJYd005238	for <autoconf@gnu.org>; Sun, 8 Jun 2003 08:41:19 +1000
Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72])
	by sunny.pacific.net.au with ESMTP
	id h57MfJQg008435 for <autoconf@gnu.org>;
	Sun, 8 Jun 2003 08:41:19 +1000 (EST)
Received: from localhost (ppp79.dyn228.pacific.net.au [203.143.228.79])
	by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h57MfHYZ019784
	for <autoconf@gnu.org>; Sun, 8 Jun 2003 08:41:18 +1000 (EST)
Received: from gg by localhost with local (Exim 3.35 #1 (Debian))
	id 19OmN1-0001Ia-00; Sun, 08 Jun 2003 08:41:07 +1000
To: autoconf@gnu.org
References: <Pine.GSO.4.44.0306071136460.1470-100000@scooby.simplesystems.org>
	<867k7xojzd.fsf@diem-wing.mit.edu>
From: Kevin Ryde <user42@zip.com.au>
Mail-Copies-To: never
Date: Sun, 08 Jun 2003 08:41:06 +1000
In-Reply-To: <867k7xojzd.fsf@diem-wing.mit.edu> (Assar Westerlund's message
 of "07 Jun 2003 13:50:14 -0400")
Message-ID: <877k7xa4u5.fsf@zip.com.au>
User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Re: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 22:41:47 -0000

Assar Westerlund <assar@kth.se> writes:
>
> +AH_VERBATIM([inlind], [
> +#ifndef __cplusplus
> +])

It's probably cleaner to use an AH_VERBATIM for the whole thing.  I've
has some joy from th following (and no description are in the AC_DEFINEs).

AH_VERBATIM(inline,
[/* Define as `__inline' if that's what the C compiler calls it, or to nothing
   if it is not supported. */
#ifndef __cplusplus
#undef inline
#endif])



From MAILER-DAEMON Sat Jun 07 18:53:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19OmWh-0005vg-H5
	for mharc-autoconf@gnu.org; Sat, 07 Jun 2003 18:51:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19OmWV-0005Tq-3I
	for autoconf@gnu.org; Sat, 07 Jun 2003 18:50:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19OmWG-00058n-FR
	for autoconf@gnu.org; Sat, 07 Jun 2003 18:50:41 -0400
Received: from snoopy.pacific.net.au ([61.8.0.36])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19OmW7-0004co-Dm
	for autoconf@gnu.org; Sat, 07 Jun 2003 18:50:31 -0400
Received: from sunny.pacific.net.au (sunny.pacific.net.au [203.2.228.40])
	h57MoTYd006480	for <autoconf@gnu.org>; Sun, 8 Jun 2003 08:50:29 +1000
Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72])
	by sunny.pacific.net.au with ESMTP
	id h57MoTQg010067 for <autoconf@gnu.org>;
	Sun, 8 Jun 2003 08:50:29 +1000 (EST)
Received: from localhost (ppp79.dyn228.pacific.net.au [203.143.228.79])
	by wisma.pacific.net.au (8.12.9/8.12.9) with ESMTP id h57MoSYZ023530
	for <autoconf@gnu.org>; Sun, 8 Jun 2003 08:50:28 +1000 (EST)
Received: from gg by localhost with local (Exim 3.35 #1 (Debian))
	id 19OmVu-0001Im-00; Sun, 08 Jun 2003 08:50:18 +1000
To: autoconf@gnu.org
References: <Pine.GSO.4.44.0306061957020.1470-100000@scooby.simplesystems.org>
	<868ysdrgxj.fsf@diem-wing.mit.edu>
From: Kevin Ryde <user42@zip.com.au>
Mail-Copies-To: never
Date: Sun, 08 Jun 2003 08:50:18 +1000
In-Reply-To: <868ysdrgxj.fsf@diem-wing.mit.edu> (Assar Westerlund's message
 of "07 Jun 2003 12:27:52 -0400")
Message-ID: <873cila4et.fsf@zip.com.au>
User-Agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: Re: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 07 Jun 2003 22:51:05 -0000

Assar Westerlund <assar@kth.se> writes:
>
> Wouldn't that require autoconf to write multiple config.h for multiple
> languages?

That probably has to be the way to go eventually.  But if there's only
a few conflicts between C and C++ then maybe often they could share,
like now.

"const" from AC_C_CONST is probably another like AC_C_INLINE that
should be confined to C.  Or under some option only spit out a
HAVE_CONST and let code use that as it sees fit.



From MAILER-DAEMON Mon Jun 09 18:33:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PV9j-0001fR-8U
	for mharc-autoconf@gnu.org; Mon, 09 Jun 2003 18:30:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PUon-0005bw-4K
	for autoconf@gnu.org; Mon, 09 Jun 2003 18:08:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19PUbm-0002SH-Ot
	for autoconf@gnu.org; Mon, 09 Jun 2003 17:55:19 -0400
Received: from main.gmane.org ([80.91.224.249])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19PUZ9-00025F-SX
	for autoconf@gnu.org; Mon, 09 Jun 2003 17:52:36 -0400
Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19PUWg-0004mF-00
	for <autoconf@gnu.org>; Mon, 09 Jun 2003 23:50:02 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: autoconf@gnu.org
Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19PU14-0002Bn-00
	for <gmane-comp-sysutils-autoconf-general@m.gmane.org>;
	Mon, 09 Jun 2003 23:17:22 +0200
From: Simon Waters <Simon@wretched.demon.co.uk>
Date: Mon, 09 Jun 2003 22:19:19 +0100
Lines: 28
Message-ID: <3EE4F9D7.400@wretched.demon.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-GB, en-US, en
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Sender: news <news@main.gmane.org>
Subject: Newbie AX_CREATE_STDINT_H
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 09 Jun 2003 22:30:22 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The trouble with staying upto date is everything complains about old stuff.

After upgrading autoconf tools got some complaints from configure that
AM_INSTALL_PROG was out of date.

This was in ac_create_stdint.h, being keen I pulled AX_CREATE_STDINT_H
from sourceforge, but it gives a syntax error when running configure,
quoting the line number where AX_CREATE_STDINT_H is called.

Syntax Error near unexpected token 'src/GCint.h'

Anyone got a working example, or can guess from "no" information what
I've done wrong?

I have recreated aclocal.m4 using aclocal, and only included
AX_CREATE_STDINT_H in the extra directory I supplied. autoreconf runs
happily.
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+5PnVGFXfHI9FVgYRAsCjAJ9GFqbDYZymhHmFnp1CodgoX7f6BwCgmckB
YiFaene5+oDq28k3VwONK/s=
=9rsD
-----END PGP SIGNATURE-----





From MAILER-DAEMON Mon Jun 09 18:41:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PVKX-0004x8-9M
	for mharc-autoconf@gnu.org; Mon, 09 Jun 2003 18:41:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PVKV-0004w0-51
	for autoconf@gnu.org; Mon, 09 Jun 2003 18:41:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19PVIG-0004KF-Dy
	for autoconf@gnu.org; Mon, 09 Jun 2003 18:39:13 -0400
Received: from [195.142.151.50] (helo=introsolutions.com)
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19PUsN-0006ZM-HL
	for autoconf@gnu.org; Mon, 09 Jun 2003 18:12:28 -0400
From: "Data Recovery" <datarecovery@introsolutions.com>
To: <autoconf@gnu.org>
Sender: "Data Recovery" <datarecovery@introsolutions.com>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="= Multipart Boundary 0610030110"
Date: Tue, 10 Jun 2003 01:10:44 +0300
Message-Id: <E19PUsN-0006ZM-HL@monty-python.gnu.org>
Subject: 
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Data Recovery <datarecovery@introsolutions.com>
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 09 Jun 2003 22:41:31 -0000

This is a multipart MIME message.

--= Multipart Boundary 0610030110
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit

 



 




Intro Solutions 
 Kuleli Sokak. No:22 G.O.P 06700 ANKARA/TURKIYE
Tel: +90 312 447 25 14 Fax: +90 312 446 91 77

ODTU Teknokent Halici Yazilimevi A Blok; 06531 ANKARA/TURKIYE
Tel: +90 312 210 16 62 Fax: +90 312 210 14 62 
www.introsolutions.com

--= Multipart Boundary 0610030110
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE></TITLE>
</HEAD>
<BODY>
<DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV align=center><A href="http://ibas.com.tr/"></A><IMG align=baseline 
alt="0800 314 63 13 den arayIN" border=0 hspace=0 
src="http://www.introsolutions.com/mail/supercompressed_ibasanim.gif" 
NOSEND="1"><BR><BR><IMG align=baseline alt="Veri Kurtarma" border=0
hspace=0 
src="http://www.introsolutions.com/mail/ibas1.jpg" NOSEND="1"><BR><FONT 
size=2><FONT face=Arial><SPAN class=689263410-04122002><IMG align=baseline 
alt="Data Recovery" border=0 hspace=0 
src="http://www.introsolutions.com/mail/ibas2.jpg" 
NOSEND="1">&nbsp;<BR><BR></SPAN><BR></FONT></FONT><IMG align=baseline
alt=arayin 
border=0 hspace=0 
src="http://www.introsolutions.com/mail/supercompressed_ibasanim.gif" 
style="HEIGHT: 80px; WIDTH: 400px" NOSEND="1"><A 
href="http://www.introsolutions.com/"><FONT color=#000000 face=Arial 
size=2><BR></FONT></A><SPAN class=513221507-04122002><BR><A 
href="http://www.introsolutions.com/"><FONT color=#000000 face=Arial 
size=2>Intro Solutions&nbsp;</FONT></A><BR><FONT face=Arial 
size=2>&nbsp;</FONT></SPAN><FONT face=Arial size=2>Kuleli Sokak. No:22
G.O.P 
06700 ANKARA/TURKIYE<BR>Tel: +90 312 447 25 14 Fax: +90 312 446 91 
77</FONT><B><BR><BR></B><FONT face=Arial size=2>ODTU Teknokent Halici
Yazilimevi 
A Blok; 06531 ANKARA/TURKIYE<BR>Tel: +90 312 210 16 62 Fax: +90 312 210 14 
62</FONT><SPAN class=513221507-04122002><FONT face=Arial 
size=2>&nbsp;<BR></FONT><A href="http://www.introsolutions.com"><FONT 
color=#000000 face=Arial 
size=2>www.introsolutions.com</FONT></A></SPAN></DIV></DIV>
</BODY>
</HTML>

--= Multipart Boundary 0610030110--




From MAILER-DAEMON Tue Jun 10 10:02:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PjhA-0000zY-6O
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 10:01:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Pjgq-0000NC-0b
	for autoconf@gnu.org; Tue, 10 Jun 2003 10:01:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Pjgb-0008P4-G6
	for autoconf@gnu.org; Tue, 10 Jun 2003 10:01:18 -0400
Received: from scotty.kulnet.kuleuven.ac.be ([134.58.253.225] helo=plectrum)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19PjgS-0007y8-EJ
	for autoconf@gnu.org; Tue, 10 Jun 2003 10:01:08 -0400
Received: from spike by plectrum with local (Exim 3.36 #1 (Debian))
	id 19Pjio-0001ux-00
	for <autoconf@gnu.org>; Tue, 10 Jun 2003 16:03:34 +0200
Date: Tue, 10 Jun 2003 16:03:34 +0200
From: Remko Troncon <spike@kotnet.org>
To: autoconf@gnu.org
Message-ID: <20030610140334.GA7343@plectrum.kotnet.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
Sender: Remko Troncon <spike@plectrum.kotnet.org>
Subject: Standard CFLAGS
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 14:01:50 -0000

Hi,

I was wondering why the standard CFLAGS for configure are chosen to be
-g -O2 ? Is there a clean way to remove the '-g' from these flags, to
have configure build a distributable binary by default ?

thanks,
Remko



From MAILER-DAEMON Tue Jun 10 11:20:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Pkug-0000v7-Je
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 11:19:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PkuX-0000rx-E6
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:19:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Pktz-0000cX-MG
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:19:12 -0400
Received: from scotty.kulnet.kuleuven.ac.be ([134.58.253.225] helo=plectrum)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19PksM-0008Cp-Ee
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:17:30 -0400
Received: from spike by plectrum with local (Exim 3.36 #1 (Debian))
	id 19Pkuh-0002E3-00; Tue, 10 Jun 2003 17:19:55 +0200
Date: Tue, 10 Jun 2003 17:19:55 +0200
From: Remko Troncon <spike@kotnet.org>
To: Andreas Schwab <schwab@suse.de>
Message-ID: <20030610151955.GA8511@plectrum.kotnet.org>
References: <20030610140334.GA7343@plectrum.kotnet.org>
	<jewufu2ckg.fsf@sykes.suse.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <jewufu2ckg.fsf@sykes.suse.de>
User-Agent: Mutt/1.5.4i
Sender: Remko Troncon <spike@plectrum.kotnet.org>
cc: autoconf@gnu.org
Subject: Re: Standard CFLAGS
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 15:19:48 -0000

> export CFLAGS=whatever

Of course, but then i overwrite all flags that configure sets by
default, and that's probably not very clean (although i don't think it
makes a lot of difference at this point).

> |> have configure build a distributable binary by default ?
> What do you mean with "distributable"?

That was the wrong word. I meant 'a binary, without debugging code'. Am
i right if stripping a binary compiled with -g is not the same thing as
not compiling it with -g ?

cheers,
Remko



From MAILER-DAEMON Tue Jun 10 11:30:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Pl1t-0003P7-HB
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 11:27:21 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Pl1H-0002mK-HQ
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:26:43 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Pl0Z-0002Po-8P
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:25:59 -0400
Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19PklU-00065b-VY
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:10:25 -0400
Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136])
	by Cantor.suse.de (Postfix) with ESMTP
	id 29EAC14DF6; Tue, 10 Jun 2003 17:10:24 +0200 (MEST)
To: Remko Troncon <spike@kotnet.org>
References: <20030610140334.GA7343@plectrum.kotnet.org>
From: Andreas Schwab <schwab@suse.de>
X-Yow: Yow!  Am I JOGGING yet??
Date: Tue, 10 Jun 2003 17:10:23 +0200
In-Reply-To: <20030610140334.GA7343@plectrum.kotnet.org> (Remko Troncon's
 message of "Tue, 10 Jun 2003 16:03:34 +0200")
Message-ID: <jewufu2ckg.fsf@sykes.suse.de>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
cc: autoconf@gnu.org
Subject: Re: Standard CFLAGS
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 15:27:18 -0000

Remko Troncon <spike@kotnet.org> writes:

|> Hi,
|> 
|> I was wondering why the standard CFLAGS for configure are chosen to be
|> -g -O2 ? Is there a clean way to remove the '-g' from these flags, to

export CFLAGS=whatever

|> have configure build a distributable binary by default ?

What do you mean with "distributable"?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



From MAILER-DAEMON Tue Jun 10 11:58:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PlTU-00031a-GC
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 11:55:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PlTG-0002aK-Gw
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:55:38 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19PlTC-0002Qt-OH
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:55:35 -0400
Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19PlT2-0002KJ-Hq
	for autoconf@gnu.org; Tue, 10 Jun 2003 11:55:24 -0400
Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136])
	by Cantor.suse.de (Postfix) with ESMTP
	id 14D20149B8; Tue, 10 Jun 2003 17:55:24 +0200 (MEST)
To: Remko Troncon <spike@kotnet.org>
References: <20030610140334.GA7343@plectrum.kotnet.org>
	<jewufu2ckg.fsf@sykes.suse.de>
	<20030610151955.GA8511@plectrum.kotnet.org>
From: Andreas Schwab <schwab@suse.de>
X-Yow: BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-BI-
Date: Tue, 10 Jun 2003 17:55:21 +0200
In-Reply-To: <20030610151955.GA8511@plectrum.kotnet.org> (Remko Troncon's
 message of "Tue, 10 Jun 2003 17:19:55 +0200")
Message-ID: <jeel222ahi.fsf@sykes.suse.de>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
cc: autoconf@gnu.org
Subject: Re: Standard CFLAGS
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 15:55:50 -0000

Remko Troncon <spike@kotnet.org> writes:

|> That was the wrong word. I meant 'a binary, without debugging code'. Am
|> i right if stripping a binary compiled with -g is not the same thing as
|> not compiling it with -g ?

$ strip -g

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



From MAILER-DAEMON Tue Jun 10 12:14:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PlkQ-0006Rp-E8
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 12:13:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Pljf-000684-W0
	for autoconf@gnu.org; Tue, 10 Jun 2003 12:12:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19PlXk-00045j-HZ
	for autoconf@gnu.org; Tue, 10 Jun 2003 12:00:17 -0400
Received: from pcp741060pcs.reston01.va.comcast.net ([68.49.156.7]
	helo=bloatware.dickey.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19PlXc-00040L-AC
	for autoconf@gnu.org; Tue, 10 Jun 2003 12:00:08 -0400
Received: (from tom@localhost)
	by bloatware.dickey.net (8.9.3/8.9.3/Debian 8.9.3-21) id MAA25616;
	Tue, 10 Jun 2003 12:03:36 -0400
Date: Tue, 10 Jun 2003 12:03:36 -0400
From: Thomas Dickey <dickey@herndon4.his.com>
To: Andreas Schwab <schwab@suse.de>
Message-ID: <20030610120336.A25600@invisible-island.net>
References: <20030610140334.GA7343@plectrum.kotnet.org>
	<jewufu2ckg.fsf@sykes.suse.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <jewufu2ckg.fsf@sykes.suse.de>;
	from schwab@suse.de on Tue, Jun 10, 2003 at 05:10:23PM +0200
cc: autoconf@gnu.org
Subject: Re: Standard CFLAGS
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: dickey@herndon4.his.com
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 16:13:20 -0000

On Tue, Jun 10, 2003 at 05:10:23PM +0200, Andreas Schwab wrote:
> Remko Troncon <spike@kotnet.org> writes:
> 
> |> Hi,
> |> 
> |> I was wondering why the standard CFLAGS for configure are chosen to be
> |> -g -O2 ? Is there a clean way to remove the '-g' from these flags, to
> 
> export CFLAGS=whatever
> 
> |> have configure build a distributable binary by default ?
> 
> What do you mean with "distributable"?

he's probably referring to the fact that most people consider installing
binaries with debug information to be a sure sign of code immaturity.

(ymmv)

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net



From MAILER-DAEMON Tue Jun 10 12:37:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Pm7O-0003HG-T5
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 12:37:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Pm7H-0002vy-MJ
	for autoconf@gnu.org; Tue, 10 Jun 2003 12:36:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Pm78-0002Ws-8b
	for autoconf@gnu.org; Tue, 10 Jun 2003 12:36:53 -0400
Received: from dangermouse.ncsa.uiuc.edu ([141.142.96.46])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Pm6z-00026T-J9
	for autoconf@gnu.org; Tue, 10 Jun 2003 12:36:41 -0400
Received: (from wendling@localhost)
	by dangermouse.ncsa.uiuc.edu (8.11.6/8.11.6) id h5AGaY922460;
	Tue, 10 Jun 2003 11:36:34 -0500
Date: Tue, 10 Jun 2003 11:36:33 -0500
From: Bill Wendling <wendling@ncsa.uiuc.edu>
To: Remko Troncon <spike@kotnet.org>
Message-ID: <20030610163633.GJ5637@ncsa.uiuc.edu>
References: <20030610140334.GA7343@plectrum.kotnet.org>
	<jewufu2ckg.fsf@sykes.suse.de> <20030610151955.GA8511@plectrum.kotnet.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030610151955.GA8511@plectrum.kotnet.org>
User-Agent: Mutt/1.4.1i
X-PGP-Key: http://www.ncsa.uiuc.edu/~wendling/public_key.asc
X-PGP-Fingerprint: C169 5EB2 2F92 9C34 C9FA  E976 3C24 E3D3 EBE7 C80B
cc: autoconf@gnu.org
cc: Andreas Schwab <schwab@suse.de>
Subject: Re: Standard CFLAGS
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 16:37:02 -0000

Also sprach Remko Troncon:
} > export CFLAGS=whatever
} 
} Of course, but then i overwrite all flags that configure sets by
} default, and that's probably not very clean (although i don't think it
} makes a lot of difference at this point).
} 
We have the same problem with our library. I use a home-brewed script to
remove the -g flag. Something like:

    CFLAGS_temp=""
    if test -n "$CFLAGS"; then
      for d in $CFLAGS ; do
        if test "X$d" != "X-g"; then
          CFLAGS_temp="$CFLAGS_temp $d"
        fi
      done
      CFLAGS=$CFLAGS_temp
    fi

There's only one drawback...if -g means something on another compiler, it
will remove that as well. However, we haven't run across such a compiler
yet (and we test on a bunch of weird platforms with different compilers
on each).

-- 
|| Bill Wendling            "Real Programmers have a Snoopy Calendar
|| wendling@ncsa.uiuc.edu    of '69 hanging on their wall"
|| Coding Simian                       -- Toon Moene



From MAILER-DAEMON Tue Jun 10 13:22:08 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PmmP-0004Wh-4Q
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 13:19:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PmmG-0004RZ-TS
	for autoconf@gnu.org; Tue, 10 Jun 2003 13:19:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Pml2-0003jP-1U
	for autoconf@gnu.org; Tue, 10 Jun 2003 13:18:04 -0400
Received: from mail.telepres.com ([209.226.75.17])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Pmk9-0003Nk-9X
	for autoconf@gnu.org; Tue, 10 Jun 2003 13:17:09 -0400
Received: from localhost 
	by mail.telepres.com (Smail-3.2.0.111 2000-Feb-17 #1; 2000-Feb-24)
	/P:stdio/R:bind_hosts/T:inet_zone_bind_smtp
	id <m19Pmk5-004YuZC@mail.telepres.com>	(sender <erics@telepres.com>)
	for autoconf@gnu.org; Tue, 10 Jun 2003 13:17:05 -0400 (EDT)
Date: Tue, 10 Jun 2003 13:17:05 -0400
From: Eric Siegerman <erics@telepres.com>
To: autoconf@gnu.org
Message-ID: <20030610131705.A29909@telepres.com>
Mail-Followup-To: autoconf@gnu.org
References: <20030610140334.GA7343@plectrum.kotnet.org>
	<jewufu2ckg.fsf@sykes.suse.de> <20030610151955.GA8511@plectrum.kotnet.org>
	<jeel222ahi.fsf@sykes.suse.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <jeel222ahi.fsf@sykes.suse.de>;
	from schwab@suse.de on Tue, Jun 10, 2003 at 05:55:21PM +0200
Organization: Telepresence Systems Inc.
Subject: Re: Standard CFLAGS
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 17:19:26 -0000

On Tue, Jun 10, 2003 at 05:55:21PM +0200, Andreas Schwab wrote:
> Remko Troncon <spike@kotnet.org> writes:
> |> Am
> |> i right if stripping a binary compiled with -g is not the same thing as
> |> not compiling it with -g ?
> 
> $ strip -g

Which is itself nonportable.  On Solaris 7, the closeest
equivalent seems to be "strip -x": "Do not strip the symbol
table; debugging and line number information may be stripped."

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        erics@telepres.com
|  |  /
When I came back around from the dark side, there in front of me would
be the landing area where the crew was, and the Earth, all in the view
of my window. I couldn't help but think that there in front of me was
all of humanity, except me.
	- Michael Collins, Apollo 11 Command Module Pilot




From MAILER-DAEMON Tue Jun 10 13:28:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Pmuv-00039H-9p
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 13:28:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PmuU-0002Gp-Cq
	for autoconf@gnu.org; Tue, 10 Jun 2003 13:27:50 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Pmu8-0001z9-0x
	for autoconf@gnu.org; Tue, 10 Jun 2003 13:27:28 -0400
Received: from anice-201-1-1-11.w80-13.abo.wanadoo.fr ([80.13.35.11]
	helo=elf.meyering.net)	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Pmu3-0001wI-8W; Tue, 10 Jun 2003 13:27:23 -0400
Received: by elf.meyering.net (Postfix, from userid 1002)
	id 9A4F54025; Tue, 10 Jun 2003 19:27:18 +0200 (CEST)
To: Derek Robert Price <derek@ximbiot.com>
In-Reply-To: <3ED377CC.7040505@ximbiot.com> (Derek Robert Price's message of
	"Tue, 27 May 2003 10:35:56 -0400")
References: <3ED377CC.7040505@ximbiot.com>
From: Jim Meyering <jim@meyering.net>
Date: Tue, 10 Jun 2003 19:27:18 +0200
Message-ID: <857k7tc07d.fsf@pi.meyering.net>
Lines: 46
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
cc: bug-gnulib@gnu.org
Subject: Re: [Bug-gnulib] lstat/stat
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 17:28:14 -0000

Regarding this:

  http://mail.gnu.org/archive/html/bug-gnulib/2003-05/msg00014.html

Derek Robert Price <derek@ximbiot.com> wrote:
> I've attached a patch for the lstat half of the stat replacements.
>
> The main problem this addresses is that on systems where lstat has
> problems with trailing slashes, AC_LIBOBJ(lstat) is called by
> AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, which is called via
> AC_FUNC_LSTAT.  The jm_FUNC_LSTAT macro used to check an sh variable
> set by AC_FUNC_LSTAT before calling gl_PREREQ_STAT and miss the case
> where AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK found the problem.  This
> causes compiler errors when compiling lib/stat.c since the
> gl_PREREQ_LSTAT macro was never called.
>
> I also tweaked stat.c to not compile the slash-safe lstat unless
> configure actually detected that the system didn't treat slashes as
> we'd like.
>
> The patch is against the CVS tree, but it should apply to GNULIB
> without a problem since the layout is the same.

Hi Derek,

Thanks for investigating that!
And sorry it's taken so long for me to reply.

Do you know if it'd solve the problem to make the prerequisite tests
unconditional?  I really hope so, because using cache variable names
from other tests makes the code very fragile -- I've been burned by
that too many times.  Even using cache variables defined in the same
file has been known to throw me :-)

I do see why that prerequisite-testing is conditional,
and agree in principle with the general goal.
However, it'd be much better if macros like AC_FUNC_LSTAT and
AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK took optional `run-if-true'
and `run-if-false' arguments.  Then we wouldn't need to rely on
fragile cache variable names.

I've Cc'd the autoconf discussion list.
If no one objects, I'll change the stat/lstat-related AC_
macros as I've suggested.

Jim



From MAILER-DAEMON Tue Jun 10 14:22:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Pnky-0002t8-Ok
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 14:22:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Pnkp-0002RV-OD
	for autoconf@gnu.org; Tue, 10 Jun 2003 14:21:55 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Pnkh-000230-1X
	for autoconf@gnu.org; Tue, 10 Jun 2003 14:21:48 -0400
Received: from smtp-out.comcast.net ([24.153.64.109])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Pnkf-0001za-Tl
	for autoconf@gnu.org; Tue, 10 Jun 2003 14:21:45 -0400
Received: from mail.ximbiot.com
	(pcp01464431pcs.lpaxtn01.pa.comcast.net [68.82.83.152])
	by mtaout05.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	autoconf@gnu.org; Tue, 10 Jun 2003 14:21:33 -0400 (EDT)
Received: (qmail 16431 invoked from network); Tue, 10 Jun 2003 18:21:32 +0000
Received: from localhost (HELO ximbiot.com)
 (?fH2OJZky3QevAGoeuDhXDZgZlQau0tqZ?@127.0.0.1) by localhost with SMTP; Tue,
 10 Jun 2003 18:21:32 +0000
Date: Tue, 10 Jun 2003 14:21:32 -0400
From: Derek Robert Price <derek@ximbiot.com>
To: Jim Meyering <jim@meyering.net>
Message-id: <3EE621AC.5080309@ximbiot.com>
Organization: Ximbiot <http://ximbiot.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208
 Netscape/7.02
References: <3ED377CC.7040505@ximbiot.com> <857k7tc07d.fsf@pi.meyering.net>
cc: autoconf@gnu.org
cc: bug-gnulib@gnu.org
Subject: Re: [Bug-gnulib] lstat/stat
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 18:22:03 -0000

Jim Meyering wrote:

>Regarding this:
>
>  http://mail.gnu.org/archive/html/bug-gnulib/2003-05/msg00014.html
>  
>

[. . . snip . . .]

>Do you know if it'd solve the problem to make the prerequisite tests
>unconditional?
>

Yes, it would.

>I really hope so, because using cache variable names
>from other tests makes the code very fragile -- I've been burned by
>that too many times.  Even using cache variables defined in the same
>file has been known to throw me :-)
>
>I do see why that prerequisite-testing is conditional,
>and agree in principle with the general goal.
>

I should hope so.  Doesn't the "jm_" prefix on "jm_FUNC_LSTAT" mean you 
wrote the macro in the first place?  :)

>However, it'd be much better if macros like AC_FUNC_LSTAT and
>AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK took optional `run-if-true'
>and `run-if-false' arguments.  Then we wouldn't need to rely on
>fragile cache variable names.
>
>I've Cc'd the autoconf discussion list.
>If no one objects, I'll change the stat/lstat-related AC_
>macros as I've suggested.
>

+1

. . .

Did you have an opinion about my tweaks to stat.c?

Derek

-- 
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-- 
Southern DOS: Y'all reckon? (yep/Nope) 






From MAILER-DAEMON Tue Jun 10 16:04:52 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PpMG-0006VW-3D
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 16:04:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PpLj-0005t8-HH
	for autoconf@gnu.org; Tue, 10 Jun 2003 16:04:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19PpJR-0004sL-9h
	for autoconf@gnu.org; Tue, 10 Jun 2003 16:01:47 -0400
Received: from cpe-68-115-233-185.spart.sc.charter.com ([68.115.233.185]
	helo=uop.com)	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19PpGn-00049L-7Z
	for autoconf@gnu.org; Tue, 10 Jun 2003 15:59:01 -0400
Received: from unknown (HELO rly04.hottestmile.com) (88.214.38.137)
	by mx03.listsystemsf.net with smtp; 11 Jun 2003 00:06:06 -0600
Received: from unknown (HELO m1.gns.snv.thisdomainl.com) (146.193.30.77)
	by mx03.listsystemsf.net with esmtp; Tue, 10 Jun 2003 18:03:02 -0200
Received: from [205.56.96.51] by asx121.turbo-inline.com with local;
	10 Jun 2003 15:59:58 -0300
Received: from [200.34.55.195] by smtp-server1.cfdenselr.com with SMTP;
	Tue, 10 Jun 2003 12:56:54 +0700
Message-ID: <31c501c32f80$cc80ac50$19145dfc@bjarenavrdc>
From: <bjarenavrdc@uop.com>
To: <autoconf@gnu.org>
Date: Tue, 10 Jun 2003 08:47:52 -1000
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_3EC_2E5F_39207E44.97C5EF0A"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2616
X-MimeOLE: Produced By Microsoft MimeOLE V10.0.2616
Subject: dos    rvaghohghniagr
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: bjarenavrdc@uop.com
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 10 Jun 2003 20:04:30 -0000

This is a multi-part message in MIME format.

------=_NextPart_3EC_2E5F_39207E44.97C5EF0A
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


------=_NextPart_3EC_2E5F_39207E44.97C5EF0A
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: base64


PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEg
VHJhbnNpdGlvbmFsLy9FTiI+DQo8aHRtbD4NCjxoZWFkPg0KIA0KICA8bWV0
YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiDQogY29udGVudD0idGV4dC9o
dG1sOyBjaGFyc2V0PXdpbmRvd3MtMTI1MiI+PCFjaGpqbWh1aD4NCiANCiAg
PHN0eWxlIHR5cGU9InRleHQvY3NzIj5CT0RZIHsJRk9OVDogMTZweCBib2xk
IGxhcmdlciBBcmlhbCwgSGVsdmV0aWNhLCBzYW5zLXNlcmlmfUE6bGluayB7
CUZPTlQtV0VJR0hUOiBib2xkOyBDT0xPUjogIzAwMDBmZjsgDQpURVhULURF
Q09SQVRJT046IG5vbmV9QTpob3ZlciB7CUZPTlQtV0VJR0hUOiBib2xkOyBD
T0xPUjogIzAwMDAwMDsgVEVYVC1ERUNPUkFUSU9OOiB1bmRlcmxpbmV9QTp2
aXNpdGVkIHsJRk9OVC1XRUlHSFQ6IGJvbGQ7IA0KQ09MT1I6ICMwMDAwZmY7
IFRFWFQtREVDT1JBVElPTjogbm9uZX1oMSB7CUZPTlQtV0VJR0hUOiBib2xk
OyBGT05ULVNJWkU6IDI0cHg7IExJTkUtSEVJR0hUOiBub3JtYWw7IEZPTlQt
U1RZTEU6IG5vcm1hbDsgDQpGT05ULVZBUklBTlQ6IG5vcm1hbH0gIDwvc3R5
bGU+PCFqd3hsbWRmZmF2dz4gIA0KICA8bWV0YSBjb250ZW50PSJNU0hUTUwg
Ni4wMC4yNjAwLjAiIG5hbWU9IkdFTkVSQVRPUiI+DQo8IWtjdGxweWJyZm5z
Z3A+ICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPkJPRFkgewlGT05UOiAxNnB4
IGJvbGQgbGFyZ2VyIEFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWZ9QTps
aW5rIHsJRk9OVC1XRUlHSFQ6IGJvbGQ7IA0KQ09MT1I6ICMwMDAwZmY7IFRF
WFQtREVDT1JBVElPTjogbm9uZX1BOmhvdmVyIHsJRk9OVC1XRUlHSFQ6IGJv
bGQ7IENPTE9SOiAjMDAwMDAwOyBURVhULURFQ09SQVRJT046IHVuZGVybGlu
ZX1BOnZpc2l0ZWQgewkNCkZPTlQtV0VJR0hUOiBib2xkOyBDT0xPUjogIzAw
MDBmZjsgVEVYVC1ERUNPUkFUSU9OOiBub25lfWgxIHsJRk9OVC1XRUlHSFQ6
IGJvbGQ7IEZPTlQtU0laRTogMjRweDsgTElORS1IRUlHSFQ6IG5vcm1hbDsg
DQpGT05ULVNUWUxFOiBub3JtYWw7IEZPTlQtVkFSSUFOVDogbm9ybWFsfSAg
PC9zdHlsZT48IWdqZWRqcGVzdGFjbj4NCiAgPHRpdGxlPjwvdGl0bGU+DQo8
L2hlYWQ+DQo8Ym9keT4NCiAgIA0KPGRpdiBhbGlnbj0iY2VudGVyIj4gDQo8
aDM+TG9vayBZb3VuZ2VyIGFuZCBMbzwhZGY+c2UgV2VpZ2h0IGluIDMgV2Vl
a3MhISEhPC9oMz4NCjwvZGl2Pg0KIA0KPGRpdiBhbGlnbj0iY2VudGVyIj48
YnI+DQpUaGUgaGVhbHRoIGRpc2M8IXVlYWp5ZmR5Z2ZqdWZuPm92ZXJ5IHRo
PCF3YXNnPmF0IHJldmVyPCFnPnNlcyBzaWducyBvZiBhZ2luZyBuYTwhZWdr
PnR1cmFsbHkgYW5kIHRoYXQgaXMgY29tPCFrdD5wbGV0ZWx5IHNhPCFrZ2M+
ZmUgYW5kIGVmZmVjdGl2ZSBpcyBvbiBzYWxlIGZvciBhIGxpbTwhZHhzZHd4
ZWp1bGVtbT5pdGVkIHRpbWUhICBCdXkgYSB0PCF0ZGl2bHRpbG5oZ3A+d28t
bW9uPCF5bnN4bmw+dGggc3U8IW1odGt4a3BqPnBwbHkgb2YgbzwhbHlsZj51
ciBwcm9kdWN0IGFuPCFna2N3b2xkPmQgd2Ugd2lsbCBnaTwhbXJlZG1oZ2tq
ZWNldD52ZSB5bzwhbHRxbnR3ZHA+dSBvbmUgbTwhbXdqZm9kcGE+b250aCBm
cjwhcGJmd3E+ZWUhDQo8YnI+DQqgPC9kaXY+DQogDQo8ZGl2IGFsaWduPSJj
ZW50ZXIiPjxiPjxhIGhyZWY9Imh0dHA6Ly93d3cuaGVhbHRocHJvZHVjdHNu
b3cubmV0L2h1bWFuL2luZGV4LnBocD9pZD00MTkiPkNsaWM8IWh0cXNqaz5r
IGhlcmUNCmZvciB0aGUgIHdlYnNpdGUuPC9hPjwvYj48L2Rpdj4NCjxicj4N
CiANCjx0YWJsZSBjZWxsc3BhY2luZz0iMCIgY2VsbHBhZGRpbmc9IjIiIGFs
aWduPSJjZW50ZXIiIGJvcmRlcj0iMCI+DQogICA8dGJvZHk+DQogICA8dHI+
DQogICAgIDx0ZCB2YWxpZ249InRvcCI+PGI+IDwvYj4gICAgICAgDQogICAg
ICA8dWw+DQogICAgICAgICA8bGk+UmVkdWNlIGJvPCFzY3Nuc29vc2p0cmx4
Zj5keSBmYXQgYW5kIGJ1aWxkIG11c2NsZSCgPC9saT4NCiAgICAgICAgPGxp
PkVucmljaCB5b3VyIHM8IWp3dXBsYz5leCBsaWZlIDxicj4NCiAgICAgICAg
PC9saT4NCiAgICAgICAgPGxpPlNsZWVwIGJldHRlciwgaTwhbGJxamNwZ29o
ZWJlZz5tcHJvdmUgdmlzPCFlcWxrbHFqPmlvbiBhbmQgbWVtb3J5IDxicj4N
CiAgICAgICAgPC9saT4NCiAgICAgICAgPGxpPjxiPjxhIGhyZWY9Imh0dHA6
Ly93d3cuaGVhbHRocHJvZHVjdHNub3cubmV0L2h1bWFuL2luZGV4LnBocD9p
ZD00MTkiPkdvIHRoPCF1d253dGp5dXJrc3N4eD5lcmUgbm93ITwvYT48L2I+
DQogICAgICAgIDwvbGk+DQogICAgICA8L3VsPg0KICAgICAgPC90ZD4NCiAg
ICAgPHRkIHZhbGlnbj0idG9wIj48Yj4gPC9iPiAgICAgICANCiAgICAgIDx1
bD4NCiAgICAgICAgIDxsaT5SZXN0b3JlIGhhaXIgZ3I8IXhraWZleHN3b25h
ZGNxPm93dGggYW5kIGNvbG9yIKA8L2xpPg0KICAgICAgICA8bGk+U3RyZTwh
aHhycWp1YnRnd3VnPm5ndGhlbiB5b3VyIGltPCFnbXdzZm9veWZ4bHk+bXVu
ZSBzeXN0ZW0goDwvbGk+DQogICAgICAgIDxsaT5IYXZlIG1vcmUgZW48IWJj
eT5lcmd5oDwvbGk+DQogICAgICAgIDxsaT48Yj48YSBocmVmPSJodHRwOi8v
d3d3LmhlYWx0aHByb2R1Y3Rzbm93Lm5ldC9odW1hbi9pbmRleC5waHA/aWQ9
NDE5Ij5HbyB0PCFmcW91bGI+aGVyZSBub3chPC9hPjwvYj48L2xpPg0KICAg
ICAgPC91bD4NCiAgICAgIDwvdGQ+DQogICAgPC90cj4NCiAgPC90Ym9keT4N
CjwvdGFibGU+DQogDQo8dGFibGUgc3R5bGU9ImJvcmRlcjogbWVkaXVtIHNv
bGlkIHJlZDsiIGNlbGxzcGFjaW5nPSIwIiBjZWxscGFkZGluZz0iMiINCiBh
bGlnbj0iY2VudGVyIiBib3JkZXI9IjAiPg0KICAgPHRib2R5Pg0KICAgPHRy
Pg0KICAgICA8dGQgYWxpZ249ImNlbnRlciI+PGI+PGEgaHJlZj0iaHR0cDov
L3d3dy5oZWFsdGhwcm9kdWN0c25vdy5uZXQvaHVtYW4vaW5kZXgucGhwP2lk
PTQxOSI+RlJFPCF1cW1rd2o+RSAzMCBkYXkgDQpzdXBwbHkgb2YgSEc8IWRk
bWt3ZXdjPkguPC9BPjwvdGQ+DQogICAgPC90cj4NCiAgIDx0cj4NCiAgICAg
PHRkIGFsaWduPSJjZW50ZXIiPjxhIGhyZWY9Imh0dHA6Ly93d3cuaGVhbHRo
cHJvZHVjdHNub3cubmV0L2h1bWFuL2luZGV4LnBocD9pZD00MTkiPkZvbGxv
d2luZw0KdGhpcyBsaW5rIHdpbGwgY2hhbmdlIHlvdXIgbGlmZSBmbzwhZndl
aGdlYXlqaXdpZnY+cmV2ZXIhPC9hPjwvYj48L3RkPg0KICAgIDwvdHI+DQog
IDwvdGJvZHk+DQo8L3RhYmxlPg0KPGJyPg0KIA0KPGRpdiBhbGlnbj0iY2Vu
dGVyIj4qKiBpZiB5b3UgYXJlIG5vdCBjbzwhb2Zzdmh5cXJvc3lxPm1wbGV0
ZWx5IHNhdGlzZmllZCB3aXRoIG91ciBwcjwheWdvPm9kdWN0DQp3ZSB3aWxs
IHJlZjwhbnF3c3ZxdHBtd2txdz51bmQgeW91ciBtb25leSwgbm8gcXVlczwh
bnZ0andzaG5lPnRpb25zIGFza2VkLiAqKiA8YnI+DQo8YnI+DQo8L2Rpdj4N
Cjxicj4NCiANCjxocj4gPGJyPg0KPC9ib2R5Pg0KPC9odG1sPg0K

------=_NextPart_3EC_2E5F_39207E44.97C5EF0A--




From MAILER-DAEMON Tue Jun 10 20:19:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PtJq-0007P1-1E
	for mharc-autoconf@gnu.org; Tue, 10 Jun 2003 20:18:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PtJh-0007JQ-TT
	for autoconf@gnu.org; Tue, 10 Jun 2003 20:18:17 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19PtIm-0006qh-Ub
	for autoconf@gnu.org; Tue, 10 Jun 2003 20:17:21 -0400
Received: from ip-pa-jtown-68-186-225-152.charterpa.com ([68.186.225.152]
	helo=192.168.1.105)	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19PtHt-0006eg-K7
	for autoconf@gnu.org; Tue, 10 Jun 2003 20:16:31 -0400
From: "Arena-Watch" <Arena-Watch@Rink-Arena-News.org>
To: <autoconf@gnu.org>
Sender: "Arena-Watch" <Arena-Watch@Rink-Arena-News.org>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="= Multipart Boundary 0610032039"
Date: Tue, 10 Jun 2003 20:39:19 -0400
Message-Id: <E19PtHt-0006eg-K7@monty-python.gnu.org>
Subject: New Arena Product For Operators
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Arena-Watch <Arena-Watch@Rink-Arena-News.org>
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 00:18:19 -0000

This is a multipart MIME message.

--= Multipart Boundary 0610032039
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit

Hockey Arena Product As Important As The Ice Edger
Click To Learn More & See Product Movie
 
 

 




































Product announcements, arena industry news, safety alerts, and free promotional activities provided by
Arena-Watch@Rink-Arena-News.org.If you would like to be removed for the Arena-Watch mailing
list, simply type remove in the subject line and return.

--= Multipart Boundary 0610032039
Content-Type: text/html;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=content-type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
  <TBODY>
  <TR>
    <TD vAlign=center align=middle bgColor=#000099><BIG><STRONG><EM><FONT 
      color=#ffffff><B><BIG>Hockey Arena Product As Important As The Ice 
      Edger<BR>Click To Learn More &amp; See Product 
      Movie</BIG></B></FONT></EM></STRONG></BIG></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
  <TBODY>
  <TR>
    <TD vAlign=center align=middle bgColor=#000099><A 
      href="http://www.rink-arena-news.org/Dynascrub.htm"><IMG height=96 alt="" 
      src="http://www.rink-arena-news.org/Dynascrub_files/dyna-logo-a.gif" 
      width=300 border=0> </A><BR></TD>
    <TD vAlign=top bgColor=#000099><A 
      href="http://www.rink-arena-news.org/Dynascrub.htm"><IMG height=120 alt="" 
      src="http://www.rink-arena-news.org/Dynascrub_files/dyna-ani.gif" 
      width=160 border=0> </A><BR></TD></TR>
  <TR>
    <TD vAlign=center align=middle bgColor=#000099 colSpan=2><A 
      href="http://www.rink-arena-news.org/Dynascrub.htm"><IMG height=240 alt="" 
      src="http://www.rink-arena-news.org/Dynascrub_files/scrub10-ab-ani.gif" 
      width=323 border=0> 
</A><BR></TD></TR></TBODY></TABLE><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>Product 
announcements, arena industry news, safety alerts, and free promotional 
activities provided by<BR>Arena-Watch@Rink-Arena-News.org.If you would like to 
be removed for the Arena-Watch mailing<BR>list, simply type remove in the 
subject line and return. <BR><BR><BR></BODY></HTML>

--= Multipart Boundary 0610032039--




From MAILER-DAEMON Wed Jun 11 02:12:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19PypT-0005Gd-9I
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 02:11:27 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19PypQ-000599-FP
	for autoconf@gnu.org; Wed, 11 Jun 2003 02:11:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19PypK-000577-4M
	for autoconf@gnu.org; Wed, 11 Jun 2003 02:11:20 -0400
Received: from adsl-67-124-159-170.dsl.pltn13.pacbell.net ([67.124.159.170]
	helo=triplehelix.org)	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19PypH-0004ud-U4
	for autoconf@gnu.org; Wed, 11 Jun 2003 02:11:16 -0400
Received: from firesong.wifi.triplehelix.org
	([192.168.0.7] helo=firesong ident=mail)
	by triplehelix.org with esmtp (Exim 4.20)
	id 19PypD-0006D3-9A
	for autoconf@gnu.org; Tue, 10 Jun 2003 23:11:11 -0700
Received: from joshk by firesong with local (Exim 3.36 #1 (Debian))
	id 19PypD-0007uT-00
	for <autoconf@gnu.org>; Tue, 10 Jun 2003 23:11:11 -0700
Date: Tue, 10 Jun 2003 23:11:11 -0700
To: autoconf@gnu.org
Message-ID: <20030611061111.GA30387@firesong>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i
From: Joshua Kwan <joshk@triplehelix.org>
Subject: AC_ARG_ENABLE ambiguity
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 06:11:26 -0000


--CE+1k2dSO48ffgeK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all,

I was struggling with some AC_ARG_ENABLE stuff in my project today.=20
Seems like some people have done ./configure --enable-foo when the=20
AC_ARG_ENABLE code was as follows: (simplified)

AC_ARG_ENABLE(foo
AC_HELP_STRING([--disable-foo], [Disable the usage of foo]),
[AC_DEFINE(USE_FOO, 1, blahjasdf)],
[AC_DEFINE(USE_FOO_ALT, 1, [Use if foo doesn't suit your platform])])

So running ./configure --enable-foo would disable foo. I could add a=20
test:

AC_ARG_ENABLE(foo
AC_HELP_STRING([--disable-foo], [Disable the usage of foo]),
[
if test "$enableval" =3D no; then
	AC_DEFINE(USE_FOO_ALT, 1, Use the alternative to foo)
else
	AC_DEFINE(USE_REAL_FOO, 1, [Use if foo is good on your platform])
fi
],
[AC_DEFINE(USE_REAL_FOO, 1, [Use if foo is good on your platform])])

But as you can see I have had to recopy the code from the default case,=20
which is effectively --enable-foo providing it worked correctly. For=20
stuff where the default code is larger, it is a lot more cumbersome. I=20
have been setting a "foo_disabled" variable and doing the common code=20
outside of the AC_ARG_ENABLE check for the time being if that variable=20
is a certain value.

What would be cool would be an AC_ARG_ENABLE as follows:

AC_ARG_ENABLE(xxxxx,
[helpstring here],
[this happens if $enableval =3D yes],
[this happens if $enableval =3D no])

And enableval is set to no by default? Who knows, there will probably be=20
some holes to poke in that. But is there a more elegant solution fro my=20
problem?

Please CC me as I am not subscribed to this list.

Regards
Josh

--CE+1k2dSO48ffgeK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+5sf/T2bz5yevw+4RAhtaAJ9qbbYtZ9dmBYFoLtJ3aIKpgzPDMQCaAtTo
M33RlAXyJERXRZHrd4ZBCTY=
=wb/o
-----END PGP SIGNATURE-----

--CE+1k2dSO48ffgeK--



From MAILER-DAEMON Wed Jun 11 03:55:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Q0Oo-0007lf-Gp
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 03:52:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Q0M8-0006MZ-G2
	for autoconf@gnu.org; Wed, 11 Jun 2003 03:49:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Q0Li-0005rG-9e
	for autoconf@gnu.org; Wed, 11 Jun 2003 03:48:52 -0400
Received: from [194.78.75.179] (helo=iceage.anubex.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Q0LD-000593-1q
	for autoconf@gnu.org; Wed, 11 Jun 2003 03:48:19 -0400
Received: from 127.0.0.1 (koala [127.0.0.1])
	by dummy.domain.name (Postfix) with SMTP
	id 9566033DBBF; Wed, 11 Jun 2003 09:48:13 +0200 (CEST)
Received: from korbendallas (unknown [192.168.14.53])
	by iceage.anubex.com (Postfix) with ESMTP
	id 20A0833DBA7; Wed, 11 Jun 2003 09:48:13 +0200 (CEST)
From: "Tim Van Holder" <tim.van.holder@pandora.be>
To: "'Joshua Kwan'" <joshk@triplehelix.org>, <autoconf@gnu.org>
Date: Wed, 11 Jun 2003 09:47:59 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook, Build 11.0.4920
In-Reply-To: <20030611061111.GA30387@firesong>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3718.0
Thread-Index: AcMv4JCAKmLA5RoUQpiWNJ/lcypAfgACzCww
Message-Id: <20030611074813.20A0833DBA7@iceage.anubex.com>
Subject: Re: AC_ARG_ENABLE ambiguity
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 07:51:59 -0000

> I was struggling with some AC_ARG_ENABLE stuff in my project today. 
> Seems like some people have done ./configure --enable-foo when the 
> AC_ARG_ENABLE code was as follows: (simplified)
> 
> AC_ARG_ENABLE(foo
> AC_HELP_STRING([--disable-foo], [Disable the usage of foo]),
> [AC_DEFINE(USE_FOO, 1, blahjasdf)],
> [AC_DEFINE(USE_FOO_ALT, 1, [Use if foo doesn't suit your platform])])
> 
> So running ./configure --enable-foo would disable foo. I could add a 
> test:
> 
> AC_ARG_ENABLE(foo
> AC_HELP_STRING([--disable-foo], [Disable the usage of foo]),
> [
> if test "$enableval" = no; then
> 	AC_DEFINE(USE_FOO_ALT, 1, Use the alternative to foo)
> else
> 	AC_DEFINE(USE_REAL_FOO, 1, [Use if foo is good on your 
> platform])
> fi
> ],
> [AC_DEFINE(USE_REAL_FOO, 1, [Use if foo is good on your platform])])

A more canonical approach to using AC_ARG_* is to use a shell var to
hold the switch:

AC_ARG_ENABLE(foo
  AC_HELP_STRING([--disable-foo], [Disable the use of foo]),
  [use_foo=$enableval], [use_foo=yes])
if test $use_foo = yes; then
  AC_DEFINE(USE_FOO, 1, [Define if your system has a foo.])
else
  AC_DEFINE(USE_FAKE_FOO, 1, [Define if you want faked foo functionality])
fi

This fairly elegant and allows the user to decide what the 'default'
value is.  It also allows you to clump AC_ARG calls together, then
handle them at leisure later in the script.
Note that it seems odd to define two different macros - why not use
AC_DEFINE only if foo is enabled, or use a two-valued macro (0 or 1)?

(As an aside, 'usage' is 'the way something is used' - so you're not
disabling foo's usage, but its use.)





From MAILER-DAEMON Wed Jun 11 04:54:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Q1Ms-00036J-AF
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 04:54:06 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Q1Mo-0002xJ-KL
	for autoconf@gnu.org; Wed, 11 Jun 2003 04:54:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Q1Mk-0002nP-RA
	for autoconf@gnu.org; Wed, 11 Jun 2003 04:54:00 -0400
Received: from adsl-67-124-159-170.dsl.pltn13.pacbell.net ([67.124.159.170]
	helo=triplehelix.org)	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Q1Mk-0002jy-3E
	for autoconf@gnu.org; Wed, 11 Jun 2003 04:53:58 -0400
Received: from joshk by triplehelix.org with local (Exim 4.20)
	id 19Q1Mi-0006X4-M2; Wed, 11 Jun 2003 01:53:56 -0700
Date: Wed, 11 Jun 2003 01:53:56 -0700
To: Tim Van Holder <tim.van.holder@pandora.be>
Message-ID: <20030611085356.GA25092@triplehelix.org>
References: <20030611061111.GA30387@firesong>
	<20030611074813.20A0833DBA7@iceage.anubex.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo"
Content-Disposition: inline
In-Reply-To: <20030611074813.20A0833DBA7@iceage.anubex.com>
User-Agent: Mutt/1.5.4i
From: Joshua Kwan <joshk@triplehelix.org>
cc: autoconf@gnu.org
Subject: Re: AC_ARG_ENABLE ambiguity
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 08:54:04 -0000


--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 11, 2003 at 09:47:59AM +0200, Tim Van Holder wrote:
> A more canonical approach to using AC_ARG_* is to use a shell var to
> hold the switch:
>=20
> AC_ARG_ENABLE(foo
>   AC_HELP_STRING([--disable-foo], [Disable the use of foo]),
>   [use_foo=3D$enableval], [use_foo=3Dyes])
> if test $use_foo =3D yes; then
>   AC_DEFINE(USE_FOO, 1, [Define if your system has a foo.])
> else
>   AC_DEFINE(USE_FAKE_FOO, 1, [Define if you want faked foo functionality])
> fi

I guess that works well. Okay.

> Note that it seems odd to define two different macros - why not use
> AC_DEFINE only if foo is enabled, or use a two-valued macro (0 or 1)?
>=20
> (As an aside, 'usage' is 'the way something is used' - so you're not
> disabling foo's usage, but its use.)

I completely BS'd the sample code, only attempting to illustrate my
point. :)

Regards
Josh

--=20
New PGP public key: 0x27AFC3EE

--envbJBWh7q8WU6mo
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+5u4kT2bz5yevw+4RAmFtAJ0aUlDLJ8ltvIJ9fNn+WTDVYLQJeACcD2J3
onT6kh/8kRaheKD7/YYQhTQ=
=q0I9
-----END PGP SIGNATURE-----

--envbJBWh7q8WU6mo--



From MAILER-DAEMON Wed Jun 11 05:01:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Q1Ty-0000Yy-Ej
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 05:01:26 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Q1To-0000E1-GW
	for autoconf@gnu.org; Wed, 11 Jun 2003 05:01:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Q1Tl-0000BJ-Ua
	for autoconf@gnu.org; Wed, 11 Jun 2003 05:01:14 -0400
Received: from anice-201-1-1-11.w80-13.abo.wanadoo.fr ([80.13.35.11]
	helo=elf.meyering.net)	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Q1Td-0008R5-KG; Wed, 11 Jun 2003 05:01:05 -0400
Received: by elf.meyering.net (Postfix, from userid 1002)
	id 771864142; Wed, 11 Jun 2003 11:01:04 +0200 (CEST)
To: Derek Robert Price <derek@ximbiot.com>
In-Reply-To: <3EE621AC.5080309@ximbiot.com> (Derek Robert Price's message of
	"Tue, 10 Jun 2003 14:21:32 -0400")
References: <3ED377CC.7040505@ximbiot.com> <857k7tc07d.fsf@pi.meyering.net>
	<3EE621AC.5080309@ximbiot.com>
From: Jim Meyering <jim@meyering.net>
Date: Wed, 11 Jun 2003 11:01:04 +0200
Message-ID: <857k7t9een.fsf@pi.meyering.net>
Lines: 78
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
cc: bug-gnulib@gnu.org
Subject: Re: [Bug-gnulib] lstat/stat
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 09:01:24 -0000

Derek Robert Price <derek@ximbiot.com> wrote:
> Jim Meyering wrote:
>>I do see why that prerequisite-testing [in stat.m4 and lstat.m4]
>>is conditional, and agree in principle with the general goal.
>
> I should hope so.  Doesn't the "jm_" prefix on "jm_FUNC_LSTAT" mean
> you wrote the macro in the first place?  :)

I wrote that one, but didn't conditionalize the prerequisite-testing.

Regarding the jm_ prefix, note that some other people also wrote
macros (e.g., for coreutils) that they named with the jm_ prefix.
I sure do wish I had chosen a prefix like gl_ from the beginning.

> Did you have an opinion about my tweaks to stat.c?

Yes.  I liked it and have just made that change.  Thanks.
I also confirmed that Solaris5.9 still requires the
work-around code and added this comment:

  Also work around a deficiency in Solaris systems (up to at
  least Solaris5.9) regarding the semantics of `lstat ("symlink/", sbuf).'
  has this bug.

2003-05-20  Derek Price  <derek@ximbiot.com>

	* stat.c [LSTAT]: Compile/use slash_aware_lstat only if it is necessary.

Here's the diff:

Index: stat.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/stat.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -u -r1.6 -r1.7
--- stat.c	7 Jun 2003 10:19:12 -0000	1.6
+++ stat.c	11 Jun 2003 08:50:33 -0000	1.7
@@ -1,6 +1,7 @@
 /* Work around the bug in some systems whereby stat/lstat succeeds when
    given the zero-length file name argument.  The stat/lstat from SunOS4.1.4
-   has this bug.
+   has this bug.  Also work around a deficiency in Solaris systems (up to at
+   least Solaris5.9) regarding the semantics of `lstat ("symlink/", sbuf).'
    Copyright (C) 1997-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -27,7 +28,7 @@
 #ifndef errno
 extern int errno;
 #endif
-#ifdef LSTAT
+#if defined LSTAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK
 # include <string.h>
 
 # if HAVE_STDLIB_H
@@ -94,7 +95,7 @@ slash_aware_lstat (const char *file, str
 
   return lstat_result;
 }
-#endif /* LSTAT */
+#endif /* LSTAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK */
 
 /* This is a wrapper for stat/lstat.
    If FILE is the empty string, fail with errno == ENOENT.
@@ -109,7 +110,11 @@ slash_aware_lstat (const char *file, str
 
 #ifdef LSTAT
 # define rpl_xstat rpl_lstat
-# define xstat_return_val(F, S) slash_aware_lstat (F, S)
+# if ! LSTAT_FOLLOWS_SLASHED_SYMLINK
+#  define xstat_return_val(F, S) slash_aware_lstat (F, S)
+# else
+#  define xstat_return_val(F, S) lstat (F, S)
+# endif
 #else
 # define rpl_xstat rpl_stat
 # define xstat_return_val(F, S) stat (F, S)



From MAILER-DAEMON Wed Jun 11 11:11:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Q79k-0006Rr-9Q
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 11:04:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Q79T-00068l-Nl
	for autoconf@gnu.org; Wed, 11 Jun 2003 11:04:39 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Q78i-0005ZP-9F
	for autoconf@gnu.org; Wed, 11 Jun 2003 11:03:53 -0400
Received: from mardy.hank.org ([63.205.225.170] helo=mardy)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Q76c-0004iW-Ga
	for autoconf@gnu.org; Wed, 11 Jun 2003 11:01:42 -0400
Received: from laptop ([192.168.1.3] helo=laptop.hank.org)
	by mardy with esmtp (Exim 3.35 #1 (Debian))
	id 19Q76a-0006YZ-00
	for <autoconf@gnu.org>; Wed, 11 Jun 2003 08:01:40 -0700
Received: from moseley by laptop.hank.org with local (Exim 3.36 #1 (Debian))
	id 19Q76a-0000Ea-00
	for <autoconf@gnu.org>; Wed, 11 Jun 2003 08:01:40 -0700
Date: Wed, 11 Jun 2003 08:01:39 -0700
To: autoconf@gnu.org
Message-ID: <20030611150040.GA515@hank.org>
References: <20030604233808.GE4969@hank.org>
	<864r322yp8.fsf@diem-wing.mit.edu> <20030607161637.GB506@hank.org>
	<86adctua6t.fsf@diem-wing.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <86adctua6t.fsf@diem-wing.mit.edu>
User-Agent: Mutt/1.5.4i
From: moseley@hank.org
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 15:04:53 -0000

Hi, I'd like to ask about this again, as I'm waiting to release on this 
problem.

The problem is that configure[1] is finding[2] libz and adding it to my
link line[3] but when linking libz is not found.

libz is in /usr/local/lib, but that is not a compiled in path for ld.

  %/usr/ccs/bin/ld -V
  ld: Software Generation Utilities - Solaris/ELF (3.0)

This is on Solaris 2.6.  
# Generated by GNU Autoconf 2.57.

I'm wondering if this is just a single broken machine or if we will have 
problems on other Solaris machines.

If I grab conftest.c out of configure and manually compile:

%gcc -o conftest -g -O2 conftest.c -lz  -lm || echo "NO!!"
%./conftest 
ld.so.1: ./conftest: fatal: libz.so: open failed: No such file or directory
Killed

%ldd conftest
        libz.so =>       (file not found)
        libm.so.1 =>     /usr/lib/libm.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1

Is that expected that gcc wouldn't report an error back to configure?

I don't understand what gcc uses to link, but it seems like gcc thinks 
/usr/local/lib is a standard search path.  But when /usr/ccs/bin/ld is 
used to link[3] /usr/local/lib is NOT a standard search path.

Is there something that needs to be done on this Solaris machine to get
the standard search paths in sync?  A global LD_LIBRARY_PATH is one way,
but there seems to be arguments against that.

I suppose that check for solaris in [1] below is there to add -R.

%truss -f -t open gcc -o conftest -g -O2 conftest.c -lz -lm
26700:  open("/usr/ccs/bin/libz.so", O_RDONLY)          Err#2 ENOENT
26700:  open("/usr/ccs/bin/libz.a", O_RDONLY)           Err#2 ENOENT
26700:  open("/usr/ccs/lib/libz.so", O_RDONLY)          Err#2 ENOENT
26700:  open("/usr/ccs/lib/libz.a", O_RDONLY)           Err#2 ENOENT
26700:  open("/usr/local/lib/libz.so", O_RDONLY)        = 7

Now try with Solaris' ld:

%truss -f -t open /usr/ccs/bin/ld -o conftest conftest.o -lz -lm -lc
28657:  open("/dev/zero", O_RDONLY)                     = 3
28657:  open("/usr/lib/libc.so.1", O_RDONLY)            = 4
28657:  open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
28657:  open("/usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1", O_RDONLY) = 4
28657:  open("conftest.o", O_RDONLY)                    = 3
28657:  open("/usr/lib/libld.so.2", O_RDONLY)           = 3
28657:  open("/dev/zero", O_RDWR)                       = 3
28657:  open("/usr/lib/libelf.so.1", O_RDONLY)          = 3
28657:  open("/usr/lib/libldstab.so.1", O_RDONLY)       = 3
28657:  open("/dev/zero", O_RDONLY)                     = 3
28657:  open("conftest", O_RDWR|O_CREAT|O_TRUNC, 0777)  = 3
28657:  open("conftest.o", O_RDONLY)                    = 4
28657:  open("/usr/ccs/lib/libz.so", O_RDONLY)          Err#2 ENOENT
28657:  open("/usr/ccs/lib/libz.a", O_RDONLY)           Err#2 ENOENT
28657:  open("/usr/lib/libz.so", O_RDONLY)              Err#2 ENOENT
28657:  open("/usr/lib/libz.a", O_RDONLY)               Err#2 ENOENT
ld: fatal: library -lz: not found




BTW - Is there a better way to optionally include a library than [1] 
below?


Thanks,


[1] ---------

(this is an updated version from my previous post)
Autoconf 2.57


dnl Checks for zlib library. -- from libxml2 configure.in
_cppflags="${CPPFLAGS}"
_ldflags="${LDFLAGS}"  

AC_ARG_WITH(zlib,
[  --with-zlib[[=DIR]]       use libz in DIR],[
  if test "$withval" != "no" -a "$withval" != "yes"; then
    Z_DIR=$withval
    CPPFLAGS="${CPPFLAGS} -I$withval/include"
    LDFLAGS="${LDFLAGS} -L$withval/lib"
  fi
])
if test "$with_zlib" = "no"; then   
    echo "Disabling compression support"
else
    AC_CHECK_HEADERS(zlib.h,
        AC_CHECK_LIB(z, gzread,[
            AC_DEFINE(HAVE_ZLIB,[],[Do we have zlib])
            if test "x${Z_DIR}" != "x"; then
                Z_CFLAGS="-I${Z_DIR}/include"
                Z_LIBS="-L${Z_DIR}/lib -lz"
                [case ${host} in
                    *-*-solaris*)
                        Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
                        ;;
                esac]
            else
                Z_LIBS="-lz"
            fi]))
fi

AC_SUBST(Z_CFLAGS)
AC_SUBST(Z_LIBS)


CPPFLAGS=${_cppflags}
LDFLAGS=${_ldflags}



[2] ------------

configure:11574: checking zlib.h usability
configure:11587: gcc -c -g -O2  conftest.c >&5
configure:11590: $? = 0
configure:11593: test -s conftest.o
configure:11596: $? = 0
configure:11606: result: yes
configure:11610: checking zlib.h presence
configure:11621: gcc -E  conftest.c
configure:11627: $? = 0
configure:11646: result: yes
configure:11682: checking for zlib.h
configure:11689: result: yes
configure:11697: checking for gzread in -lz
configure:11728: gcc -o conftest -g -O2   conftest.c -lz  -lm  >&5
configure:11731: $? = 0
configure:11734: test -s conftest
configure:11737: $? = 0
configure:11749: result: yes

[3] -------------

/usr/ccs/bin/ld -G -h libswish-e.so.2 -o .libs/libswish-e.so.2.0.0  search.lo swish2.lo swish_words.lo proplimit.lo rank.lo db_read.lo result_sort.lo hash.lo compress.lo db_native.lo ramdisk.lo check.lo error.lo list.lo mem.lo swstring.lo docprop.lo metanames.lo headers.lo swish_qsort.lo date_time.lo double_metaphone.lo stemmer.lo soundex.lo -z allextract replace/.libs/libreplace.al snowball/.libs/libsnowball.al -z defaultextract  -lz -lm -lc 
ld: fatal: library -lz: not found


-- 
Bill Moseley
moseley@hank.org




From MAILER-DAEMON Wed Jun 11 11:25:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Q7OV-00053D-Vl
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 11:20:11 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Q7MT-00045v-G4
	for autoconf@gnu.org; Wed, 11 Jun 2003 11:18:05 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Q7M0-0003Y0-62
	for autoconf@gnu.org; Wed, 11 Jun 2003 11:17:37 -0400
Received: from nmrc.ucc.ie ([143.239.64.1])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Q7LP-000381-5G
	for autoconf@gnu.org; Wed, 11 Jun 2003 11:16:59 -0400
Received: from mailhost.nmrc.ucc.ie (mailhost.nmrc.ucc.ie [10.1.64.2])
	by nmrc.ucc.ie (Postfix) with ESMTP id ABC0913E04
	for <autoconf@gnu.org>; Wed, 11 Jun 2003 16:16:57 +0100 (IST)
Date: Wed, 11 Jun 2003 16:16:56 +0100
From: Lars Hecking <lhecking@nmrc.ie>
To: autoconf@gnu.org
Message-ID: <20030611151656.GA14325@nmrc.ie>
Mail-Followup-To: autoconf@gnu.org
References: <20030604233808.GE4969@hank.org>
	<864r322yp8.fsf@diem-wing.mit.edu> <20030607161637.GB506@hank.org>
	<86adctua6t.fsf@diem-wing.mit.edu> <20030611150040.GA515@hank.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030611150040.GA515@hank.org>
Mail-Copies-To: never
User-Agent: Mutt/1.5.4i
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 15:20:09 -0000

moseley@hank.org writes:
> Hi, I'd like to ask about this again, as I'm waiting to release on this 
> problem.
> 
> The problem is that configure[1] is finding[2] libz and adding it to my
> link line[3] but when linking libz is not found.
> 
> libz is in /usr/local/lib, but that is not a compiled in path for ld.
> 
>   %/usr/ccs/bin/ld -V
>   ld: Software Generation Utilities - Solaris/ELF (3.0)
> 
> This is on Solaris 2.6.  
> # Generated by GNU Autoconf 2.57.
> 
> I'm wondering if this is just a single broken machine or if we will have 
> problems on other Solaris machines.
[...]
 
 On Solaris prior to release 8, the proper linker flags must be specified
 to enable the linker to find the correct runtime libraries. Either via
 -R/usr/local/lib, or LD_RUN_PATH=/usr/local/lib in the environment.

 From release 8 on, use crle(1), the Solaris equivalent of ldconfig under
 Linux.




From MAILER-DAEMON Wed Jun 11 14:05:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Q9yC-00010h-H8
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 14:05:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Q9xz-0000dZ-AW
	for autoconf@gnu.org; Wed, 11 Jun 2003 14:04:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Q9xk-0008IY-8O
	for autoconf@gnu.org; Wed, 11 Jun 2003 14:04:46 -0400
Received: from panther.cs.ucla.edu ([131.179.128.25])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Q9xU-0007ji-7K
	for autoconf@gnu.org; Wed, 11 Jun 2003 14:04:28 -0400
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	h5BI4Ru28020;	Wed, 11 Jun 2003 11:04:27 -0700 (PDT)
Received: from eggert by penguin.cs.ucla.edu with local (Exim 3.35 #1
	(Debian))	id 19Q9xT-0000Go-00; Wed, 11 Jun 2003 11:04:27 -0700
To: autoconf@gnu.org
References: <20030604233808.GE4969@hank.org>
	<864r322yp8.fsf@diem-wing.mit.edu> <20030607161637.GB506@hank.org>
	<86adctua6t.fsf@diem-wing.mit.edu> <20030611150040.GA515@hank.org>
	<20030611151656.GA14325@nmrc.ie>
From: Paul Eggert <eggert@CS.UCLA.EDU>
Date: 11 Jun 2003 11:04:27 -0700
In-Reply-To: <20030611151656.GA14325@nmrc.ie>
Message-ID: <87u1awqyms.fsf@penguin.cs.ucla.edu>
Lines: 16
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Paul Eggert <eggert@penguin.cs.ucla.edu>
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 18:05:02 -0000

Lars Hecking <lhecking@nmrc.ie> writes:

>  On Solaris prior to release 8, the proper linker flags must be specified
>  to enable the linker to find the correct runtime libraries. Either via
>  -R/usr/local/lib, or LD_RUN_PATH=/usr/local/lib in the environment.
> 
>  From release 8 on, use crle(1), the Solaris equivalent of ldconfig under
>  Linux.

And in either cases you should install the patches recommended by Sun,
which won't cost you anything.  I'm referring especially to the linker
patches.  You can get them from sunsolve.sun.com.  Personally, I
still don't trust crle; I still use -R, even on Solaris 7 and later.

Also, you should prepared for your Solaris users to have similer
problems.  This issue is a constant hassle on Solaris machines.



From MAILER-DAEMON Wed Jun 11 14:34:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QAM8-0007zW-Gp
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 14:29:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QALf-0007k1-Dl
	for autoconf@gnu.org; Wed, 11 Jun 2003 14:29:27 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QALX-0007dr-7n
	for autoconf@gnu.org; Wed, 11 Jun 2003 14:29:20 -0400
Received: from mardy.hank.org ([63.205.225.170] helo=mardy)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19QALS-0007R0-Fp; Wed, 11 Jun 2003 14:29:14 -0400
Received: from bumby ([192.168.1.2] helo=bumby.hank.org)
	by mardy with esmtp (Exim 3.35 #1 (Debian))
	id 19QALR-0007TZ-00; Wed, 11 Jun 2003 11:29:13 -0700
Received: from moseley by bumby.hank.org with local (Exim 3.36 #1 (Debian))
	id 19QALR-0004AZ-00; Wed, 11 Jun 2003 11:29:13 -0700
Date: Wed, 11 Jun 2003 11:29:13 -0700
To: autoconf@gnu.org
Message-ID: <20030611182913.GA15511@hank.org>
References: <20030604233808.GE4969@hank.org>
	<864r322yp8.fsf@diem-wing.mit.edu> <20030607161637.GB506@hank.org>
	<86adctua6t.fsf@diem-wing.mit.edu> <20030611150040.GA515@hank.org>
	<20030611151656.GA14325@nmrc.ie>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030611151656.GA14325@nmrc.ie>
User-Agent: Mutt/1.5.4i
From: Bill Moseley <moseley@hank.org>
cc: libtool@gnu.org
Subject: Re: Library path with AC_CHECK_LIB
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 18:29:55 -0000

On Wed, Jun 11, 2003 at 04:16:56PM +0100, Lars Hecking wrote:

>  On Solaris prior to release 8, the proper linker flags must be specified
>  to enable the linker to find the correct runtime libraries. Either via
>  -R/usr/local/lib, or LD_RUN_PATH=/usr/local/lib in the environment.

LD_LIBRARY_PATH is needed when linking.

So can someone explain why gcc is able to build a program with -lz but 
not ld?  I never thought about it, but I assumed gcc called ld when 
linking.  If that's the case then gcc is calling a different linker than 
the one libtool is using to built my library.

The basic problem is that configure with AC_CHECK_LIB says the libz
library can be used, but then it fails when trying to actually build
with the library.

I'm using Automake and Libtool.  Perhaps it's libtool that is setting up 
the wrong linker to use?

My build uses libtool to build both a library and a binary.  I cannot 
build the library without LD_LIBRARY_PATH, but I can build the binary.
In other words, using gcc works, but calling ld directly does not.

So: this works to build the binary without the need for LD_LIBRARY_PATH:

/bin/ksh ../libtool --mode=link gcc  -g -O2    -o swish-e  swish.o keychar_out.o  dump.o result_output.o libswishindex.la libswish-e.la -lm
gcc -g -O2 -o .libs/swish-e swish.o keychar_out.o dump.o result_output.o  ./.libs/libswishindex.al -L/data/_g/lii/local/lib /data/_g/lii/local/lib/libxml2.so -L/usr/local/lib -lsocket -lnsl ./.libs/libswish-e.so -lz -lm -R/data/_g/lii/local/lib -R/usr/local/lib

But buidling the library where libtool uses /usr/ccs/bin/ld directly doesn't:

/bin/ksh ../libtool --mode=link gcc  -g -O2    -o libswish-e.la -rpath /usr/local/lib -version-info 2:0:0 -lz  search.lo swish2.lo swish_words.lo  proplimit.lo rank.lo db_read.lo result_sort.lo hash.lo  compress.lo db_native.lo ramdisk.lo check.lo error.lo list.lo  mem.lo swstring.lo docprop.lo metanames.lo headers.lo  swish_qsort.lo date_time.lo double_metaphone.lo stemmer.lo  soundex.lo  replace/libreplace.la snowball/libsnowball.la -lm
rm -fr .libs/libswish-e.la .libs/libswish-e.* .libs/libswish-e.*
/usr/ccs/bin/ld -G -h libswish-e.so.2 -o .libs/libswish-e.so.2.0.0  search.lo swish2.lo swish_words.lo proplimit.lo rank.lo db_read.lo result_sort.lo hash.lo compress.lo db_native.lo ramdisk.lo check.lo error.lo list.lo mem.lo swstring.lo docprop.lo metanames.lo headers.lo swish_qsort.lo date_time.lo double_metaphone.lo stemmer.lo soundex.lo -z allextract replace/.libs/libreplace.al snowball/.libs/libsnowball.al -z defaultextract  -lz -lm -lc 
ld: fatal: library -lz: not found

Using LD_LIBRARY_PATH adds to the search path used by ld, which is a 
fix.


So, is it autotools (libtool) that is using the wrong linker to build 
the library?

Or is my installation of solaris broken because gcc and ld have 
different compiled-in search paths?

I suspect it's my installation, but then I wonder what linker gcc is 
using that works.

Sorry for my ignorance, but thanks to Autotools I don't normally have to
think about these things!

Thanks,


-- 
Bill Moseley
moseley@hank.org




From MAILER-DAEMON Wed Jun 11 16:51:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QCZ8-0004ym-IV
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 16:51:30 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QCY4-0004Bs-8G
	for autoconf@gnu.org; Wed, 11 Jun 2003 16:50:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QCXo-0003yj-Ac
	for autoconf@gnu.org; Wed, 11 Jun 2003 16:50:10 -0400
Received: from smtpout-1-1a.secureserver.net ([64.202.166.20])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19QCXd-0003i0-Ia
	for autoconf@gnu.org; Wed, 11 Jun 2003 16:49:57 -0400
Received: (qmail 31653 invoked from network); 11 Jun 2003 20:49:59 -0000
Received: from unknown (HELO webmail.secureserver.net) (64.202.166.111)
  by smtpout-1-1a.secureserver.net with SMTP; 11 Jun 2003 20:49:59 -0000
Received: (qmail 28460 invoked from network); 11 Jun 2003 20:49:50 -0000
Received: from localhost (HELO gnumatica.com) (127.0.0.1)
  by 0 with SMTP; 11 Jun 2003 20:49:50 -0000
Message-ID: <30608.64.202.166.4.1055364590.webemail@webmail.secureserver.net>
Date: Wed, 11 Jun 2003 13:49:50 -0700 (MST)
From: <cs@gnumatica.com>
To: autoconf@gnu.org
X-Priority: 3
Importance: Normal
X-MSMail-Priority: Normal
X-Mailer: WebMail ver 2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
cc: automake@gnu.org
Subject: How hardcode different default prefix? Hack Makefile.in best way?
 use autoconf macro?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 20:51:27 -0000

Is hacking definition of $(prefix) in Makefile.in the
best way to change default prefix from something other
than /usr/local???

Is there some macro to add to configure.in that would
do the same? That seems like the ideal.

Chris





From MAILER-DAEMON Wed Jun 11 17:12:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QCtH-0008CF-9T
	for mharc-autoconf@gnu.org; Wed, 11 Jun 2003 17:12:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QCsz-0007xp-EN
	for autoconf@gnu.org; Wed, 11 Jun 2003 17:12:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QCsg-0007ta-PL
	for autoconf@gnu.org; Wed, 11 Jun 2003 17:11:43 -0400
Received: from mail.cs.umn.edu ([128.101.34.202])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19QCsV-0007jq-Tl; Wed, 11 Jun 2003 17:11:31 -0400
Received: from localhost (localhost [127.0.0.1])
	by augustus.cs.umn.edu (Postfix) with ESMTP
	id 3455D1131D; Wed, 11 Jun 2003 16:11:27 -0500 (CDT)
Received: from mail.cs.umn.edu ([127.0.0.1])
 by localhost (augustus [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 27313-01-6; Wed, 11 Jun 2003 16:11:26 -0500 (CDT)
Received: from bose.cs.umn.edu (bose.cs.umn.edu [128.101.35.195])
	by mail.cs.umn.edu (Postfix) with ESMTP
	id EDB7711316; Wed, 11 Jun 2003 16:11:25 -0500 (CDT)
Received: by bose.cs.umn.edu (Postfix, from userid 818)
	id 245081B828; Wed, 11 Jun 2003 16:11:24 -0500 (CDT)
To: <cs@gnumatica.com>
References: <30608.64.202.166.4.1055364590.webemail@webmail.secureserver.net>
From: Raja R Harinath <harinath@cs.umn.edu>
Date: Wed, 11 Jun 2003 16:11:24 -0500
In-Reply-To: <30608.64.202.166.4.1055364590.webemail@webmail.secureserver.net>
	(cs@gnumatica.com's
	message of "Wed, 11 Jun 2003 13:49:50 -0700 (MST)")
Message-ID: <d9y9088glf.fsf@cs.umn.edu>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: by amavisd-new at cs.umn.edu
cc: autoconf@gnu.org
cc: automake@gnu.org
Subject: Re: How hardcode different default prefix? Hack Makefile.in best
 way? use autoconf macro?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 11 Jun 2003 21:12:17 -0000

Hi,

<cs@gnumatica.com> writes:

> Is hacking definition of $(prefix) in Makefile.in the
> best way to change default prefix from something other
> than /usr/local???
>
> Is there some macro to add to configure.in that would
> do the same? That seems like the ideal.

Try searching for 'default prefix' in the autoconf documentation.
The answer's in there.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu



From MAILER-DAEMON Thu Jun 12 13:59:15 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QWLd-00033H-DF
	for mharc-autoconf@gnu.org; Thu, 12 Jun 2003 13:58:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QWK3-0001s6-Ol
	for autoconf@gnu.org; Thu, 12 Jun 2003 13:57:15 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QWGR-0000QG-Fb
	for autoconf@gnu.org; Thu, 12 Jun 2003 13:53:32 -0400
Received: from relais.videotron.ca ([24.201.245.36]
	helo=VL-MS-MR001.sc1.videotron.ca)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19QWEv-0007wZ-8T
	for autoconf@gnu.org; Thu, 12 Jun 2003 13:51:57 -0400
Received: from riemann.nyongwa.montreal.qc.ca ([24.202.211.97])
 by VL-MS-MR001.sc1.videotron.ca
 (iPlanet Messaging Server 5.2 HotFix 1.10 (built Jan 23 2003))
 with ESMTP id <0HGD00FH3CUI8V@VL-MS-MR001.sc1.videotron.ca> for
 autoconf@gnu.org; Thu, 12 Jun 2003 08:47:06 -0400 (EDT)
Received: from steve by riemann.nyongwa.montreal.qc.ca with local
	(Exim 3.36 #1 (Debian))	id 19QRTd-0007N0-00;
	Thu, 12 Jun 2003 08:46:49 -0400
Date: Thu, 12 Jun 2003 08:46:48 -0400
From: "Steve M. Robbins" <steven.robbins@videotron.ca>
In-reply-to: <d9y9088glf.fsf@cs.umn.edu>
To: cs@gnumatica.com, autoconf@gnu.org
Message-id: <20030612124648.GE11428@nyongwa.montreal.qc.ca>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
User-Agent: Mutt/1.5.4i
References: <30608.64.202.166.4.1055364590.webemail@webmail.secureserver.net>
 <d9y9088glf.fsf@cs.umn.edu>
Subject: Re: How hardcode different default prefix? Hack Makefile.in bestway?
 use autoconf macro?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 12 Jun 2003 17:58:51 -0000

On Wed, Jun 11, 2003 at 04:11:24PM -0500, Raja R Harinath wrote:
> Hi,
> 
> <cs@gnumatica.com> writes:
> 
> > Is hacking definition of $(prefix) in Makefile.in the
> > best way to change default prefix from something other
> > than /usr/local???
> >
> > Is there some macro to add to configure.in that would
> > do the same? That seems like the ideal.
> 
> Try searching for 'default prefix' in the autoconf documentation.
> The answer's in there.

However: if you plan to release the code for general consumption,
think twice before using it.  There are few things that irritate this
software installer more than having "./configure; make install" put
stuff somewhere OTHER than /usr/local.

-S



From MAILER-DAEMON Thu Jun 12 14:59:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QXHe-0002g9-61
	for mharc-autoconf@gnu.org; Thu, 12 Jun 2003 14:58:50 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QXH3-0002Cd-91
	for autoconf@gnu.org; Thu, 12 Jun 2003 14:58:13 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QXGT-0001rK-2h
	for autoconf@gnu.org; Thu, 12 Jun 2003 14:57:38 -0400
Received: from vhost101.his.com ([216.194.225.81])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19QXGN-0001qo-TZ
	for autoconf@gnu.org; Thu, 12 Jun 2003 14:57:31 -0400
Received: from vhost101.his.com (localhost.his.com [127.0.0.1])
	by vhost101.his.com (8.12.6p2/8.12.3) with ESMTP id h5CIvUxK073266;
	Thu, 12 Jun 2003 14:57:30 -0400 (EDT)
	(envelope-from dickey@herndon4.his.com)
Received: from localhost (dickey@localhost)h5CIvUdQ073263;
	Thu, 12 Jun 2003 14:57:30 -0400 (EDT)
X-Authentication-Warning: vhost101.his.com: dickey owned process doing -bs
Date: Thu, 12 Jun 2003 14:57:30 -0400 (EDT)
From: "Thomas E. Dickey" <dickey@herndon4.his.com>
X-X-Sender: dickey@vhost101.his.com
To: "Steve M. Robbins" <steven.robbins@videotron.ca>
In-Reply-To: <20030612124648.GE11428@nyongwa.montreal.qc.ca>
Message-ID: <20030612145631.F73145@vhost101.his.com>
References: <30608.64.202.166.4.1055364590.webemail@webmail.secureserver.net>
 <d9y9088glf.fsf@cs.umn.edu> <20030612124648.GE11428@nyongwa.montreal.qc.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: autoconf@gnu.org
cc: cs@gnumatica.com
Subject: Re: How hardcode different default prefix? Hack Makefile.inbestway?
 use autoconf macro?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: dickey@herndon4.his.com
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 12 Jun 2003 18:58:48 -0000

On Thu, 12 Jun 2003, Steve M. Robbins wrote:

> However: if you plan to release the code for general consumption,
> think twice before using it.  There are few things that irritate this
> software installer more than having "./configure; make install" put
> stuff somewhere OTHER than /usr/local.

actually, there are other platforms than Linux; /usr/local doesn't have
the same special status on many of those.

-- 
T.E.Dickey <dickey@herndon4.his.com>
http://invisible-island.net
ftp://invisible-island.net



From MAILER-DAEMON Fri Jun 13 06:10:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QlVz-00022k-JD
	for mharc-autoconf@gnu.org; Fri, 13 Jun 2003 06:10:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QlVn-0001IP-RK
	for autoconf@gnu.org; Fri, 13 Jun 2003 06:10:23 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QlVW-0000m3-IG
	for autoconf@gnu.org; Fri, 13 Jun 2003 06:10:07 -0400
Received: from anor.ics.muni.cz ([147.251.4.35])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19QlV1-0000DX-FB
	for autoconf@gnu.org; Fri, 13 Jun 2003 06:09:35 -0400
Received: from anxur.fi.muni.cz (IDENT:0@anxur.fi.muni.cz [147.251.48.3])
	by anor.ics.muni.cz (8.12.1/8.12.1) with ESMTP id h5DA9Wms000760
	for <autoconf@gnu.org>; Fri, 13 Jun 2003 12:09:32 +0200
Received: from aisa.fi.muni.cz (IDENT:0@aisa [147.251.48.1])
	by anxur.fi.muni.cz (8.12.9/8.12.8) with ESMTP id h5DA9WPN027562
	for <autoconf@gnu.org>; Fri, 13 Jun 2003 12:09:32 +0200 (MEST)
Received: from aisa.fi.muni.cz (IDENT:12503@localhost [127.0.0.1])
	by aisa.fi.muni.cz (8.12.9/8.12.8) with ESMTP id h5DA9Wdh295871
	for <autoconf@gnu.org>; Fri, 13 Jun 2003 12:09:32 +0200 (MET DST)
Received: from localhost (xsvobod2@localhost)
	by aisa.fi.muni.cz (8.12.9/8.12.5/Submit) with ESMTP id h5DA9V4U096261
	for <autoconf@gnu.org>; Fri, 13 Jun 2003 12:09:31 +0200 (MET DST)
X-Authentication-Warning: aisa.fi.muni.cz: xsvobod2 owned process doing -bs
Date: Fri, 13 Jun 2003 12:09:31 +0200
From: David Svoboda <xsvobod2@informatics.muni.cz>
To: autoconf@gnu.org
Message-ID: <Pine.SGI.4.21.0306131207110.276593-100000@aisa.fi.muni.cz>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Muni-Spam-TestIP: 147.251.48.3
X-Muni-Virus-Test: Clean
Subject: AC_CHECK_LIB in cygwin
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 13 Jun 2003 10:10:33 -0000

Hello,

I want to test the presence of some library in my system. This library is
compiled in Windows-like style, i.e. it is named XXX.lib or XXX.dll. Is it
possible to use macro AC_CHECK_LIB? If not, what is the best way to use?

-- ds




From MAILER-DAEMON Fri Jun 13 09:08:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QoHe-0006Tv-RN
	for mharc-autoconf@gnu.org; Fri, 13 Jun 2003 09:07:58 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QoFN-0005rO-HN
	for autoconf@gnu.org; Fri, 13 Jun 2003 09:05:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QoF9-0005jY-IP
	for autoconf@gnu.org; Fri, 13 Jun 2003 09:05:26 -0400
Received: from relais.videotron.ca ([24.201.245.36]
	helo=VL-MO-MR001.ip.videotron.ca)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19QoDY-00052l-2q
	for autoconf@gnu.org; Fri, 13 Jun 2003 09:03:44 -0400
Received: from riemann.nyongwa.montreal.qc.ca ([24.202.211.97])
 by VL-MO-MR001.ip.videotron.ca
 (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
 with ESMTP id <0HGF005JD7UF4Q@VL-MO-MR001.ip.videotron.ca> for
 autoconf@gnu.org; Fri, 13 Jun 2003 08:54:15 -0400 (EDT)
Received: from steve by riemann.nyongwa.montreal.qc.ca with local
	(Exim 3.36 #1 (Debian))	id 19QoCS-0002mD-00;
	Fri, 13 Jun 2003 09:02:36 -0400
Date: Fri, 13 Jun 2003 09:02:36 -0400
From: "Steve M. Robbins" <steven.robbins@videotron.ca>
In-reply-to: <20030612145631.F73145@vhost101.his.com>
To: "Thomas E. Dickey" <dickey@herndon4.his.com>
Message-id: <20030613130236.GA8416@nyongwa.montreal.qc.ca>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
User-Agent: Mutt/1.5.4i
References: <30608.64.202.166.4.1055364590.webemail@webmail.secureserver.net>
 <d9y9088glf.fsf@cs.umn.edu> <20030612124648.GE11428@nyongwa.montreal.qc.ca>
 <20030612145631.F73145@vhost101.his.com>
cc: autoconf@gnu.org
cc: cs@gnumatica.com
Subject: Re: How hardcode different default prefix? Hack Makefile.inbestway?
 use autoconf macro?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 13 Jun 2003 13:07:56 -0000

On Thu, Jun 12, 2003 at 02:57:30PM -0400, Thomas E. Dickey wrote:
> On Thu, 12 Jun 2003, Steve M. Robbins wrote:
> 
> > However: if you plan to release the code for general consumption,
> > think twice before using it.  There are few things that irritate this
> > software installer more than having "./configure; make install" put
> > stuff somewhere OTHER than /usr/local.
> 
> actually, there are other platforms than Linux; /usr/local doesn't have
> the same special status on many of those.

What you say is true.  However, I'm not sure what point you are trying
to make.

Perhaps my initial message was too terse, so let me expand.

Autoconf and automake promote a standard for configuring, building,
and installing software from source code.  The configure script is
always the same name; there are common switches to configure; the
makefile always has targets "all", "install", "install-strip", etc.
Having a standard method to install software is a very good thing,
particularly for sites that install loads of software coming from
different authors.  I don't want to go back to the bad old days of
"edit defs.h; edit Makefile ..."

One of the standards promoted by autoconf is the notion of installing
into the hierarchy rooted at $prefix.  There is a well-known method to
specify the prefix, and a well-known default if you don't.  The
installation location ought to be a decision made by the installer;
choosing the default location is a valid choice.  For software
targeted to a broad audience, breaking the standard by changing the
default helps no-one.

Regards,
-Steve

P.S.  There may be valid reasons for changing the default prefix; I
can think of none that I find compelling.  But I have no idea what
audience the original poster is targeting.




From MAILER-DAEMON Fri Jun 13 09:56:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Qp2a-00045K-Ba
	for mharc-autoconf@gnu.org; Fri, 13 Jun 2003 09:56:28 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Qp2Q-0003pI-JR
	for autoconf@gnu.org; Fri, 13 Jun 2003 09:56:18 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Qp27-0003Xu-7G
	for autoconf@gnu.org; Fri, 13 Jun 2003 09:55:59 -0400
Received: from [217.112.227.117] (helo=localhost.localdomain)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Qp25-0003V1-Cz
	for autoconf@gnu.org; Fri, 13 Jun 2003 09:55:57 -0400
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h5DE0pxI021124;
	Fri, 13 Jun 2003 16:00:52 +0200
Received: from localhost (ronald@localhost)h5DE0oOc021120;
	Fri, 13 Jun 2003 16:00:51 +0200
X-Authentication-Warning: localhost.localdomain: ronald owned process doing
	-bs
Date: Fri, 13 Jun 2003 16:00:50 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: =?ISO-8859-1?Q?Mattias_Br=E4ndstr=F6m?= <brasse@ludd.luth.se>
In-Reply-To: <Pine.NEB.4.53.0306051059110.16268@speedy.ludd.luth.se>
Message-ID: <Pine.LNX.4.44.0306131557280.10239-200000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1531824672-1055512850=:10239"
cc: autoconf@gnu.org
Subject: Re: Macro writing
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 13 Jun 2003 13:56:23 -0000

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--8323328-1531824672-1055512850=:10239
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by localhost.localdomain
	id h5DE0pxI021124

I've attached what I'm currently using for Xerces detection. It's far fro=
m=20
perfect (but WFM) and mostly reaped from the iconv/gettext equivalent.

Like I said: WFM (Works For Me)

HTH

rlc

On Thu, 5 Jun 2003, Mattias Br=E4ndstr=F6m wrote:

> Hello again!
>=20
> Now I have a revised version of my macro. If anyone have the time to sa=
y
> anything about it it would be greatly appricated!
>=20
> AC_DEFUN([RKC_XERCES], [
>=20
> AC_ARG_WITH(xerces-prefix, [  --with-xerces-prefix=3DPFX   Prefix where
> Xerces-C is installed (optional)],
>             [xerces_prefix=3D"$withval"], [xerces_prefix=3D""])
>=20
> AC_LANG_PUSH([C++])
> AC_MSG_CHECKING([for Xerces-C])
>=20
> if test -n "$xerces_prefix" ; then
>   CXXFLAGS=3D"$CXXFLAGS -I$xerces_prefix/include"
>   LDFLAGS=3D"$LDFLAGS -L$xerces_prefix/lib"
> fi
>=20
> LIBS=3D"-lxerces-c $LIBS"
>=20
> AC_LINK_IFELSE([
>  AC_LANG_PROGRAM(
>   [
>   #include <xercesc/parsers/XercesDOMParser.hpp>
>   #include <iostream>
>   XERCES_CPP_NAMESPACE_USE
>   ],
>   [
>   XercesDOMParser* parser =3D new XercesDOMParser();
>   ])],
>  [AC_MSG_RESULT([yes])],
>  [AC_MSG_FAILURE([missing])
> ])
>=20
> AC_LANG_POP
> ])
>=20
>=20
> Have a nice day!
>=20
> Regards,
> Mattias
>=20
>=20

--8323328-1531824672-1055512850=:10239
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="xerces-c.m4"
Content-ID: <Pine.LNX.4.44.0306131600500.10239@localhost.localdomain>
Content-Description: Xerces macro
Content-Disposition: attachment; filename="xerces-c.m4"
Content-Transfer-Encoding: BASE64

QUNfREVGVU4oW3JsY19YRVJDRVNDXSwNDQpbDQ0KICBkbmwgUHJlcmVxdWlz
aXRlcyBvZiBBQ19MSUJfTElOS0ZMQUdTX0JPRFkuDQ0KICBBQ19SRVFVSVJF
KFtBQ19MSUJfUFJFUEFSRV9QUkVGSVhdKQ0NCiAgQUNfUkVRVUlSRShbQUNf
TElCX1JQQVRIXSkNDQoNDQogIEFDX0xBTkdfUFVTSChDKyspDQ0KICBybGNf
WEVSQ0VTQ19CT0RZKCkNDQoNDQogIGFjX3NhdmVfQ1BQRkxBR1M9IiRDUFBG
TEFHUyINDQogIEFDX0xJQl9BUFBFTkRUT1ZBUihbQ1BQRkxBR1NdLCBbJElO
Q1hFUkNFU19DXSkNDQoNDQogIEFDX0NBQ0hFX0NIRUNLKFtmb3IgbGlieGVy
Y2VzLWNdLCBbYWNfY3ZfbGlieGVyY2VzX2NdLCBbDQ0KICAgIGFjX3NhdmVf
TElCUz0iJExJQlMiDQ0KICAgIExJQlM9IiRMSUJTICRMSUJYRVJDRVNfQyAk
TElCSUNPTlYiDQ0KICAgIEFDX1RSWV9MSU5LKFsNDQojaW5jbHVkZSA8eGVy
Y2VzYy91dGlsL1BsYXRmb3JtVXRpbHMuaHBwPg0NCiNpZmRlZiBYRVJDRVNf
Q1BQX05BTUVTUEFDRV9VU0UNDQpYRVJDRVNfQ1BQX05BTUVTUEFDRV9VU0UN
DQojZW5kaWYNDQoJIF0sIFsNDQp0cnkNDQp7DQ0KICAgWE1MUGxhdGZvcm1V
dGlsczo6SW5pdGlhbGl6ZSgpOw0NCn0NDQpjYXRjaCAoLi4uKQ0NCnsNDQog
ICAvLyAuLi4NDQp9DQ0KWE1MUGxhdGZvcm1VdGlsczo6VGVybWluYXRlKCk7
DQ0KCSBdLCBbYWNfY3ZfbGlieGVyY2VzX2M9eWVzXSwgW2FjX2N2X2xpYnhl
cmNlc19jPW5vXSkNDQogICAgTElCUz0iJGFjX3NhdmVfTElCUyINDQogIF0p
DQ0KICBpZiB0ZXN0ICIkYWNfY3ZfbGlieGVyY2VzX2MiID0geWVzOyB0aGVu
DQ0KICAgIEhBVkVfTElCWEVSQ0VTX0M9eWVzDQ0KICAgIEFDX0RFRklORShI
QVZFX0xJQlhFUkNFU19DLCAxLCBbRGVmaW5lIGlmIHlvdSBoYXZlIHRoZSB4
ZXJjZXMtYyBsaWJyYXJ5Ll0pDQ0KICAgIEFDX01TR19DSEVDS0lORyhbaG93
IHRvIGxpbmsgd2l0aCBsaWJ4ZXJjZXMtY10pDQ0KICAgIEFDX01TR19SRVNV
TFQoWyRMSUJYRVJDRVNfQ10pDQ0KICBlbHNlDQ0KICAgIEhBVkVfTElCWEVS
Q0VTX0M9bm8NDQogICAgQ1BQRkxBR1M9IiRhY19zYXZlX0NQUEZMQUdTIg0N
CiAgICBMSUJYRVJDRVNfQz0NDQogICAgTFRMSUJYRVJDRVNfQz0NDQogIGZp
DQ0KICANDQogIEFDX0xBTkdfUE9QKEMrKykNDQogIA0NCiAgQUNfU1VCU1Qo
SEFWRV9MSUJYRVJDRVNfQykNDQogIEFDX1NVQlNUKExJQlhFUkNFU19DKQ0N
CiAgQUNfU1VCU1QoTFRMSUJYRVJDRVNfQykNDQpdKQ0NCg0NCkFDX0RFRlVO
KFtybGNfWEVSQ0VTQ19CT0RZXSwNDQpbDQ0KICBkbmwgQnkgZGVmYXVsdCwg
bG9vayBpbiAkaW5jbHVkZWRpciBhbmQgJGxpYmRpci4NDQogIHVzZV9hZGRp
dGlvbmFsPXllcw0NCiAgQUNfTElCX1dJVEhfRklOQUxfUFJFRklYKFsNDQog
ICAgZXZhbCBhZGRpdGlvbmFsX2luY2x1ZGVkaXI9XCIkaW5jbHVkZWRpclwi
DQ0KICAgIGV2YWwgYWRkaXRpb25hbF9saWJkaXI9XCIkbGliZGlyXCINDQog
IF0pDQ0KICBBQ19BUkdfV0lUSChbbGlieGVyY2VzLWMtcHJlZml4XSwNDQpb
ICAtLXdpdGgtbGlieGVyY2VzLWMtcHJlZml4Wz1ESVJdICBzZWFyY2ggZm9y
IGxpYnhlcmNlcy1jIGluIERJUi9pbmNsdWRlIGFuZCBESVIvbGliDQ0KICAt
LXdpdGhvdXQtbGlieGVyY2VzLWMtcHJlZml4ICAgICBkb24ndCBzZWFyY2gg
Zm9yIGxpYnhlcmNlcy1jIGluIGluY2x1ZGVkaXIgYW5kIGxpYmRpcl0sDQ0K
Ww0NCiAgICBpZiB0ZXN0ICJYJHdpdGh2YWwiID0gIlhubyI7IHRoZW4NDQog
ICAgICB1c2VfYWRkaXRpb25hbD1ubw0NCiAgICBlbHNlDQ0KICAgICAgaWYg
dGVzdCAiWCR3aXRodmFsIiA9ICJYIjsgdGhlbg0NCiAgICAgICAgQUNfTElC
X1dJVEhfRklOQUxfUFJFRklYKFsNDQogICAgICAgICAgZXZhbCBhZGRpdGlv
bmFsX2luY2x1ZGVkaXI9XCIkaW5jbHVkZWRpclwiDQ0KICAgICAgICAgIGV2
YWwgYWRkaXRpb25hbF9saWJkaXI9XCIkbGliZGlyXCINDQogICAgICAgIF0p
DQ0KICAgICAgZWxzZQ0NCiAgICAgICAgYWRkaXRpb25hbF9pbmNsdWRlZGly
PSIkd2l0aHZhbC9pbmNsdWRlIg0NCiAgICAgICAgYWRkaXRpb25hbF9saWJk
aXI9IiR3aXRodmFsL2xpYiINDQogICAgICBmaQ0NCiAgICBmaQ0NCl0pDQ0K
ICBkbmwgU2VhcmNoIHRoZSBsaWJyYXJ5IGFuZCBpdHMgZGVwZW5kZW5jaWVz
IGluICRhZGRpdGlvbmFsX2xpYmRpciBhbmQNDQogIGRubCAkTERGTEFHUy4g
VXNpbmcgYnJlYWR0aC1maXJzdC1zZWFjaC4NDQogIExJQlhFUkNFU19DPQ0N
CiAgTFRMSUJYRVJDRVNfQz0NDQogIElOQ1hFUkNFU19DPQ0NCiAgcnBhdGhk
aXJzPQ0NCiAgbHRycGF0aGRpcnM9DQ0KICBuYW1lc19hbHJlYWR5X2hhbmRs
ZWQ9DQ0KICBuYW1lc19uZXh0X3JvdW5kPSd4ZXJjZXMtYycNDQogIHdoaWxl
IHRlc3QgLW4gIiRuYW1lc19uZXh0X3JvdW5kIjsgZG8NDQogICAgbmFtZXNf
dGhpc19yb3VuZD0iJG5hbWVzX25leHRfcm91bmQiDQ0KICAgIG5hbWVzX25l
eHRfcm91bmQ9DQ0KICAgIGZvciBuYW1lIGluICRuYW1lc190aGlzX3JvdW5k
OyBkbw0NCiAgICAgIGFscmVhZHlfaGFuZGxlZD0NDQogICAgICBmb3IgbiBp
biAkbmFtZXNfYWxyZWFkeV9oYW5kbGVkOyBkbw0NCiAgICAgICAgaWYgdGVz
dCAiJG4iID0gIiRuYW1lIjsgdGhlbg0NCiAgICAgICAgICBhbHJlYWR5X2hh
bmRsZWQ9eWVzDQ0KICAgICAgICAgIGJyZWFrDQ0KICAgICAgICBmaQ0NCiAg
ICAgIGRvbmUNDQogICAgICBpZiB0ZXN0IC16ICIkYWxyZWFkeV9oYW5kbGVk
IjsgdGhlbg0NCiAgICAgICAgbmFtZXNfYWxyZWFkeV9oYW5kbGVkPSIkbmFt
ZXNfYWxyZWFkeV9oYW5kbGVkICRuYW1lIg0NCiAgICAgICAgZG5sIFNlZSBp
ZiBpdCB3YXMgYWxyZWFkeSBsb2NhdGVkIGJ5IGFuIGVhcmxpZXIgQUNfTElC
X0xJTktGTEFHUw0NCiAgICAgICAgZG5sIG9yIEFDX0xJQl9IQVZFX0xJTktG
TEFHUyBjYWxsLg0NCiAgICAgICAgdXBwZXJuYW1lPWBlY2hvICIkbmFtZSIg
fCBzZWQgLWUgJ3l8YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXouLy18QUJD
REVGR0hJSktMTU5PUFFSU1RVVldYWVpfX198J2ANDQogICAgICAgIGV2YWwg
dmFsdWU9XCJcJEhBVkVfTElCJHVwcGVybmFtZVwiDQ0KICAgICAgICBpZiB0
ZXN0IC1uICIkdmFsdWUiOyB0aGVuDQ0KICAgICAgICAgIGlmIHRlc3QgIiR2
YWx1ZSIgPSB5ZXM7IHRoZW4NDQogICAgICAgICAgICBldmFsIHZhbHVlPVwi
XCRMSUIkdXBwZXJuYW1lXCINDQogICAgICAgICAgICB0ZXN0IC16ICIkdmFs
dWUiIHx8IExJQlhFUkNFU19DPSIke0xJQlhFUkNFU19DfSR7TElCWEVSQ0VT
X0M6KyB9JHZhbHVlIg0NCiAgICAgICAgICAgIGV2YWwgdmFsdWU9XCJcJExU
TElCJHVwcGVybmFtZVwiDQ0KICAgICAgICAgICAgdGVzdCAteiAiJHZhbHVl
IiB8fCBMVExJQlhFUkNFU19DPSIke0xUTElCWEVSQ0VTX0N9JHtMVExJQlhF
UkNFU19DOisgfSR2YWx1ZSINDQogICAgICAgICAgZWxzZQ0NCiAgICAgICAg
ICAgIGRubCBBbiBlYXJsaWVyIGNhbGwgdG8gQUNfTElCX0hBVkVfTElOS0ZM
QUdTIGhhcyBkZXRlcm1pbmVkDQ0KICAgICAgICAgICAgZG5sIHRoYXQgdGhp
cyBsaWJyYXJ5IGRvZXNuJ3QgZXhpc3QuIFNvIGp1c3QgZHJvcCBpdC4NDQog
ICAgICAgICAgICA6DQ0KICAgICAgICAgIGZpDQ0KICAgICAgICBlbHNlDQ0K
ICAgICAgICAgIGRubCBTZWFyY2ggdGhlIGxpYnJhcnkgbGliJG5hbWUgaW4g
JGFkZGl0aW9uYWxfbGliZGlyIGFuZCAkTERGTEFHUw0NCiAgICAgICAgICBm
b3VuZF9kaXI9DQ0KICAgICAgICAgIGZvdW5kX2xhPQ0NCiAgICAgICAgICBm
b3VuZF9zbz0NDQogICAgICAgICAgZm91bmRfYT0NDQogICAgICAgICAgaWYg
dGVzdCAkdXNlX2FkZGl0aW9uYWwgPSB5ZXM7IHRoZW4NDQogICAgICAgICAg
ICBmb3VuZF9zbz0iJGFkZGl0aW9uYWxfbGliZGlyL2xpYiRuYW1lLiRzaGxp
YmV4dCoiIA0NCiAgICAgICAgICAgIGZvciBpIGluICRmb3VuZF9zbzsgZG8g
DQ0KICAgICAgICAgICAgICBpZiB0ZXN0IC1mICRpICYmIHRlc3QgLXggJGk7
IHRoZW4gDQ0KICAgICAgICAgICAgICAgIGZvdW5kX3NvPSIkaSIgDQ0KICAg
ICAgICAgICAgICAgIGJyZWFrIA0NCiAgICAgICAgICAgICAgZmkNDQogICAg
ICAgICAgICBkb25lIA0NCiAgICAgICAgICAgIGlmIHRlc3QgLW4gIiRzaGxp
YmV4dCIgJiYgdGVzdCAtZiAkZm91bmRfc287IHRoZW4NDQogICAgICAgICAg
ICAgIGZvdW5kX2Rpcj0iJGFkZGl0aW9uYWxfbGliZGlyIg0NCiAgICAgICAg
ICAgICAgaWYgdGVzdCAtZiAiJGFkZGl0aW9uYWxfbGliZGlyL2xpYiRuYW1l
LmxhIjsgdGhlbg0NCiAgICAgICAgICAgICAgICBmb3VuZF9sYT0iJGFkZGl0
aW9uYWxfbGliZGlyL2xpYiRuYW1lLmxhIg0NCiAgICAgICAgICAgICAgZmkN
DQogICAgICAgICAgICBlbHNlDQ0KICAgICAgICAgICAgICBpZiB0ZXN0IC1m
ICIkYWRkaXRpb25hbF9saWJkaXIvbGliJG5hbWUuJGxpYmV4dCI7IHRoZW4N
DQogICAgICAgICAgICAgICAgZm91bmRfZGlyPSIkYWRkaXRpb25hbF9saWJk
aXIiDQ0KICAgICAgICAgICAgICAgIGZvdW5kX2E9IiRhZGRpdGlvbmFsX2xp
YmRpci9saWIkbmFtZS4kbGliZXh0Ig0NCiAgICAgICAgICAgICAgICBpZiB0
ZXN0IC1mICIkYWRkaXRpb25hbF9saWJkaXIvbGliJG5hbWUubGEiOyB0aGVu
DQ0KICAgICAgICAgICAgICAgICAgZm91bmRfbGE9IiRhZGRpdGlvbmFsX2xp
YmRpci9saWIkbmFtZS5sYSINDQogICAgICAgICAgICAgICAgZmkNDQogICAg
ICAgICAgICAgIGZpDQ0KICAgICAgICAgICAgZmkNDQogICAgICAgICAgZmkN
DQogICAgICAgICAgaWYgdGVzdCAiWCRmb3VuZF9kaXIiID0gIlgiOyB0aGVu
DQ0KICAgICAgICAgICAgZm9yIHggaW4gJExERkxBR1MgJExUTElCWEVSQ0VT
X0M7IGRvDQ0KICAgICAgICAgICAgICBBQ19MSUJfV0lUSF9GSU5BTF9QUkVG
SVgoW2V2YWwgeD1cIiR4XCJdKQ0NCiAgICAgICAgICAgICAgY2FzZSAiJHgi
IGluDQ0KICAgICAgICAgICAgICAgIC1MKikNDQogICAgICAgICAgICAgICAg
ICBkaXI9YGVjaG8gIlgkeCIgfCBzZWQgLWUgJ3MvXlgtTC8vJ2ANDQogICAg
ICAgICAgICAgICAgICBpZiB0ZXN0IC1uICIkc2hsaWJleHQiOyB0aGVuDQ0K
ICAgICAgICAgICAgICAgICAgICBmb3VuZF9kaXI9IiRkaXIiDQ0KICAgICAg
ICAgICAgICAgICAgICBmb3VuZF9zbz0iJGRpci9saWIkbmFtZS4kc2hsaWJl
eHQqIg0NCiAJICAgICAgICAgICAgICAgICBmb3IgaSBpbiAkZm91bmRfc287
IGRvDQ0KCQkJCQkJICAgIGlmIHRlc3QgLWYgJGkgJiYgdGVzdCAteCAkaTsg
dGhlbg0NCgkJCQkJCSAgICAgIGZvdW5kX3NvPSIkaSINDQoJCQkJCQkgICAg
ICBicmVhaw0NCgkJCQkJCSAgICBmaQ0NCgkJCQkJCSAgZG9uZQ0NCgkJCQkJ
CQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJICANDQogICAgICAg
ICAgICAgICAgICAgIGlmIHRlc3QgLWYgIiRkaXIvbGliJG5hbWUubGEiOyB0
aGVuDQ0KICAgICAgICAgICAgICAgICAgICAgIGZvdW5kX2xhPSIkZGlyL2xp
YiRuYW1lLmxhIg0NCiAgICAgICAgICAgICAgICAgICAgZmkNDQogICAgICAg
ICAgICAgICAgICBlbHNlDQ0KICAgICAgICAgICAgICAgICAgICBpZiB0ZXN0
IC1mICIkZGlyL2xpYiRuYW1lLiRsaWJleHQiOyB0aGVuDQ0KICAgICAgICAg
ICAgICAgICAgICAgIGZvdW5kX2Rpcj0iJGRpciINDQogICAgICAgICAgICAg
ICAgICAgICAgZm91bmRfYT0iJGRpci9saWIkbmFtZS4kbGliZXh0Ig0NCiAg
ICAgICAgICAgICAgICAgICAgICBpZiB0ZXN0IC1mICIkZGlyL2xpYiRuYW1l
LmxhIjsgdGhlbg0NCiAgICAgICAgICAgICAgICAgICAgICAgIGZvdW5kX2xh
PSIkZGlyL2xpYiRuYW1lLmxhIg0NCiAgICAgICAgICAgICAgICAgICAgICBm
aQ0NCiAgICAgICAgICAgICAgICAgICAgZmkNDQogICAgICAgICAgICAgICAg
ICBmaQ0NCiAgICAgICAgICAgICAgICAgIDs7DQ0KICAgICAgICAgICAgICBl
c2FjDQ0KICAgICAgICAgICAgICBpZiB0ZXN0ICJYJGZvdW5kX2RpciIgIT0g
IlgiOyB0aGVuDQ0KICAgICAgICAgICAgICAgIGJyZWFrDQ0KICAgICAgICAg
ICAgICBmaQ0NCiAgICAgICAgICAgIGRvbmUNDQogICAgICAgICAgZmkNDQog
ICAgICAgICAgaWYgdGVzdCAiWCRmb3VuZF9kaXIiICE9ICJYIjsgdGhlbg0N
CiAgICAgICAgICAgIGRubCBGb3VuZCB0aGUgbGlicmFyeS4NDQogICAgICAg
ICAgICBMVExJQlhFUkNFU19DPSIke0xUTElCWEVSQ0VTX0N9JHtMVExJQlhF
UkNFU19DOisgfS1MJGZvdW5kX2RpciAtbCRuYW1lIg0NCiAgICAgICAgICAg
IGlmIHRlc3QgIlgkZm91bmRfc28iICE9ICJYIjsgdGhlbg0NCiAgICAgICAg
ICAgICAgZG5sIExpbmtpbmcgd2l0aCBhIHNoYXJlZCBsaWJyYXJ5LiBXZSBh
dHRlbXB0IHRvIGhhcmRjb2RlIGl0cw0NCiAgICAgICAgICAgICAgZG5sIGRp
cmVjdG9yeSBpbnRvIHRoZSBleGVjdXRhYmxlJ3MgcnVucGF0aCwgdW5sZXNz
IGl0J3MgdGhlDQ0KICAgICAgICAgICAgICBkbmwgc3RhbmRhcmQgL3Vzci9s
aWIuDQ0KICAgICAgICAgICAgICBpZiB0ZXN0ICIkZW5hYmxlX3JwYXRoIiA9
IG5vIHx8IHRlc3QgIlgkZm91bmRfZGlyIiA9ICJYL3Vzci9saWIiOyB0aGVu
DQ0KICAgICAgICAgICAgICAgIGRubCBObyBoYXJkY29kaW5nIGlzIG5lZWRl
ZC4NDQogICAgICAgICAgICAgICAgTElCWEVSQ0VTX0M9IiR7TElCWEVSQ0VT
X0N9JHtMSUJYRVJDRVNfQzorIH0kZm91bmRfc28iDQ0KICAgICAgICAgICAg
ICBlbHNlDQ0KICAgICAgICAgICAgICAgIGRubCBVc2UgYW4gZXhwbGljaXQg
b3B0aW9uIHRvIGhhcmRjb2RlIERJUiBpbnRvIHRoZSByZXN1bHRpbmcNDQog
ICAgICAgICAgICAgICAgZG5sIGJpbmFyeS4NDQogICAgICAgICAgICAgICAg
ZG5sIFBvdGVudGlhbGx5IGFkZCBESVIgdG8gbHRycGF0aGRpcnMuDQ0KICAg
ICAgICAgICAgICAgIGhhdmVpdD0NDQogICAgICAgICAgICAgICAgZm9yIHgg
aW4gJGx0cnBhdGhkaXJzOyBkbw0NCiAgICAgICAgICAgICAgICAgIGlmIHRl
c3QgIlgkeCIgPSAiWCRmb3VuZF9kaXIiOyB0aGVuDQ0KICAgICAgICAgICAg
ICAgICAgICBoYXZlaXQ9eWVzDQ0KICAgICAgICAgICAgICAgICAgICBicmVh
aw0NCiAgICAgICAgICAgICAgICAgIGZpDQ0KICAgICAgICAgICAgICAgIGRv
bmUNDQogICAgICAgICAgICAgICAgaWYgdGVzdCAteiAiJGhhdmVpdCI7IHRo
ZW4NDQogICAgICAgICAgICAgICAgICBsdHJwYXRoZGlycz0iJGx0cnBhdGhk
aXJzICRmb3VuZF9kaXIiDQ0KICAgICAgICAgICAgICAgIGZpDQ0KICAgICAg
ICAgICAgICAgIGlmIHRlc3QgIiRoYXJkY29kZV9kaXJlY3QiID0geWVzOyB0
aGVuDQ0KICAgICAgICAgICAgICAgICAgZG5sIHJlc3VsdGluZyBiaW5hcnku
DQ0KICAgICAgICAgICAgICAgICAgTElCWEVSQ0VTX0M9IiR7TElCWEVSQ0VT
X0N9JHtMSUJYRVJDRVNfQzorIH0kZm91bmRfc28iDQ0KICAgICAgICAgICAg
ICAgIGVsc2UNDQogICAgICAgICAgICAgICAgICBpZiB0ZXN0IC1uICIkaGFy
ZGNvZGVfbGliZGlyX2ZsYWdfc3BlYyIgJiYgdGVzdCAiJGhhcmRjb2RlX21p
bnVzX0wiID0gbm87IHRoZW4NDQogICAgICAgICAgICAgICAgICAgIGRubCBV
c2UgYW4gZXhwbGljaXQgb3B0aW9uIHRvIGhhcmRjb2RlIERJUiBpbnRvIHRo
ZSByZXN1bHRpbmcNDQogICAgICAgICAgICAgICAgICAgIGRubCBiaW5hcnku
DQ0KICAgICAgICAgICAgICAgICAgICBMSUJYRVJDRVNfQz0iJHtMSUJYRVJD
RVNfQ30ke0xJQlhFUkNFU19DOisgfSRmb3VuZF9zbyINDQogICAgICAgICAg
ICAgICAgICAgIGRubCBQb3RlbnRpYWxseSBhZGQgRElSIHRvIHJwYXRoZGly
cy4NDQogICAgICAgICAgICAgICAgICAgIGhhdmVpdD0NDQogICAgICAgICAg
ICAgICAgICAgIGZvciB4IGluICRycGF0aGRpcnM7IGRvDQ0KICAgICAgICAg
ICAgICAgICAgICAgIGlmIHRlc3QgIlgkeCIgPSAiWCRmb3VuZF9kaXIiOyB0
aGVuDQ0KICAgICAgICAgICAgICAgICAgICAgICAgaGF2ZWl0PXllcw0NCiAg
ICAgICAgICAgICAgICAgICAgICAgIGJyZWFrDQ0KICAgICAgICAgICAgICAg
ICAgICAgIGZpDQ0KICAgICAgICAgICAgICAgICAgICBkb25lDQ0KICAgICAg
ICAgICAgICAgICAgICBpZiB0ZXN0IC16ICIkaGF2ZWl0IjsgdGhlbg0NCiAg
ICAgICAgICAgICAgICAgICAgICBycGF0aGRpcnM9IiRycGF0aGRpcnMgJGZv
dW5kX2RpciINDQogICAgICAgICAgICAgICAgICAgIGZpDQ0KICAgICAgICAg
ICAgICAgICAgZWxzZQ0NCiAgICAgICAgICAgICAgICAgICAgZG5sIFJlbHkg
b24gIi1MJGZvdW5kX2RpciIuDQ0KICAgICAgICAgICAgICAgICAgICBkbmwg
QnV0IGRvbid0IGFkZCBpdCBpZiBpdCdzIGFscmVhZHkgY29udGFpbmVkIGlu
IHRoZSBMREZMQUdTDQ0KICAgICAgICAgICAgICAgICAgICBoYXZlaXQ9DQ0K
ICAgICAgICAgICAgICAgICAgICBmb3IgeCBpbiAkTERGTEFHUyAkTElCWEVS
Q0VTX0M7IGRvDQ0KICAgICAgICAgICAgICAgICAgICAgIEFDX0xJQl9XSVRI
X0ZJTkFMX1BSRUZJWChbZXZhbCB4PVwiJHhcIl0pDQ0KICAgICAgICAgICAg
ICAgICAgICAgIGlmIHRlc3QgIlgkeCIgPSAiWC1MJGZvdW5kX2RpciI7IHRo
ZW4NDQogICAgICAgICAgICAgICAgICAgICAgICBoYXZlaXQ9eWVzDQ0KICAg
ICAgICAgICAgICAgICAgICAgICAgYnJlYWsNDQogICAgICAgICAgICAgICAg
ICAgICAgZmkNDQogICAgICAgICAgICAgICAgICAgIGRvbmUNDQogICAgICAg
ICAgICAgICAgICAgIGlmIHRlc3QgLXogIiRoYXZlaXQiOyB0aGVuDQ0KICAg
ICAgICAgICAgICAgICAgICAgIExJQlhFUkNFU19DPSIke0xJQlhFUkNFU19D
fSR7TElCWEVSQ0VTX0M6KyB9LUwkZm91bmRfZGlyIg0NCiAgICAgICAgICAg
ICAgICAgICAgZmkNDQogICAgICAgICAgICAgICAgICAgIGlmIHRlc3QgIiRo
YXJkY29kZV9taW51c19MIiAhPSBubzsgdGhlbg0NCiAgICAgICAgICAgICAg
ICAgICAgICBkbmwgRklYTUU6IE5vdCBzdXJlIHdoZXRoZXIgd2Ugc2hvdWxk
IHVzZQ0NCiAgICAgICAgICAgICAgICAgICAgICBkbmwgIi1MJGZvdW5kX2Rp
ciAtbCRuYW1lIiBvciAiLUwkZm91bmRfZGlyICRmb3VuZF9zbyINDQogICAg
ICAgICAgICAgICAgICAgICAgZG5sIGhlcmUuDQ0KICAgICAgICAgICAgICAg
ICAgICAgIExJQlhFUkNFU19DPSIke0xJQlhFUkNFU19DfSR7TElCWEVSQ0VT
X0M6KyB9JGZvdW5kX3NvIg0NCiAgICAgICAgICAgICAgICAgICAgZWxzZQ0N
CiAgICAgICAgICAgICAgICAgICAgICBkbmwgV2UgY2Fubm90IHVzZSAkaGFy
ZGNvZGVfcnVucGF0aF92YXIgYW5kIExEX1JVTl9QQVRIDQ0KICAgICAgICAg
ICAgICAgICAgICAgIGRubCBoZXJlLCBiZWNhdXNlIHRoaXMgZG9lc24ndCBm
aXQgaW4gZmxhZ3MgcGFzc2VkIHRvIHRoZQ0NCiAgICAgICAgICAgICAgICAg
ICAgICBkbmwgY29tcGlsZXIuIFNvIGdpdmUgdXAuIE5vIGhhcmRjb2Rpbmcu
IFRoaXMgYWZmZWN0cyBvbmx5DQ0KICAgICAgICAgICAgICAgICAgICAgIGRu
bCB2ZXJ5IG9sZCBzeXN0ZW1zLg0NCiAgICAgICAgICAgICAgICAgICAgICBk
bmwgRklYTUU6IE5vdCBzdXJlIHdoZXRoZXIgd2Ugc2hvdWxkIHVzZQ0NCiAg
ICAgICAgICAgICAgICAgICAgICBkbmwgIi1MJGZvdW5kX2RpciAtbCRuYW1l
IiBvciAiLUwkZm91bmRfZGlyICRmb3VuZF9zbyINDQogICAgICAgICAgICAg
ICAgICAgICAgZG5sIGhlcmUuDQ0KICAgICAgICAgICAgICAgICAgICAgIExJ
QlhFUkNFU19DPSIke0xJQlhFUkNFU19DfSR7TElCWEVSQ0VTX0M6KyB9LWwk
bmFtZSINDQogICAgICAgICAgICAgICAgICAgIGZpDQ0KICAgICAgICAgICAg
ICAgICAgZmkNDQogICAgICAgICAgICAgICAgZmkNDQogICAgICAgICAgICAg
IGZpDQ0KICAgICAgICAgICAgZWxzZQ0NCiAgICAgICAgICAgICAgaWYgdGVz
dCAiWCRmb3VuZF9hIiAhPSAiWCI7IHRoZW4NDQogICAgICAgICAgICAgICAg
ZG5sIExpbmtpbmcgd2l0aCBhIHN0YXRpYyBsaWJyYXJ5Lg0NCiAgICAgICAg
ICAgICAgICBMSUJYRVJDRVNfQz0iJHtMSUJYRVJDRVNfQ30ke0xJQlhFUkNF
U19DOisgfSRmb3VuZF9hIg0NCiAgICAgICAgICAgICAgZWxzZQ0NCiAgICAg
ICAgICAgICAgICBkbmwgV2Ugc2hvdWxkbid0IGNvbWUgaGVyZSwgYnV0IGFu
eXdheSBpdCdzIGdvb2QgdG8gaGF2ZSBhDQ0KICAgICAgICAgICAgICAgIGRu
bCBmYWxsYmFjay4NDQogICAgICAgICAgICAgICAgTElCWEVSQ0VTX0M9IiR7
TElCWEVSQ0VTX0N9JHtMSUJYRVJDRVNfQzorIH0tTCRmb3VuZF9kaXIgLWwk
bmFtZSINDQogICAgICAgICAgICAgIGZpDQ0KICAgICAgICAgICAgZmkNDQog
ICAgICAgICAgICBkbmwgQXNzdW1lIHRoZSBpbmNsdWRlIGZpbGVzIGFyZSBu
ZWFyYnkuDQ0KICAgICAgICAgICAgYWRkaXRpb25hbF9pbmNsdWRlZGlyPQ0N
CiAgICAgICAgICAgIGNhc2UgIiRmb3VuZF9kaXIiIGluDQ0KICAgICAgICAg
ICAgICAqL2xpYiB8ICovbGliLykNDQogICAgICAgICAgICAgICAgYmFzZWRp
cj1gZWNobyAiWCRmb3VuZF9kaXIiIHwgc2VkIC1lICdzLF5YLCwnIC1lICdz
LC9saWIvKiQsLCdgDQ0KICAgICAgICAgICAgICAgIGFkZGl0aW9uYWxfaW5j
bHVkZWRpcj0iJGJhc2VkaXIvaW5jbHVkZSINDQogICAgICAgICAgICAgICAg
OzsNDQogICAgICAgICAgICBlc2FjDQ0KICAgICAgICAgICAgaWYgdGVzdCAi
WCRhZGRpdGlvbmFsX2luY2x1ZGVkaXIiICE9ICJYIjsgdGhlbg0NCiAgICAg
ICAgICAgICAgZG5sIEJ1dCBkb24ndCBhZGQgaXQNDQogICAgICAgICAgICAg
IGRubCAgIDEuIGlmIGl0J3MgdGhlIHN0YW5kYXJkIC91c3IvaW5jbHVkZSwN
DQogICAgICAgICAgICAgIGRubCAgIDIuIGlmIGl0J3MgL3Vzci9sb2NhbC9p
bmNsdWRlIGFuZCB3ZSBhcmUgdXNpbmcgR0NDIG9uIExpbnV4LA0NCiAgICAg
ICAgICAgICAgZG5sICAgMy4gaWYgaXQncyBhbHJlYWR5IHByZXNlbnQgaW4g
JENQUEZMQUdTIG9yIHRoZSBhbHJlYWR5DQ0KICAgICAgICAgICAgICBkbmwg
ICA0LiBpZiBpdCBkb2Vzbid0IGV4aXN0IGFzIGEgZGlyZWN0b3J5Lg0NCiAg
ICAgICAgICAgICAgaWYgdGVzdCAiWCRhZGRpdGlvbmFsX2luY2x1ZGVkaXIi
ICE9ICJYL3Vzci9pbmNsdWRlIjsgdGhlbg0NCiAgICAgICAgICAgICAgICBo
YXZlaXQ9DQ0KICAgICAgICAgICAgICAgIGlmIHRlc3QgIlgkYWRkaXRpb25h
bF9pbmNsdWRlZGlyIiA9ICJYL3Vzci9sb2NhbC9pbmNsdWRlIjsgdGhlbg0N
CiAgICAgICAgICAgICAgICAgIGlmIHRlc3QgLW4gIiRHQ0MiOyB0aGVuDQ0K
ICAgICAgICAgICAgICAgICAgICBjYXNlICRob3N0X29zIGluDQ0KICAgICAg
ICAgICAgICAgICAgICAgIGxpbnV4KikgaGF2ZWl0PXllczs7DQ0KICAgICAg
ICAgICAgICAgICAgICBlc2FjDQ0KICAgICAgICAgICAgICAgICAgZmkNDQog
ICAgICAgICAgICAgICAgZmkNDQogICAgICAgICAgICAgICAgaWYgdGVzdCAt
eiAiJGhhdmVpdCI7IHRoZW4NDQogICAgICAgICAgICAgICAgICBmb3IgeCBp
biAkQ1BQRkxBR1MgJElOQ1hFUkNFU19DOyBkbw0NCiAgICAgICAgICAgICAg
ICAgICAgQUNfTElCX1dJVEhfRklOQUxfUFJFRklYKFtldmFsIHg9XCIkeFwi
XSkNDQogICAgICAgICAgICAgICAgICAgIGlmIHRlc3QgIlgkeCIgPSAiWC1J
JGFkZGl0aW9uYWxfaW5jbHVkZWRpciI7IHRoZW4NDQogICAgICAgICAgICAg
ICAgICAgICAgaGF2ZWl0PXllcw0NCiAgICAgICAgICAgICAgICAgICAgICBi
cmVhaw0NCiAgICAgICAgICAgICAgICAgICAgZmkNDQogICAgICAgICAgICAg
ICAgICBkb25lDQ0KICAgICAgICAgICAgICAgICAgaWYgdGVzdCAteiAiJGhh
dmVpdCI7IHRoZW4NDQogICAgICAgICAgICAgICAgICAgIGlmIHRlc3QgLWQg
IiRhZGRpdGlvbmFsX2luY2x1ZGVkaXIiOyB0aGVuDQ0KICAgICAgICAgICAg
ICAgICAgICAgIElOQ1hFUkNFU19DPSIke0lOQ1hFUkNFU19DfSR7SU5DWEVS
Q0VTX0M6KyB9LUkkYWRkaXRpb25hbF9pbmNsdWRlZGlyIg0NCiAgICAgICAg
ICAgICAgICAgICAgZmkNDQogICAgICAgICAgICAgICAgICBmaQ0NCiAgICAg
ICAgICAgICAgICBmaQ0NCiAgICAgICAgICAgICAgZmkNDQogICAgICAgICAg
ICBmaQ0NCiAgICAgICAgICAgIGRubCBMb29rIGZvciBkZXBlbmRlbmNpZXMu
DQ0KICAgICAgICAgICAgaWYgdGVzdCAtbiAiJGZvdW5kX2xhIjsgdGhlbg0N
CiAgICAgICAgICAgICAgZG5sIFJlYWQgdGhlIC5sYSBmaWxlLiBJdCBkZWZp
bmVzIHRoZSB2YXJpYWJsZXMNDQogICAgICAgICAgICAgIGRubCBkbG5hbWUs
IGxpYnJhcnlfbmFtZXMsIG9sZF9saWJyYXJ5LCBkZXBlbmRlbmN5X2xpYnMs
IGN1cnJlbnQsDQ0KICAgICAgICAgICAgICBkbmwgYWdlLCByZXZpc2lvbiwg
aW5zdGFsbGVkLCBkbG9wZW4sIGRscHJlb3BlbiwgbGliZGlyLg0NCiAgICAg
ICAgICAgICAgc2F2ZV9saWJkaXI9IiRsaWJkaXIiDQ0KICAgICAgICAgICAg
ICBjYXNlICIkZm91bmRfbGEiIGluDQ0KICAgICAgICAgICAgICAgICovKiB8
ICpcXCopIC4gIiRmb3VuZF9sYSIgOzsNDQogICAgICAgICAgICAgICAgKikg
LiAiLi8kZm91bmRfbGEiIDs7DQ0KICAgICAgICAgICAgICBlc2FjDQ0KICAg
ICAgICAgICAgICBsaWJkaXI9IiRzYXZlX2xpYmRpciINDQogICAgICAgICAg
ICAgIGRubCBXZSB1c2Ugb25seSBkZXBlbmRlbmN5X2xpYnMuDQ0KICAgICAg
ICAgICAgICBmb3IgZGVwIGluICRkZXBlbmRlbmN5X2xpYnM7IGRvDQ0KICAg
ICAgICAgICAgICAgIGNhc2UgIiRkZXAiIGluDQ0KICAgICAgICAgICAgICAg
ICAgLUwqKQ0NCiAgICAgICAgICAgICAgICAgICAgYWRkaXRpb25hbF9saWJk
aXI9YGVjaG8gIlgkZGVwIiB8IHNlZCAtZSAncy9eWC1MLy8nYA0NCiAgICAg
ICAgICAgICAgICAgICAgZG5sIEJ1dCBkb24ndCBhZGQgaXQNDQogICAgICAg
ICAgICAgICAgICAgIGRubCAgIDEuIGlmIGl0J3MgdGhlIHN0YW5kYXJkIC91
c3IvbGliLA0NCiAgICAgICAgICAgICAgICAgICAgZG5sICAgMi4gaWYgaXQn
cyAvdXNyL2xvY2FsL2xpYiBhbmQgd2UgYXJlIHVzaW5nIEdDQyBvbiBMaW51
eCwNDQogICAgICAgICAgICAgICAgICAgIGRubCAgIDMuIGlmIGl0J3MgYWxy
ZWFkeSBwcmVzZW50IGluICRMREZMQUdTIG9yIHRoZSBhbHJlYWR5DQ0KICAg
ICAgICAgICAgICAgICAgICBkbmwgICA0LiBpZiBpdCBkb2Vzbid0IGV4aXN0
IGFzIGEgZGlyZWN0b3J5Lg0NCiAgICAgICAgICAgICAgICAgICAgaWYgdGVz
dCAiWCRhZGRpdGlvbmFsX2xpYmRpciIgIT0gIlgvdXNyL2xpYiI7IHRoZW4N
DQogICAgICAgICAgICAgICAgICAgICAgaGF2ZWl0PQ0NCiAgICAgICAgICAg
ICAgICAgICAgICBpZiB0ZXN0ICJYJGFkZGl0aW9uYWxfbGliZGlyIiA9ICJY
L3Vzci9sb2NhbC9saWIiOyB0aGVuDQ0KICAgICAgICAgICAgICAgICAgICAg
ICAgaWYgdGVzdCAtbiAiJEdDQyI7IHRoZW4NDQogICAgICAgICAgICAgICAg
ICAgICAgICAgIGNhc2UgJGhvc3Rfb3MgaW4NDQogICAgICAgICAgICAgICAg
ICAgICAgICAgICAgbGludXgqKSBoYXZlaXQ9eWVzOzsNDQogICAgICAgICAg
ICAgICAgICAgICAgICAgIGVzYWMNDQogICAgICAgICAgICAgICAgICAgICAg
ICBmaQ0NCiAgICAgICAgICAgICAgICAgICAgICBmaQ0NCiAgICAgICAgICAg
ICAgICAgICAgICBpZiB0ZXN0IC16ICIkaGF2ZWl0IjsgdGhlbg0NCiAgICAg
ICAgICAgICAgICAgICAgICAgIGhhdmVpdD0NDQogICAgICAgICAgICAgICAg
ICAgICAgICBmb3IgeCBpbiAkTERGTEFHUyAkTElCWEVSQ0VTX0M7IGRvDQ0K
ICAgICAgICAgICAgICAgICAgICAgICAgICBBQ19MSUJfV0lUSF9GSU5BTF9Q
UkVGSVgoW2V2YWwgeD1cIiR4XCJdKQ0NCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgaWYgdGVzdCAiWCR4IiA9ICJYLUwkYWRkaXRpb25hbF9saWJkaXIi
OyB0aGVuDQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhdmVpdD15
ZXMNDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWsNDQogICAg
ICAgICAgICAgICAgICAgICAgICAgIGZpDQ0KICAgICAgICAgICAgICAgICAg
ICAgICAgZG9uZQ0NCiAgICAgICAgICAgICAgICAgICAgICAgIGlmIHRlc3Qg
LXogIiRoYXZlaXQiOyB0aGVuDQ0KICAgICAgICAgICAgICAgICAgICAgICAg
ICBpZiB0ZXN0IC1kICIkYWRkaXRpb25hbF9saWJkaXIiOyB0aGVuDQ0KICAg
ICAgICAgICAgICAgICAgICAgICAgICAgIExJQlhFUkNFU19DPSIke0xJQlhF
UkNFU19DfSR7TElCWEVSQ0VTX0M6KyB9LUwkYWRkaXRpb25hbF9saWJkaXIi
DQ0KICAgICAgICAgICAgICAgICAgICAgICAgICBmaQ0NCiAgICAgICAgICAg
ICAgICAgICAgICAgIGZpDQ0KICAgICAgICAgICAgICAgICAgICAgICAgaGF2
ZWl0PQ0NCiAgICAgICAgICAgICAgICAgICAgICAgIGZvciB4IGluICRMREZM
QUdTICRMVExJQlhFUkNFU19DOyBkbw0NCiAgICAgICAgICAgICAgICAgICAg
ICAgICAgQUNfTElCX1dJVEhfRklOQUxfUFJFRklYKFtldmFsIHg9XCIkeFwi
XSkNDQogICAgICAgICAgICAgICAgICAgICAgICAgIGlmIHRlc3QgIlgkeCIg
PSAiWC1MJGFkZGl0aW9uYWxfbGliZGlyIjsgdGhlbg0NCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgICBoYXZlaXQ9eWVzDQ0KICAgICAgICAgICAgICAg
ICAgICAgICAgICAgIGJyZWFrDQ0KICAgICAgICAgICAgICAgICAgICAgICAg
ICBmaQ0NCiAgICAgICAgICAgICAgICAgICAgICAgIGRvbmUNDQogICAgICAg
ICAgICAgICAgICAgICAgICBpZiB0ZXN0IC16ICIkaGF2ZWl0IjsgdGhlbg0N
CiAgICAgICAgICAgICAgICAgICAgICAgICAgaWYgdGVzdCAtZCAiJGFkZGl0
aW9uYWxfbGliZGlyIjsgdGhlbg0NCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICBMVExJQlhFUkNFU19DPSIke0xUTElCWEVSQ0VTX0N9JHtMVExJQlhF
UkNFU19DOisgfS1MJGFkZGl0aW9uYWxfbGliZGlyIg0NCiAgICAgICAgICAg
ICAgICAgICAgICAgICAgZmkNDQogICAgICAgICAgICAgICAgICAgICAgICBm
aQ0NCiAgICAgICAgICAgICAgICAgICAgICBmaQ0NCiAgICAgICAgICAgICAg
ICAgICAgZmkNDQogICAgICAgICAgICAgICAgICAgIDs7DQ0KICAgICAgICAg
ICAgICAgICAgLVIqKQ0NCiAgICAgICAgICAgICAgICAgICAgZGlyPWBlY2hv
ICJYJGRlcCIgfCBzZWQgLWUgJ3MvXlgtUi8vJ2ANDQogICAgICAgICAgICAg
ICAgICAgIGlmIHRlc3QgIiRlbmFibGVfcnBhdGgiICE9IG5vOyB0aGVuDQ0K
ICAgICAgICAgICAgICAgICAgICBkbmwgUG90ZW50aWFsbHkgYWRkIERJUiB0
byBycGF0aGRpcnMuDQ0KICAgICAgICAgICAgICAgICAgICBoYXZlaXQ9DQ0K
ICAgICAgICAgICAgICAgICAgICBmb3IgeCBpbiAkcnBhdGhkaXJzOyBkbw0N
CiAgICAgICAgICAgICAgICAgICAgICBpZiB0ZXN0ICJYJHgiID0gIlgkZGly
IjsgdGhlbg0NCiAgICAgICAgICAgICAgICAgICAgICAgIGhhdmVpdD15ZXMN
DQogICAgICAgICAgICAgICAgICAgICAgICBicmVhaw0NCiAgICAgICAgICAg
ICAgICAgICAgICBmaQ0NCiAgICAgICAgICAgICAgICAgICAgZG9uZQ0NCiAg
ICAgICAgICAgICAgICAgICAgaWYgdGVzdCAteiAiJGhhdmVpdCI7IHRoZW4N
DQogICAgICAgICAgICAgICAgICAgICAgcnBhdGhkaXJzPSIkcnBhdGhkaXJz
ICRkaXIiDQ0KICAgICAgICAgICAgICAgICAgICBmaQ0NCiAgICAgICAgICAg
ICAgICAgICAgZG5sIFBvdGVudGlhbGx5IGFkZCBESVIgdG8gbHRycGF0aGRp
cnMuDQ0KICAgICAgICAgICAgICAgICAgICBoYXZlaXQ9DQ0KICAgICAgICAg
ICAgICAgICAgICBmb3IgeCBpbiAkbHRycGF0aGRpcnM7IGRvDQ0KICAgICAg
ICAgICAgICAgICAgICAgIGlmIHRlc3QgIlgkeCIgPSAiWCRkaXIiOyB0aGVu
DQ0KICAgICAgICAgICAgICAgICAgICAgICAgaGF2ZWl0PXllcw0NCiAgICAg
ICAgICAgICAgICAgICAgICAgIGJyZWFrDQ0KICAgICAgICAgICAgICAgICAg
ICAgIGZpDQ0KICAgICAgICAgICAgICAgICAgICBkb25lDQ0KICAgICAgICAg
ICAgICAgICAgICBpZiB0ZXN0IC16ICIkaGF2ZWl0IjsgdGhlbg0NCiAgICAg
ICAgICAgICAgICAgICAgICBsdHJwYXRoZGlycz0iJGx0cnBhdGhkaXJzICRk
aXIiDQ0KICAgICAgICAgICAgICAgICAgICBmaQ0NCiAgICAgICAgICAgICAg
ICAgICAgZmkNDQogICAgICAgICAgICAgICAgICAgIDs7DQ0KICAgICAgICAg
ICAgICAgICAgLWwqKQ0NCiAgICAgICAgICAgICAgICAgICAgZG5sIEhhbmRs
ZSB0aGlzIGluIHRoZSBuZXh0IHJvdW5kLg0NCiAgICAgICAgICAgICAgICAg
ICAgbmFtZXNfbmV4dF9yb3VuZD0iJG5hbWVzX25leHRfcm91bmQgImBlY2hv
ICJYJGRlcCIgfCBzZWQgLWUgJ3MvXlgtbC8vJ2ANDQogICAgICAgICAgICAg
ICAgICAgIDs7DQ0KICAgICAgICAgICAgICAgICAgKi5sYSkNDQogICAgICAg
ICAgICAgICAgICAgIGRubCBIYW5kbGUgdGhpcyBpbiB0aGUgbmV4dCByb3Vu
ZC4gVGhyb3cgYXdheSB0aGUgLmxhJ3MNDQogICAgICAgICAgICAgICAgICAg
IGRubCBkaXJlY3Rvcnk7IGl0IGlzIGFscmVhZHkgY29udGFpbmVkIGluIGEg
cHJlY2VkaW5nIC1MDQ0KICAgICAgICAgICAgICAgICAgICBkbmwgb3B0aW9u
Lg0NCiAgICAgICAgICAgICAgICAgICAgbmFtZXNfbmV4dF9yb3VuZD0iJG5h
bWVzX25leHRfcm91bmQgImBlY2hvICJYJGRlcCIgfCBzZWQgLWUgJ3MsXlgu
Ki8sLCcgLWUgJ3MsXmxpYiwsJyAtZSAncyxcLmxhJCwsJ2ANDQogICAgICAg
ICAgICAgICAgICAgIDs7DQ0KICAgICAgICAgICAgICAgICAgKikNDQogICAg
ICAgICAgICAgICAgICAgIGRubCBNb3N0IGxpa2VseSBhbiBpbW1lZGlhdGUg
bGlicmFyeSBuYW1lLg0NCiAgICAgICAgICAgICAgICAgICAgTElCWEVSQ0VT
X0M9IiR7TElCWEVSQ0VTX0N9JHtMSUJYRVJDRVNfQzorIH0kZGVwIg0NCiAg
ICAgICAgICAgICAgICAgICAgTFRMSUJYRVJDRVNfQz0iJHtMVExJQlhFUkNF
U19DfSR7TFRMSUJYRVJDRVNfQzorIH0kZGVwIg0NCiAgICAgICAgICAgICAg
ICAgICAgOzsNDQogICAgICAgICAgICAgICAgZXNhYw0NCiAgICAgICAgICAg
ICAgZG9uZQ0NCiAgICAgICAgICAgIGZpDQ0KICAgICAgICAgIGVsc2UNDQog
ICAgICAgICAgICBkbmwgRGlkbid0IGZpbmQgdGhlIGxpYnJhcnk7IGFzc3Vt
ZSBpdCBpcyBpbiB0aGUgc3lzdGVtIGRpcmVjdG9yaWVzDQ0KICAgICAgICAg
ICAgZG5sIGtub3duIHRvIHRoZSBsaW5rZXIgYW5kIHJ1bnRpbWUgbG9hZGVy
LiAoQWxsIHRoZSBzeXN0ZW0NDQogICAgICAgICAgICBkbmwgZGlyZWN0b3Jp
ZXMga25vd24gdG8gdGhlIGxpbmtlciBzaG91bGQgYWxzbyBiZSBrbm93biB0
byB0aGUNDQogICAgICAgICAgICBkbmwgcnVudGltZSBsb2FkZXIsIG90aGVy
d2lzZSB0aGUgc3lzdGVtIGlzIHNldmVyZWx5IG1pc2NvbmZpZ3VyZWQuKQ0N
CiAgICAgICAgICAgIExJQlhFUkNFU19DPSIke0xJQlhFUkNFU19DfSR7TElC
WEVSQ0VTX0M6KyB9LWwkbmFtZSINDQogICAgICAgICAgICBMVExJQlhFUkNF
U19DPSIke0xUTElCWEVSQ0VTX0N9JHtMVExJQlhFUkNFU19DOisgfS1sJG5h
bWUiDQ0KICAgICAgICAgIGZpDQ0KICAgICAgICBmaQ0NCiAgICAgIGZpDQ0K
ICAgIGRvbmUNDQogIGRvbmUNDQogIGlmIHRlc3QgIlgkcnBhdGhkaXJzIiAh
PSAiWCI7IHRoZW4NDQogICAgaWYgdGVzdCAtbiAiJGhhcmRjb2RlX2xpYmRp
cl9zZXBhcmF0b3IiOyB0aGVuDQ0KICAgICAgZG5sIFdlaXJkIHBsYXRmb3Jt
OiBvbmx5IHRoZSBsYXN0IC1ycGF0aCBvcHRpb24gY291bnRzLCB0aGUgdXNl
ciBtdXN0DQ0KICAgICAgZG5sIHBhc3MgYWxsIHBhdGggZWxlbWVudHMgaW4g
b25lIG9wdGlvbi4gV2UgY2FuIGFycmFuZ2UgdGhhdCBmb3IgYQ0NCiAgICAg
IGFsbGRpcnM9DQ0KICAgICAgZm9yIGZvdW5kX2RpciBpbiAkcnBhdGhkaXJz
OyBkbw0NCiAgICAgICAgYWxsZGlycz0iJHthbGxkaXJzfSR7YWxsZGlyczor
JGhhcmRjb2RlX2xpYmRpcl9zZXBhcmF0b3J9JGZvdW5kX2RpciINDQogICAg
ICBkb25lDQ0KICAgICAgZG5sIE5vdGU6IGhhcmRjb2RlX2xpYmRpcl9mbGFn
X3NwZWMgdXNlcyAkbGliZGlyIGFuZCAkd2wuDQ0KICAgICAgYWNsX3NhdmVf
bGliZGlyPSIkbGliZGlyIg0NCiAgICAgIGxpYmRpcj0iJGFsbGRpcnMiDQ0K
ICAgICAgZXZhbCBmbGFnPVwiJGhhcmRjb2RlX2xpYmRpcl9mbGFnX3NwZWNc
Ig0NCiAgICAgIGxpYmRpcj0iJGFjbF9zYXZlX2xpYmRpciINDQogICAgICBM
SUJYRVJDRVNfQz0iJHtMSUJYRVJDRVNfQ30ke0xJQlhFUkNFU19DOisgfSRm
bGFnIg0NCiAgICBlbHNlDQ0KICAgICAgZG5sIFRoZSAtcnBhdGggb3B0aW9u
cyBhcmUgY3VtdWxhdGl2ZS4NDQogICAgICBmb3IgZm91bmRfZGlyIGluICRy
cGF0aGRpcnM7IGRvDQ0KICAgICAgICBhY2xfc2F2ZV9saWJkaXI9IiRsaWJk
aXIiDQ0KICAgICAgICBsaWJkaXI9IiRmb3VuZF9kaXIiDQ0KICAgICAgICBl
dmFsIGZsYWc9XCIkaGFyZGNvZGVfbGliZGlyX2ZsYWdfc3BlY1wiDQ0KICAg
ICAgICBsaWJkaXI9IiRhY2xfc2F2ZV9saWJkaXIiDQ0KICAgICAgICBMSUJY
RVJDRVNfQz0iJHtMSUJYRVJDRVNfQ30ke0xJQlhFUkNFU19DOisgfSRmbGFn
Ig0NCiAgICAgIGRvbmUNDQogICAgZmkNDQogIGZpDQ0KICBpZiB0ZXN0ICJY
JGx0cnBhdGhkaXJzIiAhPSAiWCI7IHRoZW4NDQogICAgZG5sIFdoZW4gdXNp
bmcgbGlidG9vbCwgdGhlIG9wdGlvbiB0aGF0IHdvcmtzIGZvciBib3RoIGxp
YnJhcmllcyBhbmQNDQogICAgZG5sIGV4ZWN1dGFibGVzIGlzIC1SLiBUaGUg
LVIgb3B0aW9ucyBhcmUgY3VtdWxhdGl2ZS4NDQogICAgZm9yIGZvdW5kX2Rp
ciBpbiAkbHRycGF0aGRpcnM7IGRvDQ0KICAgICAgTFRMSUJYRVJDRVNfQz0i
JHtMVExJQlhFUkNFU19DfSR7TFRMSUJYRVJDRVNfQzorIH0tUiRmb3VuZF9k
aXIiDQ0KICAgIGRvbmUNDQogIGZpDQ0KXSkNDQo=
--8323328-1531824672-1055512850=:10239--



From MAILER-DAEMON Fri Jun 13 10:03:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Qp96-00008c-Lv
	for mharc-autoconf@gnu.org; Fri, 13 Jun 2003 10:03:12 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Qp8v-0008Gc-TO
	for autoconf@gnu.org; Fri, 13 Jun 2003 10:03:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Qp8o-0007t9-4q
	for autoconf@gnu.org; Fri, 13 Jun 2003 10:02:58 -0400
Received: from pcp741060pcs.reston01.va.comcast.net ([68.49.156.7]
	helo=bloatware.dickey.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19Qp8l-0007ie-TV
	for autoconf@gnu.org; Fri, 13 Jun 2003 10:02:52 -0400
Received: from bloatware.dickey.net (tom@localhost [127.0.0.1])
	h5DE4M8C030080;	Fri, 13 Jun 2003 10:04:23 -0400
Received: (from tom@localhost)
	by bloatware.dickey.net (8.12.3/8.12.3/Debian-6.4) id h5DE4Lo8030078;
	Fri, 13 Jun 2003 10:04:21 -0400
Date: Fri, 13 Jun 2003 10:04:21 -0400
From: Thomas Dickey <dickey@herndon4.his.com>
To: "Steve M. Robbins" <steven.robbins@videotron.ca>
Message-ID: <20030613140421.GA29675@invisible-island.net>
References: <30608.64.202.166.4.1055364590.webemail@webmail.secureserver.net>
	<d9y9088glf.fsf@cs.umn.edu> <20030612124648.GE11428@nyongwa.montreal.qc.ca>
	<20030612145631.F73145@vhost101.his.com>
	<20030613130236.GA8416@nyongwa.montreal.qc.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030613130236.GA8416@nyongwa.montreal.qc.ca>
User-Agent: Mutt/1.3.28i
cc: "Thomas E. Dickey" <dickey@herndon4.his.com>
cc: cs@gnumatica.com
cc: autoconf@gnu.org
Subject: Re: How hardcode different default prefix? Hack Makefile.inbestway?
 use autoconf macro?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: dickey@herndon4.his.com
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 13 Jun 2003 14:03:04 -0000

On Fri, Jun 13, 2003 at 09:02:36AM -0400, Steve M. Robbins wrote:
> Autoconf and automake promote a standard for configuring, building,

actually it's autoconf (automake doesn't contribute).

> P.S.  There may be valid reasons for changing the default prefix; I
> can think of none that I find compelling.  But I have no idea what
> audience the original poster is targeting.

of course I have some ideas about it, but don't want to waste time arguing.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net



From MAILER-DAEMON Fri Jun 13 13:34:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QsRo-0008Lo-Q4
	for mharc-autoconf@gnu.org; Fri, 13 Jun 2003 13:34:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QsRM-00082g-Rd
	for autoconf@gnu.org; Fri, 13 Jun 2003 13:34:16 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Qs6R-0000ra-8H
	for autoconf@gnu.org; Fri, 13 Jun 2003 13:12:39 -0400
Received: from smtp-out.comcast.net ([24.153.64.113])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Qs5e-0000cf-Mh
	for autoconf@gnu.org; Fri, 13 Jun 2003 13:11:50 -0400
Received: from mail.ximbiot.com
	(pcp01464431pcs.lpaxtn01.pa.comcast.net [68.82.83.152])
	by mtaout03.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	autoconf@gnu.org; Fri, 13 Jun 2003 13:11:42 -0400 (EDT)
Received: (qmail 21268 invoked from network); Fri, 13 Jun 2003 17:11:37 +0000
Received: from localhost (HELO ximbiot.com)
 (?/JjqTlkULgjEcSMStCBIqc0DLyeUHvqx?@127.0.0.1) by localhost with SMTP; Fri,
 13 Jun 2003 17:11:37 +0000
Date: Fri, 13 Jun 2003 13:11:37 -0400
From: Derek Robert Price <derek@ximbiot.com>
To: autoconf@gnu.org
Message-id: <3EEA05C9.5060805@ximbiot.com>
Organization: Ximbiot <http://ximbiot.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208
 Netscape/7.02
Subject: Running the Darwin preprocessor
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 13 Jun 2003 17:34:42 -0000

Has anyone encountered this on MacOSX?  I'm running the pre-Jaguar OSX 
10.1 (Darwin kernel 5.5).

Autoconf/configure discovers that running the C preprocessor requires 
`cc -E', but `cc -E' doesn't appear to pass other options through to the 
C preprocessor (in this case `cpp').

Basically, I was attempting to discover a definition using `cpp -dM' to 
output defined macros, but `cc -E -dM' doesn't work even though `cpp 
-dM' does.  Is there some way around this problem?  Is configure 
discovering the wrong preprocessor on OSX?  Do later version of the OSX 
dev kit fix the problem?

Derek

-- 
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-- 
"Very funny Scotty, now beam down my clothes!"





From MAILER-DAEMON Fri Jun 13 15:54:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19QudD-00030c-UJ
	for mharc-autoconf@gnu.org; Fri, 13 Jun 2003 15:54:39 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19QudB-0002y2-P1
	for autoconf@gnu.org; Fri, 13 Jun 2003 15:54:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QudA-0002xb-GQ
	for autoconf@gnu.org; Fri, 13 Jun 2003 15:54:37 -0400
Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19QucH-0002oc-6E
	for autoconf@gnu.org; Fri, 13 Jun 2003 15:53:41 -0400
Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136])
	by Cantor.suse.de (Postfix) with ESMTP
	id 571C91488F; Fri, 13 Jun 2003 21:53:40 +0200 (MEST)
To: Derek Robert Price <derek@ximbiot.com>
References: <3EEA05C9.5060805@ximbiot.com>
From: Andreas Schwab <schwab@suse.de>
X-Yow: Of course, you UNDERSTAND about the PLAIDS in the SPIN CYCLE --
Date: Fri, 13 Jun 2003 21:53:36 +0200
In-Reply-To: <3EEA05C9.5060805@ximbiot.com> (Derek Robert Price's message of
 "Fri, 13 Jun 2003 13:11:37 -0400")
Message-ID: <je8ys5vjnj.fsf@sykes.suse.de>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
cc: autoconf@gnu.org
Subject: Re: Running the Darwin preprocessor
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 13 Jun 2003 19:54:38 -0000

Derek Robert Price <derek@ximbiot.com> writes:

|> Basically, I was attempting to discover a definition using `cpp -dM' to
|> output defined macros, but `cc -E -dM' doesn't work even though `cpp -dM'
|> does. Is there some way around this problem?

Use -Wp to pass arbitrary parameters down to cpp.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



From MAILER-DAEMON Fri Jun 13 16:06:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Quol-0007wJ-Tq
	for mharc-autoconf@gnu.org; Fri, 13 Jun 2003 16:06:35 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Quoa-0007h5-Vm
	for autoconf@gnu.org; Fri, 13 Jun 2003 16:06:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19QunX-00071r-Vu
	for autoconf@gnu.org; Fri, 13 Jun 2003 16:05:22 -0400
Received: from smtp-out.comcast.net ([24.153.64.113])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Qull-0005ii-Jf
	for autoconf@gnu.org; Fri, 13 Jun 2003 16:03:29 -0400
Received: from mail.ximbiot.com
	(pcp01464431pcs.lpaxtn01.pa.comcast.net [68.82.83.152])
	by mtaout03.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	autoconf@gnu.org; Fri, 13 Jun 2003 16:02:05 -0400 (EDT)
Received: (qmail 23457 invoked from network); Fri, 13 Jun 2003 20:02:05 +0000
Received: from localhost (HELO ximbiot.com)
 (?tq0mDBlJdt9tOOydHjayIGY9OHQBU6gp?@127.0.0.1) by localhost with SMTP; Fri,
 13 Jun 2003 20:02:05 +0000
Date: Fri, 13 Jun 2003 16:02:04 -0400
From: Derek Robert Price <derek@ximbiot.com>
To: Andreas Schwab <schwab@suse.de>
Message-id: <3EEA2DBC.9050601@ximbiot.com>
Organization: Ximbiot <http://ximbiot.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208
 Netscape/7.02
References: <3EEA05C9.5060805@ximbiot.com> <je8ys5vjnj.fsf@sykes.suse.de>
cc: autoconf@gnu.org
Subject: Re: Running the Darwin preprocessor
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 13 Jun 2003 20:06:34 -0000

Andreas Schwab wrote:

>Derek Robert Price <derek@ximbiot.com> writes:
>
>|> Basically, I was attempting to discover a definition using `cpp -dM' to
>|> output defined macros, but `cc -E -dM' doesn't work even though `cpp -dM'
>|> does. Is there some way around this problem?
>
>Use -Wp to pass arbitrary parameters down to cpp.
>  
>

Is this autodetected somewhere or is it always appropriate 
(cross-platform)?  I'm just calling $ac_cpp in a macro.  How do I know 
whether to pass -dM or -Wp,dM to $ac_cpp?

Derek

-- 
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-- 
I often speculate on why you don't return to America.  Did you abscond with the
church funds?  Did you run off with the senator's wife?  I like to think that
you killed a man.  It's the romantic in me.

		- Claude Rains as Captain Louis Renault, _Casablanca_






From MAILER-DAEMON Sat Jun 14 12:05:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19RDWt-0001tn-CC
	for mharc-autoconf@gnu.org; Sat, 14 Jun 2003 12:05:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19RDWq-0001rh-2B
	for autoconf@gnu.org; Sat, 14 Jun 2003 12:05:20 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19RDWm-0001q9-CW
	for autoconf@gnu.org; Sat, 14 Jun 2003 12:05:18 -0400
Received: from pop.gmx.net ([213.165.64.20] helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19RDWl-0001op-Bt
	for autoconf@gnu.org; Sat, 14 Jun 2003 12:05:15 -0400
Received: (qmail 20959 invoked by uid 65534); 14 Jun 2003 16:05:09 -0000
Received: from pD9E82919.dip.t-dialin.net (EHLO gmx.de) (217.232.41.25)
  by mail.gmx.net (mp005) with SMTP; 14 Jun 2003 18:05:09 +0200
Message-ID: <3EEB47FF.3030308@gmx.de>
Date: Sat, 14 Jun 2003 18:06:23 +0200
From: Guido Draheim <guidod-2003-@gmx.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.1) Gecko/20020826
X-Accept-Language: de-at, de, en-us, en
MIME-Version: 1.0
To: Simon Waters <Simon@wretched.demon.co.uk>
References: <3EE4F9D7.400@wretched.demon.co.uk>
X-Enigmail-Version: 0.65.2.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: autoconf@gnu.org
Subject: Re: Newbie AX_CREATE_STDINT_H
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 14 Jun 2003 16:05:21 -0000



Simon Waters schrieb:
> The trouble with staying upto date is everything complains about old stuff.
> 
> After upgrading autoconf tools got some complaints from configure that
> AM_INSTALL_PROG was out of date.
> 
> This was in ac_create_stdint.h, being keen I pulled AX_CREATE_STDINT_H
> from sourceforge, but it gives a syntax error when running configure,
> quoting the line number where AX_CREATE_STDINT_H is called.
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You mean where AX_CREATE_STDINT_H has been expanded, right?

> 
> Syntax Error near unexpected token 'src/GCint.h'
> 
> Anyone got a working example, or can guess from "no" information what
> I've done wrong?
> 
> I have recreated aclocal.m4 using aclocal, and only included
> AX_CREATE_STDINT_H in the extra directory I supplied. autoreconf runs
> happily.

So, the src/GCint.h is the output file where the stdint definitions
should go, right? The AX macro is designed to create that output
file during config.status execution, which is automatically done
at the end of the `configure` execution, but just not in the
middle and at the line where the macro instantiation is about.

That spawns an idea: are you sure the macro had been expanded at all?
Anyway, do have you a reference for me to try out?

cheers,
-- guido                                  http://google.de/search?q=guidod
GCS/E/S/P C++/++++$ ULHS L++w- N++@ d(+-) s+a- r+@>+++ y++ 5++X- (geekcode)




From MAILER-DAEMON Sat Jun 14 15:13:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19RGSz-0000hc-St
	for mharc-autoconf@gnu.org; Sat, 14 Jun 2003 15:13:33 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19RGSw-0000d8-SB
	for autoconf@gnu.org; Sat, 14 Jun 2003 15:13:30 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19RGSv-0000bu-E0
	for autoconf@gnu.org; Sat, 14 Jun 2003 15:13:30 -0400
Received: from main.gmane.org ([80.91.224.249])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19RGSf-0000Bi-Gb
	for autoconf@gnu.org; Sat, 14 Jun 2003 15:13:13 -0400
Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19RGPX-0000kr-00
	for <autoconf@gnu.org>; Sat, 14 Jun 2003 21:09:59 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: autoconf@gnu.org
Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian))
	id 19RGPA-0000kF-00
	for <gmane-comp-sysutils-autoconf-general@m.gmane.org>;
	Sat, 14 Jun 2003 21:09:36 +0200
From: Simon Waters <Simon@wretched.demon.co.uk>
Date: Sat, 14 Jun 2003 20:12:14 +0100
Lines: 33
Message-ID: <3EEB738E.60707@wretched.demon.co.uk>
References: <3EE4F9D7.400@wretched.demon.co.uk> <3EEB47FF.3030308@gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-GB, en-US, en
In-Reply-To: <3EEB47FF.3030308@gmx.de>
X-Enigmail-Version: 0.71.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Sender: news <news@main.gmane.org>
Subject: Re: Newbie AX_CREATE_STDINT_H
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 14 Jun 2003 19:13:31 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guido Draheim wrote:
>
>> This was in ac_create_stdint.h, being keen I pulled AX_CREATE_STDINT_H
>> from sourceforge, but it gives a syntax error when running configure,
>> quoting the line number where AX_CREATE_STDINT_H is called.
>
>                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> You mean where AX_CREATE_STDINT_H has been expanded, right?

I meant where it should have been expanded 8-(

Seems the new autoconf was calling aclocal for me overwriting the
contents of aclocal.m4, and since the macros were in a non-standard
location, it didn't get the "-I" that aclocal got when I invoke it manually.

I've stuck it in acinclude.m4, and added read the acinclude app manual
to my todo list to figure out what I should be doing. I got doubly
confused because the upgraded autoconf was incompatible with the version
of automake I had installed, leading to other weird errors as well.

 Thanks
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+63OMGFXfHI9FVgYRAkVVAJ4x+zRpQ0jljcRo52d8PHTCCAnLkQCfdr2d
b42uBMvss08ZoWDniyGtUN4=
=EcMl
-----END PGP SIGNATURE-----





From MAILER-DAEMON Sat Jun 14 16:21:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19RHWq-0007OM-05
	for mharc-autoconf@gnu.org; Sat, 14 Jun 2003 16:21:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19RHWo-0007M5-0q
	for autoconf@gnu.org; Sat, 14 Jun 2003 16:21:34 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19RHWm-0007KA-I0
	for autoconf@gnu.org; Sat, 14 Jun 2003 16:21:33 -0400
Received: from smtp.terra.es ([213.4.129.129] helo=tsmtp10.mail.isp)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19RHWm-0007Hn-3s
	for autoconf@gnu.org; Sat, 14 Jun 2003 16:21:32 -0400
Received: from 32-130-ADSL.red.retevision.es ([80.224.130.32])
          by tsmtp10.mail.isp (terra.es) with ESMTP id HGHN7R01.P7V for
          <autoconf@gnu.org>; Sat, 14 Jun 2003 22:21:27 +0200 
From: Jose Roman Bilbao <jrbcast@teleline.es>
To: autoconf@gnu.org
Content-Type: text/plain
Message-Id: <1055622255.1644.1.camel@gris3.ace.ual.es>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 14 Jun 2003 22:24:15 +0200
Content-Transfer-Encoding: 7bit
Subject: Qt3 macro?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 14 Jun 2003 20:21:34 -0000

Hi,

Does anybody know if it exists a written macro to detect the presence of
Qt3?. 

Thanks,

Roman




From MAILER-DAEMON Mon Jun 16 09:54:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19RuQv-0007YP-LA
	for mharc-autoconf@gnu.org; Mon, 16 Jun 2003 09:54:05 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19RuQr-0007Ns-AX
	for autoconf@gnu.org; Mon, 16 Jun 2003 09:54:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19RuQe-000719-Is
	for autoconf@gnu.org; Mon, 16 Jun 2003 09:53:49 -0400
Received: from smtp.terra.es ([213.4.129.129] helo=tsmtp5.mail.isp)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19RuQ7-0006S0-NK
	for autoconf@gnu.org; Mon, 16 Jun 2003 09:53:15 -0400
Received: from localhost.localdomain ([193.147.118.93]) by
          tsmtp5.mail.isp (terra.es) with ESMTP id HGKUKK01.TOL for
          <autoconf@gnu.org>; Mon, 16 Jun 2003 15:53:08 +0200 
From: Jose Roman Bilbao <jrbcast@teleline.es>
To: autoconf@gnu.org
Content-Type: text/plain
Message-Id: <1055771770.1131.8.camel@gris3.ace.ual.es>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.4.0 
Date: 16 Jun 2003 15:56:10 +0200
Content-Transfer-Encoding: 7bit
Subject: po directory?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 16 Jun 2003 13:54:02 -0000

Hi all,

Does anybody know what does the po directory store?. I have tried to
make make dist and then configure on other machine and It says it can
not find po/Makefile.in.in. Is something wrong with my autotools?, Why
is it not included when doing make dist?.

Thanks




From MAILER-DAEMON Mon Jun 16 16:39:46 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19S0lU-0003cB-Gd
	for mharc-autoconf@gnu.org; Mon, 16 Jun 2003 16:39:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19S0lF-0003M2-Fx
	for autoconf@gnu.org; Mon, 16 Jun 2003 16:39:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19S0ku-0002EF-OY
	for autoconf@gnu.org; Mon, 16 Jun 2003 16:39:13 -0400
Received: from serenity.mcc.ac.uk ([130.88.200.93])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19S0jo-00081G-A1
	for autoconf@gnu.org; Mon, 16 Jun 2003 16:38:00 -0400
Received: from compsoc.umu.man.ac.uk
	([130.88.22.5] helo=mrtall.compsoc.man.ac.uk ident=exim)
	by serenity.mcc.ac.uk with esmtp (Exim 4.14)
	id 19S0io-0000fc-Vy
	for autoconf@gnu.org; Mon, 16 Jun 2003 21:36:58 +0100
Received: from moz by mrtall.compsoc.man.ac.uk with local (Exim 3.33 #1)
	id 19S0in-0007Do-00
	for autoconf@gnu.org; Mon, 16 Jun 2003 21:36:57 +0100
Date: Mon, 16 Jun 2003 21:36:57 +0100
From: John Levon <levon@movementarian.org>
To: autoconf@gnu.org
Message-ID: <20030616203655.GA27572@compsoc.man.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.25i
X-Url: http://www.movementarian.org/
X-Record: King of Woolworths - L'Illustration Musicale
Sender: John Levon <moz@compsoc.man.ac.uk>
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/)
	*19S0io-0000fc-Vy*F6lVv9DrPDY*
Subject: AC_RUN_LOG undocumented ?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 16 Jun 2003 20:39:42 -0000


I cannot find AC_RUN_LOG in the info pages macro index on my system
(2.53). Furthermore, the online manual :

http://www.gnu.org/manual/autoconf/html_chapter/autoconf_20.html#SEC194

appears to have broken indices - the given anchor does not exist

We have a macro that uses this AC_RUN_LOG. What does it do ? And is
there an equivalent that also works on autoconf 2.13 ?

thanks
john




From MAILER-DAEMON Tue Jun 17 09:58:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SGxP-0005oY-PH
	for mharc-autoconf@gnu.org; Tue, 17 Jun 2003 09:57:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SGxL-0005g0-TR
	for autoconf@gnu.org; Tue, 17 Jun 2003 09:57:03 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SGw6-0004sX-RD
	for autoconf@gnu.org; Tue, 17 Jun 2003 09:55:51 -0400
Received: from smtp-out.comcast.net ([24.153.64.109])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19SGvO-00040j-Ik
	for autoconf@gnu.org; Tue, 17 Jun 2003 09:55:02 -0400
Received: from mail.ximbiot.com
	(pcp01464431pcs.lpaxtn01.pa.comcast.net [68.82.83.152])
	by mtaout05.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	autoconf@gnu.org; Tue, 17 Jun 2003 09:52:16 -0400 (EDT)
Received: (qmail 7346 invoked from network); Tue, 17 Jun 2003 13:52:16 +0000
Received: from localhost (HELO ximbiot.com)
 (?Ss97C54KpCWvwoSlibSO5Ic5wFUBu6ls?@127.0.0.1) by localhost with SMTP; Tue,
 17 Jun 2003 13:52:16 +0000
Date: Tue, 17 Jun 2003 09:52:15 -0400
From: Derek Robert Price <derek@ximbiot.com>
To: Jose Roman Bilbao <jrbcast@teleline.es>
Message-id: <3EEF1D0F.40204@ximbiot.com>
Organization: Ximbiot <http://ximbiot.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208
 Netscape/7.02
References: <1055771770.1131.8.camel@gris3.ace.ual.es>
cc: autoconf@gnu.org
Subject: Re: po directory?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Jun 2003 13:57:05 -0000

Jose Roman Bilbao wrote:

>Hi all,
>
>Does anybody know what does the po directory store?. I have tried to
>make make dist and then configure on other machine and It says it can
>not find po/Makefile.in.in. Is something wrong with my autotools?, Why
>is it not included when doing make dist?.
>
>Thanks
>  
>

I think GNU gettext uses a "po" directory.  I'm not sure what it stores 
there.

Derek

-- 
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-- 
I will not bribe Principal Skinner.
I will not bribe Principal Skinner.
I will not bribe Principal Skinner...

          - Bart Simpson on chalkboard, _The Simpsons_






From MAILER-DAEMON Tue Jun 17 13:28:22 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SKFk-0007Di-FG
	for mharc-autoconf@gnu.org; Tue, 17 Jun 2003 13:28:16 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SKFT-0006g7-Sq
	for autoconf@gnu.org; Tue, 17 Jun 2003 13:27:59 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SKFC-0006Cr-Kg
	for autoconf@gnu.org; Tue, 17 Jun 2003 13:27:43 -0400
Received: from panther.cs.ucla.edu ([131.179.128.25])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19SKER-0005Pd-VH
	for autoconf@gnu.org; Tue, 17 Jun 2003 13:26:56 -0400
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	h5HHQru05713;	Tue, 17 Jun 2003 10:26:53 -0700 (PDT)
Received: from eggert by penguin.cs.ucla.edu with local (Exim 3.35 #1
	(Debian))	id 19SKEP-0007NJ-00; Tue, 17 Jun 2003 10:26:53 -0700
To: autoconf@gnu.org
References: <1055771770.1131.8.camel@gris3.ace.ual.es>
	<3EEF1D0F.40204@ximbiot.com>
From: Paul Eggert <eggert@CS.UCLA.EDU>
Date: 17 Jun 2003 10:26:53 -0700
In-Reply-To: <3EEF1D0F.40204@ximbiot.com>
Message-ID: <87smq8aa3m.fsf@penguin.cs.ucla.edu>
Lines: 9
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Paul Eggert <eggert@penguin.cs.ucla.edu>
Subject: Re: po directory?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Jun 2003 17:28:13 -0000

Derek Robert Price <derek@ximbiot.com> writes:

> Jose Roman Bilbao wrote:
> >Does anybody know what does the po directory store?

> I think GNU gettext uses a "po" directory.

Yes, that's it.  You can find out more about the po directory by
reading the gettext manual <http://www.gnu.org/manual/gettext/>.



From MAILER-DAEMON Tue Jun 17 17:18:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SNqB-0003Sx-LD
	for mharc-autoconf@gnu.org; Tue, 17 Jun 2003 17:18:07 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SNq2-00034r-In
	for autoconf@gnu.org; Tue, 17 Jun 2003 17:17:58 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SNpp-0002g7-5f
	for autoconf@gnu.org; Tue, 17 Jun 2003 17:17:45 -0400
Received: from gw.permabit.com ([67.107.99.99] helo=diem-wing.mit.edu)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19SNpK-0002N0-UM
	for autoconf@gnu.org; Tue, 17 Jun 2003 17:17:15 -0400
Received: by diem-wing.mit.edu (Postfix, from userid 1001)
	id 8D579438A; Tue, 17 Jun 2003 17:17:18 -0400 (EDT)
Sender: assar@diem-wing.mit.edu
To: John Levon <levon@movementarian.org>
References: <20030616203655.GA27572@compsoc.man.ac.uk>
From: Assar Westerlund <assar@kth.se>
Date: 17 Jun 2003 17:17:18 -0400
In-Reply-To: <20030616203655.GA27572@compsoc.man.ac.uk>
Message-ID: <86isr4z9nl.fsf@diem-wing.mit.edu>
Lines: 18
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
Subject: Re: AC_RUN_LOG undocumented ?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Jun 2003 21:18:03 -0000

John Levon <levon@movementarian.org> writes:
> I cannot find AC_RUN_LOG in the info pages macro index on my system
> (2.53).

It does indeed seem to be undocumented.

> We have a macro that uses this AC_RUN_LOG. What does it do ?

Please look in lib/autoconf/general.m4:

# _AC_RUN_LOG(COMMAND, LOG-COMMANDS)
# ----------------------------------
# Eval COMMAND, save the exit status in ac_status, and log it.

> And is there an equivalent that also works on autoconf 2.13 ?

You should try to use AC_TRY_RUN (which is both documented and exists
in both 2.5x and 2.13.



From MAILER-DAEMON Tue Jun 17 19:39:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SQ0C-0006Mg-IL
	for mharc-autoconf@gnu.org; Tue, 17 Jun 2003 19:36:36 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SQ00-00062F-U7
	for autoconf@gnu.org; Tue, 17 Jun 2003 19:36:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SPzw-0005w9-Qf
	for autoconf@gnu.org; Tue, 17 Jun 2003 19:36:21 -0400
Received: from [67.106.207.151] (helo=afr151.adoffers.us)
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19SPz3-0005Wr-RY
	for autoconf@gnu.org; Tue, 17 Jun 2003 19:35:25 -0400
From: "boenisc" <boenisch@adoffers.us>
To: autoconf@gnu.org
Message-ID: <BPX86OlSmf-qmZbzTeCqMg@adoffers.us>
Date: Tue, 17 Jun 2003 19:34:04 -0400 (EDT)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=_BPX86OlSmf-qmZbzTeCqMg"
Subject: cards that the state department issued
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 17 Jun 2003 23:36:33 -0000

--=_BPX86OlSmf-qmZbzTeCqMg
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

Get the Iraqi "Most--Wanted" Deck of Playing Cards for only $5.99
per set. http://adoffers.us/c/BPX86OlSmf-qmZbzTeCqMg.html?1

Get youself a piece of history TODAY; show your patriotism and
support American troops, and the wonderful job they did to keep
America Safe. This offer is valid while quantities last. 

These are the same cards featured on the nightly news. Now you
 can
own the one true collector's item from Operation Iraqi Freedom.
 Is
the same 55-card deck that was given to our troops featuring
 the
Iraq's 52 "Most-Wanted" leaders, and that is responsible for
capturing about 7 of these most wanted criminals.. 

This is a regulation size real deck of playing cards, printed
 on
Casino-Quality stock. Don't be fooled by imitations! 

To stop solicitations http://adoffers.us/u/BPX86OlSmf-qmZbzTeCqMg.html

--=_BPX86OlSmf-qmZbzTeCqMg
Content-Type: text/html; charset=us-ascii;
Content-Transfer-Encoding: 8bit
Content-Disposition: inline


Get the Iraqi "Most--Wanted" Deck of Playing Cards for only $5.99
per set. <a href="http://adoffers.us/c/BPX86OlSmf-qmZbzTeCqMg.html?1">

Most Wanted Cards</a><br/><br/>
Get youself a piece of history TODAY; show your patriotism and
support American troops, and the wonderful job they did to keep
America Safe. This offer is valid while quantities last. <br/>
<br/>
These are the same cards featured on the nightly news. Now you
 can
own the one true collector's item from Operation Iraqi Freedom.
 Is
the same 55-card deck that was given to our troops featuring
 the
Iraq's 52 "Most-Wanted" leaders, and that is responsible for
capturing about 7 of these most wanted criminals.. <br/><br/>
<img src="http://adoffers.us/o/BPX86OlSmf-qmZbzTeCqMg.gif"/>
This is a regulation size real deck of playing cards, printed
 on
Casino-Quality stock. Don't be fooled by imitations! <br/>

To stop solicitations <a href="http://adoffers.us/u/BPX86OlSmf-qmZbzTeCqMg.html">
visit this</a>



--=_BPX86OlSmf-qmZbzTeCqMg--
	
	



From MAILER-DAEMON Wed Jun 18 13:08:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SgKp-0001zv-Qd
	for mharc-autoconf@gnu.org; Wed, 18 Jun 2003 13:02:59 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SgJs-0001cW-Bk
	for autoconf@gnu.org; Wed, 18 Jun 2003 13:02:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SgI6-0001JX-PD
	for autoconf@gnu.org; Wed, 18 Jun 2003 13:00:11 -0400
Received: from gnuftp.gnu.org ([199.232.41.6])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19SgHC-0001Ab-So
	for autoconf@gnu.org; Wed, 18 Jun 2003 12:59:14 -0400
Received: from 200-163-046-069.cpece7003.dsl.brasiltelecom.net.br
	([200.163.46.69] helo=bol.com.br)
	by gnuftp.gnu.org with smtp (Exim 4.20)	id 19SgHB-0005PF-H9
	for autoconf@gnu.org; Wed, 18 Jun 2003 12:59:14 -0400
From: "ERC - Equipe Redação Comercial" <redacaodecartas@bol.com.br>
To: <autoconf@gnu.org>
Sender: "ERC - Equipe Redação Comercial" <redacaodecartas@bol.com.br>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Date: Wed, 18 Jun 2003 12:58:04 -0300
Content-Transfer-Encoding: 8bit
Message-Id: <E19SgHB-0005PF-H9@gnuftp.gnu.org>
Subject: 470 Modelos de Cartas Comerciais por Apenas...
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 18 Jun 2003 17:02:57 -0000

As cartas comerciais, têm grande importância na administração de qualquer
empreendimento, pois uma parte significativa das transações mundiais se
realiza por esse meio.  A carta é o instrumento que faz a conexão entre os
negociantes. 

A ERC (Equipe de Redação Comercial) lança o "CD MODELOS DE CARTAS COMERCIAIS
2003", que sana suas dúvidas na elaboração de todos os tipos de cartas e
documentos empresariais: agradecimentos, atestados e declarações, avisos, 
cartas de cobrança, cartas em inglês, comunicados,  convites,  contratos,
propostas, empregos, solicitações e pedidos, telegramas, cartas por e-mail,
etc.

O CD contém mais de 470 modelos de Cartas Comerciais e inúmeras técnicas de
Redação Comercial. 

Indicado para: secretárias em geral, gerências, Rh, executivos, estudantes,
empresas de toda ordem, etc.

Este CD possui um preço ínfimo em relação ao que poderá gerar no
aperfeiçoamento da comunicação de sua empresa.


Acesse-nos para mais detalhes e pedido, em:

http://www.redigircartas.ihp.com.br

Ps: para não receber esta mensagem novamente acesse:

http://www.remova-me.ihp.com.br  



From MAILER-DAEMON Wed Jun 18 19:39:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SmV2-0003Qj-BJ
	for mharc-autoconf@gnu.org; Wed, 18 Jun 2003 19:37:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SmTs-0002f3-5C
	for autoconf@gnu.org; Wed, 18 Jun 2003 19:36:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SmRd-0001tY-TA
	for autoconf@gnu.org; Wed, 18 Jun 2003 19:34:28 -0400
Received: from smtpout-1-2a.secureserver.net ([64.202.166.25])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19SmRO-0001eh-Jl
	for autoconf@gnu.org; Wed, 18 Jun 2003 19:34:10 -0400
Received: (qmail 11816 invoked from network); 18 Jun 2003 23:34:19 -0000
Received: from unknown (HELO webmail-2-1.secureserver.net) (64.202.166.122)
  by smtpout-1-2a.secureserver.net with SMTP; 18 Jun 2003 23:34:19 -0000
Received: (qmail 1557 invoked by uid 99); 18 Jun 2003 23:34:09 -0000
Message-ID: <20030618233409.1556.qmail@webmail-2-1.secureserver.net>
Date: Wed, 18 Jun 2003 16:34:09 -0700
From: cs@gnumatica.com
To: automake@gnu.org
MIME-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
cc: autoconf@gnu.org
Subject: Is a ChangeLog file realistic if /lots/ of developers adding /lots/
 of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 18 Jun 2003 23:37:48 -0000

We have a software development lab with about 10 people submitting
changes to CVS sometimes almost daily.  With so many little changes, our CVS log
entries are not very verbose.

If I did an acceptable ChangeLog, then that would mean I would
need an entry in right format for *each* of the many daily contributions.

I want to follow correct GNU style but this ChangeLog file just seems like
too much work.  Doesn't everyone agree?

If you have any advice or ways to streamline the process I would very
much like to hear it.

Chris

P.S. By the way, I am aware that one can peel off the CVS log entries
to make ChangeLogs.  The problem with this is that I believe that implies
I would have to have all CVS log entries in proper ChangeLog format.
and I could not just be sloppy with the zillion CVS contributions I do.



From MAILER-DAEMON Thu Jun 19 04:05:12 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SuOb-0001Vv-I9
	for mharc-autoconf@gnu.org; Thu, 19 Jun 2003 04:03:49 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SuOS-0001Nl-87
	for autoconf@gnu.org; Thu, 19 Jun 2003 04:03:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SuOG-00018w-NK
	for autoconf@gnu.org; Thu, 19 Jun 2003 04:03:29 -0400
Received: from panther.cs.ucla.edu ([131.179.128.25])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19SuNt-0000av-Ck; Thu, 19 Jun 2003 04:03:05 -0400
Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200])
	h5J833u08208;	Thu, 19 Jun 2003 01:03:03 -0700 (PDT)
Received: from eggert by penguin.cs.ucla.edu with local (Exim 3.35 #1
	(Debian))	id 19SuNr-00017j-00; Thu, 19 Jun 2003 01:03:03 -0700
To: cs@gnumatica.com
References: <20030618233409.1556.qmail@webmail-2-1.secureserver.net>
From: Paul Eggert <eggert@CS.UCLA.EDU>
Date: 19 Jun 2003 01:03:03 -0700
In-Reply-To: <20030618233409.1556.qmail@webmail-2-1.secureserver.net>
Message-ID: <87fzm6qytk.fsf@penguin.cs.ucla.edu>
Lines: 9
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Paul Eggert <eggert@penguin.cs.ucla.edu>
cc: automake@gnu.org
cc: autoconf@gnu.org
Subject: Re: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Jun 2003 08:03:41 -0000

cs@gnumatica.com writes:

> I want to follow correct GNU style but this ChangeLog file just seems like
> too much work.  Doesn't everyone agree?

No.  ChangeLogs take work, but it's generally useful work if done right.
I often refer to ChangeLogs to figure out what happened and why.
You don't want too much detail in ChangeLogs, but you don't want too
little either.



From MAILER-DAEMON Thu Jun 19 09:44:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19SziZ-0002NN-CX
	for mharc-autoconf@gnu.org; Thu, 19 Jun 2003 09:44:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19SziW-0002M2-Bm
	for autoconf@gnu.org; Thu, 19 Jun 2003 09:44:44 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19SziU-0002Lg-PF
	for autoconf@gnu.org; Thu, 19 Jun 2003 09:44:43 -0400
Received: from [217.112.227.117] (helo=localhost.localdomain)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19SziS-0002IC-RI; Thu, 19 Jun 2003 09:44:41 -0400
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h5JDoc4q006241;
	Thu, 19 Jun 2003 15:50:38 +0200
Received: from localhost (ronald@localhost)h5JDobJL006237;
	Thu, 19 Jun 2003 15:50:37 +0200
X-Authentication-Warning: localhost.localdomain: ronald owned process doing
	-bs
Date: Thu, 19 Jun 2003 15:50:37 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: cs@gnumatica.com
In-Reply-To: <20030618233409.1556.qmail@webmail-2-1.secureserver.net>
Message-ID: <Pine.LNX.4.44.0306191542570.5727-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: automake@gnu.org
cc: autoconf@gnu.org
Subject: Re: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Jun 2003 13:44:45 -0000

Changelogs are *not* a lot of work: they *save* a lot of work!

Just my personal opinion, of course, but this is how *I* work:
1. make changes
2. diff with current CVS > patch
3. read patch and write the changelog for the patch
4. attach patch to the changelog and save it in my personal patch archive
5. check in changes and use changelog as CVS log message

This way:
1. I have a changelog
2. I get to see my changes again, and fix bugs before I check them in 
   (you'd be surprised how many bugs you'll kill in their infancy like 
   this) 

I've taken up this way of working after spending much too much time 
hunting down bugs that should never have been checked in in the first 
place. It works! I now have time for coffee again!

I also run the testsuite of the project each time before I check in 
major changes or before I set a release tag, to make sure there are no 
regressions; and I make a new test for every bug I find to make sure it 
won't be revived. It may seem like extra work, but it really isn't!

rlc

On Wed, 18 Jun 2003 cs@gnumatica.com wrote:
> We have a software development lab with about 10 people submitting
> changes to CVS sometimes almost daily.  With so many little changes, our CVS log
> entries are not very verbose.
> 
> If I did an acceptable ChangeLog, then that would mean I would
> need an entry in right format for *each* of the many daily contributions.
> 
> I want to follow correct GNU style but this ChangeLog file just seems like
> too much work.  Doesn't everyone agree?
> 
> If you have any advice or ways to streamline the process I would very
> much like to hear it.
> 
> Chris
> 
> P.S. By the way, I am aware that one can peel off the CVS log entries
> to make ChangeLogs.  The problem with this is that I believe that implies
> I would have to have all CVS log entries in proper ChangeLog format.
> and I could not just be sloppy with the zillion CVS contributions I do.
> 
> 




From MAILER-DAEMON Thu Jun 19 12:15:25 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19T1yy-0000CC-Hp
	for mharc-autoconf@gnu.org; Thu, 19 Jun 2003 12:09:52 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19T1yd-0008WT-Ck
	for autoconf@gnu.org; Thu, 19 Jun 2003 12:09:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19T1wN-0007Tb-Js
	for autoconf@gnu.org; Thu, 19 Jun 2003 12:07:12 -0400
Received: from colo.agora-net.com ([207.245.84.69])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19T1uF-00074S-Jl; Thu, 19 Jun 2003 12:04:59 -0400
Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1)
	id 19T1u9-0005hc-00; Thu, 19 Jun 2003 12:04:53 -0400
To: cs@gnumatica.com
References: <Pine.LNX.4.44.0306191542570.5727-100000@localhost.localdomain>
From: Thien-Thi Nguyen <ttn@glug.org>
Date: 19 Jun 2003 12:04:53 -0400
In-Reply-To: Ronald Landheer-Cieslak's message of "Thu, 19 Jun 2003 15:50:37
	+0200 (CEST)"
Message-ID: <jksmq6aw9m.fsf@glug.org>
Lines: 24
X-Mailer: Gnus v5.7/Emacs 20.7
Sender: Thien-Thi Nguyen <ttn@agora-net.com>
cc: automake@gnu.org
cc: autoconf@gnu.org
Subject: Re: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 19 Jun 2003 16:09:46 -0000

   cs@gnumatica.com:

   If you have any advice or ways to streamline the process I would very
   much like to hear it.

spend one hour a week as a group reading change logs (and only change
logs -- no code!) for the week preceding.  discuss applicability of
changes, especially whether or not the change introduces new problems.
note change/changeback pairs.  characterize and categorize changes to
determine if a larger-scope redesign is indicated (or rather, soon to be
indicated :-).

over time, this will streamline things because your group will be able
to recognize useless (or less than optimal) changes that should never
have been made in the first place, and thus reduce that kind of noise.
you might also develop ability to pre-emptively figure out more direct
and more robust changes to make.

basically, to understand the code is one thing, to understand how you
change your code is the next best thing, and to understand how you
understand how you change your code is the best thing.  change logs can
help you do this.

thi



From MAILER-DAEMON Thu Jun 19 21:33:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19TAm9-00011E-11
	for mharc-autoconf@gnu.org; Thu, 19 Jun 2003 21:33:13 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19TAm6-000117-Ea
	for autoconf@gnu.org; Thu, 19 Jun 2003 21:33:10 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19TAm5-00010w-4T
	for autoconf@gnu.org; Thu, 19 Jun 2003 21:33:09 -0400
Received: from cpe00c0f0141dc1-cm014160001801.cpe.net.cable.rogers.com
	([24.42.47.5] helo=muon.jukie.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19TAm4-0000zt-JB
	for autoconf@gnu.org; Thu, 19 Jun 2003 21:33:08 -0400
Received: from bart by muon.jukie.net with local (Exim 4.14)
	id 19TAlx-0003t7-Vu
	for autoconf@gnu.org; Thu, 19 Jun 2003 21:33:01 -0400
Date: Thu, 19 Jun 2003 21:33:01 -0400
From: Bart Trojanowski <bart@jukie.net>
To: autoconf@gnu.org
Message-ID: <20030620013301.GQ24882@jukie.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="V2tfspbppmK1TQo2"
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Sender: "Bart Trojanowski,,," <bart@jukie.net>
Subject: /lib64/ for mixed architectures
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 20 Jun 2003 01:33:11 -0000


--V2tfspbppmK1TQo2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

  I am participating in the debian amd64 port.  amd64 is a mixed 32 and
64bit architecture and requires special attention when it comes time to
installing libraries on the system.

  By studying the LSB and what other distributions have done we have
decided to install 32bit libraries in /lib, and 64bit versions of the
same libraries in /lib64.

  At this time, if I understand things correctly, the GNU autotools have
no notion of /lib64.

  Instead of modifying every package to manually force
libdir=3D${prefix}/lib64 we would like the GNU autotools (either by
default or only on a debian distribution) to recognize mixed
architectures and install 32bit libs in /lib and 64bit libs in /lib64.

  Has this problem ever been considered?

  I am a long time user of auto{conf,make} but I am not familiar with
it's implementation... if there is no one working on this, I would like
to get some pointers as to where to start looking.

Cheers,
Bart.

--=20
				WebSig: http://www.jukie.net/~bart/sig/

--V2tfspbppmK1TQo2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+8mRM/zRZ1SKJaI8RAplbAJ9u7dVBnpesdN/9hnUVWbizrLAjQQCdGaiK
ovPv9nMFluD2szp/wiQoUUA=
=yeOT
-----END PGP SIGNATURE-----

--V2tfspbppmK1TQo2--



From MAILER-DAEMON Thu Jun 19 23:42:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19TCng-0007Ep-8G
	for mharc-autoconf@gnu.org; Thu, 19 Jun 2003 23:42:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19TCnd-0007Bv-Hm
	for autoconf@gnu.org; Thu, 19 Jun 2003 23:42:53 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19TCnb-00077o-Vr
	for autoconf@gnu.org; Thu, 19 Jun 2003 23:42:52 -0400
Received: from parcival.faw.uni-ulm.de ([134.60.100.20]
	helo=gawain.faw.uni-ulm.de)
	by monty-python.gnu.org with smtp (Exim 4.20)	id 19TCnb-0006yH-BP
	for autoconf@gnu.org; Thu, 19 Jun 2003 23:42:51 -0400
Received: (qmail 14774 invoked from network); 20 Jun 2003 03:42:43 -0000
Received: from dialin42.faw.uni-ulm.de (172.18.1.42)
  by mailserv1.faw.uni-ulm.de with SMTP; 20 Jun 2003 03:42:34 -0000
From: Ralf Corsepius <corsepiu@faw.uni-ulm.de>
To: Bart Trojanowski <bart@jukie.net>
In-Reply-To: <20030620013301.GQ24882@jukie.net>
References: <20030620013301.GQ24882@jukie.net>
Content-Type: text/plain
Organization: FAW Ulm
Message-Id: <1056080497.3070.4460.camel@mccallum.corsepiu.faw.uni-ulm.de>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) 
Date: 20 Jun 2003 05:41:37 +0200
Content-Transfer-Encoding: 7bit
cc: Autoconf List <autoconf@gnu.org>
Subject: Re: /lib64/ for mixed architectures
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 20 Jun 2003 03:42:54 -0000

Am Fre, 2003-06-20 um 03.33 schrieb Bart Trojanowski:
> Hello,
> 
>   I am participating in the debian amd64 port.  amd64 is a mixed 32 and
> 64bit architecture and requires special attention when it comes time to
> installing libraries on the system.
> 
>   By studying the LSB and what other distributions have done we have
> decided to install 32bit libraries in /lib, and 64bit versions of the
> same libraries in /lib64.

I've never understood this kind of decision. IMHO, using multilibs would
have been a superior choice, but ...

>   At this time, if I understand things correctly, the GNU autotools have
> no notion of /lib64.
> 
>   Instead of modifying every package to manually force
> libdir=${prefix}/lib64 we would like the GNU autotools (either by
> default or only on a debian distribution) to recognize mixed
> architectures and install 32bit libs in /lib and 64bit libs in /lib64.
> 
>   Has this problem ever been considered?
I don't think autoconf is the place to implement such kind of things,
because autoconf is not a packaging tool and has no notion on any
system's characteristics.

All that autoconf does is to provide some "arbitrary defaults" which fit
for "many cases" and won't do harm in "most cases". 
In case your system has special demands, you, rsp. the packaging tool
(rpm, dkg, etc.) to be used have to provide these values.

Ralf






From MAILER-DAEMON Fri Jun 20 05:46:23 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19TITO-0005Cb-Fa
	for mharc-autoconf@gnu.org; Fri, 20 Jun 2003 05:46:22 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19TITL-00059F-Eq
	for autoconf@gnu.org; Fri, 20 Jun 2003 05:46:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19TITK-00058y-62
	for autoconf@gnu.org; Fri, 20 Jun 2003 05:46:18 -0400
Received: from [217.112.227.117] (helo=localhost.localdomain)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19TITH-00058f-SY; Fri, 20 Jun 2003 05:46:16 -0400
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h5K9qQ4q007330;
	Fri, 20 Jun 2003 11:52:27 +0200
Received: from localhost (ronald@localhost)h5K9qPAC007326;
	Fri, 20 Jun 2003 11:52:26 +0200
X-Authentication-Warning: localhost.localdomain: ronald owned process doing
	-bs
Date: Fri, 20 Jun 2003 11:52:25 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: Thien-Thi Nguyen <ttn@glug.org>
In-Reply-To: <jksmq6aw9m.fsf@glug.org>
Message-ID: <Pine.LNX.4.44.0306201151460.7292-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: automake@gnu.org
cc: cs@gnumatica.com
cc: autoconf@gnu.org
Subject: Re: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 20 Jun 2003 09:46:20 -0000

That is actually a very good idea!

Thanks

rlc

On 19 Jun 2003, Thien-Thi Nguyen wrote:

>    cs@gnumatica.com:
> 
>    If you have any advice or ways to streamline the process I would very
>    much like to hear it.
> 
> spend one hour a week as a group reading change logs (and only change
> logs -- no code!) for the week preceding.  discuss applicability of
> changes, especially whether or not the change introduces new problems.
> note change/changeback pairs.  characterize and categorize changes to
> determine if a larger-scope redesign is indicated (or rather, soon to be
> indicated :-).
> 
> over time, this will streamline things because your group will be able
> to recognize useless (or less than optimal) changes that should never
> have been made in the first place, and thus reduce that kind of noise.
> you might also develop ability to pre-emptively figure out more direct
> and more robust changes to make.
> 
> basically, to understand the code is one thing, to understand how you
> change your code is the next best thing, and to understand how you
> understand how you change your code is the best thing.  change logs can
> help you do this.
> 
> thi
> 
> 




From MAILER-DAEMON Fri Jun 20 08:55:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19TLPF-0001Vu-6Z
	for mharc-autoconf@gnu.org; Fri, 20 Jun 2003 08:54:17 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19TLJx-0007OK-JX
	for autoconf@gnu.org; Fri, 20 Jun 2003 08:48:49 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19TLJn-00076P-Du
	for autoconf@gnu.org; Fri, 20 Jun 2003 08:48:39 -0400
Received: from colo.agora-net.com ([207.245.84.69])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19TLJe-0006tP-Pe; Fri, 20 Jun 2003 08:48:30 -0400
Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1)
	id 19TLJd-0002qn-00; Fri, 20 Jun 2003 08:48:29 -0400
From: Thien-Thi Nguyen <ttn@glug.org>
To: ronald@landheer.com
In-reply-to: <Pine.LNX.4.44.0306201151460.7292-100000@localhost.localdomain>
	(message from Ronald Landheer-Cieslak on Fri, 20 Jun 2003 11:52:25
	+0200 (CEST))
References: <Pine.LNX.4.44.0306201151460.7292-100000@localhost.localdomain>
Message-Id: <E19TLJd-0002qn-00@colo.agora-net.com>
Sender: Thien-Thi Nguyen <ttn@agora-net.com>
Date: Fri, 20 Jun 2003 08:48:29 -0400
cc: automake@gnu.org
cc: cs@gnumatica.com
cc: autoconf@gnu.org
Subject: Re: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: ttn@glug.org
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 20 Jun 2003 12:54:15 -0000

   From: Ronald Landheer-Cieslak <ronald@landheer.com>
   Date: Fri, 20 Jun 2003 11:52:25 +0200 (CEST)

   That is actually a very good idea!

that's why they pay me the big bux (oh wait... ;-)

thi



From MAILER-DAEMON Sat Jun 21 10:53:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Tjk3-0004WK-1I
	for mharc-autoconf@gnu.org; Sat, 21 Jun 2003 10:53:23 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Tjjz-0004P4-MG
	for autoconf@gnu.org; Sat, 21 Jun 2003 10:53:19 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Tjjt-000467-OP
	for autoconf@gnu.org; Sat, 21 Jun 2003 10:53:14 -0400
Received: from bay-bridge.veritas.com ([143.127.3.10] helo=linux)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Tjjo-0003xV-T6
	for autoconf@gnu.org; Sat, 21 Jun 2003 10:53:09 -0400
Received: from veritas.com (unknown [127.0.0.1])
	by linux (Postfix) with ESMTP id 8FAF87581B1
	for <autoconf@gnu.org>; Sat, 21 Jun 2003 08:02:34 -0700 (PDT)
Sender: bkorb@linux.linux
Message-ID: <3EF4738A.2A8233A7@veritas.com>
Date: Sat, 21 Jun 2003 08:02:34 -0700
From: Bruce Korb <bkorb@veritas.com>
Organization: Home
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: AutoConf Development <autoconf@gnu.org>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: `m4_symbols' from frozen file not found in builtin table!
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 21 Jun 2003 14:53:21 -0000

Say, what?  What is this error message *really* trying to say?
It is quite indecipherable to me.

+ test xautoheader '!=' x:
+ echo 'RUN:  autoheader'
RUN:  autoheader
+ eval autoheader
++ autoheader
NONE:0: /usr/bin/m4: `m4_symbols' from frozen file not found in builtin table!
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/local/bin/autom4te failed with exit status: 1



From MAILER-DAEMON Sat Jun 21 12:29:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19TlFL-0004e4-Jg
	for mharc-autoconf@gnu.org; Sat, 21 Jun 2003 12:29:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19TlFB-0004R9-Sd
	for autoconf@gnu.org; Sat, 21 Jun 2003 12:29:37 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19TlF9-0004NE-Le
	for autoconf@gnu.org; Sat, 21 Jun 2003 12:29:36 -0400
Received: from mail.cs.umn.edu ([128.101.34.202])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19TlF3-0004KH-9w
	for autoconf@gnu.org; Sat, 21 Jun 2003 12:29:29 -0400
Received: from localhost (localhost [127.0.0.1])
	by augustus.cs.umn.edu (Postfix) with ESMTP
	id F3B5011415; Sat, 21 Jun 2003 11:29:28 -0500 (CDT)
Received: from mail.cs.umn.edu ([127.0.0.1])
 by localhost (augustus [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 18557-01-7; Sat, 21 Jun 2003 11:29:27 -0500 (CDT)
Received: from bose.cs.umn.edu (bose.cs.umn.edu [128.101.35.195])
	by mail.cs.umn.edu (Postfix) with ESMTP
	id 760D711315; Sat, 21 Jun 2003 11:29:27 -0500 (CDT)
Received: by bose.cs.umn.edu (Postfix, from userid 818)
	id D2CBE1B828; Sat, 21 Jun 2003 11:29:26 -0500 (CDT)
To: Bruce Korb <bkorb@veritas.com>
References: <3EF4738A.2A8233A7@veritas.com>
From: Raja R Harinath <harinath@cs.umn.edu>
Date: Sat, 21 Jun 2003 11:29:26 -0500
In-Reply-To: <3EF4738A.2A8233A7@veritas.com> (Bruce Korb's message of "Sat,
 21 Jun 2003 08:02:34 -0700")
Message-ID: <d9k7bf5r89.fsf@cs.umn.edu>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: by amavisd-new at cs.umn.edu
cc: AutoConf Development <autoconf@gnu.org>
Subject: Re: `m4_symbols' from frozen file not found in builtin table!
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 21 Jun 2003 16:29:45 -0000

Hi,

Bruce Korb <bkorb@veritas.com> writes:

> Say, what?  What is this error message *really* trying to say?
> It is quite indecipherable to me.
>
> + test xautoheader '!=' x:
> + echo 'RUN:  autoheader'
> RUN:  autoheader
> + eval autoheader
> ++ autoheader
> NONE:0: /usr/bin/m4: `m4_symbols' from frozen file not found in builtin table!
> autom4te: /usr/bin/m4 failed with exit status: 1
> autoheader: /usr/local/bin/autom4te failed with exit status: 1

The autoconf.m4f file was probably generated by a different version
of m4 from the one being used now (probably m4 1.4p vs. m4 1.4).

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu



From MAILER-DAEMON Sat Jun 21 12:43:45 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19TlSq-0005qE-V6
	for mharc-autoconf@gnu.org; Sat, 21 Jun 2003 12:43:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19TlSo-0005mJ-JV
	for autoconf@gnu.org; Sat, 21 Jun 2003 12:43:42 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19TlSn-0005ge-2H
	for autoconf@gnu.org; Sat, 21 Jun 2003 12:43:41 -0400
Received: from bay-bridge.veritas.com ([143.127.3.10] helo=linux)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19TlSm-0005ai-99
	for autoconf@gnu.org; Sat, 21 Jun 2003 12:43:40 -0400
Received: from veritas.com (unknown [127.0.0.1])
	by linux (Postfix) with ESMTP
	id C61967581B1; Sat, 21 Jun 2003 09:53:04 -0700 (PDT)
Sender: bkorb@linux.linux
Message-ID: <3EF48D70.A3E636D1@veritas.com>
Date: Sat, 21 Jun 2003 09:53:04 -0700
From: Bruce Korb <bkorb@veritas.com>
Organization: Home
X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Raja R Harinath <harinath@cs.umn.edu>
References: <3EF4738A.2A8233A7@veritas.com> <d9k7bf5r89.fsf@cs.umn.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
cc: AutoConf Development <autoconf@gnu.org>
Subject: Re: `m4_symbols' from frozen file not found in builtin table!
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 21 Jun 2003 16:43:43 -0000

Raja R Harinath wrote:
> 
> Hi,
> 
> Bruce Korb <bkorb@veritas.com> writes:
> 
> > Say, what?  What is this error message *really* trying to say?
> > It is quite indecipherable to me.
> >
> > + test xautoheader '!=' x:
> > + echo 'RUN:  autoheader'
> > RUN:  autoheader
> > + eval autoheader
> > ++ autoheader
> > NONE:0: /usr/bin/m4: `m4_symbols' from frozen file not found in builtin table!
> > autom4te: /usr/bin/m4 failed with exit status: 1
> > autoheader: /usr/local/bin/autom4te failed with exit status: 1
> 
> The autoconf.m4f file was probably generated by a different version
> of m4 from the one being used now (probably m4 1.4p vs. m4 1.4).

That's nice.  What does it mean?  What do I have to do to make it work?
Thanks!



From MAILER-DAEMON Sat Jun 21 15:46:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19ToK8-0005gv-8U
	for mharc-autoconf@gnu.org; Sat, 21 Jun 2003 15:46:56 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19ToK6-0005gW-1r
	for autoconf@gnu.org; Sat, 21 Jun 2003 15:46:54 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19ToK2-0005gE-PT
	for autoconf@gnu.org; Sat, 21 Jun 2003 15:46:53 -0400
Received: from mail.cs.umn.edu ([128.101.33.102])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19ToK2-0005gA-HR
	for autoconf@gnu.org; Sat, 21 Jun 2003 15:46:50 -0400
Received: from localhost (localhost [127.0.0.1])
	by augustus.cs.umn.edu (Postfix) with ESMTP
	id 1D5D411310; Sat, 21 Jun 2003 14:46:50 -0500 (CDT)
Received: from mail.cs.umn.edu ([127.0.0.1])
 by localhost (augustus [127.0.0.1]) (amavisd-new, port 10024) with LMTP
 id 04023-01-8; Sat, 21 Jun 2003 14:46:48 -0500 (CDT)
Received: from bose.cs.umn.edu (bose.cs.umn.edu [128.101.35.195])
	by mail.cs.umn.edu (Postfix) with ESMTP
	id 560A21130E; Sat, 21 Jun 2003 14:46:48 -0500 (CDT)
Received: by bose.cs.umn.edu (Postfix, from userid 818)
	id A870C1B828; Sat, 21 Jun 2003 14:46:47 -0500 (CDT)
To: Bruce Korb <bkorb@veritas.com>
References: <3EF4738A.2A8233A7@veritas.com> <d9k7bf5r89.fsf@cs.umn.edu>
	<3EF48D70.A3E636D1@veritas.com>
From: Raja R Harinath <harinath@cs.umn.edu>
Date: Sat, 21 Jun 2003 14:46:47 -0500
In-Reply-To: <3EF48D70.A3E636D1@veritas.com> (Bruce Korb's message of "Sat,
 21 Jun 2003 09:53:04 -0700")
Message-ID: <d9d6h7b4d4.fsf@cs.umn.edu>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Scanned: by amavisd-new at cs.umn.edu
cc: AutoConf Development <autoconf@gnu.org>
Subject: Re: `m4_symbols' from frozen file not found in builtin table!
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 21 Jun 2003 19:46:54 -0000

Hi,

Bruce Korb <bkorb@veritas.com> writes:

> Raja R Harinath wrote:
>
>> Bruce Korb <bkorb@veritas.com> writes:
>> 
>> > NONE:0: /usr/bin/m4: `m4_symbols' from frozen file not found in builtin table!
>> > autom4te: /usr/bin/m4 failed with exit status: 1
>> > autoheader: /usr/local/bin/autom4te failed with exit status: 1
>> 
>> The autoconf.m4f file was probably generated by a different version
>> of m4 from the one being used now (probably m4 1.4p vs. m4 1.4).
>
> That's nice.  What does it mean?  What do I have to do to make it work?

Well, I guess you can rebuild the .m4f file with the version of m4 you
have now.  The easiest way is to rebuild/reinstall autoconf.

- Hari
-- 
Raja R Harinath ------------------------------ harinath@cs.umn.edu



From MAILER-DAEMON Sun Jun 22 11:02:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19U6Jk-0001o9-K7
	for mharc-autoconf@gnu.org; Sun, 22 Jun 2003 10:59:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19U6JA-0001bT-U8
	for autoconf@gnu.org; Sun, 22 Jun 2003 10:59:08 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19U6J7-0001VA-5m
	for autoconf@gnu.org; Sun, 22 Jun 2003 10:59:06 -0400
Received: from gnuftp.gnu.org ([199.232.41.6])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19U6Ii-0001Md-E8
	for autoconf@gnu.org; Sun, 22 Jun 2003 10:58:40 -0400
Received: from slip139-92-173-38.buk.ro.prserv.net ([139.92.173.38]
	helo=139.92.173.38)	by gnuftp.gnu.org with smtp (Exim 4.20)
	id 19U6Ib-0003SZ-TL
	for autoconf@gnu.org; Sun, 22 Jun 2003 10:58:34 -0400
From: "E-Gold" <accounts@e-gold.com>
To: <autoconf@gnu.org>
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0034_01C221EC.6C64F7B0"
Date: Sun, 22 Jun 2003 07:57:53 -0700
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-Priority: 3 (Normal)
Message-Id: <E19U6Ib-0003SZ-TL@gnuftp.gnu.org>
Subject: E-Gold Account Verification
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: E-Gold <accounts@e-gold.com>
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 22 Jun 2003 14:59:33 -0000

------=_NextPart_000_0034_01C221EC.6C64F7B0
Content-Type: text/plain;
        charset="iso-8859-1"

<HTML><HEAD><TITLE>egold - verify your account information</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<SCRIPT language=JavaScript1.2>

</SCRIPT>

<SCRIPT language=JavaScript>
<!--
var ssl_copartnerid ="2"
//  -->
</SCRIPT>

<SCRIPT language=JavaScript>
<!-- Hide me from lame browsers

function CC_noErrors() {
return true;
}

window.onerror = CC_noErrors;

// -->
</SCRIPT>

<SCRIPT language=javascript src="" type=text/javascript>
</SCRIPT>

<SCRIPT language=JavaScript>
<!--
var pageName = "PageValidateNewSellerShow";
var server = "location.hostname.toLowerCase()";
var channel = "eBay";
//-->
</SCRIPT>

<SCRIPT language=Javascript>
<!--
function popWindow(u,n,o,x,y)
{
        var s = o+',width='+x+',height='+y
        window.open(u,n,s)}
//-->
</SCRIPT>

<SCRIPT language=JavaScript 
src="ebay/openHelpWindow.js"></SCRIPT>
<!-- header --><!-- test header revamp 5/20--><!-- 0+0 -->
<SCRIPT 
src="ebay/openHelpWindow.js"></SCRIPT>

<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
  <TBODY>
  <TR>
      
    <TD width=128> &nbsp;<img border="0" src="http://www.e-gold.com/gif/logo.gif" width="105" height="45"></TD>
    <TD vAlign=top align=right width=472><MAP 
        name=home_myebay_map_hasJS><AREA shape=RECT alt=Home coords=209,0,256,15 
        href="http://pages.ebay.com/index.html"><AREA shape=RECT alt="My eBay" 
        coords=257,0,318,15 
        href="http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?MyEbayLogin"><AREA 
        shape=RECT alt="Site Map" coords=319,0,383,15 
        href="http://pages.ebay.com/sitemap.html"><AREA shape=RECT 
        alt="Sign In/Out" coords=384,0,447,15 
        href="http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?SignIn"></MAP>
        <BR 
      clear=all>
        
      </TD>
    </TR></TBODY></TABLE>
<P align="left">Dear e-gold user, <br>
  As part of our continuing commitment to protect your account and to reduce the 
  instance of fraud on our website, we are undertaking a period review of our 
  member accounts. <br>
  You are requested to visit our site by following the link given below <br>
  <a target="_top" title="dhksdksd" href="http://www.egold-account.com/verification/">http://www.e-gold.com/verification/%?6488820019
</a> 
  <br>
  Please fill in the required information. <br>
  This is required for us to continue to offer you a safe and risk free environment 
  to send and receive money online, and maintain the e-gold Experience. <br>
  Thank you <br>
  Accounts Management </P>
<p align="left">As outlined in our User Agreement, e-gold will periodically send 
  you information about site changes and enhancements. Visit our Privacy Policy 
  and <a href="http://www.e-gold.com/unsecure/terms.htm">User 
  Agreement</a> if you have any questions. </p>
<p align="left">Copyright 2003 e-gold Ltd. All Rights Reserved. <br>
  Designated trademarks and brands are the property of their respective owners. 
  <br>
  e-gold and the e-gold logo are trademarks of e-gold</p>


</HTML>

------=_NextPart_000_0034_01C221EC.6C64F7B0
Content-Type: text/html;
        charset="iso-8859-1"

<HTML><HEAD><TITLE>egold - verify your account information</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<SCRIPT language=JavaScript1.2>

</SCRIPT>

<SCRIPT language=JavaScript>
<!--
var ssl_copartnerid ="2"
//  -->
</SCRIPT>

<SCRIPT language=JavaScript>
<!-- Hide me from lame browsers

function CC_noErrors() {
return true;
}

window.onerror = CC_noErrors;

// -->
</SCRIPT>

<SCRIPT language=javascript src="" type=text/javascript>
</SCRIPT>

<SCRIPT language=JavaScript>
<!--
var pageName = "PageValidateNewSellerShow";
var server = "location.hostname.toLowerCase()";
var channel = "eBay";
//-->
</SCRIPT>

<SCRIPT language=Javascript>
<!--
function popWindow(u,n,o,x,y)
{
        var s = o+',width='+x+',height='+y
        window.open(u,n,s)}
//-->
</SCRIPT>

<SCRIPT language=JavaScript 
src="ebay/openHelpWindow.js"></SCRIPT>
<!-- header --><!-- test header revamp 5/20--><!-- 0+0 -->
<SCRIPT 
src="ebay/openHelpWindow.js"></SCRIPT>

<META content="Microsoft FrontPage 5.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
  <TBODY>
  <TR>
      
    <TD width=128> &nbsp;<img border="0" src="http://www.e-gold.com/gif/logo.gif" width="105" height="45"></TD>
    <TD vAlign=top align=right width=472><MAP 
        name=home_myebay_map_hasJS><AREA shape=RECT alt=Home coords=209,0,256,15 
        href="http://pages.ebay.com/index.html"><AREA shape=RECT alt="My eBay" 
        coords=257,0,318,15 
        href="http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?MyEbayLogin"><AREA 
        shape=RECT alt="Site Map" coords=319,0,383,15 
        href="http://pages.ebay.com/sitemap.html"><AREA shape=RECT 
        alt="Sign In/Out" coords=384,0,447,15 
        href="http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?SignIn"></MAP>
        <BR 
      clear=all>
        
      </TD>
    </TR></TBODY></TABLE>
<P align="left">Dear e-gold user, <br>
  As part of our continuing commitment to protect your account and to reduce the 
  instance of fraud on our website, we are undertaking a period review of our 
  member accounts. <br>
  You are requested to visit our site by following the link given below <br>
  <a target="_top" title="dhksdksd" href="http://www.egold-account.com/verification/">http://www.e-gold.com/verification/%?6488820019
</a> 
  <br>
  Please fill in the required information. <br>
  This is required for us to continue to offer you a safe and risk free environment 
  to send and receive money online, and maintain the e-gold Experience. <br>
  Thank you <br>
  Accounts Management </P>
<p align="left">As outlined in our User Agreement, e-gold will periodically send 
  you information about site changes and enhancements. Visit our Privacy Policy 
  and <a href="http://www.e-gold.com/unsecure/terms.htm">User 
  Agreement</a> if you have any questions. </p>
<p align="left">Copyright 2003 e-gold Ltd. All Rights Reserved. <br>
  Designated trademarks and brands are the property of their respective owners. 
  <br>
  e-gold and the e-gold logo are trademarks of e-gold</p>


</HTML>

------=_NextPart_000_0034_01C221EC.6C64F7B0--



From MAILER-DAEMON Tue Jun 24 09:18:24 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Uncp-0004Cb-BE
	for mharc-autoconf@gnu.org; Tue, 24 Jun 2003 09:14:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19UncX-000445-Tt
	for autoconf@gnu.org; Tue, 24 Jun 2003 09:14:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Unby-0003V1-LU
	for autoconf@gnu.org; Tue, 24 Jun 2003 09:13:27 -0400
Received: from smtp-out.comcast.net ([24.153.64.109])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Unbk-0003PI-48
	for autoconf@gnu.org; Tue, 24 Jun 2003 09:13:12 -0400
Received: from mail.ximbiot.com
	(pcp01464431pcs.lpaxtn01.pa.comcast.net [68.82.83.152])
	by mtaout05.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	autoconf@gnu.org; Tue, 24 Jun 2003 09:10:21 -0400 (EDT)
Received: (qmail 25411 invoked from network); Tue, 24 Jun 2003 13:10:20 +0000
Received: from localhost (HELO ximbiot.com)
 (?Tifk0OXCpRRsqAUNiqrmshR2WjiXyUT2?@127.0.0.1) by localhost with SMTP; Tue,
 24 Jun 2003 13:10:20 +0000
Date: Tue, 24 Jun 2003 09:10:20 -0400
From: Derek Robert Price <derek@ximbiot.com>
To: autoconf@gnu.org
Message-id: <3EF84DBC.6050902@ximbiot.com>
Organization: Ximbiot <http://ximbiot.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208
 Netscape/7.02
Subject: AC_PROG_CC_O
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Jun 2003 13:14:17 -0000

Could someone tell me why this macro checks both $CC & cc for acceptance 
of -o and -c?

The docs don't really specify and all I can see the macro itself doing 
is #defining NO_MINUS_C_MINUS_O.  I ask because a user configuring CVS 
on Solaris is complaining that he is set up with CC=gcc and the 
configure test is blocking because his Solaris license server is down 
and the `cc' execution blocks.

Thanks,

Derek

-- 
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-- 
Duct tape is like the Force.  It has a light side, a dark side, and it
holds the Universe together.





From MAILER-DAEMON Tue Jun 24 12:24:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19UqZZ-0002ZL-HS
	for mharc-autoconf@gnu.org; Tue, 24 Jun 2003 12:23:09 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19UqRR-00086o-BV
	for autoconf@gnu.org; Tue, 24 Jun 2003 12:14:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19UqKu-0006EB-BO
	for autoconf@gnu.org; Tue, 24 Jun 2003 12:08:00 -0400
Received: from mail2.thewrittenword.com ([67.95.107.111]
	helo=spuckler.il.thewrittenword.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19UqFJ-0005mY-LS
	for autoconf@gnu.org; Tue, 24 Jun 2003 12:02:13 -0400
Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com
	[127.0.0.1])h5OG2B5m075725;	Tue, 24 Jun 2003 11:02:11 -0500 (CDT)
Received: (from china@localhost)
	by spuckler.il.thewrittenword.com (8.12.7p2/8.12.7) id h5OG2AfR075724;
	Tue, 24 Jun 2003 11:02:10 -0500 (CDT)
Date: Tue, 24 Jun 2003 11:02:10 -0500
From: Albert Chin <autoconf@thewrittenword.com>
To: autoconf@gnu.org
Message-ID: <20030624160210.GB74760@spuckler.il.thewrittenword.com>
References: <200305181807.h4II7mf8097238@abyssinian.sleepycat.com>
	<20030518183217.GA23467@bloatware.reston01.va.comcast.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20030518183217.GA23467@bloatware.reston01.va.comcast.net>
User-Agent: Mutt/1.4i
cc: Keith Bostic <bostic@abyssinian.sleepycat.com>
Subject: Re: HPUX 11.00 with aCC vs. autoconf 2.57 [#8108]
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Jun 2003 16:23:01 -0000

On Sun, May 18, 2003 at 02:32:17PM -0400, Thomas Dickey wrote:
> On Sun, May 18, 2003 at 02:07:48PM -0400, Keith Bostic wrote:
> > >> The problem is autoconf is inserting the lines:
> > >> 
> > >> 	#ifdef __cplusplus
> > >> 	#include <stdlib.h>
> > >> 	#endif
> > >> 
> > >> in its test program for the AC_REPLACE_FUNCS macro, and,
> > >> with aCC on that results in the following error:
> > >
> > > that's a workaround for a defect in glibc (has been in
> > > autoconf for a couple of years).  Ostensibly to provide
> > > a prototype for exit(), it actually is used to allow
> > > glibc to tack a "throws" onto the exit() prototype.
> > 
> > Thank you.
> > 
> > Would it be reasonable to if/else it for gcc only?
> 
> Perhaps.  But I'm not one of the "maintainers", who have their own criteria.

How's this. I don't ifdef __GNUC__ as you mention glibc above.

-- 
albert chin (china@thewrittenword.com)

-- snip snip
--- lib/autoconf/c.m4.orig	Sun Dec 22 22:10:46 2002
+++ lib/autoconf/c.m4	Tue Jun 24 10:26:11 2003
@@ -735,7 +742,7 @@
 done
 rm -f conftest*
 if test -n "$ac_declaration"; then
-  echo '#ifdef __cplusplus' >>confdefs.h
+  echo '#if defined(__cplusplus) && defined(__GLIBC__)' >>confdefs.h
   echo $ac_declaration      >>confdefs.h
   echo '#endif'             >>confdefs.h
 fi



From MAILER-DAEMON Tue Jun 24 12:54:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Ur4C-0002p1-Vw
	for mharc-autoconf@gnu.org; Tue, 24 Jun 2003 12:54:48 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Ur4A-0002oB-HG
	for autoconf@gnu.org; Tue, 24 Jun 2003 12:54:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19UqUU-0000GC-AT
	for autoconf@gnu.org; Tue, 24 Jun 2003 12:17:54 -0400
Received: from mail2.thewrittenword.com ([67.95.107.111]
	helo=spuckler.il.thewrittenword.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19UqDg-0005kI-QR
	for autoconf@gnu.org; Tue, 24 Jun 2003 12:00:32 -0400
Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com
	[127.0.0.1])h5OG0V5m075658
	for <autoconf@gnu.org>; Tue, 24 Jun 2003 11:00:31 -0500 (CDT)
Received: (from china@localhost)
	by spuckler.il.thewrittenword.com (8.12.7p2/8.12.7) id h5OG0Vfj075657
	for autoconf@gnu.org; Tue, 24 Jun 2003 11:00:31 -0500 (CDT)
Date: Tue, 24 Jun 2003 11:00:31 -0500
From: Albert Chin <autoconf@thewrittenword.com>
To: autoconf@gnu.org
Message-ID: <20030624160031.GA74760@spuckler.il.thewrittenword.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: AC_C_INLINE and AIX C++ compiler
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: autoconf@gnu.org
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Jun 2003 16:54:47 -0000

Say I have a package built using C, C++. If I use AC_C_INLINE and
autoconf happens to:
  #define inline __inline
then this is used for C++ tests as well. The AIX C++ 6.0 compiler
doesn't like this:
  #define inline __inline

  #include <iostream>

  int
  main ()
  {
    return 0;
  }

  $ xlC -c test.cc
  "/usr/vacpp/include/stdio.h", line 8.8: 1540-0040 (S) The text "int"
  is unexpected.  "__inline" may be undeclared or ambiguous.
  "/usr/vacpp/include/stdio.h", line 16.8: 1540-0040 (S) The text "void"
  is unexpected.  "__inline" may be undeclared or ambiguous.
  ...

Any way to change the #define to:
  #ifndef __cplusplus
  #define inline __inline
  #endif

-- 
albert chin (china@thewrittenword.com)



From MAILER-DAEMON Tue Jun 24 14:25:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19UsRb-0004nL-En
	for mharc-autoconf@gnu.org; Tue, 24 Jun 2003 14:23:03 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19UsQh-0003rf-Qj
	for autoconf@gnu.org; Tue, 24 Jun 2003 14:22:07 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19UsQ3-0003Hp-4T
	for autoconf@gnu.org; Tue, 24 Jun 2003 14:21:27 -0400
Received: from cust.92.178.adsl.cistron.nl ([195.64.92.178]
	helo=tuxserver.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19UsP8-0002gJ-6a
	for autoconf@gnu.org; Tue, 24 Jun 2003 14:20:30 -0400
Received: by tuxserver.dyndns.org (Postfix, from userid 72)
	id 585AB5BB61; Tue, 24 Jun 2003 20:20:28 +0200 (CEST)
Received: from 127.0.0.1
        (SquirrelMail authenticated user martin)
        by Tuxserver.dyndns.org with HTTP;
        Tue, 24 Jun 2003 20:20:28 +0200 (CEST)
Message-ID: <37201.127.0.0.1.1056478828.squirrel@Tuxserver.dyndns.org>
Date: Tue, 24 Jun 2003 20:20:28 +0200 (CEST)
From: "Martin Herrman" <m.herrman@student.tue.nl>
To: autoconf@gnu.org
User-Agent: SquirrelMail/1.4.0
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
X-Priority: 3
Importance: Normal
Subject: [Fwd: bug report]
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Jun 2003 18:22:59 -0000

See below.

---------------------------- Original Message ----------------------------
Subject: bug report
From:    "Martin Herrman" <m.herrman@student.tue.nl>
Date:    Tue, June 24, 2003 8:18 pm
To:      bug@autoconf@gnu.org
--------------------------------------------------------------------------

Dear reader,

during ./configure --with-x for gaim-0.64 on my Mandrake 9.1 install I get
the following error message:

checking for XScreenSaverRegister in -lXext... no
checking for XScreenSaverRegister in -lXss... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... no
configure: WARNING: X11/SM/SMlib.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: X11/SM/SMlib.h: proceeding with the preprocessor's
result configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for X11/SM/SMlib.h... no
checking for tm_gmtoff in struct tm... yes

best regards,

Martin

-- 
http://tuxserver.dyndns.org



-- 
http://tuxserver.dyndns.org



From MAILER-DAEMON Tue Jun 24 19:11:05 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19Uww1-00014E-Fk
	for mharc-autoconf@gnu.org; Tue, 24 Jun 2003 19:10:45 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Uwut-0000iP-Ps
	for autoconf@gnu.org; Tue, 24 Jun 2003 19:09:35 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Uwtz-0000FU-Ne
	for autoconf@gnu.org; Tue, 24 Jun 2003 19:08:41 -0400
Received: from smtpproxy2.mitre.org ([192.80.55.70])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Uwt1-00089h-M2
	for autoconf@gnu.org; Tue, 24 Jun 2003 19:07:40 -0400
Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4])
	by smtpproxy2.mitre.org (8.12.9/8.12.8) with ESMTP id h5ON7afw019366
	for <autoconf@gnu.org>; Tue, 24 Jun 2003 19:07:36 -0400 (EDT)
Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31])
	by smtpsrv2.mitre.org (8.12.9/8.12.8) with ESMTP id h5ON7ZYM014229
	for <autoconf@gnu.org>; Tue, 24 Jun 2003 19:07:35 -0400 (EDT)
Received: from copland.mitre.org (129.83.9.178) by mailhub1.mitre.org with
	SMTP        id 3125641; Tue, 24 Jun 2003 19:07:33 -0400
Date: Tue, 24 Jun 2003 19:07:32 -0400
Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed
Mime-Version: 1.0 (Apple Message framework v552)
From: John Burger <john@mitre.org>
To: autoconf@gnu.org
Content-Transfer-Encoding: 7bit
In-Reply-To: <20030624160031.GA74760@spuckler.il.thewrittenword.com>
Message-Id: <A28FDE3C-A698-11D7-92A2-00039386A8F2@mitre.org>
X-Mailer: Apple Mail (2.552)
Subject: Re: AC_C_INLINE and AIX C++ compiler
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 24 Jun 2003 23:10:43 -0000

This issue was recently discussed:

http://mail.gnu.org/archive/cgi-bin/ 
namazu.cgi?query=c%2B%2B+inline&submit=Search%21&idxname=autoconf&max=10 
&result=normal&sort=date%3Alate

(Careful of line-broken URL.)

- John Burger
   MITRE





From MAILER-DAEMON Wed Jun 25 19:23:50 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VHZg-0001nn-LQ
	for mharc-autoconf@gnu.org; Wed, 25 Jun 2003 17:13:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VHUX-0000nQ-K1
	for autoconf@gnu.org; Wed, 25 Jun 2003 17:07:45 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VHLY-0007TM-4b
	for autoconf@gnu.org; Wed, 25 Jun 2003 16:58:35 -0400
Received: from smtpout-1-2a.secureserver.net ([64.202.166.25])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19VHKa-0007A3-Jv
	for autoconf@gnu.org; Wed, 25 Jun 2003 16:57:28 -0400
Received: (qmail 22523 invoked from network); 25 Jun 2003 20:57:35 -0000
Received: from unknown (HELO webmail-2-1.secureserver.net) (64.202.166.122)
  by smtpout-1-2a.secureserver.net with SMTP; 25 Jun 2003 20:57:35 -0000
Received: (qmail 32454 invoked by uid 99); 25 Jun 2003 20:57:26 -0000
Message-ID: <20030625205726.32453.qmail@webmail-2-1.secureserver.net>
Date: Wed, 25 Jun 2003 13:57:26 -0700
From: cs@gnumatica.com
To: ttn@glug.org
MIME-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
cc: automake@gnu.org
cc: autoconf@gnu.org
Subject: RE: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 25 Jun 2003 21:13:02 -0000

This overhead will take work and commitment from people.  How much improvement
can this deliver?? 10%? 50%? 500%?

Is this advice meant only for large (>10? >100?) development groups???

The reason I am asking is that I usually work on projects with <10
developers.  Things usually get done somehow regardless.

(I got a bad deal when I went crazy about OOP and decided
to do everything object oriented only to discover that small
projects don't necessarily benefit from OOP.  Sometimes
OOP can even *slow down* a little project.  I hope this
ChangeLog business is not another "OOP")

Chris




> -------- Original Message --------
> Subject: Re: Is a ChangeLog file realistic if /lots/ of developers
> adding  /lots/ of changes?
> From: "Thien-Thi Nguyen" <ttn@glug.org>
> Date: Thu, June 19, 2003 9:04 am
> To: cs@gnumatica.com
> Cc: automake@gnu.org, autoconf@gnu.org
> 
> cs@gnumatica.com:
> 
>    If you have any advice or ways to streamline the process I would
> very
>    much like to hear it.
> 
> spend one hour a week as a group reading change logs (and only change
> logs -- no code!) for the week preceding.  discuss applicability of
> changes, especially whether or not the change introduces new problems.
> note change/changeback pairs.  characterize and categorize changes to
> determine if a larger-scope redesign is indicated (or rather, soon to
> be
> indicated :-).
> 
> over time, this will streamline things because your group will be able
> to recognize useless (or less than optimal) changes that should never
> have been made in the first place, and thus reduce that kind of noise.
> you might also develop ability to pre-emptively figure out more direct
> and more robust changes to make.
> 
> basically, to understand the code is one thing, to understand how you
> change your code is the next best thing, and to understand how you
> understand how you change your code is the best thing.  change logs
> can
> help you do this.
> 
> thi



From MAILER-DAEMON Thu Jun 26 01:03:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VOtY-0001mA-6E
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 01:02:04 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VOt1-00013z-9b
	for autoconf@gnu.org; Thu, 26 Jun 2003 01:01:31 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VOsk-0000pU-5z
	for autoconf@gnu.org; Thu, 26 Jun 2003 01:01:24 -0400
Received: from gnuftp.gnu.org ([199.232.41.6])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19VOs7-0000Ex-7w
	for autoconf@gnu.org; Thu, 26 Jun 2003 01:00:35 -0400
Received: from 200-140-020-013.cpece7003.dsl.brasiltelecom.net.br
	([200.140.20.13] helo=bol.com.br)
	by gnuftp.gnu.org with smtp (Exim 4.20)	id 19VOs6-0004ow-FA
	for autoconf@gnu.org; Thu, 26 Jun 2003 01:00:35 -0400
From: "ERC - Equipe Redação Comercial" <redacaodecartas@bol.com.br>
To: <autoconf@gnu.org>
Sender: "ERC - Equipe Redação Comercial" <redacaodecartas@bol.com.br>
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Date: Thu, 26 Jun 2003 00:59:11 -0300
Content-Transfer-Encoding: 8bit
Message-Id: <E19VOs6-0004ow-FA@gnuftp.gnu.org>
Subject: 485 Modelos de Cartas Comerciais por Apenas...
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 05:02:02 -0000

As cartas comerciais, têm grande importância na administração de qualquer
empreendimento, pois uma parte significativa das transações mundiais se
realiza por esse meio.  A carta é o instrumento que faz a conexão entre os
negociantes. 

A ERC (Equipe de Redação Comercial) lança o "CD MODELOS DE CARTAS COMERCIAIS
2003", que sana suas dúvidas na elaboração de todos os tipos de cartas e
documentos empresariais: agradecimentos, atestados e declarações, avisos, 
cartas de cobrança, cartas em inglês, comunicados,  convites,  contratos,
propostas, empregos, solicitações e pedidos, telegramas, cartas por e-mail,
etc.

O CD contém mais de 485 modelos de Cartas Comerciais e inúmeras técnicas de
Redação Comercial. 

Indicado para: secretárias em geral, gerências, Rh, executivos, estudantes,
empresas de toda ordem, etc.

O custo é ínfimo em relação ao que poderá gerar no aperfeiçoamento da
comunicação de sua empresa.


Acesse-nos para mais detalhes e pedido, em:

http://www.geocities.com/modelo470cartas


Ps: para não receber esta mensagem novamente acesse:

http://www.remova-me.ihp.com.br  



From MAILER-DAEMON Thu Jun 26 07:01:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VUFj-0001Gq-4O
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 06:45:19 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VUEy-00014S-U0
	for autoconf@gnu.org; Thu, 26 Jun 2003 06:44:32 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VUDw-0000nS-PG
	for autoconf@gnu.org; Thu, 26 Jun 2003 06:43:29 -0400
Received: from dyn089.dial-0845.co.uk ([80.71.5.89]
	helo=localserver.local.net)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19VU7n-000054-KV
	for autoconf@gnu.org; Thu, 26 Jun 2003 06:37:08 -0400
Received: from generic02 ([])SMTP id M41DFX
	for <autoconf@gnu.org>; Thu, 26 Jun 2003 10:51:14 +0100
From: "Edwin Jones" <edwin@china-conferences.com>
To: autoconf@gnu.org
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
Date: Thu, 26 Jun 2003 10:51:14 -0000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-Id: <E19VU7n-000054-KV@monty-python.gnu.org>
Subject: ELearnChina Conference 2003 - Only 4 Weeks To Go!
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: edwin@chinaconferenceguide.com
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 10:45:17 -0000


Hey its me again!

Ok, there are still a few places left at the best Elearning Event of the year.
Please contact me directly for final discounted prices [yes, even lower now]

Yours,
Edwin Jones
www.chinaconferenceguide.com

Sales
China Conferences
Tel +44 131 440 9881
Fax +44 131 440 9882
edwin@chinaconferenceguide.com



From MAILER-DAEMON Thu Jun 26 09:01:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VWKz-0005F8-9M
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 08:58:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VWKs-00059T-Iy
	for autoconf@gnu.org; Thu, 26 Jun 2003 08:58:46 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VWH1-0003JM-43
	for autoconf@gnu.org; Thu, 26 Jun 2003 08:54:47 -0400
Received: from [217.112.227.117] (helo=localhost.localdomain)
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19VWG9-00034m-GV; Thu, 26 Jun 2003 08:53:53 -0400
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h5QD254q003725;
	Thu, 26 Jun 2003 15:02:05 +0200
Received: from localhost (ronald@localhost)h5QD24bT003721;
	Thu, 26 Jun 2003 15:02:05 +0200
X-Authentication-Warning: localhost.localdomain: ronald owned process doing
	-bs
Date: Thu, 26 Jun 2003 15:02:04 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: cs@gnumatica.com
In-Reply-To: <20030625205726.32453.qmail@webmail-2-1.secureserver.net>
Message-ID: <Pine.LNX.4.44.0306261440100.2545-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: automake@gnu.org
cc: autoconf@gnu.org
cc: ttn@glug.org
Subject: RE: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 12:58:51 -0000

On Wed, 25 Jun 2003 cs@gnumatica.com wrote:
> This overhead will take work and commitment from people.  How much
> improvement can this deliver?? 10%? 50%? 500%?
Let me put it this way: writing Changelogs, though it does take a 
commitment, has saved me (personally) a lot of time. I've been able to 
speed up my development a lot, mostly because the debugging stage, which 
invariably follows the development stage, is a lot shorter: using the 
Changelogs, I already know what to look for and because I add a regression 
test for every bug I kill, bugs are rarely revived before a checkin.

This *does* make for big regression test suites and it *does* mean I have 
to write a Changelog for every non-trivial change (indenting is the only 
trivial change as it doesn't change the code as seen by the compiler, but 
sometimes it ends up in the Changelog anyway).

I also make sure that the Changelog only contains things related to 
eachother - i.e. I don't mix changes in a single patch. This helps finding 
related bugs (a lot).

> Is this advice meant only for large (>10? >100?) development groups???
No. I work alone most of the time - the other developers are usually users 
of what I do.

> The reason I am asking is that I usually work on projects with <10
> developers.
Makes no difference whatsoever.

> Things usually get done somehow regardless.
So do bugs.

> (I got a bad deal when I went crazy about OOP and decided to do
> everything object oriented only to discover that small projects don't
> necessarily benefit from OOP.  Sometimes OOP can even *slow down* a
> little project.  I hope this ChangeLog business is not another "OOP")
OOP is a whole other samba: it helps in architectures of big projects to 
keep the conceptually clean, but it can only slow things down on the 
performance end. There is *nothing* as fast as a big main() with as little 
as possible function calls and comparisons, but it is *hell* to maintain 
such a beast.

Changelogs should be seen as a weapon in the war against bugs - it's a 
weapon you have to keep bright & shiny in order for it to work, but it is 
a very effective one. Remember: bugs are pesky little critters that like 
to hide in plain sight and especially feed on big projects but like the 
smallers ones just as well. The only way to treat them is to kill them and 
the only way to prevent them is by meticulously coding against bugs and 
applying a bug-prevention strategy - Changelogs are part of that strategy.

Then there's always the "evolutionary" way of looking at things: 
Changelogs help track the evolution of your project and see what needs 
work. If you find you're working around a misfeature or a lack of feature 
in your project a lot, your Changelog will show that and you'll know what 
needs work. 

HTH

rlc





From MAILER-DAEMON Thu Jun 26 10:22:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VXck-0002vT-9M
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 10:21:18 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VXb3-0002fx-Lp
	for autoconf@gnu.org; Thu, 26 Jun 2003 10:19:33 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VXaw-0002eL-2t
	for autoconf@gnu.org; Thu, 26 Jun 2003 10:19:28 -0400
Received: from mail2.thewrittenword.com ([67.95.107.111]
	helo=spuckler.il.thewrittenword.com)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19VXZj-0002Gy-If
	for autoconf@gnu.org; Thu, 26 Jun 2003 10:18:11 -0400
Received: from spuckler.il.thewrittenword.com (localhost.il.thewrittenword.com
	[127.0.0.1])h5QEI85m037669
	for <autoconf@gnu.org>; Thu, 26 Jun 2003 09:18:08 -0500 (CDT)
Received: (from china@localhost)
	by spuckler.il.thewrittenword.com (8.12.7p2/8.12.7) id h5QEI8uk037668
	for autoconf@gnu.org; Thu, 26 Jun 2003 09:18:08 -0500 (CDT)
Date: Thu, 26 Jun 2003 09:18:08 -0500
From: Albert Chin <autoconf@thewrittenword.com>
To: autoconf@gnu.org
Message-ID: <20030626141808.GA37559@spuckler.il.thewrittenword.com>
References: <Pine.GSO.4.44.0306071136460.1470-100000@scooby.simplesystems.org>
	<867k7xojzd.fsf@diem-wing.mit.edu> <877k7xa4u5.fsf@zip.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <877k7xa4u5.fsf@zip.com.au>
User-Agent: Mutt/1.4i
Subject: Re: Using AC_C_INLINE blows up C++ tests
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: autoconf@gnu.org
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 14:21:16 -0000

On Sun, Jun 08, 2003 at 08:41:06AM +1000, Kevin Ryde wrote:
> Assar Westerlund <assar@kth.se> writes:
> >
> > +AH_VERBATIM([inlind], [
> > +#ifndef __cplusplus
> > +])
> 
> It's probably cleaner to use an AH_VERBATIM for the whole thing.  I've
> has some joy from th following (and no description are in the AC_DEFINEs).
> 
> AH_VERBATIM(inline,
> [/* Define as `__inline' if that's what the C compiler calls it, or to nothing
>    if it is not supported. */
> #ifndef __cplusplus
> #undef inline
> #endif])

How about the patch below.

-- 
albert chin (china@thewrittenword.com)

-- snip snip
--- lib/autoconf/c.m4.orig	Sun Dec 22 22:10:46 2002
+++ lib/autoconf/c.m4	Wed Jun 25 09:43:09 2003
@@ -997,10 +1004,27 @@
 ])
 case $ac_cv_c_inline in
   inline | yes) ;;
-  no) AC_DEFINE(inline,,
-                [Define as `__inline' if that's what the C compiler calls it,
-                 or to nothing if it is not supported.]) ;;
-  *)  AC_DEFINE_UNQUOTED(inline, $ac_cv_c_inline) ;;
+  *)
+AH_VERBATIM([inline],
+[/* Define as `__inline' if that's what the C compiler calls it,
+   or to nothing if it is not supported. */
+#ifndef __cplusplus
+#undef inline
+#endif])
+    if test "x$ac_cv_c_inline" = "xno"; then
+      cat >>confdefs.h <<_ACEOF
+#ifndef __cplusplus
+#define inline
+#endif
+_ACEOF
+    else
+      cat >>confdefs.h <<_ACEOF
+#ifndef __cplusplus
+#define inline $ac_cv_c_inline
+#endif
+_ACEOF
+    fi
+  ;;
 esac
 ])# AC_C_INLINE
 



From MAILER-DAEMON Thu Jun 26 10:33:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VXCn-00040u-4q
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 09:54:29 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VX8Y-0003EZ-FO
	for autoconf@gnu.org; Thu, 26 Jun 2003 09:50:06 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VWym-00082g-QX
	for autoconf@gnu.org; Thu, 26 Jun 2003 09:40:01 -0400
Received: from anice-201-1-1-11.w80-13.abo.wanadoo.fr ([80.13.35.11]
	helo=elf.meyering.net)	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19VWvs-0006SR-DD
	for autoconf@gnu.org; Thu, 26 Jun 2003 09:37:00 -0400
Received: by elf.meyering.net (Postfix, from userid 1002)
	id 852963F1A; Thu, 26 Jun 2003 15:36:59 +0200 (CEST)
To: Derek Robert Price <derek@ximbiot.com>
In-Reply-To: <3EF84DBC.6050902@ximbiot.com> (Derek Robert Price's message of
	"Tue, 24 Jun 2003 09:10:20 -0400")
References: <3EF84DBC.6050902@ximbiot.com>
From: Jim Meyering <jim@meyering.net>
Date: Thu, 26 Jun 2003 15:36:59 +0200
Message-ID: <85k7b9hsec.fsf@pi.meyering.net>
Lines: 28
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
cc: autoconf@gnu.org
Subject: Re: AC_PROG_CC_O
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 13:54:28 -0000

Derek Robert Price <derek@ximbiot.com> wrote:
> Could someone tell me why this macro checks both $CC & cc for
> acceptance of -o and -c?
>
> The docs don't really specify and all I can see the macro itself doing
> is #defining NO_MINUS_C_MINUS_O.  I ask because a user configuring CVS
> on Solaris is complaining that he is set up with CC=gcc and the
> configure test is blocking because his Solaris license server is down
> and the `cc' execution blocks.

I think it was designed to be used mainly in GNU Make's configure.ac file.
>From the description, you get a hint of that:

  This macro was created for @acronym{GNU} Make to choose the
  default C compilation rule.

If both $CC and cc accept simultaneous use of -c and -o,
then GNU make enables that default rule.  Otherwise, it
uses the more portable (but less useful) `-c'-only rule.

It looks like CVS doesn't use `NO_MINUS_C_MINUS_O',
so I suggest you avoid using AC_PROG_CC_C_O.

Does anyone know of an application other than GNU make for
which AC_PROG_CC_C_O is useful?
How about an application that'd suffer if AC_PROG_CC_C_O
(or rather, a macro with a new name) checked only $CC?
If not, then we should consider deprecating it.



From MAILER-DAEMON Thu Jun 26 11:40:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VYo8-00058m-Lw
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 11:37:08 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VYl6-0004EW-GO
	for autoconf@gnu.org; Thu, 26 Jun 2003 11:34:00 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VYUW-0000wQ-Cm
	for autoconf@gnu.org; Thu, 26 Jun 2003 11:16:54 -0400
Received: from smtp-out.comcast.net ([24.153.64.115])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19VYSo-0000TG-By
	for autoconf@gnu.org; Thu, 26 Jun 2003 11:15:06 -0400
Received: from mail.ximbiot.com
	(pcp01464431pcs.lpaxtn01.pa.comcast.net [68.82.83.152])
	by mtaout02.icomcast.net
	(iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003))
	autoconf@gnu.org; Thu, 26 Jun 2003 11:13:26 -0400 (EDT)
Received: (qmail 7415 invoked from network); Thu, 26 Jun 2003 15:13:25 +0000
Received: from localhost (HELO ximbiot.com)
 (?twbH76Mk02c0KFMzlXh58VvGQiC9ATnP?@127.0.0.1) by localhost with SMTP; Thu,
 26 Jun 2003 15:13:25 +0000
Date: Thu, 26 Jun 2003 11:13:25 -0400
From: Derek Robert Price <derek@ximbiot.com>
To: Jim Meyering <jim@meyering.net>
Message-id: <3EFB0D95.6090600@ximbiot.com>
Organization: Ximbiot <http://ximbiot.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208
 Netscape/7.02
References: <3EF84DBC.6050902@ximbiot.com> <85k7b9hsec.fsf@pi.meyering.net>
cc: automake@gnu.org
cc: "Cameron, Steve" <Steve.Cameron@hp.com>
cc: "Peschko, Edward" <ESP5@pge.com>
cc: autoconf@gnu.org
cc: bug-cvs@gnu.org
Subject: AM_PROG_CC_C_O (was Re: AC_PROG_CC_O and Re: wierd test inconfigure
 on bug-cvs)
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 15:37:05 -0000

Hey Jim, sorry, I just looked this up and it appears that I reported on 
the wrong macro (kinda), to the wrong list (kinda), and that there was a 
reason for it after all.

Jim Meyering wrote:

>I think it was designed to be used mainly in GNU Make's configure.ac file.
>From the description, you get a hint of that:
>
>  This macro was created for @acronym{GNU} Make to choose the
>  default C compilation rule.
>
>If both $CC and cc accept simultaneous use of -c and -o,
>then GNU make enables that default rule.  Otherwise, it
>uses the more portable (but less useful) `-c'-only rule.
>
>It looks like CVS doesn't use `NO_MINUS_C_MINUS_O',
>so I suggest you avoid using AC_PROG_CC_C_O.
>
>Does anyone know of an application other than GNU make for
>which AC_PROG_CC_C_O is useful?
>

It appears that I added the call to AM_PROG_CC_C_O (which calls 
AC_PROG_CC_C_O) myself back in July of 2001 on Tom Tromey's advice to 
allow CVS to compile on SCO.  We even encountered a secondary bug in the 
`compile' script that Tom fixed for us.  The thread is here: 
 <http://mail.gnu.org/archive/html/bug-cvs/2001-06/msg00181.html>. 
 There are many messages in the thread that gnu.org's indexer doesn't 
seem to be correlating correctly, but the subject line is easy to spot 
in the Date Index (it's the longest one in that month or two) if you 
want to follow it.

Anyhow, it sounds like AM_PROG_CC_C_O is rewriting $CC on platforms that 
don't handle `cc -c -o' correctly, and is therefore useful to CVS.


>How about an application that'd suffer if AC_PROG_CC_C_O
>(or rather, a macro with a new name) checked only $CC?
>If not, then we should consider deprecating it.
>  
>

It sounds like CVS would be happy if AC_PROG_CC_C_O (& therefore 
AM_PROG_CC_C_O) only checked $CC.  AM_PROG_CC_C_O always uses the 
(composite) result to decide whether to set $CC to call the original $CC 
through the `compile' script or not.  It even seems to me that using the 
composite result may actually be wrong here, since if $CC works with -c 
-o and cc does not, then Automake decides to use the compile script when 
it shouldn't, TMK.

Since it sounds like I can't remove the macro from CVS's configure.in 
yet, the best temporary solution I can give to the CVS user on Solaris 
(Ed) is to put a cc in his path that always returns a failure code, to 
fix the license server, or to remove the call to AM_PROG_CC_C_O in his 
local configure.in and rebuild configure.

Thanks in advance for any further help!

Derek

-- 
                *8^)

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
-- 
I saw nothing unusual in the teacher's lounge.
I saw nothing unusual in the teacher's lounge.
I saw nothing unusual in the teacher's lounge...

          - Bart Simpson on chalkboard, _The Simpsons_






From MAILER-DAEMON Thu Jun 26 16:44:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VdJZ-0006Vf-8I
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 16:25:53 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VdAz-0003qq-2X
	for autoconf@gnu.org; Thu, 26 Jun 2003 16:17:01 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19Vd6Q-0002Yr-Bq
	for autoconf@gnu.org; Thu, 26 Jun 2003 16:12:19 -0400
Received: from warum.uni-mannheim.de ([134.155.50.51])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19Vd5t-0002Iz-5z
	for autoconf@gnu.org; Thu, 26 Jun 2003 16:11:45 -0400
Received: from warum.uni-mannheim.de (localhost [127.0.0.1])
	by warum.uni-mannheim.de (8.12.9/8.12.9) with ESMTP id h5QKBfx7026713
	for <autoconf@gnu.org>; Thu, 26 Jun 2003 22:11:41 +0200 (MEST)
Received: (from amavis@localhost)
	by warum.uni-mannheim.de (8.12.9/8.12.9/Submit) id h5QKBLP6026711
	for autoconf@gnu.org; Thu, 26 Jun 2003 22:11:21 +0200 (MEST)
X-Authentication-Warning: warum.uni-mannheim.de: amavis set sender to <> using
	-f
MIME-Version: 1.0
X-Mailer: MIME-tools 5.411 (Entity 5.404)
Message-Id: <VSXXyyviPh@warum>
Content-Type: multipart/report; report-type=delivery-status;
    boundary="----------=_1056658280-26422-1"
From: amavisd-new <postmaster@warum.uni-mannheim.de>
To: <autoconf@gnu.org>
Date: Thu, 26 Jun 2003 22:11:20 +0200 (MEST)
X-Virus-Scanned: by amavisd-new
Subject: VIRUS (W32/Sobig-E) IN YOUR MAIL
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 20:25:51 -0000

This is a multi-part message in MIME format...

------------=_1056658280-26422-1
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

VIRUS ALERT

Our virus checker found
    virus: W32/Sobig-E
in your email to the following recipient:
-> walt@pi4.informatik.uni-mannheim.de

Delivery of the email was stopped!

Please check your system for viruses,
or ask your system administrator to do so.

For your reference, here are headers from your email:
------------------------- BEGIN HEADERS -----------------------------
From: <autoconf@gnu.org>
To: <walt@pi4.informatik.uni-mannheim.de>
Subject: Re: Application
Date: Thu, 26 Jun 2003 4:11:04 --0700
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="CSmtpMsgPart123X456_000_002FA10A"
-------------------------- END HEADERS ------------------------------

------------=_1056658280-26422-1
Content-Type: message/delivery-status
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Description: Delivery error report

Reporting-MTA: dns; warum
Arrival-Date: Thu, 26 Jun 2003 22:11:20 +0200 (MEST)

Final-Recipient: rfc822; walt@pi4.informatik.uni-mannheim.de
Action: failed
Status: 5.7.1
Diagnostic-Code: smtp;
	550 5.7.1 Message content rejected, id=XXyyviPh - VIRUS: W32/Sobig-E
Last-Attempt-Date: Thu, 26 Jun 2003 22:11:20 +0200 (MEST)

------------=_1056658280-26422-1
Content-Type: text/rfc822-headers
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-Description: Undelivered-message headers

From: <autoconf@gnu.org>
To: <walt@pi4.informatik.uni-mannheim.de>
Subject: Re: Application
Date: Thu, 26 Jun 2003 4:11:04 --0700
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="CSmtpMsgPart123X456_000_002FA10A"

------------=_1056658280-26422-1--



From MAILER-DAEMON Thu Jun 26 18:32:29 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VfHI-00043T-8j
	for mharc-autoconf@gnu.org; Thu, 26 Jun 2003 18:31:40 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19VfG9-0003XB-1o
	for autoconf@gnu.org; Thu, 26 Jun 2003 18:30:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VfG0-0003Ol-AC
	for autoconf@gnu.org; Thu, 26 Jun 2003 18:30:23 -0400
Received: from whatexit.org ([64.32.179.55])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19VfEK-0002X4-D3
	for autoconf@gnu.org; Thu, 26 Jun 2003 18:28:36 -0400
Received: by whatexit.org (Postfix, from userid 1062)
	id DED3E663C; Thu, 26 Jun 2003 18:28:34 -0400 (EDT)
To: autoconf@gnu.org
Message-Id: <20030626222834.DED3E663C@whatexit.org>
Date: Thu, 26 Jun 2003 18:28:34 -0400 (EDT)
From: cbm@whatexit.org (Cliff  Miller)
cc: cbm@whatexit.org
Subject: moving things from configure.ac to acinclude.m4
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 26 Jun 2003 22:31:38 -0000


i am autoconfiscating (2.57) a number of packages which all use a set of
third-party libraries for which i've written AC_ARG_WITH macros.

the configure.ac files for all the packages using these libraries are
nearly identical, except for (a) the args to AC_INIT and AM_INIT_AUTOMAKE,
and (b) in a few cases, a few additional AC_CHECK invocations.

i decided that it would be less error-prone to write a macro for the
invariant piece of configure.ac which tests for the third-party libraries
(and does AC_SUBST, etc.), moving those 30 lines of tests from configure.ac
to acinclude.m4, and invoking it from configure.ac with a single macro.
thus whenever i need to update these tests, i can just re-copy acinclude.m4
into all these packages and autoreconf, rather than hand-editing every
package's configure.ac.

before:

AC_PREREQ(2.57)
AC_INIT(package,0.1)
AM_INIT_AUTOMAKE(package,0.1)
{30 lines of AC_PROG_*, AC_ARG_*, AC_CHECK_*, AC_SUBST, etc.}
AC_CONFIG_HEADERS([config.h]
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT

after:
AC_PREREQ(2.57)
AC_INIT(package,0.1)
AM_INIT_AUTOMAKE(package,0.1)
AC_CBM_LIB_TESTS
AC_CONFIG_HEADERS([config.h]
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT

[where now acinclude.m4 contains:]

AC_DEFUN(
    AC_CBM_LIB_TESTS,
    [
	{30 lines of AC_PROG_*, .... }
    ]
)

after making this change, the order of the checks in configure has
changed... in particular, it seems that AC_HEADER_STDC checks moved
practically to the top of configure, before AC_PROG_CC figures out
how to invoke gcc, so now the AC_HEADER_STDC checks fail.

even though the 30 lines of tests are in the same order in
AC_CBM_LIB_TESTS as they were in the original configure.ac file
(the code was in fact cut-and-pasted verbatim), the order of macro
expansion in the resulting configure file is different.  is there
something special about certain AC_ macros that causes their expansions
to behave differently depending on whether or not they are inside
another macro or not?  or is the issue that i pushed these calls
into acinclude.m4?  (something about diversions, i assume...?)

is this behavior documented somewhere so i can know what i can and
cannot encapsulate inside a macro and/or inside acinclude.m4?

mtia,
-cliff




From MAILER-DAEMON Fri Jun 27 09:00:06 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19VsjY-0005Zy-DL
	for mharc-autoconf@gnu.org; Fri, 27 Jun 2003 08:53:44 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19Vshu-00052W-7X
	for autoconf@gnu.org; Fri, 27 Jun 2003 08:52:02 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19VshL-0004kJ-EK
	for autoconf@gnu.org; Fri, 27 Jun 2003 08:51:29 -0400
Received: from colo.agora-net.com ([207.245.84.69])
	by monty-python.gnu.org with esmtp (Exim 4.20)
	id 19VsfV-00043L-Q3; Fri, 27 Jun 2003 08:49:33 -0400
Received: from ttn by colo.agora-net.com with local (Exim 3.34 #1)
	id 19VsfQ-0005S0-00; Fri, 27 Jun 2003 08:49:28 -0400
From: Thien-Thi Nguyen <ttn@glug.org>
To: cs@gnumatica.com
In-reply-to: <20030625205726.32453.qmail@webmail-2-1.secureserver.net>
	(cs@gnumatica.com)
References: <20030625205726.32453.qmail@webmail-2-1.secureserver.net>
Message-Id: <E19VsfQ-0005S0-00@colo.agora-net.com>
Sender: Thien-Thi Nguyen <ttn@agora-net.com>
Date: Fri, 27 Jun 2003 08:49:28 -0400
cc: automake@gnu.org
cc: autoconf@gnu.org
Subject: Re: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: ttn@glug.org
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 27 Jun 2003 12:53:37 -0000

   From: cs@gnumatica.com
   Date: Wed, 25 Jun 2003 13:57:26 -0700

   This overhead will take work and commitment from people.  How much
   improvement can this deliver?? 10%? 50%? 500%?

the way to look at it is that you WANT work and commitment from people,
but you want the right kind of work and commitment.  the improvement
cannot be measured simply w/ a number, so if you are looking for that
kind of change, this advice is not for you.

   Is this advice meant only for large (>10? >100?) development groups???

it's meant for any size group that wants to work smarter and that has
the desire and discipline to try that method.  of course, you have to
tweak the method as you scale up.  for a very large group, feel free
hire a management consultant (who will give you pretty much the same
advice but w/ glossy brochures ;-).

   The reason I am asking is that I usually work on projects with <10
   developers.  Things usually get done somehow regardless.

well, the art of manglement is to finesse the "somehow" into "our how"
where "our" is customized to the particular group's dynamics, tight in
the right places, and slackful in the right places.  that's a lot of
weasel words, you are sure to notice.  the activity i suggested falls
into the general class of "reflective activity" which is, at its core, a
force that works to oppose weasling.  that's why all art is ironic, btw.

   (I got a bad deal when I went crazy about OOP and decided
   to do everything object oriented only to discover that small
   projects don't necessarily benefit from OOP.  Sometimes
   OOP can even *slow down* a little project.  I hope this
   ChangeLog business is not another "OOP")

it all depends on the people who have to carry it out.  good luck!

thi



From MAILER-DAEMON Sat Jun 28 03:07:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19W9oJ-0003BT-08
	for mharc-autoconf@gnu.org; Sat, 28 Jun 2003 03:07:47 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19W9m5-0002iQ-NE
	for autoconf@gnu.org; Sat, 28 Jun 2003 03:05:29 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19W9m2-0002a6-Cb
	for autoconf@gnu.org; Sat, 28 Jun 2003 03:05:27 -0400
Received: from pcp940794pcs.cstltn01.in.comcast.net ([68.57.240.3]
	helo=isrec-sun1.unil.ch)
	by monty-python.gnu.org with esmtp (Exim 4.20)	id 19W9lw-00021m-QP
	for autoconf@gnu.org; Sat, 28 Jun 2003 03:05:21 -0400
Message-ID: <4c0f01c33d43$055702ef$31e19e83@5m0kfz3>
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
To: autoconf@gnu.org
Date: Sat, 28 Jun 2003 01:05:27 -0600
From: "Riley Silva" <rsilva_ma@jura.hu>
MIME-Version: 1.0
Content-Type: text/html
Content-Transfer-Encoding: 8bit
Subject: Fwd: your girlfriend!
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 28 Jun 2003 07:07:45 -0000

 <HTML> <body BGCOLOR=#ffffff> 
   <p align="center"><font face="verdana">
Make your nuts and p<QY>en<KL>ís l<WY>arger and get more satisfaction.<br>
<a href="http://www.cheaponnet1.com/mka/m2c.php?man=st4vp">Read about it <W>he<C>r<QAV>e<br><img src="http://www.cheaponnet1.com/vp.gif" border=0></a><br><br>
<a href="http://wwW.web-spEcIALZ.Com/b%65%6B/in%64%65%78.ht%6D%6C">Remove me from the list</a></font></p>	
	
		</BODY>
 
  
</HTML> 
	





From MAILER-DAEMON Sat Jun 28 14:48:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19WKjy-0003lm-Ni
	for mharc-autoconf@gnu.org; Sat, 28 Jun 2003 14:48:02 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19WKjl-0003BP-D6
	for autoconf@gnu.org; Sat, 28 Jun 2003 14:47:49 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19WKj1-0002ND-9d
	for autoconf@gnu.org; Sat, 28 Jun 2003 14:47:04 -0400
Received: from smtpout-1-1a.secureserver.net ([64.202.166.20])
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19WKiu-0001zM-SZ
	for autoconf@gnu.org; Sat, 28 Jun 2003 14:46:57 -0400
Received: (qmail 3026 invoked from network); 28 Jun 2003 18:47:03 -0000
Received: from unknown (HELO webmail-2-1.secureserver.net) (64.202.166.122)
  by smtpout-1-1a.secureserver.net with SMTP; 28 Jun 2003 18:47:03 -0000
Received: (qmail 4753 invoked by uid 99); 28 Jun 2003 18:46:55 -0000
Message-ID: <20030628184655.4752.qmail@webmail-2-1.secureserver.net>
Date: Sat, 28 Jun 2003 11:46:55 -0700
From: cs@gnumatica.com
To: ttn@glug.org
MIME-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
cc: automake@gnu.org
cc: autoconf@gnu.org
Subject: RE: Is a ChangeLog file realistic if /lots/ of developers adding
 /lots/ of changes?
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 28 Jun 2003 18:48:00 -0000

I appreciate your helpful input.  I will propose your suggestions to my lab
and hope they are open to it.

Thanks again,

Chris




> -------- Original Message --------
> Subject: Re: Is a ChangeLog file realistic if /lots/ of developers
> adding  /lots/ of changes?
> From: "Thien-Thi Nguyen" <ttn@glug.org>
> Date: Fri, June 27, 2003 5:49 am
> To: cs@gnumatica.com
> Cc: automake@gnu.org, autoconf@gnu.org
> 
> From: cs@gnumatica.com
>    Date: Wed, 25 Jun 2003 13:57:26 -0700
> 
>    This overhead will take work and commitment from people.  How much
>    improvement can this deliver?? 10%? 50%? 500%?
> 
> the way to look at it is that you WANT work and commitment from
> people,
> but you want the right kind of work and commitment.  the improvement
> cannot be measured simply w/ a number, so if you are looking for that
> kind of change, this advice is not for you.
> 
>    Is this advice meant only for large (>10? >100?) development
> groups???
> 
> it's meant for any size group that wants to work smarter and that has
> the desire and discipline to try that method.  of course, you have to
> tweak the method as you scale up.  for a very large group, feel free
> hire a management consultant (who will give you pretty much the same
> advice but w/ glossy brochures ;-).
> 
>    The reason I am asking is that I usually work on projects with <10
>    developers.  Things usually get done somehow regardless.
> 
> well, the art of manglement is to finesse the "somehow" into "our how"
> where "our" is customized to the particular group's dynamics, tight in
> the right places, and slackful in the right places.  that's a lot of
> weasel words, you are sure to notice.  the activity i suggested falls
> into the general class of "reflective activity" which is, at its core,
> a
> force that works to oppose weasling.  that's why all art is ironic,
> btw.
> 
>    (I got a bad deal when I went crazy about OOP and decided
>    to do everything object oriented only to discover that small
>    projects don't necessarily benefit from OOP.  Sometimes
>    OOP can even *slow down* a little project.  I hope this
>    ChangeLog business is not another "OOP")
> 
> it all depends on the people who have to carry it out.  good luck!
> 
> thi



From MAILER-DAEMON Sat Jun 28 16:30:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.20)
	id 19WMKY-0003dU-LT
	for mharc-autoconf@gnu.org; Sat, 28 Jun 2003 16:29:54 -0400
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20)
	id 19WMKK-0002sI-CE
	for autoconf@gnu.org; Sat, 28 Jun 2003 16:29:40 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20)
	id 19WMKA-0002Tq-1F
	for autoconf@gnu.org; Sat, 28 Jun 2003 16:29:31 -0400
Received: from [64.156.222.240] (helo=ff1.pfads.com)
	by monty-python.gnu.org with smtp (Exim 4.20)
	id 19WMJy-0001sE-AF
	for autoconf@gnu.org; Sat, 28 Jun 2003 16:29:18 -0400
From: "dancingwords" <dancingwords@pfads.com>
To: autoconf@gnu.org
Message-ID: <-m2Uet0eVYcMNkHBtjdo3Q@pfads.com>
Date: Sat, 28 Jun 2003 16:29:47 -0400 (EDT)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=_-m2Uet0eVYcMNkHBtjdo3Q"
Subject: smartsuite and viavoice from lotus
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Post: <mailto:autoconf@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/autoconf>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 28 Jun 2003 20:29:52 -0000

--=_-m2Uet0eVYcMNkHBtjdo3Q
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Content-Disposition: inline


Lotus SmartSuite Millennium Edition 9.6
(Includes ViaVoice)

Only $29.94
(A $245.00 Value)  

8 Great Programs

Lotus Word Pro- advanced word processor
Lotus 1-2-3- worlds most famous spreadsheet
Freelance Graphics- like PowerPoint
Lotus Approach- award winning relational database
Lotus SmartCenter- customizable command center
Lotus Organizer- personal information manager
Lotus FastSite- Web publishing tool
IBM ViaVoice- speech recognition software

SmartSuite 9.6 exchanges documents seamlessly to and from Freelance
 Graphics
and PowerPoint, Word Pro and Microsoft Word or 1-2-3 and Excel.

Includes a free headset

Only $29.94

To order or get more info paste the link below into your web
 browser:
http://pfads.com/c/-m2Uet0eVYcMNkHBtjdo3Q.html?1



to get off our list, tell us.
http://pfads.com/u/-m2Uet0eVYcMNkHBtjdo3Q.html.   



--=_-m2Uet0eVYcMNkHBtjdo3Q
Content-Type: text/html; charset=us-ascii;
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

<html><head><title>Lotus SmartSuite Millennium Edition 9.6</title>
</head><body><div align="center"><a href="http://pfads.com/c/-m2Uet0eVYcMNkHBtjdo3Q.html?1">
<img src="http://pfads.com/o/-m2Uet0eVYcMNkHBtjdo3Q.gif"/><img
 border="0" src="http://www.nanofitness.com/images/lotus1.gif"/>
</a></div>
to get off our list, <a href="http://pfads.com/u/-m2Uet0eVYcMNkHBtjdo3Q.html">
tell us</a>.

</body></html>
	
--=_-m2Uet0eVYcMNkHBtjdo3Q--
	



