-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfigure.ac
179 lines (152 loc) · 9.26 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
#==========================================================================#
# This file is part of the Branch, Constrain and Price Software (BiCePS). #
# #
# BiCePS is distributed under the Eclipse Public License as part of the #
# COIN-OR repository (http://www.coin-or.org). #
# #
# Authors: #
# #
# Yan Xu, Lehigh University #
# Aykut Bulut, Lehigh University #
# Ted Ralphs, Lehigh University #
# #
# Conceptual Design: #
# #
# Yan Xu, Lehigh University #
# Ted Ralphs, Lehigh University #
# Laszlo Ladanyi, IBM T.J. Watson Research Center #
# Matthew Saltzman, Clemson University #
# #
# #
# Copyright (C) 2001-2023, Lehigh University, Yan Xu, Aykut Bulut, and #
# Ted Ralphs. #
# All Rights Reserved. #
#==========================================================================#
## $Id$
#############################################################################
# Names and other basic things #
#############################################################################
AC_INIT([Bcps],[devel],[https://github.com/coin-or/CHiPPS-BiCePS/issues/new],[coin-or-bcps],[https://github.com/coin-or/CHiPPS-BiCePS])
AC_COPYRIGHT([
#==========================================================================#
# This file is part of the Branch, Constrain and Price Software (BiCePS). #
# #
# BiCePS is distributed under the Eclipse Public License as part of the #
# COIN-OR repository (http://www.coin-or.org). #
# #
# Authors: #
# #
# Yan Xu, Lehigh University #
# Aykut Bulut, Lehigh University #
# Ted Ralphs, Lehigh University #
# #
# Conceptual Design: #
# #
# Yan Xu, Lehigh University #
# Ted Ralphs, Lehigh University #
# Laszlo Ladanyi, IBM T.J. Watson Research Center #
# Matthew Saltzman, Clemson University #
# #
# #
# Copyright (C) 2001-2023, Lehigh University, Yan Xu, Aykut Bulut, and #
# Ted Ralphs. #
# All Rights Reserved. #
#==========================================================================#
])
# List one file in the package so that the configure script can test
# whether the package is actually there
AC_CONFIG_SRCDIR(src/BcpsModel.h)
# Do some initialization work (version numbers, change prefix default, ...)
AC_COIN_INITIALIZE
#############################################################################
# Standard build tool stuff #
#############################################################################
# Get the name of the C++ compiler and appropriate compiler options.
AC_COIN_PROG_CXX
# This is a C++ package, set the language accordingly.
AC_LANG_PUSH(C++)
# Initialize libtool
AC_COIN_PROG_LIBTOOL
# set RPATH_FLAGS to the compiler link flags required to hardcode location
# of the shared objects (expanded_libdir is set somewhere in configure before)
# (use in examples Makefile)
AC_COIN_RPATH_FLAGS([$expanded_libdir])
#############################################################################
# COIN components #
#############################################################################
AC_COIN_CHK_PKG(Alps, [BcpsLib])
if test $coin_has_alps != yes ; then
AC_MSG_ERROR([Required package Alps not available.])
fi
# These are only required for the unit test and the Abc example.
AC_COIN_CHK_PKG(Osi, [UnitTest])
AC_COIN_CHK_PKG(Clp, [UnitTest], [osi-clp])
AC_COIN_CHK_PKG(Cgl, [UnitTest])
##############################################################################
# VPATH links for example input files #
##############################################################################
# In this case, the source code is taken from the Bcps examples directory
AC_COIN_VPATH_LINK(test/BlisBranchObjectInt.cpp:examples/Blis/BlisBranchObjectInt.cpp
test/BlisBranchObjectInt.h:examples/Blis/BlisBranchObjectInt.h
test/BlisBranchStrategyPseudo.cpp:examples/Blis/BlisBranchStrategyPseudo.cpp
test/BlisBranchStrategyPseudo.h:examples/Blis/BlisBranchStrategyPseudo.h
test/BlisBranchStrategyRel.cpp:examples/Blis/BlisBranchStrategyRel.cpp
test/BlisBranchStrategyRel.h:examples/Blis/BlisBranchStrategyRel.h
test/BlisBranchStrategyStrong.cpp:examples/Blis/BlisBranchStrategyStrong.cpp
test/BlisBranchStrategyStrong.h:examples/Blis/BlisBranchStrategyStrong.h
test/BlisConGenerator.cpp:examples/Blis/BlisConGenerator.cpp
test/BlisConGenerator.h:examples/Blis/BlisConGenerator.h
test/BlisConstraint.cpp:examples/Blis/BlisConstraint.cpp
test/BlisConstraint.h:examples/Blis/BlisConstraint.h
test/Blis.h:examples/Blis/Blis.h
test/BlisHelp.cpp:examples/Blis/BlisHelp.cpp
test/BlisHelp.h:examples/Blis/BlisHelp.h
test/BlisHeuristic.h:examples/Blis/BlisHeuristic.h
test/BlisHeurRound.cpp:examples/Blis/BlisHeurRound.cpp
test/BlisHeurRound.h:examples/Blis/BlisHeurRound.h
test/BlisLicense.h:examples/Blis/BlisLicense.h
test/BlisMain.cpp:examples/Blis/BlisMain.cpp
test/BlisMessage.cpp:examples/Blis/BlisMessage.cpp
test/BlisMessage.h:examples/Blis/BlisMessage.h
test/BlisModel.cpp:examples/Blis/BlisModel.cpp
test/BlisModel.h:examples/Blis/BlisModel.h
test/BlisNodeDesc.h:examples/Blis/BlisNodeDesc.h
test/BlisObjectInt.cpp:examples/Blis/BlisObjectInt.cpp
test/BlisObjectInt.h:examples/Blis/BlisObjectInt.h
test/BlisParams.cpp:examples/Blis/BlisParams.cpp
test/BlisParams.h:examples/Blis/BlisParams.h
test/BlisPseudo.cpp:examples/Blis/BlisPseudo.cpp
test/BlisPseudo.h:examples/Blis/BlisPseudo.h
test/BlisSolution.h:examples/Blis/BlisSolution.h
test/BlisSubTree.h:examples/Blis/BlisSubTree.h
test/BlisTreeNode.cpp:examples/Blis/BlisTreeNode.cpp
test/BlisTreeNode.h:examples/Blis/BlisTreeNode.h
test/BlisVariable.h:examples/Blis/BlisVariable.h
test/flugpl.mps:examples/Blis/data/flugpl.mps)
# In case this is a VPATH configuration we need to make sure that the
# input files for the examples are available in the VPATH directory.
# ToDo
#AC_COIN_VPATH_LINK(examples/Blis/blis.par)
#AC_COIN_VPATH_LINK(examples/input.130)
#############################################################################
# Check for doxygen #
#############################################################################
AC_COIN_DOXYGEN([CoinUtils Alps])
##############################################################################
# Finishing up by writing all the output #
##############################################################################
# Here list all the files that configure should create (except for the
# configuration header file)
AC_CONFIG_FILES([Makefile
examples/Blis/Makefile
examples/Blis/blis.par
src/Makefile
test/Makefile
bcps.pc])
AC_CONFIG_FILES([doxydoc/doxygen.conf])
# Here put the location and name of the configuration header file
AC_CONFIG_HEADER([src/config.h src/config_bcps.h])
# Finalize libs and cflags.
AC_COIN_FINALIZE_FLAGS([BcpsLib UnitTest])
# Finally, we let configure write all the output...
AC_COIN_FINALIZE