kconfig/check.sh
author Bryan Hundven <bryanhundven@gmail.com>
Sun Aug 19 01:09:40 2012 -0700 (2012-08-19)
branch1.16
changeset 3046 de4120991433
parent 943 1cca90ce0481
permissions -rw-r--r--
scripts: use generic urls for sourceforge

For expat, duma, and strace, use the generic url and 302 to the mirror
instead of trying to download a file from a downed mirror and
failing.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
Message-Id: <b69ebeb72fef93c04c84.1345364051@flambe.is-a-geek.org>
(transplanted from cb75966698d7e44bc76445d7b249eba89bdf1d8a)
     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