source: trunk/Couenne/configure.ac @ 388

Last change on this file since 388 was 388, checked in by pbelotti, 11 years ago

adding aux-aux cut generator

  • Property svn:keywords set to Id
File size: 4.9 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 388 2010-07-27 15:44:12Z pbelotti $
6
7# Authors:  Andreas Waechter            IBM    2006-12-06
8#           Pietro Belotti
9
10#############################################################################
11#                       Names and other basic things                        #
12#############################################################################
13
14AC_PREREQ(2.59)
15
16AC_INIT([Couenne],[trunk],[couenne@list.coin-or.org])
17
18AC_COPYRIGHT([
19Copyright 2006 Carnegie Mellon University, International Business Machines and others.
20All Rights Reserved.
21This file is part of the open source package Coin which is distributed
22under the Common Public License.])
23
24# List one file in the package so that the configure script can test
25# whether the package is actually there
26AC_CONFIG_SRCDIR(src/expression/expression.cpp)
27
28# Where should everything be installed by default?  Here, we want it
29# to be installed directly in 'bin', 'lib', 'include' subdirectories
30# of the directory where configure is run.  The default would be
31# /usr/local.
32AC_PREFIX_DEFAULT([`pwd`])
33
34#############################################################################
35#                         Standard build tool stuff                         #
36#############################################################################
37
38# Get the system type
39AC_CANONICAL_BUILD
40
41# Initialization specifically for project main directories
42AC_COIN_PROJECTDIR_INIT
43
44# Check if user wants to produce debugging code
45AC_COIN_DEBUG_COMPILE(Couenne)
46
47# Get the name of the C++ compiler and appropriate compiler options
48AC_COIN_PROG_CXX
49
50# Get the name of the C compiler and appropriate compiler options
51AC_COIN_PROG_CC
52
53# Initialize automake and libtool
54AC_COIN_INIT_AUTO_TOOLS
55
56# for readnl.cpp
57AC_COIN_CHECK_CXX_CHEADER(stdint)
58
59#############################################################################
60#                              COIN components                              #
61#############################################################################
62
63AC_COIN_HAS_PROJECT(ThirdParty)
64AC_COIN_HAS_PROJECT(CoinUtils)
65AC_COIN_HAS_PROJECT(Clp)
66AC_COIN_HAS_PROJECT(Bonmin)
67AC_COIN_HAS_PROJECT(Ipopt)
68AC_COIN_HAS_PROJECT(Cbc)
69AC_COIN_HAS_PROJECT(Osi)
70AC_COIN_HAS_PROJECT(Cgl)
71AC_COIN_HAS_PROJECT(Couenne)
72
73#############################################################################
74#                       Other third party software                          #
75#############################################################################
76
77# Ampl Solver library
78AC_COIN_HAS_ASL
79
80# Nauty library (for symmetry detection)
81AC_LANG_PUSH(C)
82AC_COIN_HAS_USER_LIBRARY([Nauty],[NTY],[nauty.h],[nauty])
83AC_LANG_POP(C)
84
85AC_COIN_HAS_USER_LIBRARY([Cplex],[CPX],[cplex.h],[CPXgetstat])         # Cplex library
86AC_COIN_HAS_USER_LIBRARY([Gurobi],[GRB],[gurobi_c.h],[GRBgetattrinfo]) # Gurobi library
87AC_COIN_HAS_USER_LIBRARY([Mosek],[MSK],[mosek.h],[MSK_openmosek])      # Mosek
88AC_COIN_HAS_USER_LIBRARY([Osl],[OSL],[ekk_c_api.h],[ekk_simplex])      # OSL
89AC_COIN_HAS_USER_LIBRARY([Soplex],[SPX],[spxsolver.h])                 # Soplex library
90AC_COIN_HAS_USER_LIBRARY([Xpress],[XPR],[xprs.h],[XPRSsetintcontrol])  # XpressMP
91
92##############################################################################
93#                   VPATH links for example input files                      #
94##############################################################################
95
96# In case this is a VPATH configuration we need to make sure that the
97# input files for the examples are available in the VPATH directory.
98
99#AC_COIN_VPATH_LINK(examples/hello.mps)
100#AC_COIN_VPATH_LINK(examples/input.130)
101
102##############################################################################
103#                   Finishing up by writing all the output                   #
104##############################################################################
105
106# Here list all the files that configure should create (except for the
107# configuration header file)
108AC_CONFIG_FILES([Makefile
109                 test/Makefile
110                 src/main/Makefile
111                 src/bound_tightening/Makefile
112                 src/branch/Makefile
113                 src/convex/Makefile
114                 src/interfaces/Makefile
115                 src/heuristics/Makefile
116                 src/disjunctive/Makefile
117                 src/sdpcuts/Makefile
118                 src/ellipcuts/Makefile
119                 src/expression/Makefile
120                 src/problem/Makefile
121                 src/standardize/Makefile
122                 src/readnl/Makefile
123                 src/util/Makefile
124                 src/crossconv/Makefile
125                 src/Makefile
126                 test/grandTest.sh
127                 couenne_addlibs.txt])
128
129# Here put the location and name of the configuration header file
130AC_CONFIG_HEADER([inc/config_couenne.h])
131
132# Finally, we let configure write all the output...
133AC_COIN_FINALIZE
Note: See TracBrowser for help on using the repository browser.