~ubuntu-branches/ubuntu/vivid/isight-firmware-tools/vivid

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2009-03-04 20:19:36 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090304201936-5accw1ub5r75oaxl
Tags: 1.4.1-1
* New upstream release
  - Remove patches(02_ja-po, 03_support_mba, 05_support_macosx_5.5).
* Update debian/rules
  - Add DEB_CONFIGURE_USER_FLAGS and set "--disable-udev --enable-hal"
* Updated Galician debconf templates. (Closes: #512242)
* Update Japanese po. (06_japanese.po.dpatch)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_INIT(isight-firmware-tools, 1.2, https://bugs.launchpad.net/isight-firmware-tools/+filebug)
 
1
AC_INIT(isight-firmware-tools, 1.4.1, https://bugs.launchpad.net/isight-firmware-tools/+filebug)
2
2
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
3
3
AM_MAINTAINER_MODE
4
4
AM_CONFIG_HEADER(config.h)
5
5
AC_CONFIG_FILES(Makefile
 
6
        doc/Makefile
 
7
        src/isight.rules.in
6
8
        src/Makefile
7
 
        doc/Makefile
8
 
        src/isight.rules
9
9
        po/Makefile.in
10
10
        )
11
11
 
16
16
AC_CHECK_HEADERS([gcrypt.h],[],[AC_MSG_ERROR([libgcrypt not found])])
17
17
AC_CHECK_PROG(MAKEINFO,makeinfo,makeinfo)
18
18
 
19
 
PKG_CHECK_MODULES(IFT, [glib-2.0])
 
19
PKG_CHECK_MODULES(IFT, [glib-2.0 >= 2.13.4])
20
20
AC_SUBST(IFT_CFLAGS)
21
21
AC_SUBST(IFT_LIBS)
22
22
 
30
30
 
31
31
dnl whether to provide udev rules and loader
32
32
AC_ARG_ENABLE(udev,
33
 
             [AC_HELP_STRING([--enable-udev],[Enable udev firmware loader])],
 
33
             [AC_HELP_STRING([--disable-udev],[Disable udev firmware loader])],
34
34
             [if test $enableval = "yes" ; then
35
35
                 SUPPORT_UDEV=1
36
36
              else
37
37
                SUPPORT_UDEV=0
38
38
              fi],
39
 
              [SUPPORT_UDEV=0])
 
39
              [SUPPORT_UDEV=1])
40
40
AM_CONDITIONAL(SUPPORT_UDEV, [test ${SUPPORT_UDEV} = 1])
 
41
if test ${SUPPORT_UDEV} = 1 ; then
 
42
   udevdir=${libdir}/udev
 
43
   AC_SUBST(udevdir)
 
44
fi
41
45
 
42
46
dnl whether to provide hal callout
43
47
AC_ARG_ENABLE(hal,
44
 
             [AC_HELP_STRING([--disable-hal],[Disable HAL callout])],
 
48
             [AC_HELP_STRING([--enable-hal],[Enable HAL callout])],
45
49
             [if test $enableval = "yes" ; then
46
50
                 SUPPORT_HAL=1
47
51
              else
48
52
                SUPPORT_HAL=0
49
53
              fi],
50
 
              [SUPPORT_HAL=1])
 
54
              [SUPPORT_HAL=0])
51
55
AM_CONDITIONAL(SUPPORT_HAL, [test ${SUPPORT_HAL} = 1])
52
56
 
53
57
dnl GETTEXT