-
Notifications
You must be signed in to change notification settings - Fork 3
/
configure.ac
41 lines (30 loc) · 1 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- Autoconf -*-
AC_PREREQ([2.69])
AC_INIT([kvm-cluster-up], [0.1], [aim@frobware.com])
AC_CONFIG_AUX_DIR([config])
AC_CANONICAL_TARGET
AC_CANONICAL_HOST
AC_CONFIG_MACRO_DIR([config])
AC_CONFIG_MACRO_DIRS([m4])
AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
AM_MAINTAINER_MODE([enable])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Checks for programs.
AC_CHECK_PROG(VIRSH_CHECK,virsh,yes)
if test x"$VIRSH_CHECK" != x"yes"; then
AC_MSG_ERROR([Please install package libvirt-bin.])
fi
AC_CHECK_PROG(VIRT_INSTALL_CHECK,virt-install,yes)
if test x"$VIRT_INSTALL_CHECK" != x"yes"; then
AC_MSG_ERROR([Please install virt-install.])
fi
AC_CHECK_PROG(GENISOIMAGE_INSTALL_CHECK,genisoimage,yes)
if test x"$GENISOIMAGE_INSTALL_CHECK" != x"yes"; then
AC_MSG_ERROR([Please install package genisoimage.])
fi
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
# Checks for libraries.
AC_CONFIG_FILES([Makefile])
AC_OUTPUT