question about AC_SEARCH_LIBS

2008-10-25 Thread Vincent Torri
Hey, according to the documentation, AC_SEARCH_LIBS searches a function name in a set of libraries and add to LIBS the library that contains the function (if any). If I have that code: AC_SEARCH_LIBS([fnmatch], [fnmatch iberty evil], [res="yes"], [res="no"]) the value is stored in ac_cv_se

Re: question about AC_SEARCH_LIBS

2008-10-26 Thread Paolo Bonzini
Vincent Torri wrote: > > Hey, > > according to the documentation, AC_SEARCH_LIBS searches a function name > in a set of libraries and add to LIBS the library that contains the > function (if any). > > If I have that code: > > AC_SEARCH_LIBS([fnmatch], [fnmatch iberty evil], [res="yes"], [res="n

Question about AC_SEARCH_LIBS ([other-libraries] argument)

2007-10-22 Thread Daniel Leidert
Hi, The AC_SEARCH_LIBS accepts an argument to link with additional libraries given in that argument. Reading the code in autoconf/libs.m4 makes me think, that only the library, that contains the function I'm looking for, is added to LIBS if the test succeeeds. But even if [other-libraries] are giv

Re: Question about AC_SEARCH_LIBS ([other-libraries] argument)

2007-10-22 Thread Ralf Wildenhues
Hello Daniel * Daniel Leidert wrote on Tue, Oct 23, 2007 at 06:28:16AM CEST: > > The AC_SEARCH_LIBS accepts an argument to link with additional libraries > given in that argument. Reading the code in autoconf/libs.m4 makes me > think, that only the library, that contains the function I'm looking