summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-27 21:31:29 +0000
committerMike Frysinger <vapier@gentoo.org>2009-11-27 21:31:29 +0000
commitfd09642dccd0d4de913ca90eb3605166606423ea (patch)
tree3a55a1265e89a67a13b7a8cbfdd6dffcc6519b01 /eclass/toolchain-funcs.eclass
parentVersion bump to 1.15.5.3 (diff)
downloadhistorical-fd09642dccd0d4de913ca90eb3605166606423ea.tar.gz
historical-fd09642dccd0d4de913ca90eb3605166606423ea.tar.bz2
historical-fd09642dccd0d4de913ca90eb3605166606423ea.zip
start a tc-get helper for pkg-config
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index 7b5738b815b4..d7457803eb61 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.95 2009/09/02 20:08:31 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.96 2009/11/27 21:31:29 vapier Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@@ -88,6 +88,10 @@ tc-getFC() { tc-getPROG FC gfortran "$@"; }
# @USAGE: [toolchain prefix]
# @RETURN: name of the java compiler
tc-getGCJ() { tc-getPROG GCJ gcj "$@"; }
+# @FUNCTION: tc-getPKG_CONFIG
+# @USAGE: [toolchain prefix]
+# @RETURN: name of the pkg-config tool
+tc-getPKG_CONFIG() { tc-getPROG PKG_CONFIG pkg-config "$@"; }
# @FUNCTION: tc-getBUILD_CC
# @USAGE: [toolchain prefix]