From MAILER-DAEMON Tue May 01 20:04:50 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPN3q-0004x3-GU
	for mharc-autoconf@gnu.org; Tue, 01 May 2012 20:04:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60751)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent@vinc17.net>) id 1SPN3n-0004wq-Ps
	for autoconf@gnu.org; Tue, 01 May 2012 20:04:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vincent@vinc17.net>) id 1SPN3g-0007ma-Qr
	for autoconf@gnu.org; Tue, 01 May 2012 20:04:47 -0400
Received: from vinc17.pck.nerim.net ([213.41.242.187]:64647
	helo=smtp-xvii.vinc17.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent@vinc17.net>)
	id 1SPN3g-0007mB-Gg; Tue, 01 May 2012 20:04:40 -0400
Received: by xvii.vinc17.org (Postfix, from userid 1000)
	id DB1AA310008; Wed,  2 May 2012 02:04:36 +0200 (CEST)
Date: Wed, 2 May 2012 02:04:36 +0200
From: Vincent Lefevre <vincent@vinc17.net>
To: Paul Eggert <eggert@cs.ucla.edu>
Subject: Re: AC_C_NORETURN macro?
Message-ID: <20120502000436.GC5459@xvii.vinc17.org>
Mail-Followup-To: Vincent Lefevre <vincent@vinc17.net>,
	Paul Eggert <eggert@cs.ucla.edu>, Bruno Haible <bruno@clisp.org>,
	bug-gnulib@gnu.org, Eric Blake <eblake@redhat.com>,
	autoconf@gnu.org
References: <20120425154055.GA11348@ypig.lip.ens-lyon.fr>
	<4F982533.2060003@redhat.com>
	<20120426085422.GE3626@xvii.vinc17.org> <1718724.Iug06CYecm@linuix>
	<20120429153449.GR3626@xvii.vinc17.org>
	<4F9D72A3.3040006@cs.ucla.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <4F9D72A3.3040006@cs.ucla.edu>
X-Mailer-Info: http://www.vinc17.net/mutt/
User-Agent: Mutt/1.5.21-6201-vl-r48020 (2011-12-20)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.41.242.187
Cc: bug-gnulib@gnu.org, autoconf@gnu.org, Bruno Haible <bruno@clisp.org>,
	Eric Blake <eblake@redhat.com>
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 00:04:49 -0000

On 2012-04-29 09:56:03 -0700, Paul Eggert wrote:
> On 04/29/2012 08:34 AM, Vincent Lefevre wrote:
> >I don't like the fact that you assume by default that compilers
> >are non-conforming
>=20
> Nor do I.  How about the following improvement to the heuristic?
> It is just a heuristic so we can't do a perfect job, but the
> following should be better than what we have now:
[...]

Yes, this is better, IMHO. The main problem is that partial C11
implementations that support _Noreturn but not other mandatory
C11 features may not have __STDC_VERSION__ defined to 201112.

--=20
Vincent Lef=E8vre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


From MAILER-DAEMON Tue May 01 20:11:11 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPN9z-0005cH-D8
	for mharc-autoconf@gnu.org; Tue, 01 May 2012 20:11:11 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60994)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent@vinc17.net>) id 1SPN9w-0005c1-So
	for autoconf@gnu.org; Tue, 01 May 2012 20:11:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vincent@vinc17.net>) id 1SPN9u-0001Jp-VC
	for autoconf@gnu.org; Tue, 01 May 2012 20:11:08 -0400
Received: from vinc17.pck.nerim.net ([213.41.242.187]:64736
	helo=smtp-xvii.vinc17.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent@vinc17.net>)
	id 1SPN9u-0001Jf-Lp; Tue, 01 May 2012 20:11:06 -0400
Received: by xvii.vinc17.org (Postfix, from userid 1000)
	id 9396D310008; Wed,  2 May 2012 02:11:04 +0200 (CEST)
Date: Wed, 2 May 2012 02:11:04 +0200
From: Vincent Lefevre <vincent@vinc17.net>
To: Bruno Haible <bruno@clisp.org>
Subject: Re: AC_C_NORETURN macro?
Message-ID: <20120502001104.GD5459@xvii.vinc17.org>
Mail-Followup-To: Vincent Lefevre <vincent@vinc17.net>,
	Bruno Haible <bruno@clisp.org>, bug-gnulib@gnu.org,
	Paul Eggert <eggert@cs.ucla.edu>, Eric Blake <eblake@redhat.com>,
	autoconf@gnu.org
References: <20120425154055.GA11348@ypig.lip.ens-lyon.fr>
	<1455312.oqp52tTLhT@linuix>
	<20120429152507.GA22994@xvii.vinc17.org>
	<1403466.bj5dMyfdQo@linuix>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <1403466.bj5dMyfdQo@linuix>
X-Mailer-Info: http://www.vinc17.net/mutt/
User-Agent: Mutt/1.5.21-6201-vl-r48020 (2011-12-20)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.41.242.187
Cc: Eric Blake <eblake@redhat.com>, Paul Eggert <eggert@cs.ucla.edu>,
	bug-gnulib@gnu.org, autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 00:11:10 -0000

On 2012-04-29 18:28:03 +0200, Bruno Haible wrote:
> And clashes regarding the 'noreturn' macro? I don't see any. In a compi=
lation
> unit, the last definition matters, and since both definitions (from gnu=
lib
> and from the other package) are supposedly correct, what is the problem=
?

If <stdnoreturn.h> (either the standard one or from Gnulib) is used
together with GCC's

  __attribute__ ((noreturn))

in the other package, things will not work as expected.

--=20
Vincent Lef=E8vre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


From MAILER-DAEMON Tue May 01 20:17:34 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPNGA-00086y-EO
	for mharc-autoconf@gnu.org; Tue, 01 May 2012 20:17:34 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51139)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1SPNG7-00082f-0G
	for autoconf@gnu.org; Tue, 01 May 2012 20:17:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1SPNG4-0003Yg-Sy
	for autoconf@gnu.org; Tue, 01 May 2012 20:17:30 -0400
Received: from mx1.redhat.com ([209.132.183.28]:43700)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>)
	id 1SPNG0-0003Xm-Eq; Tue, 01 May 2012 20:17:24 -0400
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q420HDA9002242
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 1 May 2012 20:17:14 -0400
Received: from [10.3.113.110] (ovpn-113-110.phx2.redhat.com [10.3.113.110])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id q420HDPo020950; Tue, 1 May 2012 20:17:13 -0400
Message-ID: <4FA07D08.7000407@redhat.com>
Date: Tue, 01 May 2012 18:17:12 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:12.0) Gecko/20120424 Thunderbird/12.0
MIME-Version: 1.0
To: Vincent Lefevre <vincent@vinc17.net>, Bruno Haible <bruno@clisp.org>,
	bug-gnulib@gnu.org, Paul Eggert <eggert@cs.ucla.edu>, autoconf@gnu.org
Subject: Re: AC_C_NORETURN macro?
References: <20120425154055.GA11348@ypig.lip.ens-lyon.fr>
	<1455312.oqp52tTLhT@linuix>
	<20120429152507.GA22994@xvii.vinc17.org>
	<1403466.bj5dMyfdQo@linuix> <20120502001104.GD5459@xvii.vinc17.org>
In-Reply-To: <20120502001104.GD5459@xvii.vinc17.org>
X-Enigmail-Version: 1.4.1
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig8C3643FACEC11BDB60A7C7B7"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 00:17:33 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8C3643FACEC11BDB60A7C7B7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 05/01/2012 06:11 PM, Vincent Lefevre wrote:
> On 2012-04-29 18:28:03 +0200, Bruno Haible wrote:
>> And clashes regarding the 'noreturn' macro? I don't see any. In a comp=
ilation
>> unit, the last definition matters, and since both definitions (from gn=
ulib
>> and from the other package) are supposedly correct, what is the proble=
m?
>=20
> If <stdnoreturn.h> (either the standard one or from Gnulib) is used
> together with GCC's
>=20
>   __attribute__ ((noreturn))
>=20
> in the other package, things will not work as expected.

That would be a bug in the other package for using noreturn instead of
__noreturn__, and should be fixable.

--=20
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enig8C3643FACEC11BDB60A7C7B7
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJPoH0IAAoJEKeha0olJ0NqMccIAI72audM8RglZmJ1oP4Y4Fr3
9MRaqSwxYIp0MaPozFJ1y39x4a33KegoxJvluJkIiMsLzgnKaJFa1j4kyBUxPE9f
IQ6WqLlv7MVwjlrbcgbNaEq1HxPf0LCRbVhd99OuplH8OprJDGJfyAOM6gKDJgUI
6X+KHYtjKskMZqAlM2Mbor3s+EymL5pn721Baaa9JRUKtgb/bV+TtrdWVVXtVw6t
SJ3vqoVkX8srnr3vnNCfeJYBU9sQqL4gktHSv7s9kPIS/FHmgC8/omlrs4WVeIKV
AQCixae5njSpa2rVQ04EMOrRz7IutErS/l1a97721isE4X3XNVKxtwkfA7y2334=
=bsb1
-----END PGP SIGNATURE-----

--------------enig8C3643FACEC11BDB60A7C7B7--


From MAILER-DAEMON Tue May 01 21:49:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPOgw-0001yD-Nv
	for mharc-autoconf@gnu.org; Tue, 01 May 2012 21:49:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45003)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent@vinc17.net>) id 1SPOgu-0001xi-GS
	for autoconf@gnu.org; Tue, 01 May 2012 21:49:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vincent@vinc17.net>) id 1SPOgs-0003V5-HG
	for autoconf@gnu.org; Tue, 01 May 2012 21:49:16 -0400
Received: from vinc17.pck.nerim.net ([213.41.242.187]:51434
	helo=smtp-xvii.vinc17.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent@vinc17.net>)
	id 1SPOgs-0003Qz-5h; Tue, 01 May 2012 21:49:14 -0400
Received: by xvii.vinc17.org (Postfix, from userid 1000)
	id 72B6431000E; Wed,  2 May 2012 03:49:11 +0200 (CEST)
Date: Wed, 2 May 2012 03:49:11 +0200
From: Vincent Lefevre <vincent@vinc17.net>
To: Eric Blake <eblake@redhat.com>
Subject: Re: AC_C_NORETURN macro?
Message-ID: <20120502014911.GE5459@xvii.vinc17.org>
Mail-Followup-To: Vincent Lefevre <vincent@vinc17.net>,
	Eric Blake <eblake@redhat.com>, Bruno Haible <bruno@clisp.org>,
	bug-gnulib@gnu.org, Paul Eggert <eggert@cs.ucla.edu>,
	autoconf@gnu.org
References: <20120425154055.GA11348@ypig.lip.ens-lyon.fr>
	<1455312.oqp52tTLhT@linuix>
	<20120429152507.GA22994@xvii.vinc17.org>
	<1403466.bj5dMyfdQo@linuix> <20120502001104.GD5459@xvii.vinc17.org>
	<4FA07D08.7000407@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <4FA07D08.7000407@redhat.com>
X-Mailer-Info: http://www.vinc17.net/mutt/
User-Agent: Mutt/1.5.21-6201-vl-r48020 (2011-12-20)
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.41.242.187
Cc: bug-gnulib@gnu.org, Paul Eggert <eggert@cs.ucla.edu>,
	Bruno Haible <bruno@clisp.org>, autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 02 May 2012 01:49:18 -0000

On 2012-05-01 18:17:12 -0600, Eric Blake wrote:
> On 05/01/2012 06:11 PM, Vincent Lefevre wrote:
> > If <stdnoreturn.h> (either the standard one or from Gnulib) is used
> > together with GCC's
> >=20
> >   __attribute__ ((noreturn))
> >=20
> > in the other package, things will not work as expected.
>=20
> That would be a bug in the other package for using noreturn instead of
> __noreturn__, and should be fixable.

This is mainly GCC's fault to accept it, and more importantly to
use the noreturn version in examples instead of __noreturn__. I've
reported the following bug:

  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53182

--=20
Vincent Lef=E8vre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


From MAILER-DAEMON Thu May 03 09:20:19 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SPvxD-0007D2-CN
	for mharc-autoconf@gnu.org; Thu, 03 May 2012 09:20:19 -0400
Received: from eggs.gnu.org ([208.118.235.92]:38123)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1SPugV-0001Uh-4X
	for autoconf@gnu.org; Thu, 03 May 2012 07:59:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1SPugC-0002iI-Pq
	for autoconf@gnu.org; Thu, 03 May 2012 07:58:58 -0400
Received: from calypso.view.net.au ([203.122.243.188]:56809)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1SPugC-0002fx-DE
	for autoconf@gnu.org; Thu, 03 May 2012 07:58:40 -0400
Received: from localhost (localhost [127.0.0.1])
	by calypso.view.net.au (Postfix) with ESMTP id 38C021442E
	for <autoconf@gnu.org>; Thu,  3 May 2012 21:28:34 +0930 (CST)
X-Virus-Scanned: amavisd-new at view.net.au
Received: from calypso.view.net.au ([127.0.0.1])
	by localhost (calypso.view.net.au [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id BiJcSrF0dpcd for <autoconf@gnu.org>;
	Thu,  3 May 2012 21:28:10 +0930 (CST)
Received: by calypso.view.net.au (Postfix, from userid 1000)
	id C25B214431; Thu,  3 May 2012 21:28:10 +0930 (CST)
Received: from localhost (localhost [127.0.0.1])
	by calypso.view.net.au (Postfix) with ESMTP id BD7981442E
	for <autoconf@gnu.org>; Thu,  3 May 2012 21:28:10 +0930 (CST)
Date: Thu, 3 May 2012 21:28:10 +0930 (CST)
From: Michael Talbot-Wilson <mtw@view.net.au>
To: autoconf@gnu.org
Subject: CONFIG_SUBDIRS defaults
Message-ID: <Pine.LNX.4.64.1205032116580.4769@calypso.view.net.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 203.122.243.188
X-Mailman-Approved-At: Thu, 03 May 2012 09:20:18 -0400
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 03 May 2012 11:59:09 -0000

Is there any way for the main configure, as generated by autoconf, to
automatically override defaults for options in the one invoked with
AC_CONFIG_SUBDIRS()?  Or can it only be done by the user manually
entering the option?  I'd like the main configure run with no options
to override the default of a setting that only exists in the other
one, but I can't see how to do it.



From MAILER-DAEMON Sat May 05 09:07:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQeiD-0007FV-DG
	for mharc-autoconf@gnu.org; Sat, 05 May 2012 09:07:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60924)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <richardashaudacity@googlemail.com>)
	id 1SQeiA-0007Ef-MH
	for autoconf@gnu.org; Sat, 05 May 2012 09:07:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <richardashaudacity@googlemail.com>)
	id 1SQei7-0002pm-KQ
	for autoconf@gnu.org; Sat, 05 May 2012 09:07:46 -0400
