summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-12-17 12:36:14 +0000
committerLennart Poettering <lennart@poettering.net>2007-12-17 12:36:14 +0000
commitbb8bd5490a71bc77570653cf53be88edd37679e3 (patch)
treec844fce7acfadab8489b76f9f1b510a52911fdc6 /autogen.sh
parentb898298a5aacb4596646eccbcccdd8afd27e90a5 (diff)
add i18n support
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1593 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index f75ad60..78f26c9 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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