You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But couldn't find how put translations working with intltoolize ...
Move configure.in to configure.ac
Fix Makefile.am:1: warning: 'intl' should not be in SUBDIRS when
AM_GNU_GETTEXT([external]) is used
Copy file name to clipboardExpand all lines: autogen.sh
+2-52Lines changed: 2 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -24,61 +24,11 @@ if expr "$WANT_AUTOMAKE" \> "$automake_version" >/dev/null; then
24
24
exit 1
25
25
fi
26
26
27
-
# Determine version of gettext.
28
-
gettext_version=`gettext --version | head -n 1 | sed -e 's/[^0]*\(0\.[0-9][^ ]*\).*/\1/'`
29
-
confver=`cat configure.in | grep '^AM_GNU_GETTEXT_VERSION('| sed -e 's/^AM_GNU_GETTEXT_VERSION(\([^()]*\))/\1/p'| sed -e 's/^\[\(.*\)\]$/\1/'| sed -e 1q`
30
-
31
-
# Require version as specified in configure.in.
32
-
if expr "$confver"\>"$gettext_version">/dev/null;then
33
-
gettext --version | head -n 1
34
-
echo"Fatal error: gettext version "$confver" or higher is required."
35
-
exit 1
36
-
fi
37
-
38
-
# Force intl regenration to get last update from installed gettext templates
39
-
rm -rf intl/*
40
-
#if [ ! -d intl ]; then
41
-
echo"Setting up internationalization files."
42
-
autopoint --force
43
-
if grep -q datarootdir po/Makefile.in.in;then
44
-
echo autopoint honors dataroot variable, not patching.
45
-
else
46
-
echo autopoint does not honor dataroot variable, patching.
0 commit comments