X-Git-Url: http://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/2b1632fb6800874d736cdf068a25eef8aab99842..716dc53086e5b9494038a22f4b6eb776d9b03d0d:/configure.ac diff --git a/configure.ac b/configure.ac index 758b1c8..c03b931 100644 --- a/configure.ac +++ b/configure.ac @@ -14,16 +14,26 @@ AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_PROG_CC_C99 +gl_EARLY + AC_HEADER_ASSERT -AC_C_BIGENDIAN LT_INIT +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 ]) AC_OUTPUT