Use which to detect intltoolize (for HomeBrew)

parent cce5ea19
......@@ -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
......
mediastreamer2 @ 5f9a266a
Subproject commit aacb46a5dc5c7c9c40844ea52a182c14c08df9fa
Subproject commit 5f9a266adb16fc981ed06ce5d21865a38f47a935
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment