From MAILER-DAEMON Wed Jun 01 01:46:29 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QReGD-0007RZ-8u
	for mharc-autoconf@gnu.org; Wed, 01 Jun 2011 01:46:29 -0400
Received: from eggs.gnu.org ([140.186.70.92]:50331)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gary@gnu.org>) id 1QReGA-0007Ql-1R
	for autoconf@gnu.org; Wed, 01 Jun 2011 01:46:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gary@gnu.org>) id 1QReG8-0005Ie-2w
	for autoconf@gnu.org; Wed, 01 Jun 2011 01:46:25 -0400
Received: from caiajhbdccac.dreamhost.com ([208.97.132.202]:44792
	helo=homiemail-a15.g.dreamhost.com)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <gary@gnu.org>)
	id 1QReG7-0005IY-Lj
	for autoconf@gnu.org; Wed, 01 Jun 2011 01:46:23 -0400
Received: from homiemail-a15.g.dreamhost.com (localhost [127.0.0.1])
	by homiemail-a15.g.dreamhost.com (Postfix) with ESMTP id 8C70E76C06F;
	Tue, 31 May 2011 22:46:22 -0700 (PDT)
Received: from [192.168.1.6] (unknown [180.183.105.220])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: gary@vaughan.pe)
	by homiemail-a15.g.dreamhost.com (Postfix) with ESMTPSA id 221B576C069; 
	Tue, 31 May 2011 22:46:22 -0700 (PDT)
References: <Pine.LNX.4.64.1105310948010.30144@grozny.maths.univ-evry.fr>
	<4DE4F9E8.5090401@redhat.com>
In-Reply-To: <4DE4F9E8.5090401@redhat.com>
Mime-Version: 1.0 (iPad Mail 8H7)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii
Message-Id: <F491B835-AE03-49C1-BFB8-C1117CAF3BF4@gnu.org>
X-Mailer: iPad Mail (8H7)
From: "Gary V. Vaughan" <gary@gnu.org>
Subject: Parsing autoconf input before running aclocal [Was Re: autoreconf and
	gettext]
Date: Wed, 1 Jun 2011 12:50:58 +0700
To: Eric Blake <eblake@redhat.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.97.132.202
Cc: "autoconf@gnu.org" <autoconf@gnu.org>, Vincent Torri <vtorri@univ-evry.fr>
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, 01 Jun 2011 05:46:27 -0000

Hi Eric,

On 31 May 2011, at 21:23, Eric Blake <eblake@redhat.com> wrote:
> Right now, autoreconf greps configure.ac for /^AM_GNU_GETTEXST_VERSION/,
> rather than using autoconf --trace mechanisms.  Which is unfortunate,
> because for situations like this, it gets the wrong answers.

Sometimes, particularly with bootstrap tools that need to work before all th=
e .m4
files required are available, it is not possible to run 'autoconf --trace' w=
ithout
failing on undefined macros.  The solution to that /has/ been to grep throug=
h the
source files; however, in the replacement bootstrap script I've submitted to=

gnulib on a few occasions over the last year, I came up with a much better
mechanism than grep, which uses M4 itself to parse the input files for calls=
 to
important macros, so is not subject to false positives or inability to parse=
 M4
constructed symbols... but which continues to work even which aclocal has no=
t
yet copied the depended upon macro files into view -- unlike Autoconf proper=
.

This seems like a good mechanism to port to autoreconf IMHO. Or better yet,
for incorporation into Autoconf itself as a separate --language option.

Ping me if you're interested but can't find my relevant posts, and I'll look=
 up
the links for you in the gnulib archives.

Cheers,
--=20
Gary V. Vaughan (gary AT gnu DOT org)=


From MAILER-DAEMON Tue Jun 07 15:11:21 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QU1gO-0001Y9-N8
	for mharc-autoconf@gnu.org; Tue, 07 Jun 2011 15:11:21 -0400
Received: from eggs.gnu.org ([140.186.70.92]:51876)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rakesh.usenet@gmail.com>) id 1QU0AM-0007bQ-96
	for autoconf@gnu.org; Tue, 07 Jun 2011 13:34:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rakesh.usenet@gmail.com>) id 1QU0AK-0003os-Qe
	for autoconf@gnu.org; Tue, 07 Jun 2011 13:34:10 -0400
Received: from mail-pz0-f41.google.com ([209.85.210.41]:56033)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rakesh.usenet@gmail.com>) id 1QU0AK-0003oi-Dj
	for autoconf@gnu.org; Tue, 07 Jun 2011 13:34:08 -0400
Received: by pzk4 with SMTP id 4so3182523pzk.0
	for <autoconf@gnu.org>; Tue, 07 Jun 2011 10:34:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=FqFCKq0ogdfizFbtp5FHiLz7UGZAgMOb6UT+YOFrAmg=;
	b=rmWI2AuKJ35G+riklYPQJbuVQinx5Er4HUF+58ruTaijkseVPuBhxOiGSVEQ/nxsKR
	+Mdh9Q2+ufe4SLbRt2k5FF+YJ30ZvGyAJe2PBH7I4GpNs+VjQi7xBW8NiFYuK8ANqhOK
	gc3QbhcQKP4K7lF3ZzFUSBlNyrH/9UYDzr90c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=Q3h8rb9T/PFO+P5ArMdjL8r8xARw8XLi8EW7mtbiKlUOvhsBU165FdGzAU3/TCu4sE
	X2J3BIM9bP37gCrcsAWYs5NULnSvFThQk2oF9mrLoR/pENcJ/djLbg1yOdp+qr9onGuX
	I0QE92FYkIjM/lmyTS2GHwyWYDq5s8mluFrZs=
MIME-Version: 1.0
Received: by 10.68.24.1 with SMTP id q1mr278012pbf.181.1307468046402; Tue, 07
	Jun 2011 10:34:06 -0700 (PDT)
Received: by 10.68.60.195 with HTTP; Tue, 7 Jun 2011 10:34:06 -0700 (PDT)
Date: Tue, 7 Jun 2011 23:04:06 +0530
Message-ID: <BANLkTinasPkAA=BeLA9=TXYcxdJbDb+ZSQ@mail.gmail.com>
Subject: autoconf / automake - header file path
From: Rakesh S <rakesh.usenet@gmail.com>
To: autoconf@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.210.41
X-Mailman-Approved-At: Tue, 07 Jun 2011 15:11:19 -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, 07 Jun 2011 17:34:11 -0000

For a particular library we are building - the configure.ac looks as follows:

AC_CHECK_HEADERS(libmyapp.h) .

The location of libmyapp.h depends on the architecture / *nix distribution etc.

The Makefile.am looks as follows:

bin_PROGRAMS = hello

hello_CFLAGS = -I /usr/fqpath

If ./configure ( as output by autoconf  succeeds while checking
headers) , is there a macro variable that points to the fully
qualified path that succeeded that macros ,  that can be later used by
the automake tool as well (in Makefile.am )  ?


From MAILER-DAEMON Tue Jun 07 16:34:39 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QU2z0-0004iM-FQ
	for mharc-autoconf@gnu.org; Tue, 07 Jun 2011 16:34:38 -0400
Received: from eggs.gnu.org ([140.186.70.92]:51538)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QU2v5-0003mh-B8
	for autoconf@gnu.org; Tue, 07 Jun 2011 16:30:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QU2v4-0001xj-9P
	for autoconf@gnu.org; Tue, 07 Jun 2011 16:30:35 -0400
Received: from mail-vx0-f169.google.com ([209.85.220.169]:52862)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QU2v4-0001xf-4c
	for autoconf@gnu.org; Tue, 07 Jun 2011 16:30:34 -0400
Received: by vxk20 with SMTP id 20so5052999vxk.0
	for <autoconf@gnu.org>; Tue, 07 Jun 2011 13:30:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=cmlWFVCAT7UxfW/zj9hsRZzC53gyWIEOQ7g04PJFNWQ=;
	b=ulZ9opVJjzL+H9uCQ726EJuJEDh+nb58g/OXSUI5AgS/LXEoN2X1IUisgop50cCqGB
	O42BB1+YVKpOsRMD8fAjVIVZsQ9IWFXaVmYKp4GHkV9HwmtIIXzlqhISJAH6/2zv/Mex
	/tS66D91Gu0rBWxcp2TMz0QRZ5CxJPrMmt/FA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=trclJsZ0MopDmWvHHJx4DC1yp3u1Mwk1dFGWzLtIBYu00n92AR6Jgi8S9MMd6UkdcI
	Tg6rdyKuxS/DfHp+de6Ynm8BCsIJCtauVnFf+658qL0c6SCP/3bCYXM3bYEbBq78wNz4
	Xe4cD/y8E/99hpp3J738UnUgc9BPLF5s73Bx8=
MIME-Version: 1.0
Received: by 10.52.97.161 with SMTP id eb1mr470567vdb.74.1307478633208; Tue,
	07 Jun 2011 13:30:33 -0700 (PDT)
Received: by 10.52.110.202 with HTTP; Tue, 7 Jun 2011 13:30:33 -0700 (PDT)
Date: Tue, 7 Jun 2011 14:30:33 -0600
Message-ID: <BANLkTi=0NNDeEes5H8rFDyGfvARh5ifoEg@mail.gmail.com>
Subject: _AC_LANG_ABBREV on Mac
From: Jim Edwards <edwards.jim@gmail.com>
To: autoconf@gnu.org
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.220.169
X-Mailman-Approved-At: Tue, 07 Jun 2011 16:34:36 -0400
Content-Type: text/plain; charset=ISO-8859-1
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: Tue, 07 Jun 2011 20:30:36 -0000

Hi All,

I have
-n checking for libtool >= 1.5 ...
Major version might be too new (2.4)
Checking if required version of automake is installed
-n checking for autoconf >= 2.54 ...
yes (version 2.61)
-n checking for automake >= 1.9.6 ...
yes (version 1.10)

on a Mac OSX 10.7.0

and I am trying to bootstrap a project that contains CXX and Fortran code.
But I am getting the following error from configure:

configure:23907: error: possibly undefined macro: AS_ECHO
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:23907: error: possibly undefined macro: _AC_LANG_ABBREV

I see that both these macros exist in my /usr/share/autoconf tree - why
isn't it finding them?

From MAILER-DAEMON Tue Jun 07 16:40:50 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QU350-0006V3-1B
	for mharc-autoconf@gnu.org; Tue, 07 Jun 2011 16:40:50 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43847)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QU34x-0006UU-EW
	for autoconf@gnu.org; Tue, 07 Jun 2011 16:40:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QU34v-0003m0-EJ
	for autoconf@gnu.org; Tue, 07 Jun 2011 16:40:47 -0400
Received: from mx1.redhat.com ([209.132.183.28]:24560)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QU34u-0003lu-Uv
	for autoconf@gnu.org; Tue, 07 Jun 2011 16:40:45 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p57Keh6K011903
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 7 Jun 2011 16:40:43 -0400
Received: from [10.3.113.52] (ovpn-113-52.phx2.redhat.com [10.3.113.52])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p57KegLe029271; Tue, 7 Jun 2011 16:40:42 -0400
Message-ID: <4DEE8CCA.8010708@redhat.com>
Date: Tue, 07 Jun 2011 14:40:42 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: Jim Edwards <edwards.jim@gmail.com>
Subject: Re: _AC_LANG_ABBREV on Mac
References: <BANLkTi=0NNDeEes5H8rFDyGfvARh5ifoEg@mail.gmail.com>
In-Reply-To: <BANLkTi=0NNDeEes5H8rFDyGfvARh5ifoEg@mail.gmail.com>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigEED3B53190A90C0ADDC415B9"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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, 07 Jun 2011 20:40:49 -0000

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

On 06/07/2011 02:30 PM, Jim Edwards wrote:
> Hi All,
>=20
>=20
> configure:23907: error: possibly undefined macro: AS_ECHO
>       If this token and others are legitimate, please use m4_pattern_al=
low.
>       See the Autoconf documentation.
> configure:23907: error: possibly undefined macro: _AC_LANG_ABBREV
>=20
> I see that both these macros exist in my /usr/share/autoconf tree - why=

> isn't it finding them?

Most likely, the real problem is that you have incorrect m4 quoting
somewhere earlier in your configure.ac file (possible with overquoting,
or the use of # to start an unintended comment; also possible with
underquoting causing you to pass a macro's expansion as an argument to
some other macro which changes the number of arguments or even the
detection of the ending ')' to that outer macro).  Error messages like
this usually mean that you have seriously confused autoconf on what
macros should be expanded.  Look at line 23907 in the resulting
configure file to see what text surrounds the unexpanded AS_ECHO, and
then try to figure out what area of your configure.ac was responsible
for generating that portion of configure, in order to find out where
your mistaken m4 quoting occurs.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigEED3B53190A90C0ADDC415B9
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEbBAEBCAAGBQJN7ozKAAoJEKeha0olJ0NqVugH+MMOyabeOo1MSq5ph2DGcQeB
NYAXzQ+gHExW6UY4NDrOgAEacTCoC/CRYkq0XQUM+Y+DJZoCHw/sEi/w7Y/Yrt5u
8NsGh7pRpOA7pMhDHeNgg0VIuk5ut86q1PNsT8dfUQ0wIwIuqE/2jdbWg2ABpThs
vQ/7atfNrhT6V/G009zSO42QJEii2cVZmSfjKyX7y+qhP1ZaObiZAg93+vQL6Eqf
PknnFbjlqjHfAKBI52dFsW+yPe00aKFcrtvAStD3u9uJ/uI4/t0fABFVpnUmEzt8
S/wCbfXUtyFeWo1tWliWOf8mMphY/SqyLRmjcGdj52bLjo/VQ9jFnno6BGQcfw==
=cuW7
-----END PGP SIGNATURE-----

--------------enigEED3B53190A90C0ADDC415B9--


From MAILER-DAEMON Tue Jun 07 17:00:16 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QU3Nn-0001PB-Ex
	for mharc-autoconf@gnu.org; Tue, 07 Jun 2011 17:00:15 -0400
Received: from eggs.gnu.org ([140.186.70.92]:57178)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nbowler@elliptictech.com>) id 1QU3Nl-0001Og-8o
	for autoconf@gnu.org; Tue, 07 Jun 2011 17:00:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <nbowler@elliptictech.com>) id 1QU3Nj-0007QE-Fs
	for autoconf@gnu.org; Tue, 07 Jun 2011 17:00:13 -0400
Received: from mail.elliptictech.com ([209.217.122.41]:55626
	helo=mail.ellipticsemi.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nbowler@elliptictech.com>) id 1QU3Nj-0007PP-3y
	for autoconf@gnu.org; Tue, 07 Jun 2011 17:00:11 -0400
Received: from nbowler by mail.ellipticsemi.com with local (Exim 4.76)
	(envelope-from <nbowler@elliptictech.com>)
	id 1QU3Ne-0001QH-BT; Tue, 07 Jun 2011 17:00:06 -0400
Date: Tue, 7 Jun 2011 17:00:06 -0400
From: Nick Bowler <nbowler@elliptictech.com>
To: Jim Edwards <edwards.jim@gmail.com>
Subject: Re: _AC_LANG_ABBREV on Mac
Message-ID: <20110607210006.GA27565@elliptictech.com>
References: <BANLkTi=0NNDeEes5H8rFDyGfvARh5ifoEg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <BANLkTi=0NNDeEes5H8rFDyGfvARh5ifoEg@mail.gmail.com>
Organization: Elliptic Technologies Inc.
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.217.122.41
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, 07 Jun 2011 21:00:15 -0000

On 2011-06-07 14:30 -0600, Jim Edwards wrote:
> -n checking for autoconf >= 2.54 ...
> yes (version 2.61)
[...]
> configure:23907: error: possibly undefined macro: AS_ECHO
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> configure:23907: error: possibly undefined macro: _AC_LANG_ABBREV
> 
> I see that both these macros exist in my /usr/share/autoconf tree - why
> isn't it finding them?

Looking at the git history, AS_ECHO was introduced after autoconf
version 2.61, and was first available in autoconf 2.62 (there's a 2.61a
tag, but I don't see a corresponding tarball on ftp.gnu.org).

Autoconf 2.61 is almost 5 years old; you may wish to try a newer
version.  Also, you may want to advise the maintainers of this package
to increase the minimum autoconf version from 2.54, since apparently
they require at least 2.62.

The second error is very likely just fallout from the first, and it will
go away with an autoconf version that supports AS_ECHO.

Hope that helps,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)


From MAILER-DAEMON Wed Jun 08 05:19:45 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUEvR-0003ZM-3M
	for mharc-autoconf@gnu.org; Wed, 08 Jun 2011 05:19:45 -0400
Received: from eggs.gnu.org ([140.186.70.92]:56340)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <c.roessel@fz-juelich.de>) id 1QUEvO-0003Yd-2F
	for autoconf@gnu.org; Wed, 08 Jun 2011 05:19:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <c.roessel@fz-juelich.de>) id 1QUEvM-0000du-3o
	for autoconf@gnu.org; Wed, 08 Jun 2011 05:19:41 -0400
Received: from mailgw-e01.its.kfa-juelich.de ([134.94.4.23]:44939)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <c.roessel@fz-juelich.de>) id 1QUEvL-0000dZ-Ke
	for autoconf@gnu.org; Wed, 08 Jun 2011 05:19:39 -0400
Received: from localhost (localhost [127.0.0.1])
	by mailgw-e01.its.kfa-juelich.de (Postfix) with ESMTP id 4B565F4630D
	for <autoconf@gnu.org>; Wed,  8 Jun 2011 11:19:36 +0200 (CEST)
X-Virus-Scanned: amavisd-new at fz-juelich.de
Received: from mailgw-e01.its.kfa-juelich.de ([127.0.0.1])
	by localhost (mailgw-e01.its.kfa-juelich.de [127.0.0.1]) (amavisd-new,
	port 10024) with ESMTP id Pi00hcPRnI0p for <autoconf@gnu.org>;
	Wed,  8 Jun 2011 11:19:33 +0200 (CEST)
Received: from hub-e01.ad.fz-juelich.de (hub-e01.its.kfa-juelich.de
	[134.94.4.34]) by mailgw-e01.its.kfa-juelich.de (Postfix) with ESMTP
	for <autoconf@gnu.org>; Wed,  8 Jun 2011 11:19:33 +0200 (CEST)
Received: from [134.94.170.189] (134.94.170.189) by hub-e01.ad.fz-juelich.de
	(134.94.4.38) with Microsoft SMTP Server (TLS) id 8.1.393.1;
	Wed, 8 Jun 2011 11:16:45 +0200
Message-ID: <4DEF3DFD.9000903@fz-juelich.de>
Date: Wed, 8 Jun 2011 11:16:45 +0200
From: =?UTF-8?B?Q2hyaXN0aWFuIFLDtnNzZWw=?= <c.roessel@fz-juelich.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10
MIME-Version: 1.0
To: <autoconf@gnu.org>
Subject: Re: Autoconf MPI macros
References: <4DDB7420.5080905@icp.uni-stuttgart.de>
	<F0F90F8B4D282340A6D984CE8FA7A0A701235243066B@EMAIL05.pnl.gov>
In-Reply-To: <F0F90F8B4D282340A6D984CE8FA7A0A701235243066B@EMAIL05.pnl.gov>
Content-Type: multipart/mixed; boundary="------------020507060301000902080508"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 134.94.4.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: Wed, 08 Jun 2011 09:19:43 -0000

--------------020507060301000902080508
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On 05/24/2011 06:16 PM, Daily, Jeff A wrote:
>> -----Original Message-----
>
>> From: autoconf-bounces+jeff.daily=3Dpnl.gov@gnu.org [mailto:autoconf-
>
>> bounces+jeff.daily=3Dpnl.gov@gnu.org] On Behalf Of Olaf Lenz
>
>> Sent: Tuesday, May 24, 2011 2:02 AM
>
>> To: autoconf@gnu.org; autoconf-archive-maintainers@gnu.org; Steven G.
>
>> Johnson; Julian C. Cummings
>
>> Subject: Autoconf MPI macros
>
>>
>
>> Hi all!
>
>>
>
>> We are using the GNU autotools and MPI in a number of our projects, and
>
>> we found that the AX_MPI macro from the autoconf macro archive has a few
>
>> shortcomings.
>
>>
>
>> The problem is that AX_MPI starts to do anything only after the standard=
 C
>
>> compiler has been found via AC_PROG_CC. If you want to compile the whole
>
>> package using MPI and simply replace CC with the MPI compiler, this can =
lead
>
>> to serious trouble. Assume the following case (seen on an IBM AIX machin=
e):
>
>> * gcc is installed
>
>> * the MPI compiler is xlc (the IBM compiler)
>
>>
>
>> If I use AX_MPI in configure.ac, the following will happen in configure:
>
>> * AC_PROG_CC will recognize "gcc" as standard C compiler
>
>> * it will furthermore determine the options that gcc uses to generate
>
>> dependencies
>
>> * then, AX_MPI will recognize the MPI compiler "xlc"
>
>> * CC will be set to "xlc"
>
>>
>
>> When I compile, this means that the compiler tries to generate
>
>> dependencies using the compiler xlc with the options of gcc. In this par=
ticular
>
>> case, the option (-MD if I'm not mistaken) caused xlc to output profilin=
g
>
>> information into the .c-file and thus effectively destroyed the C-code.
>
>>
>
>> I believe that the correct way to avoid this problem is a set of new mac=
ros
>
>> AX_PROG_{FC,CCCXX}_MPI that are used in configure.ac instead of
>
>> AC_PROG_{CC,FC,CXX}. I have attached the macro AX_PROG_CC_MPI, and a
>
>> git clone of the autoconf macro archive containing the macro can be foun=
d at
>
>>
>
>>   https://github.com/olenz/autoconf-archive
>
>>
>
>> Internally, the MPI macro uses the standard macro AC_PROG_CC to find the
>
>> compiler, and directly sets CC to a working MPI version.
>
>>
>
>> I propose to include these macros into the autoconf macro archive, and t=
o
>
>> extend the docs of AX_MPI to point to these macros.
>
>>
>
>> Greetings
>
>>   Olaf
>
>>
>
>> --
>
>> Dr. rer. nat. Olaf Lenz
>
>> Institut f=C3=BCr Computerphysik, Pfaffenwaldring 27, D-70569 Stuttgart
>
>> Phone: +49-711-685-63607
>
>
>
> There are additional shortcomings that we noticed while trying to use MPI=
 compilers with autotools.  Specifically to autoconf, on some systems the M=
PI compilers produce incorrect results for the AC_F77_LIBRARY_LDFLAGS test.=
  We use AC_PROG_CC, AC_PROG_F77, and AC_PROG_CXX and pass in a well-known =
list of possible MPI compilers to search for so that CC, F77, and CXX are s=
et and used throughout the configure script.  However, we then immediately =
"unwrap" the MPI compilers to determine the standard compilers.  We pass th=
e unwrapped compilers to AC_F77_LIBRARY_LDFLAGS.

I encountered AC_F77_LIBRARY_LDFLAGS shortcomings only with Oracle/Sun
studio compiler and MPI wrappers based on this compiler. But with your
additions to _AC_FC_LIBRARY_LDFLAGS, namely _GA_FC_LIBRARY_LDFLAGS, this
macro gets you the desired result.

I'm not sure if I fully understand what you are doing in
GA_F77_LIBRARY_LDFLAGS but I think that your changes to
_AC_FC_LIBRARY_LDFLAGS should be included in the next autoconf release
as they fix the problem with the studio compiler.

I attached a patch with your changes against git head. If this is going
to be pushed, please don't credit me but Jeff for this contribution.


>
>
> Further, if you're using libtool, you must pass the unwrapped compilers t=
o libtool because libtool unfortunately compares against compiler names.  W=
orse yet, after libtool is finished with its tests, we have to substitute b=
ack in the MPI compilers which is a hack, at best.

I ran into trouble using libtool with PGI and Intel based Fortran MPI
compiler wrappers too. But with recent patches [1] [2] I have no
problems using the compiler wrappers (gcc, Intel, IBM, PGI, Cray)
directly with libtool, except for the Oracle/Sun studio compiler in
shared library mode.

Christian

[1]
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3D92eb89aace9fd41e4=
3eee33f5c392adf1bcf8963
[2]
http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=3D39ba8c55de025805c=
69d46e76f1a352658e01382

>
> Of course, if the user passes the MPI include paths, library paths, and M=
PI libraries manually then there is no issue since a standard compiler is t=
hen used throughout.  We only have issues trying to use the MPI compilers. =
 Our default is to use the compiler wrappers, but we allow the user to pass=
 arguments to our --with-mpi option which then disables the use of the MPI =
compilers.
>
>
>
> I've attached hopefully all relevant m4 files we use in our project, Glob=
al Arrays.
>
> Website: http://www.emsl.pnl.gov/docs/global/
>
> SVN: https://svn.pnl.gov/hpctools
> _________________________________________________
> Jeff Daily
> Scientist
> DATA INTENSIVE SCIENTIFIC COMPUTING
> Pacific Northwest National Laboratory
> 902 Battelle Boulevard
> P.O. Box 999, MSIN K7-90
> Richland, WA  99352 USA
> Tel:  509-372-6548
> Fax: 509-372-4720
> jeff.daily@pnnl.gov
> www.pnnl.gov
>
>
>


--
Christian R=C3=B6ssel
J=C3=BClich Supercomputing Centre
Telefon +49 2461 61-1773

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

Besuchen Sie uns auf unserem neuen Webauftritt unter www.fz-juelich.de

--------------020507060301000902080508
Content-Type: text/x-patch; name="_AC_FC_LIBRARY_LDFLAGS.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="_AC_FC_LIBRARY_LDFLAGS.patch"

diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index 56488a9..0290e2e 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -679,6 +679,13 @@ while test $[@%:@] != 1; do
 			       ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_j"])
 	  done
 	  ;;
+	-Y*)
+	  for ac_j in `AS_ECHO(["$ac_arg"]) | sed -e 's/-Y/-L/;s/"//g;s/:/ -L/g'`; do
+	    _AC_LIST_MEMBER_IF($ac_j, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
+			       [ac_arg="$ac_arg $ac_j"
+			       ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_j"])
+	  done
+	  ;;
 	-[[lLR]]*)
 	  _AC_LIST_MEMBER_IF($ac_arg, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
 			     ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg")

--------------020507060301000902080508--


From MAILER-DAEMON Wed Jun 08 09:20:22 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUIgH-0000dz-IO
	for mharc-autoconf@gnu.org; Wed, 08 Jun 2011 09:20:21 -0400
Received: from eggs.gnu.org ([140.186.70.92]:42432)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QUIgE-0000cw-3A
	for autoconf@gnu.org; Wed, 08 Jun 2011 09:20:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QUIg7-0003Lh-H0
	for autoconf@gnu.org; Wed, 08 Jun 2011 09:20:17 -0400
Received: from mail-vx0-f169.google.com ([209.85.220.169]:55712)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QUIg6-0003LM-Sb
	for autoconf@gnu.org; Wed, 08 Jun 2011 09:20:11 -0400
Received: by vxk20 with SMTP id 20so451841vxk.0
	for <autoconf@gnu.org>; Wed, 08 Jun 2011 06:20:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=qKp5pTrfKJzWD4QEy/QEtMV1mZQ96xHXkIVqMPo9aso=;
	b=tTsgiLUmwUXOS2X+uILs2Jf1sIf0AF9xFclKIUfdXM2M2ZwmkbcpaSU0M9xXjTy1y7
	DbhAnEQPD9ZfDr4w6SFTcBTyKkN+rPj5gl+ngMNqZtVvhEumgurYcR2jnIK0JRlCcPua
	orcLq0xOvAUyuCs4TvZh67J3CWg0KbfUltv+Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	b=tAK3g/3WdroJBLgiww7PJiDLEbM0H0GPJBK8atRH0Pdoo1yQ8yELexXJlGXrlPOU2b
	OkpoZYbud00S71nz6YSGoJiBAQQYYXV79z1UCmjQ3B+baZzkb+mDFQCLPdoPr4+gHfte
	Vlrlh+/d4PkNojUjzJzLDSbYYlmPkgsp0IlAw=
MIME-Version: 1.0
Received: by 10.52.176.136 with SMTP id ci8mr1181677vdc.234.1307539209188;
	Wed, 08 Jun 2011 06:20:09 -0700 (PDT)
Received: by 10.52.110.202 with HTTP; Wed, 8 Jun 2011 06:20:09 -0700 (PDT)
In-Reply-To: <20110607210006.GA27565@elliptictech.com>
References: <BANLkTi=0NNDeEes5H8rFDyGfvARh5ifoEg@mail.gmail.com>
	<20110607210006.GA27565@elliptictech.com>
Date: Wed, 8 Jun 2011 07:20:09 -0600
Message-ID: <BANLkTimSAn-Da-PauWX8t9SPUNKERKQOZg@mail.gmail.com>
Subject: Re: _AC_LANG_ABBREV on Mac
From: Jim Edwards <edwards.jim@gmail.com>
To: Nick Bowler <nbowler@elliptictech.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.220.169
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
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: Wed, 08 Jun 2011 13:20:20 -0000

Thanks - updating to 2.68 solved the problem.

On Tue, Jun 7, 2011 at 3:00 PM, Nick Bowler <nbowler@elliptictech.com>wrote:

> On 2011-06-07 14:30 -0600, Jim Edwards wrote:
> > -n checking for autoconf >= 2.54 ...
> > yes (version 2.61)
> [...]
> > configure:23907: error: possibly undefined macro: AS_ECHO
> >       If this token and others are legitimate, please use
> m4_pattern_allow.
> >       See the Autoconf documentation.
> > configure:23907: error: possibly undefined macro: _AC_LANG_ABBREV
> >
> > I see that both these macros exist in my /usr/share/autoconf tree - why
> > isn't it finding them?
>
> Looking at the git history, AS_ECHO was introduced after autoconf
> version 2.61, and was first available in autoconf 2.62 (there's a 2.61a
> tag, but I don't see a corresponding tarball on ftp.gnu.org).
>
> Autoconf 2.61 is almost 5 years old; you may wish to try a newer
> version.  Also, you may want to advise the maintainers of this package
> to increase the minimum autoconf version from 2.54, since apparently
> they require at least 2.62.
>
> The second error is very likely just fallout from the first, and it will
> go away with an autoconf version that supports AS_ECHO.
>
> Hope that helps,
> --
> Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
>

From MAILER-DAEMON Wed Jun 08 12:25:21 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QULZJ-0006nA-0T
	for mharc-autoconf@gnu.org; Wed, 08 Jun 2011 12:25:21 -0400
Received: from eggs.gnu.org ([140.186.70.92]:52284)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QULZE-0006lp-4Z
	for autoconf@gnu.org; Wed, 08 Jun 2011 12:25:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QULZC-0004iH-N8
	for autoconf@gnu.org; Wed, 08 Jun 2011 12:25:15 -0400
Received: from mail-vw0-f41.google.com ([209.85.212.41]:64822)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QULZC-0004iA-6T
	for autoconf@gnu.org; Wed, 08 Jun 2011 12:25:14 -0400
Received: by vws4 with SMTP id 4so655723vws.0
	for <autoconf@gnu.org>; Wed, 08 Jun 2011 09:25:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=hijbSIofwy25TTMn9wAkzsTz1P7tKDwMev13LMKm8es=;
	b=DZWtfMt0AE52Znx7STfHBw9+SQNWa8HYER+mPfzvPUpilmOClpl3otAUZ0Ebots6Ej
	rt12aoQ2HR1eb9dWg71OnYD265Wn3oOTe08mABEsJ3c0pDGo1JRv4AjW6cI8FeK4ip+M
	5cy9nUd7/6jxz5Dq1CyNu+B8uW814q8NZouCE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=FjmxFO2/S+xmwb7AbkUI0PCLScF2izIIiCBN2nJHbO6nZ7xDog6Mo9z4TTtha7S66a
	JapDSOn54WZ9izY+GYmvId8OJ54UxPc4aPvTchRA8p8u3ZxOaWcjXJSco069nVSOzY0i
	EOODJdNl2hW51gDA7ZytZAIqJHcQo3YnckXxo=
MIME-Version: 1.0
Received: by 10.52.184.66 with SMTP id es2mr2197616vdc.114.1307550313205; Wed,
	08 Jun 2011 09:25:13 -0700 (PDT)
Received: by 10.52.110.202 with HTTP; Wed, 8 Jun 2011 09:25:13 -0700 (PDT)
Date: Wed, 8 Jun 2011 10:25:13 -0600
Message-ID: <BANLkTimPvJszER4JuSPUKP3pw7xP4-8RuA@mail.gmail.com>
Subject: fortran.m4 _AC_FC_LIBRARY_LDFLAGS
From: Jim Edwards <edwards.jim@gmail.com>
To: autoconf@gnu.org
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.212.41
Content-Type: text/plain; charset=ISO-8859-1
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, 08 Jun 2011 16:25:18 -0000

I think that I've found a bug in this function,  I am using pgf90 10.3-0
and the -v flag is producing a line which includes a flag -list which is
then
interpreted as a library and causes a failure later when it trys to link.

In the function I found:

      # Ignore these flags.
    -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
      |-LANG:=* | -LIST:* | -LNO:* | -link )
      ;;


And the obvious thing to do is add -list to this list.   I did that and it
solves the problem.   But this list seems really kludgey to me - wouldn't it
be better to test link with all of the -lwhatever
flags and keep the ones that pass that test?

Jim

From MAILER-DAEMON Thu Jun 09 15:31:40 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUkx9-0008VX-8W
	for mharc-autoconf@gnu.org; Thu, 09 Jun 2011 15:31:39 -0400
Received: from eggs.gnu.org ([140.186.70.92]:59278)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QUkx2-0008T8-EZ
	for autoconf@gnu.org; Thu, 09 Jun 2011 15:31:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QUkx0-0005Wt-Oj
	for autoconf@gnu.org; Thu, 09 Jun 2011 15:31:32 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:45310)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QUkx0-0005Wh-4g
	for autoconf@gnu.org; Thu, 09 Jun 2011 15:31:30 -0400
Received: (qmail 478 invoked by uid 0); 9 Jun 2011 19:31:27 -0000
Received: from 74.125.122.49 by www063.gmx.net with HTTP;
	Thu, 09 Jun 2011 21:31:26 +0200 (CEST)
Content-Length: 1338
Content-Type: text/plain; charset="utf-8"
Date: Thu, 09 Jun 2011 21:31:26 +0200
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
In-Reply-To: <BANLkTimPvJszER4JuSPUKP3pw7xP4-8RuA@mail.gmail.com>
Lines: 37
Message-ID: <20110609193126.258000@gmx.net>
MIME-Version: 1.0
References: <BANLkTimPvJszER4JuSPUKP3pw7xP4-8RuA@mail.gmail.com>
Status: RO
Subject: Re: fortran.m4 _AC_FC_LIBRARY_LDFLAGS
To: Jim Edwards <edwards.jim@gmail.com>
X-Authenticated: #13673931
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Mutt-Fcc: ~/sent
X-Mutt-References: <BANLkTimPvJszER4JuSPUKP3pw7xP4-8RuA@mail.gmail.com>
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX18BZrJRRb8BPt3ZDDYzJDtRxEU856dYcmdwgeERJZ
	qDTFJOJ0ZGbUfkReMZqTFanFtD37xKJTbeDw== 
Content-Transfer-Encoding: 8bit
X-GMX-UID: 3WuUPaAFZCEEfqXftWwhWJt4IGhpZQZU
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 213.165.64.22
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: Thu, 09 Jun 2011 19:31:37 -0000

Hi Jim,

thanks for the report.

On Wed, Jun 08, 2011 at 10:25:13AM -0600, Jim Edwards wrote:
> I think that I've found a bug in this function,  I am using pgf90 10.3-0
> and the -v flag is producing a line which includes a flag -list which is
> then interpreted as a library and causes a failure later when it trys to
> link.
> 
> In the function I found:
> 
>       # Ignore these flags.
>     -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
>       |-LANG:=* | -LIST:* | -LNO:* | -link )
>       ;;
> 
> 
> And the obvious thing to do is add -list to this list.

