forked from jfisteus/html2xhtml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
36 lines (28 loc) · 792 Bytes
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
AC_PREREQ(2.61)
AC_INIT([html2xhtml], [1.3])
AC_CONFIG_SRCDIR([configure.ac])
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AC_LANG([C])
AC_PROG_CC
AC_GNU_SOURCE
AM_PROG_LIBTOOL
AM_PROG_LEX
AC_PROG_YACC
AM_ICONV
# Checks for header files.
AC_FUNC_ALLOCA
AC_HEADER_STDC
AC_CHECK_HEADERS([libintl.h malloc.h stddef.h stdlib.h string.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([strcasecmp strstr memmem])
# Avail. at http://www.gnu.org/software/autoconf-archive/ax_func_snprintf.html
AX_FUNC_SNPRINTF
AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile dtdcoder/Makefile charset_coder/Makefile tests/Makefile])
AC_OUTPUT