| 1 |
AC_PREREQ(2.59) |
| 2 |
AC_INIT(qqwing, 1.3.4, http://qqwing.com/) |
| 3 |
AC_CONFIG_MACRO_DIR([m4]) |
| 4 |
AC_CONFIG_SRCDIR([config.h.in]) |
| 5 |
AC_CONFIG_HEADER([config.h]) |
| 6 |
|
| 7 |
# Before making a release, the LT_VERSION string should be modified. |
| 8 |
# The string is of the form C:R:A. |
| 9 |
# - If interfaces have been changed or added, but binary compatibility has |
| 10 |
# been preserved, change to C+1:0:A+1 |
| 11 |
# - If binary compatibility has been broken (eg removed or changed interfaces) |
| 12 |
# change to C+1:0:0 |
| 13 |
# - If the interface is the same as the previous version, change to C:R+1:A |
| 14 |
QQWING_CURRENT=3 |
| 15 |
QQWING_REVISION=0 |
| 16 |
QQWING_AGE=1 |
| 17 |
|
| 18 |
AC_SUBST([QQWING_CURRENT]) |
| 19 |
AC_SUBST([QQWING_REVISION]) |
| 20 |
AC_SUBST([QQWING_AGE]) |
| 21 |
|
| 22 |
AM_INIT_AUTOMAKE([foreign]) |
| 23 |
|
| 24 |
# Checks for programs. |
| 25 |
AC_PROG_CXX |
| 26 |
AC_PROG_CC |
| 27 |
|
| 28 |
LT_PREREQ([2.2]) |
| 29 |
LT_INIT([disable-static]) |
| 30 |
|
| 31 |
# Checks for libraries. |
| 32 |
|
| 33 |
# Checks for header files. |
| 34 |
AC_HEADER_STDC |
| 35 |
AC_CHECK_HEADERS([stdlib.h sys/time.h]) |
| 36 |
|
| 37 |
# Checks for typedefs, structures, and compiler characteristics. |
| 38 |
AC_HEADER_STDBOOL |
| 39 |
AC_C_CONST |
| 40 |
AC_C_INLINE |
| 41 |
AC_HEADER_TIME |
| 42 |
|
| 43 |
# Checks for library functions. |
| 44 |
AC_CHECK_FUNCS([gettimeofday]) |
| 45 |
|
| 46 |
AC_CONFIG_FILES([Makefile qqwing.pc]) |
| 47 |
AC_OUTPUT |