1 # ovirt viewer console application
2 # Copyright (C) 2008 Red Hat Inc.
3 # Written by Richard W.M. Jones <rjones@redhat.com>
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 AC_INIT(ovirt-viewer, 0.1)
22 dnl Basic C compiler environment.
28 dnl Check for required packages.
29 dnl Note that we are using GLib threads, which are supported on Linux
30 dnl and Windows, but possibly not on some obscure platforms.
32 PKG_CHECK_MODULES([OVIRT_VIEWER],
33 [gtk+-2.0 gtk-vnc-1.0 glib-2.0 libxml-2.0 gnutls gthread-2.0 libcurl])
36 AC_CHECK_HEADERS([sys/socket.h sys/un.h windows.h])
38 dnl Default location for CA certificate bundle.
39 AC_ARG_ENABLE([cainfo],
40 [AS_HELP_STRING([--enable-cainfo=PATH],
41 [Set the path to the CA certificate bundle.])],
43 [CAINFO=$sysconfdir/pki/tls/certs/ca-bundle.crt])
47 AC_CONFIG_HEADERS([config.h])
48 AC_CONFIG_FILES([Makefile])