File: configure.ac

package info (click to toggle)
poppler-sharp 0.0.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 396 kB
  • ctags: 32
  • sloc: sh: 625; cs: 72; makefile: 60
file content (28 lines) | stat: -rw-r--r-- 957 bytes parent folder | download
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.64])
AC_INIT([poppler-sharp], [0.0.1], [jacinto.m.shy@gmail.com])
AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2 tar-ustar])

PKG_CHECK_MODULES([GTKSHARP], [gtk-sharp-2.0])
PKG_CHECK_MODULES([GAPI], [gapi-2.0])
PKG_CHECK_MODULES([MONO], [mono])
AC_ARG_WITH([poppler-glib-dir],
            [AC_HELP_STRING([--with-poppler-glib-dir=DIR],
                            [glib folder in poppler source directory])],
            [POPPLER_GLIB_DIR="$withval"
             enable_autogen_api=yes],
            [enable_autogen_api=no])
AC_SUBST([POPPLER_GLIB_DIR])
AM_CONDITIONAL(ENABLE_AUTOGEN_API, test "$enable_autogen_api" = "yes")

SHAMROCK_FIND_MONO_2_0_COMPILER
SHAMROCK_CHECK_MONO_2_0_GAC_ASSEMBLIES(Mono.Cairo)

AC_CONFIG_FILES([
    Makefile
    sources/poppler-sharp.sources
    sources/poppler-sharp.pc
])
AC_OUTPUT