Received: from mail-we0-f169.google.com ([74.125.82.169]:48569)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <richardashaudacity@googlemail.com>)
	id 1SQei7-0002pG-B8
	for autoconf@gnu.org; Sat, 05 May 2012 09:07:43 -0400
Received: by werb14 with SMTP id b14so1956182wer.0
	for <autoconf@gnu.org>; Sat, 05 May 2012 06:07:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=20120113;
	h=sender:subject:from:reply-to:to:cc:in-reply-to:references
	:content-type:organization:date:message-id:mime-version:x-mailer
	:content-transfer-encoding;
	bh=l1XN/XP5aBk8WWvSiAm9+/pwhAoOHFbDDWGfpDG+Ppg=;
	b=Y1SRtgtkEsBgsaZmq8Lq0uh+/Fkj8yZvFNG941xuHA4pguUApQfSTx5+D/lDRLaGAL
	ymsd7tOYjIY7L9zlzOEy4iJcvDwVJ+KA5EkVInbnIIxBqh1TvBC7l1CvQjcHTAyIosCU
	YmGSbMRCs99VB1BcrbKLLBlbVpRGwJI0V0mHuFZuYeGTfS/h+csGXUUOpkYgRMmomYIW
	cAKOoQhqyC54p5TvAclE0KuwNTFgXiYli8Oj5aJ4c1RlBI/x2qHrN+4Zt1yLTlEaSK97
	p0ytCeB7gcKQaEfYKxcJkeramT9SvtbGuBsY08QPYhhPjO7hONJMH5ctsSX2hxnNlZh0
	cDbA==
Received: by 10.216.142.103 with SMTP id h81mr3026840wej.62.1336223260264;
	Sat, 05 May 2012 06:07:40 -0700 (PDT)
Received: from [192.168.0.33] (cpc2-brmb8-2-0-cust5.1-3.cable.virginmedia.com.
	[80.2.155.6])
	by mx.google.com with ESMTPS id du4sm8782660wib.10.2012.05.05.06.07.37
	(version=SSLv3 cipher=OTHER); Sat, 05 May 2012 06:07:38 -0700 (PDT)
Sender: Richard Ash <richardashaudacity@googlemail.com>
Subject: Re: CONFIG_SUBDIRS defaults
From: Richard Ash <richard@audacityteam.org>
To: Michael Talbot-Wilson <mtw@view.net.au>
In-Reply-To: <Pine.LNX.4.64.1205032116580.4769@calypso.view.net.au>
References: <Pine.LNX.4.64.1205032116580.4769@calypso.view.net.au>
Content-Type: text/plain; charset="UTF-8"
Organization: Audacity Team
Date: Sat, 05 May 2012 14:07:36 +0100
Message-ID: <1336223256.2559.2.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.3
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 74.125.82.169
Cc: autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: richard@audacityteam.org
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 05 May 2012 13:07:48 -0000

On Thu, 2012-05-03 at 21:28 +0930, Michael Talbot-Wilson wrote:
> Is there any way for the main configure, as generated by autoconf, to
> automatically override defaults for options in the one invoked with
> AC_CONFIG_SUBDIRS()?  Or can it only be done by the user manually
> entering the option?  I'd like the main configure run with no options
> to override the default of a setting that only exists in the other
> one, but I can't see how to do it.

$ac_configure_args seems to be the best available solution, although
it's an undocumented autoconf internal.
Some previous mailing list messages on it (no, the hypothetical macro
never materialised):

http://lists.gnu.org/archive/html/autoconf/2009-03/msg00062.html

http://lists.gnu.org/archive/html/autoconf/2010-09/msg00090.html

Richard



From MAILER-DAEMON Sat May 05 18:16:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQnH7-0005lx-8t
	for mharc-autoconf@gnu.org; Sat, 05 May 2012 18:16:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50938)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jxflix780@gmail.com>) id 1SQmrc-00046m-16
	for autoconf@gnu.org; Sat, 05 May 2012 17:50:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jxflix780@gmail.com>) id 1SQmra-0001Sx-7F
	for autoconf@gnu.org; Sat, 05 May 2012 17:50:03 -0400
Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:60344)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jxflix780@gmail.com>) id 1SQmrZ-0001RS-U7
	for autoconf@gnu.org; Sat, 05 May 2012 17:50:02 -0400
Received: by lagz14 with SMTP id z14so3372496lag.0
	for <autoconf@gnu.org>; Sat, 05 May 2012 14:49:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:date:message-id:subject:from:to:content-type;
	bh=FwY2vBNgMky+JZ2jnIc2y56i4KNdD2SLtZZXIyKXzOM=;
	b=EWcSH7rWydoMle9l7QG8ud0iYP7TsRDbQwVzfEHMGLT3+fiwT9Yp8r7HzqJSHGutwU
	wty+iq2U0YjcQqBlYZMfYVLpiTQpqNSZLDpyb1wRCndENw0T+K4gSQb4+dxaPPOwbG8H
	IXeTUMLUm509RjENFtCLjyfV6LW3biI4T3iQ9Fh407KwqPAss5qjqny6mA+Wy3ExohQh
	0Hog6mZpYrfDsHx7ZuUpCGxP6gqY1jrLLattAs6RnJEfmUrewHxBJQiOzCbuzxLhzovo
	Qi6j0ll/FpHMMhG2s0mviKFrMEBs13PtJG6LKtfjtr+qxBoo/yADS2stGmnfOkW/fmJj
	bpZw==
MIME-Version: 1.0
Received: by 10.152.48.6 with SMTP id h6mr1852561lan.30.1336254598728; Sat, 05
	May 2012 14:49:58 -0700 (PDT)
Received: by 10.114.5.66 with HTTP; Sat, 5 May 2012 14:49:58 -0700 (PDT)
Date: Sat, 5 May 2012 23:49:58 +0200
Message-ID: <CACtkP36Lc_ejt0z18RWvCXFT6bqFHphQP81j+2ibAXtv1=51-A@mail.gmail.com>
Subject: Enforce strict C99 in Autoconf project
From: John X <jxflix780@gmail.com>
To: autoconf@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.215.41
X-Mailman-Approved-At: Sat, 05 May 2012 18:16:23 -0400
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sat, 05 May 2012 21:50:05 -0000

Hello.

I have a program written in C and it uses Autoconf. It uses
AC_PROG_CC_C99 in configure.ac which when used with gcc translates to
the -std=gnu99 compiler option. The program is however written
somewhat strictly according to the C99 specification and does not use
any GNU extensions. From what I understand -std=c99 -pedantic is more
in line with what I want it to do.

How should I set up Autoconf in order to make the compiler enforce
that? Does it support this scenario or do I have to specify the
compiler options for all possible compilers?

- John


From MAILER-DAEMON Sat May 05 20:59:09 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQpob-00016H-0m
	for mharc-autoconf@gnu.org; Sat, 05 May 2012 20:59:09 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41248)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1SQpoY-00016B-3d
	for autoconf@gnu.org; Sat, 05 May 2012 20:59:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1SQpoW-0001QT-HB
	for autoconf@gnu.org; Sat, 05 May 2012 20:59:05 -0400
Received: from smtp.cs.ucla.edu ([131.179.128.62]:58990)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eggert@cs.ucla.edu>) id 1SQpoW-0001Ea-BJ
	for autoconf@gnu.org; Sat, 05 May 2012 20:59:04 -0400
Received: from localhost (localhost.localdomain [127.0.0.1])
	by smtp.cs.ucla.edu (Postfix) with ESMTP id F3B6CA6000E;
	Sat,  5 May 2012 17:58:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu
Received: from smtp.cs.ucla.edu ([127.0.0.1])
	by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Xba9gviKSRjH; Sat,  5 May 2012 17:58:54 -0700 (PDT)
Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net
	[71.189.109.235])
	by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 87D5E39E8006;
	Sat,  5 May 2012 17:58:54 -0700 (PDT)
Message-ID: <4FA5CCC8.8010201@cs.ucla.edu>
Date: Sat, 05 May 2012 17:58:48 -0700
From: Paul Eggert <eggert@cs.ucla.edu>
Organization: UCLA Computer Science Department
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: John X <jxflix780@gmail.com>
Subject: Re: Enforce strict C99 in Autoconf project
References: <CACtkP36Lc_ejt0z18RWvCXFT6bqFHphQP81j+2ibAXtv1=51-A@mail.gmail.com>
In-Reply-To: <CACtkP36Lc_ejt0z18RWvCXFT6bqFHphQP81j+2ibAXtv1=51-A@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 131.179.128.62
Cc: autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 00:59:07 -0000

On 05/05/2012 02:49 PM, John X wrote:
> How should I set up Autoconf in order to make the compiler enforce
> that?

Autoconf is about making programs more portable.
In contrast, requiring each builder to use -pedantic would
make  programs less likely to compile, i.e., it'd make them
less portable.

I'm not saying it can't be done, just that it's not really
Autoconf's goal, which is why the topic doesn't come up much
and why Autoconf doesn't have builtin support for this sort
of thing.


From MAILER-DAEMON Sun May 06 01:25:49 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQtyf-0001zt-6v
	for mharc-autoconf@gnu.org; Sun, 06 May 2012 01:25:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40363)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jxflix780@gmail.com>) id 1SQtyc-0001z3-88
	for autoconf@gnu.org; Sun, 06 May 2012 01:25:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jxflix780@gmail.com>) id 1SQtya-0001OE-9R
	for autoconf@gnu.org; Sun, 06 May 2012 01:25:45 -0400
Received: from mail-lb0-f169.google.com ([209.85.217.169]:55559)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jxflix780@gmail.com>) id 1SQtyZ-0001Nh-Sa
	for autoconf@gnu.org; Sun, 06 May 2012 01:25:44 -0400
Received: by lbjn8 with SMTP id n8so3468061lbj.0
	for <autoconf@gnu.org>; Sat, 05 May 2012 22:25:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=CwXTLiV2JoBv4izbkRCWYeIpZEKhYgtt1/v2OBuFn+A=;
	b=EPZSIeMOqj/2QS35LDYuant7v8HqwgpRZhOSGm7a5joW89nbW0DD+tNhk6UHSNA1Ay
	xlbU56SkNVl2eZ4Nc4W5EjRwLMxjJi/q7KzqqDEPWWLyYDCEwq2mrOr7uKXsOWNG7woH
	6Zf2Rr8NVbCWtJy7C5vAthUngQvV/83AYBUC5g07XY0p8eu+J+oErlWtaEsxwoZI1OxR
	pfEE+BUtNmk9qTaL92MsRN2Fi7UwKHIVPU4jxyfaAi8a0pdvnDbjzKB4Ne1nkvqTVaZg
	5ZBg2tG7SUku9uHiWlcy0OmBhDyhKtkFZhFBEriZf7aVJ736aYLnf/uaHDtnkbI8KwFM
	a2TA==
MIME-Version: 1.0
Received: by 10.112.29.233 with SMTP id n9mr5134376lbh.91.1336281941612; Sat,
	05 May 2012 22:25:41 -0700 (PDT)
Received: by 10.114.5.66 with HTTP; Sat, 5 May 2012 22:25:41 -0700 (PDT)
In-Reply-To: <4FA5CCC8.8010201@cs.ucla.edu>
References: <CACtkP36Lc_ejt0z18RWvCXFT6bqFHphQP81j+2ibAXtv1=51-A@mail.gmail.com>
	<4FA5CCC8.8010201@cs.ucla.edu>
Date: Sun, 6 May 2012 07:25:41 +0200
Message-ID: <CACtkP37qQT5RT5NRW5aTTxMBLx8=9FRvgpUcqXCDcU63wtaXAA@mail.gmail.com>
Subject: Re: Enforce strict C99 in Autoconf project
From: John X <jxflix780@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.217.169
Cc: autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 05:25:47 -0000

On Sun, May 6, 2012 at 2:58 AM, Paul Eggert <eggert@cs.ucla.edu> wrote:
> On 05/05/2012 02:49 PM, John X wrote:
>>
>> How should I set up Autoconf in order to make the compiler enforce
>> that?
>
>
> Autoconf is about making programs more portable.
> In contrast, requiring each builder to use -pedantic would
> make =A0programs less likely to compile, i.e., it'd make them
> less portable.
>
> I'm not saying it can't be done, just that it's not really
> Autoconf's goal, which is why the topic doesn't come up much
> and why Autoconf doesn't have builtin support for this sort
> of thing.

Thanks for the answer.

It's not that I necessarily want -pedantic, just that it should pick
what is the most strict C99 that the compiler supports and in the case
of gcc it would probably be something like that. But I don't know
which options other compilers like for example clang or icc have in
order to accomplish the same thing, I assume that they may not be
exactly the same.

So in order to keep the program portable I would would like the
compiler to generate warnings when various compiler-specific
extensions is used.

- John


From MAILER-DAEMON Sun May 06 02:47:43 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQvFv-0007hu-1i
	for mharc-autoconf@gnu.org; Sun, 06 May 2012 02:47:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53342)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mpsuzuki@hiroshima-u.ac.jp>) id 1SQvFs-0007ho-QB
	for autoconf@gnu.org; Sun, 06 May 2012 02:47:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mpsuzuki@hiroshima-u.ac.jp>) id 1SQvFq-0007FB-QE
	for autoconf@gnu.org; Sun, 06 May 2012 02:47:40 -0400
Received: from smtp02.hiroshima-u.ac.jp ([133.41.15.117]:55224)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mpsuzuki@hiroshima-u.ac.jp>) id 1SQvFq-0007EW-96
	for autoconf@gnu.org; Sun, 06 May 2012 02:47:38 -0400
Received: from smtp02.hiroshima-u.ac.jp (smtp02.hiroshima-u.ac.jp [127.0.0.1])
	by dummy.hiroshima-u.ac.jp (Postfix) with ESMTP id AB33788D97B;
	Sun,  6 May 2012 15:47:30 +0900 (JST)
