~ubuntu-branches/ubuntu/vivid/modemmanager/vivid-proposed

« back to all changes in this revision

Viewing changes to libqcdm/configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2011-06-16 17:12:41 UTC
  • mfrom: (16.1.1 oneiric)
  • Revision ID: james.westby@ubuntu.com-20110616171241-k8vgsdmbpsvx467q
Tags: 0.4.997-1
* debian/watch: Switch to .bz2 tarballs.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# NOTE
2
 
# This configure.ac is only used when building libqcdm separately from
3
 
# ModemManager.
4
 
#
5
 
 
6
 
AC_PREREQ(2.52)
7
 
 
8
 
AC_INIT(libqcdm, 0.1, dcbw@redhat.com, libqcdm)
9
 
AM_INIT_AUTOMAKE([1.9 subdir-objects tar-ustar no-dist-gzip dist-bzip2])
10
 
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
11
 
AM_MAINTAINER_MODE
12
 
 
13
 
AC_CONFIG_MACRO_DIR([m4])
14
 
 
15
 
AC_CONFIG_HEADERS(config.h)
16
 
 
17
 
dnl Required programs
18
 
AC_PROG_CC
19
 
AM_PROG_CC_C_O
20
 
AC_PROG_INSTALL
21
 
AC_PROG_LIBTOOL
22
 
 
23
 
dnl Define _GNU_SOURCE for various things like strcasestr()
24
 
AC_GNU_SOURCE
25
 
 
26
 
PKG_CHECK_MODULES(MM, glib-2.0 >= 2.18)
27
 
 
28
 
dnl
29
 
dnl Tests
30
 
dnl
31
 
AC_ARG_WITH(tests, AS_HELP_STRING([--with-tests], [Build ModemManager tests]))
32
 
AM_CONDITIONAL(WITH_TESTS, test "x$with_tests" = "xyes")
33
 
case $with_tests in
34
 
    yes)
35
 
        with_tests=yes
36
 
        ;;
37
 
    *)
38
 
        with_tests=no
39
 
        ;;
40
 
esac
41
 
 
42
 
AC_CONFIG_FILES([
43
 
Makefile
44
 
src/Makefile
45
 
tests/Makefile
46
 
])
47
 
AC_OUTPUT
48