kconfig/check.sh
author "Samuel Martin" <s.martin49@gmail.com>
Sat Mar 16 15:46:45 2013 +0100 (2013-03-16)
changeset 3198 10059fe75e24
parent 943 1cca90ce0481
permissions -rw-r--r--
debug/gdb: enforce gdbserver cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <ca85cad85c4dd20e74f1.1363446262@laptop>
Patchwork-Id: 228219
     1 #!/bin/sh
     2 # Needed for systems without gettext
     3 $* -xc -o /dev/null - > /dev/null 2>&1 << EOF
     4 #include <libintl.h>
     5 int main()
     6 {
     7 	gettext("");
     8 	return 0;
     9 }
    10 EOF
    11 if [ ! "$?" -eq "0"  ]; then
    12 	echo -DKBUILD_NO_NLS;
    13 fi
    14