Received: from [192.168.1.8] (softbank219053136031.bbtec.net [219.53.136.31])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp02.hiroshima-u.ac.jp (Postfix) with ESMTP id 541A188D971;
	Sun,  6 May 2012 15:47:30 +0900 (JST)
Message-ID: <4FA61E99.4070708@hiroshima-u.ac.jp>
Date: Sun, 06 May 2012 15:47:53 +0900
From: suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
User-Agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)
MIME-Version: 1.0
To: John X <jxflix780@gmail.com>
Subject: Re: [autoconf] Re: Enforce strict C99 in Autoconf project
References: <CACtkP36Lc_ejt0z18RWvCXFT6bqFHphQP81j+2ibAXtv1=51-A@mail.gmail.com>	<4FA5CCC8.8010201@cs.ucla.edu>
	<CACtkP37qQT5RT5NRW5aTTxMBLx8=9FRvgpUcqXCDcU63wtaXAA@mail.gmail.com>
In-Reply-To: <CACtkP37qQT5RT5NRW5aTTxMBLx8=9FRvgpUcqXCDcU63wtaXAA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
X-TM-AS-Product-Ver: IMSS-7.1.0.1326-6.8.0.1017-18888.005
X-TM-AS-Result: No--12.600-10.0-31-10
X-imss-scan-details: No--12.600-10.0-31-10
X-TM-AS-User-Approved-Sender: No
X-TM-AS-User-Blocked-Sender: No
X-TMASE-MatchedRID: mJt40tgS0QBITndh1lLRAZpaQZrxtVBsWyQijpt1UQmTMTaQzhvoemP2
	e9A/LFiJZyIIPjvgMYWtU9467Er3mT8WI+u6+gp7k3rl+MaNgxB+tO36GYDlslrCirnOr0+s5Zc
	QVZUTHEJmTiB85CPAN/gjc4bYzOYE51ph/EKIe9JluCN/iApOTQRryDXHx6oX/780mhEUzN6xwk
	GY110ybKMca/WkYmX15T1jmXZ6BXwfAcomYlnEOTCcIZJkKrezUAjrAJWsTe9Flf+4BEs+6O1KZ
	OEkhtB4bQg659cV3ivPyoKpgLHTFvaUmQfqwOjjULGoTjCGdeUS12tj9Zvd84toPF88Qg37FzAV
	7/lpvAnEwh+FBAsuQbBaPUxk8/0Qp8hj2LYSsT1CnGIuUMP0VaCjvIRDW3XLydovWuL+KVdT1rr
	N8sUDVrfqHaErmu92ucTaKO3I778KQjtweN2DTkY41YX/o/8K66cYQGo+KX4+WVT1m0MMzyAHAo
	pEd76vxFThKO8MzM18J+oSbjhxHfRB70nJcwkM4nQZ8p4F+gZ6ApDprTZdyQ==
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 133.41.15.117
Cc: Paul Eggert <eggert@cs.ucla.edu>, autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 06:47:42 -0000

Although I understand that autoconf is designed for the portability
and expecting a dictionary of compiler-specific options in there
is out of the scope, I'm interested in the appropriate place to collect
such.

Recently there are several softwares that requires C99, C++0x, POSIX200x
features unexpectedly, because most GNU/Linux (and most BSD variants?)
enables such modern features by default. On the platforms where the
modern features are enabled optionally, sometimes I have to check the
availability with -std=xxx flags or -D_XOPEN_SOURCE=xxx. If there is a
right place to put reusable macros for such, I'm interested in.

Regards,
mpsuzuki

John X wrote:
> On Sun, May 6, 2012 at 2:58 AM, Paul Eggert <eggert@cs.ucla.edu> wrote:
>> On 05/05/2012 02:49 PM, John X wrote:
>>> How should I set up Autoconf in order to make the compiler enforce
>>> that?
>>
>> Autoconf is about making programs more portable.
>> In contrast, requiring each builder to use -pedantic would
>> make  programs less likely to compile, i.e., it'd make them
>> less portable.
>>
>> I'm not saying it can't be done, just that it's not really
>> Autoconf's goal, which is why the topic doesn't come up much
>> and why Autoconf doesn't have builtin support for this sort
>> of thing.
> 
> Thanks for the answer.
> 
> It's not that I necessarily want -pedantic, just that it should pick
> what is the most strict C99 that the compiler supports and in the case
> of gcc it would probably be something like that. But I don't know
> which options other compilers like for example clang or icc have in
> order to accomplish the same thing, I assume that they may not be
> exactly the same.
> 
> So in order to keep the program portable I would would like the
> compiler to generate warnings when various compiler-specific
> extensions is used.
> 
> - John
> 
> _______________________________________________
> Autoconf mailing list
> Autoconf@gnu.org
> https://lists.gnu.org/mailman/listinfo/autoconf



From MAILER-DAEMON Sun May 06 03:04:31 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SQvWB-0008V6-EI
	for mharc-autoconf@gnu.org; Sun, 06 May 2012 03:04:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45614)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SQvW8-0008Ud-IM
	for autoconf@gnu.org; Sun, 06 May 2012 03:04:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SQvW6-0006ql-Sa
	for autoconf@gnu.org; Sun, 06 May 2012 03:04:28 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:33911)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SQvW6-0006qQ-Hb
	for autoconf@gnu.org; Sun, 06 May 2012 03:04:26 -0400
Received: (qmail invoked by alias); 06 May 2012 07:04:24 -0000
Received: from 77.116.246.53.wireless.dyn.drei.com (EHLO localhost)
	[77.116.246.53]
	by mail.gmx.net (mp041) with SMTP; 06 May 2012 09:04:24 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX19isd4Qt6ZizaWTSNtX/VluuWco0KacbWlbaWeAEV
	pFD67V0RCdEKjR
Date: Sun, 06 May 2012 09:04:20 +0200 (CEST)
Message-Id: <20120506.090420.290129158.wl@gnu.org>
To: mpsuzuki@hiroshima-u.ac.jp
Subject: Re: [autoconf] Re: Enforce strict C99 in Autoconf project
From: Werner LEMBERG <wl@gnu.org>
In-Reply-To: <4FA61E99.4070708@hiroshima-u.ac.jp>
References: <4FA5CCC8.8010201@cs.ucla.edu>
	<CACtkP37qQT5RT5NRW5aTTxMBLx8=9FRvgpUcqXCDcU63wtaXAA@mail.gmail.com>
	<4FA61E99.4070708@hiroshima-u.ac.jp>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.23
Cc: eggert@cs.ucla.edu, autoconf@gnu.org, jxflix780@gmail.com
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 06 May 2012 07:04:29 -0000


> Although I understand that autoconf is designed for the portability
> and expecting a dictionary of compiler-specific options in there is
> out of the scope, I'm interested in the appropriate place to collect
> such.

Perhaps

  http://www.gnu.org/software/autoconf-archive/


     Werner


From MAILER-DAEMON Mon May 07 06:49:26 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SRLVO-0004bn-T0
	for mharc-autoconf@gnu.org; Mon, 07 May 2012 06:49:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51683)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <c.roessel@fz-juelich.de>) id 1SRLVI-0004bf-TC
	for autoconf@gnu.org; Mon, 07 May 2012 06:49:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <c.roessel@fz-juelich.de>) id 1SRLVG-0001GU-Q7
	for autoconf@gnu.org; Mon, 07 May 2012 06:49:20 -0400
Received: from mailgw-k01.its.kfa-juelich.de ([134.94.4.24]:36694)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <c.roessel@fz-juelich.de>) id 1SRLVG-0001Dl-JG
	for autoconf@gnu.org; Mon, 07 May 2012 06:49:18 -0400
Received: from localhost (localhost [127.0.0.1])
	by mailgw-k01.its.kfa-juelich.de (Postfix) with ESMTP id 0E8EF86400C
	for <autoconf@gnu.org>; Mon,  7 May 2012 12:49:16 +0200 (CEST)
X-Virus-Scanned: amavisd-new at fz-juelich.de
Received: from mailgw-k01.its.kfa-juelich.de ([127.0.0.1])
	by localhost (mailgw-k01.its.kfa-juelich.de [127.0.0.1]) (amavisd-new,
	port 10024) with ESMTP id igSDpUC9UJcl for <autoconf@gnu.org>;
	Mon,  7 May 2012 12:49:14 +0200 (CEST)
Received: from HUB2010-E01.ad.fz-juelich.de (hub2010-e01.its.kfa-juelich.de
	[134.94.4.42]) by mailgw-k01.its.kfa-juelich.de (Postfix) with ESMTP
	for <autoconf@gnu.org>; Mon,  7 May 2012 12:49:14 +0200 (CEST)
Received: from [192.168.178.21] (77.180.233.26) by mail.fz-juelich.de
	(134.94.4.42) with Microsoft SMTP Server (TLS) id 14.2.298.4;
	Mon, 7 May 2012 12:49:13 +0200
Message-ID: <4FA7A8A8.5080606@fz-juelich.de>
Date: Mon, 7 May 2012 12:49:12 +0200
From: =?ISO-8859-1?Q?Christian_R=F6ssel?= <c.roessel@fz-juelich.de>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: <autoconf@gnu.org>
Subject: Re: CONFIG_SUBDIRS defaults
References: <Pine.LNX.4.64.1205032116580.4769@calypso.view.net.au>
	<1336223256.2559.2.camel@localhost>
In-Reply-To: <1336223256.2559.2.camel@localhost>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: [77.180.233.26]
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 134.94.4.24
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 07 May 2012 10:49:25 -0000

On 05/05/2012 03:07 PM, Richard Ash wrote:
> On Thu, 2012-05-03 at 21:28 +0930, Michael Talbot-Wilson wrote:
>> Is there any way for the main configure, as generated by autoconf, to
>> automatically override defaults for options in the one invoked with
>> AC_CONFIG_SUBDIRS()?  Or can it only be done by the user manually
>> entering the option?  I'd like the main configure run with no options
>> to override the default of a setting that only exists in the other
>> one, but I can't see how to do it.
>
> $ac_configure_args seems to be the best available solution, although
> it's an undocumented autoconf internal.
> Some previous mailing list messages on it (no, the hypothetical macro
> never materialised):
>
> http://lists.gnu.org/archive/html/autoconf/2009-03/msg00062.html
>
> http://lists.gnu.org/archive/html/autoconf/2010-09/msg00090.html

Here is another discussion providing a patch:

https://lists.gnu.org/archive/html/autoconf/2011-04/msg00006.html

Christian


---------------------------------------------------------------------------=
---------------------
---------------------------------------------------------------------------=
---------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
---------------------------------------------------------------------------=
---------------------
---------------------------------------------------------------------------=
---------------------

Kennen Sie schon unsere app? http://www.fz-juelich.de/app


From MAILER-DAEMON Thu May 10 14:17:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SSXvA-0005C9-1k
	for mharc-autoconf@gnu.org; Thu, 10 May 2012 14:17:00 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47624)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1SSXv6-0005BX-II
	for Autoconf@gnu.org; Thu, 10 May 2012 14:16:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1SSXv3-0005ax-Oa
	for Autoconf@gnu.org; Thu, 10 May 2012 14:16:56 -0400
Received: from mx1.redhat.com ([209.132.183.28]:35647)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1SSXv3-0005aQ-Ew
	for Autoconf@gnu.org; Thu, 10 May 2012 14:16:53 -0400
