13 # CentOS 7 has OpenSSL 1.1 installed in a non-default location.
14 if [ -d /usr/include/openssl11 ]; then
15 add_flag --with-openssl-include=/usr/include/openssl11
18 if [ -d /usr/lib64/openssl11 ]; then
19 add_flag --with-openssl-lib=/usr/lib64/openssl11
22 # RHEL 8 does not ship miniupnpc.
23 if rpm -q miniupnpc-devel >&2; then
24 add_flag --enable-miniupnpc
27 # vde2 is available everywhere except the RHEL family.
32 if [ -n "${HOST:-}" ]; then
34 armhf) triplet=arm-linux-gnueabihf ;;
35 mipsel) triplet=mipsel-linux-gnu ;;
39 add_flag --host="$triplet"
42 add_flag --enable-uml "$@"
49 --with-curses-include=/mingw64/include/ncurses \
55 --with-openssl="$(brew --prefix openssl)" \
56 --with-miniupnpc="$(brew --prefix miniupnpc)" \
63 Linux) conf_linux "$@" ;;
64 MINGW*) conf_windows "$@" ;;
65 Darwin) conf_macos "$@" ;;