[310] | 1 | # Copyright (C) 2006 International Business Machines. |
---|
| 2 | # All Rights Reserved. |
---|
[1565] | 3 | # This file is distributed under the Eclipse Public License. |
---|
[310] | 4 | |
---|
[343] | 5 | ## $Id: configure.ac 1807 2012-11-21 14:01:43Z unxusr $ |
---|
[310] | 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 | |
---|
[1807] | 15 | AC_INIT([Cbc],[2.7],[cbc@lists.coin-or.org]) |
---|
[310] | 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 |
---|
[1565] | 21 | under the Eclipse Public License.]) |
---|
[310] | 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 | ############################################################################# |
---|
[640] | 36 | # Do the tests necessary to configure compilers and initialise autotools # |
---|
[310] | 37 | ############################################################################# |
---|
| 38 | |
---|
[527] | 39 | AC_COIN_CREATE_LIBTOOL |
---|
[310] | 40 | |
---|
| 41 | ############################################################################# |
---|
| 42 | # Check which subprojects are there # |
---|
| 43 | ############################################################################# |
---|
| 44 | |
---|
[1675] | 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) |
---|
[1464] | 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) |
---|
[310] | 61 | |
---|
[1490] | 62 | ############################################################################# |
---|
| 63 | # Check for doxygen # |
---|
| 64 | ############################################################################# |
---|
| 65 | |
---|
[1563] | 66 | AC_COIN_DOXYGEN(CoinUtils Osi Clp DyLP Cgl Vol) |
---|
[1490] | 67 | |
---|
[310] | 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]) |
---|
[1490] | 75 | AC_CONFIG_FILES([doxydoc/doxygen.conf]) |
---|
[310] | 76 | |
---|
| 77 | # Finally, we let configure write all the output... |
---|
[342] | 78 | AC_COIN_FINALIZE |
---|