Revision 21ca543efc12674fddb22ddf4ea4906427f4e982 authored by Ilya Dryomov on 04 November 2011, 13:41:02 UTC, committed by Chris Mason on 06 November 2011, 08:11:21 UTC
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 9510dc4
Raw File
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