From 469936a3bdb13a93791d954a50502cea01f0529d Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 19 Jan 2004 15:45:55 +0000 Subject: putting i18n in place for plugins Original commit message from CVS: putting i18n in place for plugins --- autogen.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 347b6747..8f2d9c29 100755 --- a/autogen.sh +++ b/autogen.sh @@ -35,6 +35,8 @@ version_check "autoconf" "$AUTOCONF autoconf autoconf-2.54 autoconf-2.53 autocon "ftp://ftp.gnu.org/pub/gnu/autoconf/" 2 52 || DIE=1 version_check "automake" "$AUTOMAKE automake automake-1.7 automake-1.6 automake-1.5" \ "ftp://ftp.gnu.org/pub/gnu/automake/" 1 6 || DIE=1 +version_check "autopoint" "autopoint" \ + "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 11 4 || DIE=1 version_check "libtoolize" "$LIBTOOLIZE libtoolize libtoolize14" \ "ftp://ftp.gnu.org/pub/gnu/libtool/" 1 4 0 || DIE=1 version_check "pkg-config" "" \ @@ -59,6 +61,28 @@ fi toplevel_check $srcfile +# autopoint +# older autopoint (< 0.12) has a tendency to complain about mkinstalldirs +if test -e mkinstalldirs; then rm mkinstalldirs; fi +# first remove patch if necessary, then run autopoint, then reapply +if test -f po/Makefile.in.in; +then + patch -p0 -R < common/gettext.patch +fi +tool_run "$autopoint" +patch -p0 < common/gettext.patch + +# autopoint +# older autopoint (< 0.12) has a tendency to complain about mkinstalldirs +if test -e mkinstalldirs; then rm mkinstalldirs; fi +# first remove patch if necessary, then run autopoint, then reapply +if test -f po/Makefile.in.in; +then + patch -p0 -R < common/gettext.patch +fi +tool_run "$autopoint" +patch -p0 < common/gettext.patch + tool_run "$aclocal" "-I m4 -I common/m4 $ACLOCAL_FLAGS" tool_run "$libtoolize" "--copy --force" tool_run "$autoheader" -- cgit