Call intltoolize after autoreconf

After removing m4/.gitignore file in previous patch, I started getting
the following error when running autogen.sh.

ln: failed to create symbolic link ‘m4/intltool.m4’: No such file or directory
cp: cannot create regular file ‘m4/intltool.m4’: No such file or directory
intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to 'm4/intltool.m4'

The problem is that intltoolize requires te m4/ directory to be present,
and this directory is actually created by running autoreconf, so it
should be called before intltoolize.

Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
This commit is contained in:
Eduardo Lima (Etrunko) 2015-10-29 17:46:55 -02:00
parent fbce89dd7f
commit 03ec5a69d2

View File

@ -27,8 +27,8 @@ fi
# exists at all times :-(
touch ChangeLog AUTHORS
intltoolize --force
autoreconf -vfi
intltoolize --force
cd $THEDIR