kconfig/check-gettext.sh
author "Frederic Roussel" <fr.frasc@gmail.com>
Wed Nov 25 00:10:42 2009 -0800 (2009-11-25)
changeset 1654 489e9f2158fa
permissions -rw-r--r--
patches/glibc: allows glibc2.9 to be compiled with binutils 2.20

the configure script had to be modified to accept as/ld at versions greater
than 2.19
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
     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