[754] | 1 | # Copyright (C) 2006 International Business Machines. |
---|
| 2 | # All Rights Reserved. |
---|
| 3 | # This file is distributed under the Common Public License. |
---|
| 4 | |
---|
[787] | 5 | ## $Id: configure.ac 1415 2009-08-11 12:55:15Z forrest $ |
---|
[754] | 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 | |
---|
[1220] | 15 | AC_INIT([Clp],[trunk],[coin-clp@lists.coin-or.org]) |
---|
[754] | 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 | |
---|
[755] | 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 | |
---|
[754] | 35 | ############################################################################# |
---|
[915] | 36 | # Create the libtool script for the subdirectories # |
---|
[754] | 37 | ############################################################################# |
---|
| 38 | |
---|
[915] | 39 | AC_COIN_CREATE_LIBTOOL |
---|
[754] | 40 | |
---|
| 41 | ############################################################################# |
---|
[1411] | 42 | # Check which ThirdParty sources are available # |
---|
| 43 | ############################################################################# |
---|
| 44 | |
---|
| 45 | AC_COIN_THIRDPARTY_SUBDIRS([Blas],[ThirdParty/Blas],[daxpy.f]) |
---|
| 46 | AC_COIN_THIRDPARTY_SUBDIRS([Lapack],[ThirdParty/Lapack],[LAPACK/SRC/dlarf.f]) |
---|
| 47 | |
---|
| 48 | ############################################################################# |
---|
[754] | 49 | # Check which subprojects are there # |
---|
| 50 | ############################################################################# |
---|
| 51 | |
---|
[761] | 52 | AC_COIN_MAIN_SUBDIRS(CoinUtils) |
---|
[754] | 53 | AC_COIN_MAIN_SUBDIRS(Data/Sample) |
---|
[1415] | 54 | AC_COIN_MAIN_SUBDIRS(Data/Netlib) |
---|
[759] | 55 | AC_COIN_MAIN_SUBDIRS(Clp) |
---|
[754] | 56 | |
---|
| 57 | ############################################################################## |
---|
| 58 | # Finishing up by writing all the output # |
---|
| 59 | ############################################################################## |
---|
| 60 | |
---|
| 61 | # Here list all the files that configure should create (except for the |
---|
| 62 | # configuration header file) |
---|
| 63 | AC_CONFIG_FILES([Makefile]) |
---|
| 64 | |
---|
| 65 | # Finally, we let configure write all the output... |
---|
[787] | 66 | AC_COIN_FINALIZE |
---|