2003-02-25 08:05:26 +00:00
|
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
|
|
AC_INIT(src/pixregion.h)
|
|
|
|
|
|
|
|
|
|
dnl ===========================================================================
|
|
|
|
|
|
2003-04-25 13:21:42 +00:00
|
|
|
# Package version number, (as distinct from shared library version)
|
|
|
|
|
# This must be manually synchronized with the version in src/ic.h
|
|
|
|
|
LIBPIXREGION_VERSION=0.1.0
|
2003-02-25 08:05:26 +00:00
|
|
|
|
2003-04-25 13:21:42 +00:00
|
|
|
# libtool shared library version
|
2003-02-25 08:05:26 +00:00
|
|
|
|
2003-04-25 13:21:42 +00:00
|
|
|
# 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=0
|
|
|
|
|
|
|
|
|
|
# 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"
|
2003-02-25 08:05:26 +00:00
|
|
|
AC_SUBST(VERSION_INFO)
|
|
|
|
|
|
|
|
|
|
dnl ===========================================================================
|
|
|
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE(libpixregion, $LIBPIXREGION_VERSION)
|
|
|
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
|
|
|
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
|
|
|
|
|
AC_PROG_CC
|
|
|
|
|
AM_PROG_LIBTOOL
|
|
|
|
|
|
|
|
|
|
dnl ===========================================================================
|
|
|
|
|
|
2003-09-09 17:35:42 +00:00
|
|
|
SLIM_REQUIRED=0.2.0
|
2003-07-30 10:06:34 +00:00
|
|
|
PKG_CHECK_MODULES(LIBPIXREGION, slim >= $SLIM_REQUIRED)
|
|
|
|
|
|
2003-02-25 08:05:26 +00:00
|
|
|
AC_SUBST(LIBPIXREGION_CFLAGS)
|
|
|
|
|
AC_SUBST(LIBPIXREGION_LIBS)
|
|
|
|
|
|
|
|
|
|
dnl ===========================================================================
|
|
|
|
|
|
|
|
|
|
AC_OUTPUT([
|
|
|
|
|
libpixregion.pc
|
|
|
|
|
Makefile
|
|
|
|
|
src/Makefile
|
|
|
|
|
])
|