[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Locating/Linking against Qt
From: |
Stepan Kasal |
Subject: |
Re: Locating/Linking against Qt |
Date: |
Sun, 28 Aug 2005 13:46:39 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Sat, Aug 27, 2005 at 09:40:18PM -0600, Brian wrote:
> Whoops, didn't read that very closely. PKG_CHECK_MODULES clearly. I don't
> see this documented in the Autoconf/Automake manuals...
PKG_CHECK_MODULES comes with pkg-config, not Autoconf, in file pkg.m4.
$PKG_CONFIG is in fact defined by the macro PKG_PROG_PKG_CONFIG.
This macro is called automatically by the first PKG_CHECK_MODULES.
But since your first occurrence of PKG_CHECK_MODULES is inside an "if",
it would be safer to call PKG_PROG_PKG_CONFIG before that "if". (Of before the
outermost conditional, if the code you posted is not in the outermost level.)
Happy hacking,
Stepan Kasal
- Locating/Linking against Qt, Tommy Nordgren, 2005/08/27
- Re: Locating/Linking against Qt, Dalibor Topic, 2005/08/27
- Re: Locating/Linking against Qt, Brian, 2005/08/27
- Re: Locating/Linking against Qt, Ralf Wildenhues, 2005/08/28
- Re: Locating/Linking against Qt, Dalibor Topic, 2005/08/28
- Re: Locating/Linking against Qt, Brian, 2005/08/28
- Re: Locating/Linking against Qt, Dalibor Topic, 2005/08/28