]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/nls.h
Move NFS mount code from util-linux to nfs-utils - part 2
[nfs-utils.git] / support / include / nls.h
diff --git a/support/include/nls.h b/support/include/nls.h
new file mode 100644 (file)
index 0000000..899e8d7
--- /dev/null
@@ -0,0 +1,27 @@
+/* 
+ * 2006-06-08 Amit Gud <agud@redhat.com>
+ * - Copied to nfs-utils/support/include from util-linux/mount
+ */
+
+#ifndef LOCALEDIR
+#define LOCALEDIR "/usr/share/locale"
+#endif
+
+#ifdef ENABLE_NLS
+# include <libintl.h>
+# define _(Text) gettext (Text)
+# ifdef gettext_noop
+#  define N_(String) gettext_noop (String)
+# else
+#  define N_(String) (String)
+# endif
+#else
+# undef bindtextdomain
+# define bindtextdomain(Domain, Directory) /* empty */
+# undef textdomain
+# define textdomain(Domain) /* empty */
+# define _(Text) (Text)
+# define N_(Text) (Text)
+#endif
+
+