kconfig/check.sh
author Cody P Schafer <dev@codyps.com>
Sun May 11 23:31:54 2014 +0200 (2014-05-11)
changeset 3319 283cebef7061
parent 943 1cca90ce0481
permissions -rw-r--r--
cc/gcc: add 4.9.0

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: latest is now a 4.9]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <5bac788539bb272893ed.1399801933@gun>
Patchwork-Id: 347774
     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