source: stable/0.2/Couenne/configure.ac @ 345

Last change on this file since 345 was 345, checked in by pbelotti, 10 years ago

temporarily committing release candidate to stable

File size: 4.2 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 786 2006-06-01 04:10:46Z andreasw $
6
7# Author:  Andreas Waechter            IBM    2006-12-06
8
9#############################################################################
10#                       Names and other basic things                        #
11#############################################################################
12
13AC_PREREQ(2.59)
14
15AC_INIT([Couenne],[0.2.3],[belotti@lehigh.edu])
16
17AC_COPYRIGHT([
18Copyright 2006 Carnegie Mellon University, 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
23# List one file in the package so that the configure script can test
24# whether the package is actually there
25AC_CONFIG_SRCDIR(src/expression/expression.cpp)
26
27# Where should everything be installed by default?  Here, we want it
28# to be installed directly in 'bin', 'lib', 'include' subdirectories
29# of the directory where configure is run.  The default would be
30# /usr/local.
31AC_PREFIX_DEFAULT([`pwd`])
32
33#############################################################################
34#                         Standard build tool stuff                         #
35#############################################################################
36
37# Get the system type
38AC_CANONICAL_BUILD
39
40# Initialization specifically for project main directories
41AC_COIN_PROJECTDIR_INIT
42
43# Check if user wants to produce debugging code
44AC_COIN_DEBUG_COMPILE(Couenne)
45
46# Get the name of the C++ compiler and appropriate compiler options
47AC_COIN_PROG_CXX
48
49# Get the name of the C compiler and appropriate compiler options
50AC_COIN_PROG_CC
51
52# Initialize automake and libtool
53AC_COIN_INIT_AUTO_TOOLS
54
55# for readnl.cpp
56AC_COIN_CHECK_CXX_CHEADER(stdint)
57
58#############################################################################
59#                              COIN components                              #
60#############################################################################
61
62AC_COIN_HAS_PROJECT(ThirdParty)
63AC_COIN_HAS_PROJECT(CoinUtils)
64AC_COIN_HAS_PROJECT(Clp)
65AC_COIN_HAS_PROJECT(Bonmin)
66AC_COIN_HAS_PROJECT(Ipopt)
67AC_COIN_HAS_PROJECT(Cbc)
68AC_COIN_HAS_PROJECT(Osi)
69AC_COIN_HAS_PROJECT(Cgl)
70AC_COIN_HAS_PROJECT(Couenne)
71
72#############################################################################
73#                       Other third party software                          #
74#############################################################################
75
76# Ampl Solver library
77AC_COIN_HAS_ASL
78
79# CPLEX library
80AC_LANG_PUSH(C)
81AC_COIN_HAS_USER_LIBRARY([Cplex],[CPX],[cplex.h],[CPXgetstat])
82AC_LANG_POP(C)
83
84##############################################################################
85#                   VPATH links for example input files                      #
86##############################################################################
87
88# In case this is a VPATH configuration we need to make sure that the
89# input files for the examples are available in the VPATH directory.
90
91#AC_COIN_VPATH_LINK(examples/hello.mps)
92#AC_COIN_VPATH_LINK(examples/input.130)
93
94##############################################################################
95#                   Finishing up by writing all the output                   #
96##############################################################################
97
98# Here list all the files that configure should create (except for the
99# configuration header file)
100AC_CONFIG_FILES([Makefile
101                 test/Makefile
102                 src/main/Makefile
103                 src/bound_tightening/Makefile
104                 src/branch/Makefile
105                 src/convex/Makefile
106                 src/disjunctive/Makefile
107                 src/expression/Makefile
108                 src/problem/Makefile
109                 src/standardize/Makefile
110                 src/readnl/Makefile
111                 src/util/Makefile
112                 src/Makefile
113                 test/grandTest.sh
114                 couenne_addlibs.txt])
115
116# Here put the location and name of the configuration header file
117AC_CONFIG_HEADER([inc/config_couenne.h])
118
119# Finally, we let configure write all the output...
120AC_COIN_FINALIZE
Note: See TracBrowser for help on using the repository browser.