And that is IMVHO the correct fix here, too.  Would love to be beaten to
pushing the fix though.

>  I did that and it
> solves the problem.   But this list seems really kludgey to me - wouldn't it
> be better to test link with all of the -lwhatever
> flags and keep the ones that pass that test?

Well, the problem is that some of the above won't cause failures in every
case, for example -lc and -lgcc.  So we might not notice that we should
drop these flags.  Also, trying to drop them one by one, or adding them
one by one is not necessarily sufficient to find a suitable set, as there
may be interdependencies between the libraries.  The last point is mostly
moot on all modern systems, due to working interdependent library linking.

Cheers,
Ralf


From MAILER-DAEMON Sat Jun 11 14:26:46 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QVStS-00065l-2q
	for mharc-autoconf@gnu.org; Sat, 11 Jun 2011 14:26:46 -0400
Received: from eggs.gnu.org ([140.186.70.92]:34888)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cedric.gava@alyotech.fr>) id 1QV7g2-0000fz-Vg
	for autoconf@gnu.org; Fri, 10 Jun 2011 15:47:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <cedric.gava@alyotech.fr>) id 1QV7fy-0002Jd-Hn
	for autoconf@gnu.org; Fri, 10 Jun 2011 15:47:30 -0400
Received: from mail.alyotech.fr ([86.66.40.180]:6016)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cedric.gava@alyotech.fr>) id 1QV7fy-0002Iz-5P
	for autoconf@gnu.org; Fri, 10 Jun 2011 15:47:26 -0400
Received: from AVE02.alyotech.fr (192.168.177.125) by mail.alyotech.fr
	(192.168.177.80) with Microsoft SMTP Server (TLS) id 8.3.159.2;
	Fri, 10 Jun 2011 21:26:40 +0200
Received: from AVE02.alyotech.fr ([192.168.7.2]) by AVE02.alyotech.fr
	([192.168.7.2]) with mapi; Fri, 10 Jun 2011 21:26:38 +0200
From: =?utf-8?B?R0FWQSBDw6lkcmlj?= <cedric.gava@alyotech.fr>
To: "autoconf@gnu.org" <autoconf@gnu.org>
Date: Fri, 10 Jun 2011 21:26:36 +0200
Subject: Build orchestration
Thread-Topic: Build orchestration
Thread-Index: Acwngo+U6HU0Jt9jT62p984u5nsvqw==
Message-ID: <3094F45D31CE22468FC1AF7E365EC12CEFBCA602E5@AVE02.alyotech.fr>
Accept-Language: fr-FR
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: fr-FR
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+
X-Received-From: 86.66.40.180
X-Mailman-Approved-At: Sat, 11 Jun 2011 14:26:44 -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: Fri, 10 Jun 2011 19:47:32 -0000

RGVhciBBdXRvY29uZmVycw0KDQpGb2xsb3dpbmcgdGhlIHN1YmplY3QgIiBNdWx0aXBsZSBzdWJk
aXJlY3RvcmllcyB3aXRoIG5vbi1zaW1pbGFyIGNvbmZpZ3VyZSBuZWVkcyIgYSBmZXcgd2Vla3Mg
YWdvLCBJJ20gdGhpbmtpbmcgb2YgdGhlIG9yY2hlc3RyYXRpb24gb2YgdGhlIGJ1aWxkIG9mIG1h
bnkgY29tcG9uZW50cy4NCg0KVGhpcyBzdWJqZWN0IGlzIGFib3ZlIEF1dG9jb25m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hp
cyBtZXNzYWdlIGFuZCBhbnkgYXR0YWNobWVudHMgYXJlIGNvbmZpZGVudGlhbC4gSWYgeW91IGFy
ZSBub3QgdGhlIGludGVuZGVkIHJlY2lwaWVudCBvciBoaXMgYXV0aG9yaXplZCBhZ2VudCwgcGxl
YXNlIGJlIGFkdmlzZWQgdGhhdCBjb3B5aW5nLCBkaXN0cmlidXRpbmcgb3IgcmV2ZWFsaW5nIHRo
ZSBjb250ZW50cyBvZiB0aGlzIG1lc3NhZ2UgaXMgZXhwcmVzc2x5IHByb2hpYml0ZWQuIA0KSWYg
eW91IGFyZSBub3QgdGhlIGludGVuZGVkIHJlY2lwaWVudCwga2luZGx5IG5vdGlmeSB0aGUgc2Vu
ZGVyIGltbWVkaWF0ZWx5IGJ5IHJldHVybiBlLW1haWwsIGFuZCBkZWxldGUgdGhpcyBtZXNzYWdl
IGZyb20geW91ciBzeXN0ZW0NCg0KDQo=


From MAILER-DAEMON Sat Jun 11 14:26:47 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QVStS-00065r-H1
	for mharc-autoconf@gnu.org; Sat, 11 Jun 2011 14:26:46 -0400
Received: from eggs.gnu.org ([140.186.70.92]:48777)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <luca.formaggia@gmail.com>) id 1QVKYp-0003KQ-PA
	for autoconf@gnu.org; Sat, 11 Jun 2011 05:32:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <luca.formaggia@gmail.com>) id 1QVKYo-0003Px-K7
	for autoconf@gnu.org; Sat, 11 Jun 2011 05:32:55 -0400
Received: from mail-ww0-f49.google.com ([74.125.82.49]:43619)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <luca.formaggia@gmail.com>) id 1QVKYo-0003Pt-Bu
	for autoconf@gnu.org; Sat, 11 Jun 2011 05:32:54 -0400
Received: by wwb39 with SMTP id 39so2888442wwb.30
	for <autoconf@gnu.org>; Sat, 11 Jun 2011 02:32:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:sender:message-id:date:from:reply-to
	:organization:user-agent:mime-version:to:subject:content-type
	:content-transfer-encoding;
	bh=O0OEV8u+TWNr4IDCyxMzWDhhrUCIHrUAPqvPK6zqwws=;
	b=iIKYuZyxDeJUevmTKukpX7uUSiM0be41H4heoBY5DmhkGIs0JpvNIuHvzLcQPv/LaQ
	qnRKy7NB3ChAr6RqztYT1kMx+VLlouLJ994UXWMrBQW28UFmvt2wij+QBGpxTgD+QCNo
	ZBeB9rnCYUoFsHGZDb0XeKUmvbj6RlUcYundI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=sender:message-id:date:from:reply-to:organization:user-agent
	:mime-version:to:subject:content-type:content-transfer-encoding;
	b=h+fWtCCydpE/ROysrOFNbzi4dkfix65Vp2gudGj878KrIR8BFW8PeOm0VcjJ75PMDo
	nfx4eb75y4OAiQ36AGrHOEQpu2JL7jV+ktKamiLrmQNLTBsBYw/lUZ/HmYrdvssz9t6c
	JB+bLGOrN1+LwXR/iMAdk/pisGV74ScFkKM+s=
Received: by 10.217.6.79 with SMTP id x57mr603329wes.10.1307784772526;
	Sat, 11 Jun 2011 02:32:52 -0700 (PDT)
Received: from [192.168.2.6] ([93.37.210.247])
	by mx.google.com with ESMTPS id fm14sm2655058wbb.7.2011.06.11.02.32.51
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sat, 11 Jun 2011 02:32:51 -0700 (PDT)
Sender: luca formaggia <luca.formaggia@gmail.com>
Message-ID: <4DF3363E.9080907@fastwebnet.it>
Date: Sat, 11 Jun 2011 11:32:46 +0200
From: Luca Formaggia <luca.formaggia@polimi.it>
Organization: MOX, Departement of Mathematics, Politecnico di Milano
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 ThunderBrowse/3.3.5
MIME-Version: 1.0
To: autoconf@gnu.org
Subject: CONDITINAL DEFINE
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 74.125.82.49
X-Mailman-Approved-At: Sat, 11 Jun 2011 14:26:44 -0400
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: luca.formaggia@polimi.it
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, 11 Jun 2011 09:32:57 -0000

Dear all,

I am rather new to Autoconf and I could not find an answer to this question in the manual. I would like to know if there is a command to produce
conditional defines. Something that from

AC_CONDEFINE(FOO,  "1")

would produce

#ifndef FOO
#define FOO 1
#endif

This to avoid multiple defines. It happens in my case because my software is integrating different libraries and it is difficult to know a-priori if
a macro has not yet been defined, and multiple definitions produce just an annoying  warning using gcc compiler but it may crash
other (more stupid) compilers.

Thank you for your help,

Luca




From MAILER-DAEMON Mon Jun 13 10:34:56 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QW8EC-0004hT-E5
	for mharc-autoconf@gnu.org; Mon, 13 Jun 2011 10:34:56 -0400
Received: from eggs.gnu.org ([140.186.70.92]:46062)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QW8E9-0004h3-Kj
	for autoconf@gnu.org; Mon, 13 Jun 2011 10:34:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QW8E6-0003wu-N0
	for autoconf@gnu.org; Mon, 13 Jun 2011 10:34:53 -0400
Received: from mx1.redhat.com ([209.132.183.28]:21829)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QW8E6-0003tz-4r
	for autoconf@gnu.org; Mon, 13 Jun 2011 10:34:50 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DEYhFD003494
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 13 Jun 2011 10:34:44 -0400
Received: from [10.3.113.141] (ovpn-113-141.phx2.redhat.com [10.3.113.141])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p5DEYgkj017721; Mon, 13 Jun 2011 10:34:43 -0400
Message-ID: <4DF62002.6040309@redhat.com>
Date: Mon, 13 Jun 2011 08:34:42 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Mnenhy/0.8.3
	Thunderbird/3.1.10
MIME-Version: 1.0
To: luca.formaggia@polimi.it
Subject: Re: CONDITINAL DEFINE
References: <4DF3363E.9080907@fastwebnet.it>
In-Reply-To: <4DF3363E.9080907@fastwebnet.it>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig5F9AB54F95001EDAB9AFE809"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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: Mon, 13 Jun 2011 14:34:55 -0000

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

On 06/11/2011 03:32 AM, Luca Formaggia wrote:
> Dear all,
>=20
> I am rather new to Autoconf and I could not find an answer to this
> question in the manual. I would like to know if there is a command to
> produce
> conditional defines. Something that from
>=20
> AC_CONDEFINE(FOO,  "1")
>=20
> would produce
>=20
> #ifndef FOO
> #define FOO 1
> #endif

According to the manual, doing this directly in config.h is discouraged;
you should instead strive to make config.h self-contained (perhaps by
having your separate libraries define separate macro names, then in a
non-config.h header you can probe all of those macro names to determine
whether to define FOO).

http://www.gnu.org/software/autoconf/manual/autoconf.html#Header-Template=
s

However, it is indeed possible to use AH_VERBATIM to produce a template
that looks like:

#ifndef FOO
# undef FOO
#endif

for inclusion into config.h.in; at which point the #undef FOO line will
be replaced with either a comment or a #define FOO value line by
config.status.

Gnulib's size_max.m4 is an example of this idiom:

http://git.savannah.gnu.org/cgit/gnulib.git/tree/m4/size_max.m4

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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

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

iQEcBAEBCAAGBQJN9iACAAoJEKeha0olJ0NqV5AH/i6JnAbc7mSINzHMQp1GwBKF
DRytP+ItlbyXMvg2b4ilK7R0aDZXQvTDHB6mC+BYQw16Q9yDaqQZG89d71vgFxCW
/EGzmSSGvG1NndItTFtEmvdK4Gb65gg7MgJMP8UaQ1bm8pm6PaW8rJI2kIIYWKEw
JsB8sj3cXakPwuCGkGVnSy88p0fCJJFhBeZLIsi2Jygto45nuMUSArZiAb7/7cXr
Fm0B9D5r+ZQNjVnnOZ2x6LSPn5sxovejP4EVbZ/QQIgxG/X1ix3ybK0QXeztKj7C
4HDhFrrvTYWoKQ9kBljjni8/za8YdxPzf9+v2b+hf+RM2dSxxKnCfma7nexBns4=
=LGWL
-----END PGP SIGNATURE-----

--------------enig5F9AB54F95001EDAB9AFE809--


From MAILER-DAEMON Mon Jun 13 18:08:49 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWFJQ-0001vd-9C
	for mharc-autoconf@gnu.org; Mon, 13 Jun 2011 18:08:48 -0400
Received: from eggs.gnu.org ([140.186.70.92]:60102)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sebelk@gmail.com>) id 1QWFJM-0001uq-MA
	for autoconf@gnu.org; Mon, 13 Jun 2011 18:08:46 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sebelk@gmail.com>) id 1QWFJI-0008MI-W0
	for autoconf@gnu.org; Mon, 13 Jun 2011 18:08:43 -0400
Received: from mail-vw0-f41.google.com ([209.85.212.41]:52479)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sebelk@gmail.com>) id 1QWFJI-0008M5-L5
	for autoconf@gnu.org; Mon, 13 Jun 2011 18:08:40 -0400
Received: by vws4 with SMTP id 4so5229908vws.0
	for <autoconf@gnu.org>; Mon, 13 Jun 2011 15:08:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:from:date:message-id:subject:to
	:content-type:content-transfer-encoding;
	bh=ZQ2UJ2jNuJ2CbLQwDJh74KAz1UoVO6eFT9Igs90iFw4=;
	b=iJGchFbyKprQPdd2Op0kXRqSgVKsJRERZhVkJEIy38dUqwrdQO4xSlQ2cay6sTts2J
	0xdu0FggmoYVGAXYF+gU825pyzSdZb4/Sipfub6bmfqXFs+8KAFt4i+6DRqvWxIX5HNm
	PjrDq/QT3vCbF28ZBwBschBMckX1ZGD5BhKaM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:from:date:message-id:subject:to:content-type
	:content-transfer-encoding;
	b=prxhG1DMcmW4WscFUBnCTsoj+9suXSotX5jXiABzC29V4fLx+UZNJvXnUbpsuuUraL
	18umKsCwyjLsbjnbjFJrElMDNshLd6zgeZn2eiIpzfgmpunTMfN9xdeIoD5PUsy4vcT0
	vqjv/B1labXAtE0uCNROPRBdx9a7iVWgJ4eCM=
Received: by 10.52.180.105 with SMTP id dn9mr2055491vdc.5.1308002764043; Mon,
	13 Jun 2011 15:06:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.107.8 with HTTP; Mon, 13 Jun 2011 15:05:44 -0700 (PDT)
From: Sergio Belkin <sebelk@gmail.com>
Date: Mon, 13 Jun 2011 19:05:44 -0300
Message-ID: <BANLkTinM3SRR7073mxKHbnSsNtcpU03XWA@mail.gmail.com>
Subject: static library as fallback
To: autoconf@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.212.41
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, 13 Jun 2011 22:08:46 -0000

I have the following sentence in a configure.ac:

AC_SEARCH_LIBS(ns_initparse,resolv)

The problem is ns_initparse is missing on old releases of libresolv.so
eg: on Centos 5.

So I'd want to make static resolv as a fallback, Can I do it with
AC_SEARCH_LIBS?

Thanks in advance!
--=20
--
Sergio Belkin =A0http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org


From MAILER-DAEMON Mon Jun 13 19:58:54 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWH1x-0006bd-Fj
	for mharc-autoconf@gnu.org; Mon, 13 Jun 2011 19:58:53 -0400
Received: from eggs.gnu.org ([140.186.70.92]:60145)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWH1e-0006E3-TY
	for autoconf@gnu.org; Mon, 13 Jun 2011 19:58:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWGnC-000131-Pd
	for autoconf@gnu.org; Mon, 13 Jun 2011 19:43:39 -0400
Received: from mx1.redhat.com ([209.132.183.28]:13725)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWGnC-00012w-Df
	for autoconf@gnu.org; Mon, 13 Jun 2011 19:43:38 -0400
Received: from int-mx12.intmail.prod.int.phx2.redhat.com
	(int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DNhaGB029889
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 13 Jun 2011 19:43:36 -0400
Received: from [10.3.113.153] (ovpn-113-153.phx2.redhat.com [10.3.113.153])
	by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p5DNhZlx029830; Mon, 13 Jun 2011 19:43:35 -0400
Message-ID: <4DF6A0A6.4000407@redhat.com>
Date: Mon, 13 Jun 2011 17:43:34 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: Sergio Belkin <sebelk@gmail.com>
Subject: Re: static library as fallback
References: <BANLkTinM3SRR7073mxKHbnSsNtcpU03XWA@mail.gmail.com>
In-Reply-To: <BANLkTinM3SRR7073mxKHbnSsNtcpU03XWA@mail.gmail.com>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig9FB9B6493BFA4C383272139D"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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: Mon, 13 Jun 2011 23:58:39 -0000

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

On 06/13/2011 04:05 PM, Sergio Belkin wrote:
> I have the following sentence in a configure.ac:
>=20
> AC_SEARCH_LIBS(ns_initparse,resolv)
>=20
> The problem is ns_initparse is missing on old releases of libresolv.so
> eg: on Centos 5.
>=20
> So I'd want to make static resolv as a fallback, Can I do it with
> AC_SEARCH_LIBS?

Of course, by using the action-if-not-found argument to declare a
witness preprocessor macro.  Something like this (untested, and adding
recommended m4 quoting):

AC_SEARCH_LIBS([ns_initparse], [resolv], [],
  [AC_DEFINE([MISSING_NS_INITPARSE], [1], [Define to 1 if ns_initparse
     is not available in any library])])

Then in your C code:

#if MISSING_NS_INITPARSE
// implement your static ns_initparse instead
#endif

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig9FB9B6493BFA4C383272139D
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN9qCmAAoJEKeha0olJ0NqgxwH/iwMd3hfRgxmSQnjy3sdT/1Q
vytYSR4MoqZxzWByFU9xEr4AxhTZKZnsKBsugu/lrfJ38PlrFvfvvDRSCvilpi6V
rUrOS0KGuzYvGlA3A1HbNIiyoAWcYmwFsUQ9VR6sLvyrtf+AZUr61SsJ9m6Hvinv
SmDjWSdZ1dShd+Q2AS/jf37ypRVwSMGY9bQ3oiiOe0EOWBpN6k0wTHs5cbS6MF/7
T8QlHr4EdtruZvlog5+aKIzWHEznOXW/IDx8YC+UlvKZ5nGQBvHUKgHEZFisZGAW
cHGa5GgwiO5NtIeMtT0LJ/bcNAHu9afZdDznak/RDgXnAs0S7WwaE3Pgp7yZUpM=
=DZtR
-----END PGP SIGNATURE-----

--------------enig9FB9B6493BFA4C383272139D--


From MAILER-DAEMON Tue Jun 14 06:27:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWQqT-0002F6-Ch
	for mharc-autoconf@gnu.org; Tue, 14 Jun 2011 06:27:41 -0400
Received: from eggs.gnu.org ([140.186.70.92]:53977)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QWQqJ-0002DA-As
	for autoconf@gnu.org; Tue, 14 Jun 2011 06:27:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QWQqB-00033y-64
	for autoconf@gnu.org; Tue, 14 Jun 2011 06:27:30 -0400
Received: from anoa.ica1.uni-stuttgart.de ([129.69.120.76]:54671)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>)
	id 1QWQpt-00032Y-Dn; Tue, 14 Jun 2011 06:27:06 -0400
Received: from [129.69.120.71] (nyala.ica1.uni-stuttgart.de [129.69.120.71])
	by anoa.ica1.uni-stuttgart.de (Postfix) with ESMTP id D21BFA4133;
	Tue, 14 Jun 2011 12:27:02 +0200 (CEST)
Message-ID: <4DF73776.9010303@icp.uni-stuttgart.de>
Date: Tue, 14 Jun 2011 12:27:02 +0200
From: Olaf Lenz <olenz@icp.uni-stuttgart.de>
Organization: Institut =?UTF-8?B?ZsO8ciBDb21wdXRlcnBoeXNpaywgVW5pdmVyc2l0?=
	=?UTF-8?B?w6R0IFN0dXR0Z2FydA==?=
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10
MIME-Version: 1.0
To: autoconf@gnu.org, autoconf-archive-maintainers@gnu.org, 
	"Steven G. Johnson" <stevenj@alum.mit.edu>,
	"Julian C. Cummings" <cummings@cacr.caltech.edu>
Subject: Request for inclusion [was: Re: Autoconf MPI macros]
References: <4DDB7420.5080905@icp.uni-stuttgart.de>
In-Reply-To: <4DDB7420.5080905@icp.uni-stuttgart.de>
X-TagToolbar-Keys: D20110614122702770
Content-Type: multipart/mixed; boundary="------------040807050909050008070203"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 129.69.120.76
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, 14 Jun 2011 10:27:39 -0000

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

Hi all again!

