]> git.sur5r.net Git - kconfig-frontends/blobdiff - configure.ac
libs/images: make it a proper library
[kconfig-frontends] / configure.ac
index b342ff18b892ec142dfbeb2bae6c386477b0a4a3..7f095b41268d46db24730199da190c579c1b1acb 100644 (file)
@@ -355,6 +355,13 @@ AS_IF(
     [need_lxdialog=yes],
     [need_lxdialog=no])
 
+#----------------------------------------
+# Check if the images library should be built
+AS_IF(
+    [test "$enable_gconf" = "yes" -o "$enable_qconf" = "yes"],
+    [need_images=yes],
+    [need_images=no])
+
 #----------------------------------------
 # Setup automake conditional build
 AM_CONDITIONAL(
@@ -375,6 +382,9 @@ AM_CONDITIONAL(
 AM_CONDITIONAL(
     [COND_lxdialog],
     [test "$need_lxdialog" = "yes"])
+AM_CONDITIONAL(
+    [COND_images],
+    [test "$need_images" = "yes"])
 
 #----------------------------------------
 # Get the version to apply to the parser shared library