On Sun, 2023-01-15 at 09:35 -0500, Paul Smith wrote: > On Sun, 2023-01-15 at 15:33 +0100, Bruno Haible wrote: > > In this test you have the lines > > > > # Fallback if configure did not find AR > > my $ar = get_config('AR') || 'ar'; > > > > Why not do the same for CC? > > > > my $cc = get_config('CC') || 'cc'; > > Yes, that's how it's done in other tests. I'll have to check why > that wasn't done here. Maybe an oversight.
The problem is that we are running a makefile in the test that compiles some code (we have to actually compile code because ar on some systems won't allow an empty file to be added to an archive) and that uses the default compiler etc. settings that make was built with. We'll have to override these settings in that test.