After the discussion on the mailing list and the subsequent
modifications I did to the AX_PROG_{CC,FC,F77,CXX}_MPI macros, I want to
suggest that these new macros should be included into the autoconf macro
archive.

You can pull the new macros and the modifications to the documentation
of the older macro AX_MPI from here:
  https://github.com/olenz/autoconf-archive

For reference, I have attached the new macros as well as the modified
ax_mpi.m4 to this mailing.

Olaf

--=20
Dr. rer. nat. Olaf Lenz
Institut f=C3=BCr Computerphysik, Pfaffenwaldring 27, D-70569 Stuttgart
Phone: +49-711-685-63607

--------------040807050909050008070203
Content-Type: text/plain;
 name="ax_mpi.m4"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="ax_mpi.m4"

IyA9PT09PT09PT09PT09PT09PT09PT09PT09PT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PVU5EL0FDVElPTi1JRi1O
T1QtRk9VTkQ6CmlmIHRlc3QgeCA9IHgiJE1QSUxJQlMiOyB0aGVuCiAgICAgICAgJDIKICAg
ICAgICA6CmVsc2UKICAgICAgICBpZmVsc2UoWyQxXSwsW0FDX0RFRklORShIQVZFX01QSSwx
LFtEZWZpbmUgaWYgeW91IGhhdmUgdGhlIE1QSSBsaWJyYXJ5Ll0pXSxbJDFdKQogICAgICAg
IDoKZmkKXSlkbmwgQVhfTVBJCg==
--------------040807050909050008070203
Content-Type: text/plain;
 name="ax_prog_cc_mpi.m4"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="ax_prog_cc_mpi.m4"

ZG5sIC0qLSBtb2RlOiBhdXRvY29uZiAtKi0KIyA9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KIyAg
ICAgICBodHRwOi8vd3d3LmdudS5vcmcvc29mdHdhcmUvYXV0b2NvbmYtYXJjaGl2ZS9heF9w
cm9nX2NjX21waS5odG1sCiMgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09CiMKIyBTWU5PUFNJUwoj
CiMgICBBWF9QUk9HX0NDX01QSShbTVBJLVdBTlRFRC1URVNUWywgQUNUSU9OLUlGLUZPVU5E
WywgQUNUSU9OLUlGLU5PVC1GT1VORF1dXSkKIwojIERFU0NSSVBUSU9OCiMKIyAgIFRoaXMg
bWFjcm8gdHJpZXMgdG8gZmluZCBvdXQgaG93IHRvIGNvbXBpbGUgQyBwcm9ncmFtcyB0aGF0
IHVzZSBNUEkKIyAgIChNZXNzYWdlIFBhc3NpbmcgSW50ZXJmYWNlKSwgYSBzdGFuZGFyZCBB
UEkgZm9yIHBhcmFsbGVsIHByb2Nlc3MKIyAgIGNvbW11bmljYXRpb24gKHNlZSBodHRwOi8v
d3d3LXVuaXgubWNzL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Q19NUEkK
--------------040807050909050008070203
Content-Type: text/plain;
 name="ax_prog_cxx_mpi.m4"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="ax_prog_cxx_mpi.m4"

ZG5sIC0qLSBtb2RlOiBhdXRvY29uZiAtKi0KIyA9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KIyAg
ICAgICBodHRwOi8vd3d3LmdudS5vcmcvc29mdHdhcmUvYXV0b2NvbmYtYXJjaGl2ZS9heF9w
cm9nX2N4eF9tcGkuaHRtbAojID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQojCiMgU1lOT1BTSVMK
IwojICAgQVhfUFJPR19DWFhfTVBJKFtNUEktV0FOVEVELVRFU1RbLCBBQ1RJT04tSUYtRk9V
TkRbLCBBQ1RJT04tSUYtTk9ULUZPVU5EXV1dKQojCiMgREVTQ1JJUFRJT04KIwojICAgVGhp
cyBtYWNybyB0cmllcyB0byBmaW5kIG91dCBob3cgdG8gY29tcGlsZSBDKysgcHJvZ3JhbXMg
dGhhdCB1c2UKIyAgIE1QSSAoTWVzc2FnZSBQYXNzaW5nIEludGVyZmFjZSksIGEgc3RhbmRh
cmQgQVBJIGZvciBwYXJhbGxlbAojICAgcHJvY2VzcyBjb21tdW5pY2F0aW9uIChzZWUgaHR0
cDovL3d3dy11bml4Lm1jcy5hbmwuZ292L21waS8pLiAgVGhlCiMgICBtYWNybyBoYXMgdG8g
YmUgdXNlZCBpbnN0ZWFkIG9mIHRoZSBzdGFuZGFyZCBtYWNybyBBQ19QUk9HX0NYWCBhbmQK
IyAgIHdpbGwgcmVwbGFjZSB0aGUgc3RhbmRhcmQgdmFyaWFibGUgQ1hYIHdpdGggdGhlIGZv
dW5kIGNvbXBpbGVyLgojCiMgICBNUEktV0FOVEVELVRFU1QgaXMgdXNlZCB0by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gYUNDIENDIGN4eCBj
YysrIGNsLmV4ZSBGQ0MgS0NDIFJDQ10pCiAgICBmaQogIGZpCiAgQUNfUFJPR19DWFgKXSlk
bmwgX0FYX1BST0dfQ1hYX01QSQo=
--------------040807050909050008070203
Content-Type: text/plain;
 name="ax_prog_f77_mpi.m4"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="ax_prog_f77_mpi.m4"

ZG5sIC0qLSBtb2RlOiBhdXRvY29uZiAtKi0KIyA9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KIyAg
ICAgICBodHRwOi8vd3d3LmdudS5vcmcvc29mdHdhcmUvYXV0b2NvbmYtYXJjaGl2ZS9heF9w
cm9nX2Y3N19tcGkuaHRtbAojID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQojCiMgU1lOT1BTSVMK
IwojICAgQVhfUFJPR19GNzdfTVBJKFtNUEktV0FOVEVELVRFU1RbLCBBQ1RJT04tSUYtRk9V
TkRbLCBBQ1RJT04tSUYtTk9ULUZPVU5EXV1dKQojCiMgREVTQ1JJUFRJT04KIwojICAgVGhp
cyBtYWNybyB0cmllcyB0byBmaW5kIG91dCBob3cgdG8gY29tcGlsZSBGb3J0cmFuNzcgcHJv
Z3JhbXMKIyAgIHRoYXQgdXNlIE1QSSAoTWVzc2FnZSBQYXNzaW5nIEludGVyZmFjZSksIGEg
c3RhbmRhcmQgQVBJIGZvcgojICAgcGFyYWxsZWwgcHJvY2VzcyBjb21tdW5pY2F0aW9uIChz
ZWUKIyAgIGh0dHA6Ly93d3ctdW5peC5tY3MuYW5sLmdvdi9tcGkvKS4gIFRoZSBtYWNybyBo
YXMgdG8gYmUgdXNlZAojICAgaW5zdGVhZCBvZiB0aGUgc3RhbmRhcmQgbWFjcm8gQUNfUFJP
R19GNzcgYW5kIHdpbGw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0lORyhbd2hldGhlciB0byBjb21waWxlIHVzaW5nIE1QSV0pCiAgICBp
ZiAkMTsgdGhlbgogICAgICBfYXhfcHJvZ19mNzdfbXBpX21waV93YW50ZWQ9eWVzCiAgICBl
bHNlCiAgICAgIF9heF9wcm9nX2Y3N19tcGlfbXBpX3dhbnRlZD1ubwogICAgZmkKICAgIEFD
X01TR19SRVNVTFQoJF9heF9wcm9nX2Y3N19tcGlfbXBpX3dhbnRlZCkKICBdKQogIGlmIHRl
c3QgeCIkX2F4X3Byb2dfZjc3X21waV9tcGlfd2FudGVkIiA9IHh5ZXM7IHRoZW4KICAgIGlm
IHRlc3QgLXogIiRGNzciICYmIHRlc3QgLW4gIiRNUElGNzciOyB0aGVuCiAgICAgIEY3Nz0i
JE1QSUY3NyIKICAgIGVsc2UKICAgICAgQUNfQ0hFQ0tfVE9PTFMoW0Y3N10sIFttcGlmNzcg
aGY3NyBtcHhsZl9yIG1weGxmIG1waWZydCBtcGY3NyBjbXBpZmMgeGxmIGY3NyBmcnQgcGdm
NzcgcGF0aGY3NyBnNzcgY2Y3NyBmb3J0NzcgZmwzMiBhZjc3XSkKICAgIGZpCiAgZmkKICBB
Q19QUk9HX0Y3NwpdKWRubCBfQVhfUFJPR19GNzdfTVBJCg==
--------------040807050909050008070203
Content-Type: text/plain;
 name="ax_prog_fc_mpi.m4"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="ax_prog_fc_mpi.m4"

ZG5sIC0qLSBtb2RlOiBhdXRvY29uZiAtKi0KIyA9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KIyAg
ICAgICBodHRwOi8vd3d3LmdudS5vcmcvc29mdHdhcmUvYXV0b2NvbmYtYXJjaGl2ZS9heF9w
cm9nX2ZjX21waS5odG1sCiMgPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT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YgdGVzdCB4IiRfYXhfcHJvZ19mY19tcGlfbXBpX3dhbnRlZCIgPSB4eWVzOyB0aGVu
CiAgICBpZiB0ZXN0IC16ICIkRkMiICYmIHRlc3QgLW4gIiRNUElGQyI7IHRoZW4KICAgICAg
RkM9IiRNUElGQyIKICAgIGVsc2UKICAgICAgQUNfQ0hFQ0tfVE9PTFMoW0ZDXSwgW21waWY5
NSBtcHhsZjk1X3IgbXB4bGY5NSBmdG4gbXBpZjkwIG1weGxmOTBfciBtcHhsZjkwIG1wZjkw
IGNtcGlmOTBjIHN4bXBpZjkwIG1waWY3NyBoZjc3IG1weGxmX3IgbXB4bGYgbXBpZnJ0IG1w
Zjc3IGNtcGlmYyB4bGY5NSBwZ2Y5NSBwYXRoZjk1IGlmb3J0IGc5NSBmOTUgZm9ydCBpZmMg
ZWZjIG9wZW5mOTUgc3VuZjk1IGNyYXlmdG4gZ2ZvcnRyYW4gbGY5NSBmdG4geGxmOTAgZjkw
IHBnZjkwIHBnaHBmIHBhdGhmOTAgZXBjZjkwIHN4ZjkwIG9wZW5mOTAgc3VuZjkwIHhsZiBm
NzcgZnJ0IHBnZjc3IHBhdGhmNzcgZzc3IGNmNzcgZm9ydDc3IGZsMzIgYWY3N10pCiAgICBm
aQogIGZpCiAgQUNfUFJPR19GQwpdKWRubCBfQVhfUFJPR19GQ19NUEkK
--------------040807050909050008070203
Content-Type: text/x-vcard; charset=utf-8;
 name="olenz.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="olenz.vcf"

YmVnaW46dmNhcmQNCmZuOk9sYWYgTGVueg0KbjpMZW56O09sYWYNCm9yZztxdW90ZWQtcHJp
bnRhYmxlO3F1b3RlZC1wcmludGFibGU6VW5pdmVyc2l0PUMzPUE0dCBTdHV0dGdhcnQ7SW5z
dGl0dXQgZj1DMz1CQ3IgQ29tcHV0ZXJwaHlzaWsNCmFkcjo7O1BmYWZmZW53YWxkcmluZyAy
NztTdHV0dGdhcnQ7OzcwNTY5O0dlcm1hbnkNCmVtYWlsO2ludGVybmV0Om9sZW56QGljcC51
bmktc3R1dHRnYXJ0LmRlDQp0aXRsZTpEci4gcmVyLiBuYXQuDQp0ZWw7d29yazorNDkuNzEx
LjY4NS42MzYwNw0KdGVsO2ZheDorNDkuNzExLjY4NS42MzY1OCANCnVybDpodHRwOi8vd3d3
LmljcC51bmktc3R1dHRnYXJ0LmRlL35pY3AvT2xhZl9MZW56DQp2ZXJzaW9uOjIuMQ0KZW5k
OnZjYXJkDQoNCg==
--------------040807050909050008070203--


From MAILER-DAEMON Tue Jun 14 09:55:23 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWU5S-00075E-PS
	for mharc-autoconf@gnu.org; Tue, 14 Jun 2011 09:55:22 -0400
Received: from eggs.gnu.org ([140.186.70.92]:56951)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Rushabh.Doshi@sg.panasonic.com>) id 1QWOk3-0007Kp-Dh
	for autoconf@gnu.org; Tue, 14 Jun 2011 04:12:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Rushabh.Doshi@sg.panasonic.com>) id 1QWOjz-0001S6-FR
	for autoconf@gnu.org; Tue, 14 Jun 2011 04:12:55 -0400
Received: from smtp.mei.co.jp ([133.183.100.20]:60132)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Rushabh.Doshi@sg.panasonic.com>)
	id 1QWOjy-0001Rw-P9; Tue, 14 Jun 2011 04:12:51 -0400
Received: from mail-gw.jp.panasonic.com ([157.8.1.157])
	by smtp.mei.co.jp (8.12.11.20060614/3.7W/kc-maile11) with ESMTP id
	p5E8CdKA014149; Tue, 14 Jun 2011 17:12:39 +0900 (JST)
Received: from pslexc01.psl.local ([10.81.112.5])
	by mail.jp.panasonic.com (8.11.6p2/3.7W/kc-maili17) with ESMTP id
	p5E8Ccf01819; Tue, 14 Jun 2011 17:12:38 +0900
Received: from PSLEXC02.psl.local ([10.81.112.4]) by pslexc01.psl.local with
	Microsoft SMTPSVC(6.0.3790.4675); Tue, 14 Jun 2011 16:12:37 +0800
Received: from PSLEXC02.psl.local ([fe80::9c06:d1db:685d:9713]) by
	pslexc02.psl.local ([fe80::9c06:d1db:685d:9713%14]) with mapi id
	14.01.0289.001; Tue, 14 Jun 2011 16:12:36 +0800
From: Rushabh Doshi <Rushabh.Doshi@sg.panasonic.com>
To: "autoconf@gnu.org" <autoconf@gnu.org>, "automake@gnu.org"
	<automake@gnu.org>
Subject: Makefile.in not generated using Automake
Thread-Topic: Makefile.in not generated using Automake
Thread-Index: AcwqYvrnpQ4V3ZOVTA+NyvdkZoVYvA==
Date: Tue, 14 Jun 2011 08:12:36 +0000
Message-ID: <42CAF64B5D3F3F459374C319D40A2A8375BC6B@pslexc02.psl.local>
Accept-Language: en-SG, en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-originating-ip: [10.81.113.37]
Content-Type: multipart/mixed;
	boundary="_004_42CAF64B5D3F3F459374C319D40A2A8375BC6Bpslexc02psllocal_"
MIME-Version: 1.0
X-OriginalArrivalTime: 14 Jun 2011 08:12:37.0030 (UTC)
	FILETIME=[D2509C60:01CC2A6A]
X-detected-operating-system: by eggs.gnu.org: Solaris 8 (1)
X-Received-From: 133.183.100.20
X-Mailman-Approved-At: Tue, 14 Jun 2011 09:55:21 -0400
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
Cc: "Rushabh Doshi \(rushabhddoshi@gmail.com\)" <rushabhddoshi@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: Tue, 14 Jun 2011 08:12:59 -0000

--_004_42CAF64B5D3F3F459374C319D40A2A8375BC6Bpslexc02psllocal_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<Logs attached>


RUSHABH DOSHI|R&D Engineer|Network Group
Panasonic Singapore Laboratories Pte Ltd (PSL)
1022 Tai Seng Avenue Tai Seng Industrial Estate #06-3530 Singapore 534415
Tel: +65-6550-5441|Fax: +65-6550-5406|Email : rushabh.doshi@sg.panasonic.co=
m<mailto:rushabh.doshi@sg.panasonic.com>


--_004_42CAF64B5D3F3F459374C319D40A2A8375BC6Bpslexc02psllocal_
Content-Type: text/plain; name="Logs_14062011.txt"
Content-Description: Logs_14062011.txt
Content-Disposition: attachment; filename="Logs_14062011.txt"; size=3083;
	creation-date="Tue, 14 Jun 2011 07:33:04 GMT";
	modification-date="Tue, 14 Jun 2011 07:33:39 GMT"
Content-Transfer-Encoding: base64

JCBscw0KaGVsbG8uYyAgTWFrZWZpbGUuYW0NCiQgYXV0b3NjYW4NCiQgbHMNCmF1dG9zY2FuLmxv
ZyAgY29uZmlndXJlLnNjYW4gIGhlbGxvLmMgIE1ha2VmaWxlLmFtDQokIG12IGNvbmZpZ3VyZS5z
Y2FuIGNvbmZpZ3VyZS5hYw0KJCBscw0KYXV0b3NjYW4ubG9nICBjb25maWd1cmUuYWMgIGhlbGxv
LmMgIE1ha2VmaWxlLmFtDQokIGF1dG9oZWFkZXINCiQgbHMNCmF1dG9tNHRlLmNhY2hlICBhdXRv
c2Nhbi5sb2cgIGNvbmZpZy5oLmluICBjb25maWd1cmUuYWMgIGhlbGxvLmMgIE1ha2VmaWxlLmFt
DQokIHZpbSBjb25maWd1cmUuYWMNCiQgbW9yZSBjb25maWd1cmUuYWMNCiMgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0qLSB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bmcgLi9jb25maWcuc3RhdHVzDQpjb25maWcuc3RhdHVzOiBlcnJvcjogY2Fu
bm90IGZpbmQgaW5wdXQgZmlsZTogYE1ha2VmaWxlLmluJw0KJCBscw0KYWNsb2NhbC5tNCAgICAg
IGNvbmZpZy5oLmluICAgIGNvbmZpZ3VyZSAgICAgZGVwY29tcCAgaW5zdGFsbC1zaA0KYXV0b200
dGUuY2FjaGUgIGNvbmZpZy5sb2cgICAgIGNvbmZpZ3VyZS5hYyAgaGVsbG8uYyAgTWFrZWZpbGUu
YW0NCmF1dG9zY2FuLmxvZyAgICBjb25maWcuc3RhdHVzICBDT1BZSU5HICAgICAgIElOU1RBTEwg
IG1pc3NpbmcNCiQgZ2NjIGhlbGxvLmMglm8gaGVsbG8NCiQgLi9oZWxsbw0KSGVsbG8gV29ybGQh
DQokDQo=

--_004_42CAF64B5D3F3F459374C319D40A2A8375BC6Bpslexc02psllocal_--


From MAILER-DAEMON Tue Jun 14 10:04:39 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWUEQ-0000iY-C1
	for mharc-autoconf@gnu.org; Tue, 14 Jun 2011 10:04:38 -0400
Received: from eggs.gnu.org ([140.186.70.92]:55459)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWUEF-0000gF-S4
	for autoconf@gnu.org; Tue, 14 Jun 2011 10:04:36 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWUED-0004YA-2z
	for autoconf@gnu.org; Tue, 14 Jun 2011 10:04:27 -0400
Received: from mx1.redhat.com ([209.132.183.28]:42000)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>)
	id 1QWUEC-0004Xu-E0; Tue, 14 Jun 2011 10:04:24 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5EE4LjX024613
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 14 Jun 2011 10:04:21 -0400
Received: from [10.3.113.153] (ovpn-113-153.phx2.redhat.com [10.3.113.153])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p5EE4LE9031746; Tue, 14 Jun 2011 10:04:21 -0400
Message-ID: <4DF76A64.5020905@redhat.com>
Date: Tue, 14 Jun 2011 08:04:20 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: Rushabh Doshi <Rushabh.Doshi@sg.panasonic.com>
Subject: Re: Makefile.in not generated using Automake
References: <42CAF64B5D3F3F459374C319D40A2A8375BC6B@pslexc02.psl.local>
In-Reply-To: <42CAF64B5D3F3F459374C319D40A2A8375BC6B@pslexc02.psl.local>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig47F0871BF6655DCA5BEB7A0B"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
Cc: "Rushabh Doshi \(rushabhddoshi@gmail.com\)" <rushabhddoshi@gmail.com>,
	"autoconf@gnu.org" <autoconf@gnu.org>,
	"automake@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: Tue, 14 Jun 2011 14:04:36 -0000

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

[followups can drop autoconf, as this is an automake-only question]

On 06/14/2011 02:12 AM, Rushabh Doshi wrote:
> <Logs attached>
>=20

> $ automake --add-missing=20
> configure.ac:6: installing `./install-sh'
> configure.ac:6: installing `./missing'
> Makefile.am: installing `./INSTALL'
> Makefile.am: required file `./NEWS' not found
=2E..
> $ ls
> aclocal.m4      autoscan.log  configure.ac  depcomp  INSTALL     Makefi=
le.am
> autom4te.cache  config.h.in   COPYING       hello.c  install-sh  missin=
g

There's your problem - you blindly ignored the error message from
automake and failed to check for non-zero exit status.  Automake won't
produce Makefile.in if required files are missing.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig47F0871BF6655DCA5BEB7A0B
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN92pkAAoJEKeha0olJ0NqDiAH/j5ispOxfKO8Y6YvbGLH1b2f
CUEbc1wiyRAe3mAx6TVwEq961PVFLAEtTbmWRoDYQ6q7ADwIHv6vPIu2q1udFieQ
/nfWJTucnew02Pi00fA+ZPSskZVzYsLeZAQptGzYVIMAOXvbA1JPAS+ythtKnkDn
yRDaRflaNhlK/13vsAYmF7Ic6p6cZj/oxoEeMZUpY76yd5pgNSMFa3mlwkyYLA+h
3STR9TectUJDu+Dg6CimTEdSNX4LbUVsOC9WtUD2qG6PzpFE10QfUV510OnXYoGJ
G1nYkSpwJMPYTqjaQpUnG/9W+2H9/3woabiie95vJQMORspie2Kn0d1e2V6uFTs=
=nU2R
-----END PGP SIGNATURE-----

--------------enig47F0871BF6655DCA5BEB7A0B--


From MAILER-DAEMON Tue Jun 14 17:03:10 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWalR-0002sG-Td
	for mharc-autoconf@gnu.org; Tue, 14 Jun 2011 17:03:10 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47509)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sebelk@gmail.com>) id 1QWalN-0002qy-21
	for autoconf@gnu.org; Tue, 14 Jun 2011 17:03:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <sebelk@gmail.com>) id 1QWalL-0004mr-4K
	for autoconf@gnu.org; Tue, 14 Jun 2011 17:03:04 -0400
Received: from mail-vw0-f41.google.com ([209.85.212.41]:35707)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <sebelk@gmail.com>) id 1QWalK-0004ma-Rw
	for autoconf@gnu.org; Tue, 14 Jun 2011 17:03:02 -0400
Received: by vws4 with SMTP id 4so6254392vws.0
	for <autoconf@gnu.org>; Tue, 14 Jun 2011 14:03:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type:content-transfer-encoding;
	bh=ZzeI8pCiK9fcj5PCB3E1kxvF5ozFW9540TGtY2W7uyM=;
	b=l4WSin5tO+lmCBxR96TvCPhjG1Q5igTAEjP/BDtTNEWcKV/XleTjF/mqKNgS6UBjia
	AxIFguP6TcABOEqQvK9qeTjM9Q/Sih7mNgroK1IBSK8p8SD6QqeXsZVDiPBTd1KpzfME
	10q+xSCZQtoOpDvZkx4vj5BO37QhXkGpHWFfY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:content-type:content-transfer-encoding;
	b=CIwky7KZrl/t9dzoYGPavifrbNAGeRQzIJoDXreoha+OAfML9jDUTNlzdCJ7PND/CP
	eH5EAO2RBhJypzwo6swdT+wkYVdEgafmlqNUeEq8UXZgFBR2/2MwENjVHjvGYYc+E0qG
	3p+Tly0MIHwFtiX/x2tITjZ53Una+QRwrrQ94=
Received: by 10.52.75.136 with SMTP id c8mr1175542vdw.165.1308085381810; Tue,
	14 Jun 2011 14:03:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.52.107.8 with HTTP; Tue, 14 Jun 2011 14:02:41 -0700 (PDT)
In-Reply-To: <4DF78D0F.6060001@redhat.com>
References: <BANLkTinM3SRR7073mxKHbnSsNtcpU03XWA@mail.gmail.com>
	<4DF6A0A6.4000407@redhat.com>
	<BANLkTikHmhRbqCzpwC1TwbvAETrwjCLRsw@mail.gmail.com>
	<4DF78D0F.6060001@redhat.com>
From: Sergio Belkin <sebelk@gmail.com>
Date: Tue, 14 Jun 2011 18:02:41 -0300
Message-ID: <BANLkTimsVMmZ6=J1Wb5xnHJau7Z37+=GFw@mail.gmail.com>
Subject: Re: static library as fallback
To: Eric Blake <eblake@redhat.com>, autoconf@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.212.41
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, 14 Jun 2011 21:03:07 -0000

2011/6/14 Eric Blake <eblake@redhat.com>:
> On 06/14/2011 10:20 AM, Sergio Belkin wrote:
>
> Did you mean to drop the list in your reply? =A0It's better to keep the
> conversation on list, so others may learn of your answer.

Shame on me, you're right.

>
>>> AC_SEARCH_LIBS([ns_initparse], [resolv], [],
>>> =A0[AC_DEFINE([MISSING_NS_INITPARSE], [1], [Define to 1 if ns_initparse
>>> =A0 =A0 is not available in any library])])
>>>
>>> Then in your C code:
>>>
>>> #if MISSING_NS_INITPARSE
>>> // implement your static ns_initparse instead
>>> #endif
>>>
>>
>> Hmmm. =A0It was my fault. I didn't explain myself well. I meant: =A0I'd
>> want to *use* existing static resolv on the system as a fallback (if
>> shared lib lacks of ns_initparse), Can I do it with AC_SEARCH_LIBS?
>
> My answer is unchanged - you can use the action-if-not-found portion of
> AC_SEARCH_LIBS to do whatever else you want to do when ns_initparse is
> not found, including setting up AC_DEFINE or other modifications that
> will let your code use the static resolv as the fallback.
>
> --
> Eric Blake =A0 eblake@redhat.com =A0 =A0+1-801-349-2682
> Libvirt virtualization library http://libvirt.org
>
>

I thought that there was a way to do it appending static library to
LIBS via AC_SEARCH_LIBS...


--=20
--
Sergio Belkin =A0http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org


From MAILER-DAEMON Tue Jun 14 17:06:10 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWaoL-0003ai-JU
	for mharc-autoconf@gnu.org; Tue, 14 Jun 2011 17:06:09 -0400
Received: from eggs.gnu.org ([140.186.70.92]:52540)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWaoI-0003a2-BC
	for autoconf@gnu.org; Tue, 14 Jun 2011 17:06:07 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWaoG-0005Ku-Dr
	for autoconf@gnu.org; Tue, 14 Jun 2011 17:06:06 -0400
Received: from mx1.redhat.com ([209.132.183.28]:24117)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QWaoF-0005Kp-VT
	for autoconf@gnu.org; Tue, 14 Jun 2011 17:06:04 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5EL616g010652
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Tue, 14 Jun 2011 17:06:01 -0400
Received: from [10.3.113.153] (ovpn-113-153.phx2.redhat.com [10.3.113.153])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p5EL60fp018496; Tue, 14 Jun 2011 17:06:01 -0400
Message-ID: <4DF7CD38.8080806@redhat.com>
Date: Tue, 14 Jun 2011 15:06:00 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: Sergio Belkin <sebelk@gmail.com>
Subject: Re: static library as fallback
References: <BANLkTinM3SRR7073mxKHbnSsNtcpU03XWA@mail.gmail.com>
	<4DF6A0A6.4000407@redhat.com>
	<BANLkTikHmhRbqCzpwC1TwbvAETrwjCLRsw@mail.gmail.com>
	<4DF78D0F.6060001@redhat.com>
	<BANLkTimsVMmZ6=J1Wb5xnHJau7Z37+=GFw@mail.gmail.com>
In-Reply-To: <BANLkTimsVMmZ6=J1Wb5xnHJau7Z37+=GFw@mail.gmail.com>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig421EED14E0C1BA0FFA601989"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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, 14 Jun 2011 21:06:07 -0000

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

