# Copyright (C) 2006 International Business Machines. # All Rights Reserved. # This file is distributed under the Common Public License. ## $Id: configure.ac 1617 2011-03-22 04:29:23Z tkr $ # Author: Andreas Waechter IBM 2006-04-13 ############################################################################# # Names and other basic things # ############################################################################# AC_PREREQ(2.59) AC_INIT([Cbc],[2.6.3],[cbc@lists.coin-or.org]) AC_COPYRIGHT([ Copyright 2006 International Business Machines and others. All Rights Reserved. This file is part of the open source package Coin which is distributed under the Common Public License.]) AC_REVISION(0.9) # List one file in the package so that the configure script can test # whether the package is actually there AC_CONFIG_SRCDIR(configure.ac) # Where should everything be installed by default? Here, we want it # to be installed directly in 'bin', 'lib', 'include' subdirectories # of the directory where configure is run. The default would be # /usr/local. AC_PREFIX_DEFAULT([`pwd`]) ############################################################################# # Do the tests necessary to configure compilers and initialise autotools # ############################################################################# AC_COIN_CREATE_LIBTOOL ############################################################################# # Check which subprojects are there # ############################################################################# AC_COIN_MAIN_PACKAGEDIR(ASL,ThirdParty,[solvers/asl.h],coinasl) AC_COIN_MAIN_PACKAGEDIR(Blas,ThirdParty,daxpy.f,coinblas) AC_COIN_MAIN_PACKAGEDIR(Lapack,ThirdParty,[LAPACK/SRC/dlarf.f],coinlapack) AC_COIN_MAIN_PACKAGEDIR(Glpk,ThirdParty,[glpk/include/glpk.h],coinglpk) AC_COIN_MAIN_PACKAGEDIR(Sample,Data,,coindatasample) AC_COIN_MAIN_PACKAGEDIR(Netlib,Data,,coindatanetlib) AC_COIN_MAIN_PACKAGEDIR(miplib3,Data,,coindatamiplib3) AC_COIN_MAIN_PACKAGEDIR(CoinUtils) AC_COIN_MAIN_PACKAGEDIR(Osi) AC_COIN_MAIN_PACKAGEDIR(Clp) AC_COIN_MAIN_PACKAGEDIR(DyLP) AC_COIN_MAIN_PACKAGEDIR(Vol) AC_COIN_MAIN_PACKAGEDIR(Cgl) AC_COIN_MAIN_PACKAGEDIR(Cbc) ############################################################################# # Check for doxygen # ############################################################################# AC_COIN_DOXYGEN(CoinUtils Osi Clp DyLP Cgl Vol) ############################################################################## # Finishing up by writing all the output # ############################################################################## # Here list all the files that configure should create (except for the # configuration header file) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([doxydoc/doxygen.conf]) # Finally, we let configure write all the output... AC_COIN_FINALIZE