diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-01-22 00:18:40 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-01-22 08:20:22 +0000 |
commit | 5a928c2111858db942319e48fc7a214e939fb1cf (patch) | |
tree | 69d1be476d10e4d18644f167e9d899c48a45b6cc /macosx-setup.sh | |
parent | 2cc9474a3fcfd49a5bcf68945b703e3c6e048ef7 (diff) |
Remove autotools packages if something they depend on changes.
Uninstall automake if autoconf is going to be changed; remove libtool if
autoconf or automake is going to be changed.
Change-Id: I4aced967cb7bed197d3f1a4be851a0bc78c8f12d
Reviewed-on: https://code.wireshark.org/review/6735
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'macosx-setup.sh')
-rwxr-xr-x | macosx-setup.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/macosx-setup.sh b/macosx-setup.sh index 65772b086f..67279b2e94 100755 --- a/macosx-setup.sh +++ b/macosx-setup.sh @@ -181,6 +181,12 @@ install_autoconf() { uninstall_autoconf() { if [ ! -z "$installed_autoconf_version" ] ; then + # + # automake and libtool depend on this, so uninstall them. + # + uninstall_libtool + uninstall_automake + echo "Uninstalling GNU autoconf:" cd autoconf-$installed_autoconf_version $DO_MAKE_UNINSTALL || exit 1 @@ -207,6 +213,11 @@ install_automake() { uninstall_automake() { if [ ! -z "$installed_automake_version" ] ; then + # + # libtool depends on this(?), so uninstall it. + # + uninstall_automake + echo "Uninstalling GNU automake:" cd automake-$installed_automake_version $DO_MAKE_UNINSTALL || exit 1 |