[AdgArrowStyle] Hidden private struct
[adg.git] / configure.ac
blob83f7cfc88a6f70141df53583500d3e97febde5c7
1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT([adg], [0.4.3],
4         [ntd at entidi.it],
5         [adg])
6 AC_CONFIG_SRCDIR([adg/adg.h])
7 AC_CONFIG_HEADERS([config.h])
8 AC_CONFIG_MACRO_DIR(m4)
9 AM_INIT_AUTOMAKE
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.9)
38 # Check for packages
40 PKG_CHECK_MODULES([GTK2],[gtk+-2.0 >= 2.12.0])
41 PKG_CHECK_MODULES([CAIRO],[cairo >= 1.7.4])
44 # Final step
46 SHAVE_INIT([],[enable])
47 AC_CONFIG_FILES([shave
48                  shave-libtool
49                  Makefile
50                  cpml/Makefile
51                  adg/Makefile
52                  demo/Makefile
53                  docs/Makefile
54                  docs/adg/Makefile
55                  docs/adg/version.xml
56                  docs/cpml/Makefile
57                  docs/cpml/version.xml
58                  po/Makefile.in])
59 AC_OUTPUT