Received: from int-mx10.intmail.prod.int.phx2.redhat.com
	(int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q4AIGpaP009193
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 10 May 2012 14:16:51 -0400
Received: from [10.3.113.106] (ovpn-113-106.phx2.redhat.com [10.3.113.106])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id q4AIGoqe016345; Thu, 10 May 2012 14:16:50 -0400
Message-ID: <4FAC0611.2050005@redhat.com>
Date: Thu, 10 May 2012 12:16:49 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: christophe.jarry@ouvaton.org, Autoconf <Autoconf@gnu.org>
Subject: Re: Autoconf 2.69: no more front-cover nor back-cover text
References: <179d40852c99929817abdac99a950a01.squirrel@webmail.ocsa-data.net>
In-Reply-To: <179d40852c99929817abdac99a950a01.squirrel@webmail.ocsa-data.net>
X-Enigmail-Version: 1.4.1
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig720A85BF0389131F0794DB86"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 10 May 2012 18:16:58 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig720A85BF0389131F0794DB86
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

[with permission, replying on a public list so that others may also see
my answers]

On 05/09/2012 05:49 AM, christophe.jarry@ouvaton.org wrote:
> Dear Mister Blake,
>=20
> I have read recently on
> https://lists.gnu.org/archive/html/autoconf/2012-04/msg00041.html
> that:
>=20
>     The texinfo documentation no longer specifies "front-cover" or
>     "back-cover" texts, so that it may now be included in Debian's
>     "main" section.
>=20
>=20
> The changes are located on
> http://git.savannah.gnu.org/gitweb/?p=3Dautoconf.git;a=3Dblobdiff;f=3Dd=
oc/autoconf.texi;h=3D91bb50ac40e209ac59626195abf7d44bdc25bb4d;hp=3Ddb414c=
fc8f6b8c51cce736c62b15b35834233630;hb=3D00f569ae0c38b5e2997bc6194f68d4d7a=
9a23577;hpb=3Dcff03ec71f3a2822284d59cac01a7695a8e7fdfa
>=20
>     docs: relax documentation license by dropping cover text
>=20
>     [autoconf.git] / doc / autoconf.texi
>=20

That diff was part of this larger commit:

http://git.sv.gnu.org/gitweb/?p=3Dautoconf.git;a=3Dcommitdiff;h=3D00f569a=
e0c3

where the commit message in turn points to diffutils' example as rational=
e:

https://lists.gnu.org/archive/html/bug-diffutils/2011-08/msg00022.html

and where that message in turn points to m4's example as rationale:

http://git.savannah.gnu.org/cgit/m4.git/commit?id=3Dee1e92ec

And digging up the discussion at that time (nearly 6 years ago!)
explains my thoughts on the matter, even that far back:

https://lists.gnu.org/archive/html/bug-m4/2006-07/msg00016.html


> And the diff is:
>=20
> diff --git a/doc/autoconf.texi b/doc/autoconf.texi
>=20
> index db414cf..91bb50a 100644 (file)
>=20
> --- a/doc/autoconf.texi
> +++ b/doc/autoconf.texi
> @@ -209,15 +209,9 @@ Inc.
>  Permission is granted to copy, distribute and/or modify this document
>  under the terms of the GNU Free Documentation License,
>  Version 1.3 or any later version published by the Free Software
> -Foundation; with no Invariant Sections, with the Front-Cover texts
> -being ``A GNU Manual,'' and with the Back-Cover Texts as in
> -(a) below.  A copy of the license is included in the section entitled
> -``GNU Free Documentation License.''
> -
> -(a) The FSF's Back-Cover Text is: ``You have the freedom to copy and
> -modify this GNU manual.  Buying copies from the FSF
> -supports it in developing GNU and promoting software
> -freedom.''
> +Foundation; with no Invariant Sections, no Front-Cover texts, and
> +no Back-Cover Texts.  A copy of the license is included in the section=

> +entitled ``GNU Free Documentation License.''
>  @end quotation
>  @end copying
>=20
>=20
> So, as far as I understand the change, you removed "A GNU Manual" from
> the front-cover of the printed manual of Autoconf and "You have the
> freedom to copy and modify this GNU manual. Buying copies from the FSF
> supports it in developing GNU and promoting software freedom." from
> its back-cover.

Correct, by removing the two sections of mandated text, we removed the
complaint that the Debian camp had about our use of the GFDL.

>=20
> I am aware that "invariant sections" and "imposed covers" do not
> respect Debian Free Software Guidelines, and so almost all GNU manuals
> are considered non-free by Debian. I think this is their problem, not
> yours, as a GNU maintainer. Moreover those covers indicate that:
>=20
> 1. This manual is the result of a lot of work from the GNU project, it
>    is its contribution, so I find it fair for "A GNU Manual" to remain
>    on the front-cover.
> 2. The GNU project is about freedom and the mention "You have the
>    freedom to copy and modify this GNU manual" is a clear explanation
>    for this enough even for someone who does not know what GFDL 1.3
>    is.
> 3. "Buying copies from the FSF supports it in developing GNU and
>    promoting software freedom." I think that supporting GNU and the
>    FSF is important in an era where DRM, defective by design devices
>    (Kindle, iSomething, etc.) and cloud computing are more and more
>    widespread.

I think one of the great things about the GFDL is that you are permitted
to add your own front and back cover text on your modifications of the
manual.  Just because the upstream sources no longer mandate you to
publish the book with a particular cover does not mean that you cannot
create a derivative work where you re-add that restriction.

Furthermore, the GNU Coding Standards state:
https://www.gnu.org/prep/standards/standards.html#Printed-Manuals

>> The FSF publishes some GNU manuals in printed form. To encourage sales=
 of these manuals, the on-line versions of the manual should mention at t=
he very start that the printed manual is available and should point at in=
formation for getting it=97for instance, with a link to the page http://w=
ww.gnu.org/order/order.html.

And the GNU Maintainer's documentation states:
https://www.gnu.org/prep/maintain/maintain.html#License-Notices-for-Docum=
entation

>> Please adjust the list of invariant sections as appropriate for your m=
anual. If there are none, then say =93with no Invariant Sections=94. If y=
our manual is not published by the FSF, and under 400 pages, you can omit=
 both cover texts.=20

In other words, it is for those manuals published by the FSF where the
front- and back-cover text matters the most.  However, to my knowledge,
the Autoconf manual is not a text published by the FSF, and as such is
available primarily available only in electronic forms that do not have
front- and back-cover text in the first place.

We still fit in the 400-page limit (barely).  When I ran 'make pdf'
today, with margins defaulting to US sizing, the last page of the last
index is numbered 382, plus 10 unnumbered pages before page 1, leaving
us with 8 pages to grow.  Or, if you exclude Appendix A (the GFDL), the
indices, and table of contents, we have only 354 pages of actual content
written by autoconf developers, so we still have some breathing room.
Furthermore, if desired, we can follow the approach used recently by
automake and split the 'History of Autoconf' chapter into a separate
manual, as it is not as relevant to the modern usage of autoconf proper.
 For that matter, if the 400-page sizing limit were ever to become a
bigger concern, it might be worth separating the shell portability
section into its own manual, as it tends to be referenced quite heavily
even outside the confines of autoconf usage.

>=20
> It is so easy for someone who wants those non-DFSG manuals to install
> them on Debian (add the non-free server address inside
> /etc/apt/sources.list) that I think this change does harm more than it
> is beneficial. And it is clearly harmful for the GNU project.

While I appreciate your concerns, I disagree with your assertion that
this change is harmful for the GNU project.  The change was made in full
compliance with the currently documented GNU standards, Autoconf is not
the first package to make this change, and the fact that the
maintainer's guide specifically permits the exclusion of front- and
back-matter means that the FSF has considered this topic and not found
it to be harmful to GNU.  And in my personal opinion, making it easier
for Debian users to use GNU material out-of-the-box, rather than having
to jump through hoops to install from a non-default location, can only
increase the likelihood that the manual will actually be read, and I
feel that an increased readership actually benefits the GNU project,
regardless of the perceived bad politics between various groups over the
merits or drawbacks of the GFDL.

>=20
>=20
> Can you explain your point of view to me?

I hope that my answers above have proved satisfactory, and that you will
understand (even if you still choose to disagree) why I will not revert
that particular change in the Autoconf manual licensing.

>=20
> Thanks
>=20
> Christophe


--=20
Eric Blake   eblake@redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


--------------enig720A85BF0389131F0794DB86
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJPrAYRAAoJEKeha0olJ0Nq8A8H+wVXgVeBb48k/qEhBkEJhD7+
0Ck/7+b2h2W56YH7QlwkG2GWzZigLA8zWNXtzFIsgcH8ieU7VeyDcouTq/MAd7qo
uuiDAVzjaNusre9AipFgIXlgeqcw+yd2kdWMI3kVjH9era5dtKMyw6bRAOG0viRK
lM6ePCiObt1gZKN8RMuVpUIHGssPzLeL9/6yzqJbl29UBJWAv0bP3gR1h0+RUpbW
tCnjEmC3BG0oFJZyPvxl9gMIsjpHNLf0YEKqhlqt+5d2armRzn8VXcPsw3myzwWx
Jy38LmMi/3ezg/sH66dqN6NnEiOU6WabQ/B6rUSZ+IWHt8p3umdbloC+9PAUz7s=
=20uw
-----END PGP SIGNATURE-----

--------------enig720A85BF0389131F0794DB86--


From MAILER-DAEMON Thu May 10 23:20:27 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SSgP5-0004QJ-0R
	for mharc-autoconf@gnu.org; Thu, 10 May 2012 23:20:27 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41229)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <miles@gnu.org>) id 1SSgP2-0004Q8-Rn
	for Autoconf@gnu.org; Thu, 10 May 2012 23:20:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <miles@gnu.org>) id 1SSgP1-00044G-84
	for Autoconf@gnu.org; Thu, 10 May 2012 23:20:24 -0400
Received: from smtp12.dentaku.gol.com ([203.216.5.74]:37363)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <miles@gnu.org>)
	id 1SSgP0-000443-V6; Thu, 10 May 2012 23:20:23 -0400
Received: from 61.245.23.153.eo.eaccess.ne.jp ([61.245.23.153]
	helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku)
	(envelope-from <miles@gnu.org>)
	id 1SSgOv-0008Gx-2d; Fri, 11 May 2012 12:20:17 +0900
Received: by catnip.gol.com (Postfix, from userid 1000)
	id 2C908DFC2; Fri, 11 May 2012 12:20:16 +0900 (JST)
From: Miles Bader <miles@gnu.org>
To: Eric Blake <eblake@redhat.com>
Subject: Re: Autoconf 2.69: no more front-cover nor back-cover text
References: <179d40852c99929817abdac99a950a01.squirrel@webmail.ocsa-data.net>
	<4FAC0611.2050005@redhat.com>
System-Type: x86_64-unknown-linux-gnu
Date: Fri, 11 May 2012 12:20:16 +0900
In-Reply-To: <4FAC0611.2050005@redhat.com> (Eric Blake's message of "Thu, 10
	May 2012 12:16:49 -0600")
Message-ID: <87obpvmmj3.fsf@catnip.gol.com>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: ClamAV GOL (outbound)
X-Abuse-Complaints: abuse@gol.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 203.216.5.74
Cc: Autoconf <Autoconf@gnu.org>, christophe.jarry@ouvaton.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 11 May 2012 03:20:26 -0000

Incidentally, I assume there's no reason the manuals can't still have
the text advertising the FSF, just without the invariant bit.

Sure that means somebody can make their own version without that text,
but I suspect most of the people distributing these manuals
(incl. Debian) will not do that...

-Miles

-- 
Neighbor, n. One whom we are commanded to love as ourselves, and who does all
he knows how to make us disobedient.


From MAILER-DAEMON Sun May 13 00:02:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STQ1J-0006l2-IM
	for mharc-autoconf@gnu.org; Sun, 13 May 2012 00:02:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:46807)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1STQ1G-0006kv-Rc
	for autoconf@gnu.org; Sun, 13 May 2012 00:02:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1STQ1F-0005z8-20
	for autoconf@gnu.org; Sun, 13 May 2012 00:02:54 -0400
Received: from calypso.view.net.au ([203.122.243.188]:33311)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1STQ1E-0005yo-L6
	for autoconf@gnu.org; Sun, 13 May 2012 00:02:52 -0400
Received: from localhost (localhost [127.0.0.1])
	by calypso.view.net.au (Postfix) with ESMTP id 2DC4714505;
	Sun, 13 May 2012 13:32:45 +0930 (CST)
X-Virus-Scanned: amavisd-new at view.net.au
Received: from calypso.view.net.au ([127.0.0.1])
	by localhost (calypso.view.net.au [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id RhsD4AQAUGYc; Sun, 13 May 2012 13:32:18 +0930 (CST)
Received: by calypso.view.net.au (Postfix, from userid 1000)
	id 8416014506; Sun, 13 May 2012 13:32:18 +0930 (CST)
Received: from localhost (localhost [127.0.0.1])
	by calypso.view.net.au (Postfix) with ESMTP id 8200114505;
	Sun, 13 May 2012 13:32:18 +0930 (CST)
Date: Sun, 13 May 2012 13:32:18 +0930 (CST)
From: Michael Talbot-Wilson <mtw@view.net.au>
To: =?ISO-8859-1?Q?Christian_R=F6ssel?= <c.roessel@fz-juelich.de>
Subject: Re: CONFIG_SUBDIRS defaults
In-Reply-To: <4FA7A8A8.5080606@fz-juelich.de>
Message-ID: <Pine.LNX.4.64.1205131317350.22753@calypso.view.net.au>
References: <Pine.LNX.4.64.1205032116580.4769@calypso.view.net.au>
	<1336223256.2559.2.camel@localhost> <4FA7A8A8.5080606@fz-juelich.de>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED;
	BOUNDARY="2060172531-1111156438-1336881738=:22753"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 203.122.243.188
Cc: autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 13 May 2012 04:02:56 -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.

--2060172531-1111156438-1336881738=:22753
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: quoted-printable

On Mon, 7 May 2012, Christian R=F6ssel wrote:

> On 05/05/2012 03:07 PM, Richard Ash wrote:
>> On Thu, 2012-05-03 at 21:28 +0930, Michael Talbot-Wilson wrote:
>>> Is there any way for the main configure, as generated by autoconf, to
>>> automatically override defaults for options in the one invoked with
>>> AC_CONFIG_SUBDIRS()?  Or can it only be done by the user manually
>>> ...
>> ...
>
> Here is another discussion providing a patch:
>
> https://lists.gnu.org/archive/html/autoconf/2011-04/msg00006.html
>
> Christian

Christian, thanks for your reply.

I hope there will soon be an Autoconf release with your patch
applied.  That's the easy way, as far as I'm concerned.

Background is that I'm working on a future release of GNU Sather based
on ICSI Sather which has Hans Boehm's GC in a subdirectory but has not
itself previously had Autoconf configuration.
--2060172531-1111156438-1336881738=:22753--


From MAILER-DAEMON Sun May 13 01:40:43 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1STRXv-0005YX-UW
	for mharc-autoconf@gnu.org; Sun, 13 May 2012 01:40:43 -0400
Received: from eggs.gnu.org ([208.118.235.92]:56480)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1STRXt-0005YQ-Tl
	for autoconf@gnu.org; Sun, 13 May 2012 01:40:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1STRXs-0002Dc-1u
	for autoconf@gnu.org; Sun, 13 May 2012 01:40:41 -0400
Received: from calypso.view.net.au ([203.122.243.188]:38624)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <mtw@view.net.au>) id 1STRXr-0002DB-Kd
	for autoconf@gnu.org; Sun, 13 May 2012 01:40:39 -0400
Received: from localhost (localhost [127.0.0.1])
	by calypso.view.net.au (Postfix) with ESMTP id 9CE5414508;
	Sun, 13 May 2012 15:10:34 +0930 (CST)
X-Virus-Scanned: amavisd-new at view.net.au
Received: from calypso.view.net.au ([127.0.0.1])
	by localhost (calypso.view.net.au [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id OYS+rRt1ki87; Sun, 13 May 2012 15:10:08 +0930 (CST)
Received: by calypso.view.net.au (Postfix, from userid 1000)
	id 729B21450A; Sun, 13 May 2012 15:10:08 +0930 (CST)
Received: from localhost (localhost [127.0.0.1])
	by calypso.view.net.au (Postfix) with ESMTP id 715DA14508;
	Sun, 13 May 2012 15:10:08 +0930 (CST)
Date: Sun, 13 May 2012 15:10:08 +0930 (CST)
From: Michael Talbot-Wilson <mtw@view.net.au>
To: =?ISO-8859-1?Q?Christian_R=F6ssel?= <c.roessel@fz-juelich.de>
Subject: Re: CONFIG_SUBDIRS defaults
In-Reply-To: <Pine.LNX.4.64.1205131317350.22753@calypso.view.net.au>
Message-ID: <Pine.LNX.4.64.1205131506550.22906@calypso.view.net.au>
References: <Pine.LNX.4.64.1205032116580.4769@calypso.view.net.au>
	<1336223256.2559.2.camel@localhost> <4FA7A8A8.5080606@fz-juelich.de>
	<Pine.LNX.4.64.1205131317350.22753@calypso.view.net.au>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed;
	BOUNDARY="2060172531-1111156438-1336881738=:22753"
Content-ID: <Pine.LNX.4.64.1205131506551.22906@calypso.view.net.au>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 203.122.243.188
Cc: autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 13 May 2012 05:40:43 -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.

--2060172531-1111156438-1336881738=:22753
Content-Type: TEXT/PLAIN; CHARSET=X-UNKNOWN; FORMAT=flowed
Content-ID: <Pine.LNX.4.64.1205131506552.22906@calypso.view.net.au>
Content-Transfer-Encoding: quoted-printable

On Sun, 13 May 2012, Michael Talbot-Wilson wrote:
> On Mon, 7 May 2012, Christian R=F6ssel wrote:
>> https://lists.gnu.org/archive/html/autoconf/2011-04/msg00006.html
>
> I hope there will soon be an Autoconf release with your patch
> applied.  That's the easy way, as far as I'm concerned.

Sorry. I'm slow-witted.  Thanks for the patch.
--2060172531-1111156438-1336881738=:22753
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <Pine.LNX.4.64.1205131506553.22906@calypso.view.net.au>
Content-Description: 
Content-Disposition: INLINE

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

--2060172531-1111156438-1336881738=:22753--


From MAILER-DAEMON Sun May 20 19:00:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWF6j-0004bm-7S
	for mharc-autoconf@gnu.org; Sun, 20 May 2012 19:00:13 -0400
Received: from eggs.gnu.org ([208.118.235.92]:47970)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dilyan.palauzov@aegee.org>) id 1SWB7z-00007c-QJ
	for autoconf@gnu.org; Sun, 20 May 2012 14:45:17 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <dilyan.palauzov@aegee.org>) id 1SWB7x-0004Nq-Qu
	for autoconf@gnu.org; Sun, 20 May 2012 14:45:15 -0400
Received: from mailout-aegee.scc.kit.edu ([129.13.185.235]:34906)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <dilyan.palauzov@aegee.org>) id 1SWB7x-0004A7-BP
	for autoconf@gnu.org; Sun, 20 May 2012 14:45:13 -0400
