File: configure.ac

package info (click to toggle)
poppler-sharp 0.0.3-4.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 416 kB
  • sloc: sh: 625; makefile: 68
file content (28 lines) | stat: -rw-r--r-- 982 bytes parent folder | download | duplicates (2)
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.3], [https://github.com/jacintos/poppler-sharp/issues])
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_4_5_COMPILER
SHAMROCK_CHECK_MONO_4_5_GAC_ASSEMBLIES(Mono.Cairo)

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