From 427f4c854808045505589648c94cf1d7c042170e Mon Sep 17 00:00:00 2001 From: Nelson Ferreira Date: Sat, 19 Jan 2013 13:43:40 -0500 Subject: [PATCH] Allow autogen.sh to do the right thing with newer libtool/autoconf * 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 --- autogen.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/autogen.sh b/autogen.sh index b31eb50..0aaedfd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -149,6 +149,12 @@ else LIBTOOLIZE=libtoolize fi +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 -- 2.34.1