AC_INIT(src/svg-cairo.h) dnl =========================================================================== # Package version number, (as distinct from shared library version) LIBSVG_CAIRO_VERSION=0.1.6 # libtool shared library version # Increment if the interface has additions, changes, removals. LT_CURRENT=1 # Increment any time the source changes; set to # 0 if you increment CURRENT LT_REVISION=1 # Increment if any interfaces have been added; set to 0 # if any interfaces have been removed. removal has # precedence over adding, so set to 0 if both happened. LT_AGE=0 VERSION_INFO="$LT_CURRENT:$LT_REVISION:$LT_AGE" AC_SUBST(VERSION_INFO) dnl =========================================================================== AM_INIT_AUTOMAKE(libsvg-cairo, $LIBSVG_CAIRO_VERSION) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC AC_PROG_CPP AC_PROG_AWK AM_PROG_LIBTOOL AC_STDC_HEADERS dnl =========================================================================== AC_PATH_XTRA dnl =========================================================================== dnl Use lots of warning flags with GCC WARN_CFLAGS="" if test "x$GCC" = "xyes"; then WARN_CFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes \ -Wmissing-prototypes -Wmissing-declarations \ -Wnested-externs -fno-strict-aliasing" fi AC_SUBST(WARN_CFLAGS) dnl =========================================================================== PKG_CHECK_MODULES(LIBSVG_CAIRO, libsvg >= 0.1.2 cairo >= 0.5.0) AC_SUBST(LIBSVG_CAIRO_CFLAGS) AC_SUBST(LIBSVG_CAIRO_LIBS) dnl =========================================================================== AC_OUTPUT([ libsvg-cairo.pc src/svg-cairo-version.h Makefile src/Makefile ])