Re: [PATCH] AC_SEARCH_LIBS now searches for .lib files
Paul Eggert <[email protected]> Mon, 6 Jan 2025 22:48:47 -0800
| Newsgroups | gmane.comp.sysutils.autoconf.patches |
|---|---|
| Organization | UCLA Computer Science Department |
| Message-ID | <[email protected]> |
On 2025-01-06 11:01, Antonin D=C3=A9cimo wrote: >> Or file a bug report with clang-cl? It seems odd that it'd support oth= er >> 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=20 <https://learn.microsoft.com/en-us/cpp/build/reference/compiler-command-l= ine-syntax?view=3Dmsvc-170>=20 says that options can be preceded either by '/' or '-'. If -l is an=20 exception that's a little odd. Anyway, I don't see Autoconf working around this syntax incompatibility=20 any time soon. Too many Autoconf users expect -l to work. The wrapper=20 script seems like the best way to go. > Do you think there could be a way to integrate Automake's compile [1] > script into Autoconf to automatically rewrite these calls? A wrapper script like could be done, I suppose, if someone had the time=20 to do it and could volunteer patches.