Update cryptest-autotools.sh script

This commit is contained in:
Jeffrey Walton 2020-12-26 01:47:11 -05:00
parent 41fcebcd3a
commit 8eeaab2316
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -42,6 +42,11 @@ elif [[ ! -z $(command -v libtool 2>/dev/null) ]]; then
export LIBTOOLIZE=$(command -v libtool)
fi
# In case libtool is located in /opt, like under MacPorts or Compile Farm
if [[ -z $(command -v glibtoolize 2>/dev/null) ]]; then
export LIBTOOLIZE=$(find /opt -name libtool 2>/dev/null | head -n 1)
fi
#############################################################################
if [[ -z $(command -v aclocal 2>/dev/null) ]]; then