### Install Dependencies on macOS with Homebrew Source: https://gitlab.com/libidn/libidn2/-/blob/master/CONTRIBUTING.md Installs necessary build tools for Libidn2 on macOS using Homebrew. ```bash brew install autoconf automake libtool gengetopt help2man texinfo ``` -------------------------------- ### Install Dependencies on DNF/RPM Systems Source: https://gitlab.com/libidn/libidn2/-/blob/master/CONTRIBUTING.md Installs necessary build tools and development libraries for Libidn2 on Fedora/RHEL-based systems. ```bash dnf install -y make gcc dnf install -y git autoconf automake libtool gettext-devel patch gperf dnf install -y libunistring-devel valgrind gengetopt help2man dnf install -y texinfo texinfo-tex texlive gtk-doc dblatex dnf install -y libabigail glibc-gconv-extra ``` -------------------------------- ### Install Dependencies on APT/DPKG Systems Source: https://gitlab.com/libidn/libidn2/-/blob/master/CONTRIBUTING.md Installs necessary build tools and development libraries for Libidn2 on Debian-based systems. ```bash apt-get install make gcc apt-get install git autoconf automake libtool gettext autopoint gperf apt-get install libunistring-dev valgrind gengetopt help2man apt-get install texinfo texlive gtk-doc-tools apt-get install abi-compliance-checker abigail-tools ``` -------------------------------- ### Enable Code Coverage Build Source: https://gitlab.com/libidn/libidn2/-/blob/master/README.md Build the library with code coverage enabled. This requires LCOV to be installed. ```bash ./configure --enable-code-coverage make && make check && make code-coverage-capture ```