1

How to get autoconf to link in libraries

view story
linux-howto

https://bbs.archlinux.org – I have a program that I would like to distribute using autoconf. However, certain libraries that I use must be linked in. I am able to use PKG_CHECK_MODULES, but the library name is different for the windows and linux versions (ncurses and pdcurses). I want autoconf to detect which library exists, and link it with the program. Is there a way to do this? It has to work with cross compiling for i486-mingw32 as well. rh995 https://bbs.archlinux.org/profile.php?id=58005 2012-04-19T00:40:30Z (HowTos)