~jocave/checkbox/hybrid-amd-gpu-mods

« back to all changes in this revision

Viewing changes to providers/plainbox-provider-resource-generic/src/configure.ac

  • Committer: Zygmunt Krynicki
  • Date: 2013-05-17 13:54:25 UTC
  • mto: This revision was merged to the branch mainline in revision 2130.
  • Revision ID: zygmunt.krynicki@canonical.com-20130517135425-cxcenxx5t0qrtbxd
checkbox-ng: add CheckBoxNG sub-project

CheckBoxNG (or lowercase as checkbox-ng, pypi:checkbox-ng) is a clean
implementation of CheckBox on top of PlainBox. It provides a new
executable, 'checkbox' that has some of the same commands that were
previously implemented in the plainbox package.

In particular CheckBoxNG comes with the 'checkbox sru' command
(the same one as in plainbox). Later on this sub-command will be removed
from plainbox.

CheckBoxNG depends on plainbox >= 0.3

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#                                               -*- Autoconf -*-
2
 
# Process this file with autoconf to produce a configure script.
3
 
 
4
 
AC_PREREQ([2.68])
5
 
AC_INIT([plainbox-provider-resource], [0.3], [https://bugs.launchpad.net/plainbox-provider-resource/+filebug])
6
 
AM_INIT_AUTOMAKE
7
 
AC_CONFIG_SRCDIR([80211_resource.c])
8
 
AC_CONFIG_HEADERS([config.h])
9
 
 
10
 
# Checks for programs.
11
 
AC_PROG_CC
12
 
# TODO: remove AM_PROG_CC_C_O when Ubuntu 12.04 is no longer supported
13
 
AM_PROG_CC_C_O
14
 
PKG_PROG_PKG_CONFIG([0.26])
15
 
 
16
 
# Checks for libraries.
17
 
PKG_CHECK_MODULES([LIBNL], [libnl-3.0 >= 0.26 libnl-genl-3.0 >= 0.26])
18
 
AC_SUBST(LIBNL_CFLAGS)
19
 
AC_SUBST(LIBNL_LIBS)
20
 
 
21
 
# Checks for header files.
22
 
AC_CHECK_HEADER([linux/nl80211.h], [], [AC_ERROR([Install linux-libc-dev])])
23
 
AC_DEFINE([HAVE_NL80211_BAND_ATTR_VHT_CAPA], [0],
24
 
          [Define to 1 if <linux/nl80211.h> defines NL80211_BAND_ATTR_VHT_CAPA])
25
 
AC_EGREP_HEADER([NL80211_BAND_ATTR_VHT_CAPA], [linux/nl80211.h],
26
 
                [AC_DEFINE([HAVE_NL80211_BAND_ATTR_VHT_CAPA], 1)])
27
 
AC_DEFINE([HAVE_NL80211_BAND_ATTR_HT_CAPA], [0],
28
 
          [Define to 1 if <linux/nl80211.h> defines NL80211_BAND_ATTR_HT_CAPA])
29
 
AC_EGREP_HEADER([NL80211_BAND_ATTR_HT_CAPA], [linux/nl80211.h],
30
 
                [AC_DEFINE([HAVE_NL80211_BAND_ATTR_HT_CAPA], 1)])
31
 
AC_DEFINE([HAVE_NL80211_BAND_ATTR_VHT_MCS_SET], [0],
32
 
          [Define to 1 if <linux/nl80211.h> defines NL80211_BAND_ATTR_VHT_MCS_SET])
33
 
AC_EGREP_HEADER([NL80211_BAND_ATTR_VHT_MCS_SET], [linux/nl80211.h],
34
 
                [AC_DEFINE([HAVE_NL80211_BAND_ATTR_VHT_MCS_SET], 1)])
35
 
 
36
 
# Checks for typedefs, structures, and compiler characteristics.
37
 
# TODO: re-enable AC_CHECK_HEADER_STDBOOL when Ubuntu 12.04 is no longer supported
38
 
# AC_CHECK_HEADER_STDBOOL
39
 
AC_TYPE_UINT32_T
40
 
 
41
 
# Checks for library functions.
42
 
AC_CHECK_FUNCS([strerror])
43
 
 
44
 
AC_CONFIG_FILES([Makefile])
45
 
AC_OUTPUT