1AC_PREREQ(2.59)
2AC_INIT(qqwing, 1.3.4, http://qqwing.com/)
3AC_CONFIG_MACRO_DIR([m4])
4AC_CONFIG_SRCDIR([config.h.in])
5AC_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
14QQWING_CURRENT=3
15QQWING_REVISION=0
16QQWING_AGE=1
17
18AC_SUBST([QQWING_CURRENT])
19AC_SUBST([QQWING_REVISION])
20AC_SUBST([QQWING_AGE])
21
22AM_INIT_AUTOMAKE([foreign])
23
24# Checks for programs.
25AC_PROG_CXX
26AC_PROG_CC
27
28LT_PREREQ([2.2])
29LT_INIT([disable-static])
30
31# Checks for libraries.
32
33# Checks for header files.
34AC_HEADER_STDC
35AC_CHECK_HEADERS([stdlib.h sys/time.h])
36
37# Checks for typedefs, structures, and compiler characteristics.
38AC_HEADER_STDBOOL
39AC_C_CONST
40AC_C_INLINE
41AC_HEADER_TIME
42
43# Checks for library functions.
44AC_CHECK_FUNCS([gettimeofday])
45
46AC_CONFIG_FILES([Makefile qqwing.pc])
47AC_OUTPUT
48