X-Git-Url: https://git.sur5r.net/?p=iec16022;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=33506e00efb7138bcb40ed5399a461a65c63aa6e;hp=0cdde4c087f5ea8a877f884263f011f53273b4bd;hb=8a7a280904ab4b38b1a21ce9e7496dadb2a6c049;hpb=671a86f30fc0e61cfe01a41a064b6851c7d9a18d diff --git a/configure.ac b/configure.ac index 0cdde4c..33506e0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,35 @@ -AC_INIT(iec16022, 0.2.3, stefan@datenfreihafen.org) +AC_INIT(iec16022, 0.2.4, stefan@datenfreihafen.org) AM_INIT_AUTOMAKE([subdir-objects]) +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AM_MAINTAINER_MODE AM_CONFIG_HEADER(config.h) + +dnl +dnl LIB API versioning +dnl +dnl From the libtool manual: +dnl 1. Start with version information of `0:0:0' for each libtool library. +dnl 2. Update the version information only immediately before a public release. +dnl More frequent updates are unnecessary, and only guarantee that the current +dnl interface number gets larger faster. +dnl 3. If the library source code has changed at all since the last update, then increment +dnl revision (`c:r:a' becomes `c:r+1:a'). +dnl 4. If any interfaces have been added, removed, or changed since the last update, +dnl increment current, and set revision to 0. +dnl 5. If any interfaces have been added since the last public release, then increment age. +dnl 6. If any interfaces have been removed since the last public release, then set age +dnl to 0. +LT_VERSION_C=0 +LT_VERSION_R=0 +LT_VERSION_A=0 + +AC_SUBST(LT_VERSION_C) +AC_SUBST(LT_VERSION_R) +AC_SUBST(LT_VERSION_A) + + dnl dnl Require programs dnl @@ -22,11 +48,12 @@ dnl Checks for typedefs, structures, and compiler characteristics. dnl AC_HEADER_TIME -AC_CHECK_LIB([popt], [main]) -AC_CHECK_LIB([z], [main]) +AC_CHECK_LIB([popt], [main],,AC_MSG_ERROR([Missing library: popt not found.])) +AC_CHECK_LIB([z], [main],,AC_MSG_ERROR([Missing library: zlib not found.])) dnl Output the files AC_OUTPUT([ Makefile test/Makefile +libiec16022.pc ])