1 AC_INIT(iec16022, 0.2.4, stefan@datenfreihafen.org)
2 AM_INIT_AUTOMAKE([subdir-objects])
3 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
6 AM_CONFIG_HEADER(config.h)
10 dnl LIB API versioning
12 dnl From the libtool manual:
13 dnl 1. Start with version information of `0:0:0' for each libtool library.
14 dnl 2. Update the version information only immediately before a public release.
15 dnl More frequent updates are unnecessary, and only guarantee that the current
16 dnl interface number gets larger faster.
17 dnl 3. If the library source code has changed at all since the last update, then increment
18 dnl revision (`c:r:a' becomes `c:r+1:a').
19 dnl 4. If any interfaces have been added, removed, or changed since the last update,
20 dnl increment current, and set revision to 0.
21 dnl 5. If any interfaces have been added since the last public release, then increment age.
22 dnl 6. If any interfaces have been removed since the last public release, then set age
28 AC_SUBST(LT_VERSION_C)
29 AC_SUBST(LT_VERSION_R)
30 AC_SUBST(LT_VERSION_A)
47 dnl Checks for typedefs, structures, and compiler characteristics.
51 AC_CHECK_LIB([popt], [main],,AC_MSG_ERROR([Missing library: popt not found.]))
52 AC_CHECK_LIB([z], [main],,AC_MSG_ERROR([Missing library: zlib not found.]))