-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
52 lines (42 loc) · 1.27 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([sefira],[0.01],[vbarta@mangrove.cz])
AC_CONFIG_SRCDIR([bin/optimistic.cc])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CXX
AM_PROG_LIBTOOL
# Checks for libraries.
AC_CHECK_LIB([xml2], [xmlCleanupParser])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h])
AC_CHECK_FILE(/usr/include/libxml2/libxml/tree.h,
LIBXML2_INCL_DIR_DEFAULT=/usr/include/libxml2,
LIBXML2_INCL_DIR_DEFAULT=/usr/local/include/libxml2)
AC_ARG_WITH(libxml2-incldir,
[ --with-libxml2-incldir libxml2 library include files],
LIBXML2_INCL_DIR=$with_libxml2_incldir,
LIBXML2_INCL_DIR=$LIBXML2_INCL_DIR_DEFAULT)
AC_SUBST(LIBXML2_INCL_DIR)
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_CONFIG_FILES([Makefile
bin/Makefile
lib/Makefile
lib/optimistic/Makefile
lib/plastic/Makefile
lib/straight/Makefile
lib/systematic/Makefile
sefira.test/Makefile
testdata/Makefile
testdata/optimistic/Makefile
testdata/plastic/Makefile
testdata/straight/Makefile
testdata/systematic/Makefile])
AC_OUTPUT