AC_INIT([dirlist], [0.1], [Walter Brisken ]) AM_CONFIG_HEADER([config.h]) #shared library versioning LIBRARY_VERSION=0:0:0 # | | | # +------+ | +---+ # | | | # current:revision:age # | | | # | | +- increment if interfaces have been added # | | set to zero if interfaces have been removed # or changed # | +- increment if source code has changed # | set to zero if current is incremented # +- increment if interfaces have been added, removed or changed PACKAGE_VERSION=AC_PACKAGE_VERSION AC_SUBST([PACKAGE_VERSION]) AC_SUBST([LIBRARY_VERSION]) AC_CONFIG_MACRO_DIR([m4]) AM_INIT_AUTOMAKE([foreign]) AC_PROG_CXX AC_PROG_LIBTOOL AM_SANITY_CHECK AC_LANG(C++) version=AC_PACKAGE_VERSION AC_SUBST(version) AC_OUTPUT([ Makefile \ dirlist.pc \ src/Makefile \ tests/Makefile \ utils/Makefile \ ])