diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index 41db200..25c37a3 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -175,6 +175,10 @@ AC_BEFORE([$0],[SLIBTOOL_INIT]) # --------------------------------------------------------------------------- slibtool_set_flavor() { + if [[ -z "${SLIBTOOL:-}" ]]; then + SLIBTOOL="${LIBTOOL:-}" + fi + _slibtool="${SLIBTOOL:-slibtool}" if [[ "${_slibtool%/*}" = "${_slibtool}" ]]; then