]> git.ipfire.org Git - thirdparty/systemd.git/blame - configure.ac
fsck: remove distro specific hacks from fsck/quotacheck
[thirdparty/systemd.git] / configure.ac
CommitLineData
fb0951b0 1#
47be870b
LP
2# This file is part of systemd.
3#
3e214785
KS
4# Copyright 2010-2012 Lennart Poettering
5# Copyright 2010-2012 Kay Sievers
47be870b
LP
6#
7# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
8# under the terms of the GNU Lesser General Public License as published by
9# the Free Software Foundation; either version 2.1 of the License, or
47be870b
LP
10# (at your option) any later version.
11#
12# systemd is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5430f7f2 15# Lesser General Public License for more details.
47be870b 16#
5430f7f2 17# You should have received a copy of the GNU Lesser General Public License
47be870b
LP
18# along with systemd; If not, see <http://www.gnu.org/licenses/>.
19
4e949c11
JJ
20AC_PREREQ([2.64])
21
22AC_INIT([systemd],
0428ddb7 23 [196],
4e949c11
JJ
24 [http://bugs.freedesktop.org/enter_bug.cgi?product=systemd],
25 [systemd],
26 [http://www.freedesktop.org/wiki/Software/systemd])
47be870b 27
78a825f2 28AC_CONFIG_SRCDIR([src/core/main.c])
47be870b
LP
29AC_CONFIG_MACRO_DIR([m4])
30AC_CONFIG_HEADERS([config.h])
a80db8bd
JJ
31AC_CONFIG_AUX_DIR([build-aux])
32
4db6d587 33AC_USE_SYSTEM_EXTENSIONS
907dd195 34AC_SYS_LARGEFILE
eb7bbee6 35AC_PREFIX_DEFAULT([/usr])
bbd9b8c2 36AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects check-news])
3e214785 37AM_SILENT_RULES([yes])
47be870b 38AC_CANONICAL_HOST
22be093f 39AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
d59d0a2b 40AS_IF([test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
41 test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"],
42 [AC_DEFINE(ARCH_MIPS, [], [Whether on mips arch])])
47be870b 43
3e214785
KS
44LT_PREREQ(2.2)
45LT_INIT
47be870b 46
1c7dde3e
BN
47# i18n stuff for the PolicyKit policy files
48IT_PROG_INTLTOOL([0.40.0])
49
50GETTEXT_PACKAGE=systemd
51AC_SUBST(GETTEXT_PACKAGE)
52
e9da3678
LP
53AC_PROG_MKDIR_P
54AC_PROG_LN_S
55AC_PROG_SED
3ce4fad8 56AC_PROG_GREP
f975e971 57AC_PROG_AWK
e9da3678 58
47be870b
LP
59AC_PROG_CC
60AC_PROG_CC_C99
61AM_PROG_CC_C_O
62AC_PROG_GCC_TRADITIONAL
47be870b 63
3e214785 64AC_PATH_PROG([M4], [m4])
fe1fed02 65AC_PATH_PROG([XSLTPROC], [xsltproc])
92ec4495 66
86b2e20a
LP
67AC_PATH_PROG([QUOTAON], [quotaon], [/usr/sbin/quotaon])
68AC_PATH_PROG([QUOTACHECK], [quotacheck], [/usr/sbin/quotacheck])
b51fc639 69
86b2e20a
LP
70AC_PATH_PROG([SETCAP], [setcap], [/usr/sbin/setcap])
71
c1c02e07 72AC_PATH_PROG([KILL], [kill], [/usr/bin/kill])
96ede260 73
80a5cbac 74# gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line
92ec4495 75m4_ifdef([GTK_DOC_CHECK], [
9e45e7d8 76GTK_DOC_CHECK([1.18],[--flavour no-tmpl])
6e92b23f 77], [AM_CONDITIONAL([ENABLE_GTK_DOC], [false])])
92ec4495 78
fe1fed02
ZJS
79AS_IF([test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x], [
80 AC_MSG_ERROR([*** GTK doc requested but xsltproc not found])
81])
82
6e92b23f 83m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [
0eaeca1f 84GOBJECT_INTROSPECTION_CHECK([1.31.1])
6e92b23f 85], [AM_CONDITIONAL([HAVE_INTROSPECTION], [false])])
3e214785 86
8d7e170a
LP
87AC_PATH_TOOL(OBJCOPY, objcopy)
88AC_PATH_TOOL(STRINGS, strings)
89AC_PATH_TOOL(GPERF, gperf)
b62cfcea
MB
90if test -z "$GPERF" ; then
91 AC_MSG_ERROR([*** gperf not found])
92fi
9a60da28 93
8d7e170a
LP
94# we use python to build the man page index, and for systemd-python
95have_python=no
96have_python_devel=no
78fbaaca
WK
97
98AC_ARG_WITH([python],
99 [AS_HELP_STRING([--without-python], [Disable building the man page index and systemd-python (default: test)])])
100
101AS_IF([test "x$with_python" != "xno"], [
102 AM_PATH_PYTHON(,, [:])
568c7e02 103 AS_IF([test "$PYTHON" != :], [have_python=yes])
78fbaaca 104])
8d7e170a 105AM_CONDITIONAL([HAVE_PYTHON], [test "$have_python" = "yes"])
568c7e02
ZJS
106
107AS_IF([test "x$with_python" != "xno"], [
108 AC_PATH_PROG(PYTHON_CONFIG, python${PYTHON_VERSION}-config)
109 AS_IF([test -n "$PYTHON_CONFIG"], [
110 have_python_devel=yes
111 PYTHON_CFLAGS="`$PYTHON_CONFIG --cflags`"
112 PYTHON_LIBS="`$PYTHON_CONFIG --ldflags`"
113 AC_SUBST(PYTHON_CFLAGS)
114 AC_SUBST(PYTHON_LIBS)
115 ])
116])
8d7e170a 117AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test "$have_python_devel" = "yes"])
9c4fa6ed 118
eb2e280f 119CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
be1a67d9 120 -pipe \
d1ab0ca0 121 -Wall \
d1ab0ca0 122 -Wextra \
27765dfc 123 -Wno-inline \
d1ab0ca0
LP
124 -Wundef \
125 -Wformat=2 \
126 -Wlogical-op \
127 -Wsign-compare \
128 -Wformat-security \
129 -Wmissing-include-dirs \
130 -Wformat-nonliteral \
131 -Wold-style-definition \
132 -Wpointer-arith \
133 -Winit-self \
134 -Wdeclaration-after-statement \
135 -Wfloat-equal \
136 -Wmissing-prototypes \
137 -Wstrict-prototypes \
138 -Wredundant-decls \
139 -Wmissing-declarations \
140 -Wmissing-noreturn \
141 -Wshadow \
142 -Wendif-labels \
143 -Wcast-align \
144 -Wstrict-aliasing=2 \
145 -Wwrite-strings \
be1a67d9
LP
146 -Wno-long-long \
147 -Wno-overlength-strings \
d1ab0ca0 148 -Wno-unused-parameter \
be1a67d9 149 -Wno-missing-field-initializers \
8745297f 150 -Wno-unused-result \
d200735e 151 -Werror=overflow \
be1a67d9 152 -ffast-math \
d1ab0ca0
LP
153 -fno-common \
154 -fdiagnostics-show-option \
9b85fc6a
GSB
155 -fno-strict-aliasing \
156 -fvisibility=hidden \
157 -ffunction-sections \
5a45a936 158 -fdata-sections \
c1663b9d
LP
159 -fstack-protector \
160 --param=ssp-buffer-size=4])
5a45a936
LP
161AC_SUBST([OUR_CFLAGS], $with_cflags)
162
163CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\
164 -Wp,-D_FORTIFY_SOURCE=2])
165AC_SUBST([OUR_CPPFLAGS], $with_cppflags)
9e7adc3a
LDM
166
167CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\
9b85fc6a 168 -Wl,--as-needed \
5a45a936
LP
169 -Wl,--gc-sections \
170 -Wl,-z,relro \
171 -Wl,-z,now])
172AC_SUBST([OUR_LDFLAGS], $with_ldflags)
47be870b 173
e1718709 174AC_SEARCH_LIBS([mq_open], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
afea26ad 175AC_SEARCH_LIBS([dlsym], [dl], [], [AC_MSG_ERROR([*** Dynamic linking loader library not found])])
85f19d82
MB
176
177save_LIBS="$LIBS"
178LIBS=
47be870b
LP
179AC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])
180AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
85f19d82
MB
181CAP_LIBS="$LIBS"
182LIBS="$save_LIBS"
183AC_SUBST(CAP_LIBS)
47be870b 184
9388e99e 185AC_CHECK_FUNCS([fanotify_init fanotify_mark])
4db17f29 186AC_CHECK_FUNCS([__secure_getenv secure_getenv])
9388e99e 187AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at], [], [], [[#include <sys/types.h>
a8348796 188#include <unistd.h>
9388e99e
MO
189#include <sys/mount.h>
190#include <fcntl.h>]])
a8348796 191
b237ef2c 192# This makes sure pkg.m4 is available.
a9b5b032 193m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config])
d1ab0ca0 194
3e214785 195PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.3.2])
e3043162
TG
196
197# ------------------------------------------------------------------------------
198have_kmod=no
199AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod], [disable loadable modules support]))
200if test "x$enable_kmod" != "xno"; then
201 PKG_CHECK_MODULES(KMOD, [ libkmod >= 5 ],
202 [AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available]) have_kmod=yes], have_kmod=no)
203 if test "x$have_kmod" = xno -a "x$enable_kmod" = xyes; then
204 AC_MSG_ERROR([*** kmod support requested but libraries not found])
205 fi
206fi
207AM_CONDITIONAL(HAVE_KMOD, [test "$have_kmod" = "yes"])
f553b3b1
AO
208
209# ------------------------------------------------------------------------------
210have_blkid=no
211AC_ARG_ENABLE(blkid, AS_HELP_STRING([--disable-blkid], [disable blkid support]))
212if test "x$enable_blkid" != "xno"; then
213 PKG_CHECK_MODULES(BLKID, [ blkid >= 2.20 ],
214 [AC_DEFINE(HAVE_BLKID, 1, [Define if blkid is available]) have_blkid=yes], have_blkid=no)
215 if test "x$have_blkid" = xno -a "x$enable_blkid" = xyes; then
216 AC_MSG_ERROR([*** blkid support requested but libraries not found])
217 fi
218fi
219AM_CONDITIONAL(HAVE_BLKID, [test "$have_blkid" = "yes"])
728beb28 220
3e214785 221# ------------------------------------------------------------------------------
81611586
RS
222have_ima=yes
223AC_ARG_ENABLE([ima], AS_HELP_STRING([--disable-ima],[Disable optional IMA support]),
224 [case "${enableval}" in
225 yes) have_ima=yes ;;
226 no) have_ima=no ;;
227 *) AC_MSG_ERROR(bad value ${enableval} for --disable-ima) ;;
228 esac],
229 [have_ima=yes])
230
231if test "x${have_ima}" != xno ; then
232 AC_DEFINE(HAVE_IMA, 1, [Define if IMA is available])
233fi
234
3e214785 235# ------------------------------------------------------------------------------
591622d7
LP
236have_selinux=no
237AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support]))
238if test "x$enable_selinux" != "xno"; then
3f8cc098 239 PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.1.9],
591622d7 240 [AC_DEFINE(HAVE_SELINUX, 1, [Define if SELinux is available]) have_selinux=yes], have_selinux=no)
591622d7
LP
241 if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then
242 AC_MSG_ERROR([*** SELinux support requested but libraries not found])
243 fi
56cf987f 244fi
591622d7 245AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"])
ed061a8d
MS
246if test "x${have_selinux}" != xno ; then
247 sushell=/sbin/sushell
248else
249 sushell=/bin/bash
250fi
251AC_SUBST(sushell)
56cf987f 252
3e214785 253# ------------------------------------------------------------------------------
807e17f0
LP
254have_xz=no
255AC_ARG_ENABLE(xz, AS_HELP_STRING([--disable-xz], [Disable optional XZ support]))
256if test "x$enable_xz" != "xno"; then
257 PKG_CHECK_MODULES(XZ, [ liblzma ],
258 [AC_DEFINE(HAVE_XZ, 1, [Define if XZ is available]) have_xz=yes], have_xz=no)
807e17f0
LP
259 if test "x$have_xz" = xno -a "x$enable_xz" = xyes; then
260 AC_MSG_ERROR([*** Xz support requested but libraries not found])
261 fi
262fi
263AM_CONDITIONAL(HAVE_XZ, [test "$have_xz" = "yes"])
264
3e214785 265# ------------------------------------------------------------------------------
0213c3f8
LP
266AC_ARG_ENABLE([tcpwrap],
267 AS_HELP_STRING([--disable-tcpwrap],[Disable optional TCP wrappers support]),
268 [case "${enableval}" in
5b6319dc
LP
269 yes) have_tcpwrap=yes ;;
270 no) have_tcpwrap=no ;;
0213c3f8
LP
271 *) AC_MSG_ERROR(bad value ${enableval} for --disable-tcpwrap) ;;
272 esac],
5b6319dc 273 [have_tcpwrap=auto])
0213c3f8 274
5b6319dc 275if test "x${have_tcpwrap}" != xno ; then
0213c3f8
LP
276 ACX_LIBWRAP
277 if test "x${LIBWRAP_LIBS}" = x ; then
5b6319dc
LP
278 if test "x$have_tcpwrap" = xyes ; then
279 AC_MSG_ERROR([*** TCP wrappers support not found.])
0213c3f8 280 fi
812cce32 281 have_tcpwrap=no
0213c3f8 282 else
5b6319dc 283 have_tcpwrap=yes
0213c3f8
LP
284 fi
285else
5b6319dc 286 LIBWRAP_LIBS=
0213c3f8 287fi
0213c3f8
LP
288AC_SUBST(LIBWRAP_LIBS)
289
3e214785 290# ------------------------------------------------------------------------------
5b6319dc
LP
291AC_ARG_ENABLE([pam],
292 AS_HELP_STRING([--disable-pam],[Disable optional PAM support]),
293 [case "${enableval}" in
294 yes) have_pam=yes ;;
295 no) have_pam=no ;;
296 *) AC_MSG_ERROR(bad value ${enableval} for --disable-pam) ;;
297 esac],
298 [have_pam=auto])
299
300if test "x${have_pam}" != xno ; then
301 AC_CHECK_HEADERS(
302 [security/pam_modules.h security/pam_modutil.h security/pam_ext.h],
303 [have_pam=yes],
304 [if test "x$have_pam" = xyes ; then
305 AC_MSG_ERROR([*** PAM headers not found.])
306 fi])
307
308 AC_CHECK_LIB(
309 [pam],
310 [pam_syslog],
311 [have_pam=yes],
312 [if test "x$have_pam" = xyes ; then
313 AC_MSG_ERROR([*** libpam not found.])
314 fi])
315
316 if test "x$have_pam" = xyes ; then
317 PAM_LIBS="-lpam -lpam_misc"
318 AC_DEFINE(HAVE_PAM, 1, [PAM available])
812cce32
LP
319 else
320 have_pam=no
5b6319dc
LP
321 fi
322else
323 PAM_LIBS=
324fi
325AC_SUBST(PAM_LIBS)
326AM_CONDITIONAL([HAVE_PAM], [test "x$have_pam" != xno])
327
3e214785 328# ------------------------------------------------------------------------------
5eda94dd
LP
329AC_ARG_ENABLE([acl],
330 AS_HELP_STRING([--disable-acl],[Disable optional ACL support]),
331 [case "${enableval}" in
332 yes) have_acl=yes ;;
333 no) have_acl=no ;;
334 *) AC_MSG_ERROR(bad value ${enableval} for --disable-acl) ;;
335 esac],
336 [have_acl=auto])
337
338if test "x${have_acl}" != xno ; then
339 AC_CHECK_HEADERS(
340 [sys/acl.h acl/libacl.h],
341 [have_acl=yes],
342 [if test "x$have_acl" = xyes ; then
343 AC_MSG_ERROR([*** ACL headers not found.])
344 fi])
345
346 AC_CHECK_LIB(
347 [acl],
348 [acl_get_file],
349 [have_acl=yes],
350 [if test "x$have_acl" = xyes ; then
351 AC_MSG_ERROR([*** libacl not found.])
352 fi])
353
354 if test "x$have_acl" = xyes ; then
355 ACL_LIBS="-lacl"
356 AC_DEFINE(HAVE_ACL, 1, [ACL available])
357 else
358 have_acl=no
359 fi
360else
361 ACL_LIBS=
362fi
363AC_SUBST(ACL_LIBS)
364AM_CONDITIONAL([HAVE_ACL], [test "x$have_acl" != xno])
365
fb0951b0
LP
366# ------------------------------------------------------------------------------
367AC_ARG_ENABLE([xattr],
368 AS_HELP_STRING([--disable-xattr],[Disable optional XATTR support]),
369 [case "${enableval}" in
370 yes) have_xattr=yes ;;
371 no) have_xattr=no ;;
372 *) AC_MSG_ERROR(bad value ${enableval} for --disable-xattr) ;;
373 esac],
374 [have_xattr=auto])
375
376if test "x${have_xattr}" != xno ; then
377 AC_CHECK_HEADERS(
378 [attr/xattr.h],
379 [have_xattr=yes],
380 [if test "x$have_xattr" = xyes ; then
381 AC_MSG_ERROR([*** XATTR headers not found.])
382 fi])
383
384 AC_CHECK_LIB(
385 [attr],
386 [fsetxattr],
387 [have_xattr=yes],
388 [if test "x$have_xattr" = xyes ; then
389 AC_MSG_ERROR([*** libattr not found.])
390 fi])
391
392 if test "x$have_xattr" = xyes ; then
393 XATTR_LIBS="-lattr"
394 AC_DEFINE(HAVE_XATTR, 1, [XATTR available])
395 else
396 have_xattr=no
397 fi
398else
399 XATTR_LIBS=
400fi
401AC_SUBST(XATTR_LIBS)
402AM_CONDITIONAL([HAVE_XATTR], [test "x$have_xattr" != xno])
403
7560fffc 404# ------------------------------------------------------------------------------
feb12d3e 405AC_ARG_ENABLE([gcrypt],
7560fffc
LP
406 AS_HELP_STRING([--disable-gcrypt],[Disable optional GCRYPT support]),
407 [case "${enableval}" in
408 yes) have_gcrypt=yes ;;
409 no) have_gcrypt=no ;;
410 *) AC_MSG_ERROR(bad value ${enableval} for --disable-gcrypt) ;;
411 esac],
412 [have_gcrypt=auto])
413
414if test "x${have_gcrypt}" != xno ; then
415 AM_PATH_LIBGCRYPT(
416 [1.4.5],
417 [have_gcrypt=yes],
418 [if test "x$have_gcrypt" = xyes ; then
419 AC_MSG_ERROR([*** GCRYPT headers not found.])
420 fi])
421
422 if test "x$have_gcrypt" = xyes ; then
423 GCRYPT_LIBS="$LIBGCRYPT_LIBS"
424 GCRYPT_CFLAGS="$LIBGCRYPT_CFLAGS"
425 AC_DEFINE(HAVE_GCRYPT, 1, [GCRYPT available])
426 else
427 have_gcrypt=no
428 fi
429else
430 GCRYPT_LIBS=
431 GCRYPT_CFLAGS=
432fi
433AC_SUBST(GCRYPT_LIBS)
434AC_SUBST(GCRYPT_CFLAGS)
435AM_CONDITIONAL([HAVE_GCRYPT], [test "x$have_gcrypt" != xno])
436
3e214785 437# ------------------------------------------------------------------------------
4927fcae
LP
438AC_ARG_ENABLE([audit],
439 AS_HELP_STRING([--disable-audit],[Disable optional AUDIT support]),
440 [case "${enableval}" in
441 yes) have_audit=yes ;;
442 no) have_audit=no ;;
443 *) AC_MSG_ERROR(bad value ${enableval} for --disable-audit) ;;
444 esac],
445 [have_audit=auto])
446
447if test "x${have_audit}" != xno ; then
448 AC_CHECK_HEADERS(
449 [libaudit.h],
450 [have_audit=yes],
451 [if test "x$have_audit" = xyes ; then
452 AC_MSG_ERROR([*** AUDIT headers not found.])
453 fi])
454
455 AC_CHECK_LIB(
456 [audit],
457 [audit_open],
458 [have_audit=yes],
459 [if test "x$have_audit" = xyes ; then
460 AC_MSG_ERROR([*** libaudit not found.])
461 fi])
462
463 if test "x$have_audit" = xyes ; then
464 AUDIT_LIBS="-laudit"
465 AC_DEFINE(HAVE_AUDIT, 1, [AUDIT available])
466 else
467 have_audit=no
468 fi
469else
470 AUDIT_LIBS=
471fi
472AC_SUBST(AUDIT_LIBS)
473
3e214785 474# ------------------------------------------------------------------------------
7f4e0805
LP
475have_libcryptsetup=no
476AC_ARG_ENABLE(libcryptsetup, AS_HELP_STRING([--disable-libcryptsetup], [disable libcryptsetup tools]))
477if test "x$enable_libcryptsetup" != "xno"; then
880a599e 478 PKG_CHECK_MODULES(LIBCRYPTSETUP, [ libcryptsetup >= 1.4.2 ],
7f4e0805 479 [AC_DEFINE(HAVE_LIBCRYPTSETUP, 1, [Define if libcryptsetup is available]) have_libcryptsetup=yes], have_libcryptsetup=no)
7f4e0805 480 if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then
591622d7 481 AC_MSG_ERROR([*** libcryptsetup support requested but libraries not found])
7f4e0805
LP
482 fi
483fi
484AM_CONDITIONAL(HAVE_LIBCRYPTSETUP, [test "$have_libcryptsetup" = "yes"])
485
f6a971bc
LP
486# ------------------------------------------------------------------------------
487have_qrencode=no
488AC_ARG_ENABLE(qrencode, AS_HELP_STRING([--disable-qrencode], [disable qrencode support]))
489if test "x$enable_qrencode" != "xno"; then
490 PKG_CHECK_MODULES(QRENCODE, [ libqrencode ],
491 [AC_DEFINE(HAVE_QRENCODE, 1, [Define if qrencode is available]) have_qrencode=yes], have_qrencode=no)
492 if test "x$have_qrencode" = xno -a "x$enable_qrencode" = xyes; then
493 AC_MSG_ERROR([*** qrencode support requested but libraries not found])
494 fi
495fi
496AM_CONDITIONAL(HAVE_QRENCODE, [test "$have_qrencode" = "yes"])
497
7b17a7d7
LP
498# ------------------------------------------------------------------------------
499have_microhttpd=no
500AC_ARG_ENABLE(microhttpd, AS_HELP_STRING([--disable-microhttpd], [disable microhttpd support]))
501if test "x$enable_microhttpd" != "xno"; then
59bb9d9a 502 PKG_CHECK_MODULES(MICROHTTPD, [libmicrohttpd >= 0.9.5],
7b17a7d7
LP
503 [AC_DEFINE(HAVE_MICROHTTPD, 1, [Define if microhttpd is available]) have_microhttpd=yes], have_microhttpd=no)
504 if test "x$have_microhttpd" = xno -a "x$enable_microhttpd" = xyes; then
505 AC_MSG_ERROR([*** microhttpd support requested but libraries not found])
506 fi
507fi
508AM_CONDITIONAL(HAVE_MICROHTTPD, [test "$have_microhttpd" = "yes"])
509
3e214785 510# ------------------------------------------------------------------------------
27669061
MV
511have_binfmt=no
512AC_ARG_ENABLE(binfmt, AS_HELP_STRING([--disable-binfmt], [disable binfmt tool]))
513if test "x$enable_binfmt" != "xno"; then
be31376e 514 have_binfmt=yes
27669061
MV
515fi
516AM_CONDITIONAL(ENABLE_BINFMT, [test "$have_binfmt" = "yes"])
517
3e214785 518# ------------------------------------------------------------------------------
e5e83e83
LP
519have_vconsole=no
520AC_ARG_ENABLE(vconsole, AS_HELP_STRING([--disable-vconsole], [disable vconsole tool]))
521if test "x$enable_vconsole" != "xno"; then
be31376e 522 have_vconsole=yes
e5e83e83
LP
523fi
524AM_CONDITIONAL(ENABLE_VCONSOLE, [test "$have_vconsole" = "yes"])
525
3e214785 526# ------------------------------------------------------------------------------
e5e83e83
LP
527have_readahead=no
528AC_ARG_ENABLE(readahead, AS_HELP_STRING([--disable-readahead], [disable readahead tools]))
529if test "x$enable_readahead" != "xno"; then
be31376e 530 have_readahead=yes
e5e83e83
LP
531fi
532AM_CONDITIONAL(ENABLE_READAHEAD, [test "$have_readahead" = "yes"])
533
3e214785 534# ------------------------------------------------------------------------------
4de85612
LP
535have_quotacheck=no
536AC_ARG_ENABLE(quotacheck, AS_HELP_STRING([--disable-quotacheck], [disable quotacheck tools]))
537if test "x$enable_quotacheck" != "xno"; then
be31376e 538 have_quotacheck=yes
4de85612
LP
539fi
540AM_CONDITIONAL(ENABLE_QUOTACHECK, [test "$have_quotacheck" = "yes"])
541
3e214785 542# ------------------------------------------------------------------------------
4de85612
LP
543have_randomseed=no
544AC_ARG_ENABLE(randomseed, AS_HELP_STRING([--disable-randomseed], [disable randomseed tools]))
545if test "x$enable_randomseed" != "xno"; then
be31376e 546 have_randomseed=yes
4de85612
LP
547fi
548AM_CONDITIONAL(ENABLE_RANDOMSEED, [test "$have_randomseed" = "yes"])
549
3e214785 550# ------------------------------------------------------------------------------
2a018e83
KS
551have_logind=no
552AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon]))
553if test "x$enable_logind" != "xno"; then
be31376e 554 have_logind=yes
2a018e83
KS
555fi
556AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"])
4c80c73c 557AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(HAVE_LOGIND, [1], [Logind support available]) ])
2a018e83 558
3e214785 559# ------------------------------------------------------------------------------
b2e9fb99
MV
560have_hostnamed=no
561AC_ARG_ENABLE(hostnamed, AS_HELP_STRING([--disable-hostnamed], [disable hostname daemon]))
562if test "x$enable_hostnamed" != "xno"; then
be31376e 563 have_hostnamed=yes
b2e9fb99
MV
564fi
565AM_CONDITIONAL(ENABLE_HOSTNAMED, [test "$have_hostnamed" = "yes"])
566
3e214785 567# ------------------------------------------------------------------------------
f47cd184
MV
568have_timedated=no
569AC_ARG_ENABLE(timedated, AS_HELP_STRING([--disable-timedated], [disable timedate daemon]))
570if test "x$enable_timedated" != "xno"; then
be31376e 571 have_timedated=yes
f47cd184
MV
572fi
573AM_CONDITIONAL(ENABLE_TIMEDATED, [test "$have_timedated" = "yes"])
574
3e214785 575# ------------------------------------------------------------------------------
4cd1eaa5
MV
576have_localed=no
577AC_ARG_ENABLE(localed, AS_HELP_STRING([--disable-localed], [disable locale daemon]))
578if test "x$enable_localed" != "xno"; then
be31376e 579 have_localed=yes
4cd1eaa5
MV
580fi
581AM_CONDITIONAL(ENABLE_LOCALED, [test "$have_localed" = "yes"])
582
3e214785 583# ------------------------------------------------------------------------------
f5e04665
LP
584have_coredump=no
585AC_ARG_ENABLE(coredump, AS_HELP_STRING([--disable-coredump], [disable coredump hook]))
586if test "x$enable_coredump" != "xno"; then
be31376e 587 have_coredump=yes
f5e04665
LP
588fi
589AM_CONDITIONAL(ENABLE_COREDUMP, [test "$have_coredump" = "yes"])
590
b1c4ca25
LP
591# ------------------------------------------------------------------------------
592AC_ARG_WITH(rc-local-script-path-start,
593 AS_HELP_STRING([--with-rc-local-script-path-start=PATH],
594 [Path to /etc/rc.local]),
595 [RC_LOCAL_SCRIPT_PATH_START="$withval"],
596 [RC_LOCAL_SCRIPT_PATH_START="/etc/rc.local"])
597
598AC_ARG_WITH(rc-local-script-path-stop,
599 AS_HELP_STRING([--with-rc-local-script-path-stop=PATH],
600 [Path to /sbin/halt.local]),
601 [RC_LOCAL_SCRIPT_PATH_STOP="$withval"],
602 [RC_LOCAL_SCRIPT_PATH_STOP="/sbin/halt.local"])
603
604AC_DEFINE_UNQUOTED(RC_LOCAL_SCRIPT_PATH_START, ["$RC_LOCAL_SCRIPT_PATH_START"], [Path of /etc/rc.local script])
605AC_DEFINE_UNQUOTED(RC_LOCAL_SCRIPT_PATH_STOP, ["$RC_LOCAL_SCRIPT_PATH_STOP"], [Path of /sbin/halt.local script])
606
607AC_SUBST(RC_LOCAL_SCRIPT_PATH_START)
608AC_SUBST(RC_LOCAL_SCRIPT_PATH_STOP)
609
3e214785
KS
610# ------------------------------------------------------------------------------
611AC_ARG_WITH(firmware-path,
612 AS_HELP_STRING([--with-firmware-path=DIR[[[:DIR[...]]]]],
613 [Firmware search path (default=ROOTPREFIX/lib/firmware/updates:ROOTPREFIX/lib/firmware)]),
614 [], [with_firmware_path="$rootprefix/lib/firmware/updates:$rootprefix/lib/firmware"])
615OLD_IFS=$IFS
616IFS=:
617for i in $with_firmware_path; do
618 if test "x${FIRMWARE_PATH}" = "x"; then
619 FIRMWARE_PATH="\\\"${i}/\\\""
620 else
621 FIRMWARE_PATH="${FIRMWARE_PATH}, \\\"${i}/\\\""
622 fi
623done
624IFS=$OLD_IFS
625AC_SUBST([FIRMWARE_PATH], [$FIRMWARE_PATH])
626
627# ------------------------------------------------------------------------------
628AC_ARG_ENABLE([gudev],
629 AS_HELP_STRING([--disable-gudev], [disable Gobject libudev support @<:@default=enabled@:>@]),
630 [], [enable_gudev=yes])
631AS_IF([test "x$enable_gudev" = "xyes"], [ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0]) ])
3e214785
KS
632AM_CONDITIONAL([ENABLE_GUDEV], [test "x$enable_gudev" = "xyes"])
633
634# ------------------------------------------------------------------------------
635AC_ARG_ENABLE([keymap],
636 AS_HELP_STRING([--disable-keymap], [disable keymap fixup support @<:@default=enabled@:>@]),
637 [], [enable_keymap=yes])
638AS_IF([test "x$enable_keymap" = "xyes"], [
639 AC_PATH_PROG([GPERF], [gperf])
640 if test -z "$GPERF"; then
641 AC_MSG_ERROR([gperf is needed])
642 fi
643
644 AC_CHECK_HEADER([linux/input.h], [:], AC_MSG_ERROR([kernel headers not found]))
645 AC_SUBST([INCLUDE_PREFIX], [$(echo '#include <linux/input.h>' | eval $ac_cpp -E - | sed -n '/linux\/input.h/ {s:.*"\(.*\)/linux/input.h".*:\1:; p; q}')])
646])
647AM_CONDITIONAL([ENABLE_KEYMAP], [test "x$enable_keymap" = "xyes"])
648
649# ------------------------------------------------------------------------------
75db9a77 650have_manpages=no
4c2b0e4e 651AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages]))
fe1fed02
ZJS
652AS_IF([test "x$enable_manpages" != xno], [
653 AS_IF([test "x$enable_manpages" = xyes -a "x$XSLTPROC" = x], [
654 AC_MSG_ERROR([*** Manpages requested but xsltproc not found])
655 ])
656 AS_IF([test "x$XSLTPROC" != x], [have_manpages=yes])
657])
658AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"])
75db9a77 659
3e214785 660# ------------------------------------------------------------------------------
d1ab0ca0 661
0979f285 662AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, arch, gentoo, slackware, altlinux, mandriva, mageia, angstrom or other]))
0571e011
LP
663if test "z$with_distro" = "z"; then
664 if test "$cross_compiling" = yes; then
665 AC_MSG_WARN([Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)])
666 else
c87f7103 667 with_distro=$($GREP '^ID=' /etc/os-release 2>/dev/null | $SED 's/ID=//');
0571e011
LP
668 fi
669 if test "z$with_distro" = "z"; then
3ce4fad8 670 with_distro=other
0571e011
LP
671 fi
672fi
673with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
7d568925 674AC_DEFINE_UNQUOTED(DISTRIBUTION, ["${with_distro}"], [Target Distribution])
0571e011 675
34eff652
LP
676# Location of the init scripts as mandated by LSB
677SYSTEM_SYSVINIT_PATH=/etc/init.d
f1dd0c3f 678SYSTEM_SYSVRCND_PATH=/etc/rc.d
34eff652 679
f975e971 680M4_DEFINES=
12e84679 681
0571e011
LP
682case $with_distro in
683 fedora)
684 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
2c696a96 685 AC_DEFINE(TARGET_FEDORA, [], [Target is Fedora/RHEL])
f975e971 686 M4_DEFINES=-DTARGET_FEDORA=1
0571e011 687 ;;
3ce4fad8 688 opensuse|suse)
0571e011 689 SYSTEM_SYSVRCND_PATH=/etc/init.d
634826b5 690 AC_DEFINE(TARGET_SUSE, [], [Target is openSUSE/SLE])
f975e971 691 M4_DEFINES=-DTARGET_SUSE=1
0571e011
LP
692 ;;
693 debian)
0571e011 694 SYSTEM_SYSVRCND_PATH=/etc
858dae18 695 AC_DEFINE(TARGET_DEBIAN, [], [Target is Debian])
f975e971 696 M4_DEFINES=-DTARGET_DEBIAN=1
0571e011 697 ;;
d7c114c0 698 arch)
4bf43a32
TG
699 SYSTEM_SYSVINIT_PATH=
700 SYSTEM_SYSVRCND_PATH=
d7c114c0 701 AC_DEFINE(TARGET_ARCH, [], [Target is ArchLinux])
f975e971 702 M4_DEFINES=-DTARGET_ARCH=1
d7c114c0 703 ;;
f2b4af1c 704 gentoo)
07459bb6
FF
705 SYSTEM_SYSVINIT_PATH=
706 SYSTEM_SYSVRCND_PATH=
f2b4af1c 707 AC_DEFINE(TARGET_GENTOO, [], [Target is Gentoo])
f975e971 708 M4_DEFINES=-DTARGET_GENTOO=1
f2b4af1c 709 ;;
65c8976a
MS
710 slackware)
711 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
65c8976a 712 AC_DEFINE(TARGET_SLACKWARE, [], [Target is Slackware])
f975e971 713 M4_DEFINES=-DTARGET_SLACKWARE=1
65c8976a 714 ;;
f5c88ec1
MV
715 frugalware)
716 SYSTEM_SYSVINIT_PATH=/etc/rc.d
f5c88ec1 717 AC_DEFINE(TARGET_FRUGALWARE, [], [Target is Frugalware])
f975e971 718 M4_DEFINES=-DTARGET_FRUGALWARE=1
f5c88ec1 719 ;;
a338bab5
AS
720 altlinux)
721 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
a338bab5 722 AC_DEFINE(TARGET_ALTLINUX, [], [Target is ALTLinux])
f975e971 723 M4_DEFINES=-DTARGET_ALTLINUX=1
a338bab5 724 ;;
1de4d79b
AB
725 mandriva)
726 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
1de4d79b 727 AC_DEFINE(TARGET_MANDRIVA, [], [Target is Mandriva])
f975e971 728 M4_DEFINES=-DTARGET_MANDRIVA=1
1de4d79b 729 ;;
1bd8b818
KK
730 angstrom)
731 SYSTEM_SYSVRCND_PATH=/etc
732 AC_DEFINE(TARGET_ANGSTROM, [], [Target is Ångström])
f975e971 733 M4_DEFINES=-DTARGET_ANGSTROM=1
1bd8b818 734 ;;
6fdae8a6
DM
735 mageia)
736 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
737 AC_DEFINE(TARGET_MAGEIA, [], [Target is Mageia])
fbf5b126 738 M4_DEFINES=-DTARGET_MAGEIA=1
6fdae8a6 739 ;;
bf024b02 740 other)
0571e011
LP
741 ;;
742 *)
bf024b02 743 AC_MSG_ERROR([Your distribution (${with_distro}) is not yet supported, SysV init scripts could not be found! (patches welcome); you can specify --with-distro=other to skip this check])
0571e011
LP
744 ;;
745esac
746
136337ff 747AC_ARG_WITH([sysvinit-path],
be31376e
KS
748 [AS_HELP_STRING([--with-sysvinit-path=PATH],
749 [Specify the path to where the SysV init scripts are located @<:@default=based on distro@:>@])],
750 [SYSTEM_SYSVINIT_PATH="$withval"],
751 [])
136337ff
TFH
752
753AC_ARG_WITH([sysvrcd-path],
754 [AS_HELP_STRING([--with-sysvrcd-path=PATH],
755 [Specify the path to the base directory for the SysV rcN.d directories @<:@default=based on distro@:>@])],
756 [SYSTEM_SYSVRCND_PATH="$withval"],
757 [])
758
0571e011 759AC_SUBST(SYSTEM_SYSVINIT_PATH)
d64b723a 760AC_SUBST(SYSTEM_SYSVRCND_PATH)
f975e971 761AC_SUBST(M4_DEFINES)
0571e011 762
07459bb6
FF
763if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
764 AC_DEFINE(HAVE_SYSV_COMPAT, [], [SysV init scripts and rcN.d links are supported.])
765 SYSTEM_SYSV_COMPAT="yes"
f975e971 766 M4_DEFINES="$M4_DEFINES -DHAVE_SYSV_COMPAT"
07459bb6
FF
767elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
768 AC_MSG_ERROR([*** You need both --with-sysvinit-path=PATH and --with-sysvrcd-path=PATH to enable SysV compatibility support, or both empty to disable it.])
769else
770 SYSTEM_SYSV_COMPAT="no"
771fi
772
bef2733f 773AC_ARG_WITH([tty-gid],
a05ea46d 774 [AS_HELP_STRING([--with-tty-gid=GID],
bef2733f
LP
775 [Specify the numeric GID of the 'tty' group])],
776 [AC_DEFINE_UNQUOTED(TTY_GID, [$withval], [GID of the 'tty' group])],
777 [])
778
0571e011
LP
779AM_CONDITIONAL(TARGET_FEDORA, test x"$with_distro" = xfedora)
780AM_CONDITIONAL(TARGET_SUSE, test x"$with_distro" = xsuse)
781AM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian)
d7c114c0 782AM_CONDITIONAL(TARGET_ARCH, test x"$with_distro" = xarch)
f2b4af1c 783AM_CONDITIONAL(TARGET_GENTOO, test x"$with_distro" = xgentoo)
65c8976a 784AM_CONDITIONAL(TARGET_SLACKWARE, test x"$with_distro" = xslackware)
f5c88ec1 785AM_CONDITIONAL(TARGET_FRUGALWARE, test x"$with_distro" = xfrugalware)
a338bab5 786AM_CONDITIONAL(TARGET_ALTLINUX, test x"$with_distro" = xaltlinux)
1de4d79b 787AM_CONDITIONAL(TARGET_MANDRIVA, test x"$with_distro" = xmandriva)
1bd8b818 788AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom)
6fdae8a6 789AM_CONDITIONAL(TARGET_MAGEIA, test x"$with_distro" = xmageia)
0571e011 790
cca4aeee 791AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes")
cd3f8b7d 792
d2d12cd1
LP
793AC_ARG_WITH([dbuspolicydir],
794 AS_HELP_STRING([--with-dbuspolicydir=DIR], [D-Bus policy directory]),
795 [],
796 [with_dbuspolicydir=`pkg-config --variable=sysconfdir dbus-1`/dbus-1/system.d])
d122948d 797
d2d12cd1
LP
798AC_ARG_WITH([dbussessionservicedir],
799 AS_HELP_STRING([--with-dbussessionservicedir=DIR], [D-Bus session service directory]),
800 [],
801 [with_dbussessionservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`])
d122948d 802
d2d12cd1
LP
803AC_ARG_WITH([dbussystemservicedir],
804 AS_HELP_STRING([--with-dbussystemservicedir=DIR], [D-Bus system service directory]),
805 [],
806 [with_dbussystemservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../system-services])
d122948d 807
d2d12cd1
LP
808AC_ARG_WITH([dbusinterfacedir],
809 AS_HELP_STRING([--with-dbusinterfacedir=DIR], [D-Bus interface directory]),
810 [],
811 [with_dbusinterfacedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../interfaces])
d122948d 812
b8079ae1
KS
813AC_ARG_WITH([rootprefix],
814 AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
39ad55a9 815 [], [with_rootprefix=${ac_default_prefix}])
d2d12cd1 816
ae446765
KS
817AC_ARG_WITH([rootlibdir],
818 AS_HELP_STRING([--with-rootlibdir=DIR], [Root directory for libraries necessary for boot]),
819 [],
820 [with_rootlibdir=${libdir}])
821
9d3203b4 822AC_ARG_WITH([pamlibdir],
b0cca7d8 823 AS_HELP_STRING([--with-pamlibdir=DIR], [Directory for PAM modules]),
9d3203b4
KS
824 [],
825 [with_pamlibdir=${with_rootlibdir}/security])
826
bc9bdbba
MG
827AC_ARG_ENABLE([split-usr],
828 AS_HELP_STRING([--enable-split-usr], [Assume that /bin, /sbin aren\'t symlinks into /usr]),
829 [],
830 [AS_IF([test "x${ac_default_prefix}" != "x${with_rootprefix}"], [
831 enable_split_usr=yes
832 ], [
833 enable_split_usr=no
834 ])])
835
836AS_IF([test "x${enable_split_usr}" = "xyes"], [
2c6db6fb 837 AC_DEFINE(HAVE_SPLIT_USR, 1, [Define if /bin, /sbin aren't symlinks into /usr])
bc9bdbba 838])
2c6db6fb 839
d2d12cd1
LP
840AC_SUBST([dbuspolicydir], [$with_dbuspolicydir])
841AC_SUBST([dbussessionservicedir], [$with_dbussessionservicedir])
842AC_SUBST([dbussystemservicedir], [$with_dbussystemservicedir])
843AC_SUBST([dbusinterfacedir], [$with_dbusinterfacedir])
8c6db833 844AC_SUBST([pamlibdir], [$with_pamlibdir])
b8079ae1 845AC_SUBST([rootprefix], [$with_rootprefix])
ae446765 846AC_SUBST([rootlibdir], [$with_rootlibdir])
8c4a3079 847
3e214785
KS
848AC_CONFIG_FILES([
849 Makefile po/Makefile.in
bb061708
KS
850 docs/libudev/Makefile
851 docs/libudev/version.xml
852 docs/gudev/Makefile
853 docs/gudev/version.xml
3e214785
KS
854])
855
a45a909f 856AC_OUTPUT
ae446765 857AC_MSG_RESULT([
0571e011
LP
858 $PACKAGE_NAME $VERSION
859
2c696a96 860 Distribution: ${with_distro}
07459bb6 861 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
0571e011
LP
862 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
863 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
7f4e0805 864 libcryptsetup: ${have_libcryptsetup}
5b6319dc
LP
865 tcpwrap: ${have_tcpwrap}
866 PAM: ${have_pam}
12716238 867 AUDIT: ${have_audit}
81611586 868 IMA: ${have_ima}
12716238 869 SELinux: ${have_selinux}
807e17f0 870 XZ: ${have_xz}
5eda94dd 871 ACL: ${have_acl}
fb0951b0 872 XATTR: ${have_xattr}
7560fffc 873 GCRYPT: ${have_gcrypt}
f6a971bc 874 QRENCODE: ${have_qrencode}
7b17a7d7 875 MICROHTTPD: ${have_microhttpd}
27669061 876 binfmt: ${have_binfmt}
e5e83e83
LP
877 vconsole: ${have_vconsole}
878 readahead: ${have_readahead}
4de85612
LP
879 quotacheck: ${have_quotacheck}
880 randomseed: ${have_randomseed}
2a018e83 881 logind: ${have_logind}
b2e9fb99 882 hostnamed: ${have_hostnamed}
f47cd184 883 timedated: ${have_timedated}
4cd1eaa5 884 localed: ${have_localed}
f5e04665 885 coredump: ${have_coredump}
e3043162 886 kmod: ${have_kmod}
f553b3b1 887 blkid: ${have_blkid}
3e214785 888 firmware path: ${FIRMWARE_PATH}
3e214785
KS
889 gudev: ${enable_gudev}
890 gintrospection: ${enable_introspection}
891 keymap: ${enable_keymap}
8d7e170a
LP
892 Python: ${have_python}
893 Python Headers: ${have_python_devel}
3e214785 894
8c4a3079 895 prefix: ${prefix}
b8079ae1 896 rootprefix: ${with_rootprefix}
3e214785
KS
897 sysconf dir: ${sysconfdir}
898 datarootdir: ${datarootdir}
899 includedir: ${includedir}
900 include_prefix: ${INCLUDE_PREFIX}
ae446765
KS
901 lib dir: ${libdir}
902 rootlib dir: ${with_rootlibdir}
2c6db6fb 903 PAM modules dir: ${with_pamlibdir}
2c6db6fb
LP
904 D-Bus policy dir: ${with_dbuspolicydir}
905 D-Bus session dir: ${with_dbussessionservicedir}
906 D-Bus system dir: ${with_dbussystemservicedir}
907 D-Bus interfaces dir: ${with_dbusinterfacedir}
bc9bdbba 908 Split /usr: ${enable_split_usr}
5ee9f21e 909 man pages: ${have_manpages}
fe1fed02 910 gtk-doc: ${enable_gtk_doc}
b1c4ca25
LP
911 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
912 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
66be6554 913
5a45a936
LP
914 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
915 CPPLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
916 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
568c7e02
ZJS
917 PYTHON_CFLAGS: ${PYTHON_CFLAGS}
918 PYTHON_LIBS: ${PYTHON_LIBS}
ae446765 919])