lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 28 February 2011 01:42, Miles Bader <> wrote:
> Reuben Thomas <> writes:
>> I could indeed try with pkg-config, but that complicates the autoconf
>> code. If pkg-config support were built into autoconf, then that would
>> make sense, but I don't think it's worth doing just for one
>> POSIX-focused package. (If I were developing for some more constrained
>> platform, say, GNU or GNOME, then that would make more sense.)
> It's very easy to support pkg-config _optionally_ in a configure script,
> and that gives you the best of both worlds.

Sure, so in that case it's worth adding optional pkg-config (with
fallback) to autoconf.

That's actually a very good idea, because one could also disable it
(--without-pkg-config) for users who dislike it. (Some anathematize it
for the way it copes, or fails to, with multiple installations of the
same package.)