]> git.draconx.ca Git - rrace.git/blobdiff - lib/local/modules/dx-nls
Don't build locale/wcwidth junk if NLS is disabled.
[rrace.git] / lib / local / modules / dx-nls
diff --git a/lib/local/modules/dx-nls b/lib/local/modules/dx-nls
new file mode 100644 (file)
index 0000000..9a1a6fb
--- /dev/null
@@ -0,0 +1,26 @@
+Description:
+Conditionally pull in various gnulib modules for NLS support.
+
+Files:
+
+Depends-on:
+gnulib-local
+gettext-h    [test x"$USE_NLS" = x"yes"]
+localcharset [test x"$USE_NLS" = x"yes"]
+mbswidth     [test x"$USE_NLS" = x"yes"]
+
+configure.ac:
+m4_set_add([DX_GNULIB_LOCAL_DIST], [modules/dx-nls])dnl
+dnl We provide our own makefile rules for gettext.  Avoid tracing of
+dnl AM_GNU_GETTEXT to prevent autoreconf from running autopoint, and
+dnl to prevent Automake from growing gratuitous error conditions.
+m4_indir([AM_GNU_GETTEXT], [external])
+DX_LINGUAS
+
+Makefile.am:
+
+License:
+WTFPL2
+
+Maintainer:
+Nick Bowler