Re: [PATCH] AC_SEARCH_LIBS now searches for .lib files

2025-01-06 Thread Paul Eggert
On 2025-01-06 11:01, Antonin Décimo wrote: Or file a bug report with clang-cl? It seems odd that it'd support other options with leading minus, but not -l. The original problem is with cl (MSVC). clang-cl is trying to be a drop-in replacement Microsoft documentation

Re: [PATCH] AC_SEARCH_LIBS now searches for .lib files

2025-01-06 Thread Antonin Décimo
> > Would it be a problem with "regular" compilers if the function was not > > present in the file specified with -lxxx, but existed in a xxx.lib > > file (!) in the cwd? > > That sounds awkward for everyone else, no? It slows down 'configure' and > might run afoul of ".lib" files present for some

Re: [PATCH] AC_SEARCH_LIBS now searches for .lib files

2025-01-06 Thread Paul Eggert
On 2025-01-06 08:55, Antonin Décimo wrote: Would it be a problem with "regular" compilers if the function was not present in the file specified with -lxxx, but existed in a xxx.lib file (!) in the cwd? That sounds awkward for everyone else, no? It slows down 'configure' and might run afoul of