X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/701ebeb36579550f6049112263560f6dc9a94d96..e41adc19e0d43c41e0ccf416e09eaae418af6549:/configure.ac diff --git a/configure.ac b/configure.ac index bf0a5f4..c03b931 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.16.0], [have_gtk=yes], [have_gtk=no]) +AM_CONDITIONAL([BUILD_LBXGUI], [test x"$have_gtk" = x"yes"]) + AC_CONFIG_FILES([ Makefile lib/Makefile