kconfig/check-gettext.sh
author fr.frasc@gmail.com
Fri Oct 23 09:48:22 2009 -0700 (2009-10-23)
branch1.5
changeset 1584 d4825b7d6728
permissions -rw-r--r--
scripts/functions: Fix a variable name.
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
(transplanted from 991a59088ff09528896ac64ed4e8a6fba31eae39)
     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