kconfig/check.sh
author "Samuel Martin" <s.martin49@gmail.com>
Sat Mar 16 15:33:44 2013 +0100 (2013-03-16)
changeset 3200 0fc56e62cecf
parent 943 1cca90ce0481
permissions -rw-r--r--
debug/dmalloc: enforce cross-compilation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Message-Id: <69772732f551aa342a2c.1363446264@laptop>
Patchwork-Id: 228221
     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