summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-04-12 16:32:24 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-04-12 16:32:24 +0000
commit0da4487a11fd182478de19fb95a99e12d7a68ab9 (patch)
tree3fd6c298a1b49a143628c78e6e6e1d15e7caa472 /autogen.sh
parentfix minor bug with ruby 1.9 and stdout/stderr redirections (diff)
downloadweechat-0da4487a11fd182478de19fb95a99e12d7a68ab9.tar.xz
weechat-0da4487a11fd182478de19fb95a99e12d7a68ab9.zip
Added --auto option, to remove wait for Return key (useful for automatic CVS build scripts)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/autogen.sh b/autogen.sh
index 7d0db6430..a298045d3 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,14 +3,18 @@
# gettextize updates Makefile.am, configure.in
cp configure.in configure.in.old
cp Makefile.am Makefile.am.old
-gettextize --copy --force --intl --no-changelog &&
+if test "$1" = "--auto" ; then
+ grep -v 'read dummy < /dev/tty' $(which gettextize) | /bin/sh -s -- --copy --force --intl --no-changelog
+else
+ gettextize --copy --force --intl --no-changelog
+fi
mv Makefile.am.old Makefile.am
mv configure.in.old configure.in
-libtoolize --automake --force --copy &&
-aclocal &&
+libtoolize --automake --force --copy
+aclocal
# autoheader creates config.h.in needed by autoconf
-autoheader &&
+autoheader
# autoconf creates configure
-autoconf &&
+autoconf
# automake creates Makefile.in
automake --add-missing --copy --gnu