gconf optional
[psensor.git] / configure
index 0585d96..ce52a9c 100755 (executable)
--- a/configure
+++ b/configure
@@ -585,7 +585,7 @@ PACKAGE_STRING='psensor 0.8.0.x'
 PACKAGE_BUGREPORT='jeanfi@gmail.com'
 PACKAGE_URL='http://wpitchoune.net/psensor'
 
-ac_unique_file="src/compat.h"
+ac_unique_file="src/ui.c"
 # Factoring default headers for most tests.
 ac_includes_default="\
 #include <stdio.h>
@@ -7011,11 +7011,6 @@ fi
 
 
 
-if test x"$GCONFTOOL" = xno; then
-  as_fn_error $? "gconftool-2 executable not found in your path - should be installed with GConf" "$LINENO" 5
-fi
-
-
   if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
     GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
   else
@@ -7683,7 +7678,8 @@ else
        GCONF_LIBS=$pkg_cv_GCONF_LIBS
         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
-
+       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"gconf2 not present\"" >&5
+$as_echo "$as_me: WARNING: \"gconf2 not present\"" >&2;}
 fi