https://github.com/torvalds/linux
Raw File
Tip revision: 0ce790e7d736cedc563e1fb4e998babf5a4dbc3d authored by Linus Torvalds on 29 March 2011, 19:09:47 UTC
Linux 2.6.39-rc1
Tip revision: 0ce790e
check.sh
#!/bin/sh
# Needed for systems without gettext
$* -xc -o /dev/null - > /dev/null 2>&1 << EOF
#include <libintl.h>
int main()
{
	gettext("");
	return 0;
}
EOF
if [ ! "$?" -eq "0"  ]; then
	echo -DKBUILD_NO_NLS;
fi

back to top