Received: from smtp.aegee.org (aegeeserv.aegee.uni-karlsruhe.de
	[129.13.131.80])
	by scc-mailout-02.scc.kit.edu with esmtp (Exim 4.72 #1)
	id 1SWB7Z-0003kI-9W; Sun, 20 May 2012 20:44:49 +0200
Authentication-Results: aegeeserv.aegee.org;
	auth=pass (PLAIN) smtp.auth=didopalauzov
X-DKIM: OpenDKIM Filter v2.5.2 smtp.aegee.org q4KIimNf020357
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aegee.org; s=k4096;
	t=1337539489; i=dkim+MSA-ssl@aegee.org;
	bh=dhz3Fdw+OrQ/QbbNa6X/0lwLVTlp9x0jUHhLhF1DNHQ=;
	h=Date:From:To:Subject;
	b=el3YdFjo8K6T/yjBmLDMFVyDVoIYQhdjl0zPvUhX27Jt2eblY9OQXA6KF9lqFL5Q0
	ziOYhX3O68gKkRqaBgml9K3kpTgWtMcsdR1ljWCTXjHRS8dIfgpDU57jAx2oM2piAT
	znIF1li9YJEVekHghIfZldAnjt5o4OkktHNUEoyT07DcasY/xa59NiOgDTG6LuhYlq
	pqswZc0XG4dpxby4xP+jxZ8OIIYhpJd2tLTNfo3pijYXv+Dq/+3sWCrbaa6PU6T99j
	mXOKgdHVGueoAr5FHmqlUF9FbF8+IsrtSLYVy8rYlULLnGR/zYkjK3wsv0OeVvODSW
	ELVJ7ZgjcbBh/KfSejtW5NSf3A3Ob4CYjUbgXtqRuZosVJoeViR+1cam4Zn8Y0BVz9
	Sf4UOPnu8ad6Gt1eJYcath8dVgrTpQ51APXiNrTZ2Ew0WM7RnZBi1TPHS/zOAWJdzq
	aSxyJTp2MuGrP6n4xcvT4oEvA/0vJa7CT9YdOi64SuqhakGjSxKGe1wypuBj6YsFA8
	9/G6kZFczLJI8WvPay3rZHxzpanScESJViLfBnJpInd/ljKZbTblVSe/w1P5V8TGuA
	vVUtCl8YJuLliPSMfBNVpTGMEg31a70qbhxDjXDDXELbCMtrQ8drRDoqUVkJcE19rU
	QKmxW4BdcqQuFxbEReRDZ4aE=
Received: from [192.168.2.101] (p4FDF266B.dip.t-dialin.net [79.223.38.107])
	(authenticated bits=0)
	by smtp.aegee.org (8.14.5/8.14.5) with ESMTP id q4KIimNf020357
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO)
	for <autoconf@gnu.org>; Sun, 20 May 2012 18:44:49 GMT
Message-ID: <4FB93B9A.4080808@aegee.org>
Date: Sun, 20 May 2012 20:44:42 +0200
From: =?UTF-8?B?0JTQuNC70Y/QvSDQn9Cw0LvQsNGD0LfQvtCy?=
	<dilyan.palauzov@aegee.org>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
	rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: autoconf@gnu.org
Subject: "autoreconf -I" vs. Makefile.am:ACLOCAL_AMFLAGS = -I
Content-Type: multipart/mixed; boundary="------------030001020706080803090405"
X-Virus-Scanned: clamav-milter 0.97.4 at aegeeserv
X-Virus-Status: Clean
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 129.13.185.235
X-Mailman-Approved-At: Sun, 20 May 2012 19:00:11 -0400
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 20 May 2012 18:45:17 -0000

This is a multi-part message in MIME format.
--------------030001020706080803090405
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hello,

is there any point to run "autoreconf -I directory1", when 
"ACLOCAL_AMFLAGS = -I directoty1" is in the corresponding Makefile.am ?

In the documentation of Automake 1.12, node "Local Macros", is written, 
that ACLOCAL_AMFLAGS is used by autoreconf to run aclocal.

In the documentation of Autoconf 2.69, node "autoreconf invocation" is 
written, that autoreconf passes its -I parameter to aclocal, autoconf 
and autoheader.

The documentation of autoheader states indirectly, that it accepts "-I" 
parameter to search the directory for AC_DEFINE macros.  Is it enough to 
pass -I to aclocal and skip it with autoheader later?

The further, the documentation for the command autoconf states, that the 
command accepts "-I directory" parameter.  What does autoconf do with 
its -I parameter, if aclocal has put all stuff already in ./aclocal.m4?

What is the point to define in "ACLOCAL_AMFLAGS = -I something" in 
Makefile.am, if autoreconf has to be run anyway with "-I something" in 
order to pass it to autoheader and autoconf?

Thanks in advance for your comments
   Дилян

--------------030001020706080803090405
Content-Type: text/x-vcard; charset=utf-8;
 name="dilyan_palauzov.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="dilyan_palauzov.vcf"

YmVnaW46dmNhcmQNCmZuO3F1b3RlZC1wcmludGFibGU6PUQwPTk0PUQwPUI4PUQwPUJCPUQx
PThGPUQwPUJEID1EMD05Rj1EMD1CMD1EMD1CQj1EMD1CMD1EMT04Mz1EMD1CNz1EMD1CRT0N
Cgk9RDA9QjINCm47cXVvdGVkLXByaW50YWJsZTtxdW90ZWQtcHJpbnRhYmxlOj1EMD05Rj1E
MD1CMD1EMD1CQj1EMD1CMD1EMT04Mz1EMD1CNz1EMD1CRT1EMD1CMjs9RDA9OTQ9RDA9Qjg9
RDA9QkI9RDE9OEY9RDA9QkQNCmVtYWlsO2ludGVybmV0OmRpbHlhbi5wYWxhdXpvdkBhZWdl
ZS5vcmcNCnRlbDtob21lOis0OS03MjEtOTQxOTMyNzANCnRlbDtjZWxsOis0OS0xNjItNDA5
MTE3Mg0Kbm90ZTpzaXA6ODM3MkBhZWdlZS5vcmcNCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQN
Cg0K
--------------030001020706080803090405--


From MAILER-DAEMON Mon May 21 05:38:13 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWP49-0000ej-Dk
	for mharc-autoconf@gnu.org; Mon, 21 May 2012 05:38:13 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57386)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <steffen.dettmer@googlemail.com>) id 1SWP41-0000eX-QW
	for autoconf@gnu.org; Mon, 21 May 2012 05:38:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <steffen.dettmer@googlemail.com>) id 1SWP3w-0005dF-OI
	for autoconf@gnu.org; Mon, 21 May 2012 05:38:05 -0400
Received: from mail-ob0-f169.google.com ([209.85.214.169]:41735)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <steffen.dettmer@googlemail.com>) id 1SWP3w-0005cY-GG
	for autoconf@gnu.org; Mon, 21 May 2012 05:38:00 -0400
Received: by obbwd18 with SMTP id wd18so10072037obb.0
	for <autoconf@gnu.org>; Mon, 21 May 2012 02:37:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=20120113;
	h=mime-version:from:date:message-id:subject:to:content-type;
	bh=4f8mYJZypNwRbS1A/wthDi9R46/6oOdhw4FepIC1D6Q=;
	b=1HaX4QgwaIy3jJm+NxJwbfNtOcZcK72V9nfjuFRJZDZ+hnUX21R3W9X54xAk9tLFz5
	D3zmCnpj3suTaUwSMXh+RWhTKQsEMTw1mfUIyes130P1ZUUsTFUBJ8jhQOXaB/Fwr8i0
	KKQVICscSqtkFcOiSSBxTEgIvaLpe2VDK8XNVEBNtqQzsXb3vLKdU0ZrrIY7bNouexLE
	4VRjd0zJbHA/vVRIyB8FFQMFNMmWhWg8xJ9aY36GgTZRjf3kJbfq7pKrJOfTLjxDog3W
	Q9N2ZGVIDlZbQX1ZqxH+pu4izVJzXfpRaeEMB68lYD41X8pJs8WAWEcHuRHxMI16MAuq
	cdSg==
Received: by 10.60.4.165 with SMTP id l5mr18459672oel.41.1337593077570; Mon,
	21 May 2012 02:37:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.79.8 with HTTP; Mon, 21 May 2012 02:37:37 -0700 (PDT)
From: Steffen Dettmer <steffen.dettmer@googlemail.com>
Date: Mon, 21 May 2012 11:37:37 +0200
Message-ID: <CAOBoUnNPnJZfWVHLygwZ3aOV-tAiNXuJ=i1CvYUjBh=6TjXk9w@mail.gmail.com>
Subject: Selecting C++ language
To: autoconf@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.214.169
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 May 2012 09:38:12 -0000

Hi,

for a project I needed to select C++98. When using g++, this is done
by adding compiler flag "-std=c++98". I liked to have a compiler check
whether this option works.

A web search revealed that this seems not to be intended for maximum
portability; language should not be limited. A similar thread appeared
here for C, but I think the portability argument is wrong. If the
source code is written for C++98, C++98 compiler must be used (only
because standards are mostly backward-compatible, this is not a daily
major issue). Similar with C vs. C++. If someone has no C++ compiler,
he cannot compile the C++ sources. /bin/cat is maximum portable but
supports only the empty subset of needed features :-) so in short, I
think the requirement is right. For C++-98 sources, a C++-98 compiler
must be used. Theoretically it should be "at least", but probably
there are possibilities to write code that behaves differently when
using e.g. c++11, so packages may require /exactly/ c++98, I think.
The package developer needs it to avoid to accidentally use newer
features. Cool would be to couple this to a debug/release mode (but
AFAIK this is not a autoconf concept at all).

How do I configure C++98?

I tried to temporarily set CXXFLAGS and call AC_COMPILE_IFELSE, but
this looks so ugly and is so complex that I think it cannot be right.

Also, my guesswork relies on the assumption that any compiler that
does not moan about "-std=c++98", understands it in the intended way.
Here, it should be obvious, but what's with generic options like "-g",
could be something different on exotic compilers. autoconf detects the
gcc (and I think it sets a variable to use the result), but not g++. I
could assume that c++ is g++ if gcc is present, but that's still an
assumption.

I'm also not sure whether I should I set CXXFLAGS or CPPFLAGS?

I also wanted to support --enable-debug, but I didn't find how to do
that. Is there no standard option or mechanism? For example, I like
-DNDEBUG if --disable-debug etc, but -D may be compiler specific,
config.h may be too late - so what is adviced?

I include my guesswork script for "-std=c++98 auto detection" in the
hope to get criticism.

Thank you for reading this long question!

Regards,
Steffen


AC_INIT([test], [1.0], [steffen.dettmer@gmail.com], [test], [])
AC_PREREQ([2.59])

AC_CONFIG_MACRO_DIR([m4])
AM_PATH_CPPUNIT()
LT_INIT
AM_INIT_AUTOMAKE([1.10 -Wall no-define foreign])

AC_PROG_CXX

CPPFLAGS='-I$(top_srcdir)/src'

dnl A function to check if compiler accepts option "-std=c++98" (g++)
AC_DEFUN([AC_STD_CHECK_STD], [
AC_MSG_CHECKING([Compiler flag to use 1998 ISO C++ standard plus amendments])
dnl The 1998 ISO C++ standard plus amendments
AC_SUBST(CXX_ISOCXX98)
CXX_ISOCXX98=-std=c++98
AC_LANG_PUSH(C++)
ac_std_cxx_flags="$CXXFLAGS"
="$CXX_ISOCXX98 $CXXFLAGS"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],
  [ac_std_check_std_result='yes'],
  [ac_std_check_std_result='no'; CXX_ISOCXX98=""])
AC_MSG_RESULT([$ac_std_check_std_result])
CXXFLAGS="$ac_std_cxx_flags"
AC_LANG_POP()
])
AC_STD_CHECK_STD
dnl for the needed files, Makefile.am has a "maude_CXXFLAGS"

AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT


