diff options
author | midipix <writeonce@midipix.org> | 2024-04-08 08:12:42 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-04-08 08:12:42 +0000 |
commit | 3be227dd0db4a3510d7871d4226a028c9274a5fb (patch) | |
tree | 5517e363e689e9cdab25da9541e65b4febea9a67 /m4 | |
parent | 3324bd65f34c94e849bbf9004acda4c6e922ec8d (diff) | |
download | slibtool-3be227dd0db4a3510d7871d4226a028c9274a5fb.tar.bz2 slibtool-3be227dd0db4a3510d7871d4226a028c9274a5fb.tar.xz |
slibtool.m4: configure env vars: accept LIBTOOL as an alternative to SLIBTOOL.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/slibtool.m4 | 4 |
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 |