[Xfce4-commits] <xfconf:master> Don't enable options with --disable-<option> (bug #6820).

Nick Schermer noreply at xfce.org
Sat Nov 13 14:36:01 CET 2010


Updating branch refs/heads/master
         to a315a0e2d480ce4190b65f35d2845d7b3942ae81 (commit)
       from a99185f55b6635089fd6c8d10be845202a7cf5a0 (commit)

commit a315a0e2d480ce4190b65f35d2845d7b3942ae81
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Nov 13 14:33:33 2010 +0100

    Don't enable options with --disable-<option> (bug #6820).

 configure.ac.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 10c06ac..ecf9197 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -168,7 +168,7 @@ AC_SUBST([GTK_DOC_EXTRA_CFLAGS])
 AC_ARG_ENABLE([checks],
               AC_HELP_STRING([--enable-checks],
                              [Enables some runtime checks for libxfconf that print debugging information at a slight cost to library code size and speed]),
-              [enable_checks=yes])
+              [enable_checks=$enableval])
 if test "x$enable_checks" = "xyes"; then
     AC_DEFINE([XFCONF_ENABLE_CHECKS], [1],
               [Define if runtime checks should be performed])
@@ -183,7 +183,7 @@ XDT_FEATURE_LINKER_OPTS
 AC_ARG_ENABLE([profiling],
               AC_HELP_STRING([--enable-profiling],
                              [Enable gprof profiling support]),
-              [enable_profiling=yes])
+              [enable_profiling=$enableval])
 if test "x$enable_profiling" = "xyes"; then
     AC_DEFINE([XFCONF_ENABLE_PROFILING], [1],
               [Define if gprof profiling should be compiled in])



More information about the Xfce4-commits mailing list