dnl Check for required packages.
dnl Note that we are using GLib threads, which are supported on Linux
dnl and Windows, but possibly not on some obscure platforms.
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([OVIRT_VIEWER],
dnl Check for required packages.
dnl Note that we are using GLib threads, which are supported on Linux
dnl and Windows, but possibly not on some obscure platforms.
PKG_PROG_PKG_CONFIG
PKG_CHECK_MODULES([OVIRT_VIEWER],
+dnl Default location for CA certificate bundle.
+AC_ARG_ENABLE([cainfo],
+ [AS_HELP_STRING([--enable-cainfo=PATH],
+ [Set the path to the CA certificate bundle.])],
+ [CAINFO=$enableval],
+ [CAINFO=$sysconfdir/pki/tls/certs/ca-bundle.crt])
+AC_SUBST([CAINFO])
+