]> git.draconx.ca Git - liblbx.git/blobdiff - configure.ac
lbxgui: New tool.
[liblbx.git] / configure.ac
index bf0a5f417e7ff9be122e784ec83bb042dd2e220a..a53e22a21b81c89fa41968ac3f3e7e3e1de096f6 100644 (file)
@@ -25,6 +25,12 @@ gl_INIT
 CHECK_LIBPNG([1.2], [have_libpng=yes], [have_libpng=no])
 AM_CONDITIONAL([BUILD_LBXIMG], [test x"$have_libpng" = x"yes"])
 
+# A horrible combination of bugs makes this necessary for GTK+ detection.
+unset POSIXLY_CORRECT
+
+AM_PATH_GTK_2_0([2.12.0], [have_gtk=yes], [have_gtk=no])
+AM_CONDITIONAL([BUILD_LBXGUI], [test x"$have_gtk" = x"yes"])
+
 AC_CONFIG_FILES([
        Makefile
        lib/Makefile