Subject: bug#53782: supporting objects with & w/out libtool via conditionals

From: Mike Frysinger <[email-masked]>
Date: Fri, 4 Feb 2022 13:43:14 -0500

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