Skip to contentSkip to conversation

No subject

PATCH [email protected] 1 participant 1 message Apr 23, 2008

lore
Share & tools
lore
#0 lore raw

Added:
trunk/buildroot/package/config/check.sh

Changeset:
Added: trunk/buildroot/package/config/check.sh
===================================================================

buildroot/package/config/check.sh +14 -0
@@ -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
+

Property changes on: trunk/buildroot/package/config/check.sh
___________________________________________________________________
Name: svn:executable
+ *