On 06/14/2011 03:02 PM, Sergio Belkin wrote:
>>>> #if MISSING_NS_INITPARSE
>>>> // implement your static ns_initparse instead
>>>> #endif
>>>>
>>>
>>> Hmmm.  It was my fault. I didn't explain myself well. I meant:  I'd
>>> want to *use* existing static resolv on the system as a fallback (if
>>> shared lib lacks of ns_initparse), Can I do it with AC_SEARCH_LIBS?
>>
>> My answer is unchanged - you can use the action-if-not-found portion o=
f
>> AC_SEARCH_LIBS to do whatever else you want to do when ns_initparse is=

>> not found, including setting up AC_DEFINE or other modifications that
>> will let your code use the static resolv as the fallback.
>>
>=20
> I thought that there was a way to do it appending static library to
> LIBS via AC_SEARCH_LIBS...

Oh, I think I see what you are asking:

If ns_initparse() is missing from a dynamic resolv.so library, how to
you make the AC_SEARCH_LIBS try again for a static resolv.a library?

But what would that buy you?  Any platform where resolv.a and resolv.so
both exist, but don't have the same entry points, is already a serious
coding nightmare.

If I understand what you are asking, then I don't know of any way to
force dynamic or force static library link tests, if you suspect that
the two types of libraries both exist but differ in contents.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig421EED14E0C1BA0FFA601989
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN9804AAoJEKeha0olJ0NqGwkIAI1CSRcWsVO8BVX9yUAD2kx1
zMoGocKd/bhnHkt/LpJCsf7gsCscz+RpwzPO8L+H/Frrp8RiUtxgzf8uvjjCOqy7
t8O+38iPTEB9y0euujnzSIq5PSJ+Mxm/rBN2U2ygD+arTjPAsO7QMxcBMCjfJJEj
7miY26tDkh1G+JGgmuh4UhppxFG62OyP27nXYHavOqPo5LKjVvpKzUI9Df0b4CNo
MKRcZyNcR3go6kUFdtaYSlPENSYgCXqQwnBTufhaArNTmSNuVGJuBzcfh69Y5gMZ
sqHx2njIOcgAxe1HJICtC4B4c2WMqBRaWxVKZy6mmqX3SRW1EiHspxjfgN60STM=
=jPOl
-----END PGP SIGNATURE-----

--------------enig421EED14E0C1BA0FFA601989--


From MAILER-DAEMON Wed Jun 15 06:21:17 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWnDo-0006iP-Q8
	for mharc-autoconf@gnu.org; Wed, 15 Jun 2011 06:21:16 -0400
Received: from eggs.gnu.org ([140.186.70.92]:55175)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <simons@cryp.to>) id 1QWnDl-0006ha-2x
	for autoconf@gnu.org; Wed, 15 Jun 2011 06:21:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <simons@cryp.to>) id 1QWnDj-0003Ij-2w
	for autoconf@gnu.org; Wed, 15 Jun 2011 06:21:12 -0400
Received: from zuse.cryp.to ([217.19.183.102]:45999)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <simons@cryp.to>)
	id 1QWnDi-0003Hz-Fm; Wed, 15 Jun 2011 06:21:10 -0400
Received: from peti.cryp.to (brln-4d0cc1e0.pool.mediaWays.net [77.12.193.224])
	by zuse.cryp.to with ESMTP id p5FAKxMN014112;
	Wed, 15 Jun 2011 12:21:00 +0200
Received: by peti.cryp.to (Postfix, from userid 1000)
	id 18B4A42A0A6; Wed, 15 Jun 2011 12:20:58 +0200 (CEST)
From: Peter Simons <simons@cryp.to>
To: Olaf Lenz <olenz@icp.uni-stuttgart.de>
Subject: Re: Request for inclusion [was: Re: Autoconf MPI macros]
References: <4DDB7420.5080905@icp.uni-stuttgart.de>
	<4DF73776.9010303@icp.uni-stuttgart.de>
Date: Wed, 15 Jun 2011 12:20:57 +0200
In-Reply-To: <4DF73776.9010303@icp.uni-stuttgart.de> (Olaf Lenz's message of
	"Tue, 14 Jun 2011 12:27:02 +0200")
Message-ID: <87hb7r75va.fsf@write-only.cryp.to>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	2)
X-Received-From: 217.19.183.102
Cc: autoconf-archive-maintainers@gnu.org,
	"Steven G. Johnson" <stevenj@alum.mit.edu>, autoconf@gnu.org,
	"Julian C. Cummings" <cummings@cacr.caltech.edu>
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, 15 Jun 2011 10:21:15 -0000

Hi Olaf,

thank you very much for your efforts. I pushed the macros
AX_PROG_{CC,FC,F77,CXX}_MPI that were attached to your e-mail
to the Autoconf Archive in this commit:

  http://git.savannah.gnu.org/cgit/autoconf-archive.git/commit/?id=0f83111d8fd1f2be6603780f4da0114711ee51b6

I made a few cosmetic modifications to the formatting of the
documentation. I hope you don't mind. Those changes were
necessary to accommodate our m4-to-texinfo converter. You
should be able to run "make maintainer-all all" in your
checked-out copy to run those consistency checks, too.

Now, I wonder what to do about AX_MPI. It seems to me like
your macros make that older version obsolete. Do you think we
should deprecate AX_MPI and delete it, eventually?

Take care,
Peter


From MAILER-DAEMON Wed Jun 15 14:38:28 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWuyx-0004qw-De
	for mharc-autoconf@gnu.org; Wed, 15 Jun 2011 14:38:27 -0400
Received: from eggs.gnu.org ([140.186.70.92]:56271)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QWuyr-0004pR-PO
	for autoconf@gnu.org; Wed, 15 Jun 2011 14:38:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QWuyp-000709-Hn
	for autoconf@gnu.org; Wed, 15 Jun 2011 14:38:21 -0400
Received: from anoa.ica1.uni-stuttgart.de ([129.69.120.76]:59960)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QWuct-0004H6-LE
	for autoconf@gnu.org; Wed, 15 Jun 2011 14:15:40 -0400
Received: from [IPv6:::1] (anoa.ica1.uni-stuttgart.de [129.69.120.76])
	by anoa.ica1.uni-stuttgart.de (Postfix) with ESMTP id 8AD3DA415D;
	Wed, 15 Jun 2011 20:15:36 +0200 (CEST)
Message-ID: <4DF8F6C8.8080005@icp.uni-stuttgart.de>
Date: Wed, 15 Jun 2011 20:15:36 +0200
From: Olaf Lenz <olenz@icp.uni-stuttgart.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10
MIME-Version: 1.0
To: autoconf@gnu.org
Subject: Re: Request for inclusion [was: Re: Autoconf MPI macros]
References: <4DDB7420.5080905@icp.uni-stuttgart.de>	<4DF73776.9010303@icp.uni-stuttgart.de>
	<87hb7r75va.fsf@write-only.cryp.to>
In-Reply-To: <87hb7r75va.fsf@write-only.cryp.to>
X-TagToolbar-Keys: D20110615201536270
Content-Type: multipart/mixed; boundary="------------070404020708040206060200"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 129.69.120.76
X-BeenThere: autoconf@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: olenz@icp.uni-stuttgart.de
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, 15 Jun 2011 18:38:24 -0000

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

Hi!

On 06/15/2011 12:20 PM, Peter Simons wrote:
> Now, I wonder what to do about AX_MPI. It seems to me like your=20
> macros make that older version obsolete. Do you think we should=20
> deprecate AX_MPI and delete it, eventually?

In principle, the macro is still useful if somebody doesn't want to
compile *all* his code using the MPI compiler, but only some files.
However, I have no clear idea why someone would want to do that...

Does anybody here have an application for the old macros? If nobody has
an idea, then we can as well deprecate the macro.

Olaf

--=20
Dr. rer. nat. Olaf Lenz
Institut f=C3=BCr Computerphysik, Pfaffenwaldring 27, D-70569 Stuttgart
Phone: +49-711-685-63607

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

YmVnaW46dmNhcmQNCmZuOk9sYWYgTGVueg0KbjpMZW56O09sYWYNCm9yZztxdW90ZWQtcHJp
bnRhYmxlO3F1b3RlZC1wcmludGFibGU6VW5pdmVyc2l0PUMzPUE0dCBTdHV0dGdhcnQ7SW5z
dGl0dXQgZj1DMz1CQ3IgQ29tcHV0ZXJwaHlzaWsNCmFkcjo7O1BmYWZmZW53YWxkcmluZyAy
NztTdHV0dGdhcnQ7OzcwNTY5O0dlcm1hbnkNCmVtYWlsO2ludGVybmV0Om9sZW56QGljcC51
bmktc3R1dHRnYXJ0LmRlDQp0aXRsZTpEci4gcmVyLiBuYXQuDQp0ZWw7d29yazorNDkuNzEx
LjY4NS42MzYwNw0KdGVsO2ZheDorNDkuNzExLjY4NS42MzY4NQ0KeC1tb3ppbGxhLWh0bWw6
RkFMU0UNCnVybDpodHRwOi8vd3d3LmljcC51bmktc3R1dHRnYXJ0LmRlL35pY3AvT2xhZl9M
ZW56DQp2ZXJzaW9uOjIuMQ0KZW5kOnZjYXJkDQoNCg==
--------------070404020708040206060200--


From MAILER-DAEMON Wed Jun 15 16:44:13 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWwwe-00075k-Oc
	for mharc-autoconf@gnu.org; Wed, 15 Jun 2011 16:44:13 -0400
Received: from eggs.gnu.org ([140.186.70.92]:57087)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <christian.roessel@gmx.de>) id 1QWwwb-00074s-F1
	for autoconf@gnu.org; Wed, 15 Jun 2011 16:44:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <christian.roessel@gmx.de>) id 1QWwwZ-0001ef-3o
	for autoconf@gnu.org; Wed, 15 Jun 2011 16:44:09 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:56636)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <christian.roessel@gmx.de>) id 1QWwwY-0001dr-7g
	for autoconf@gnu.org; Wed, 15 Jun 2011 16:44:06 -0400
Received: (qmail invoked by alias); 15 Jun 2011 20:43:57 -0000
Received: from koln-4d0b6c2f.pool.mediaWays.net (EHLO [127.0.0.1])
	[77.11.108.47]
	by mail.gmx.net (mp055) with SMTP; 15 Jun 2011 22:43:57 +0200
X-Authenticated: #2570650
X-Provags-ID: V01U2FsdGVkX1+/gHYOkMS/sAF65Ei4ZBPYcLIBhfdI7Wj82vMsMz
	/8KVNWPk7CVw3n
Message-ID: <4DF919A9.4090003@gmx.de>
Date: Wed, 15 Jun 2011 22:44:25 +0200
From: =?UTF-8?B?Q2hyaXN0aWFuIFLDtnNzZWw=?= <christian.roessel@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de;
	rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: autoconf@gnu.org
Subject: Re: Request for inclusion [was: Re: Autoconf MPI macros]
References: <4DDB7420.5080905@icp.uni-stuttgart.de>	<4DF73776.9010303@icp.uni-stuttgart.de>	<87hb7r75va.fsf@write-only.cryp.to>
	<4DF8F6C8.8080005@icp.uni-stuttgart.de>
In-Reply-To: <4DF8F6C8.8080005@icp.uni-stuttgart.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
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: Wed, 15 Jun 2011 20:44:11 -0000

Am 15.06.2011 20:15, schrieb Olaf Lenz:
> Hi!
>
> On 06/15/2011 12:20 PM, Peter Simons wrote:
>> Now, I wonder what to do about AX_MPI. It seems to me like your
>> macros make that older version obsolete. Do you think we should
>> deprecate AX_MPI and delete it, eventually?
>
> In principle, the macro is still useful if somebody doesn't want to
> compile *all* his code using the MPI compiler, but only some files.
> However, I have no clear idea why someone would want to do that...

We are doing exactly that, but we have two configures, one for the usual 
CC and one for MPICC where we set CC=$MPICC before calling AC_PROG_CC. 
We used to have one configure in the beginning of the project; at that 
time we used AX_MPI but we don't use it any longer.

The use case is that we build four libraries (serial, OpenMP, MPI, 
hybrid). The common code is factored out and build by the usual CC into 
a convenience library. The serial and OpenMP parts are also build  using 
the usual CC, whereas the MPI and hybrid parts are build by the MPI 
compiler. In the end we link the common part into all of the four 
libraries (http://www.vi-hps.org/projects/score-p).

Christian

> Does anybody here have an application for the old macros? If nobody has
> an idea, then we can as well deprecate the macro.
>
> Olaf
>



From MAILER-DAEMON Wed Jun 15 16:49:08 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QWx1Q-0008N9-4V
	for mharc-autoconf@gnu.org; Wed, 15 Jun 2011 16:49:08 -0400
Received: from eggs.gnu.org ([140.186.70.92]:45566)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rhys.ulerich@gmail.com>) id 1QWx1N-0008ME-BA
	for autoconf@gnu.org; Wed, 15 Jun 2011 16:49:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rhys.ulerich@gmail.com>) id 1QWx1M-0002eg-5l
	for autoconf@gnu.org; Wed, 15 Jun 2011 16:49:05 -0400
Received: from mail-bw0-f41.google.com ([209.85.214.41]:63581)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rhys.ulerich@gmail.com>)
	id 1QWx1I-0002dx-G1; Wed, 15 Jun 2011 16:49:00 -0400
Received: by bwz17 with SMTP id 17so1038162bwz.0
	for <multiple recipients>; Wed, 15 Jun 2011 13:48:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type;
	bh=HhL3JN5evakBwmrlqJDbEMFJmMtd63P/m+kzjSJfofY=;
	b=mAbtggCgkbIc2rU1kZyuSD1V1ySYX22VuA32rjDZ3eMOQkNfkzoMEVCU3dUgTFdMsT
	nq+xaqYPMVJqygmTWP7Nc3DOTJ5rRlegeTqfz2t39AmLSEr/H6R6ZaOd7jH6eIQK4mFp
	5CrnpgJBFZH0a7b0CfE+7QpCNCXkY4QvE4vw8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:content-type;
	b=xgn2d6uSSu2ykpoSYlRJr7s0igxKPoosqr0vwjgHI4K0dz0B4IUa/8N+anUQlgiItF
	vcl88ppqU1EGD9AFJswrtfuNMXhD2kvgDj2E++7Ltv1BRqHnOYifGBWrVptmugJuSkX/
	5Q0j291pcA9rFy/5phn8o/URzu1hoWcjxvPaU=
Received: by 10.204.3.146 with SMTP id 18mr80030bkn.1.1308170938111; Wed, 15
	Jun 2011 13:48:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.204.40.129 with HTTP; Wed, 15 Jun 2011 13:48:38 -0700 (PDT)
In-Reply-To: <4DF8F6C8.8080005@icp.uni-stuttgart.de>
References: <4DDB7420.5080905@icp.uni-stuttgart.de>
	<4DF73776.9010303@icp.uni-stuttgart.de>
	<87hb7r75va.fsf@write-only.cryp.to>
	<4DF8F6C8.8080005@icp.uni-stuttgart.de>
From: Rhys Ulerich <rhys.ulerich@gmail.com>
Date: Wed, 15 Jun 2011 15:48:38 -0500
Message-ID: <BANLkTi=JYyvFk2jKjPR9_jpQgzQ5BayeBw@mail.gmail.com>
Subject: Re: Request for inclusion [was: Re: Autoconf MPI macros]
To: Autoconf Mailing List <autoconf@gnu.org>,
	autoconf-archive-maintainers@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.214.41
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, 15 Jun 2011 20:49:06 -0000

(Unsure to which list this thread response should be sent due to an
earlier missing cross-post...)

On 06/15/2011 12:20 PM, Peter Simons wrote:
>> Now, I wonder what to do about AX_MPI. It seems to me like your
>> macros make that older version obsolete. Do you think we should
>> deprecate AX_MPI and delete it, eventually?

On Wed, Jun 15, 2011 at 1:15 PM, Olaf Lenz <olenz@icp.uni-stuttgart.de> wrote:
> In principle, the macro is still useful if somebody doesn't want to
> compile *all* his code using the MPI compiler, but only some files.
> However, I have no clear idea why someone would want to do that...
>
> Does anybody here have an application for the old macros?

I do have such a use case.

I build an MPI-based application along with some non-MPI,
application-related utilities.  The two build types are kept in
separate subdirectories with only the MPI-related Makefile.am
containing CXX = @MPICXX@.

Sometimes HPC platform login nodes have policies disallowing using
mpiexec outside of a batch job.  Some MPI stacks require mpiexec be
used for all MPI-enable binaries.  My use case allows me to run my
non-MPI utilities on such HPC login nodes.

- Rhys


From MAILER-DAEMON Thu Jun 16 03:08:00 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QX6gK-0007un-2D
	for mharc-autoconf@gnu.org; Thu, 16 Jun 2011 03:08:00 -0400
Received: from eggs.gnu.org ([140.186.70.92]:34554)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QX6gG-0007uS-K6
	for autoconf@gnu.org; Thu, 16 Jun 2011 03:07:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QX6gF-0001Hu-3N
	for autoconf@gnu.org; Thu, 16 Jun 2011 03:07:56 -0400
Received: from anoa.ica1.uni-stuttgart.de ([129.69.120.76]:58325)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QX6gE-0001HY-QU
	for autoconf@gnu.org; Thu, 16 Jun 2011 03:07:55 -0400
Received: from [129.69.120.71] (nyala.ica1.uni-stuttgart.de [129.69.120.71])
	by anoa.ica1.uni-stuttgart.de (Postfix) with ESMTP id 3DAE0A417E;
	Thu, 16 Jun 2011 09:07:53 +0200 (CEST)
Message-ID: <4DF9ABC9.4050104@icp.uni-stuttgart.de>
Date: Thu, 16 Jun 2011 09:07:53 +0200
From: Olaf Lenz <olenz@icp.uni-stuttgart.de>
Organization: Institut =?ISO-8859-1?Q?f=FCr_Computerphysik=2C_Univers?=
	=?ISO-8859-1?Q?it=E4t_Stuttgart?=
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10
MIME-Version: 1.0
To: autoconf@gnu.org
Subject: Re: Request for inclusion [was: Re: Autoconf MPI macros]
References: <4DDB7420.5080905@icp.uni-stuttgart.de>	<4DF73776.9010303@icp.uni-stuttgart.de>	<87hb7r75va.fsf@write-only.cryp.to>	<4DF8F6C8.8080005@icp.uni-stuttgart.de>
	<4DF919A9.4090003@gmx.de>
In-Reply-To: <4DF919A9.4090003@gmx.de>
X-TagToolbar-Keys: D20110616090753148
Content-Type: multipart/mixed; boundary="------------080908010205070800090207"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 129.69.120.76
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, 16 Jun 2011 07:07:58 -0000

This is a multi-part message in MIME format.
--------------080908010205070800090207
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Christian!

On 06/15/2011 10:44 PM, Christian R=F6ssel wrote:
>> In principle, the macro is still useful if somebody doesn't want to
>> compile *all* his code using the MPI compiler, but only some files.
>> However, I have no clear idea why someone would want to do that...
>=20
> We are doing exactly that, but we have two configures, one for the=20
> usual CC and one for MPICC where we set CC=3D$MPICC before calling=20
> AC_PROG_CC. We used to have one configure in the beginning of the=20
> project; at that time we used AX_MPI but we don't use it any longer.

Well, in this case I would actually recommend to use the new macros in
the configure for MPI, as in that case a user won't have to set MPICC
manually, but it will be automatically found by the macro.

But as you are not using AX_MPI, this is a non-case. I believe that you
are not using AX_MPI precisely because of the issues with the macro.

Olaf

--=20
Dr. rer. nat. Olaf Lenz
Institut f=FCr Computerphysik, Pfaffenwaldring 27, D-70569 Stuttgart
Phone: +49-711-685-63607

--------------080908010205070800090207
Content-Type: text/x-vcard; charset=utf-8;
 name="olenz.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="olenz.vcf"

begin:vcard
fn:Olaf Lenz
n:Lenz;Olaf
org;quoted-printable;quoted-printable:Universit=C3=A4t Stuttgart;Institut f=C3=BCr Computerphysik
adr:;;Pfaffenwaldring 27;Stuttgart;;70569;Germany
email;internet:olenz@icp.uni-stuttgart.de
title:Dr. rer. nat.
tel;work:+49.711.685.63607
tel;fax:+49.711.685.63658 
url:http://www.icp.uni-stuttgart.de/~icp/Olaf_Lenz
version:2.1
end:vcard


--------------080908010205070800090207--


From MAILER-DAEMON Thu Jun 16 03:14:12 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QX6mJ-0008Ts-JZ
	for mharc-autoconf@gnu.org; Thu, 16 Jun 2011 03:14:11 -0400
Received: from eggs.gnu.org ([140.186.70.92]:34606)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QX6mH-0008Te-4Z
	for autoconf@gnu.org; Thu, 16 Jun 2011 03:14:10 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QX6mF-0002gN-St
	for autoconf@gnu.org; Thu, 16 Jun 2011 03:14:09 -0400
Received: from anoa.ica1.uni-stuttgart.de ([129.69.120.76]:55902)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <olenz@icp.uni-stuttgart.de>) id 1QX6mF-0002g3-Iz
	for autoconf@gnu.org; Thu, 16 Jun 2011 03:14:07 -0400
Received: from [129.69.120.71] (nyala.ica1.uni-stuttgart.de [129.69.120.71])
	by anoa.ica1.uni-stuttgart.de (Postfix) with ESMTP id C9D55A417E;
	Thu, 16 Jun 2011 09:14:06 +0200 (CEST)
Message-ID: <4DF9AD3E.2030107@icp.uni-stuttgart.de>
Date: Thu, 16 Jun 2011 09:14:06 +0200
From: Olaf Lenz <olenz@icp.uni-stuttgart.de>
Organization: Institut =?ISO-8859-1?Q?f=FCr_Computerphysik=2C_Univers?=
	=?ISO-8859-1?Q?it=E4t_Stuttgart?=
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10
MIME-Version: 1.0
To: autoconf@gnu.org
Subject: Re: Request for inclusion [was: Re: Autoconf MPI macros]
References: <4DDB7420.5080905@icp.uni-stuttgart.de>	<4DF73776.9010303@icp.uni-stuttgart.de>	<87hb7r75va.fsf@write-only.cryp.to>	<4DF8F6C8.8080005@icp.uni-stuttgart.de>
	<BANLkTi=JYyvFk2jKjPR9_jpQgzQ5BayeBw@mail.gmail.com>
In-Reply-To: <BANLkTi=JYyvFk2jKjPR9_jpQgzQ5BayeBw@mail.gmail.com>
X-TagToolbar-Keys: D20110616091406719
Content-Type: multipart/mixed; boundary="------------010502030806080007070501"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 129.69.120.76
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, 16 Jun 2011 07:14:10 -0000

This is a multi-part message in MIME format.
--------------010502030806080007070501
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi!

On 06/15/2011 10:48 PM, Rhys Ulerich wrote:
>> Does anybody here have an application for the old macros?
>=20
> I do have such a use case.
>=20
> I build an MPI-based application along with some non-MPI,=20
> application-related utilities.  The two build types are kept in=20
> separate subdirectories with only the MPI-related Makefile.am=20
> containing CXX =3D @MPICXX@.
>=20
> Sometimes HPC platform login nodes have policies disallowing using=20
> mpiexec outside of a batch job.  Some MPI stacks require mpiexec be=20
> used for all MPI-enable binaries.  My use case allows me to run my=20
> non-MPI utilities on such HPC login nodes.

This sounds to me like a real case, so AX_MPI should be kept.

However, let me remark that using "CXX=3D@MPICXX" might easily cause
trouble if used on a system where the MPI compiler is a completely
different compiler from the one used for non-MPI files, as the compiler
options used by Automake will be generated for the non-MPI compiler and
might not work on the MPI-compiler. For example, on an IBM machine, this
would cause trouble:

  configure CXX=3Dg++ MPICXX=3Dxlc_r

Olaf


--=20
Dr. rer. nat. Olaf Lenz
Institut f=FCr Computerphysik, Pfaffenwaldring 27, D-70569 Stuttgart
Phone: +49-711-685-63607

--------------010502030806080007070501
Content-Type: text/x-vcard; charset=utf-8;
 name="olenz.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="olenz.vcf"

begin:vcard
fn:Olaf Lenz
n:Lenz;Olaf
org;quoted-printable;quoted-printable:Universit=C3=A4t Stuttgart;Institut f=C3=BCr Computerphysik
adr:;;Pfaffenwaldring 27;Stuttgart;;70569;Germany
email;internet:olenz@icp.uni-stuttgart.de
title:Dr. rer. nat.
tel;work:+49.711.685.63607
tel;fax:+49.711.685.63658 
url:http://www.icp.uni-stuttgart.de/~icp/Olaf_Lenz
version:2.1
end:vcard


--------------010502030806080007070501--


From MAILER-DAEMON Sat Jun 18 12:44:00 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QXycq-0003Au-4X
	for mharc-autoconf@gnu.org; Sat, 18 Jun 2011 12:44:00 -0400
Received: from eggs.gnu.org ([140.186.70.92]:41338)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bkorb@gnu.org>) id 1QXycm-0003AA-Me
	for autoconf@gnu.org; Sat, 18 Jun 2011 12:43:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bkorb@gnu.org>) id 1QXycl-00070F-6z
	for autoconf@gnu.org; Sat, 18 Jun 2011 12:43:56 -0400
Received: from fencepost.gnu.org ([140.186.70.10]:42785)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bkorb@gnu.org>)
	id 1QXycl-00070B-3G; Sat, 18 Jun 2011 12:43:55 -0400
Received: from adsl-75-2-131-205.dsl.pltn13.sbcglobal.net
	([75.2.131.205]:39270 helo=[10.0.0.2])
	by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <bkorb@gnu.org>)
	id 1QXyck-0003PL-Qr; Sat, 18 Jun 2011 12:43:54 -0400
Message-ID: <4DFCD5C9.5070507@gnu.org>
Date: Sat, 18 Jun 2011 09:43:53 -0700
From: Bruce Korb <bkorb@gnu.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10
MIME-Version: 1.0
To: autoconf <autoconf@gnu.org>
Subject: Re: bug#8881: config.h double inclusion
References: <E1QXGV0-0002on-Bb@fencepost.gnu.org>	<4DFA67AF.3030802@cs.ucla.edu>
	<BANLkTi=N3zWLvzu+ESx2NSrCLhRk29RjFg@mail.gmail.com>
In-Reply-To: <BANLkTi=N3zWLvzu+ESx2NSrCLhRk29RjFg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.10
Cc: bug-gnulib@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: Sat, 18 Jun 2011 16:43:58 -0000

On 06/16/11 14:31, Jack Kelly wrote:
>> It might be better to have config.h do something like this:
>>
>> #ifdef CONFIG_H
>> # error "config.h included twice"
>> #endif
>> #define CONFIG_H
>
> Warning: Quite a few misbehaving packages actually install their config.h.

It might be better to have an autoconf macro, e.g.:
   AC_GUARD_CONFIG_H([MYPFX])

that adds multi-inclusion guards and prefixes the generated #define names.
I'm redirecting to that list.


From MAILER-DAEMON Sun Jun 19 18:56:08 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYQuV-00064L-SN
	for mharc-autoconf@gnu.org; Sun, 19 Jun 2011 18:56:08 -0400
Received: from eggs.gnu.org ([140.186.70.92]:42550)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <javierjc1982@gmail.com>) id 1QYQuR-00063X-T4
	for Autoconf@gnu.org; Sun, 19 Jun 2011 18:56:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <javierjc1982@gmail.com>) id 1QYQuP-0005eE-Tq
	for Autoconf@gnu.org; Sun, 19 Jun 2011 18:56:03 -0400
Received: from mail-pz0-f51.google.com ([209.85.210.51]:45728)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <javierjc1982@gmail.com>) id 1QYQuP-0005e6-Dj
	for Autoconf@gnu.org; Sun, 19 Jun 2011 18:56:01 -0400
