]> git.draconx.ca Git - liblbx.git/blob - configure.ac
liblbx: Kill byteorder.h.
[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 gl_EARLY
18
19 AC_HEADER_ASSERT
20
21 LT_INIT
22
23 gl_INIT
24
25 CHECK_LIBPNG([1.2], [have_libpng=yes], [have_libpng=no])
26 AM_CONDITIONAL([BUILD_LBXIMG], [test x"$have_libpng" = x"yes"])
27
28 AC_CONFIG_FILES([
29         Makefile
30         lib/Makefile
31 ])
32
33 AC_OUTPUT