GNU bug report logs - #53782
supporting objects with & w/out libtool via conditionals

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Severity: wishlist; Reported by: Mike Frysinger <vapier@HIDDEN>; Keywords: confirmed; dated Fri, 4 Feb 2022 18:44:02 UTC; Maintainer for automake is bug-automake@HIDDEN.
Added tag(s) confirmed. Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Mike Frysinger <vapier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 4 Feb 2022 18:43:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 04 13:43:54 2022
Received: from localhost ([127.0.0.1]:32802 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nG3Ya-0007gJ-L4
	for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 13:43:54 -0500
Received: from lists.gnu.org ([209.51.188.17]:54474)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vapier@HIDDEN>) id 1nG3YY-0007gA-Lf
 for submit <at> debbugs.gnu.org; Fri, 04 Feb 2022 13:43:39 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51228)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1nG3YU-0004H0-2P
 for bug-automake@HIDDEN; Fri, 04 Feb 2022 13:43:34 -0500
Received: from [2001:470:ea4a:1:5054:ff:fec7:86e4] (port=53049
 helo=smtp.gentoo.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <vapier@HIDDEN>) id 1nG3YN-0004EL-60
 for bug-automake@HIDDEN; Fri, 04 Feb 2022 13:43:32 -0500
Received: by smtp.gentoo.org (Postfix, from userid 559)
 id 9E1BC342FBD; Fri,  4 Feb 2022 18:43:14 +0000 (UTC)
Date: Fri, 4 Feb 2022 13:43:14 -0500
From: Mike Frysinger <vapier@HIDDEN>
To: bug-automake@HIDDEN
Subject: supporting objects with & w/out libtool via conditionals
Message-ID: <Yf1zwo4J7uc87+gy@vapier>
Mail-Followup-To: bug-automake@HIDDEN
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="son5Sf4osfgvGpRo"
Content-Disposition: inline
X-Host-Lookup-Failed: Reverse DNS lookup failed for
 2001:470:ea4a:1:5054:ff:fec7:86e4 (failed)
Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4;
 envelope-from=vapier@HIDDEN; helo=smtp.gentoo.org
X-Spam_score_int: -33
X-Spam_score: -3.4
X-Spam_bar: ---
X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)


--son5Sf4osfgvGpRo
Content-Type: multipart/mixed; boundary="BXU04lRsp7yo/BfD"
Content-Disposition: inline


--BXU04lRsp7yo/BfD
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

see the attached example configure.ac & Makefile.am.  it fails:
$ autoreconf -vfi
...
Makefile.am: error: object 'source.$(OBJEXT)' created both with libtool and without

if the Makefile.am line is enabled though:
lib_a_CFLAGS = $(AM_CFLAGS)

it works.  seems like we should be able to handle this better.
-mike

--BXU04lRsp7yo/BfD
Content-Type: application/vnd.nokia.n-gage.ac+xml
Content-Disposition: attachment; filename="configure.ac"
Content-Transfer-Encoding: quoted-printable

AC_INIT(project, 0)=0AAM_INIT_AUTOMAKE([1.16 foreign no-dist -Wall])=0AAM_P=
ROG_AR=0ALT_INIT=0AAC_ARG_ENABLE(libtool, [--enable-libtool])=0AAM_CONDITIO=
NAL(USE_LIBTOOL, test x"$enable_libtool" =3D yes)=0AAC_CONFIG_FILES(Makefil=
e)=0AAC_OUTPUT=0A
--BXU04lRsp7yo/BfD
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename="Makefile.am"

SOURCES = source.c
if USE_LIBTOOL
noinst_LTLIBRARIES = libtest.la
libtest_la_SOURCES = $(SOURCES)
else
noinst_LIBRARIES = lib.a
lib_a_SOURCES = $(SOURCES)
#lib_a_CFLAGS = $(AM_CFLAGS)
endif

--BXU04lRsp7yo/BfD--

--son5Sf4osfgvGpRo
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmH9c8IACgkQQWM7n+g3
9YG45Q/+MhdyX8Q/JHKG6cm2LvpZ50bRhlpG6WOQGYAVTWFWT+f8iVhvA8D1jBTp
6KUO7UVg9xQhNVldiGO3PG14D4Hbr6k+LvHYUiRvF7CDPSOdP+vKQqF4ko5TSRMv
Hz34TTQLT2KGw169im/N0hnoPmHgk/qeCNCe/38ucUfMRXoA+cdXmLh0tItO521E
J0P6TvNxS3CcOBlebp3Agdx4dtoz3Z7N4W1Nf/aP0AN4WF1BjLHipUb/DkCmUjUC
67dKqby0h3JspRM3ZnF5cepLmQz2svH0kC8SRTiTGcc2EXdUS7VZFixc46nWiYtD
/hpZk4kvCBDA1xOvVmi3tQOewZHXQ7TeN9hMfpSRtwixXPTAa2kMiIUuCyq+N4dE
0icCx2ek1aiRd+11pojEgVdBVj+XkWQFroEWaaau1ywVrM+2ZKX03UQQbeTdbCCY
7ot50ECcQeCi/V7W29h4JlEQbykCtat6zXg4rAAXKwKnD1FZMb4vQqAjJNJX3IZP
ZbyirVjnxsMoz3AanKSyz7NVwmUgvmSFKeXLJDbr9HDScUI1p2Y0slXVEjLYjOJ2
0RmPopHl0ZoX4MJxJtUsDkRCq9EetNEcnMzAjmPtjpXIx+w05XRIfAFzoIT++s1E
WV1WLbai7KFhcMl9u+SKk04uRrP5yG2w2Nai+yzJrWsao/Av/iQ=
=+TgH
-----END PGP SIGNATURE-----

--son5Sf4osfgvGpRo--




Acknowledgement sent to Mike Frysinger <vapier@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#53782; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 8 Feb 2022 04:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.