mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 04:20:04 +01:00
Use upstream gettext instead the glib one
This commit is contained in:
parent
aabd6fb9e3
commit
75894ebb2e
2 changed files with 10 additions and 6 deletions
|
|
@ -26,8 +26,8 @@ if test -z $GTKDOCIZE; then
|
|||
fi
|
||||
|
||||
gtkdocize
|
||||
intltoolize --copy --force --automake
|
||||
autoreconf --force --install --verbose
|
||||
autopoint --force
|
||||
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
|
||||
|
||||
cd $olddir
|
||||
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
|
||||
|
|
|
|||
12
configure.ac
12
configure.ac
|
|
@ -220,11 +220,15 @@ if test "x$GCC" = "xyes"; then
|
|||
LDFLAGS="-Wl,--as-needed $LDFLAGS"
|
||||
fi
|
||||
|
||||
# i18n support
|
||||
IT_PROG_INTLTOOL([0.40.0])
|
||||
GETTEXT_PACKAGE=upower
|
||||
AC_SUBST([GETTEXT_PACKAGE])
|
||||
AM_GLIB_GNU_GETTEXT
|
||||
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[gettext domain])
|
||||
|
||||
AM_GNU_GETTEXT_VERSION([0.17])
|
||||
AM_GNU_GETTEXT([external])
|
||||
|
||||
AC_SUBST([GETTEXT_PACKAGE],[${PACKAGE_TARNAME}])
|
||||
AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME],[Define to the gettext package name])
|
||||
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue