kconfig/check.sh
author Titus von Boxberg <titus@v9g.de>
Thu Nov 17 14:18:44 2011 +0100 (2011-11-17)
changeset 2759 d063b1ae8c1b
parent 943 1cca90ce0481
permissions -rw-r--r--
arch/x86: prescott is an i686

let CT_ARCH_ARCH=prescott result in a i686 tuple prefix

Signed-off-by: Titus von Boxberg <titus@v9g.de>
     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