kconfig/check.sh
author Niels Penneman <niels@penneman.org>
Fri Jan 03 10:57:48 2014 +0100 (2014-01-03)
changeset 3269 6bf3336283c2
parent 943 1cca90ce0481
permissions -rw-r--r--
cc/gcc: fix gcc 4.8 build for C library without threads support

Signed-off-by: Niels Penneman <niels@penneman.org>
Message-Id: <309df93f4354c80e05c9.1388743085@i7sb.local>
Patchwork-Id: 306521
     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