X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/f228da9594290408ee03ffddbd01eadefbf06f1d..fc8dd8be3744680d93c490227be4db8628377d3c:/configure.ac diff --git a/configure.ac b/configure.ac index eb4ff46..c03b931 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,6 @@ AC_PROG_CC_C99 gl_EARLY AC_HEADER_ASSERT -AC_C_BIGENDIAN LT_INIT @@ -26,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