File: configure.in

package info (click to toggle)
devilspie 0.23-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 1,092 kB
  • sloc: ansic: 2,392; sh: 1,166; makefile: 60
file content (42 lines) | stat: -rw-r--r-- 955 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Initial blurb
AC_PREREQ(2.52)
AC_INIT([devilspie],[0.23],[http://www.burtonini.com/])
AC_CONFIG_SRCDIR(src/devilspie.c)
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
AC_CONFIG_HEADERS([src/config.h])

# Do the gettext/i18n stuff
GETTEXT_PACKAGE=devilspie
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [The name of the gettext package.])
AC_SUBST(GETTEXT_PACKAGE)

AC_PROG_CC
AM_PROG_CC_STDC

GNOME_COMPILE_WARNINGS(yes)

AC_PROG_INTLTOOL([0.40.0])
AM_GLIB_GNU_GETTEXT

# Check that we actually have the libraries required to build
PKG_CHECK_MODULES(WNCK,
        glib-2.0 >= 2.10.0
        gdk-3.0
        gdk-x11-3.0
        x11
        libwnck-3.0 >= 3.0.0)
AC_SUBST(WNCK_CFLAGS)
AC_SUBST(WNCK_LIBS)

# Check for the POSIX regexpr functions and headers
AC_CHECK_FUNCS([regcomp regexec regfree])
AC_CHECK_HEADERS([sys/types.h regex.h])

AC_OUTPUT([
devilspie.spec
Makefile
src/Makefile
po/Makefile.in
tests/Makefile
])