mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Fixed bootstrap with different gettext version on the build host
The problem is autopoint can install only all files or no files at all and without updating of M4 macros in any case. Build process failed at make-time of dist because of version mismatch for M4 macros and po/* files.
This commit is contained in:
@@ -27,7 +27,23 @@ else
|
||||
fi
|
||||
|
||||
if existence libtool || existence libtoolize || existence glibtoolize || existence slibtool; then
|
||||
autoreconf -I m4 -i ${1+"$@"}
|
||||
echo "Running autotools..."
|
||||
aclocal -I m4 --install && \
|
||||
libtoolize -c -i -v && \
|
||||
autoconf && \
|
||||
autoheader && \
|
||||
automake -a -c --gnu
|
||||
if test $? -ne 0 || ! test -x configure || ! test -f Makefile.in ; then
|
||||
echo "Autotools failed, retrying with autoreconf..."
|
||||
if ! autoreconf -i ${1+"$@"} ; then
|
||||
echo "Failed to autoreconf, retrying with force install..."
|
||||
if ! autoreconf -i -f ${1+"$@"} ; then
|
||||
echo "*** Failed to create 'configure' and other autotools generated files. ***" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
echo "The ${bs_scrdir-.}/configure is ready to run."
|
||||
else
|
||||
echo "*** No libtoolize (libtool) or libtool found, please install it ***" >&2;
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user