[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
PKG_CHECK_MODULES on system without pkg-config installed?
From: |
Jef Driesen |
Subject: |
PKG_CHECK_MODULES on system without pkg-config installed? |
Date: |
Sat, 5 Mar 2011 19:26:57 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 |
Hi,
I'm trying to use the PKG_CHECK_MODULES macro to check for an external library:
PKG_CHECK_MODULES([LIBUSB], [libusb-1.0], [have_libusb=yes], [have_libusb=no])
This works great, except when trying to compile on a system without pkg-config
installed. The configure script fails with a syntax error. I tried to wrap the
PKG_CHECK_MODULES check in an AC_ARG_ENABLE enable block, in an attempt to
enable to skip this check. But this makes no difference.
Is there another way to make this work?
Jef
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, (continued)
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Ralf Corsepius, 2011/03/11
- RE: PKG_CHECK_MODULES on system without pkg-config installed?, Xochitl Lunde, 2011/03/11
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Baurzhan Ismagulov, 2011/03/11
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Steffen Dettmer, 2011/03/11
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Jef Driesen, 2011/03/13
- Message not available
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Jef Driesen, 2011/03/13
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Dave Hart, 2011/03/10
- RE: PKG_CHECK_MODULES on system without pkg-config installed?, Jef Driesen, 2011/03/10
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Dave Hart, 2011/03/10
- Re: PKG_CHECK_MODULES on system without pkg-config installed?, Jef Driesen, 2011/03/10
PKG_CHECK_MODULES on system without pkg-config installed?,
Jef Driesen <=