1 | # Copyright (C) 2006 International Business Machines. |
---|
2 | # All Rights Reserved. |
---|
3 | # This file is distributed under the Eclipse Public License. |
---|
4 | |
---|
5 | ## $Id: configure.ac 1726 2011-09-20 12:39:11Z stefan $ |
---|
6 | |
---|
7 | # Author: Andreas Waechter IBM 2006-04-13 |
---|
8 | |
---|
9 | ############################################################################# |
---|
10 | # Names and other basic things # |
---|
11 | ############################################################################# |
---|
12 | |
---|
13 | AC_PREREQ(2.59) |
---|
14 | |
---|
15 | AC_INIT([Cbc],[2.7.2],[cbc@lists.coin-or.org]) |
---|
16 | |
---|
17 | AC_COPYRIGHT([ |
---|
18 | Copyright 2006 International Business Machines and others. |
---|
19 | All Rights Reserved. |
---|
20 | This file is part of the open source package Coin which is distributed |
---|
21 | under the Eclipse Public License.]) |
---|
22 | |
---|
23 | AC_REVISION(0.9) |
---|
24 | |
---|
25 | # List one file in the package so that the configure script can test |
---|
26 | # whether the package is actually there |
---|
27 | AC_CONFIG_SRCDIR(configure.ac) |
---|
28 | |
---|
29 | # Where should everything be installed by default? Here, we want it |
---|
30 | # to be installed directly in 'bin', 'lib', 'include' subdirectories |
---|
31 | # of the directory where configure is run. The default would be |
---|
32 | # /usr/local. |
---|
33 | AC_PREFIX_DEFAULT([`pwd`]) |
---|
34 | |
---|
35 | ############################################################################# |
---|
36 | # Do the tests necessary to configure compilers and initialise autotools # |
---|
37 | ############################################################################# |
---|
38 | |
---|
39 | AC_COIN_CREATE_LIBTOOL |
---|
40 | |
---|
41 | ############################################################################# |
---|
42 | # Check which subprojects are there # |
---|
43 | ############################################################################# |
---|
44 | |
---|
45 | AC_COIN_MAIN_PACKAGEDIR(ASL, ThirdParty,[solvers/asl.h]) |
---|
46 | AC_COIN_MAIN_PACKAGEDIR(Blas, ThirdParty,[daxpy.f]) |
---|
47 | AC_COIN_MAIN_PACKAGEDIR(Lapack, ThirdParty,[LAPACK/SRC/dlarf.f]) |
---|
48 | AC_COIN_MAIN_PACKAGEDIR(Glpk, ThirdParty,[glpk/include/glpk.h]) |
---|
49 | AC_COIN_MAIN_PACKAGEDIR(Metis, ThirdParty,[metis-4.0/Lib/balance.c]) |
---|
50 | AC_COIN_MAIN_PACKAGEDIR(Mumps, ThirdParty,[MUMPS/src/dmumps_part1.F]) |
---|
51 | AC_COIN_MAIN_PACKAGEDIR(Sample, Data) |
---|
52 | AC_COIN_MAIN_PACKAGEDIR(Netlib, Data) |
---|
53 | AC_COIN_MAIN_PACKAGEDIR(miplib3,Data) |
---|
54 | AC_COIN_MAIN_PACKAGEDIR(CoinUtils) |
---|
55 | AC_COIN_MAIN_PACKAGEDIR(Osi) |
---|
56 | AC_COIN_MAIN_PACKAGEDIR(Clp) |
---|
57 | AC_COIN_MAIN_PACKAGEDIR(DyLP) |
---|
58 | AC_COIN_MAIN_PACKAGEDIR(Vol) |
---|
59 | AC_COIN_MAIN_PACKAGEDIR(Cgl) |
---|
60 | AC_COIN_MAIN_PACKAGEDIR(Cbc) |
---|
61 | |
---|
62 | ############################################################################# |
---|
63 | # Check for doxygen # |
---|
64 | ############################################################################# |
---|
65 | |
---|
66 | AC_COIN_DOXYGEN(CoinUtils Osi Clp DyLP Cgl Vol) |
---|
67 | |
---|
68 | ############################################################################## |
---|
69 | # Finishing up by writing all the output # |
---|
70 | ############################################################################## |
---|
71 | |
---|
72 | # Here list all the files that configure should create (except for the |
---|
73 | # configuration header file) |
---|
74 | AC_CONFIG_FILES([Makefile]) |
---|
75 | AC_CONFIG_FILES([doxydoc/doxygen.conf]) |
---|
76 | |
---|
77 | # Finally, we let configure write all the output... |
---|
78 | AC_COIN_FINALIZE |
---|