diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-06-08 14:59:20 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-06-08 15:35:58 -0400 |
commit | cd8f4b9917c6fd9aa894ecafc505224e41b947fa (patch) | |
tree | 1232a98a4e1bca2dcf575c62eeb1e944c759e4f3 /aclocal.m4 | |
parent | 1c83fd814b12754be8af211a387cec906ca198b3 (diff) | |
download | haskell-cd8f4b9917c6fd9aa894ecafc505224e41b947fa.tar.gz |
Check target libtool
This will qualify the libtool with the target, e.g.
arch-vendor-os-libtool, instead of simply using libtool.
Reviewers: austin, hvr, bgamari
Reviewed By: bgamari
Subscribers: Ericson2314, ryantrinkle, rwbarton, thomie, erikd
Differential Revision: https://phabricator.haskell.org/D3617
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index adc70bcdde..d566f83e8c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -491,8 +491,13 @@ AC_DEFUN([FP_SETTINGS], else SettingsWindresCommand="$Windres" fi - SettingsLibtoolCommand="libtool" - SettingsTouchCommand='touch' + SettingsTouchCommand='touch' + fi + if test -z "$LibtoolCmd" + then + SettingsLibtoolCommand="libtool" + else + SettingsLibtoolCommand="$LibtoolCmd" fi if test -z "$LlcCmd" then |