Received: by pzk26 with SMTP id 26so3318329pzk.38
	for <Autoconf@gnu.org>; Sun, 19 Jun 2011 15:55:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:from:date
	:x-google-sender-auth:message-id:subject:to:content-type
	:content-transfer-encoding;
	bh=PARAZcuSnJmdKXtZ/Vt6jyrggXHUflYEr5/N10oohYI=;
	b=Pcz1YhKbvopo9Eq47f7w5QIxo8GkK9PS7E0mk8AAZkLbDbKEuWlhY7P2BWDxy2Z8bc
	ru0VDLw4gWkdSgU/6FFLNV5TExYcSR01f13WGphc9YT8L3+lMspzcCn04MRIDpEGI2rW
	uT4BsUThbZxgPhQV90UzyA1JDkOPNSmCVjok4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:from:date:x-google-sender-auth:message-id
	:subject:to:content-type:content-transfer-encoding;
	b=kAevRGuVT8ANLhfjKTfhgGKle0WWfrZ2B9R02WFP62KUi1OyG7b+WoOLemy7FczmvZ
	eLKeH26+G6+uUxQkQAvemfdJM4fIg/WvSpMEVz5coys/Sow4iap9YK+4ITbSu1nAl79w
	wRKTIS2H6iXFb4cBkuvFI1wK056oX2SgqqUNI=
Received: by 10.142.128.14 with SMTP id a14mr694966wfd.115.1308524159198; Sun,
	19 Jun 2011 15:55:59 -0700 (PDT)
MIME-Version: 1.0
Sender: javierjc1982@gmail.com
Received: by 10.143.59.11 with HTTP; Sun, 19 Jun 2011 15:55:39 -0700 (PDT)
From: =?UTF-8?Q?Javier_Jard=C3=B3n?= <jjardon@gnome.org>
Date: Sun, 19 Jun 2011 23:55:39 +0100
X-Google-Sender-Auth: K20y8cf-ZGQJ5u7X9kIXbEmwcrE
Message-ID: <BANLkTinvij2CtKy=tkHotcubVoM9w7iHHA@mail.gmail.com>
Subject: Do not use deprecation flags in releases
To: Autoconf@gnu.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.210.51
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, 19 Jun 2011 22:56:05 -0000

Hello,

I'm looking for the best solution to deal with the deprecation flags
for Glib/GTK+.
Most project use them incodiotionally, so releases will break if a in
Glib/GTK+ deprecation is introduced.
I've propossed this code [1] to add to our configure.ac files, and I'd
like to know if there is a better solution for this

Regards

[1]  http://mail.gnome.org/archives/release-team/2011-June/msg00030.html

--=20
Javier Jard=C3=B3n Cabezas


From MAILER-DAEMON Mon Jun 20 12:50:10 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYhft-000325-Is
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 12:50:09 -0400
Received: from eggs.gnu.org ([140.186.70.92]:52986)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYhfq-00030A-QY
	for autoconf@gnu.org; Mon, 20 Jun 2011 12:50:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYhfp-0007Qu-3J
	for autoconf@gnu.org; Mon, 20 Jun 2011 12:50:06 -0400
Received: from mail-vx0-f169.google.com ([209.85.220.169]:54444)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYhfo-0007Pw-Pc
	for autoconf@gnu.org; Mon, 20 Jun 2011 12:50:04 -0400
Received: by vxg38 with SMTP id 38so3226436vxg.0
	for <autoconf@gnu.org>; Mon, 20 Jun 2011 09:50:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=VZBlh95cPyxCKk/kKaR0EbXmRwGLSHhdT3Z6p3oNNxI=;
	b=xm5uxMwgInmnDyhfMTGLEiWhzfnJiOoMowljCTo5hc5PFmQe6GXEJ7vHtCKsbPRFTA
	eizip0fPwJDHow082rZSl9E21HWp3NQLbgbH0a3cSEDvBSBRX+ylv5DLnKgTrOkm/to7
	6BZ1oWyY33ysyYYxSXkWk9p01uV45rXRGZRa8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=NokU2QPEsuyU/pQULTs4insgBsNjlSydltw/cnw+4eb1aYuyBLBkg5wjwUBArkL+bi
	YXEMB3srWKYsYSSH0TzFEeR1z3tHJOUlCINR3rZ48gJDv2y9L1rPMsisnkbH2Kryrzwd
	AJSQ0D2fHCxHDSwQS17hLIAbeqii6/+liBA+4=
MIME-Version: 1.0
Received: by 10.52.73.234 with SMTP id o10mr7371303vdv.174.1308588602934; Mon,
	20 Jun 2011 09:50:02 -0700 (PDT)
Received: by 10.52.109.165 with HTTP; Mon, 20 Jun 2011 09:50:02 -0700 (PDT)
Date: Mon, 20 Jun 2011 10:50:02 -0600
Message-ID: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
Subject: how do distribute automake free code?
From: Jim Edwards <edwards.jim@gmail.com>
To: autoconf@gnu.org
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.220.169
Content-Type: text/plain; charset=ISO-8859-1
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: Mon, 20 Jun 2011 16:50:08 -0000

As I understand it, I should be able to bootstrap on a single system, check
in the resulting configure and Makefile.in files then on other systems
I should only need to run configure.   But this doesn't seem to be working,
I get something like ...

cd . && /bin/sh /ptmp/jedwards/glimmer-cism/gc2_trunk/missing --run
aclocal-1.10
cd . && /bin/sh /ptmp/jedwards/glimmer-cism/gc2_trunk/missing --run
automake-1.10 --foreign


What do I need to do to prevent this?

From MAILER-DAEMON Mon Jun 20 13:34:51 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYiN8-0007Oy-QD
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 13:34:50 -0400
Received: from eggs.gnu.org ([140.186.70.92]:58015)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYiN4-0007O1-WF
	for Autoconf@gnu.org; Mon, 20 Jun 2011 13:34:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYiN2-0007sH-Nv
	for Autoconf@gnu.org; Mon, 20 Jun 2011 13:34:46 -0400
Received: from mx1.redhat.com ([209.132.183.28]:41358)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYiN2-0007sD-CK
	for Autoconf@gnu.org; Mon, 20 Jun 2011 13:34:44 -0400
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5KHYXKF008522
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 20 Jun 2011 13:34:33 -0400
Received: from [10.3.113.98] (ovpn-113-98.phx2.redhat.com [10.3.113.98])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p5KHYXcG023674; Mon, 20 Jun 2011 13:34:33 -0400
Message-ID: <4DFF84A8.1030905@redhat.com>
Date: Mon, 20 Jun 2011 11:34:32 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: =?UTF-8?B?SmF2aWVyIEphcmTDs24=?= <jjardon@gnome.org>
Subject: Re: Do not use deprecation flags in releases
References: <BANLkTinvij2CtKy=tkHotcubVoM9w7iHHA@mail.gmail.com>
In-Reply-To: <BANLkTinvij2CtKy=tkHotcubVoM9w7iHHA@mail.gmail.com>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigA764C38853F08C48DC6F7A6D"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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: Mon, 20 Jun 2011 17:34:48 -0000

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

On 06/19/2011 04:55 PM, Javier Jard=C3=B3n wrote:
> Hello,
>=20
> I'm looking for the best solution to deal with the deprecation flags
> for Glib/GTK+.
> Most project use them incodiotionally, so releases will break if a in
> Glib/GTK+ deprecation is introduced.
> I've propossed this code [1] to add to our configure.ac files, and I'd
> like to know if there is a better solution for this
>=20
> Regards
>=20
> [1]  http://mail.gnome.org/archives/release-team/2011-June/msg00030.htm=
l

I'm not sure what your question is, at least as it relates to autoconf.
 Are you trying to determine a way to change the default of a
configure-time option depending on whether you are building from the
development tree vs. building from a release tarball?

> dnl if .git directory is present, considering we are working in the rep=
ository
> if test -d ".git"; then
>         default_strict=3Dyes
> else
>         default_strict=3Dno
> fi

That doesn't work with VPATH builds; you may want to use:

test -d "$(srcdir)/.git"

instead.

>=20
> AC_ARG_ENABLE(strict, AS_HELP_STRING([--enable-strict],
>                 [Enable strict compilation options]), enable_strict=3D$=
enableval,
>                 enable_strict=3D$default_strict)

Under-quoted.  For recommended quoting, you need:

AC_ARG_ENABLE([strict], [AS_HELP_STRING([--enable-strict],
  [Enable strict compilation options])], [enable_strict=3D$enableval],
  [enable_strict=3D$default_strict])

> if test x$enable_strict !=3D xno; then
>         CPPFLAGS=3D"$CPPFLAGS -DG_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED"
> fi

But yes, that approach looks reasonable as a way to make development of
your package default to a different strictness than users of your
tarball, all while still allowing explicit overrides of the default for
either build situation.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigA764C38853F08C48DC6F7A6D
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN/4SoAAoJEKeha0olJ0NqDC4IAJBB1YilWoZ1a/b1FEuNtd1t
o5l3xyQilWtve0nOI7ODxGKysPafLx2xTIReXQCrqmDzEtAXg3aWsc0sNzWPp4+E
dvg1/K4OLkUiISa8RGhhokkD/2Tmo6JbmIi7w1RvXpKo9UcdFHraU81FYfYqvt73
AUKokgwZZPsuVf7R1PgQVy/dEgl3CBicP8j1dl/V4JaGdlqv7AjaksKxiajzhKzs
IHNyVqreSqWOnPlA31R6S1MvcWbdaVi72/NajYVVpX9ZWU5uJDHQsyo/witOm+1u
d2BBu5jmDV1MkVX7H93+enlZ02mAtVda04WXEqO8xB/m6JPQoLQyAPZ6R8H6l8g=
=jgo9
-----END PGP SIGNATURE-----

--------------enigA764C38853F08C48DC6F7A6D--


From MAILER-DAEMON Mon Jun 20 15:21:37 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYk2S-0003HL-Ei
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 15:21:36 -0400
Received: from eggs.gnu.org ([140.186.70.92]:54507)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cazfi74@gmail.com>) id 1QYk2P-0003Gj-Tm
	for Autoconf@gnu.org; Mon, 20 Jun 2011 15:21:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <cazfi74@gmail.com>) id 1QYk2O-0002tG-Lz
	for Autoconf@gnu.org; Mon, 20 Jun 2011 15:21:33 -0400
Received: from mail-iw0-f169.google.com ([209.85.214.169]:35684)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cazfi74@gmail.com>) id 1QYk2O-0002t9-Aq
	for Autoconf@gnu.org; Mon, 20 Jun 2011 15:21:32 -0400
Received: by iwn8 with SMTP id 8so1672704iwn.0
	for <Autoconf@gnu.org>; Mon, 20 Jun 2011 12:21:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=xMTKvtNDROlmqqe+h9zwrtWjxpGOtnhsXgfBaHjv2qc=;
	b=S6PRj7YHT+5uJ49rHyoJRopJI3jXnYiZUEi44wgD+ZZh58wU0WVqxVGbaNG/x6rLv8
	JAT2fwPGkSQeWO6RmdZdODKtAd3ABbDrlb9kYV8gNCRe7CJcFbydNcq0K4lJlQsVSXnD
	+bqFw4q+P44SJgCKBIIBJiLvxTSLhZ+LeAJKc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	b=HHjuQKuVH8dWAXC5pJp9MfAcg+efxorXDHFbyt7rs74N5RJ2NE5Fd9UsghsCpjRe5q
	+OqqQo3XL3Ng/FZ5O1S8gKtsCO5Ly833leeH2ajEtbflacXLtQzPgvLw7WyKkqCAwFXn
	j6vRGNIEQS6RULoPNGqqzHYrRwbPHbjSZ3U20=
MIME-Version: 1.0
Received: by 10.42.178.131 with SMTP id bm3mr6557247icb.491.1308597690444;
	Mon, 20 Jun 2011 12:21:30 -0700 (PDT)
Received: by 10.42.226.3 with HTTP; Mon, 20 Jun 2011 12:21:30 -0700 (PDT)
In-Reply-To: <4DFF84A8.1030905@redhat.com>
References: <BANLkTinvij2CtKy=tkHotcubVoM9w7iHHA@mail.gmail.com>
	<4DFF84A8.1030905@redhat.com>
Date: Mon, 20 Jun 2011 22:21:30 +0300
Message-ID: <BANLkTi=1QOa0R6cvY-4uMu14x-WZHhe33w@mail.gmail.com>
Subject: Re: Do not use deprecation flags in releases
From: Marko Lindqvist <cazfi74@gmail.com>
To: Eric Blake <eblake@redhat.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.214.169
Cc: Autoconf@gnu.org, =?UTF-8?Q?Javier_Jard=C3=B3n?= <jjardon@gnome.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: Mon, 20 Jun 2011 19:21:35 -0000

2011/6/20 Eric Blake <eblake@redhat.com>:
> On 06/19/2011 04:55 PM, Javier Jard=C3=B3n wrote:
>> Hello,
>>
>> I'm looking for the best solution to deal with the deprecation flags
>> for Glib/GTK+.
>> Most project use them incodiotionally, so releases will break if a in
>> Glib/GTK+ deprecation is introduced.

 I think most projectrs do not use them at all. :-)

 In fact, I have intentionally left them out from configures of all
the packages I maintain. gtk+ deprecation usually happens at the same
time than new way to achieve something is introduced. So by fixing
deprecations you at the same time make that version of gtk+ minimum
requirement for your package. Usually some backward compatibility is
prefered over code that uses no gtk+ features that have been
deprecated in latest version.

 I ever set deprecation flags only when I have specifically set up
environment with our minimum gtk+ requirement. Anything that's
deprecated in that gtk+ version already, can (and should) be fixed. To
make those rare builds there's hardly need for specific support in
configure script, setting CFLAGS is enough.


 - ML


From MAILER-DAEMON Mon Jun 20 15:53:51 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYkXe-0002wc-Kt
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 15:53:50 -0400
Received: from eggs.gnu.org ([140.186.70.92]:41022)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYkXb-0002vi-Gr
	for autoconf@gnu.org; Mon, 20 Jun 2011 15:53:48 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYkXZ-000874-5w
	for autoconf@gnu.org; Mon, 20 Jun 2011 15:53:47 -0400
Received: from mx1.redhat.com ([209.132.183.28]:56513)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYkXY-00086y-PK
	for autoconf@gnu.org; Mon, 20 Jun 2011 15:53:44 -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 p5KJrfp5019404
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 20 Jun 2011 15:53:42 -0400
Received: from [10.3.113.98] (ovpn-113-98.phx2.redhat.com [10.3.113.98])
	by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p5KJrfQu028874; Mon, 20 Jun 2011 15:53:41 -0400
Message-ID: <4DFFA544.8040501@redhat.com>
Date: Mon, 20 Jun 2011 13:53:40 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: Jim Edwards <edwards.jim@gmail.com>
Subject: Re: how do distribute automake free code?
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
In-Reply-To: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigA84F638D3C8DF7EFDD2DDAAC"
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
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: Mon, 20 Jun 2011 19:53:49 -0000

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

On 06/20/2011 10:50 AM, Jim Edwards wrote:
> As I understand it, I should be able to bootstrap on a single system, c=
heck
> in the resulting configure and Makefile.in files then on other systems
> I should only need to run configure.

That's not my understanding.

Rather, you should be able to bootstrap on a single system, check in ALL
source files used to perform the bootstrap process (including the
Makefile.am that you used to bootstrap), then on other systems you can
run configure without having to re-run automake.  That is, the end user
need not have all the tools present, but _does_ need access to the same
source files as the developer (who _did_ have all the right tools), as
well as the intermediate files that the developer's bootstrap process
added into the mix.

>   But this doesn't seem to be working,
> I get something like ...
>=20
> cd . && /bin/sh /ptmp/jedwards/glimmer-cism/gc2_trunk/missing --run
> aclocal-1.10

That's working as designed.  It says that _if_ automake is installed,
then use it to bring the dependencies up to date, and if it is not
present, then continue on with the build as if the timestamps had
already been updated correctly.  It is not a hard-and-fast dependency on
automake, but _does_ imply that your tarball includes the 'missing'
script (which should have been placed into your tarball automatically
during your bootstrap process).

Meanwhile, this is the autoconf list; but your question is about
automake.  You may get better answers by asking on the automake list.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigA84F638D3C8DF7EFDD2DDAAC
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN/6VEAAoJEKeha0olJ0NqLtgIAK4hKc0dHdAeU3FyPIBb5Zsx
FkPGGNPsBaIgpEG/AKXXeQfYfLXdslA7ojksblGx7Gv4TPf1tlculDxZz2ndA3us
0tOkXxgj+2q2eAndC13PXD3j1qUXW17ngU4ehPp8vLhMf7RjzGCtK8+a5s/Ao9Wt
4I07sIeq3pFq4BnQViUO5ACAP4nKOetPtzJGnilyVomCPPbd52uU/LMXrgQBIFi8
f/3O62Zd0Yipyfy63oAbzq37fJjNGml0WkyfLCwVdX53ZZPo15Wy1S0OmA9gRafS
MnRT8/6+ATtxzz63dxmdSEzIxD8f2PqCmp5ZTCIZ002iyahHq8nWUf0sXaoCsAg=
=j3JO
-----END PGP SIGNATURE-----

--------------enigA84F638D3C8DF7EFDD2DDAAC--


From MAILER-DAEMON Mon Jun 20 15:56:50 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYkaX-0003iW-G1
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 15:56:49 -0400
Received: from eggs.gnu.org ([140.186.70.92]:44842)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <daviddoria@gmail.com>) id 1QYjVP-0002tI-J8
	for autoconf@gnu.org; Mon, 20 Jun 2011 14:47:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <daviddoria@gmail.com>) id 1QYjVO-0005Js-9Q
	for autoconf@gnu.org; Mon, 20 Jun 2011 14:47:27 -0400
Received: from mail-fx0-f41.google.com ([209.85.161.41]:38150)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <daviddoria@gmail.com>) id 1QYjVN-0005Jl-TQ
	for autoconf@gnu.org; Mon, 20 Jun 2011 14:47:26 -0400
Received: by fxm18 with SMTP id 18so1258132fxm.0
	for <autoconf@gnu.org>; Mon, 20 Jun 2011 11:47:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=nzobQp5NvK+hbkE9mZmJshsdqLAKttV2hLXK2yaTnF8=;
	b=wrkXLNLxkhy8O+tpO64Wj6sBkbyUahNn8aeLBkNkJdLNXFuOlmIM6SsR4dqiqQSoVN
	IAroCZc5CgjMg6Bc0LVD1CZAUH7QBwUejHg2LSNqSCuBcH9P+0lb3v2nQJvd5pB+ENuS
	81zRrm4cYqIKe3XhnwjhZNCw3XWexw0CuAg9Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=tMAw2v3ww7UqvYF9kmtIx2doAoXMyT1iikwWQLacLJcqpe+DfwbZ6rU4ZVDJ13eXFR
	+wflabKg02T/uTzRlFRGdVotynD3S+Z9KcDPgT4fVww17b8M2mRYlJjr2GSqSb117LqR
	WD1U2ehcL7btAi5UUILb3F52vdu1yPN8/BWTY=
MIME-Version: 1.0
Received: by 10.223.61.134 with SMTP id t6mr1775944fah.28.1308595644851; Mon,
	20 Jun 2011 11:47:24 -0700 (PDT)
Received: by 10.223.83.139 with HTTP; Mon, 20 Jun 2011 11:47:24 -0700 (PDT)
Date: Mon, 20 Jun 2011 14:47:24 -0400
Message-ID: <BANLkTi=wN1_dCCQEu6++vOxxTTKdD1w5rg@mail.gmail.com>
Subject: How to build autoconf?
From: David Doria <daviddoria@gmail.com>
To: autoconf@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.161.41
X-Mailman-Approved-At: Mon, 20 Jun 2011 15:56:48 -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: Mon, 20 Jun 2011 18:47:28 -0000

There is no configure or makefile in the repository I cloned (git
clone git://git.sv.gnu.org/autoconf). I tried to run my current
version of 'autoconf' on the directory, but it says it is too low of a
version (this is the reason why I am trying to build it in the first
place!) How do I build it?

Thanks,

David


From MAILER-DAEMON Mon Jun 20 16:01:54 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYkfS-0004zC-BR
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 16:01:54 -0400
Received: from eggs.gnu.org ([140.186.70.92]:60817)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYkfP-0004ye-So
	for autoconf@gnu.org; Mon, 20 Jun 2011 16:01:53 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYkfO-0001kq-DO
	for autoconf@gnu.org; Mon, 20 Jun 2011 16:01:51 -0400
Received: from mx1.redhat.com ([209.132.183.28]:53385)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYkfN-0001kg-Vy
	for autoconf@gnu.org; Mon, 20 Jun 2011 16:01:50 -0400
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5KK1lI2031966
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 20 Jun 2011 16:01:47 -0400
Received: from [10.3.113.98] (ovpn-113-98.phx2.redhat.com [10.3.113.98])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p5KK1lVZ009282; Mon, 20 Jun 2011 16:01:47 -0400
Message-ID: <4DFFA72A.8050409@redhat.com>
Date: Mon, 20 Jun 2011 14:01:46 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: David Doria <daviddoria@gmail.com>
Subject: Re: How to build autoconf?
References: <BANLkTi=wN1_dCCQEu6++vOxxTTKdD1w5rg@mail.gmail.com>
In-Reply-To: <BANLkTi=wN1_dCCQEu6++vOxxTTKdD1w5rg@mail.gmail.com>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigEF520E00679C4F6027B3B8E3"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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: Mon, 20 Jun 2011 20:01:53 -0000

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

On 06/20/2011 12:47 PM, David Doria wrote:
> There is no configure or makefile in the repository I cloned (git
> clone git://git.sv.gnu.org/autoconf). I tried to run my current
> version of 'autoconf' on the directory, but it says it is too low of a
> version (this is the reason why I am trying to build it in the first
> place!) How do I build it?

The bootstrap requirement only exists for autoconf.git; it does not
exist for released tarballs.  So you break the cycle by installing a
new-enough release tarball.

wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.xz
 # or .gz, if you don't have xz installed
unpack that, and install it

Yes, bootstrapping an ancient machine can be painful, but do you really
plan on developing on that ancient machine?  If not, then you can stop
here; otherwise, you should now have a new-enough installed autoconf to
be able to bootstrap autoconf.git.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigEF520E00679C4F6027B3B8E3
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN/6cqAAoJEKeha0olJ0NqWdoH/1f19BbRXoEyLvi+6o2p/d4G
bUaccZPvgF3p6AXNul2id446VTu9X8Sp/1RNR1RHrlu9W/XTp1tM5w44KM988eVB
AWlBEufEepE+GzoMsBolQnBtPZCsFIVKL8rqzwGUwKqwQxhjUWnx113lyIzVIGte
kaNx1v9FUCjw8PZq0TNbgIeigSwDcsOtEKGGlmjRg4I1EvH1woE3aBUGJxxVwhWZ
ZJboYMbXEX3cDTk+byJpfyuYWad+RaU9M2fk9VN1ZQ0h+29wFzjCImjwdTLgJaXI
mjGZznvCOXtZAQDFDSVveA9XJOSAuY05OFPLS9BPsvgSdJOPqPBTAUEPwQTQQIM=
=hNKM
-----END PGP SIGNATURE-----

--------------enigEF520E00679C4F6027B3B8E3--


From MAILER-DAEMON Mon Jun 20 18:26:25 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYmvI-0001H2-FT
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 18:26:24 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43008)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYmvF-0001GC-3T
	for autoconf@gnu.org; Mon, 20 Jun 2011 18:26:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYmvC-0004zi-SA
	for autoconf@gnu.org; Mon, 20 Jun 2011 18:26:20 -0400
Received: from stenn.ntp.org ([149.20.68.30]:15876)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYmvC-0004zU-GO
	for autoconf@gnu.org; Mon, 20 Jun 2011 18:26:18 -0400
Received: from localhost ([127.0.0.1] helo=stenn.ntp.org)
	by stenn.ntp.org with esmtp (Exim 4.74 (FreeBSD))
	(envelope-from <stenn@stenn.ntp.org>)
	id 1QYmvA-000EtK-M1; Mon, 20 Jun 2011 15:26:16 -0700
To: autoconf@gnu.org
Subject: working and AUX dirs while running configure
From: Harlan Stenn <stenn@ntp.org>
X-Face: "csXK}xnnsH\h_ce`T#|pM]tG,
	6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n<m88'RZQA.<2]zo&R
	I8nHuPumSNjsAN&WGhll?v}1#%)~2%QI~4Vs%IuWb#OmZmKck_1Ee&C\k&vJ}BWx:Bb#Mx8>:c(Cc*
	$cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C
	d
X-Mailer: MH-E 7.4.2; nmh 1.2; XEmacs 21.4 (patch 22)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Mon, 20 Jun 2011 15:26:16 -0700
Message-Id: <E1QYmvA-000EtK-M1@stenn.ntp.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 149.20.68.30
Cc: stenn@ntp.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: Mon, 20 Jun 2011 22:26:22 -0000

I have the need (or at least a strong desire) to run config.guess (and
therefore config.sub) from some scripts that I invoke from inside
'configure'.

I'm noticing that the "current directory" seems to be the srcdir if I
put this code just after "common initial stuff", and in the builddir if
I put this code a bit later.

Regardless, the PATH does not contain AC_CONFIG_AUX_DIR, and I even if
it did, that path is generally "not rooted" so it's not all that easy to
use because it is srcdir-relative and depending on where I am in
'configure', I may be in the srcdir and I may be in the builddir.

I'm also aware that some folks may have shell RC files that will re-set
the PATH when a subshell is spawned, which makes this all even trickier.

I'm looking for a good solution here.

Suggestions?

-- 
Harlan Stenn <stenn@ntp.org>
http://ntpforum.isc.org  - be a member!


From MAILER-DAEMON Mon Jun 20 19:06:18 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYnXu-0006tc-AC
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 19:06:18 -0400
Received: from eggs.gnu.org ([140.186.70.92]:58644)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYnXp-0006sv-EB
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:06:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYnXn-0002b4-R1
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:06:13 -0400
Received: from mx1.redhat.com ([209.132.183.28]:16358)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYnXn-0002au-Db
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:06:11 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5KN6Ajl006395
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 20 Jun 2011 19:06:10 -0400
Received: from [10.3.113.98] (ovpn-113-98.phx2.redhat.com [10.3.113.98])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id p5KN69GJ031472; Mon, 20 Jun 2011 19:06:10 -0400
Message-ID: <4DFFD261.9000509@redhat.com>
Date: Mon, 20 Jun 2011 17:06:09 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: Harlan Stenn <stenn@ntp.org>
Subject: Re: working and AUX dirs while running configure
References: <E1QYmvA-000EtK-M1@stenn.ntp.org>
In-Reply-To: <E1QYmvA-000EtK-M1@stenn.ntp.org>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enigDAFA68A5C350BD29EF1D1FBE"
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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: Mon, 20 Jun 2011 23:06:15 -0000

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

On 06/20/2011 04:26 PM, Harlan Stenn wrote:
> I have the need (or at least a strong desire) to run config.guess (and
> therefore config.sub) from some scripts that I invoke from inside
> 'configure'.
>=20
> I'm noticing that the "current directory" seems to be the srcdir if I
> put this code just after "common initial stuff", and in the builddir if=

> I put this code a bit later.

How have you come to this conclusion?  By default, running
path/to/configure does not change directories during the configure run,
unless you added a chdir call somewhere in your configure.ac snippets,
so it might help to post a minimal configure.ac that demonstrates the
problem you seem to be observing.

> Regardless, the PATH does not contain AC_CONFIG_AUX_DIR, and I even if
> it did, that path is generally "not rooted" so it's not all that easy t=
o
> use because it is srcdir-relative and depending on where I am in
> 'configure', I may be in the srcdir and I may be in the builddir.

You are always in the builddir during 'configure' - the whole point of
running path/to/configure is to configure the current working directory
as a builddir in relation to path/to/ where configure resides.
Meanwhile, $(srcdir)/build-aux/config.guess should always be a working
means of invoking auxiliary scripts during configure, assuming that you
used AC_CONFIG_AUX_DIR to set up build-aux as the location for
config.guess and friends.

>=20
> I'm also aware that some folks may have shell RC files that will re-set=

> the PATH when a subshell is spawned, which makes this all even trickier=
=2E
>=20
> I'm looking for a good solution here.