From MAILER-DAEMON Mon May 21 09:46:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWSwb-0000Zr-HK
	for mharc-autoconf@gnu.org; Mon, 21 May 2012 09:46:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55209)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SWSwY-0000Zh-Un
	for autoconf@gnu.org; Mon, 21 May 2012 09:46:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SWSwS-0000fr-QE
	for autoconf@gnu.org; Mon, 21 May 2012 09:46:38 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:49810)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <werner.lemberg@gmx.de>) id 1SWSwS-0000fb-Jh
	for autoconf@gnu.org; Mon, 21 May 2012 09:46:32 -0400
Received: (qmail invoked by alias); 21 May 2012 13:46:30 -0000
Received: from p5DE8799D.dip.t-dialin.net (EHLO localhost) [93.232.121.157]
	by mail.gmx.net (mp031) with SMTP; 21 May 2012 15:46:30 +0200
X-Authenticated: #54312696
X-Provags-ID: V01U2FsdGVkX19iF2lcDSlil4wxg/5G0dKzOxMW2Ue6kGcbNMiuPR
	8oR56WqY+7G+br
Date: Mon, 21 May 2012 15:46:28 +0200 (CEST)
Message-Id: <20120521.154628.430154758.wl@gnu.org>
To: autoconf@gnu.org
Subject: autoconf/automake rules for building OS X application bundles
From: Werner LEMBERG <wl@gnu.org>
X-Mailer: Mew version 6.4rc1 on Emacs 24.0.92.1 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.23
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 May 2012 13:46:40 -0000


Is anybody aware of automake or autoconf rules to build an OS X
application bundle (and transforming it into a dmg file)?
autoconf-archive doesn't show anything up, and my search with google
wasn't successful...


    Werner


From MAILER-DAEMON Mon May 21 10:59:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWU4g-0006dL-06
	for mharc-autoconf@gnu.org; Mon, 21 May 2012 10:59:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41668)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1SWU4U-00066D-9P
	for autoconf@gnu.org; Mon, 21 May 2012 10:59:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1SWU4P-0004Pb-Md
	for autoconf@gnu.org; Mon, 21 May 2012 10:58:53 -0400
Received: from smtp.gentoo.org ([140.211.166.183]:47592)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1SWU4P-0004P6-GU
	for autoconf@gnu.org; Mon, 21 May 2012 10:58:49 -0400
Received: from vapier.localnet (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id 1516B64C58;
	Mon, 21 May 2012 14:58:46 +0000 (UTC)
From: Mike Frysinger <vapier@gentoo.org>
Organization: wh0rd.org
To: autoconf@gnu.org
Subject: Re: Selecting C++ language
Date: Mon, 21 May 2012 10:59:42 -0400
User-Agent: KMail/1.13.7 (Linux/3.4.0-rc6; KDE/4.6.5; x86_64; ; )
References: <CAOBoUnNPnJZfWVHLygwZ3aOV-tAiNXuJ=i1CvYUjBh=6TjXk9w@mail.gmail.com>
In-Reply-To: <CAOBoUnNPnJZfWVHLygwZ3aOV-tAiNXuJ=i1CvYUjBh=6TjXk9w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart28491640.0JJSIdR6QY";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201205211059.43357.vapier@gentoo.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 140.211.166.183
Cc: Steffen Dettmer <steffen.dettmer@googlemail.com>
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 21 May 2012 14:59:03 -0000

--nextPart28491640.0JJSIdR6QY
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

On Monday 21 May 2012 05:37:37 Steffen Dettmer wrote:
> for a project I needed to select C++98. When using g++, this is done
> by adding compiler flag "-std=3Dc++98". I liked to have a compiler check
> whether this option works.

check out this:
http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html

> I'm also not sure whether I should I set CXXFLAGS or CPPFLAGS?

CPP is for the preprocessor while CXX is for the C++ compiler.  i.e. you mo=
st=20
likely want to just updated CXXFLAGS.
=2Dmike

--nextPart28491640.0JJSIdR6QY
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAABAgAGBQJPulhfAAoJEEFjO5/oN/WBF6kQAKAigYFAAyjp8T4pyDb4aiTF
unztptLY/Jy/6sGfNjHp/CBhTzo3PGuK25bHbEXv+1lG2hQAonzL7mZzC+xcTZsC
u1PC6fLIEtqlnJJR2Dng9lVHhslEZfhFSE/0/Uf3+v7hJ8YOaIs05XXnCg49Jyky
5vldd4a51310/w/lhcVBtYD0hUB3B7XAtuRuH3OwjWj1x61xtJKUgy2w7cV8Mgn7
ECBXtyi6BtmYIVdH01dOEuarjq3+F6JtCrRJVlKZtbuOEla3Fe57rH18VxmiV/6T
bSwIhvLY+jrLN/expWUxdR1LGwu0Cz0eAnFq6mCSylM4pdo/y9wMrc0/ZWK7U0Nm
rgclPJ11obuAmi+OvNRyC6ZgQvqj8h3fMKrtLD9hybwpvhjFNApeYoD/krfaA/eo
hQ6M9wtH20Ns62daLunVwBtCFxvtVXhEM2QyEeoIIyxDPzmvtMYOnVBhbQBGXUxZ
uwm6WXV7jUdqgnR8iaJz3dtm04WJ18t6tXvdZJNoXq3LvzxyHnTQaOLZQ2WoPS4F
ZDf0xPUOluOGqN4Wbd2cwXoevaIR9oCE6ymNfvQk/VBwGT4NwRITqI/GD8m/uoBO
Bca9RrzutZ3joQEyKr+QrhFKETDumP0u+arb5c8vt8MBQN8PrhzxsUzN74464EFD
7FBJUutYr9kj1UOMFb1G
=/nqG
-----END PGP SIGNATURE-----

--nextPart28491640.0JJSIdR6QY--


From MAILER-DAEMON Tue May 22 02:32:36 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWie4-0002ce-Ro
	for mharc-autoconf@gnu.org; Tue, 22 May 2012 02:32:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52986)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SWh8x-0005bM-4Z
	for Autoconf@gnu.org; Tue, 22 May 2012 00:56:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SWh8v-0005VH-AN
	for Autoconf@gnu.org; Tue, 22 May 2012 00:56:22 -0400
Received: from sam.nabble.com ([216.139.236.26]:35975)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SWh8v-0005V4-5h
	for Autoconf@gnu.org; Tue, 22 May 2012 00:56:21 -0400
Received: from telerig.nabble.com ([192.168.236.162])
	by sam.nabble.com with esmtp (Exim 4.72)
	(envelope-from <bounces@nabble.com>) id 1SWh8t-0004d9-8y
	for Autoconf@gnu.org; Mon, 21 May 2012 21:56:19 -0700
Message-ID: <33886956.post@talk.nabble.com>
Date: Mon, 21 May 2012 21:56:19 -0700 (PDT)
From: del_pras <prashant.kumar@delphi.com>
To: Autoconf@gnu.org
Subject: autogen.sh do not find autoreconf
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: prashant.kumar@delphi.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 216.139.236.26
X-Mailman-Approved-At: Tue, 22 May 2012 02:32:34 -0400
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 May 2012 04:56:24 -0000


Hello,
I am trying to build connman (connection manager) package using autotools.
Below error is coming when i run the command : "sh  ./autogen.sh"
======================================================================
user@ubuntu:/mnt/hgfs/x_drive/connman-test/connman-1.0$ sh ./autogen.sh
Preparing the connman build system...please wait

Found GNU Autoconf version 2.68
Found GNU Automake version 1.12
Found GNU Libtool version 2.2.6b

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... 
Warning: autoconf seems to have succeeded by removing the following options:
	AUTOCONF_OPTIONS="-f"

Removing those options should not be necessary and indicate some other
problem with the build system.  The build preparation is highly suspect
and may result in configuration or compilation errors.  Consider
rerunning the build preparation with verbose output enabled.
	./autogen.sh --verbose

Continuing build preparation ... Makefile.am:50: error: Libtool library used
but http://old.nabble.com/file/p33886956/configure.ac configure.ac 
'LIBTOOL' is undefined
Makefile.am:50:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:50:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:50:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:50:   its definition is in aclocal's search path.
ERROR: automake failed
=======================================================================
1. I don't understant when autoreconf is already installed, why this error. 
2. HOW to define LIBTOOL in configure.ac (i am new to linux and autools)

Note: configure.ac is attached.

Any response is welcome.

Regards,
Prashant
-- 
View this message in context: http://old.nabble.com/autogen.sh-do-not-find-autoreconf-tp33886956p33886956.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.



From MAILER-DAEMON Tue May 22 02:32:37 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWie4-0002cs-Vf
	for mharc-autoconf@gnu.org; Tue, 22 May 2012 02:32:36 -0400
Received: from eggs.gnu.org ([208.118.235.92]:52678)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SWi7q-0006yW-Ap
	for Autoconf@gnu.org; Tue, 22 May 2012 01:59:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SWi7o-00038W-BB
	for Autoconf@gnu.org; Tue, 22 May 2012 01:59:17 -0400
Received: from sam.nabble.com ([216.139.236.26]:44831)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bounces@nabble.com>) id 1SWi7o-00038B-6H
	for Autoconf@gnu.org; Tue, 22 May 2012 01:59:16 -0400
Received: from telerig.nabble.com ([192.168.236.162])
	by sam.nabble.com with esmtp (Exim 4.72)
	(envelope-from <bounces@nabble.com>) id 1SWi7m-00040M-7E
	for Autoconf@gnu.org; Mon, 21 May 2012 22:59:14 -0700
Message-ID: <33886956.post@talk.nabble.com>
Date: Mon, 21 May 2012 22:59:14 -0700 (PDT)
From: del_pras <prashant.kumar@delphi.com>
To: Autoconf@gnu.org
Subject: autogen.sh throws LIBTOOOL error
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: prashant.kumar@delphi.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 216.139.236.26
X-Mailman-Approved-At: Tue, 22 May 2012 02:32:35 -0400
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 May 2012 05:59:19 -0000


Hello,
I am trying to build connman (connection manager) package using autotools.
Below error is coming when i run the command : "sh  ./autogen.sh"
======================================================================
user@ubuntu:/mnt/hgfs/x_drive/connman-test/connman-1.0$ sh ./autogen.sh
Preparing the connman build system...please wait

Found GNU Autoconf version 2.68
Found GNU Automake version 1.12
Found GNU Libtool version 2.2.6b

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... 
Warning: autoconf seems to have succeeded by removing the following options:
	AUTOCONF_OPTIONS="-f"

Removing those options should not be necessary and indicate some other
problem with the build system.  The build preparation is highly suspect
and may result in configuration or compilation errors.  Consider
rerunning the build preparation with verbose output enabled.
	./autogen.sh --verbose

Continuing build preparation ... Makefile.am:50: error: Libtool library used
but http://old.nabble.com/file/p33886956/configure.ac configure.ac 
'LIBTOOL' is undefined
Makefile.am:50:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:50:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:50:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:50:   its definition is in aclocal's search path.
ERROR: automake failed
=======================================================================
1. I don't understant when autoreconf is already installed, why this error. 
2. HOW to define LIBTOOL in configure.ac (i am new to linux and autools)

Note: configure.ac is attached.

Any response is welcome.

Regards,
Prashant
-- 
View this message in context: http://old.nabble.com/autogen.sh-throws-LIBTOOOL-error-tp33886956p33886956.html
Sent from the Gnu - Autoconf - General mailing list archive at Nabble.com.



From MAILER-DAEMON Tue May 22 02:32:41 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWie9-0002pU-7B
	for mharc-autoconf@gnu.org; Tue, 22 May 2012 02:32:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58776)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <magfr@lysator.liu.se>) id 1SWiDR-0007JJ-5d
	for autoconf@gnu.org; Tue, 22 May 2012 02:05:09 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <magfr@lysator.liu.se>) id 1SWiDP-0004Se-8T
	for autoconf@gnu.org; Tue, 22 May 2012 02:05:04 -0400
Received: from mail.lysator.liu.se ([130.236.254.3]:42448)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <magfr@lysator.liu.se>) id 1SWiDP-0004OQ-1p
	for autoconf@gnu.org; Tue, 22 May 2012 02:05:03 -0400
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
	by mail.lysator.liu.se (Postfix) with ESMTP id B15BE4001A
	for <autoconf@gnu.org>; Tue, 22 May 2012 08:04:58 +0200 (CEST)
Received: from [192.168.0.101] (h-149-24.a163.priv.bahnhof.se [81.170.149.24])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.lysator.liu.se (Postfix) with ESMTPSA id 9A92C40005
	for <autoconf@gnu.org>; Tue, 22 May 2012 08:04:58 +0200 (CEST)
Message-ID: <1337666698.12208.8.camel@sara>
Subject: Avoiding to write test programs
From: Magnus Fromreide <magfr@lysator.liu.se>
To: autoconf@gnu.org
Date: Tue, 22 May 2012 08:04:58 +0200
Content-Type: text/plain; charset="ISO-8859-1"
X-Mailer: Evolution 3.2.2-1+b1 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
X-Virus-Scanned: ClamAV using ClamSMTP
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 130.236.254.3
X-Mailman-Approved-At: Tue, 22 May 2012 02:32:38 -0400
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 May 2012 06:05:09 -0000

Sometimes I wish to perform multiple runs of AC_*_IFELSE using the same
source but different compiler options.

When doing that I have noticed that it seems as if only the first call
to AC_*_IFELSE needs the INPUT argument but on the other hand this seems
to be completely undocumented.

Is this a feature or a bug?

Example:

# Check for pthreads
AC_LINK_IFELSE(
  [AC_LANG_PROGRAM(
    [[@%:@include <pthread.h>]],
    [[pthread_create(0, 0, 0, 0);]])], [],
  [saved_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS -pthread"
   AC_LINK_IFELSE([], [],
     [CFLAGS="$saved_CFLAGS"
      LIBS="-lpthread $LIBS"
      AC_LINK_IFELSE([], [],
	[AC_MSG_ERROR([pthreads are required but was not found])])])])




From MAILER-DAEMON Tue May 22 03:43:54 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWjl4-0003h6-Cd
	for mharc-autoconf@gnu.org; Tue, 22 May 2012 03:43:54 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41248)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent.torri@gmail.com>) id 1SWjkx-0003fB-Fu
	for Autoconf@gnu.org; Tue, 22 May 2012 03:43:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vincent.torri@gmail.com>) id 1SWjkr-0004nZ-2L
	for Autoconf@gnu.org; Tue, 22 May 2012 03:43:47 -0400
