* autogen.sh (libtool_ver): Force the run of libtoolize --copy
--ltdl before autoreconf so that sxe-libtool.m4 does not cause
an autoreconf error (and therefore no configure generated)
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
+if test ! -d libtldl; then
+ # Force run of libtoolize before autoreconf because newer autoconf
+ # don't deal well with our inclusion of libtldl/m4 in sxe-libtool.m4
+ # if libltdl dir does not exist yet.
+ $LIBTOOLIZE --copy --ltdl > /dev/null 2>&1
+fi
autoreconf $FORCE --verbose --install -Wall
# hack-o-matic. Using gmp's config.{guess,sub} lets us have properer
autoreconf $FORCE --verbose --install -Wall
# hack-o-matic. Using gmp's config.{guess,sub} lets us have properer