weechat/autogen.sh

21 lines
599 B
Bash
Raw Normal View History

#!/bin/sh
# gettextize updates Makefile.am, configure.in
2005-04-23 15:03:27 +00:00
cp configure.in configure.in.old
cp Makefile.am Makefile.am.old
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
2005-04-23 15:03:27 +00:00
mv configure.in.old configure.in
libtoolize --automake --force --copy
aclocal
# autoheader creates config.h.in needed by autoconf
autoheader
# autoconf creates configure
autoconf
# automake creates Makefile.in
automake --add-missing --copy --gnu