Your message dated Thu, 31 Mar 2005 12:36:21 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Done, or, don't do that.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 13 May 2004 02:17:00 +0000
>From [EMAIL PROTECTED] Wed May 12 19:17:00 2004
Return-path: <[EMAIL PROTECTED]>
Received: from absinthe.ifi.unizh.ch (diamond.madduck.net) [130.60.75.58] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BO5mO-0007oB-00; Wed, 12 May 2004 19:17:00 -0700
Received: from localhost (localhost [127.0.0.1])
        by diamond.madduck.net (postfix) with ESMTP id 894E1150E
        for <[EMAIL PROTECTED]>; Thu, 13 May 2004 04:16:58 +0200 (CEST)
Received: by diamond.madduck.net (postfix, from userid 1000)
        id 57AB41265; Thu, 13 May 2004 04:16:58 +0200 (CEST)
Date: Thu, 13 May 2004 04:16:58 +0200
From: martin f krafft <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: pkg-config: AC_REQUIRE messes with PKG_CHECK_MODULES
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq"
Content-Disposition: inline
X-Reportbug-Version: 2.58
Organization: Debian GNU/Linux
X-OS: Debian GNU/Linux testing/unstable kernel 2.6.3-1-k7-smp i686
X-Motto: Keep the good times rollin'
X-Subliminal-Message: debian/rules!
User-Agent: Mutt/1.5.5.1+cvs20040105i
X-Virus-Scanned: by diamond.madduck.net
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


--45Z9DzgjV8m4Oswq
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: pkg-config
Version: 0.15.0-4
Severity: normal

PKG_CHECK_MODULES works fine until you want to make autoconf check
for pkg-config's presence beforehand:

AC_DEFUN([LN_REQUIRE_PKG_CONFIG], [AC_REQUIRE([PKG_CHECK_MODULES])])

as soon as the LN_REQUIRE_PKG_CONFIG function is called, any
PKG_CHECK_MODULES calls will fail:

  checking for pkg-config... /usr/bin/pkg-config
  checking for ... Must specify package names on the command line
  Must specify package names on the command line

  configure: error: Library requirements () not met; consider
  adjusting the PKG_CONFIG_PATH environment variable if your libraries
  are in a nonstandard prefix so pkg-config can find them.

and the relevant contents from ./configure:

          if $PKG_CONFIG --exists "" ; then
              echo "$as_me:$LINENO: result: yes" >&5
  echo "${ECHO_T}yes" >&6
              succeeded=3Dyes

  [...]

    if test $succeeded =3D yes; then
      :
    else
      { { echo "$as_me:$LINENO: error: Library requirements () not met; con=
sider=20
  echo "$as_me: error: Library requirements () not met; consider adjusting =
the PKG
    { (exit 1); exit 1; }; }
    fi

So checking qith AC_REQUIRE somehow causes PKG_CHECK_MODULES to
forget about $1.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (98, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-k7-smp
Locale: LANG=3Den_GB.ISO-8859-15, LC_CTYPE=3Dde_DE.ISO-8859-15

Versions of packages pkg-config depends on:
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared librarie=
s an
ii  libglib2.0-0                2.2.3-1      The GLib library of C routines

-- no debconf information

--=20
Please do not CC me when replying to lists; I read them!
=20
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
=20
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

--45Z9DzgjV8m4Oswq
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAotqaIgvIgzMMSnURAvYmAJ4gBfjkGARDN2vrzCZwxIxlfQiWzwCcCXXV
qvynK78H8DowXg8z4NoSAj8=
=/eX5
-----END PGP SIGNATURE-----

--45Z9DzgjV8m4Oswq--

---------------------------------------
Received: (at 248789-done) by bugs.debian.org; 31 Mar 2005 10:36:23 +0000
>From [EMAIL PROTECTED] Thu Mar 31 02:36:23 2005
Return-path: <[EMAIL PROTECTED]>
Received: from vawad.err.no [129.241.93.49] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DGx2E-0007xE-00; Thu, 31 Mar 2005 02:36:23 -0800
Received: from tfheen by vawad.err.no with local (Exim 4.34)
        id 1DGx2D-0004e6-8a
        for [EMAIL PROTECTED]; Thu, 31 Mar 2005 12:36:21 +0200
To: [EMAIL PROTECTED]
Subject: Done, or, don't do that.
Mail-Copies-To: never
From: Tollef Fog Heen <[EMAIL PROTECTED]>
Organization: Private
Date: Thu, 31 Mar 2005 12:36:21 +0200
Message-ID: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 


Hi,

PKG_CHECK_MODULES (now at least) checks for the presence of pkg-config
beforehand, so there is no need to check for it yourself.

Closing this bug as per discussion on IRC.

-- 
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