forked from cmusatyalab/vmnetx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
50 lines (43 loc) · 1.66 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
42
43
44
45
46
47
48
49
50
#
# Copyright (C) 2007-2012 Carnegie Mellon University
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2 of the GNU General Public License as published
# by the Free Software Foundation. A copy of the GNU General Public License
# should have been distributed along with this program in the file
# COPYING.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
## Process this file with autoconf to produce a configure script.
AC_PREREQ(2.63)
AC_INIT([vmnetx], [0.3.3])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_COPYRIGHT([Copyright (C) 2007-2012 Carnegie Mellon University])
AC_CONFIG_SRCDIR([vmnetfs/vmnetfs.c])
AC_CONFIG_HEADERS([config.h])
AC_DISABLE_STATIC
AM_INIT_AUTOMAKE([foreign 1.11 dist-xz subdir-objects])
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CC
AC_PROG_LIBTOOL
AM_PATH_PYTHON([2.6])
PKG_PROG_PKG_CONFIG()
AC_PATH_PROG([PYLINT], [pylint], [:])
AC_ARG_VAR([PYLINT], [path to pylint])
# Checks for libraries.
PKG_CHECK_MODULES([libcurl], [libcurl >= 7.19.1])
PKG_CHECK_MODULES([fuse], [fuse >= 2.7])
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.22])
PKG_CHECK_MODULES([gthread], [gthread-2.0])
PKG_CHECK_MODULES([libxml2], [libxml-2.0])
# glib doesn't have special handling for API changes back to 2.22, so
# set the threshold to 2.26
AC_SUBST([GLIB_VER_DEFINES], ['-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_MIN_REQUIRED'])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT