X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/701ebeb36579550f6049112263560f6dc9a94d96..5cd07246cf1e87f099c88e89c6aa0a4cfb3b202b:/configure.ac diff --git a/configure.ac b/configure.ac index bf0a5f4..a53e22a 100644 --- a/configure.ac +++ b/configure.ac @@ -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