gtk+: Have gtk+ pick up ${NM} from the environment

when gtk+ configures, it should pick up ${NM} from the environment \
if it is defined, instead of just looking for "nm".

(From OE-Core rev: 7cb5063d8bc59534dc64b19164cb9bdf0c04c68b)

Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Xiaofeng Yan 2011-11-17 18:36:50 +08:00 committed by Richard Purdie
parent e04de73421
commit a87ec92d98
2 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,14 @@
Upstream-Status: Inappropriate [configuration]
Signed-Off-By: Xiaofeng Yan <xiaofeng.yan@windriver.com>
# Pick up ${NM} from the environment
--- a/configure.in
+++ b/configure.in
@@ -190,7 +190,7 @@
AC_SYS_LARGEFILE
AM_PROG_AS
-AC_PATH_PROG(NM, nm, nm)
+AC_CHECK_TOOLS(NM, [$NM nm], nm)
dnl Initialize maintainer mode
AM_MAINTAINER_MODE

View File

@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.bz2 \
file://xsettings.patch \
file://run-iconcache.patch \
file://configure-nm.patch \
file://hardcoded_libtool.patch \
file://no-demos.patch \
file://cellrenderer-cairo.patch;striplevel=0 \
@ -26,7 +27,7 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.bz2 \
# file://combo-arrow-size.patch;striplevel=0
# file://configurefix.patch
PR = "r1"
PR = "r2"
SRC_URI[md5sum] = "421100f6597e613234f8dead6091a9fe"
SRC_URI[sha256sum] = "6f45bdbf9ea27eb3b5f977d7ee2365dede0d0ce454985680c26e5210163bbf37"