kconfig/check-gettext.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Oct 26 15:23:42 2008 +0000 (2008-10-26)
changeset 990 22a864a48e05
permissions -rw-r--r--
Don't use /bin/ash as shell in samples.

/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 7 3 4 0 +++---
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 17 8 9 0 +++++++--------
/trunk/samples/arm-unknown-eabi/crosstool.config | 6 3 3 0 ++--
3 files changed, 14 insertions(+), 16 deletions(-)
     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