Merge branch 'master' into 'master'

simplify libtoolize detection

See merge request medoc92/recoll!8
This commit is contained in:
Jean-Francois Dockes 2021-10-08 15:01:47 +00:00
commit c182f13c96

View File

@ -4,15 +4,18 @@ set -x
aclocal aclocal
if test X"$HOMEBREW_ENV" != X; then # detect libtoolize on linux or glibtoolize in some systems
glt=`which glibtoolize` if (libtoolize --version) < /dev/null > /dev/null 2>&1; then
fi LIBTOOLIZE=libtoolize
if test X"$glt" != X; then elif (glibtoolize --version) < /dev/null > /dev/null 2>&1; then
$glt --copy LIBTOOLIZE=glibtoolize
else else
libtoolize --copy echo "libtoolize or glibtoolize was not found! Please install libtool." 1>&2
exit 1
fi fi
$LIBTOOLIZE --copy
automake --add-missing --force-missing --copy automake --add-missing --force-missing --copy
autoconf autoconf
# Our ylwrap gets clobbered by the above. # Our ylwrap gets clobbered by the above.