]> git.meshlink.io Git - catta/blobdiff - autogen.sh
add i18n support
[catta] / autogen.sh
index f75ad605a66f2474943afb8fdc78fffa1d12f6e9..78f26c9d632c0cdc5a5e17d9712d31d47add7b2b 100755 (executable)
@@ -49,8 +49,15 @@ else
     rm -rf autom4te.cache
     rm -f config.cache
 
+    rm -f Makefile.am~ configure.ac~
+    # Evil, evil, evil, evil hack
+    sed 's/read dummy/\#/' `which gettextize` | sh -s -- --copy --force
+    test -f Makefile.am~ && mv Makefile.am~ Makefile.am
+    test -f configure.ac~ && mv configure.ac~ configure.ac
+
     test "x$LIBTOOLIZE" = "x" && LIBTOOLIZE=libtoolize
 
+    intltoolize --copy --force --automake
     "$LIBTOOLIZE" -c --force
     run_versioned aclocal "$VERSION" -I common
     run_versioned autoconf 2.59 -Wall