diff options
-rwxr-xr-x | TestScripts/cryptest-autotools.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/TestScripts/cryptest-autotools.sh b/TestScripts/cryptest-autotools.sh index e4b3a9f0..8992b0f1 100755 --- a/TestScripts/cryptest-autotools.sh +++ b/TestScripts/cryptest-autotools.sh @@ -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 |