6 AM_INIT_AUTOMAKE(dbus, 0.1)
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])
24 AC_ARG_ENABLE(qt, [ --disable-qt disable Qt-friendly client library],enable_qt=no,enable_qt=yes)
25 AC_ARG_ENABLE(glib, [ --disable-glib disable GLib-friendly client library],enable_glib=no,enable_glib=yes)
28 if test "x$GCC" = "xyes"; then
30 *[\ \ ]-Wall[\ \ ]*) ;;
31 *) CFLAGS="$CFLAGS -Wall" ;;
37 AC_CHECK_SIZEOF(short)
40 AC_CHECK_SIZEOF(void *)
41 AC_CHECK_SIZEOF(long long)
42 AC_CHECK_SIZEOF(__int64)
47 AC_CHECK_FUNCS(vsnprintf vasprintf)
51 AC_SUBST(DBUS_CLIENT_CFLAGS)
52 AC_SUBST(DBUS_CLIENT_LIBS)
56 AC_SUBST(DBUS_SERVER_CFLAGS)
57 AC_SUBST(DBUS_SERVER_LIBS)