[310] | 1 | # Copyright (C) 2006 International Business Machines. |
---|
| 2 | # All Rights Reserved. |
---|
| 3 | # This file is distributed under the Common Public License. |
---|
| 4 | |
---|
[343] | 5 | ## $Id: configure.ac 528 2007-02-01 21:28:14Z forrest $ |
---|
[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 | |
---|
| 15 | AC_INIT([Cbc],[0.1],[coin-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 Common 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 | ############################################################################# |
---|
[528] | 36 | # Create the libtool script for the subdirectories # |
---|
[310] | 37 | ############################################################################# |
---|
| 38 | |
---|
[528] | 39 | AC_COIN_CREATE_LIBTOOL |
---|
[310] | 40 | |
---|
| 41 | ############################################################################# |
---|
[371] | 42 | # Check which ThirdParty sources are available # |
---|
| 43 | ############################################################################# |
---|
| 44 | |
---|
| 45 | AC_COIN_THIRDPARTY_SUBDIRS([ASL],[ThirdParty/ASL],[solvers/asl.h]) |
---|
| 46 | |
---|
| 47 | ############################################################################# |
---|
[310] | 48 | # Check which subprojects are there # |
---|
| 49 | ############################################################################# |
---|
| 50 | |
---|
[313] | 51 | AC_COIN_MAIN_SUBDIRS(CoinUtils) |
---|
[310] | 52 | AC_COIN_MAIN_SUBDIRS(Data/Netlib) |
---|
| 53 | AC_COIN_MAIN_SUBDIRS(Data/Sample) |
---|
[312] | 54 | AC_COIN_MAIN_SUBDIRS(Data/miplib3) |
---|
| 55 | AC_COIN_MAIN_SUBDIRS(Clp) |
---|
| 56 | AC_COIN_MAIN_SUBDIRS(Vol) |
---|
[310] | 57 | AC_COIN_MAIN_SUBDIRS(Osi) |
---|
[312] | 58 | AC_COIN_MAIN_SUBDIRS(Cgl) |
---|
| 59 | AC_COIN_MAIN_SUBDIRS(Cbc) |
---|
[310] | 60 | |
---|
| 61 | ############################################################################## |
---|
| 62 | # Finishing up by writing all the output # |
---|
| 63 | ############################################################################## |
---|
| 64 | |
---|
| 65 | # Here list all the files that configure should create (except for the |
---|
| 66 | # configuration header file) |
---|
| 67 | AC_CONFIG_FILES([Makefile]) |
---|
| 68 | |
---|
| 69 | # Finally, we let configure write all the output... |
---|
[342] | 70 | AC_COIN_FINALIZE |
---|