Re: problem using PKG_CHECK_MODULES in a case

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

 




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


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux