kconfig/check.sh
author Daniel Price <daniel.price@gmail.com>
Tue Nov 20 16:59:17 2012 -0800 (2012-11-20)
changeset 3125 15cd5dc25929
parent 943 1cca90ce0481
permissions -rw-r--r--
scripts: fail on ':' in paths

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536
     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