]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] kconfig: detect if -lintl is needed when linking conf,mconf
authorRobb, Sam <sam.robb@timesys.com>
Sun, 5 Feb 2006 07:28:06 +0000 (23:28 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 19:06:54 +0000 (11:06 -0800)
commit5e375bc7d586e0df971734a5a5f1f080ffd89b68
tree274d5ac5c9bf0e157c67461bd0e609c495e7b2e4
parent4be68a783d25b4dab0ef4077a4c6b13161a2d6e4
[PATCH] kconfig: detect if -lintl is needed when linking conf,mconf

On a system where libintl.h is present, but the NLS functionality is
supplied by a separate library instead of the system C library, an attempt
to "make config" or "make menuconfig" will fail with link errors, ex:

  scripts/kconfig/mconf.o:mconf.c:(.text+0xf63): undefined reference to
    `_libintl_gettext'

This patch attempts to correct the problem by detecting whether or not NLS
support requires linking with libintl.

Signed-off-by: Samuel J Robb <sam.robb@timesys.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
scripts/kconfig/Makefile