add macro for setting up gettext

Original commit message from CVS:
add macro for setting up gettext
parent 2034edbc
2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
* m4/Makefile.am:
* m4/gst-gettext.m4:
add macro for setting up gettext
2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
* m4/gst-args.m4:
......
......@@ -13,10 +13,12 @@ EXTRA_DIST = \
ax_create_stdint_h.m4 \
glib-gettext.m4 \
gst-arch.m4 \
gst-args.m4 \
gst-debuginfo.m4 \
gst-doc.m4 \
gst-feature.m4 \
gst-function.m4 \
gst-gettext.m4 \
gst-glib2.m4 \
gst-gstreamer.m4 \
gst-libxml2.m4 \
......
dnl gettext setup
dnl GST_GETTEXT([gettext-package])
AC_DEFUN([GST_GETTEXT],
[
AM_GNU_GETTEXT_VERSION(0.11.5)
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE=[$1]
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
[gettext package name])
dnl define LOCALEDIR in config.h
AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
[gettext locale dir])
])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment