X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=autogen.sh;h=8ff39b4ad0e909e9baee90e4b28c0077510fae16;hb=f5b464fd27cd2f85645cb5172be0587363f6efe3;hp=86a1b35759f9503e586858c6af5444904c665776;hpb=eb278d959d61638d1435dfc4d40fdd283d0465db;p=platform%2Fupstream%2Fgstreamer.git diff --git a/autogen.sh b/autogen.sh index 86a1b35..8ff39b4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -29,6 +29,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 automake17 automake-1.6" \ "ftp://ftp.gnu.org/pub/gnu/automake/" 1 6 || DIE=1 +version_check "autopoint" "autopoint" \ + "ftp://ftp.gnu.org/pub/gnu/gettext/" 0 12 1 || DIE=1 version_check "libtoolize" "libtoolize libtoolize14" \ "ftp://ftp.gnu.org/pub/gnu/libtool/" 1 4 0 || DIE=1 version_check "pkg-config" "" \ @@ -53,6 +55,15 @@ fi 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 < common/gettext.patch +fi +tool_run "$autopoint" +patch -p0 < common/gettext.patch + +# aclocal if test -f acinclude.m4; then rm acinclude.m4; fi tool_run "$aclocal" "-I common/m4 $ACLOCAL_FLAGS"