Use which to detect libtoolize (for HomeBrew)

parent aacb46a5
......@@ -16,14 +16,7 @@ else
AUTOMAKE=automake-${AM_VERSION}
fi
INTLTOOLIZE=/usr/bin/intltoolize
if test -f /opt/local/bin/intltoolize ; then
INTLTOOLIZE=/opt/local/bin/intltoolize
else
INTLTOOLIZE=/usr/bin/intltoolize
fi
INTLTOOLIZE=$(which intltoolize)
libtoolize="libtoolize"
for lt in glibtoolize libtoolize15 libtoolize14 libtoolize13 ; do
......
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