source: stable/1.8/CoinMP/configure.ac @ 675

Last change on this file since 675 was 675, checked in by stefan, 4 months ago

temporarily committing release candidate

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 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 675 2019-02-23 19:34:54Z stefan $
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([CoinMP],[1.8.4],[coinmp@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 CoinMP 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/CoinMP.h)
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# If this project depends on external projects, the Externals file in
41# the source root directory contains definition of where to find those
42# externals.  The following macro ensures that those externals are
43# retrieved by svn if they are not there yet.
44AC_COIN_PROJECTDIR_INIT(CoinMP,9:4:8)
45
46# Check if user wants to produce debugging code
47AC_COIN_DEBUG_COMPILE(CoinMP)
48
49# Get the name of the C++ compiler and appropriate compiler options
50AC_COIN_PROG_CXX
51
52# Initialize automake and libtool
53AC_COIN_INIT_AUTO_TOOLS
54
55#############################################################################
56#                            COIN-OR components                             #
57#############################################################################
58
59# Required packages.
60# We need Clp, Cbc, and the OSI interface to CLP to build CoinCbc.cpp.
61
62AC_COIN_CHECK_PACKAGE(Cbc, [cbc clp osi-clp], [CoinMP])
63if test $coin_has_cbc != yes; then
64  AC_MSG_ERROR("Required package Cbc unavailable.")
65fi
66
67##############################################################################
68#                   Finishing up by writing all the output                   #
69##############################################################################
70
71# Here list all the files that configure should create (except for the
72# configuration header file)
73AC_CONFIG_FILES([Makefile
74                 src/Makefile
75                 test/Makefile
76                 examples/Makefile
77                 coinmp.pc
78                 coinmp-uninstalled.pc])
79
80# Here put the location and name of the configuration header file
81AC_CONFIG_HEADER([src/config.h src/config_coinmp.h])
82
83# Finally, we let configure write all the output...
84AC_COIN_FINALIZE
Note: See TracBrowser for help on using the repository browser.