X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/a5900574a2d9257695b70ec9a065e4638162e7d6..6f76664d36151ac3d9222b4ae436bab96e34f0b0:/configure.ac diff --git a/configure.ac b/configure.ac index bbc14fb..bf0a5f4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,24 +1,33 @@ +dnl Copyright (C) 2009 Nick Bowler +dnl Copying and distribution of this file, with or without modification, +dnl are permitted in any medium without royalty provided the copyright +dnl notice and this notice are preserved. This file is offered as-is, +dnl without any warranty. + AC_PREREQ([2.62]) AC_INIT([liblbx], [0.1], [toom-devel@lists.sourceforge.net]) AC_CONFIG_SRCDIR([src/lbx.c]) AC_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +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"]) AC_CONFIG_FILES([ Makefile - src/Makefile - doc/man/Makefile + lib/Makefile ]) AC_OUTPUT