Library resolution with autoconf?
Posted
by Alnitak
on Stack Overflow
See other posts from Stack Overflow
or by Alnitak
Published on 2009-02-05T19:40:32Z
Indexed on
2010/06/10
8:52 UTC
Read the original article
Hit count: 272
autoconf
I'm building my first autoconf managed package.
However I can't find any simple examples anywhere of how to specify a required library, and find that library where it might be in various different places.
I've currently got:
AC_CHECK_LIB(['event'], ['event_init'])
but:
- It doesn't find the version installed in
/opt/local/lib
- It doesn't complain if the library isn't actually found
- I need to set the include path to
/opt/local/include
too
any help, or links to decent tutorials much appreciated...
© Stack Overflow or respective owner