Commit 84d26bd9 authored by Marco Barisione's avatar Marco Barisione

configure.ac: add --with-gettext-package to avoid conflicts

telepathy-account-widgets is a submodule, so it can be included by
multiple projects. If we don't have a different per-project
GETTEXT_PACKAGE we end up with different projects shipping .mo files
supposed to be installed in the same location.
parent 1187b5da
......@@ -188,7 +188,16 @@ fi
# -----------------------------------------------------------
IT_PROG_INTLTOOL([0.50.0])
GETTEXT_PACKAGE=tpaw
AC_ARG_WITH([gettext-package],
AS_HELP_STRING([--with-gettext-package],
[set a different GETTEXT_PACKAGE to avoid conflicts]),,
with_gettext_package=)
if test -n "$with_gettext_package"; then
GETTEXT_PACKAGE="$with_gettext_package"
else
GETTEXT_PACKAGE=tpaw
fi
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
......@@ -351,6 +360,7 @@ Configure summary:
Data directory .............: ${real_pkgdatadir}
Coding style checks.........: ${ENABLE_CODING_STYLE_CHECKS}
Unreleased version checks...: ${enable_unreleased_checks}
GETTEXT_PACKAGE.............: ${GETTEXT_PACKAGE}
Features:
Cheese webcam support ......: ${have_cheese}
......
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