From: Lennart Poettering Date: Tue, 21 Jun 2005 14:43:17 +0000 (+0000) Subject: fix build system for build without gtk and dbus X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=7005f3d52cce3992c42b8c1b10744c8e020e5086;p=catta fix build system for build without gtk and dbus git-svn-id: file:///home/lennart/svn/public/avahi/trunk@137 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- diff --git a/bootstrap.sh b/bootstrap.sh index d50ba72..6fe0f86 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -42,7 +42,7 @@ else run_versioned automake 1.7 -a -c --foreign autoconf -Wall - CFLAGS="-g -O0" ./configure --sysconfdir=/etc --localstatedir=/var"$@" + CFLAGS="-g -O0" ./configure --sysconfdir=/etc --localstatedir=/var "$@" make clean fi diff --git a/configure.ac b/configure.ac index 5e82327..5d24fd4 100644 --- a/configure.ac +++ b/configure.ac @@ -121,9 +121,9 @@ AC_ARG_ENABLE(dbus, esac], [ENABLE_DBUS=yes]) dnl Default value -AC_DEFINE(ENABLE_DBUS, 1, [Whether to use DBUS or not]) if test "x$ENABLE_DBUS" = "xyes"; then + AC_DEFINE(ENABLE_DBUS, 1, [Whether to use DBUS or not]) PKG_CHECK_MODULES(DBUS, [ dbus-glib-1 >= 0.23]) AC_ARG_WITH(dbus-sys, [ --with-dbus-sys= where D-BUS system.d directory is])