forked from oVirt/mom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
31 lines (23 loc) · 867 Bytes
/
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_INIT([mom],
[m4_esyscmd([build-aux/pkg-version --version])],
[mom-devel@googlegroups.com])
AC_CONFIG_AUX_DIR([build-aux])
# Checks for package release
AC_SUBST([PACKAGE_RELEASE],
[m4_esyscmd([build-aux/pkg-version --release])])
AS_IF([test "x$PACKAGE_VERSION" = x],
AC_MSG_ERROR([package version not defined]))
AS_IF([test "x$PACKAGE_RELEASE" = x],
AC_MSG_ERROR([package release not defined]))
# Automake initialization
AM_INIT_AUTOMAKE([-Wno-portability])
# Checking for build tools
AM_PATH_PYTHON([2.6])
# Checking for nosetests
AC_PATH_PROG([NOSETESTS], [nosetests])
if test "x$NOSETESTS" = "x"; then
AC_MSG_ERROR([python-nose not found, please install it.])
fi
AC_OUTPUT([Makefile])