diff --git a/bin/install b/bin/install index 9a189ba..be9a46d 100755 --- a/bin/install +++ b/bin/install @@ -274,6 +274,8 @@ os_based_configure_options() { else local jpeg_path=$(locate libjpeg.so | awk '{ print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1) local libpng_path=$(locate libpng.so | awk '{ print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1) + local libgmp_path=$(locate libgmp.so | awk '{ print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1) + local libsodium_path=$(locate libsodium.so | awk '{ print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1) configure_options="--with-openssl --with-curl --with-zlib --with-readline --with-gettext --with-xsl" if [ -n "$jpeg_path" ]; then @@ -283,6 +285,14 @@ os_based_configure_options() { if [ -n "$libpng_path" ]; then configure_options="$configure_options --with-png-dir=$libpng_path --with-png" fi + + if [ -n "$libgmp_path" ]; then + configure_options="$configure_options --with-gmp" + fi + + if [ -n "$libsodium_path" ]; then + configure_options="$configure_options --with-sodium" + fi fi echo $configure_options