https://github.com/torvalds/linux
Revision 39dae59d66acd86d1de24294bd2f343fd5e7a625 authored by Linus Torvalds on 05 November 2017, 21:05:14 UTC, committed by Linus Torvalds on 05 November 2017, 21:05:14 UTC
1 parent 9b3499d
Raw File
Tip revision: 39dae59d66acd86d1de24294bd2f343fd5e7a625 authored by Linus Torvalds on 05 November 2017, 21:05:14 UTC
Linux 4.14-rc8
Tip revision: 39dae59
check.sh
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Needed for systems without gettext
$* -x c -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