[emerillon] Define HAVE_INTROSPECTION according to $found_introspection



commit f38a9977d89ef2baefc92b4f40e99dd64e6298e9
Author: Å?ukasz JernaÅ? <deejay1 srem org>
Date:   Fri May 28 14:10:36 2010 +0200

    Define HAVE_INTROSPECTION according to $found_introspection
    
    The $enable_introspection variable by default is set to auto,
    so checking against it isn't reliable, instead check on
    $found_introspection which is set by the introspection macros.

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4b95776..645e0b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,7 +129,7 @@ AM_CONDITIONAL(ENABLE_SEARCH, test "x$enable_search" = "xyes")
 #################
 # Introspection #
 #################
-if test "x$enable_introspection" = "xyes"
+if test "x$found_introspection" = "xyes"
 then
   AC_DEFINE(HAVE_INTROSPECTION, [1], [Enable introspection runtime options])
 fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]