From unknown Sat Jun 14 03:58:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53782 <53782@debbugs.gnu.org> To: bug#53782 <53782@debbugs.gnu.org> Subject: Status: supporting objects with & w/out libtool via conditionals Reply-To: bug#53782 <53782@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:58:00 +0000 retitle 53782 supporting objects with & w/out libtool via conditionals reassign 53782 automake submitter 53782 Mike Frysinger severity 53782 wishlist tag 53782 confirmed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 04 13:43:54 2022 Received: (at submit) by debbugs.gnu.org; 4 Feb 2022 18:43:54 +0000 Received: from localhost ([127.0.0.1]:32802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nG3Ya-0007gJ-L4 for submit@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 ) id 1nG3YY-0007gA-Lf for submit@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 ) id 1nG3YU-0004H0-2P for bug-automake@gnu.org; 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 ) id 1nG3YN-0004EL-60 for bug-automake@gnu.org; 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 To: bug-automake@gnu.org Subject: supporting objects with & w/out libtool via conditionals Message-ID: Mail-Followup-To: bug-automake@gnu.org 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@gentoo.org; 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 07 22:46:36 2022 Received: (at control) by debbugs.gnu.org; 8 Feb 2022 03:46:36 +0000 Received: from localhost ([127.0.0.1]:44566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHHSd-0005N7-WD for submit@debbugs.gnu.org; Mon, 07 Feb 2022 22:46:36 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:42752 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHHSc-0005Mr-AO for control@debbugs.gnu.org; Mon, 07 Feb 2022 22:46:35 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id E3FE2342D01; Tue, 8 Feb 2022 03:46:27 +0000 (UTC) From: Mike Frysinger To: control@debbugs.gnu.org Subject: Control message Message-Id: <20220208034627.E3FE2342D01@smtp.gentoo.org> Date: Tue, 8 Feb 2022 03:46:27 +0000 (UTC) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) severity 53782 wishlist tag 53782 = confirmed thankyou