[CpmlSegment] Implemented a decent offseting curve algorithm
[adg.git] / configure.ac
blob022468b7be50a0e2f9790fbcc01c94a63bf5f941
1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT([adg], [0.4.0],
4         [ntd at entidi.it],
5         [adg])
6 AC_CONFIG_SRCDIR(README)
7 AC_CONFIG_HEADERS([config.h])
8 AM_INIT_AUTOMAKE
9 AM_MAINTAINER_MODE
12 # Check for programs
14 AC_PROG_CC
15 AC_DISABLE_STATIC
16 AC_PROG_LIBTOOL
17 PKG_PROG_PKG_CONFIG
20 # Check for functions
22 dnl Alloca is required by cpml, so it should be removed
23 dnl in case the adg and cpml libraries will be splitted
24 AC_FUNC_ALLOCA
27 # I18n
29 AM_GNU_GETTEXT([external])
30 AM_GNU_GETTEXT_VERSION([0.15])
33 # Check for gtk-doc
35 GTK_DOC_CHECK(1.4)
38 # Check for packages
40 PKG_CHECK_MODULES([GTK2],[gtk+-2.0 >= 2.8.0])
41 PKG_CHECK_MODULES([CAIRO],[cairo >= 1.7.4])
44 # Final step
46 AC_CONFIG_FILES([Makefile
47                  cpml/Makefile
48                  adg/Makefile
49                  demo/Makefile
50                  docs/Makefile
51                  docs/version.xml
52                  po/Makefile.in])
53 AC_OUTPUT