blob: afed9923caa3a4ab5ac928841aaf083fc5d82e85 (
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
37
38
39
40
41
42
43
44
|
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.53)
AC_INIT([settings-daemon], 0.0.1, [mallum@o-hand.com])
AC_CONFIG_SRCDIR([settings-daemon.c])
AM_INIT_AUTOMAKE()
AM_CONFIG_HEADER(config.h)
# Checks for programs.
AC_GNU_SOURCE
AC_PROG_CC
dnl TODO: make gconf optional
PKG_CHECK_MODULES(APP, [gconf-2.0 gdk-x11-2.0])
AC_SUBST(APP_CFLAGS)
AC_SUBST(APP_LIBS)
# Find how and where to put the GConf schemas
AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
if test x"$GCONFTOOL" = xno; then
AC_MSG_WARN([gconftool-2 executable not found in your path])
fi
AM_GCONF_SOURCE_2
# Checks for header files.
AC_HEADER_STDC
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_PID_T
# Checks for library functions.
AC_OUTPUT([Makefile])
|