summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2015-04-23 23:35:22 +0100
committerTim-Philipp Müller <tim@centricular.com>2015-04-23 23:35:22 +0100
commit99fa0c5d33590a0594d4ebdb131be42be4ead8ef (patch)
tree73b10d450b23385978d3df957d8ed0099728704d
parent4dd0c0affeee87eb6f5cdba58a84b17c2401c015 (diff)
downloadgstreamer-common-99fa0c5d33590a0594d4ebdb131be42be4ead8ef.tar.gz
autogen.sh.in: only run autopoint if there's a po dir and configure.ac wants gettext
Don't run autopoint just because a po directory exist, also check for AM_GNU_GETTEXT_VERSION in configure.ac. https://bugzilla.gnome.org/show_bug.cgi?id=748058
-rwxr-xr-xautogen.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh.in b/autogen.sh.in
index 20e0d93..43cae35 100755
--- a/autogen.sh.in
+++ b/autogen.sh.in
@@ -79,6 +79,7 @@ toplevel_check $srcfile
# autopoint
if test -d po ; then
+if test -d po && grep ^AM_GNU_GETTEXT_VERSION configure.ac ; then
tool_run "autopoint" "--force"
fi