Recoded russian messages to UTF-8
[centerim.git] / kkstrtext / configure.ac
blob2e0a6c3044d3d0d0ff318a627cc3b947bce35b35
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
4 AC_PREREQ(2.59)
5 AC_INIT(kkstrtext, 0.1)
6 AC_CONFIG_SRCDIR([kkstrtext.h])
7 AM_INIT_AUTOMAKE
9 AC_CANONICAL_HOST
10 AC_GNU_SOURCE
11 AC_LANG_CPLUSPLUS
13 # Checks for programs.
14 AC_PROG_CXX
15 AC_PROG_CC
16 AC_PROG_RANLIB
17 AM_GNU_GETTEXT
18 AM_GNU_GETTEXT_VERSION([0.16.1])
20 # Checks for libraries.
21 AM_ICONV_LINK
22 AM_ICONV
24 # Checks for header files.
25 AC_HEADER_STDC
26 AC_CHECK_HEADERS([stdlib.h string.h sys/time.h _G_config.h])
28 # Checks for typedefs, structures, and compiler characteristics.
29 AC_HEADER_STDBOOL
30 AC_C_CONST
31 AC_TYPE_SIZE_T
32 AC_STRUCT_TM
34 # Checks for library functions.
35 AC_FUNC_MALLOC
36 AC_FUNC_MKTIME
37 AC_FUNC_STRFTIME
38 AC_CHECK_FUNCS([strchr strdup strncasecmp strpbrk strspn strstr strtol])
40 #Set C flags
41 CFLAGS="$CFLAGS $INCICONV"
42 CXXFLAGS="$CXXFLAGS $INCICONV"
44 LIBS="$LIBS $LIBICONV"
46 AC_CONFIG_FILES([Makefile])
47 AC_OUTPUT