summaryrefslogtreecommitdiffhomepage
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/slibtool.m44
1 files changed, 4 insertions, 0 deletions
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