summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-21 14:43:17 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-21 14:43:17 +0000
commit7005f3d52cce3992c42b8c1b10744c8e020e5086 (patch)
tree481761b0d357d9eb327dfcdb7a269a9f59e77ef9
parent9bc2eb5311514a53243c9e771658779524e70b9a (diff)
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
-rwxr-xr-xbootstrap.sh2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
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=<dir> where D-BUS system.d directory is])