Re: AC_SEARCH_LIBS with OTHER-LIBRARIES

2010-04-25 Thread Ralf Wildenhues
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 l

Re: Bug#578923: [autoconf] Warning if testing for declaration with namespace (std::setlocale)

2010-04-25 Thread Ralf Wildenhues
tags +upstream thanks Hello Jens, this is clearly an upstream bug. Adding bug-autoconf. * Jens Seidel wrote on Fri, Apr 23, 2010 at 05:30:55PM CEST: > AC_LANG_PUSH(C++) > AC_CHECK_DECL(std::setlocale, [AC_DEFINE([HAVE_SETLOCALE], [], [Define if > setlocale is available in clocale])], , [#includ

Re: AC_SEARCH_LIBS with OTHER-LIBRARIES

2010-04-25 Thread NIIBE Yutaka
Ralf Wildenhues wrote: The semantics are that OTHER-LIBRARIES are libraries needed by the library in SEARCH_LIBS. Thanks for the clarification. I had thought that it were possible for users of AC_SEARCH_LIBS to expect FUNCTION to be linked to OTHER-LIBRARIES with no library. Well, let me give