mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
autogen.sh: advice about installing libtool
libtool not being present in a system meant that this cryptic error about LT_INIT would be shown: sources/glue/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined sources/glue/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT' sources/glue/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again. sources/glue/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure sources/glue/Makefile.am:1: its definition is in aclocal's search path. autoreconf: automake failed with exit status: 1
This commit is contained in:
parent
9695757083
commit
4000100604
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ which autoreconf > /dev/null
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
echo "Please install autoconf" && exit 1;
|
echo "Please install autoconf" && exit 1;
|
||||||
fi
|
fi
|
||||||
|
which libtool > /dev/null 2>&1
|
||||||
|
if [ $? -ne 0 ] ; then
|
||||||
|
echo "Please install libtool" && exit 1;
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p m4
|
mkdir -p m4
|
||||||
autoreconf -i --force --warnings=none -I . -I m4 && \
|
autoreconf -i --force --warnings=none -I . -I m4 && \
|
||||||
./configure --enable-maintainer-mode $*
|
./configure --enable-maintainer-mode $*
|
||||||
|
|
Loading…
Reference in a new issue