bug#53780: Automake failing with conditional AC_CONFIG_FILES

2022-02-04 Thread Nick Bowler
On 2022-02-04, Valio Valtokari wrote: > Hello, > > I have a project that supports multiple platforms (windows and linux as of > right now). To implement testing functionality I use a library that I > haven't configured for windows in my project yet. As such, my configure.ac > has these lines: > >

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

2022-02-04 Thread Mike Frysinger
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

bug#53780: Automake failing with conditional AC_CONFIG_FILES

2022-02-04 Thread Valio Valtokari
Hello, I have a project that supports multiple platforms (windows and linux as of right now). To implement testing functionality I use a library that I haven't configured for windows in my project yet. As such, my configure.ac has these lines: AC_CONFIG_FILES([Makefile:src/Makefile]) AM_COND_IF([