From 000b1a6e046da6fec6b4b61a629330317c27adc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 19 Sep 2013 17:34:27 +0100 Subject: Automatic update of common submodule From 12af105 to 74a6857 --- autogen.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index a6cd8b4c2f..aab1edf350 100755 --- a/autogen.sh +++ b/autogen.sh @@ -88,12 +88,14 @@ toplevel_check $srcfile # autopoint # first remove patch if necessary, then run autopoint, then reapply -if test -f po/Makefile.in.in; -then - patch -p0 -R --forward < common/gettext.patch +if test -d po ; then + if test -f po/Makefile.in.in; + then + patch -p0 -R --forward < common/gettext.patch + fi + tool_run "$autopoint" "--force" "patch -p0 < common/gettext.patch" + patch -p0 < common/gettext.patch fi -tool_run "$autopoint" "--force" "patch -p0 < common/gettext.patch" -patch -p0 < common/gettext.patch # aclocal if test -f acinclude.m4; then rm acinclude.m4; fi -- cgit v1.2.1