6 AM_INIT_AUTOMAKE(dbus, 0.11)
8 AM_CONFIG_HEADER(config.h)
11 ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
13 GETTEXT_PACKAGE=dbus-1
14 AC_SUBST(GETTEXT_PACKAGE)
15 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[The name of the gettext domain])
17 ## must come before we use the $USE_MAINTAINER_MODE variable later
26 AC_ARG_ENABLE(qt, [ --enable-qt enable Qt-friendly client library],enable_qt=$enableval,enable_qt=auto)
27 AC_ARG_ENABLE(glib, [ --enable-glib enable GLib-friendly client library],enable_glib=$enableval,enable_glib=auto)
28 AC_ARG_ENABLE(tests, [ --enable-tests enable unit test code],enable_tests=$enableval,enable_tests=$USE_MAINTAINER_MODE)
29 AC_ARG_ENABLE(ansi, [ --enable-ansi enable -ansi -pedantic gcc flags],enable_ansi=$enableval,enable_ansi=no)
30 AC_ARG_ENABLE(verbose-mode, [ --enable-verbose-mode support verbose debug mode],enable_verbose_mode=$enableval,enable_verbose_mode=$USE_MAINTAINER_MODE)
31 AC_ARG_ENABLE(asserts, [ --enable-asserts include assertion checks],enable_asserts=$enableval,enable_asserts=$USE_MAINTAINER_MODE)
32 AC_ARG_ENABLE(checks, [ --enable-checks include sanity checks on public API],enable_checks=$enableval,enable_checks=yes)
33 AC_ARG_ENABLE(docs, [ --enable-docs build documentation (requires Doxygen and jade)],enable_docs=$enableval,enable_docs=auto)
34 AC_ARG_ENABLE(gcov, [ --enable-gcov compile with coverage profiling instrumentation (gcc only)],enable_gcov=$enableval,enable_gcov=no)
36 AC_ARG_WITH(xml, [ --with-xml=[libxml/expat] XML library to use])
37 AC_ARG_WITH(init-scripts, [ --with-init-scripts=[redhat] Style of init scripts to install])
38 AC_ARG_WITH(session-socket-dir, [ --with-session-socket-dir=[dirname] Where to put sockets for the per-login-session message bus])
39 AC_ARG_WITH(test-socket-dir, [ --with-test-socket-dir=[dirname] Where to put sockets for make check])
40 AC_ARG_WITH(system-pid-file, [ --with-system-pid-file=[pidfile] PID file for systemwide daemon])
41 AC_ARG_WITH(system-socket, [ --with-system-socket=[filename] UNIX domain socket for systemwide daemon])
43 dnl DBUS_BUILD_TESTS controls unit tests built in to .c files
44 dnl and also some stuff in the test/ subdir
45 AM_CONDITIONAL(DBUS_BUILD_TESTS, test x$enable_tests = xyes)
46 if test x$enable_tests = xyes; then
47 AC_DEFINE(DBUS_BUILD_TESTS,1,[Build test code])
50 if test x$enable_verbose_mode = xyes; then
51 AC_DEFINE(DBUS_ENABLE_VERBOSE_MODE,1,[Support a verbose mode])
53 if test x$enable_asserts = xno; then
54 AC_DEFINE(DBUS_DISABLE_ASSERT,1,[Disable assertion checking])
56 if test x$enable_checks = xno; then
57 AC_DEFINE(DBUS_DISABLE_CHECKS,1,[Disable public API sanity checking])
60 #### gcc warning flags
62 if test "x$GCC" = "xyes"; then
65 *[\ \ ]-Wall[\ \ ]*) ;;
66 *) CFLAGS="$CFLAGS -Wall" ;;
70 *[\ \ ]-Wchar-subscripts[\ \ ]*) ;;
71 *) CFLAGS="$CFLAGS -Wchar-subscripts" ;;
75 *[\ \ ]-Wmissing-declarations[\ \ ]*) ;;
76 *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
80 *[\ \ ]-Wmissing-prototypes[\ \ ]*) ;;
81 *) CFLAGS="$CFLAGS -Wmissing-prototypes" ;;
85 *[\ \ ]-Wnested-externs[\ \ ]*) ;;
86 *) CFLAGS="$CFLAGS -Wnested-externs" ;;
90 *[\ \ ]-Wpointer-arith[\ \ ]*) ;;
91 *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
95 *[\ \ ]-Wcast-align[\ \ ]*) ;;
96 *) CFLAGS="$CFLAGS -Wcast-align" ;;
100 *[\ \ ]-Wsign-compare[\ \ ]*) ;;
101 *) CFLAGS="$CFLAGS -Wsign-compare" ;;
104 if test "x$enable_ansi" = "xyes"; then
106 *[\ \ ]-ansi[\ \ ]*) ;;
107 *) CFLAGS="$CFLAGS -ansi" ;;
111 *[\ \ ]-pedantic[\ \ ]*) ;;
112 *) CFLAGS="$CFLAGS -pedantic" ;;
115 if test x$enable_gcov = xyes; then
117 *[\ \ ]-fprofile-arcs[\ \ ]*) ;;
118 *) CFLAGS="$CFLAGS -fprofile-arcs" ;;
121 *[\ \ ]-ftest-coverage[\ \ ]*) ;;
122 *) CFLAGS="$CFLAGS -ftest-coverage" ;;
125 ## remove optimization
126 CFLAGS=`echo "$CFLAGS" | sed -e 's/-O[0-9]*//g'`
130 if test x$enable_gcov = xyes; then
131 AC_MSG_ERROR([--enable-gcov can only be used with gcc])
136 # let ourselves use our own unstable API
137 CPPFLAGS="-DDBUS_API_SUBJECT_TO_CHANGE=1 $CPPFLAGS"
138 # compress spaces in flags
139 CFLAGS=`echo "$CFLAGS" | sed -e 's/ +/ /g'`
140 CXXFLAGS=`echo "$CXXFLAGS" | sed -e 's/ +/ /g'`
141 CPPFLAGS=`echo "$CPPFLAGS" | sed -e 's/ +/ /g'`
144 if test x$enable_gcov = xyes; then
145 ## so that config.h changes when you toggle gcov support
146 AC_DEFINE_UNQUOTED(DBUS_GCOV_ENABLED, 1, [Defined if gcov is enabled to force a rebuild due to config.h changing])
148 AM_CONDITIONAL(DBUS_GCOV_ENABLED, test x$enable_gcov = xyes)
152 AC_CHECK_SIZEOF(char)
153 AC_CHECK_SIZEOF(short)
154 AC_CHECK_SIZEOF(long)
156 AC_CHECK_SIZEOF(void *)
157 AC_CHECK_SIZEOF(long long)
158 AC_CHECK_SIZEOF(__int64)
160 ### See what our 64 bit type is called
161 AC_MSG_CHECKING([64-bit integer type])
166 dbusint64_constant='(val)'
167 dbusuint64_constant='(val)'
171 dbusint64_constant='(val##L)'
172 dbusuint64_constant='(val##UL)'
174 $ac_cv_sizeof_long_long)
175 dbusint64='long long'
176 dbusint64_constant='(val##LL)'
177 dbusuint64_constant='(val##ULL)'
179 $ac_cv_sizeof___int64)
181 dbusint64_constant='(val##i64)'
182 dbusuint64_constant='(val##ui64)'
186 if test -z "$dbusint64" ; then
187 DBUS_INT64_TYPE="no_int64_type_detected"
190 DBUS_UINT64_CONSTANT=
191 AC_MSG_RESULT([none found])
193 DBUS_INT64_TYPE="$dbusint64"
195 DBUS_INT64_CONSTANT="$dbusint64_constant"
196 DBUS_UINT64_CONSTANT="$dbusuint64_constant"
197 AC_MSG_RESULT($DBUS_INT64_TYPE)
200 AC_SUBST(DBUS_INT64_TYPE)
201 AC_SUBST(DBUS_INT64_CONSTANT)
202 AC_SUBST(DBUS_UINT64_CONSTANT)
203 AC_SUBST(DBUS_HAVE_INT64)
208 #### Atomic integers (checks by Sebastian Wilhelmi for GLib)
209 AC_MSG_CHECKING([whether to use inline assembler routines for atomic integers])
211 if test x"$GCC" = xyes; then
217 AC_MSG_RESULT([i486])
218 AC_DEFINE_UNQUOTED(DBUS_USE_ATOMIC_INT_486, 1, [Use atomic integer implementation for 486])
226 if test x$have_atomic_inc = xyes ; then
227 AC_DEFINE_UNQUOTED(DBUS_HAVE_ATOMIC_INT, 1, [Some atomic integer implementation present])
230 #### Various functions
231 AC_CHECK_LIB(socket,socket)
232 AC_CHECK_LIB(nsl,gethostbyname)
234 AC_CHECK_FUNCS(vsnprintf vasprintf nanosleep usleep poll setenv unsetenv socketpair getgrouplist)
236 AC_CHECK_HEADERS(execinfo.h, [AC_CHECK_FUNCS(backtrace)])
238 AC_CACHE_CHECK([for posix getpwnam_r],
239 ac_cv_func_posix_getpwnam_r,
245 struct passwd pwd, *pwptr = &pwd;
248 error = getpwnam_r ("", &pwd, buffer,
249 sizeof (buffer), &pwptr);
250 return (error < 0 && errno == ENOSYS)
253 [ac_cv_func_posix_getpwnam_r=yes],
254 [ac_cv_func_posix_getpwnam_r=no])])
255 if test "$ac_cv_func_posix_getpwnam_r" = yes; then
256 AC_DEFINE(HAVE_POSIX_GETPWNAM_R,1,
257 [Have POSIX function getpwnam_r])
259 AC_CACHE_CHECK([for nonposix getpwnam_r],
260 ac_cv_func_nonposix_getpwnam_r,
261 [AC_TRY_LINK([#include <pwd.h>],
264 getpwnam_r ("", &pwd, buffer,
266 [ac_cv_func_nonposix_getpwnam_r=yes],
267 [ac_cv_func_nonposix_getpwnam_r=no])])
268 if test "$ac_cv_func_nonposix_getpwnam_r" = yes; then
269 AC_DEFINE(HAVE_NONPOSIX_GETPWNAM_R,1,
270 [Have non-POSIX function getpwnam_r])
274 dnl check for writev header and writev function so we're
275 dnl good to go if HAVE_WRITEV gets defined.
276 AC_CHECK_HEADERS(sys/uio.h, [AC_CHECK_FUNCS(writev)])
278 dnl check for flavours of varargs macros (test from GLib)
279 AC_MSG_CHECKING(for ISO C99 varargs macros in C)
281 int a(int p1, int p2, int p3);
282 #define call_a(...) a(1,__VA_ARGS__)
284 ],dbus_have_iso_c_varargs=yes,dbus_have_iso_c_varargs=no)
285 AC_MSG_RESULT($dbus_have_iso_c_varargs)
287 AC_MSG_CHECKING(for GNUC varargs macros)
289 int a(int p1, int p2, int p3);
290 #define call_a(params...) a(1,params)
292 ],dbus_have_gnuc_varargs=yes,dbus_have_gnuc_varargs=no)
293 AC_MSG_RESULT($dbus_have_gnuc_varargs)
295 dnl Output varargs tests
296 if test x$dbus_have_iso_c_varargs = xyes; then
297 AC_DEFINE(HAVE_ISO_VARARGS,1,[Have ISO C99 varargs macros])
299 if test x$dbus_have_gnuc_varargs = xyes; then
300 AC_DEFINE(HAVE_GNUC_VARARGS,1,[Have GNU-style varargs macros])
303 dnl Check for various credentials.
304 AC_MSG_CHECKING(for struct cmsgcred)
306 #include <sys/types.h>
307 #include <sys/socket.h>
309 struct cmsgcred cred;
312 ],dbus_have_struct_cmsgcred=yes,dbus_have_struct_cmsgcred=no)
313 AC_MSG_RESULT($dbus_have_struct_cmsgcred)
315 if test x$dbus_have_struct_cmsgcred = xyes; then
316 AC_DEFINE(HAVE_CMSGCRED,1,[Have cmsgcred structure])
320 #### Sort out XML library
323 AC_CHECK_LIB(expat, XML_ParserCreate_MM,
324 [ AC_CHECK_HEADERS(expat.h, have_expat=true, have_expat=false) ],
327 PKG_CHECK_MODULES(LIBXML, libxml-2.0, have_libxml=true, have_libxml=false)
329 # see what we want to use
330 dbus_use_libxml=false
332 if test x$with_xml = xexpat; then
334 if ! $have_expat ; then
335 AC_MSG_ERROR([Explicitly requested expat but expat not found])
337 elif test x$with_xml = xlibxml; then
339 if ! $have_libxml ; then
340 AC_MSG_ERROR([Explicitly requested libxml but libxml not found])
343 ### expat is the default because libxml can't currently survive
344 ### our brutal OOM-handling unit test setup.
345 ### http://bugzilla.gnome.org/show_bug.cgi?id=109368
346 if $have_expat ; then
349 elif $have_libxml ; then
353 AC_MSG_ERROR([No XML library found, check config.log for failed attempts])
357 AM_CONDITIONAL(DBUS_USE_EXPAT, $dbus_use_expat)
358 AM_CONDITIONAL(DBUS_USE_LIBXML, $dbus_use_libxml)
360 if $dbus_use_expat; then
364 if $dbus_use_libxml; then
365 XML_LIBS=$LIBXML_LIBS
366 XML_CFLAGS=$LIBXML_CFLAGS
369 #### Set up final flags
372 AC_SUBST(DBUS_CLIENT_CFLAGS)
373 AC_SUBST(DBUS_CLIENT_LIBS)
375 DBUS_BUS_CFLAGS=$XML_CFLAGS
376 DBUS_BUS_LIBS=$XML_LIBS
377 AC_SUBST(DBUS_BUS_CFLAGS)
378 AC_SUBST(DBUS_BUS_LIBS)
382 AC_SUBST(DBUS_TEST_CFLAGS)
383 AC_SUBST(DBUS_TEST_LIBS)
386 PKG_CHECK_MODULES(DBUS_GLIB, glib-2.0, have_glib=yes, have_glib=no)
387 PKG_CHECK_MODULES(DBUS_GLIB_THREADS, glib-2.0 gthread-2.0, have_glib_threads=yes, have_glib_threads=no)
389 if test x$have_glib = xno ; then
390 AC_MSG_WARN([GLib development libraries not found])
393 if test x$enable_glib = xyes; then
394 if test x$have_glib = xno; then
395 AC_MSG_ERROR([GLib explicitly required, and GLib development libraries not found])
399 if test x$enable_glib = xno; then
403 AM_CONDITIONAL(HAVE_GLIB, test x$have_glib = xyes)
404 AM_CONDITIONAL(HAVE_GLIB_THREADS, test x$have_glib_threads = xyes)
407 AC_SUBST(DBUS_GLIB_CFLAGS)
408 AC_SUBST(DBUS_GLIB_LIBS)
409 AC_SUBST(DBUS_GLIB_THREADS_LIBS)
413 AC_MSG_CHECKING([for qglobal.h])
414 if test -n "$QTDIR" -a -f "$QTDIR/include/qglobal.h"; then
416 DBUS_QT_CXXFLAGS="-I$QTDIR/include"
418 for dir in "${prefix}/include/qt" "/usr/include/qt-3.1" "/usr/include/qt3" "/usr/include/qt" "/usr/lib/qt/include"; do
419 if test -f "$dir/qglobal.h"; then
421 DBUS_QT_CXXFLAGS="-I$dir"
425 if test x"$have_qt" = x"yes"; then
426 AC_MSG_RESULT([found])
428 AC_MSG_RESULT([not found])
431 dnl linking to kdecore will give us a bit of help from libtool
432 if (! kde-config >& /dev/null); then
435 kdelibs=`kde-config --install lib --expandvars 2>/dev/null`
436 if test -z $kdelibs -o ! -f $kdelibs/libkdecore.la; then
439 DBUS_QT_LIBS="$kdelibs/libkdecore.la"
443 if test x$have_qt = xno ; then
444 AC_MSG_WARN([Qt development libraries not found])
447 if test x$enable_qt = xyes; then
448 if test x$have_qt = xno; then
449 AC_MSG_ERROR([Qt integration explicitly required, and Qt libraries not found])
453 if test x$enable_qt = xno; then
457 AM_CONDITIONAL(HAVE_QT, test x$have_qt = xyes)
460 AC_SUBST(DBUS_QT_CXXFLAGS)
461 AC_SUBST(DBUS_QT_LIBS)
466 ## for now enable_x11 just tracks have_x11,
467 ## there's no --enable-x11
468 if test x$no_x = xyes ; then
476 if test x$enable_x11 = xyes ; then
477 AC_DEFINE(DBUS_BUILD_X11,1,[Build X11-dependent code])
478 DBUS_X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
479 DBUS_X_CFLAGS="$X_CFLAGS"
485 AC_SUBST(DBUS_X_CFLAGS)
486 AC_SUBST(DBUS_X_LIBS)
490 AC_PATH_PROG(DOXYGEN, doxygen, no)
491 AC_PATH_PROG(DB2HTML, db2html, no)
493 AC_MSG_CHECKING([whether to build documentation])
495 if test x$DOXYGEN = xno -o x$DB2HTML = xno ; then
501 if test x$enable_docs = xauto ; then
502 if test x$have_docs_tools = xno ; then
509 if test x$enable_docs = xyes; then
510 if test x$have_docs_tools = xno; then
511 AC_MSG_ERROR([Building docs explicitly required, but Doxygen or db2html not found])
515 AM_CONDITIONAL(DBUS_DOCS_ENABLED, test x$enable_docs = xyes)
518 #### find the actual value for $prefix that we'll end up with
519 ## (I know this is broken and should be done in the Makefile, but
520 ## that's a major pain and almost nobody actually seems to care)
522 if test "x$prefix" = "xNONE"; then
523 REAL_PREFIX=$ac_default_prefix
528 #### Have to go $localstatedir->$prefix/var->/usr/local/var
529 #### someone please fix this a better way...
530 LOCALSTATEDIR_TMP="$localstatedir"
533 EXPANDED_LOCALSTATEDIR=`eval echo $LOCALSTATEDIR_TMP`
535 AC_SUBST(EXPANDED_LOCALSTATEDIR)
537 SYSCONFDIR_TMP="$sysconfdir"
540 EXPANDED_SYSCONFDIR=`eval echo $SYSCONFDIR_TMP`
542 AC_SUBST(EXPANDED_SYSCONFDIR)
547 EXPANDED_BINDIR=`eval echo $BINDIR_TMP`
549 AC_SUBST(EXPANDED_BINDIR)
551 old_exec_prefix=${exec_prefix}
552 test "x$exec_prefix" = xNONE && eval exec_prefix=${prefix}
553 eval EXPANDED_LIBDIR=${libdir}
554 exec_prefix=${old_exec_prefix}
555 AC_SUBST(EXPANDED_LIBDIR)
557 #### Check our operating system
558 operating_system=unknown
559 if test -f /etc/redhat-release || test -f $EXPANDED_SYSCONFDIR/redhat-release ; then
560 operating_system=redhat
563 #### Sort out init scripts
565 if test x$with_init_scripts = x; then
566 if test xredhat = x$operating_system ; then
567 with_init_scripts=redhat
569 with_init_scripts=none
573 AM_CONDITIONAL(DBUS_INIT_SCRIPTS_RED_HAT, test x$with_init_scripts = xredhat)
576 ##### Set up location for system bus socket
577 if ! test -z "$with_system_socket"; then
578 DBUS_SYSTEM_SOCKET=$with_system_socket
580 DBUS_SYSTEM_SOCKET=${EXPANDED_LOCALSTATEDIR}/run/dbus/system_bus_socket
583 AC_SUBST(DBUS_SYSTEM_SOCKET)
585 #### Set up the pid file
586 if ! test -z "$with_system_pid_file"; then
587 DBUS_SYSTEM_PID_FILE=$with_system_pid_file
588 elif test x$operating_system = xredhat ; then
589 DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/messagebus.pid
591 DBUS_SYSTEM_PID_FILE=${EXPANDED_LOCALSTATEDIR}/run/dbus/pid
594 AC_SUBST(DBUS_SYSTEM_PID_FILE)
596 #### Tell tests where to find certain stuff in builddir
597 ABSOLUTE_TOP_BUILDDIR=`cd ${ac_top_builddir}. && pwd`
599 AC_DEFUN(TEST_PATH, [
600 TEST_$1=${ABSOLUTE_TOP_BUILDDIR}/test/$2
601 AC_DEFINE_UNQUOTED(TEST_$1, "$TEST_$1",
602 [Full path to test file test/$2 in builddir])
606 TEST_PATH(SERVICE_DIR, data/valid-service-files)
607 TEST_PATH(SERVICE_BINARY, test-service)
608 TEST_PATH(EXIT_BINARY, test-exit)
609 TEST_PATH(SEGFAULT_BINARY, test-segfault)
610 TEST_PATH(SLEEP_FOREVER_BINARY, test-sleep-forever)
612 #### Find socket directories
613 if ! test -z "$TMPDIR" ; then
614 DEFAULT_SOCKET_DIR=$TMPDIR
615 elif ! test -z "$TEMP" ; then
616 DEFAULT_SOCKET_DIR=$TEMP
617 elif ! test -z "$TMP" ; then
618 DEFAULT_SOCKET_DIR=$TMP
620 DEFAULT_SOCKET_DIR=/tmp
623 if ! test -z "$with_test_socket_dir" ; then
624 TEST_SOCKET_DIR="$with_test_socket_dir"
626 TEST_SOCKET_DIR=$DEFAULT_SOCKET_DIR
628 AC_SUBST(TEST_SOCKET_DIR)
629 AC_DEFINE_UNQUOTED(DBUS_TEST_SOCKET_DIR, "$TEST_SOCKET_DIR", [Where to put test sockets])
631 if ! test -z "$with_session_socket_dir" ; then
632 DBUS_SESSION_SOCKET_DIR="$with_session_socket_dir"
634 DBUS_SESSION_SOCKET_DIR=$DEFAULT_SOCKET_DIR
636 AC_DEFINE_UNQUOTED(DBUS_SESSION_SOCKET_DIR, "$DBUS_SESSION_SOCKET_DIR", [Where per-session bus puts its sockets])
637 AC_SUBST(DBUS_SESSION_SOCKET_DIR)
643 dbus/dbus-arch-deps.h
658 test/data/valid-config-files/debug-allow-all.conf
659 test/data/valid-config-files/debug-allow-all-sha1.conf
660 test/data/valid-service-files/debug-echo.service
661 test/data/valid-service-files/debug-segfault.service
664 ### FIXME it's bizarre that have_qt and have_glib are used
665 ### instead of enable_ - should fix things so that enable
666 ### is always whether it's enabled, and have is always whether
669 dnl ==========================================================================
675 source code location: ${srcdir}
678 cppflags: ${CPPFLAGS}
679 cxxflags: ${CXXFLAGS}
683 Maintainer mode: ${USE_MAINTAINER_MODE}
684 gcc coverage profiling: ${enable_gcov}
685 Building unit tests: ${enable_tests}
686 Building verbose mode: ${enable_verbose_mode}
687 Building assertions: ${enable_asserts}
688 Building checks: ${enable_checks}
689 Building Qt bindings: ${have_qt}
690 Building GLib bindings: ${have_glib}
691 Building X11 code: ${enable_x11}
692 Building documentation: ${enable_docs}
693 Using XML parser: ${with_xml}
694 Init scripts style: ${with_init_scripts}
695 System bus socket: ${DBUS_SYSTEM_SOCKET}
696 System bus PID file: ${DBUS_SYSTEM_PID_FILE}
697 Session bus socket dir: ${DBUS_SESSION_SOCKET_DIR}
698 'make check' socket dir: ${TEST_SOCKET_DIR}
701 if test x$enable_tests = xyes; then
702 echo "NOTE: building with unit tests increases the size of the installed library and renders it insecure."
704 if test x$enable_tests = xyes -a x$enable_asserts = xno; then
705 echo "NOTE: building with unit tests but without assertions means tests may not properly report failures (this configuration is only useful when doing something like profiling the tests)"
707 if test x$enable_gcov = xyes; then
708 echo "NOTE: building with coverage profiling is definitely for developers only."
710 if test x$enable_verbose_mode = xyes; then
711 echo "NOTE: building with verbose mode increases library size, may slightly increase security risk, and decreases performance."
713 if test x$enable_asserts = xyes; then
714 echo "NOTE: building with assertions increases library size and decreases performance."
716 if test x$enable_checks = xno; then
717 echo "NOTE: building without checks for arguments passed to public API makes it harder to debug apps using D-BUS, but will slightly decrease D-BUS library size and _very_ slightly improve performance."