It's hard to know what else to suggest without first seeing what you
have tried.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enigDAFA68A5C350BD29EF1D1FBE
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN/9JhAAoJEKeha0olJ0NqqyQH/jWEf8HXtInK0vxRMm4dJRjI
8vr87VtBs2pUwa1ukmgrOn59iPd82KNf7km0SZmBUpJM/ECyXMcvu5ZpwQXEjlvz
Gj8na5ZXKze/lTu/qUCL176lhjoYAfJ29k6C8ijXJAljvHGPhP+bXwqxo9qLwOwN
th5Cifkp2yP6ESr1mi9nit0mvt6u2u3kzH+yGKZkdgByd8z77ZbGgyIFQ0I5XwPn
uoKbT6Z00/+HLqJXt+6BEJBZoGFW/pNpY+fD25Cb0PwHe6B//ZZ52GDDYZzONr8U
yK79kQPpMCJGAxV9QUAwfDbTIf2Fd7pgllD5PW456FFPHXE1Jhi3J8M4/EXwOVU=
=zaeh
-----END PGP SIGNATURE-----

--------------enigDAFA68A5C350BD29EF1D1FBE--


From MAILER-DAEMON Mon Jun 20 19:13:44 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYnf5-0007YE-MQ
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 19:13:43 -0400
Received: from eggs.gnu.org ([140.186.70.92]:54724)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYnf3-0007Y8-8V
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:13:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYnf1-0003nw-Vk
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:13:41 -0400
Received: from mail-vw0-f41.google.com ([209.85.212.41]:51199)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYnf1-0003ns-Pz
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:13:39 -0400
Received: by vws4 with SMTP id 4so1071744vws.0
	for <autoconf@gnu.org>; Mon, 20 Jun 2011 16:13:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=P6i5bYYj2ExRRyaFibH4xbqmanPkNbX2uZ9ANqbLc6Q=;
	b=fIrRLhJ5ot0veVoZx/T5I0mHq3UOKJmByEIcRVABZZJ2rW0UNnO46BdIbzHF3j/x/i
	97nqNqZOsLFK1GyN7tsYQxRirm/SNz6v9cqtRlMs9EgfZ3OK+cHavqb26lr8nZrG9IQY
	swwIHzeUsweMBQ4L2y4/tHLBZHL+v2pWKFR/U=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	b=rBsKYFtlS0Bj9B6THP6Il87beb807W9VvjIDsIT64ZJxVzan49uH1h8qdrrKBl48Jt
	mKXvH4PwhBQBLLp3KdyzCHeWTFw/lC+reQuR0t0udgLrlWn1HXnbUgtEeOmy0ypAcjKA
	IHHHQB7svIWxpUkBU/o2kUFyQK3TRREAOpr78=
MIME-Version: 1.0
Received: by 10.52.96.104 with SMTP id dr8mr7740433vdb.214.1308611618001; Mon,
	20 Jun 2011 16:13:38 -0700 (PDT)
Received: by 10.52.109.165 with HTTP; Mon, 20 Jun 2011 16:13:37 -0700 (PDT)
In-Reply-To: <4DFFA544.8040501@redhat.com>
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
	<4DFFA544.8040501@redhat.com>
Date: Mon, 20 Jun 2011 17:13:37 -0600
Message-ID: <BANLkTinfXFfkoEG+UnasSyx16p77s0Dcbw@mail.gmail.com>
Subject: Re: how do distribute automake free code?
From: Jim Edwards <edwards.jim@gmail.com>
To: Eric Blake <eblake@redhat.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.212.41
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
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: Mon, 20 Jun 2011 23:13:42 -0000

Eric,

On the first question I guess I didn't state it very well - what you
describe is what I am doing.
On the second I found that by adding arguments -c -i for libtoolize and -a
-c for automake  in the bootstrap,
I was able to add the additional files that make was looking for.   It seems
that that takes care of it.   As for writing to the automake list instead of
the
autoconf list - wouldn't it make more sense to have a autotools list since
they are all interrelated anyway?

Thanks
Jim

On Mon, Jun 20, 2011 at 1:53 PM, Eric Blake <eblake@redhat.com> wrote:

> On 06/20/2011 10:50 AM, Jim Edwards wrote:
> > As I understand it, I should be able to bootstrap on a single system,
> check
> > in the resulting configure and Makefile.in files then on other systems
> > I should only need to run configure.
>
> That's not my understanding.
>
> Rather, you should be able to bootstrap on a single system, check in ALL
> source files used to perform the bootstrap process (including the
> Makefile.am that you used to bootstrap), then on other systems you can
> run configure without having to re-run automake.  That is, the end user
> need not have all the tools present, but _does_ need access to the same
> source files as the developer (who _did_ have all the right tools), as
> well as the intermediate files that the developer's bootstrap process
> added into the mix.
>
> >   But this doesn't seem to be working,
> > I get something like ...
> >
> > cd . && /bin/sh /ptmp/jedwards/glimmer-cism/gc2_trunk/missing --run
> > aclocal-1.10
>
> That's working as designed.  It says that _if_ automake is installed,
> then use it to bring the dependencies up to date, and if it is not
> present, then continue on with the build as if the timestamps had
> already been updated correctly.  It is not a hard-and-fast dependency on
> automake, but _does_ imply that your tarball includes the 'missing'
> script (which should have been placed into your tarball automatically
> during your bootstrap process).
>
> Meanwhile, this is the autoconf list; but your question is about
> automake.  You may get better answers by asking on the automake list.
>
> --
> Eric Blake   eblake@redhat.com    +1-801-349-2682
> Libvirt virtualization library http://libvirt.org
>
>

From MAILER-DAEMON Mon Jun 20 19:26:27 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYnrO-0001bl-MA
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 19:26:26 -0400
Received: from eggs.gnu.org ([140.186.70.92]:53892)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYnrL-0001b9-E1
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:26:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYnrJ-0005Pk-LZ
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:26:23 -0400
Received: from mx1.redhat.com ([209.132.183.28]:50989)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eblake@redhat.com>) id 1QYnrJ-0005PE-7H
	for autoconf@gnu.org; Mon, 20 Jun 2011 19:26:21 -0400
Received: from int-mx09.intmail.prod.int.phx2.redhat.com
	(int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5KNQJSQ018412
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Mon, 20 Jun 2011 19:26:19 -0400
Received: from [10.3.113.98] (ovpn-113-98.phx2.redhat.com [10.3.113.98])
	by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP
	id p5KNQI09008954; Mon, 20 Jun 2011 19:26:19 -0400
Message-ID: <4DFFD71A.5040709@redhat.com>
Date: Mon, 20 Jun 2011 17:26:18 -0600
From: Eric Blake <eblake@redhat.com>
Organization: Red Hat
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14
	Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10
MIME-Version: 1.0
To: Jim Edwards <edwards.jim@gmail.com>
Subject: Re: how do distribute automake free code?
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>	<4DFFA544.8040501@redhat.com>
	<BANLkTinfXFfkoEG+UnasSyx16p77s0Dcbw@mail.gmail.com>
In-Reply-To: <BANLkTinfXFfkoEG+UnasSyx16p77s0Dcbw@mail.gmail.com>
X-Enigmail-Version: 1.1.2
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature";
	boundary="------------enig21FE6204BB53366CB262DBB1"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.183.28
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: Mon, 20 Jun 2011 23:26:25 -0000

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

On 06/20/2011 05:13 PM, Jim Edwards wrote:
> Eric,
>=20
> On the first question I guess I didn't state it very well - what you
> describe is what I am doing.

Sounds like you are running into the classic debate of how much to
version control, as well as the problem of your version control system
corrupting timestamps on generated files.  Perhaps this portion of the
automake manual will give you some ideas:

http://www.gnu.org/software/automake/manual/automake.html#CVS

Personally, I'm of the camp that files generated by autotools should
_not_ be version controlled (witness autoconf.git); then I don't have to
deal with timestamp issues (but other developers have to have more tools
installed in order to bootstrap my projects when working from version
control); but I have also worked on projects where version-controlled
generated files are the norm (witness automake.git), and it is indeed
possible to guarantee sane timestamps in spite of version control
oddities as part of your bootstrap scripts.

> On the second I found that by adding arguments -c -i for libtoolize and=
 -a
> -c for automake  in the bootstrap,
> I was able to add the additional files that make was looking for.   It =
seems
> that that takes care of it.

You may want to just use 'autoreconf -i' rather than direct libtoolize
and automake calls in your bootstrap script.

>   As for writing to the automake list instead of
> the
> autoconf list - wouldn't it make more sense to have a autotools list si=
nce
> they are all interrelated anyway?

Perhaps merging the 'libtool', 'automake', and 'autoconf' lists into a
new 'autotools' list might make sense (keeping the old names as aliases
to the new list), where it would consolidate general usage questions
about any of the three tools into a single location.  It would need
consensus from the three projects; would you care to raise that as a new
thread cross-posted to the appropriate lists?  For precedence, we
already have a shared 'autotools-announce' list.  I'm probably 60-40 in
favor of doing a list consolidation along those terms.

However, 'bug-libtool', 'bug-automake', 'bug-autoconf', as well as
'libtool-patches', 'automake-patches', and 'autoconf-patches', should
all remain separate lists (they really are three different projects, and
patches to one don't always affect the other).  And since we'll still be
stuck with redirecting bug reports, what's the harm in redirecting usage
questions rather than consolidating the usage aliases into one list?
Most of the active developers already hang out on all three lists, so
it's not that likely that misdirected mail is completely lost.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig21FE6204BB53366CB262DBB1
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.11 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJN/9caAAoJEKeha0olJ0NqcukIAJ71su7jgN35WXxWBX3/P+8r
Lim7nW+0T9VSZKojGwMUscv1NUvTRRyQc2xJqNrgL0epckGhIgtRfC48qv2aZaUE
dVSvnI4s5hKxPRKKjOXexd8oPt3c7pVcGUV3v/dWWX6zwE3SxO/lpO4E4tjcvEFV
L+YECpezufBDVhErwvtPlQvj3Stej9we+4vhZ4Dhg7v/SsqQG1hmkWq420NyXADc
yBgqAHRMmVmLBPVJSfLhG/t4HLFQQmU0+gyo+/+jbKII1k2SVpP4HOSAl0Za9QN/
Dy+n8970piffTvN8h5s3KmrI4WjciPMhHdja7SGOV3A2Ctt8tUP2U65VKEMz5VQ=
=DDdb
-----END PGP SIGNATURE-----

--------------enig21FE6204BB53366CB262DBB1--


From MAILER-DAEMON Mon Jun 20 20:21:20 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYoiV-0007qr-TY
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 20:21:20 -0400
Received: from eggs.gnu.org ([140.186.70.92]:55505)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1QYoiS-0007ps-OX
	for autoconf@gnu.org; Mon, 20 Jun 2011 20:21:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1QYoiP-0004mW-5Y
	for autoconf@gnu.org; Mon, 20 Jun 2011 20:21:16 -0400
Received: from smtp.gentoo.org ([140.211.166.183]:53894)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <vapier@gentoo.org>) id 1QYoiN-0004ld-Bt
	for autoconf@gnu.org; Mon, 20 Jun 2011 20:21:12 -0400
Received: from vapier.localnet (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id 698C21B400E;
	Tue, 21 Jun 2011 00:21:08 +0000 (UTC)
From: Mike Frysinger <vapier@gentoo.org>
Organization: wh0rd.org
To: autoconf@gnu.org
Subject: Re: how do distribute automake free code?
Date: Mon, 20 Jun 2011 20:16:45 -0400
User-Agent: KMail/1.13.7 (Linux/2.6.39; KDE/4.6.3; x86_64; ; )
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
In-Reply-To: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="nextPart1596474.LhOjMLd9Ag";
	protocol="application/pgp-signature"; micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201106202016.46732.vapier@gentoo.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.211.166.183
Cc: Jim Edwards <edwards.jim@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: Tue, 21 Jun 2011 00:21:18 -0000

--nextPart1596474.LhOjMLd9Ag
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

On Monday, June 20, 2011 12:50:02 Jim Edwards wrote:
> As I understand it, I should be able to bootstrap on a single system, che=
ck
> in the resulting configure and Makefile.in files then on other systems
> I should only need to run configure.   But this doesn't seem to be workin=
g,
> I get something like ...
>=20
> cd . && /bin/sh /ptmp/jedwards/glimmer-cism/gc2_trunk/missing --run
> aclocal-1.10
> cd . && /bin/sh /ptmp/jedwards/glimmer-cism/gc2_trunk/missing --run
> automake-1.10 --foreign
>=20
>=20
> What do I need to do to prevent this?

checking in generated autotool files (i.e. configure and Makefile.in) is=20
generally discouraged.  you're hitting a timestamp issue because when peopl=
e=20
checkout/update the sources, the timestamps on the files dont match and=20
autotools regenerates itself automatically.

you have a few choices:
 - dont check in these files and do as Eric said
 - dont distribute this way ... use `make dist` and distribute the tarball =
as=20
is the standard in the world
 - have everyone run `find . -exec touch -r configure {} +` before running=
=20
`./configure` ... but this wouldnt really fix use cases of `svn up && make`=
,=20
so you're better off not ...
=2Dmike

--nextPart1596474.LhOjMLd9Ag
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)

iQIcBAABAgAGBQJN/+LuAAoJEEFjO5/oN/WB1wkP/3d2BqTKosBbK49PBFMcd1RN
h6jRYfpX1KSSdM2e96pgBUz5y1vtNOj9X/hXq+ksdIhJKRv1uiejdhmkJi6imIuV
+XWSVPNtdpTb1AYz7MXCzPfc/S1eoQzT+gvqvjZIUmsfo8aSB9Ei7zMV+MFABJxL
+aZsqR6rkfj1bEmDnOiJ/1jXd1G7hURKjaw1RDR7N8qALoCHwcnYSpbh/tTj6q+r
L/L6OSjTVV23sMnwBubSwbdsyvmk165JdfnSVtEv4N3sKjFHIf5FATJK4I2kHCMT
ywCKo6X/Hbw8/e1LeUJVXyGafx4CFWAMDjkSgMKnnalonBPd0eFEAAfkWHJ7AQXR
SA9QgAJKRkZ5rqv0iAwfyHOE39XCf4xry/htU9u5/FCG0acZFokNwmQ/u0HLawM+
Ui1ICGnvSPPtbX//+SXVuBvnX0xqoPdx5OvjDgQDVPVLves71LaTulk02Bas6Lor
+Mr+neg6iKOhs+MH9pWF6/GQLxFeF+bdC3IDks/4YRjzNGxdyihwhkx7iILC+RJv
gzWmhfPZ8EFjdFCh2Us6ohCXKLWLMY3MqtTCuFT0vNqufl+sM/eoqgT6dE7HqBYH
pRCtHHhBJWVLuPCo1fP6QT8x9mDUzi1IWEsBM/NuZEY6Swdht5LruoY7AnRMBG3y
8X6Y2avssAU+wZnlWxVi
=4pzb
-----END PGP SIGNATURE-----

--nextPart1596474.LhOjMLd9Ag--


From MAILER-DAEMON Mon Jun 20 20:28:40 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYopc-0000xC-HQ
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 20:28:40 -0400
Received: from eggs.gnu.org ([140.186.70.92]:42179)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYopa-0000we-LR
	for autoconf@gnu.org; Mon, 20 Jun 2011 20:28:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYopZ-0005yH-Fn
	for autoconf@gnu.org; Mon, 20 Jun 2011 20:28:38 -0400
Received: from stenn.ntp.org ([149.20.68.30]:34716)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYopZ-0005yD-AN
	for autoconf@gnu.org; Mon, 20 Jun 2011 20:28:37 -0400
Received: from localhost ([127.0.0.1] helo=stenn.ntp.org)
	by stenn.ntp.org with esmtp (Exim 4.74 (FreeBSD))
	(envelope-from <stenn@stenn.ntp.org>)
	id 1QYopY-000F3k-6y; Mon, 20 Jun 2011 17:28:36 -0700
To: Jim Edwards <edwards.jim@gmail.com>
Subject: Re: how do distribute automake free code? 
In-reply-to: <4DFFA544.8040501@redhat.com> 
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
	<4DFFA544.8040501@redhat.com>
Comments: In-reply-to Eric Blake <eblake@redhat.com>
	message dated "Mon, 20 Jun 2011 13:53:40 -0600."
X-Mailer: MH-E 7.4.2; nmh 1.2; XEmacs 21.4 (patch 22)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Mon, 20 Jun 2011 17:28:36 -0700
From: Harlan Stenn <stenn@ntp.org>
Message-Id: <E1QYopY-000F3k-6y@stenn.ntp.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 149.20.68.30
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, 21 Jun 2011 00:28:39 -0000

If auto*-generated files are being checked in to a repo, you may be 
seeing a problem where the timestamps of those files are not kept in 
"relational" order when you check out a copy from the repo. 
 
I think your choices are to either live with it (just like the way Eric 
wrote) or run a script after checkout that "touches" the 
generated files in the correct order so that the dependency order is 
maintained. 
 
If you want an example of this, check out a tarball of NTP and look at 
the top-level "bootstrap" script.  Be advised that NTP's need and use 
for this is probably quite a bit more involved that what you might
need.

-- 
Harlan Stenn <stenn@ntp.org>
http://ntpforum.isc.org  - be a member!


From MAILER-DAEMON Mon Jun 20 21:31:46 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYpof-0004nW-Mq
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 21:31:45 -0400
Received: from eggs.gnu.org ([140.186.70.92]:44900)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <javierjc1982@gmail.com>) id 1QYpod-0004nP-IR
	for Autoconf@gnu.org; Mon, 20 Jun 2011 21:31:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <javierjc1982@gmail.com>) id 1QYpoc-0006Pg-DV
	for Autoconf@gnu.org; Mon, 20 Jun 2011 21:31:43 -0400
Received: from mail-pv0-f169.google.com ([74.125.83.169]:63132)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <javierjc1982@gmail.com>) id 1QYpoc-0006PU-84
	for Autoconf@gnu.org; Mon, 20 Jun 2011 21:31:42 -0400
Received: by pvc12 with SMTP id 12so1593363pvc.0
	for <Autoconf@gnu.org>; Mon, 20 Jun 2011 18:31:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:sender:in-reply-to:references:from
	:date:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding;
	bh=qoh3LEGBQlwQVIUdH6cCxr2mhj5pQrNpLZtKdy/5NwI=;
	b=pn2x1vmUsWd9MB7p2kX553uDCV7tyHyycEK5rtawMuuyJ9Gg7DwJJrB4Yz2fuFUlGr
	3nXz7Ure2zb0jXoGyVddOg0FWNgaTH9JacpsyfGI1rCvpRk7DASiXXlfAkGbJGkN68ME
	IwI83yFspOU0t62pePd7A8SKUVAhZ/lpf+E+E=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:sender:in-reply-to:references:from:date
	:x-google-sender-auth:message-id:subject:to:cc:content-type
	:content-transfer-encoding;
	b=MTjULq2EKldCo6YzoMuVeAv5OqfBvvtYw9dkmGC/oBsFoSVQVkO9FHwJgZDqeP2AaN
	n2pszblHrR39rtBtSUthS/MbqQ6hc10UZWC+QViX678NSKNaG0xyBkxwFVK2VhwhUDdl
	mLxLKLcdH4Z7ldYpQWKVNQkFrge7aqDyWWoGo=
Received: by 10.142.6.22 with SMTP id 22mr907288wff.286.1308619900562; Mon, 20
	Jun 2011 18:31:40 -0700 (PDT)
MIME-Version: 1.0
Sender: javierjc1982@gmail.com
Received: by 10.143.59.11 with HTTP; Mon, 20 Jun 2011 18:31:20 -0700 (PDT)
In-Reply-To: <BANLkTi=1QOa0R6cvY-4uMu14x-WZHhe33w@mail.gmail.com>
References: <BANLkTinvij2CtKy=tkHotcubVoM9w7iHHA@mail.gmail.com>
	<4DFF84A8.1030905@redhat.com>
	<BANLkTi=1QOa0R6cvY-4uMu14x-WZHhe33w@mail.gmail.com>
From: =?UTF-8?Q?Javier_Jard=C3=B3n?= <jjardon@gnome.org>
Date: Tue, 21 Jun 2011 02:31:20 +0100
X-Google-Sender-Auth: sIKX7Su8TbVZhtp7NoAYvl4TMSU
Message-ID: <BANLkTimz9BBzhv=oH=+a2L6444TMbW-3uA@mail.gmail.com>
Subject: Re: Do not use deprecation flags in releases
To: Marko Lindqvist <cazfi74@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 74.125.83.169
Cc: Autoconf@gnu.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: Tue, 21 Jun 2011 01:31:44 -0000

On 20 June 2011 20:21, Marko Lindqvist <cazfi74@gmail.com> wrote:
> 2011/6/20 Eric Blake <eblake@redhat.com>:
>> On 06/19/2011 04:55 PM, Javier Jard=C3=B3n wrote:
>>> Hello,
>>>
>>> I'm looking for the best solution to deal with the deprecation flags
>>> for Glib/GTK+.
>>> Most project use them incodiotionally, so releases will break if a in
>>> Glib/GTK+ deprecation is introduced.
>
> =C2=A0I think most projectrs do not use them at all. :-)

Well, yes in the GNOME project at least ;)
We had quite a lot of problems in the latest unstable release because this.

We are also discussing the creation of a new macro in this bug [1], so
we do not have to patch every GNOME module only for this (thanks Ralf
for the corrections in the previous code)

Of course any feedback is more then welcome

Regards


[1] https://bugzilla.gnome.org/show_bug.cgi?id=3D614360
--=20
Javier Jard=C3=B3n Cabezas


From MAILER-DAEMON Mon Jun 20 22:57:45 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYr9t-0002aR-GU
	for mharc-autoconf@gnu.org; Mon, 20 Jun 2011 22:57:45 -0400
Received: from eggs.gnu.org ([140.186.70.92]:49739)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYr9p-0002aI-VZ
	for autoconf@gnu.org; Mon, 20 Jun 2011 22:57:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYr9o-0002NG-G6
	for autoconf@gnu.org; Mon, 20 Jun 2011 22:57:41 -0400
Received: from mail-vx0-f169.google.com ([209.85.220.169]:43389)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QYr9o-0002NA-B4
	for autoconf@gnu.org; Mon, 20 Jun 2011 22:57:40 -0400
Received: by vxg38 with SMTP id 38so3634362vxg.0
	for <autoconf@gnu.org>; Mon, 20 Jun 2011 19:57:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=ZMYsBacSanhnO+U0K4Lw4Ek3n4Xv1DHy4CY5SuzB2GI=;
	b=XzjWhMQzduyS89yHzq/6IwxlgChD1zdnGljw8ZFsROsnb4PhAol2nhlI3eXTxaXq/d
	w4uQwyfzF2wo9o9MJqozLY0erRjovNhz6DTBUG7jI6bIx2hoavrjKa/ZYWTFkbGqNHNJ
	kyMANOqZhoqbB0DNtLkP3BCo43y1NG666BXqk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	b=P/8McIhosoB2IeRQf3e+xiSjZp+RZWyWAt4fgo0+J9cJxqB3hLKDK4PmyyyzE9h8Od
	cm/bJVD9Kv3dFSJLgJQ5wM9QbkQHK4Wo22UcgjRDlnZTCJ6xB/+zUTDgwpg32wabzimN
	gCkTJLrpJZYOTXw/qkXrsvbhlWp3fUi4mPg+A=
MIME-Version: 1.0
Received: by 10.52.94.239 with SMTP id df15mr4112579vdb.254.1308625059533;
	Mon, 20 Jun 2011 19:57:39 -0700 (PDT)
Received: by 10.52.109.165 with HTTP; Mon, 20 Jun 2011 19:57:39 -0700 (PDT)
In-Reply-To: <E1QYopY-000F3k-6y@stenn.ntp.org>
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
	<4DFFA544.8040501@redhat.com> <E1QYopY-000F3k-6y@stenn.ntp.org>
Date: Mon, 20 Jun 2011 20:57:39 -0600
Message-ID: <BANLkTi=gNAk1rWSQ1MRz+xOkrx2DtDA8Og@mail.gmail.com>
Subject: Re: how do distribute automake free code?
From: Jim Edwards <edwards.jim@gmail.com>
To: Harlan Stenn <stenn@ntp.org>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.220.169
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
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, 21 Jun 2011 02:57:43 -0000

Thanks for all of the thoughts and replies.  To summarize we are
distributing our code directly from the repository but don't think that
every platform should be required to have the same set of autotools that we
have, so we commit the bootstrap generated files.   It seems to me that the
autotools themselves are not that portable - the resulting configure file
and *.in files are - and when I think about providing support I would much
rather support those resulting files on a new platform than the tools that
built them.  But due to issues of make determining dependencies based on
timestamps this doesn't exactly work.   Isn't there a way to tell automake,
perhaps through the Makefile.am, to remove or ignore these particular
dependencies?  If not is it worthy of a new feature request?   I know, I
know - I should write to the automake list :-).    Thanks,

Jim

On Mon, Jun 20, 2011 at 6:28 PM, Harlan Stenn <stenn@ntp.org> wrote:

> If auto*-generated files are being checked in to a repo, you may be
> seeing a problem where the timestamps of those files are not kept in
> "relational" order when you check out a copy from the repo.
>
> I think your choices are to either live with it (just like the way Eric
> wrote) or run a script after checkout that "touches" the
> generated files in the correct order so that the dependency order is
> maintained.
>
> If you want an example of this, check out a tarball of NTP and look at
> the top-level "bootstrap" script.  Be advised that NTP's need and use
> for this is probably quite a bit more involved that what you might
> need.
>
> --
> Harlan Stenn <stenn@ntp.org>
> http://ntpforum.isc.org  - be a member!
>

From MAILER-DAEMON Tue Jun 21 02:06:36 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYu6d-0003iG-D7
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 02:06:35 -0400
Received: from eggs.gnu.org ([140.186.70.92]:37887)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QYu6Z-0003hY-DB
	for autoconf@gnu.org; Tue, 21 Jun 2011 02:06:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QYu6X-0003ba-TM
	for autoconf@gnu.org; Tue, 21 Jun 2011 02:06:31 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:36367)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QYu6X-0003XO-C2
	for autoconf@gnu.org; Tue, 21 Jun 2011 02:06:29 -0400
Received: (qmail 13951 invoked by uid 0); 21 Jun 2011 06:06:28 -0000
Received: from 77.58.247.232 by www008.gmx.net with HTTP;
	Tue, 21 Jun 2011 08:06:26 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Date: Tue, 21 Jun 2011 08:06:26 +0200
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
In-Reply-To: <BANLkTi=gNAk1rWSQ1MRz+xOkrx2DtDA8Og@mail.gmail.com>
Message-ID: <20110621060626.200870@gmx.net>
MIME-Version: 1.0
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
	<4DFFA544.8040501@redhat.com> <E1QYopY-000F3k-6y@stenn.ntp.org>
	<BANLkTi=gNAk1rWSQ1MRz+xOkrx2DtDA8Og@mail.gmail.com>
Subject: Re: how do distribute automake free code?
To: Jim Edwards <edwards.jim@gmail.com>
X-Authenticated: #13673931
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Mutt-Fcc: ~/Mail/outbox
X-Mutt-References: <BANLkTi=gNAk1rWSQ1MRz+xOkrx2DtDA8Og@mail.gmail.com>
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX19ZFvNvqYNZxmyczm70ph8qy5E7Um9lYtwm2KpVnB
	f4UHyFhbxqbS4qeEJWEZEaK8vG992wHyfVvw== 
Content-Transfer-Encoding: 8bit
X-GMX-UID: 2gM1egIJTiE+QrjEt2RwZUZ9ZUVSRJey
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 213.165.64.22
Cc: Harlan Stenn <stenn@ntp.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: Tue, 21 Jun 2011 06:06:32 -0000

Hi Jim,

* Jim Edwards wrote on Tue, Jun 21, 2011 at 04:57:39AM CEST:
> Isn't there a way to tell automake,
> perhaps through the Makefile.am, to remove or ignore these particular
> dependencies?

Please don't top-post, and please read up on maintainer mode:
info Automake maintainer-mode.

Cheers,
Ralf


From MAILER-DAEMON Tue Jun 21 03:39:07 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYvYA-0003Kn-Jg
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 03:39:06 -0400
Received: from eggs.gnu.org ([140.186.70.92]:37582)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QYtOz-0008VF-Db
	for autoconf@gnu.org; Tue, 21 Jun 2011 01:21:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QYtOy-000486-BS
	for autoconf@gnu.org; Tue, 21 Jun 2011 01:21:29 -0400
Received: from webmail-out1.one.com ([91.198.169.16]:18709
	helo=webmail-out1.b-one.net) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QYtOy-00043J-2O
	for autoconf@gnu.org; Tue, 21 Jun 2011 01:21:28 -0400
