autoconf
[Top][All Lists]
Advanced

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

Re: problem using PKG_CHECK_MODULES in a case


From: Vincent Torri
Subject: Re: problem using PKG_CHECK_MODULES in a case
Date: Fri, 14 Mar 2008 07:36:37 +0100 (CET)


Hey,

* Vincent Torri wrote on Fri, Mar 14, 2008 at 07:15:23AM CET:
create_shared_lib=""
case "$host_os" in
        mingw|mingw32*|cegcc)
                PKG_CHECK_MODULES(EVIL, evil)
[...]
esac

and later, I use PKG_CONFIG_MODULES for freetype

The the configure script is failing, saying that "the pkg-config script
could not be found or is too old"

If I remove PKG_CHECK_MODULES(EVIL, evil) in the case, I have no problem

This thread should help you:
<http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/10172/focus=10175>
and your post should be a suitable example for NightStrike to look at.

ok, so I can use AS_CASE, or just add PKG_PROG_PKG_CONFIG before the case.

I'll check if AS_CASE is not introduced in too recent autoconf (I need to support old linux distributions)

thank you

Vincent Torri




reply via email to

[Prev in Thread] Current Thread [Next in Thread]