X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=42d5550d1e96c9d5f22e2c70df908f22c9fac499;hb=53c851e51c855a0493481881807d6fd8777cda93;hp=46c5d20da45302d44e0b9d5262154a66e9d81973;hpb=d6ef6ae688d7feef234c97d7a80f40a54fbe2b89;p=ovirt-viewer.git diff --git a/configure.ac b/configure.ac index 46c5d20..42d5550 100644 --- a/configure.ac +++ b/configure.ac @@ -19,14 +19,31 @@ AC_INIT(ovirt-viewer, 0.1) AM_INIT_AUTOMAKE +dnl Basic C compiler environment. AC_PROG_INSTALL AC_PROG_CC AM_PROG_CC_C_O +AC_EXEEXT +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], + [gtk+-2.0 gtk-vnc-1.0 glib-2.0 libxml-2.0 gnutls gthread-2.0 libcurl]) -PKG_CHECK_MODULES([OVIRT_VIEWER],[gtk+-2.0 gtk-vnc-1.0 glib-2.0]) +dnl Header files. +AC_CHECK_HEADERS([sys/socket.h sys/un.h windows.h]) +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]) + +dnl Output. AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT