From 56da3859c770b83631ebae810dfb3024c1a9cbd2 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 31 Aug 2011 23:35:05 +0200 Subject: support: move kconfig stuff from package/config to support/kconfig Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- support/kconfig/check.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 support/kconfig/check.sh (limited to 'support/kconfig/check.sh') diff --git a/support/kconfig/check.sh b/support/kconfig/check.sh new file mode 100755 index 000000000..fa59cbf9d --- /dev/null +++ b/support/kconfig/check.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# Needed for systems without gettext +$* -xc -o /dev/null - > /dev/null 2>&1 << EOF +#include +int main() +{ + gettext(""); + return 0; +} +EOF +if [ ! "$?" -eq "0" ]; then + echo -DKBUILD_NO_NLS; +fi + -- cgit v1.2.3