From b1d1c2bde728e3f2b4d633f64ed3804593283ad4 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 9 Feb 2006 08:00:14 -0800 Subject: [PATCH] --- yaml --- r: 20155 b: refs/heads/master c: 15508d22d00277a1f2a1022dce38f2772c810d32 h: refs/heads/master i: 20153: fe36270f9b622406090dd0e5aa62b40640b95760 20151: 8942c2d0b39ba44c70d418fda0addcaead2bcf70 v: v3 --- [refs] | 2 +- trunk/scripts/kconfig/Makefile | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/[refs] b/[refs] index 0a3cb0dc0e7d..6a720848feb1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0bdd340c092b0936f78a54bdbd3927463ed4fca3 +refs/heads/master: 15508d22d00277a1f2a1022dce38f2772c810d32 diff --git a/trunk/scripts/kconfig/Makefile b/trunk/scripts/kconfig/Makefile index d64aae85c378..5760e057ecba 100644 --- a/trunk/scripts/kconfig/Makefile +++ b/trunk/scripts/kconfig/Makefile @@ -123,17 +123,7 @@ KBUILD_HAVE_NLS := $(shell \ then echo yes ; \ else echo no ; fi) ifeq ($(KBUILD_HAVE_NLS),no) - HOSTCFLAGS += -DKBUILD_NO_NLS -else - KBUILD_NEED_LINTL := $(shell \ - if echo -e "\#include \nint main(int a, char** b) { gettext(\"\"); return 0; }\n" | \ - $(HOSTCC) $(HOSTCFLAGS) -x c - -o /dev/null> /dev/null 2>&1 ; \ - then echo no ; \ - else echo yes ; fi) - ifeq ($(KBUILD_NEED_LINTL),yes) - HOSTLOADLIBES_conf += -lintl - HOSTLOADLIBES_mconf += -lintl - endif +HOSTCFLAGS += -DKBUILD_NO_NLS endif # generated files seem to need this to find local include files