source: trunk/Clp/configure.ac @ 778

Last change on this file since 778 was 778, checked in by andreasw, 14 years ago

corrected Externals to exclude MSDevStudio; made Clp examples to work

File size: 3.6 KB
Line 
1# Copyright (C) 2006 International Business Machines.
2# All Rights Reserved.
3# This file is distributed under the Common Public License.
4
5## $Id: configure.ac,v 1.1.2.1 2006/04/19 23:25:12 andreasw Exp $
6
7# Author:  Andreas Waechter            IBM    2006-04-13
8
9#############################################################################
10#                       Names and other basic things                        #
11#############################################################################
12
13AC_PREREQ(2.59)
14
15AC_INIT([Clp],[0.1],[coin-clp@list.coin-or.org])
16
17AC_COPYRIGHT([
18Copyright 2006 International Business Machines and others.
19All Rights Reserved.
20This file is part of the open source package Coin which is distributed
21under the Common Public License.])
22
23AC_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
27AC_CONFIG_SRCDIR(src/ClpCholeskyBase.cpp)
28
29#############################################################################
30#                         Standard build tool stuff                         #
31#############################################################################
32
33# Get the system type
34AC_CANONICAL_BUILD
35
36# Where should everything be installed by default?  Here, we want it
37# to be installed directly in 'bin', 'lib', 'include' subdirectories
38# of the directory where configure is run.  The default would be
39# /usr/local.
40AC_PREFIX_DEFAULT([`pwd`])
41
42# If this project depends on external projects, the Externals file in
43# the source root directory contains definition of where to find those
44# externals.  The following macro ensures that those externals are
45# retrieved by svn if they are not there yet.
46AC_COIN_SRCDIR_INIT
47
48# Check if user wants to produce debugging code
49AC_COIN_DEBUG_COMPILE
50
51# Get the name of the C++ compiler and appropriate compiler options
52AC_COIN_PROG_CXX
53
54# Initialize automake and libtool
55AC_COIN_INIT_AUTO_TOOLS
56
57#############################################################################
58#                              COIN components                              #
59#############################################################################
60
61AC_COIN_HAS_PROJECT(CoinUtils)
62AC_COIN_HAS_PROJECT(Clp)
63
64#############################################################################
65#                             Other dependencies                            #
66#############################################################################
67
68AC_COIN_CHECK_READLINE
69
70##############################################################################
71#                   VPATH links for example input files                      #
72##############################################################################
73
74# In case this is a VPATH configuration we need to make sure that the
75# input files for the examples are available in the VPATH directory.
76
77AC_COIN_VPATH_LINK(examples/hello.mps)
78AC_COIN_VPATH_LINK(examples/input.130)
79
80##############################################################################
81#                   Finishing up by writing all the output                   #
82##############################################################################
83
84# Here list all the files that configure should create (except for the
85# configuration header file)
86AC_CONFIG_FILES([Makefile
87                 examples/Makefile
88                 src/Makefile
89                 test/Makefile
90                 clp_addlibs.txt])
91
92# Here put the location and name of the configuration header file
93AC_CONFIG_HEADER([inc/config_clp.h])
94
95# Finally, we let configure write all the output...
96AC_OUTPUT
97
98# ...and tell the user, that the configuration finished
99AC_MSG_NOTICE([Clp configuration successful])
Note: See TracBrowser for help on using the repository browser.