-
Notifications
You must be signed in to change notification settings - Fork 20
/
configure.ac
60 lines (44 loc) · 1.55 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
53
54
55
56
57
58
59
60
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.68])
AC_INIT([disambiguation], [1.0], [[email protected]])
AM_INIT_AUTOMAKE([foreign])
AC_PROG_RANLIB
AM_PATH_CPPUNIT(1.12.1)
AC_CONFIG_SRCDIR([src/cluster.cpp])
AC_CONFIG_HEADERS([config.h])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
# Checks for libraries.
# FIXME: Replace `main' with a function in `-lboost_unit_test_framework':
AC_CHECK_LIB([boost_unit_test_framework], [main])
# FIXME: Replace `main' with a function in `-lconcert':
AC_CHECK_LIB([concert], [__ZN22IloHashSavedIntDomainID2Ev])
# FIXME: Replace `main' with a function in `-lcplex':
AC_CHECK_LIB([cplex], [main])
# FIXME: Replace `main' with a function in `-lilocplex':
AC_CHECK_LIB([ilocplex], [main])
# FIXME: Replace `main' with a function in `-lm':
AC_CHECK_LIB([m], [main])
# FIXME: Replace `main' with a function in `-lpthread':
AC_CHECK_LIB([pthread], [main])
# FIXME: Replace `main' with a function in `-lsqlite3':
AC_CHECK_LIB([sqlite3], [main])
# FIXME: Replace `main' with a function in `-lcppunit':
AC_CHECK_LIB([cppunit], [main])
# Checks for header files.
AC_CHECK_HEADERS([string.h unistd.h])
AC_CHECK_HEADERS([ilocplex.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_INLINE
AC_TYPE_SIZE_T
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset sqrt])
AC_CONFIG_FILES([Makefile
test/Makefile
src/Makefile])
AC_OUTPUT