8
# To add gettext support, use :
9
# gettextize -f -c --no-changelog --intl
10
# rm -f config/gettext.m4
12
# To use an external gettext version, do not use --intl
13
# To use a link instead of copy, do not use -c
15
if [ ! -f config/gettext.m4 ]; then
16
echo "running gettextize"
17
\rm -rf configure.ac~ Makefile.am~
18
sed -e "s/read dummy/# read dummy/" `which gettextize` > ./tmp_gettextize
19
chmod +x ./tmp_gettextize
20
./tmp_gettextize -f -c --no-changelog
21
if [ -f configure.ac~ ]; then
22
mv configure.ac~ configure.ac
24
if [ -f Makefile.am~ ]; then
25
mv Makefile.am~ Makefile.am
27
rm -rf po/*~ tmp_gettextize
30
echo "running aclocal"
33
echo "running autoconf"
36
if [ ! -f config/ltmain.sh ]; then
37
echo "running libtoolize"
38
libtoolize --force --copy
41
echo "running autoheader"
44
echo "running automake"
47
echo "removing autom4te.cache"
8
# Simply run autoreconf
11
# Remove cache directory
48
12
\rm -rf autom4te.cache