Received: from bmail04.one.com (bmail04.one.com [91.198.169.179])
	by webmail-out1.b-one.net (Postfix) with ESMTP id 847E3384004EA
	for <autoconf@gnu.org>; Tue, 21 Jun 2011 07:21:24 +0200 (CEST)
Received: by bmail04.one.com (Postfix, from userid 33)
	id 7EF52606BB035; Tue, 21 Jun 2011 07:21:24 +0200 (CEST)
MIME-Version: 1.0
From: "Christoffer Hirth" <toffyrn@toffyrn.net>
To: autoconf@gnu.org
Subject: xlf95 does not accept "-D" from autoconf
Date: Tue, 21 Jun 2011 07:21:24 +0200
X-Mailer: One.com webmail
X-Sender: toffyrn@toffyrn.net
X-Originating-Ip: 157.249.83.68
Received: from 157.249.83.68 by webmail.one.com <http://webmail.one.com/>
	with HTTP; Tue, 21 Jun 2011 07:21:24 +0200
Message-Id: <20110621052124.7EF52606BB035@bmail04.one.com>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 91.198.169.16
X-Mailman-Approved-At: Tue, 21 Jun 2011 03:39:03 -0400
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
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: Tue, 21 Jun 2011 05:21:30 -0000

I'm currently working on porting the build script of a fortran library
to autotools.
This library will be run on multiple configurations, ranging from
regular desktop to cray supercomputers.

However on machines using IBM's fortran compiler (xlf90 or 95)
compilation fails due to unsupported defined variables "-DPACKAGENAME"
etc.
On ibm this should be passed as -WF,-DPACKAGENAME.

How can I modify autotools behaviour, or simply skip these definitions
(they are not used)?


-- Christoffer=

From MAILER-DAEMON Tue Jun 21 05:42:59 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYxU3-00052X-9V
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 05:42:59 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36531)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYxU0-00052P-80
	for autoconf@gnu.org; Tue, 21 Jun 2011 05:42:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYxTy-0008QQ-Rc
	for autoconf@gnu.org; Tue, 21 Jun 2011 05:42:56 -0400
Received: from stenn.ntp.org ([149.20.68.30]:42395)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stenn@stenn.ntp.org>) id 1QYxTy-0008Pt-NR
	for autoconf@gnu.org; Tue, 21 Jun 2011 05:42:54 -0400
Received: from localhost ([127.0.0.1] helo=stenn.ntp.org)
	by stenn.ntp.org with esmtp (Exim 4.74 (FreeBSD))
	(envelope-from <stenn@stenn.ntp.org>)
	id 1QYxTr-000Fal-Di; Tue, 21 Jun 2011 02:42:47 -0700
To: Eric Blake <eblake@redhat.com>
Subject: Re: working and AUX dirs while running configure 
In-reply-to: <4DFFD261.9000509@redhat.com> 
References: <E1QYmvA-000EtK-M1@stenn.ntp.org> <4DFFD261.9000509@redhat.com>
Comments: In-reply-to Eric Blake <eblake@redhat.com>
	message dated "Mon, 20 Jun 2011 17:06:09 -0600."
X-Mailer: MH-E 7.4.2; nmh 1.2; XEmacs 21.4 (patch 22)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset=US-ASCII
Date: Tue, 21 Jun 2011 02:42:47 -0700
From: Harlan Stenn <stenn@ntp.org>
Message-Id: <E1QYxTr-000Fal-Di@stenn.ntp.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 149.20.68.30
Cc: Harlan Stenn <stenn@ntp.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: Tue, 21 Jun 2011 09:42:57 -0000

Eric wrote:
> On 06/20/2011 04:26 PM, Harlan Stenn wrote:
>> I have the need (or at least a strong desire) to run config.guess
>> (and therefore config.sub) from some scripts that I invoke from
>> inside 'configure'.
>>
>> I'm noticing that the "current directory" seems to be the srcdir if I
>> put this code just after "common initial stuff", and in the builddir
>> if I put this code a bit later.
> 
> How have you come to this conclusion?

I was beating my head against this problem for many hours last night,
and I was echoing various things (like the output of pwd and ls) along
the way, and seeing what happened when I moved the fragments to
different places in my configure.ac .

> By default, running path/to/configure does not change directories
> during the configure run, unless you added a chdir call somewhere in
> your configure.ac snippets, so it might help to post a minimal
> configure.ac that demonstrates the problem you seem to be observing.

That's what I thought, and I am *very* careful to only do a 'cd' in a
subshell to avoid problems.  (I forgot about the subshell on my first
attempt, and that totally hosed configure; I immiediately noticed this
and fixed it.)

As for a minimal example, that will be Fun - as you might have guessed,
I'm doing this with NTP, and I'm implementing a new mechanism to let
folks specify their (local) policy as to what directory each program
should be installed in (legacy was always bin/ but most should arguably
go in sbin/), what man section the man pages should go in (1, 1m, or 8),
and finally the choice of installing man pages with .man or .mdoc tags.

The autoconf macro I use to help choose the filename runs a script that
wants to call config.guess, and on this *one* machine, in spite of
everything I have seen, it says it cannot find config.guess.

I'll beat on this problem again perhaps tomorrow.

>> Regardless, the PATH does not contain AC_CONFIG_AUX_DIR, and I even
>> if it did, that path is generally "not rooted" so it's not all that
>> easy to use because it is srcdir-relative and depending on where I am
>> in 'configure', I may be in the srcdir and I may be in the builddir.
> 
> You are always in the builddir during 'configure' - the whole point of
> running path/to/configure is to configure the current working
> directory as a builddir in relation to path/to/ where configure
> resides.  Meanwhile, $(srcdir)/build-aux/config.guess should always be
> a working means of invoking auxiliary scripts during configure,
> assuming that you used AC_CONFIG_AUX_DIR to set up build-aux as the
> location for config.guess and friends.

That's what I thought, and it's also what I expected, and it's what I
saw on every machine I used except one.  Sadly, that one machine is my
primary build/distribution machine.

I have long noticed strange behavior on this machine - it has a "twin"
where things pretty much always work as expected, but this machine is
just ... different, and I do not control this machine and cannot wipe it
and see if a reload will help.

>> I'm also aware that some folks may have shell RC files that will re-set
>> the PATH when a subshell is spawned, which makes this all even trickier.
>>
>> I'm looking for a good solution here.
> 
> It's hard to know what else to suggest without first seeing what you
> have tried.

I'll send more later, after I have a chance to dig in to this again.  It
will probably be another day or so.

H


From MAILER-DAEMON Tue Jun 21 08:51:59 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZ0Qw-00060O-Gh
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 08:51:58 -0400
Received: from eggs.gnu.org ([140.186.70.92]:50348)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QZ0Qt-0005zj-EJ
	for autoconf@gnu.org; Tue, 21 Jun 2011 08:51:56 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QZ0Qr-0002YR-CL
	for autoconf@gnu.org; Tue, 21 Jun 2011 08:51:55 -0400
Received: from mail-vx0-f169.google.com ([209.85.220.169]:37745)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <edwards.jim@gmail.com>) id 1QZ0Qr-0002YM-03
	for autoconf@gnu.org; Tue, 21 Jun 2011 08:51:53 -0400
Received: by vxg38 with SMTP id 38so3990716vxg.0
	for <autoconf@gnu.org>; Tue, 21 Jun 2011 05:51:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=a9Cx7VKjZF4rbE9Cy1JWBuZ8tBnr1WpYUym3wv0N8Zc=;
	b=UOfU8GOyHgGqSfxUS6gilpxnPWAnSDmgqkkEJqpmFsgGWHGuaOpRCN1RAFN2BKWJ0H
	ElBamlIcHxzHsGyf8IPxkPAP9DtZSyR9sfSW7AKc8rYy23XqFuenm6eUc+JjykcDYFMG
	pL7Ej+PwpId0WAQ+681p3bElrX2M7TOuKmysc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	b=iaQILi0yw6Dm6l6XkimpHxRaKfxK90FBbQscyovfNSYB2MTZPFF/dKStk0pdn2kgDK
	Fc7ET+ksvPQ9KLlUVQibiqOZB7XbT96WNH1d4f0Ce2g668N2yrz12QTccSw4WVREg6tE
	xyL1H0UhZTU1ufkQ+mXm3mJdQ7ZHcEK1pnvfE=
MIME-Version: 1.0
Received: by 10.52.98.40 with SMTP id ef8mr5483383vdb.54.1308660712172; Tue,
	21 Jun 2011 05:51:52 -0700 (PDT)
Received: by 10.52.109.165 with HTTP; Tue, 21 Jun 2011 05:51:52 -0700 (PDT)
In-Reply-To: <20110621052124.7EF52606BB035@bmail04.one.com>
References: <20110621052124.7EF52606BB035@bmail04.one.com>
Date: Tue, 21 Jun 2011 06:51:52 -0600
Message-ID: <BANLkTikAOx7U-naU+xfeUcTw-vnbZzGCow@mail.gmail.com>
Subject: Re: xlf95 does not accept "-D" from autoconf
From: Jim Edwards <edwards.jim@gmail.com>
To: Christoffer Hirth <toffyrn@toffyrn.net>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.220.169
Content-Type: text/plain; charset=ISO-8859-1
X-Content-Filtered-By: Mailman/MimeDel 2.1.14
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, 21 Jun 2011 12:51:56 -0000

AC_FC_PP_DEFINE()  in recent autoconf versions handles this correctly.

On Mon, Jun 20, 2011 at 11:21 PM, Christoffer Hirth <toffyrn@toffyrn.net>wrote:

> I'm currently working on porting the build script of a fortran library
> to autotools.
> This library will be run on multiple configurations, ranging from
> regular desktop to cray supercomputers.
>
> However on machines using IBM's fortran compiler (xlf90 or 95)
> compilation fails due to unsupported defined variables "-DPACKAGENAME"
> etc.
> On ibm this should be passed as -WF,-DPACKAGENAME.
>
> How can I modify autotools behaviour, or simply skip these definitions
> (they are not used)?
>
>
> -- Christoffer
> _______________________________________________
> Autoconf mailing list
> Autoconf@gnu.org
> https://lists.gnu.org/mailman/listinfo/autoconf
>

From MAILER-DAEMON Tue Jun 21 09:00:30 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZ0ZC-0007q4-AD
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 09:00:30 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40690)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ0Z2-0007oL-QJ
	for autoconf@gnu.org; Tue, 21 Jun 2011 09:00:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ0Z0-00047h-J9
	for autoconf@gnu.org; Tue, 21 Jun 2011 09:00:20 -0400
Received: from smtp4.met.no ([157.249.32.165]:51550)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ0Z0-00047S-8H
	for autoconf@gnu.org; Tue, 21 Jun 2011 09:00:18 -0400
Received: from localhost (localhost [127.0.0.1])
	by smtp4.met.no (Postfix) with ESMTP id A9CFF129;
	Tue, 21 Jun 2011 13:00:15 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at smtp4.met.no
Received: from smtp4.met.no ([127.0.0.1])
	by localhost (smtp4.met.no [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id vaU8cfK3m5Sy; Tue, 21 Jun 2011 13:00:11 +0000 (UTC)
Received: from [157.249.20.193] (fw-int.oslo.dnmi.no [157.249.32.2])
	by smtp4.met.no (Postfix) with ESMTP id E31EC14C;
	Tue, 21 Jun 2011 13:00:11 +0000 (UTC)
Message-ID: <4E0095DC.7000406@toffyrn.net>
Date: Tue, 21 Jun 2011 15:00:12 +0200
From: Christoffer Hirth <toffyrn@toffyrn.net>
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
MIME-Version: 1.0
To: Jim Edwards <edwards.jim@gmail.com>
Subject: Re: xlf95 does not accept "-D" from autoconf
References: <20110621052124.7EF52606BB035@bmail04.one.com>
	<BANLkTikAOx7U-naU+xfeUcTw-vnbZzGCow@mail.gmail.com>
In-Reply-To: <BANLkTikAOx7U-naU+xfeUcTw-vnbZzGCow@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 157.249.32.165
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, 21 Jun 2011 13:00:29 -0000

Jim Edwards wrote:
> AC_FC_PP_DEFINE()  in recent autoconf versions handles this correctly.
>
> On Mon, Jun 20, 2011 at 11:21 PM, Christoffer Hirth 
> <toffyrn@toffyrn.net <mailto:toffyrn@toffyrn.net>> wrote:
>
>     I'm currently working on porting the build script of a fortran library
>     to autotools.
>     This library will be run on multiple configurations, ranging from
>     regular desktop to cray supercomputers.
>
>     However on machines using IBM's fortran compiler (xlf90 or 95)
>     compilation fails due to unsupported defined variables "-DPACKAGENAME"
>     etc.
>     On ibm this should be passed as -WF,-DPACKAGENAME.
>
>     How can I modify autotools behaviour, or simply skip these definitions
>     (they are not used)?
>
>
>     -- Christoffer
>     _______________________________________________
>     Autoconf mailing list
>     Autoconf@gnu.org <mailto:Autoconf@gnu.org>
>     https://lists.gnu.org/mailman/listinfo/autoconf
>
>
Thank you for your answer.

AC_FC_PP_DEFINE seems to be included in commit
8c2db1c128fbcee77530b813f45a575c37a0f10f
at 2. apr. 2011.

The latest version however is dated 22. sep. 2010, so I would have to
build this from git?
Are there no known solutions in latest stable?

-- Christoffer



From MAILER-DAEMON Tue Jun 21 14:55:31 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZ66k-0004f4-KG
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 14:55:30 -0400
Received: from eggs.gnu.org ([140.186.70.92]:44884)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ66g-0004e1-Ul
	for autoconf@gnu.org; Tue, 21 Jun 2011 14:55:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ66e-0002wA-9l
	for autoconf@gnu.org; Tue, 21 Jun 2011 14:55:26 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:40672)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ66d-0002vp-8I
	for autoconf@gnu.org; Tue, 21 Jun 2011 14:55:24 -0400
Received: (qmail 3339 invoked by uid 0); 21 Jun 2011 18:55:21 -0000
Received: from 77.58.247.232 by www008.gmx.net with HTTP;
	Tue, 21 Jun 2011 20:55:21 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Date: Tue, 21 Jun 2011 20:55:21 +0200
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
In-Reply-To: <4E0095DC.7000406@toffyrn.net>
Message-ID: <20110621185521.188960@gmx.net>
MIME-Version: 1.0
References: <20110621052124.7EF52606BB035@bmail04.one.com>
	<BANLkTikAOx7U-naU+xfeUcTw-vnbZzGCow@mail.gmail.com>
	<4E0095DC.7000406@toffyrn.net>
Subject: Re: xlf95 does not accept "-D" from autoconf
To: Christoffer Hirth <toffyrn@toffyrn.net>
X-Authenticated: #13673931
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Mutt-Fcc: ~/Mail/outbox
X-Mutt-References: <4E0095DC.7000406@toffyrn.net>
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX18MGvl7jFIMyt9aVMhrtJRaxxxmVzaJzEKmTk3sRr
	9ujCSU/p4nCG5txRpQxTOA4nvFv3pFSKxT/Q== 
Content-Transfer-Encoding: 8bit
X-GMX-UID: LtE2f+J6YmYBbv2StXc3pbVCWkZTQRRx
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 213.165.64.22
Cc: autoconf@gnu.org, Jim Edwards <edwards.jim@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: Tue, 21 Jun 2011 18:55:28 -0000

* Christoffer Hirth wrote on Tue, Jun 21, 2011 at 03:00:12PM CEST:
> > Jim Edwards wrote:
> > >    However on machines using IBM's fortran compiler (xlf90 or 95)
> > >    compilation fails due to unsupported defined variables "-DPACKAGENAME"
> > >    etc.
> > >    On ibm this should be passed as -WF,-DPACKAGENAME.
> > >
> > >    How can I modify autotools behaviour, or simply skip these definitions
> > >    (they are not used)?
> > >
> > AC_FC_PP_DEFINE()  in recent autoconf versions handles this correctly.

> AC_FC_PP_DEFINE seems to be included in commit
> 8c2db1c128fbcee77530b813f45a575c37a0f10f
> at 2. apr. 2011.
> 
> The latest version however is dated 22. sep. 2010, so I would have to
> build this from git?

Right.

> Are there no known solutions in latest stable?

No, sorry; but the Autoconf Macro Archive has a similar macro IIRC.
Also note that AC_FC_PP_DEFINE is not a full solution to the
problem.  Automake still uses $(DEFS) instead of switching to a new
variable like $(FCDEFS) or so, which Autoconf still needs to export.

Cf. http://lists.gnu.org/archive/html/autoconf/2011-05/msg00017.html

Hope that helps.

Cheers,
Ralf


From MAILER-DAEMON Tue Jun 21 15:25:54 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZ6a9-0005AW-Rb
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 15:25:54 -0400
Received: from eggs.gnu.org ([140.186.70.92]:46361)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6a7-00059m-5Q
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:25:52 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6a5-0008WD-I5
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:25:50 -0400
Received: from mail-forward1.uio.no ([129.240.10.70]:51754)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6a5-0008Vl-1i
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:25:49 -0400
Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.75)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6a2-0006lF-S7
	for autoconf@gnu.org; Tue, 21 Jun 2011 21:25:46 +0200
Received: from mail-mx2.uio.no ([129.240.10.30])
	by mail-out1.uio.no with esmtp (Exim 4.75)
	(envelope-from <toffyrn@toffyrn.net>)
	id 1QZ6a0-0006k2-5a; Tue, 21 Jun 2011 21:25:44 +0200
Received: from cm-84.211.53.12.getinternet.no ([84.211.53.12]
	helo=[192.168.0.7])
	by mail-mx2.uio.no with esmtpsa (TLSv1:CAMELLIA256-SHA:256)
	user chrishir (Exim 4.76) (envelope-from <toffyrn@toffyrn.net>)
	id 1QZ6Zz-0001Dn-Ng; Tue, 21 Jun 2011 21:25:44 +0200
Message-ID: <4E00F037.2040807@toffyrn.net>
Date: Tue, 21 Jun 2011 21:25:43 +0200
From: Christoffer Hirth <toffyrn@toffyrn.net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110601 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Subject: Re: xlf95 does not accept "-D" from autoconf
References: <20110621052124.7EF52606BB035@bmail04.one.com>
	<BANLkTikAOx7U-naU+xfeUcTw-vnbZzGCow@mail.gmail.com>
	<4E0095DC.7000406@toffyrn.net> <20110621185521.188960@gmx.net>
In-Reply-To: <20110621185521.188960@gmx.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-UiO-Ratelimit-Test: rcpts/h 4 msgs/h 1 sum rcpts/h 5 sum msgs/h 1 total
	rcpts 830 max rcpts/h 24 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0,
	autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO,
	uiouri=NO)
X-UiO-Scanned: 70E27191F045C1B95500C0A6634252AEDCFCD3BE
X-UiO-SPAM-Test: remote_host: 84.211.53.12 spam_score: -49 maxlevel 80
	minaction 2 bait 0 mail/h: 1 total 288 max/h 6 blacklist 0
	greylist 0 ratelimit 0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 129.240.10.70
Cc: autoconf@gnu.org, Jim Edwards <edwards.jim@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: Tue, 21 Jun 2011 19:25:52 -0000

Den 21. juni 2011 20:55, skrev Ralf Wildenhues:
> * Christoffer Hirth wrote on Tue, Jun 21, 2011 at 03:00:12PM CEST:
>>> Jim Edwards wrote:
>>>>     However on machines using IBM's fortran compiler (xlf90 or 95)
>>>>     compilation fails due to unsupported defined variables "-DPACKAGENAME"
>>>>     etc.
>>>>     On ibm this should be passed as -WF,-DPACKAGENAME.
>>>>
>>>>     How can I modify autotools behaviour, or simply skip these definitions
>>>>     (they are not used)?
>>>>
>>> AC_FC_PP_DEFINE()  in recent autoconf versions handles this correctly.
>> AC_FC_PP_DEFINE seems to be included in commit
>> 8c2db1c128fbcee77530b813f45a575c37a0f10f
>> at 2. apr. 2011.
>>
>> The latest version however is dated 22. sep. 2010, so I would have to
>> build this from git?
> Right.
>
>> Are there no known solutions in latest stable?
> No, sorry; but the Autoconf Macro Archive has a similar macro IIRC.
> Also note that AC_FC_PP_DEFINE is not a full solution to the
> problem.  Automake still uses $(DEFS) instead of switching to a new
> variable like $(FCDEFS) or so, which Autoconf still needs to export.
Ok. I have currently just set
"DEFS = "
in every Makefile.am to ensure it is empty.

If possible it would perhaps be cleaner to include AC_FC_PP_DEFINE as a 
local macro (simply copy from commit),
and then set:
"FCDEFS = $DEFS
AC_SUBST([$DEFS])"

Would this work as a better solution?


-- Christoffer


From MAILER-DAEMON Tue Jun 21 15:29:39 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZ6dm-0005yA-Bl
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 15:29:38 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36999)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ6dk-0005xn-Ba
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:29:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ6dj-00016r-1S
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:29:36 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:54886)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ6di-00016m-Av
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:29:34 -0400
Received: (qmail 11745 invoked by uid 0); 21 Jun 2011 19:29:33 -0000
Received: from 77.58.247.232 by www009.gmx.net with HTTP;
	Tue, 21 Jun 2011 21:29:31 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Date: Tue, 21 Jun 2011 21:29:31 +0200
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
In-Reply-To: <4E00F037.2040807@toffyrn.net>
Message-ID: <20110621192931.188960@gmx.net>
MIME-Version: 1.0
References: <20110621052124.7EF52606BB035@bmail04.one.com>
	<BANLkTikAOx7U-naU+xfeUcTw-vnbZzGCow@mail.gmail.com>
	<4E0095DC.7000406@toffyrn.net> <20110621185521.188960@gmx.net>
	<4E00F037.2040807@toffyrn.net>
Subject: Re: xlf95 does not accept "-D" from autoconf
To: Christoffer Hirth <toffyrn@toffyrn.net>
X-Authenticated: #13673931
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Mutt-Fcc: ~/Mail/outbox
X-Mutt-References: <4E00F037.2040807@toffyrn.net>
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX1/tfPFb9nPtuAEisHKICT/+EAY34g0oWW6uNEUu/5
	5AmqCU393dsYkp2KzOOVTSaNL32sk4JZMw0g== 
Content-Transfer-Encoding: 8bit
X-GMX-UID: I8Y1eqUOTiE+U7jEt2Rwl9d9ZUVSRNdF
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.23
Cc: autoconf@gnu.org, Jim Edwards <edwards.jim@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: Tue, 21 Jun 2011 19:29:37 -0000

* Christoffer Hirth wrote on Tue, Jun 21, 2011 at 09:25:43PM CEST:
> If possible it would perhaps be cleaner to include AC_FC_PP_DEFINE
> as a local macro (simply copy from commit),

Yes, you can do that.

> and then set:
> "FCDEFS = $DEFS
> AC_SUBST([$DEFS])"
> 
> Would this work as a better solution?

Yes, you can do that.  You could also copy the couple of rules that I
posted in the link.

Cheers,
Ralf


From MAILER-DAEMON Tue Jun 21 15:33:08 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZ6h9-0006tX-GC
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 15:33:07 -0400
Received: from eggs.gnu.org ([140.186.70.92]:33943)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6h6-0006sW-9w
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:33:05 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6h4-0001k2-T5
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:33:04 -0400
Received: from mail-forward2.uio.no ([129.240.10.71]:40935)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6h4-0001jc-GT
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:33:02 -0400
Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.75)
	(envelope-from <toffyrn@toffyrn.net>) id 1QZ6h2-0006Kc-Mq
	for autoconf@gnu.org; Tue, 21 Jun 2011 21:33:00 +0200
Received: from mail-mx1.uio.no ([129.240.10.29])
	by mail-out2.uio.no with esmtp (Exim 4.75)
	(envelope-from <toffyrn@toffyrn.net>)
	id 1QZ6h0-0006Ju-65; Tue, 21 Jun 2011 21:32:58 +0200
Received: from cm-84.211.53.12.getinternet.no ([84.211.53.12]
	helo=[192.168.0.7])
	by mail-mx1.uio.no with esmtpsa (TLSv1:CAMELLIA256-SHA:256)
	user chrishir (Exim 4.76) (envelope-from <toffyrn@toffyrn.net>)
	id 1QZ6gz-0006d6-Og; Tue, 21 Jun 2011 21:32:58 +0200
Message-ID: <4E00F1E9.6090108@toffyrn.net>
Date: Tue, 21 Jun 2011 21:32:57 +0200
From: Christoffer Hirth <toffyrn@toffyrn.net>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.17) Gecko/20110601 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Subject: Re: xlf95 does not accept "-D" from autoconf
References: <20110621052124.7EF52606BB035@bmail04.one.com>
	<BANLkTikAOx7U-naU+xfeUcTw-vnbZzGCow@mail.gmail.com>
	<4E0095DC.7000406@toffyrn.net> <20110621185521.188960@gmx.net>
	<4E00F037.2040807@toffyrn.net> <20110621192931.188960@gmx.net>
In-Reply-To: <20110621192931.188960@gmx.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-UiO-Ratelimit-Test: rcpts/h 8 msgs/h 2 sum rcpts/h 9 sum msgs/h 2 total
	rcpts 834 max rcpts/h 24 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0,
	autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO,
	uiouri=NO)
X-UiO-Scanned: 69B5CF6662694D346BD8DD368FD7C74A4DD7EB72
X-UiO-SPAM-Test: remote_host: 84.211.53.12 spam_score: -49 maxlevel 80
	minaction 2 bait 0 mail/h: 2 total 289 max/h 6 blacklist 0
	greylist 0 ratelimit 0
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 129.240.10.71
Cc: autoconf@gnu.org, Jim Edwards <edwards.jim@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: Tue, 21 Jun 2011 19:33:05 -0000

Den 21. juni 2011 21:29, skrev Ralf Wildenhues:
> * Christoffer Hirth wrote on Tue, Jun 21, 2011 at 09:25:43PM CEST:
>> If possible it would perhaps be cleaner to include AC_FC_PP_DEFINE
>> as a local macro (simply copy from commit),
> Yes, you can do that.
>
>> and then set:
>> "FCDEFS = $DEFS
>> AC_SUBST([$DEFS])"
>>
>> Would this work as a better solution?
> Yes, you can do that.  You could also copy the couple of rules that I
> posted in the link.
>
> Cheers,
> Ralf
>

Thank you very much!
Will try this out tomorrow morning.

-- Christoffer


From MAILER-DAEMON Tue Jun 21 15:44:08 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZ6rn-0001Al-JD
	for mharc-autoconf@gnu.org; Tue, 21 Jun 2011 15:44:07 -0400
Received: from eggs.gnu.org ([140.186.70.92]:48433)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ6rk-00019m-Ee
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:44:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ6ri-0003jf-Qt
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:44:04 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:56401)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QZ6ri-0003jJ-3Q
	for autoconf@gnu.org; Tue, 21 Jun 2011 15:44:02 -0400
Received: (qmail 9553 invoked by uid 0); 21 Jun 2011 19:44:00 -0000
Received: from 77.58.247.232 by www063.gmx.net with HTTP;
	Tue, 21 Jun 2011 21:43:58 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Date: Tue, 21 Jun 2011 21:43:58 +0200
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
In-Reply-To: <4DFFD71A.5040709@redhat.com>
Message-ID: <20110621194358.188990@gmx.net>
MIME-Version: 1.0
References: <BANLkTinwt3Tee+qgagwsZ_ORvwDgC64LUQ@mail.gmail.com>
	<4DFFA544.8040501@redhat.com>
	<BANLkTinfXFfkoEG+UnasSyx16p77s0Dcbw@mail.gmail.com>
	<4DFFD71A.5040709@redhat.com>
Subject: Re: how do distribute automake free code?
To: Eric Blake <eblake@redhat.com>
X-Authenticated: #13673931
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Mutt-Fcc: ~/Mail/outbox
X-Mutt-References: <4DFFD71A.5040709@redhat.com>
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX1/DQqQF9YzD4t+NZgODkaHdRP9lyYuQoiyleM+EBg
	AHC6udH/qAgWoa232ox0pzecawbwKWcm+2Mw== 
