summaryrefslogtreecommitdiff
path: root/scripts/kconfig/check.sh
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-12 02:46:17 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-05-12 02:46:17 +0200
commit8c0ea1194bc0905926fb9e211c3356f2348c7ca7 (patch)
treeba98e07ed70e19ef2b60b5ae3206bcd2ad5f3b51 /scripts/kconfig/check.sh
downloadembtoolkit-8c0ea1194bc0905926fb9e211c3356f2348c7ca7.tar.gz
embtoolkit-8c0ea1194bc0905926fb9e211c3356f2348c7ca7.tar.bz2
embtoolkit-8c0ea1194bc0905926fb9e211c3356f2348c7ca7.tar.xz
Embtoolkit: Fisrt commit
This is the first commit in the embedded system toolkit git repository, formaly embtoolkit. This porject aims to design a tool which helps on building an embedded linux system. The goal of this porject is to use EGLIBC as C Library for linux systems generated. This initial commit is manely just a backup in order to save work done. Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'scripts/kconfig/check.sh')
-rwxr-xr-xscripts/kconfig/check.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/kconfig/check.sh b/scripts/kconfig/check.sh
new file mode 100755
index 0000000..fa59cbf
--- /dev/null
+++ b/scripts/kconfig/check.sh
@@ -0,0 +1,14 @@
+#!/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
+