On Sun, Jan 2, 2011 at 5:54 AM, Harlan Stenn <st...@ntp.org> wrote:

> A number of different packages will install foo-config in the PATH to
> make it easy to figure out if the package installed and what options
> should be used.
>
> Examples include:
>
>  autoopts-config
>  cups-config
>  curl-config
>  libgcrypt-config
>  libpng-config
>
> Anyway, I was wondering if libevent could install something similar.
>
> I'm looking for path information (include and library) and any needed
> CPP, library, etc. flags.
>

libevent provides pkg-config files that should do the same as these helper
programs.  You can run shell program
'PKG_CONFIG_PATH=/foo/libevent/lib/pkgconfig/ pkg-config' to get the
information you desire on stdout.  pkg-config also has nice Autoconf macros.

Reply via email to