]> git.meshlink.io Git - catta/commitdiff
fix build system for build without gtk and dbus
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Jun 2005 14:43:17 +0000 (14:43 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Jun 2005 14:43:17 +0000 (14:43 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@137 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

bootstrap.sh
configure.ac

index d50ba727f80c6327b84ce6bbb30c9f6337ac2b8c..6fe0f86dffac5a2332d89542285fedc140538ece 100755 (executable)
@@ -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
index 5e823275dbffbbff35b4e7ecca32d5b94b6c7fbb..5d24fd45c55f06947d5d19f87f2c0a08ea849f9c 100644 (file)
@@ -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])