kconfig/check.sh
author danielrubiob@gmail.com
Sun Feb 09 22:21:15 2014 +0100 (2014-02-09)
changeset 3282 1e26cdc4c228
parent 943 1cca90ce0481
permissions -rw-r--r--
cc/gcc: update linaro GCC 4.7 & 4.8 to version 2014.01

Signed-off-by: Daniel Rubio Bonilla <danielrubiob@gmail.com>
Message-Id: <08addb73e684d5e36f22.1391984020@uemo>
Patchwork-Id: 318634
     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