]> git.draconx.ca Git - liblbx.git/blob - configure.ac
build: Use automake silent rules.
[liblbx.git] / configure.ac
1 dnl Copyright (C) 2009 Nick Bowler
2 dnl Copying and distribution of this file, with or without modification,
3 dnl are permitted in any medium without royalty provided the copyright
4 dnl notice and this notice are preserved.  This file is offered as-is,
5 dnl without any warranty.
6
7 AC_PREREQ([2.62])
8 AC_INIT([liblbx], [0.1], [toom-devel@lists.sourceforge.net])
9 AC_CONFIG_SRCDIR([src/lbx.c])
10 AC_CONFIG_HEADER([config.h])
11 AC_CONFIG_MACRO_DIR([m4])
12
13 AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
14 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
15
16 AC_PROG_CC_C99
17 AC_HEADER_ASSERT
18 AC_C_BIGENDIAN
19
20 LT_INIT
21
22 CHECK_LIBPNG([1.2], [have_libpng=yes], [have_libpng=no])
23 AM_CONDITIONAL([BUILD_LBXIMG], [test x"$have_libpng" = x"yes"])
24
25 AC_CONFIG_FILES([
26         Makefile
27 ])
28
29 AC_OUTPUT