Use which to detect intltoolize (for HomeBrew)

This commit is contained in:
Gautier Pelloux-Prayer 2014-10-27 12:26:39 +01:00
parent cce5ea1923
commit 1c16614c3d
2 changed files with 3 additions and 8 deletions

View file

@ -22,6 +22,7 @@ if test -f /opt/local/bin/glibtoolize ; then
else
LIBTOOLIZE=libtoolize
fi
if test -d /opt/local/share/aclocal ; then
ACLOCAL_ARGS="-I /opt/local/share/aclocal"
fi
@ -30,13 +31,7 @@ if test -d /share/aclocal ; then
ACLOCAL_ARGS="$ACLOCAL_ARGS -I /share/aclocal"
fi
if test -f /opt/local/bin/intltoolize ; then
#darwin
INTLTOOLIZE=/opt/local/bin/intltoolize
else
#on mingw, it is important to invoke intltoolize with an absolute path to avoid a bug
INTLTOOLIZE=/usr/bin/intltoolize
fi
INTLTOOLIZE=$(which intltoolize)
echo "Generating build scripts in linphone..."
set -x

@ -1 +1 @@
Subproject commit aacb46a5dc5c7c9c40844ea52a182c14c08df9fa
Subproject commit 5f9a266adb16fc981ed06ce5d21865a38f47a935