summaryrefslogtreecommitdiff
path: root/configure.in
blob: abe1c99f15616db3299c2f6a87f97d70f85dc983 (plain)
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
#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)

AC_INIT(liblazy, HEAD, hmacht@suse.de)
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([liblazy/liblazy_hal.c])

# Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_LIBTOOL

# Checks for header files.
AC_CHECK_HEADERS([unistd.h string.h stdio.h stdlib.h errno.h])

PKG_CHECK_MODULES(DBUS, dbus-1 >= 0.30)

DBUS_VERSION="`pkg-config --modversion dbus-1`"

# check for doxygen
AC_CHECK_PROG(DOXYGEN, [doxygen], [doxygen], [])

AC_SUBST([DBUS_LIBS])
AC_SUBST([DBUS_CFLAGS])

AC_CONFIG_FILES([Makefile
		liblazy/Makefile
		liblazy/lazy.pc
		tools/Makefile
		docs/Makefile
		docs/autodocs/Makefile])

AC_OUTPUT