summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMartin Blanchard <tchaik@gmx.com>2019-02-14 21:27:32 +0000
committerMartin Blanchard <tchaik@gmx.com>2019-05-18 18:38:35 +0200
commitd15e95f785b21be3ca45e9e2cc7143779c0b5176 (patch)
tree314c5f2324abca6de0d1931aa729aeb11c95cdff /autogen.sh
parentfccc47114a6e9586afd639c0d225ea305a85eda0 (diff)
downloadupower-d15e95f785b21be3ca45e9e2cc7143779c0b5176.tar.gz
build: Migrate from intltool to gettext
https://gitlab.freedesktop.org/upower/upower/issues/89
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 2 insertions, 9 deletions
diff --git a/autogen.sh b/autogen.sh
index 4a686aa..c01d09f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -13,21 +13,14 @@ if test -z $AUTORECONF; then
exit 1
fi
-INTLTOOLIZE=`which intltoolize`
-if test -z $INTLTOOLIZE; then
- echo "*** No intltoolize found, please install the intltool package ***"
- exit 1
-fi
-
GTKDOCIZE=`which gtkdocize`
if test -z $GTKDOCIZE; then
echo "*** No GTK-Doc found, please install it ***"
exit 1
fi
-gtkdocize
-autopoint --force
-AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose
+gtkdocize --copy || exit 1
+autoreconf --verbose --force --install || exit 1
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"