Content-Transfer-Encoding: 8bit
X-GMX-UID: RsM1eqYOTiE+U7jEt2RwSd59ZUVSRJfY
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 213.165.64.22
Cc: autoconf@gnu.org, Jim Edwards <edwards.jim@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: Tue, 21 Jun 2011 19:44:06 -0000

* Eric Blake wrote on Tue, Jun 21, 2011 at 01:26:18AM CEST:
> On 06/20/2011 05:13 PM, Jim Edwards wrote:
> >   As for writing to the automake list instead of the
> > autoconf list - wouldn't it make more sense to have a autotools list since
> > they are all interrelated anyway?
> 
> Perhaps merging the 'libtool', 'automake', and 'autoconf' lists into a
> new 'autotools' list might make sense (keeping the old names as aliases
> to the new list), where it would consolidate general usage questions
> about any of the three tools into a single location.  It would need
> consensus from the three projects; would you care to raise that as a new
> thread cross-posted to the appropriate lists?  For precedence, we
> already have a shared 'autotools-announce' list.  I'm probably 60-40 in
> favor of doing a list consolidation along those terms.

Well.  Regulars read all lists anyway, but may filter based on the
lists (I would do that esp. when doing a mail pass before a release).
For newcomers which don't know what is what it may be helpful too
(except that if we ignore the occasional post to the wrong list, it
probably makes no difference to them).  Regulars which are not
interested in all three tools are affected the most, when they have
to get the traffic they are not interested in.

> However, 'bug-libtool', 'bug-automake', 'bug-autoconf', as well as
> 'libtool-patches', 'automake-patches', and 'autoconf-patches', should
> all remain separate lists (they really are three different projects, and
> patches to one don't always affect the other).  And since we'll still be
> stuck with redirecting bug reports, what's the harm in redirecting usage
> questions rather than consolidating the usage aliases into one list?
> Most of the active developers already hang out on all three lists, so
> it's not that likely that misdirected mail is completely lost.

I simply don't tell newcomers any more to post to the other list; just
that the other list would've been better.  If they don't find out which
one is right, I'm not going to keep telling them, and might just ignore
it.

Cheers,
Ralf


From MAILER-DAEMON Sat Jun 25 11:46:49 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QaV4L-0000dP-0P
	for mharc-autoconf@gnu.org; Sat, 25 Jun 2011 11:46:49 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43176)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cwr@netcom.co.uk>) id 1QaT4S-0000vk-0h
	for autoconf@gnu.org; Sat, 25 Jun 2011 09:38:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <cwr@netcom.co.uk>) id 1QaT4Q-0000dy-3Y
	for autoconf@gnu.org; Sat, 25 Jun 2011 09:38:47 -0400
Received: from dns2.netcom.co.uk ([217.72.171.56]:52861
	helo=cleese.netcom.co.uk) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cwr@netcom.co.uk>) id 1QaT4P-0000dS-P4
	for autoconf@gnu.org; Sat, 25 Jun 2011 09:38:45 -0400
Received: by cleese.netcom.co.uk (Postfix, from userid 1008)
	id B790C648038; Sat, 25 Jun 2011 14:38:43 +0100 (BST)
Received: from 85.189.254.180 ([85.189.254.180]) by webmail.netcom.co.uk
	(Horde Framework) with HTTP; Sat, 25 Jun 2011 14:38:43 +0100
Message-ID: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
Date: Sat, 25 Jun 2011 14:38:43 +0100
From: cwr@netcom.co.uk
To: autoconf@gnu.org
Subject: System files and "make distcheck"
MIME-Version: 1.0
Content-Type: text/plain;
 charset=ISO-8859-1;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.7)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 217.72.171.56
X-Mailman-Approved-At: Sat, 25 Jun 2011 11:46:47 -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, 25 Jun 2011 13:38:49 -0000


I'm building a package which on installation writes to a file used
to configure the GUI - this file is always in /etc, no matter where
the package is installed.  When installing, that's not a problem,
since installation is done as root, however I haven't found a way
of letting me run "make distcheck" without error, since that is done
as an ordinary user.

The entry in the main Makefile.am is approxmately:
install-data-local:
	grep xxx /etc/yyy || sed zzz /etc/yyy

The problem is to avoid this set of commands being run when
distcheck is the target.  I've tried using DISTCHECK_CONFIGURE_FLAGS,
but the main Makefile is written before this variable is valid.  This
problem must have ocurred before - what's the usual solution?

Thanks - Will




From MAILER-DAEMON Mon Jun 27 02:12:51 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qb53y-0007P6-VM
	for mharc-autoconf@gnu.org; Mon, 27 Jun 2011 02:12:51 -0400
Received: from eggs.gnu.org ([140.186.70.92]:49547)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1Qb53w-0007OR-3O
	for autoconf@gnu.org; Mon, 27 Jun 2011 02:12:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1Qb53u-0006sC-69
	for autoconf@gnu.org; Mon, 27 Jun 2011 02:12:47 -0400
Received: from mailout-de.gmx.net ([213.165.64.22]:49125)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1Qb53t-0006s5-FZ
	for autoconf@gnu.org; Mon, 27 Jun 2011 02:12:46 -0400
Received: (qmail 15890 invoked by uid 0); 27 Jun 2011 06:12:43 -0000
Received: from 77.58.247.232 by www038.gmx.net with HTTP;
	Mon, 27 Jun 2011 08:12:42 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Date: Mon, 27 Jun 2011 08:12:42 +0200
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
In-Reply-To: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
Message-ID: <20110627061242.238070@gmx.net>
MIME-Version: 1.0
References: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
Subject: Re: System files and "make distcheck"
To: cwr@netcom.co.uk
X-Authenticated: #13673931
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Mutt-Fcc: ~/Mail/outbox
X-Mutt-References: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX1+6BOxJgWq6GBSXtIWmOempM7t1kdqewNPjO9UYhz
	JLdjVqfgidg6PGD67SBhqBIVpJD1Ir6mHASw== 
Content-Transfer-Encoding: 8bit
X-GMX-UID: aCY7dspoMmA6TaDJu2Fnyqo5MjQ1N53D
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 213.165.64.22
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: Mon, 27 Jun 2011 06:12:49 -0000

Hello,

* cwr@netcom.co.uk wrote on Sat, Jun 25, 2011 at 03:38:43PM CEST:
> I'm building a package which on installation writes to a file used
> to configure the GUI - this file is always in /etc, no matter where
> the package is installed.

What if I'm trying to bootstrap a new system, say, whose root lives in
/sys-root or so?

> When installing, that's not a problem,
> since installation is done as root, however I haven't found a way
> of letting me run "make distcheck" without error, since that is done
> as an ordinary user.
> 
> The entry in the main Makefile.am is approxmately:
> install-data-local:
> 	grep xxx /etc/yyy || sed zzz /etc/yyy

Make sure the target directory is not /etc but something like
$(DISTDIR)$(sysconfdir), so that both
  make install DESTDIR=/sys-root

and
  make install prefix=/sys-root

have a chance of succeeding.

> The problem is to avoid this set of commands being run when
> distcheck is the target.  I've tried using DISTCHECK_CONFIGURE_FLAGS,
> but the main Makefile is written before this variable is valid.  This
> problem must have ocurred before - what's the usual solution?

See above, and also 'info Automake "Hard-Coded Install Paths"'.  Hope
that helps.

Cheers,
Ralf


From MAILER-DAEMON Mon Jun 27 07:08:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Qb9gH-0005MR-K6
	for mharc-autoconf@gnu.org; Mon, 27 Jun 2011 07:08:41 -0400
Received: from eggs.gnu.org ([140.186.70.92]:35443)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cwr@netcom.co.uk>) id 1Qb9gE-0005L9-1W
	for autoconf@gnu.org; Mon, 27 Jun 2011 07:08:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <cwr@netcom.co.uk>) id 1Qb9g9-0002x8-Uj
	for autoconf@gnu.org; Mon, 27 Jun 2011 07:08:37 -0400
Received: from dns2.netcom.co.uk ([217.72.171.56]:46216
	helo=cleese.netcom.co.uk) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <cwr@netcom.co.uk>) id 1Qb9g9-0002vM-Eg
	for autoconf@gnu.org; Mon, 27 Jun 2011 07:08:33 -0400
Received: by cleese.netcom.co.uk (Postfix, from userid 1008)
	id AAF7C648029; Mon, 27 Jun 2011 12:08:29 +0100 (BST)
Received: from 81.144.199.141 ([81.144.199.141]) by webmail.netcom.co.uk
	(Horde Framework) with HTTP; Mon, 27 Jun 2011 12:08:29 +0100
Message-ID: <20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
Date: Mon, 27 Jun 2011 12:08:29 +0100
From: cwr@netcom.co.uk
To: autoconf@gnu.org
Subject: Re: System files and "make distcheck"
References: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
	<20110627061242.238070@gmx.net>
In-Reply-To: <20110627061242.238070@gmx.net>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=ISO-8859-1;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.7)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 217.72.171.56
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, 27 Jun 2011 11:08:40 -0000

Quoting Ralf Wildenhues <Ralf.Wildenhues@gmx.de>:

> Hello,
>
> * cwr@netcom.co.uk wrote on Sat, Jun 25, 2011 at 03:38:43PM CEST:
>> I'm building a package which on installation writes to a file used
>> to configure the GUI - this file is always in /etc, no matter where
>> the package is installed.
>
> What if I'm trying to bootstrap a new system, say, whose root lives in
> /sys-root or so?
>
>> When installing, that's not a problem,
>> since installation is done as root, however I haven't found a way
>> of letting me run "make distcheck" without error, since that is done
>> as an ordinary user.
>>
>> The entry in the main Makefile.am is approxmately:
>> install-data-local:
>> 	grep xxx /etc/yyy || sed zzz /etc/yyy
>
> Make sure the target directory is not /etc but something like
> $(DISTDIR)$(sysconfdir), so that both
>   make install DESTDIR=/sys-root
>
> and
>   make install prefix=/sys-root
>
> have a chance of succeeding.
>

It looks as if the standard GNU installation method would require
every user to run ./configure --sysconfdir=/etc, whereas most would
just try the usual ./configure && make.  Given the choice between
a convenient installation for the user, and a working distcheck, I
think I'll have to take the convenient installation.

The other approach would be to run the command grep xx || sed yyy || true,
so that the installation never fails, but since the setup's a bit
obscure if it failed that would cause even more problems for users.

Thanks for the ideas, anyway - Will





From MAILER-DAEMON Mon Jun 27 09:48:32 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QbCAy-0004EX-4x
	for mharc-autoconf@gnu.org; Mon, 27 Jun 2011 09:48:32 -0400
Received: from eggs.gnu.org ([140.186.70.92]:49816)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>) id 1QbCAt-0004DG-BX
	for autoconf@gnu.org; Mon, 27 Jun 2011 09:48:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>) id 1QbCAr-0006b0-7i
	for autoconf@gnu.org; Mon, 27 Jun 2011 09:48:27 -0400
Received: from blade.simplesystems.org ([65.66.246.74]:35220)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <bfriesen@simple.dallas.tx.us>) id 1QbCAq-0006ak-PM
	for autoconf@gnu.org; Mon, 27 Jun 2011 09:48:25 -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
	p5RDmG1A011945; Mon, 27 Jun 2011 08:48:16 -0500 (CDT)
Date: Mon, 27 Jun 2011 08:48:16 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: cwr@netcom.co.uk
Subject: Re: System files and "make distcheck"
In-Reply-To: <20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
Message-ID: <alpine.GSO.2.01.1106270839290.25378@freddy.simplesystems.org>
References: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
	<20110627061242.238070@gmx.net>
	<20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Mon, 27 Jun 2011 08:48:17 -0500 (CDT)
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-Received-From: 65.66.246.74
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: Mon, 27 Jun 2011 13:48:29 -0000

On Mon, 27 Jun 2011, cwr@netcom.co.uk wrote:
>
> It looks as if the standard GNU installation method would require
> every user to run ./configure --sysconfdir=/etc, whereas most would
> just try the usual ./configure && make.  Given the choice between
> a convenient installation for the user, and a working distcheck, I
> think I'll have to take the convenient installation.

Packages which write into system directories without being 
specifically requested to are downright frightful.  It totally 
violates the trust that a package won't do anything "bad" at time of 
'make install' as the root user.  If packages start doing this, then 
it is necessary to thoroughly inspect 'make -n install' output to make 
sure that the package is not voilating the rules.  Users put a lot of 
trust into open source packages that they don't violate these rules. 
I don't recommend that a package install any files other than under 
the specified prefix (which should always be /usr/local by default) , 
or specified directories.

It seems to me that the package should be fixed to accept 
configuration files from elsewhere (e.g. $PREFIX/usr/etc).

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


From MAILER-DAEMON Mon Jun 27 10:41:01 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QbCzk-0001Gy-Nz
	for mharc-autoconf@gnu.org; Mon, 27 Jun 2011 10:41:00 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40021)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nbowler@elliptictech.com>) id 1QbCzg-0001Fl-EY
	for autoconf@gnu.org; Mon, 27 Jun 2011 10:40:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <nbowler@elliptictech.com>) id 1QbCze-0006sv-Dp
	for autoconf@gnu.org; Mon, 27 Jun 2011 10:40:56 -0400
Received: from dsl-67-204-24-19.acanac.net ([67.204.24.19]:44996
	helo=mail.ellipticsemi.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <nbowler@elliptictech.com>) id 1QbCzd-0006se-VE
	for autoconf@gnu.org; Mon, 27 Jun 2011 10:40:54 -0400
Received: from nbowler by mail.ellipticsemi.com with local (Exim 4.76)
	(envelope-from <nbowler@elliptictech.com>)
	id 1QbCWn-0006pB-Lx; Mon, 27 Jun 2011 10:11:05 -0400
Date: Mon, 27 Jun 2011 10:11:05 -0400
From: Nick Bowler <nbowler@elliptictech.com>
To: cwr@netcom.co.uk
Subject: Re: System files and "make distcheck"
Message-ID: <20110627141105.GA26016@elliptictech.com>
References: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
	<20110627061242.238070@gmx.net>
	<20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
Organization: Elliptic Technologies Inc.
User-Agent: Mutt/1.5.21 (2010-09-15)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 67.204.24.19
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: Mon, 27 Jun 2011 14:40:58 -0000

On 2011-06-27 12:08 +0100, cwr@netcom.co.uk wrote:
> It looks as if the standard GNU installation method would require
> every user to run ./configure --sysconfdir=/etc

If the user wants those config files to be installed to /etc, then yes.

> whereas most would just try the usual ./configure && make.  Given the
> choice between a convenient installation for the user, and a working
> distcheck, I think I'll have to take the convenient installation.

It's not very convenient for users who do not have root access to a
machine or otherwise don't want to write to system-wide installation
directories (such users therefore may want to install with something
like --prefix=$HOME/sw).

Users who want to install multiple versions of your package may also
be inconvenienced.

Cheers,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)


From MAILER-DAEMON Mon Jun 27 16:27:36 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QbIP9-0000jH-Gs
	for mharc-autoconf@gnu.org; Mon, 27 Jun 2011 16:27:35 -0400
Received: from eggs.gnu.org ([140.186.70.92]:43666)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QbIP5-0000iR-Vt
	for autoconf@gnu.org; Mon, 27 Jun 2011 16:27:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QbIP4-0000Ja-7v
	for autoconf@gnu.org; Mon, 27 Jun 2011 16:27:31 -0400
Received: from mailout-de.gmx.net ([213.165.64.23]:58030)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <Ralf.Wildenhues@gmx.de>) id 1QbIP3-0000JQ-O6
	for autoconf@gnu.org; Mon, 27 Jun 2011 16:27:30 -0400
Received: (qmail 30770 invoked by uid 0); 27 Jun 2011 20:27:27 -0000
Received: from 77.58.247.232 by www012.gmx.net with HTTP;
	Mon, 27 Jun 2011 22:27:27 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Date: Mon, 27 Jun 2011 22:27:27 +0200
From: "Ralf Wildenhues" <Ralf.Wildenhues@gmx.de>
In-Reply-To: <20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
Message-ID: <20110627202727.284880@gmx.net>
MIME-Version: 1.0
References: <20110625143843.10585fqzztvhopog@webmail.netcom.co.uk>
	<20110627061242.238070@gmx.net>
	<20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
Subject: Re: System files and "make distcheck"
To: cwr@netcom.co.uk
X-Authenticated: #13673931
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Mutt-Fcc: ~/Mail/outbox
X-Mutt-References: <20110627120829.62004ur16adzczac@webmail.netcom.co.uk>
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX1/ngc4Lmnrn/e4sK1tDOln4kB16YUXPNGKIBp2D5o
	yBz9cUnCGqGkNv6+M01tLPrknvFxLzf34SgA== 
Content-Transfer-Encoding: 8bit
X-GMX-UID: +IJ6biwOeSEqZarGu3QhqH1+IGRvb4Dg
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 213.165.64.23
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: Mon, 27 Jun 2011 20:27:33 -0000

* cwr@netcom.co.uk wrote on Mon, Jun 27, 2011 at 01:08:29PM CEST:
> It looks as if the standard GNU installation method would require
> every user to run ./configure --sysconfdir=/etc, whereas most would
> just try the usual ./configure && make.  Given the choice between
> a convenient installation for the user, and a working distcheck, I
> think I'll have to take the convenient installation.

You can have both.  At the least, you shouldn't override explicit user
wishes.

configure defaults sysconfdir to '${prefix}/etc', so you could override
it to /etc if prefix is /usr and sysconfdir has not been overridden by
the user:

AC_INIT
if test "$prefix" = / && test "$sysconfdir" = '${prefix}/etc'; then
  sysconfdir=/etc
  AS_MSG_NOTICE([overriding sysconfdir to $sysconfdir])
fi

> The other approach would be to run the command grep xx || sed yyy || true,
> so that the installation never fails, but since the setup's a bit
> obscure if it failed that would cause even more problems for users.

Ewww.

Cheers,
Ralf


From MAILER-DAEMON Tue Jun 28 19:07:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QbhNe-0003oE-1t
	for mharc-autoconf@gnu.org; Tue, 28 Jun 2011 19:07:42 -0400
Received: from eggs.gnu.org ([140.186.70.92]:50974)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rleigh@codelibre.net>) id 1QbhHp-0002Sj-Pp
	for autoconf@gnu.org; Tue, 28 Jun 2011 19:01:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rleigh@codelibre.net>) id 1QbhHl-0004Vs-8n
	for autoconf@gnu.org; Tue, 28 Jun 2011 19:01:41 -0400
Received: from nagini.codelibre.net ([80.68.93.164]:47793)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rleigh@codelibre.net>) id 1QbhHk-0004Vk-UB
	for autoconf@gnu.org; Tue, 28 Jun 2011 19:01:37 -0400
Received: by nagini.codelibre.net (Postfix, from userid 1000)
	id 2E9DE18220; Wed, 29 Jun 2011 00:01:35 +0100 (BST)
Date: Wed, 29 Jun 2011 00:01:35 +0100
From: Roger Leigh <rleigh@codelibre.net>
To: autoconf@gnu.org
Subject: Feature request: AC_PROG_CXX_STDCXX
Message-ID: <20110628230135.GY6333@codelibre.net>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="vvK08dd1ZmUd/ZNR"
Content-Disposition: inline
X-GPG-Key: 0x25BFB848
X-Debian: testing/unstable
X-OS-Uptime: 23:12:43 up 91 days,  2:06,  3 users,  load average: 0.00,
	0.00, 0.00
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-Mailman-Approved-At: Tue, 28 Jun 2011 19:07:40 -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, 28 Jun 2011 23:01:43 -0000


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

Hi,

I was going to report this to bug-autoconf, but it's more of a
feature request than a bug.

For C, we have AC_PROG_CC_STDC to select the most recent C standard,
falling back to the previous standard if not available, and the
macros AC_PROG_CC_C99 and AC_PROG_CC_C89 to request the use of a
specific standard.

With the introduction of several C++ standards, it is (I think) now
needed to have a similar arrangement for C++, to allow selection of
the minimum standard required by your code.  These could include:

AC_PROG_CXX_CXX98
AC_PROG_CXX_CXX03 and/or AC_PROC_CXX_CXXTR1
AC_PROC_CXX_CXX11 and/or AC_PROC_CXX_CXX0X [not yet finalised]

AC_PROC_CXX_STDCXX could select the most recent version of the
standard supported.


I'm afraid that unlike AC_PROG_CC_C99, I won't have the time to write
this for the foreseeable future, so I thought I'd bring it up on the
list in case anyone else did.


Regards,
Roger

--=20
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

--vvK08dd1ZmUd/ZNR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iEYEARECAAYFAk4KXU8ACgkQVcFcaSW/uEga9gCfV8bz0nBY4cTBMRMCkanI7FIW
zdoAnRc6/TuTuak6hGtcuWalgRpdoK56
=kMpt
-----END PGP SIGNATURE-----

--vvK08dd1ZmUd/ZNR--


From MAILER-DAEMON Thu Jun 30 11:46:02 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QcJRK-0005xF-Dq
	for mharc-autoconf@gnu.org; Thu, 30 Jun 2011 11:46:02 -0400
Received: from eggs.gnu.org ([140.186.70.92]:50180)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rhys.ulerich@gmail.com>) id 1QcJRG-0005w3-Ax
	for autoconf@gnu.org; Thu, 30 Jun 2011 11:45:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <rhys.ulerich@gmail.com>) id 1QcJRE-0006fL-6G
	for autoconf@gnu.org; Thu, 30 Jun 2011 11:45:57 -0400
Received: from mail-bw0-f41.google.com ([209.85.214.41]:34194)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rhys.ulerich@gmail.com>) id 1QcJRD-0006fH-NE
	for autoconf@gnu.org; Thu, 30 Jun 2011 11:45:56 -0400
Received: by bwd14 with SMTP id 14so2565080bwd.0
	for <autoconf@gnu.org>; Thu, 30 Jun 2011 08:45:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=mime-version:from:date:message-id:subject:to:cc:content-type;
	bh=vndu8ilAXceQRdowhiyesIwFnN9VBvRcMF57xKNNV7c=;
	b=Emf0+76/r7rIK6z+n3bUeDA2BfAxmAevVo9tqD9/pkLkThRZL6thlE0Fc7+KiR+Mhe
	CPGY75kJ1PrmPgZLVspuXWJgcfsnJ9Na8sybCwGPGx6I4IGrm2/XBm+R3s5SPcsOk/hn
	Lib4tEskX+gHPeWYsQ6iuIkFqy5TgtMBdS9+U=
Received: by 10.204.40.2 with SMTP id i2mr70467bke.159.1309448753073; Thu, 30
	Jun 2011 08:45:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.204.40.198 with HTTP; Thu, 30 Jun 2011 08:45:32 -0700 (PDT)
From: Rhys Ulerich <rhys.ulerich@gmail.com>
Date: Thu, 30 Jun 2011 10:45:32 -0500
Message-ID: <BANLkTinO+9YGDXUEoqCmABMfAAmJ6fPCbg@mail.gmail.com>
Subject: Re: checking for header/library mismatch, rpath problem?
To: Autoconf Mailing List <autoconf@gnu.org>
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.214.41
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, 30 Jun 2011 15:46:00 -0000

Hi all,

Resurrecting an old thread regarding using libtool for configure-time testing.
The motivation was to use libtool to work around -R-like options which break
compilation on certain platforms when not properly protected.  In particular,
my response draws from these two messages...

    http://lists.gnu.org/archive/html/autoconf/2010-06/msg00064.html
    http://lists.gnu.org/archive/html/autoconf/2010-06/msg00066.html

On Tue, 29 Jun 2010, Ralf Wildenhues wrote:

>>> Well, first you need to use LT_OUTPUT before any such test, so the
>>> libtool script is created early in configure.  Then, you need to write
>>> all link tests yourself, invoking ./libtool.  Maybe somebody has written
>>> a macro to do that, somewhere (Autoconf Macro Archive?), I'm not aware
>>> of any existing ones, but I think a good one would be acceptable into
>>> libtool.m4.

On Tue, 29 June 2010, Peter Breitenlohner wrote:

>> Here the macro we are using in TeX Live for such tests (C and C++).
>> Our purpose is to test properties of libraries that can be either (1)
>> uninstalled libtool libraries already built when this configure runs,
>> or (2) installed libraries -- libtool or not.
>>
>> # _KPSE_USE_LIBTOOL()
>> # -------------------
>> AC_DEFUN([_KPSE_USE_LIBTOOL],
>> [## $0: Generate a libtool script for use in configure tests
>> AC_PROVIDE_IFELSE([LT_INIT], ,
>>                   [m4_fatal([$0: requires libtool])])[]dnl
>> LT_OUTPUT
>> m4_append([AC_LANG(C)],
>> [ac_link="./libtool --mode=link --tag=CC $ac_link"
>> ])[]dnl
>> AC_PROVIDE_IFELSE([AC_PROG_CXX],
>> [m4_append([AC_LANG(C++)],
>> [ac_link="./libtool --mode=link --tag=CXX $ac_link"
>> ])])[]dnl
>> AC_LANG(_AC_LANG)[]dnl
>> ]) # _KPSE_USE_LIBTOOL

On Tue, 29 Jun 2010, Ralf Wildenhues wrote:

> A general set of macros could be LT_USE_LIBTOOL_PUSH and _POP and
> could adjust the AC_LANG setting of all configured libtool tags;
> the pop macro could reset them to their original state afterwards;
> that would help for encapsulation.  Or some better names I can't
> think of right now.

I have used the _KPSE_USE_LIBTOOL() approach with success.  Thank you both.

I have been unable to think of the right way to encapsulate the details into a
push/pop macro pair as Ralf suggested.  It seems simple to use AC_LANG_DEFINE
(from lang.m4) to create, say, a "language" named LIBTOOLC which uses COPY-FROM
to mimic the C language definition and then augments ac_compile and ac_link as
suggested above.  Then AC_LANG_PUSH([LIBTOOLC]) and AC_LANG_POP([LIBTOOLC])
should then, I think, do the right thing.

However, that approach seems brittle in that anyone calling AC_LANG_PUSH([C])
after AC_LANG_PUSH([LIBTOOLC]) will clobber the libtool-specific definitions.
Such pushes happen all the time in people's macros to defensively ensure the
correct language is selected before performing some tests.  Using something
other than a language name, I think, will encounter the same trouble.  Is that
trouble fundamental to the way the AC_LANG_{PUSH,POP} system is defined, or is
there a way around it?

For macro sets entirely controls, a different approach which replaces all the
AC_LANG_{PUSH,POP} pairs with a libtool-friendly macro like the following
(written for the boost.m4 macros up on Github) seems to work well:

# _BOOST_LANG_PUSH_CXX
# --------------------------------------------------------
# Same as AC_LANG_PUSH for C++ but modifies ac_compile and ac_link to always
# employ ./libtool from LT_OUTPUT.  This reduces our exposure to compiler and
# linker differences.  Attempts to ensure others playing similar libtool tricks
# with ac_compile and ac_link do not break us.
AC_DEFUN([_BOOST_LANG_PUSH_CXX],[
AC_REQUIRE([LT_OUTPUT])dnl
AC_LANG_PUSH([C++])dnl
case "$ac_compile" in                                                       #(
  ./libtool*) :                                                           ;;#(
  *)          ac_compile="./libtool --mode=compile --tag=CXX $ac_compile" ;;
esac
case "$ac_link" in                                                          #(
  ./libtool*) :                                                           ;;#(
  *)          ac_link="./libtool --mode=link --tag=CXX $ac_link"          ;;
esac
]) # _BOOST_LANG_PUSH_CXX

# _BOOST_LANG_POP_CXX
# --------------------------------------------------------
# Same as AC_LANG_POP for C++.
# For symmetry with _BOOST_LANG_PUSH_CXX
AC_DEFUN([_BOOST_LANG_POP_CXX],[
AC_LANG_POP([C++])dnl
]) # _BOOST_LANG_POP_CXX

The push macro does a bit of defensive checking to work correctly even
if someone uses a _KPSE_USE_LIBTOOL()-like technique and directly
modifies the ac_compile/ac_link in their configure.ac a la

LT_OUTPUT
m4_append([AC_LANG(C++)],[
    ac_compile="./libtool --mode=compile --tag=CXX $ac_compile"
    ac_link="./libtool --mode=link --tag=CXX $ac_link"
])[]dnl

Has the pushing/popping of libtool-based compilation and linking been solved
in some other way besides this particular approach?

Thanks,
Rhys