Received: from mail-qa0-f48.google.com ([209.85.216.48]:45600)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vincent.torri@gmail.com>) id 1SWjkq-0004my-Rp
	for Autoconf@gnu.org; Tue, 22 May 2012 03:43:40 -0400
Received: by qady23 with SMTP id y23so2838983qad.14
	for <Autoconf@gnu.org>; Tue, 22 May 2012 00:43:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=tyVAhzL3se1ZOqrNjeSIg85rRdIcQ1Tt1uJk4dc19Tc=;
	b=VEzrB8sqzYf5xM2vYtOjPpszWxcpl+AkekwXM6YNir8znxhUSwc9hDyL91NtrpsIZK
	slzQJWiyJdhpUF3sOC3Oez0jPN8pUGQwgX05xU8JYAXsvYw2HgB8omhF04ER++d+GfNd
	WH6Kp4tG8aYu8UFPM/Fp44yXS31iYFNCsjkMNxhsv18kBte2oPQwOR/FN/zZzKaQFDF+
	mASHIDRhTCwp7BE/RLvKZnP6pbxjLIM9hs54z2St1E/lTKhXlQFc2D+zMT1B8cQj1vlV
	ZqNOm5EG+vbzp7wYArplIl83XKchmxrtZLa1JIQI9zYnRwt2uGA7eDaUxO/dR/oerwVL
	8Rtw==
MIME-Version: 1.0
Received: by 10.224.96.82 with SMTP id g18mr43088926qan.0.1337672618179; Tue,
	22 May 2012 00:43:38 -0700 (PDT)
Received: by 10.224.96.68 with HTTP; Tue, 22 May 2012 00:43:38 -0700 (PDT)
In-Reply-To: <33886956.post@talk.nabble.com>
References: <33886956.post@talk.nabble.com>
Date: Tue, 22 May 2012 09:43:38 +0200
Message-ID: <CAMq1adoQX=yLgbZu2K0JMq3Hvn1Pgv1mp4UjQDjfkAXc4CZbKA@mail.gmail.com>
Subject: Re: autogen.sh throws LIBTOOOL error
From: Vincent Torri <vincent.torri@gmail.com>
To: del_pras <prashant.kumar@delphi.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.48
Cc: Autoconf@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 22 May 2012 07:43:52 -0000

On Tue, May 22, 2012 at 7:59 AM, del_pras <prashant.kumar@delphi.com> wrote=
:
>
> Hello,
> I am trying to build connman (connection manager) package using autotools=
.
> Below error is coming when i run the command : "sh =A0./autogen.sh"
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> user@ubuntu:/mnt/hgfs/x_drive/connman-test/connman-1.0$ sh ./autogen.sh
> Preparing the connman build system...please wait
>
> Found GNU Autoconf version 2.68
> Found GNU Automake version 1.12
> Found GNU Libtool version 2.2.6b
>
> Automatically preparing build ... Warning: autoreconf failed
> Attempting to run the preparation steps individually
>
> Preparing build ...
> Warning: autoconf seems to have succeeded by removing the following optio=
ns:
> =A0 =A0 =A0 =A0AUTOCONF_OPTIONS=3D"-f"
>
> Removing those options should not be necessary and indicate some other
> problem with the build system. =A0The build preparation is highly suspect
> and may result in configuration or compilation errors. =A0Consider
> rerunning the build preparation with verbose output enabled.
> =A0 =A0 =A0 =A0./autogen.sh --verbose
>
> Continuing build preparation ... Makefile.am:50: error: Libtool library u=
sed
> but http://old.nabble.com/file/p33886956/configure.ac configure.ac
> 'LIBTOOL' is undefined
> Makefile.am:50: =A0 The usual way to define 'LIBTOOL' is to add 'LT_INIT'
> Makefile.am:50: =A0 to 'configure.ac' and run 'aclocal' and 'autoconf' ag=
ain.
> Makefile.am:50: =A0 If 'LT_INIT' is in 'configure.ac', make sure
> Makefile.am:50: =A0 its definition is in aclocal's search path.
> ERROR: automake failed
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 1. I don't understant when autoreconf is already installed, why this erro=
r.
> 2. HOW to define LIBTOOL in configure.ac (i am new to linux and autools)

as the message says, you must call LT_INIT in configure.ac :
http://www.gnu.org/software/libtool/manual/libtool.html#LT_005fINIT

> Note: configure.ac is attached.

i don't see it :)

Vincent Torri


From MAILER-DAEMON Tue May 22 20:17:53 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SWzGz-00021B-1g
	for mharc-autoconf@gnu.org; Tue, 22 May 2012 20:17:53 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39194)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>) id 1SWzGw-00020X-KT
	for autoconf@gnu.org; Tue, 22 May 2012 20:17:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>) id 1SWzGu-0001Vk-IU
	for autoconf@gnu.org; Tue, 22 May 2012 20:17:50 -0400
Received: from blade.simplesystems.org ([65.66.246.74]:60421)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>)
	id 1SWzGs-0001VN-Lr; Tue, 22 May 2012 20:17:48 -0400
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	q4N0HgeG027833; Tue, 22 May 2012 19:17:42 -0500 (CDT)
Date: Tue, 22 May 2012 19:17:42 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: automake@gnu.org, autoconf@gnu.org
Subject: Autoconf caches AC_INIT arguments
Message-ID: <alpine.GSO.2.01.1205221838050.21691@freddy.simplesystems.org>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Tue, 22 May 2012 19:17:42 -0500 (CDT)
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 65.66.246.74
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 00:17:52 -0000

The forthcoming Automake release is about to break the means I have 
been using to automatically version my package (without manually 
editing configure.ac) for the past 9 years.  I am told to use m4 code 
in the AC_INIT arguments in order to supply package versioning 
information.  This is what I am using:

AC_INIT(m4_esyscmd([scripts/pkginfo.sh package_name]),
 	m4_esyscmd([scripts/pkginfo.sh package_version]),
         m4_esyscmd([scripts/pkginfo.sh package_bugreport]))

Unfortunately, this approach works exactly once since Autoconf 2.69 is 
caching the computed arguments passed to AC_INIT.  Running 'autoconf' 
or 'autoreconf' again does not result in an updated configure script. 
Running 'autoconf --force' in the source tree seems to work.

I am trying to get Automake to re-run Autoconf at the right times 
using the --force option, but thus far I have been foiled.  My most 
recent attempt uses these additions:

configure.ac:

# Additional files that 'configure' is dependent on
AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/ChangeLog 
$(top_srcdir)/version.sh $(top_srcdir)/scripts/pkginfo.sh'])

Makefile.am:

$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
         $(am__cd) $(srcdir) && $(AUTOCONF) --force

which seems like it should cause autoconf to be re-run with the 
--force option whenever one of the files listed in 
CONFIGURE_DEPENDENCIES is updated.

The configure script never gets regenerated.  Even if I manually 
request to build the configure script in the source tree, the 
configure script does not get regenerated.

The configure script does not get re-generated and re-executed even 
though 'ChangeLog' has a newer timestamp.

Is there a way to eliminate AC_INIT argument caching when autoconf is 
re-executed?

Is there a way to assure that configure gets re-generated based on the 
dependencies listed in CONFIGURE_DEPENDENCIES as documented in the 
Automake manual section 16 "Rebuilding Makefiles"?

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


From MAILER-DAEMON Wed May 23 04:42:15 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SX795-0001bf-8k
	for mharc-autoconf@gnu.org; Wed, 23 May 2012 04:42:15 -0400
Received: from eggs.gnu.org ([208.118.235.92]:55346)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jiangzuoyan@gmail.com>) id 1SX78y-0001aR-TT
	for autoconf@gnu.org; Wed, 23 May 2012 04:42:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jiangzuoyan@gmail.com>) id 1SX78s-0005DZ-3A
	for autoconf@gnu.org; Wed, 23 May 2012 04:42:08 -0400
Received: from mail-gg0-f169.google.com ([209.85.161.169]:56907)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jiangzuoyan@gmail.com>) id 1SX78r-0005CW-TE
	for autoconf@gnu.org; Wed, 23 May 2012 04:42:02 -0400
Received: by ggm4 with SMTP id 4so7541695ggm.0
	for <autoconf@gnu.org>; Wed, 23 May 2012 01:41:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:from:date:message-id:subject:to:content-type;
	bh=omlWCgHPD45gYmIZXUYY8Bx7IiQHX/7PjJMEin1/9Rk=;
	b=GLFmIb90dZQTS4N577rIFSAj+eKb+/w4ru8FqZGGnR+iySgys/3DP3OcWi4bslhEm0
	00Ij80vux8PUgFzJV5JGDeU78Go+JRvzsX+XyeM7ha9lgXKERFf+1lvzrw+QMZDK69eW
	TSOSqTQgn9rdhLsOdOE1FqJW7x21KKqubPJOpNPdaQWxnHRahGm9JOOn9obtXIoWuB4W
	y8WuG5Kgo/QaJu5uh0BKLAnahfTF/H1DB6mA6Imh4RaHgOU4CxKPJFYf4Y9/G9hB65dE
	Zn+uDhB0Sobrc0h1d7pNv7sOHYtpM5KAGNMZdrEDTokRRKSOYqbnkDSiMboF/mLPd4M6
	e/tQ==
Received: by 10.42.122.76 with SMTP id m12mr16786130icr.38.1337762518355; Wed,
	23 May 2012 01:41:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.43.52.135 with HTTP; Wed, 23 May 2012 01:41:38 -0700 (PDT)
From: "jiangzuoyan@gmail.com" <jiangzuoyan@gmail.com>
Date: Wed, 23 May 2012 16:41:38 +0800
Message-ID: <CAAmZbPPowKztxAFPxjeZHXJurkDySB9PpBuAPiJtyD2v_SOqaw@mail.gmail.com>
Subject: Test newer library with installed older one
To: autoconf@gnu.org
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.161.169
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 08:42:13 -0000

Hi list,

I have a library project with tests. the test programs run fine when the
library is not installed. but if the library is installed, and after some
new interfaces added to the library, the make of test programs run well,
but running reports the new interfaces not found, as ldd indicating that
the installed library is used in run.

In short, newest not installed library used in compling and linking, but
installed older library used in running.

http://stackoverflow.com/questions/1168180/why-would-autoconf-automake-project-link-against-installed-library-instead-of-lothis
link seems the same problem.

WHY and HOW?

Thanks,
                                                      Changsheng Jiang

From MAILER-DAEMON Wed May 23 05:35:08 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SX7yG-0000yR-Sf
	for mharc-autoconf@gnu.org; Wed, 23 May 2012 05:35:08 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49935)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jiangzuoyan@gmail.com>) id 1SX7y9-0000uA-Os
	for autoconf@gnu.org; Wed, 23 May 2012 05:35:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jiangzuoyan@gmail.com>) id 1SX7y3-0002Ym-DH
	for autoconf@gnu.org; Wed, 23 May 2012 05:35:01 -0400
Received: from mail-gg0-f169.google.com ([209.85.161.169]:39203)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jiangzuoyan@gmail.com>) id 1SX7y3-0002YB-0W
	for autoconf@gnu.org; Wed, 23 May 2012 05:34:55 -0400
Received: by ggm4 with SMTP id 4so7596886ggm.0
	for <autoconf@gnu.org>; Wed, 23 May 2012 02:34:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:content-type; bh=8QSMywre8T+bPhtWcn9t8rbNh7gbdX3DzsH8sV45IqI=;
	b=omx+0UTY8IPRt4asV08MKwKj0GibKKStewQvxGQ6kftSlXArBbBT7yN1yCcIxBGO8U
	3scF2KmSX0Bwt9azK/yjBZjFPcvI2rwSANEe2Kkgnhln7jRDbW96vbeALstVIty1iTmw
	WjHnDhjlPQmfvauTawdFFYFNmrwMyQrKS18vUcwV56/XMKDNLS3V8azSbvYLji3qrbVm
	h1zwI0H0i1/TEN0rjlQ0fnWTyuPB3dXritPt1F319eyfXZ2+hDvqnbsHOCLAwc4bDnXH
	p6xwbfA4O7KDlIDwXBMjinupXV3RD9ge6K68dXKNAV9S3ie/RA/BGyzYhdkoLzPVD2+b
	MNgg==
Received: by 10.50.216.234 with SMTP id ot10mr12306937igc.51.1337765692829;
	Wed, 23 May 2012 02:34:52 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.43.52.135 with HTTP; Wed, 23 May 2012 02:34:32 -0700 (PDT)
In-Reply-To: <CAAmZbPPowKztxAFPxjeZHXJurkDySB9PpBuAPiJtyD2v_SOqaw@mail.gmail.com>
References: <CAAmZbPPowKztxAFPxjeZHXJurkDySB9PpBuAPiJtyD2v_SOqaw@mail.gmail.com>
From: "jiangzuoyan@gmail.com" <jiangzuoyan@gmail.com>
Date: Wed, 23 May 2012 17:34:32 +0800
Message-ID: <CAAmZbPNk1tXnrvWwfVJ21qXTFxUMbN=NJyMmEnbJQXc7q9DACA@mail.gmail.com>
Subject: Re: Test newer library with installed older one
To: autoconf@gnu.org
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.161.169
Content-Type: text/plain; charset=UTF-8
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 09:35:07 -0000

Because automake cat AM_LDFLAGS before LDADD, so just add the
$(top_builddir)/src/libname.la(not in LDADD) as the first resolve the
probelm.


                                                      Changsheng Jiang


On Wed, May 23, 2012 at 4:41 PM, jiangzuoyan@gmail.com <
jiangzuoyan@gmail.com> wrote:

> Hi list,
>
> I have a library project with tests. the test programs run fine when the
> library is not installed. but if the library is installed, and after some
> new interfaces added to the library, the make of test programs run well,
> but running reports the new interfaces not found, as ldd indicating that
> the installed library is used in run.
>
> In short, newest not installed library used in compling and linking, but
> installed older library used in running.
>
>
> http://stackoverflow.com/questions/1168180/why-would-autoconf-automake-project-link-against-installed-library-instead-of-lothis link seems the same problem.
>
> WHY and HOW?
>
> Thanks,
>                                                       Changsheng Jiang
>

From MAILER-DAEMON Wed May 23 10:14:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SXCKf-0006v9-Mf
	for mharc-autoconf@gnu.org; Wed, 23 May 2012 10:14:33 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45536)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1SXCKa-0006sy-0W
	for autoconf@gnu.org; Wed, 23 May 2012 10:14:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>) id 1SXCKV-0003qS-BS
	for autoconf@gnu.org; Wed, 23 May 2012 10:14:27 -0400
