diff options
-rwxr-xr-x | autogen.sh | 14 | ||||
-rwxr-xr-x | weechat/autogen.sh | 14 |
2 files changed, 18 insertions, 10 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 diff --git a/weechat/autogen.sh b/weechat/autogen.sh index 7d0db6430..a298045d3 100755 --- a/weechat/autogen.sh +++ b/weechat/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 |