Set enable-developer default to 'no'
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 3 Jul 2012 14:53:31 +0000 (15:53 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 3 Jul 2012 18:03:19 +0000 (19:03 +0100)
Misplaced [] and () led to enable_developer=no being part of the
option's documentation instead of actually being the default value.

Regression in 1.6.2, caused by #34671.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=51657
Bug-Debian: http://bugs.debian.org/680027
Reviewed-by: David Zeuthen <davidz@redhat.com>
configure.ac

index f1b40a0..698fcd1 100644 (file)
@@ -127,8 +127,9 @@ AM_CONDITIONAL(DBUS_CYGWIN, test "$dbus_cygwin" = yes)
 # this must come first: other options use this to set their defaults
 AC_ARG_ENABLE([developer],
   [AS_HELP_STRING([--enable-developer],
-    [set defaults to be appropriate for a D-Bus developer instead of a distribution/end-user]),
-    [], enable_developer=no])
+    [set defaults to be appropriate for a D-Bus developer instead of a distribution/end-user])],
+  [],
+  [enable_developer=no])
 
 DBUS_STATIC_BUILD_CPPFLAGS=
 if test "x$enable_shared" = xno; then