Received: from mail-bk0-f41.google.com ([209.85.214.41]:36991)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@gmail.com>)
	id 1SXCKF-0003n4-HV; Wed, 23 May 2012 10:14:07 -0400
Received: by bkcjm19 with SMTP id jm19so6489426bkc.0
	for <multiple recipients>; Wed, 23 May 2012 07:14:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:mime-version:to:cc:subject:references
	:in-reply-to:content-type:content-transfer-encoding;
	bh=aS4u7NlH8BYRKfb+WwSaAUU//2XAY8G+Ke7LpMDP9ZY=;
	b=OnJuoBZSYZL69KqpCrXVDASOTuQyQNhxXNwwJ/WJg4MI9YTMcwxx2gCTh5/JKAWpAF
	xTA2Ow66Q4zrs/VDypfNAtUY6oMz7kyWDcDQhruhQrKw2LzSr0apEyViuhWZnS+UEBkB
	w31F93npMZ/nESlneIlY9rq0IrBco6Lp4hvD2GId4ef/meYlSOe5AcpbZi0VjYz41WlD
	Krlu//drYLyteR2vmik3RgrBvSeWrMyrj6V4kpYg7AW3HG4kxkAyDotaQq55j5ch+FIP
	1U+3MinbChTKD/s/+YZ9aKKYBqjQeoovh0UCTfRW0MOOg+YD5CaFVMvsiW6l03M9fk7K
	vqPA==
Received: by 10.204.156.16 with SMTP id u16mr11336914bkw.13.1337782444698;
	Wed, 23 May 2012 07:14:04 -0700 (PDT)
Received: from [87.2.97.17] (host17-97-dynamic.2-87-r.retail.telecomitalia.it.
	[87.2.97.17])
	by mx.google.com with ESMTPS id x23sm37500722bkw.12.2012.05.23.07.14.02
	(version=SSLv3 cipher=OTHER); Wed, 23 May 2012 07:14:03 -0700 (PDT)
Message-ID: <4FBCF0A8.3020409@gmail.com>
Date: Wed, 23 May 2012 16:14:00 +0200
From: Stefano Lattarini <stefano.lattarini@gmail.com>
MIME-Version: 1.0
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Subject: Re: Autoconf caches AC_INIT arguments
References: <alpine.GSO.2.01.1205221838050.21691@freddy.simplesystems.org>
In-Reply-To: <alpine.GSO.2.01.1205221838050.21691@freddy.simplesystems.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.214.41
Cc: autoconf@gnu.org, automake@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 14:14:32 -0000

Hi Bob.

On 05/23/2012 02:17 AM, Bob Friesenhahn wrote:
> The forthcoming Automake release is about to break the means I have been
> using to automatically version my package (without manually editing
> configure.ac) for the past 9 years.
>
I smell a misunderstanding here: Automake 1.12.1 will only start *warning*
about such an usage, but will still work with it (there are checks in the
Automake test suite that should verify this is indeed the case).  The actual
removal of support for that usage will only take place in Automake 1.13, which
I don't see appearing if not several several months from now (i.e,, until
there is some major feature or non trivial bug-fix that justifies a new major
release).

I will try to answer the rest of your message by today (or tomorrow).

Regards,
  Stefano


From MAILER-DAEMON Wed May 23 10:47:21 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SXCqP-0004Qe-3X
	for mharc-autoconf@gnu.org; Wed, 23 May 2012 10:47:21 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41951)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rleigh@codelibre.net>) id 1SXCq6-0004LD-GL
	for autoconf@gnu.org; Wed, 23 May 2012 10:47:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rleigh@codelibre.net>) id 1SXCpY-0008CN-7A
	for autoconf@gnu.org; Wed, 23 May 2012 10:47:02 -0400
Received: from nagini.codelibre.net ([80.68.93.164]:48368)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rleigh@codelibre.net>)
	id 1SXCpY-0008BZ-1p; Wed, 23 May 2012 10:46:28 -0400
Received: by nagini.codelibre.net (Postfix, from userid 1000)
	id 9F0A618517; Wed, 23 May 2012 15:46:24 +0100 (BST)
Date: Wed, 23 May 2012 15:46:24 +0100
From: Roger Leigh <rleigh@codelibre.net>
To: automake@gnu.org, autoconf@gnu.org
Subject: Re: Autoconf caches AC_INIT arguments
Message-ID: <20120523144624.GX22466@codelibre.net>
References: <alpine.GSO.2.01.1205221838050.21691@freddy.simplesystems.org>
	<4FBCF0A8.3020409@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4FBCF0A8.3020409@gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1)
X-Received-From: 80.68.93.164
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 14:47:20 -0000

On Wed, May 23, 2012 at 04:14:00PM +0200, Stefano Lattarini wrote:
> Hi Bob.
> 
> On 05/23/2012 02:17 AM, Bob Friesenhahn wrote:
> > The forthcoming Automake release is about to break the means I have been
> > using to automatically version my package (without manually editing
> > configure.ac) for the past 9 years.
> >
> I smell a misunderstanding here: Automake 1.12.1 will only start *warning*
> about such an usage, but will still work with it (there are checks in the
> Automake test suite that should verify this is indeed the case).  The actual
> removal of support for that usage will only take place in Automake 1.13, which
> I don't see appearing if not several several months from now (i.e,, until
> there is some major feature or non trivial bug-fix that justifies a new major
> release).
> 
> I will try to answer the rest of your message by today (or tomorrow).

I'm currently using the following scheme in a number of projects (in
this case, taken from schroot):

(Includes some compatibility hacks for earlier autotools versions.)

dnl m4 magic from Eric Blake <ebb9@byu.net>, prior to automake inclusion
m4_define([sbuild_m4_chomp],
[m4_format([[%.*s]], m4_bregexp(m4_translit([$1], [
]]m4_dquote(_m4_defn([m4_cr_all]))[, [/]]m4_format([%255s], [])[),
  [/*$]), [$1])])
m4_define([sbuild_m4_esyscmd_s],
[sbuild_m4_chomp(m4_esyscmd([$1]))])
AC_PREREQ(2.59)
dnl Quoting the first argument results in a bizarrely corrupted package tarname
AC_INIT(sbuild_m4_esyscmd_s([sed -ne '/^Package:/{s/Package:[[:space:]][[:space:]]*//p;q}' VERSION]),
        [sbuild_m4_esyscmd_s([sed -ne '/^Version:/{s/Version:[[:space:]][[:space:]]*//p;q}' VERSION])],
        [buildd-tools-devel@lists.alioth.debian.org])

In the above, the VERSION file is generated from NEWS and git to
contain metadata about the release, including the package, version,
person releasing the package, release date etc.  This is done by
the bootstrap script, which runs autoreconf afterward.

Essentially, I have no desire to hardcode any of the release
metadata such as the version into configure.ac.  The above is my
own custom hack to generate and incorporate the metadata, but I
would happily adopt a more standard and generic solution if
possible.

What is the recommended way to use autoconf/automake in this type
of scenario?


Thanks,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


From MAILER-DAEMON Wed May 23 10:59:18 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SXD1y-00070b-Th
	for mharc-autoconf@gnu.org; Wed, 23 May 2012 10:59:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58633)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>) id 1SXD1s-0006zT-1M
	for autoconf@gnu.org; Wed, 23 May 2012 10:59:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>) id 1SXD1l-0003BW-KJ
	for autoconf@gnu.org; Wed, 23 May 2012 10:59:11 -0400
Received: from blade.simplesystems.org ([65.66.246.74]:61995)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>)
	id 1SXD1l-0003A3-C3; Wed, 23 May 2012 10:59:05 -0400
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	q4NEws1w001015; Wed, 23 May 2012 09:58:54 -0500 (CDT)
Date: Wed, 23 May 2012 09:58:54 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: Stefano Lattarini <stefano.lattarini@gmail.com>
Subject: Re: Autoconf caches AC_INIT arguments
In-Reply-To: <4FBCF0A8.3020409@gmail.com>
Message-ID: <alpine.GSO.2.01.1205230947360.16917@freddy.simplesystems.org>
References: <alpine.GSO.2.01.1205221838050.21691@freddy.simplesystems.org>
	<4FBCF0A8.3020409@gmail.com>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Wed, 23 May 2012 09:58:54 -0500 (CDT)
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 65.66.246.74
Cc: autoconf@gnu.org, automake@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 14:59:18 -0000

On Wed, 23 May 2012, Stefano Lattarini wrote:

> Hi Bob.
>
> On 05/23/2012 02:17 AM, Bob Friesenhahn wrote:
>> The forthcoming Automake release is about to break the means I have been
>> using to automatically version my package (without manually editing
>> configure.ac) for the past 9 years.
>>
> I smell a misunderstanding here: Automake 1.12.1 will only start *warning*
> about such an usage, but will still work with it (there are checks in the
> Automake test suite that should verify this is indeed the case).  The actual
> removal of support for that usage will only take place in Automake 1.13, which
> I don't see appearing if not several several months from now (i.e,, until
> there is some major feature or non trivial bug-fix that justifies a new major
> release).

That is good to know.  Then it is not an emergency for me.

This issue feels like an Autoconf bug to me since AC_INIT is 
presumably an Autoconf macro, but it includes overtones of an Automake 
weakness since the procedure I used is clearly documented in the 
Automake manual and the 'missing' script is being used to invoke 
autoconf under Automake control.

Testing this morning showed that '../missing autoconf --force' does 
cause the configure script to be updated.  I did not have time to 
figure out how to extend the AUTOCONF definition (of the form 
'../missing autoconf') that configure is creating (and caching).
Since config.status --recheck was previously re-run anyway, using 
--force only adds a couple of extra seconds to the re-configuration 
process.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


From MAILER-DAEMON Wed May 23 11:03:57 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SXD6T-0007ps-S7
	for mharc-autoconf@gnu.org; Wed, 23 May 2012 11:03:57 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41808)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bert.wesarg@googlemail.com>) id 1SXD6N-0007oh-Ud
	for autoconf@gnu.org; Wed, 23 May 2012 11:03:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bert.wesarg@googlemail.com>) id 1SXD6G-0005EE-Sx
	for autoconf@gnu.org; Wed, 23 May 2012 11:03:51 -0400
Received: from mail-qc0-f169.google.com ([209.85.216.169]:62847)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bert.wesarg@googlemail.com>)
	id 1SXD68-0005AU-Rp; Wed, 23 May 2012 11:03:36 -0400
Received: by qcsd16 with SMTP id d16so5840837qcs.0
	for <multiple recipients>; Wed, 23 May 2012 08:03:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=googlemail.com; s=20120113;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=2S7/U84HibNiCmzgrZ04ozuAFBDRYsAtJMGvMvtRrLU=;
	b=pDzmTq+aAUR0eMlszzKfJAQu1gUxFuLABcrTvYbSj5KybqFknTbOOEvbje+zvKPmbi
	LZXrTmwi+BbrlugSAuUViE3IVdNFdFJ5ntVywiGXDZYO7xvsFH0u50j6Ogb50vZ3p7y0
	OTrWV9cNyS5JRp44ZmzJmEo/+my4QoCyp0OgfpoLu+mRhJUNNEjIOfHYgpo8KMoWgCaH
	jf2HDwGTCwmIUcSGjddhzJziWWLvG2gKXJebjz6MmHwJ7/rpBndoyLJ+fJ//Smb4KD0I
	hfTJE53dyPwpZVEoRsJmvTz3LgLwBffbC3u9h2a0uImJF03JwcKgapYkViwxLk4+iaRv
	xyAw==
MIME-Version: 1.0
Received: by 10.60.26.38 with SMTP id i6mr26288975oeg.69.1337785413460; Wed,
	23 May 2012 08:03:33 -0700 (PDT)
Received: by 10.76.35.68 with HTTP; Wed, 23 May 2012 08:03:33 -0700 (PDT)
In-Reply-To: <alpine.GSO.2.01.1205221838050.21691@freddy.simplesystems.org>
References: <alpine.GSO.2.01.1205221838050.21691@freddy.simplesystems.org>
Date: Wed, 23 May 2012 17:03:33 +0200
Message-ID: <CAKPyHN2=aKXUYprh2VkyMZvLqG+Ou8ry5dEwXx+6rB=kSJiMLA@mail.gmail.com>
Subject: Re: Autoconf caches AC_INIT arguments
From: Bert Wesarg <bert.wesarg@googlemail.com>
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.85.216.169
Cc: autoconf@gnu.org, automake@gnu.org
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Discussion list for the autoconf build system <autoconf.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf>
List-Post: <mailto:autoconf@gnu.org>
List-Help: <mailto:autoconf-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf>,
	<mailto:autoconf-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 23 May 2012 15:03:57 -0000

Hi,

On Wed, May 23, 2012 at 2:17 AM, Bob Friesenhahn
<bfriesen@simple.dallas.tx.us> wrote:
> The forthcoming Automake release is about to break the means I have been
> using to automatically version my package (without manually editing
> configure.ac) for the past 9 years. =C2=A0I am told to use m4 code in the=
 AC_INIT
> arguments in order to supply package versioning information. =C2=A0This i=
s what I
> am using:
>
> AC_INIT(m4_esyscmd([scripts/pkginfo.sh package_name]),
> =C2=A0 =C2=A0 =C2=A0 =C2=A0m4_esyscmd([scripts/pkginfo.sh package_version=
]),
> =C2=A0 =C2=A0 =C2=A0 =C2=A0m4_esyscmd([scripts/pkginfo.sh package_bugrepo=
rt]))
>
> Unfortunately, this approach works exactly once since Autoconf 2.69 is
> caching the computed arguments passed to AC_INIT. =C2=A0Running 'autoconf=
' or
> 'autoreconf' again does not result in an updated configure script. Runnin=
g
> 'autoconf --force' in the source tree seems to work.

Thanks for bringing this up. I noticed this problem also some weeks
ago, but we still use autoconf 2.68 and automake 1.11.1. I couldn't
follow it lately, but the last thing I know was that you can disable
the caching via a file named '.autom4te.cfg' besides your configure.ac
with the following content:

begin-language: "Autoconf"
args: --no-cache
end-language: "Autoconf"

Bert

>
> Bob


