~ubuntu-branches/ubuntu/vivid/simple-scan/vivid

« back to all changes in this revision

Viewing changes to .pc/01-zlib.patch/configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-08-31 01:03:07 UTC
  • mfrom: (1.2.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100831010307-vvqg5951w115ipbm
Tags: 2.31.91-1
* Imported Upstream version 2.31.91
* Refresh 01_lpi.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Process this file with autoconf to produce a configure script.
 
2
 
 
3
AC_INIT(configure.ac)
 
4
AM_INIT_AUTOMAKE(simple-scan, 2.31.91)
 
5
AM_MAINTAINER_MODE
 
6
GNOME_MAINTAINER_MODE_DEFINES
 
7
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
8
 
 
9
AC_ISC_POSIX
 
10
AC_PROG_CC_C_O
 
11
AM_PROG_CC_STDC
 
12
AC_HEADER_STDC
 
13
 
 
14
AM_GCONF_SOURCE_2
 
15
 
 
16
GNOME_COMPILE_WARNINGS(maximum)
 
17
 
 
18
dnl ###########################################################################
 
19
dnl Dependencies
 
20
dnl ###########################################################################
 
21
 
 
22
dnl Run-time dependencies:
 
23
dnl * gnome-icon-theme
 
24
dnl * xdg-utils (for xdg-email)
 
25
 
 
26
GTK_REQUIRED=2.18.0
 
27
 
 
28
PKG_CHECK_MODULES(SIMPLE_SCAN, [
 
29
    gtk+-2.0 >= $GTK_REQUIRED
 
30
    gconf-2.0
 
31
    gmodule-export-2.0
 
32
    gthread-2.0
 
33
    zlib
 
34
    cairo
 
35
    gdk-pixbuf-2.0
 
36
    cairo-pdf
 
37
    dbus-glib-1
 
38
    gudev-1.0
 
39
])
 
40
 
 
41
AC_CHECK_HEADERS([sane/sane.h],[],[AC_MSG_ERROR([SANE not found])])
 
42
AC_CHECK_HEADERS([sane/saneopts.h],[],[AC_MSG_ERROR([SANE not found])])
 
43
AC_CHECK_HEADERS([jpeglib.h],[],[AC_MSG_ERROR([libjpeg not found])])
 
44
 
 
45
dnl ###########################################################################
 
46
dnl Documentation
 
47
dnl ###########################################################################
 
48
 
 
49
GNOME_DOC_INIT
 
50
 
 
51
dnl ###########################################################################
 
52
dnl Internationalization
 
53
dnl ###########################################################################
 
54
 
 
55
IT_PROG_INTLTOOL([0.35.0])
 
56
AC_SUBST(GETTEXT_PACKAGE, simple-scan)
 
57
 
 
58
dnl ###########################################################################
 
59
dnl Files to generate
 
60
dnl ###########################################################################
 
61
 
 
62
AC_OUTPUT([
 
63
Makefile
 
64
data/Makefile
 
65
data/icons/Makefile
 
66
help/Makefile
 
67
po/Makefile.in
 
68
src/Makefile
 
69
])