Hello, thanks for the patch.
* NIIBE Yutaka wrote on Thu, Apr 22, 2010 at 02:54:52AM CEST: > When we use AC_SEARCH_LIBS with OTHER-LIBRARIES, current > implementation ignores OTHER-LIBRARIES when it tests > ac_lib=''. > > I think that it is not intended behavior, but a bug. > A patch something like following is needed. I'm not sure I understand. The semantics are that OTHER-LIBRARIES are libraries needed by the library in SEARCH_LIBS. If no such library is needed, why would that not-existing library need OTHER-LIBRARIES to link? That doesn't make sense to me. Maybe it helps if you explain (with an example?) why this would be helpful for you, maybe we can then show another way to solve this. > I put my code into public domain, if copyright matters. This is short enough to not warrant a copyright assignment (but if it did, you would need to sign a piece of paper, the FSF does not accept emails as legal documents). Cheers, Ralf