configure: Add OpenSSL probe

This commit is contained in:
Matt Borgerson 2020-04-26 04:43:46 -07:00
parent c02c245e0f
commit 479070463f
1 changed files with 12 additions and 1 deletions

13
configure vendored
View File

@ -4390,6 +4390,10 @@ fi # test "$opengl" != "no"
# LIBS="$LIBS $epoxy_libs"
# QEMU_CFLAGS="$QEMU_CFLAGS $epoxy_flags"
##########################################
# gtk probe
# Depend on GTK for native file dialog boxes
# FIXME: Add fallback when GTK is unavailable
xemu_gtk="no"
@ -4413,7 +4417,14 @@ if test "$xemu_gtk" != "no"; then
fi
fi
##########################################
# openssl probe
if $pkg_config --exists openssl; then
QEMU_CFLAGS="$QEMU_CFLAGS $($pkg_config --cflags openssl)"
LIBS="$LIBS $($pkg_config --libs openssl)"
else
feature_not_found "openssl" "Install openssl-dev"
fi
##########################################
# libxml2 probe