* Jonathan Matthew 

| Package: pkg-config
| Version: 0.16.0-1
| Severity: normal
| 
| Rhythmbox's configure.ac does something like this:
| 
| if test x"$enable_ipod" = xyes; then
|       [some stuff]
|       PKG_CHECK_MODULES( .. some stuff .. )
| fi
| 
| PKG_CHECK_MODULES( .. some other stuff .. )
| 
| When the first PKG_CHECK_MODULES is not executed, the PKG_CONFIG
| variable is not initialized (as the code to do that is inside the 'if'
| that wasn't taken), so PKG_CHECK_MODULES thinks it can't find
| pkg-config, so it fails.
| 
| I realise this is trivial to work around, and it doesn't look easy to
| fix, but it'd be nice if it was fixed.

It's actually not possible to fix it, but you can work around it
either by rearranging the tests or by putting PKG_PROG_PKG_CONFIG
above the second PKG_CHECK_MODULES instance.

I'm leaving this bug open and will document this particular effect;
according to people who know a lot more autoconf than me, it is
consistent with how autoconf itself does it.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to