mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 18:29:29 +00:00
More resilient libtoolize path detection
This commit is contained in:
parent
0ab32ee071
commit
a2e6dc9e42
1 changed files with 12 additions and 6 deletions
18
autogen.sh
18
autogen.sh
|
|
@ -16,12 +16,18 @@ else
|
|||
AUTOMAKE=automake-${AM_VERSION}
|
||||
fi
|
||||
|
||||
if test -f /opt/local/bin/glibtoolize ; then
|
||||
# darwin
|
||||
LIBTOOLIZE=/opt/local/bin/glibtoolize
|
||||
else
|
||||
LIBTOOLIZE=libtoolize
|
||||
fi
|
||||
LIBTOOLIZE="libtoolize"
|
||||
for lt in glibtoolize libtoolize15 libtoolize14 libtoolize13 ; do
|
||||
if test -x /usr/bin/$lt ; then
|
||||
LIBTOOLIZE=$lt ; break
|
||||
fi
|
||||
if test -x /usr/local/bin/$lt ; then
|
||||
LIBTOOLIZE=$lt ; break
|
||||
fi
|
||||
if test -x /opt/local/bin/$lt ; then
|
||||
LIBTOOLIZE=$lt ; break
|
||||
fi
|
||||
done
|
||||
|
||||
if test -d /opt/local/share/aclocal ; then
|
||||
ACLOCAL_ARGS="-I /opt/local/share/aclocal"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue