I've just started hacking on wine.
I've found a case of Solaris supporting the getaddrinfo function call that is tested in configure (via configure.ac) but I need to add specific libraries to the test. However, I don't think it's a good idea to overload the LIBS variable for all the functions that are being tested in that sequence. (though that fixed the issue for me)
Can someone recommend the right way I should modify configure.ac?
Thanks,
Ben
On Sun, Apr 15, 2007 at 03:42:02PM +0000, sol11x86@comcast.net wrote:
I've just started hacking on wine.
I've found a case of Solaris supporting the getaddrinfo function call that is tested in configure (via configure.ac) but I need to add specific libraries to the test. However, I don't think it's a good idea to overload the LIBS variable for all the functions that are being tested in that sequence. (though that fixed the issue for me)
Can someone recommend the right way I should modify configure.ac?
You can save LIBS before and then restore it after the test.
ac_save_LIBS="$LIBS"
...
LIBS="$ac_save_LIBS"
Ciao, Marcus