Forked from
Sbalzarini Lab / Software / Parallel Computing / OpenFPM / openfpm_pdata
2877 commits behind the upstream repository.
-
Pietro Incardona authoredPietro Incardona authored
solve_libtool 573 B
#! /bin/bash
function solve_libtool()
{
source script/show_solutions
source script/discover_package_manager
discover_package_manager $1
pcman=$discover_package_manager_ret
if [ x"$pcman" = x"" ]; then
exit 1
fi
if [ x"$1" = x"osx" ]; then
commands[0]="$pcman install libtool"
possible_solutions "${commands[@]}"
elif [ x"$1" = x"linux" ]; then
pc_install_command $pcman
commands[0]="su -c \"$pc_install_command_ret libtool\""
commands[1]="sudo $pc_install_command_ret libtool"
possible_solutions "${commands[@]}"
fi
}