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 1578 2011-01-05 01:37:59Z 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],[trunk],[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],coinasl) |
---|
46 | AC_COIN_MAIN_PACKAGEDIR(Blas,ThirdParty,daxpy.f,coinblas) |
---|
47 | AC_COIN_MAIN_PACKAGEDIR(Lapack,ThirdParty,[LAPACK/SRC/dlarf.f],coinlapack) |
---|
48 | AC_COIN_MAIN_PACKAGEDIR(Glpk,ThirdParty,[glpk/include/glpk.h],coinglpk) |
---|
49 | AC_COIN_MAIN_PACKAGEDIR(Sample,Data,,coindatasample) |
---|
50 | AC_COIN_MAIN_PACKAGEDIR(Netlib,Data,,coindatanetlib) |
---|
51 | AC_COIN_MAIN_PACKAGEDIR(miplib3,Data,,coindatamiplib3) |
---|
52 | AC_COIN_MAIN_PACKAGEDIR(CoinUtils) |
---|
53 | AC_COIN_MAIN_PACKAGEDIR(Osi) |
---|
54 | AC_COIN_MAIN_PACKAGEDIR(Clp) |
---|
55 | AC_COIN_MAIN_PACKAGEDIR(DyLP) |
---|
56 | AC_COIN_MAIN_PACKAGEDIR(Vol) |
---|
57 | AC_COIN_MAIN_PACKAGEDIR(Cgl) |
---|
58 | AC_COIN_MAIN_PACKAGEDIR(Cbc) |
---|
59 | |
---|
60 | ############################################################################# |
---|
61 | # Check for doxygen # |
---|
62 | ############################################################################# |
---|
63 | |
---|
64 | AC_COIN_DOXYGEN(CoinUtils Osi Clp DyLP Cgl Vol) |
---|
65 | |
---|
66 | ############################################################################## |
---|
67 | # Finishing up by writing all the output # |
---|
68 | ############################################################################## |
---|
69 | |
---|
70 | # Here list all the files that configure should create (except for the |
---|
71 | # configuration header file) |
---|
72 | AC_CONFIG_FILES([Makefile]) |
---|
73 | AC_CONFIG_FILES([doxydoc/doxygen.conf]) |
---|
74 | |
---|
75 | # Finally, we let configure write all the output... |
---|
76 | AC_COIN_FINALIZE |
---|