summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2006-02-10 10:30:02 -0500
committerJeff Garzik <jgarzik@pobox.com>2006-02-10 10:30:02 -0500
commitc5014de8a74f442a4441f21f690d8aae5dc8b432 (patch)
treee4506970292dfb345fbc151481ce6918f9d36925 /scripts
parentcc9278ed5e992122a654a3f762561ee5e013810f (diff)
parent5bc159e6cb7ca8d173195919ee935885c129011e (diff)
Merge branch 'master'
Diffstat (limited to 'scripts')
-rw-r--r--scripts/kconfig/Makefile12
1 files changed, 1 insertions, 11 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index d64aae85c378..5760e057ecba 100644
--- a/scripts/kconfig/Makefile
+++ b/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 <libintl.h>\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