Changeset 1733


Ignore:
Timestamp:
Nov 21, 2010 2:31:09 PM (9 years ago)
Author:
stefan
Message:

starting to switch to new build system: adjust configure and Makefile's in src; currently not working if ASL is used

Location:
branches/split
Files:
37 edited

Legend:

Unmodified
Added
Removed
  • branches/split

    • Property svn:externals
      •  

        old new  
        1 BuildTools https://projects.coin-or.org/svn/BuildTools/stable/0.5
        2 ThirdParty/Blas https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.0
        3 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.0
        4 ThirdParty/HSL https://projects.coin-or.org/svn/BuildTools/ThirdParty/HSL/stable/1.1
        5 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.0
        6 ThirdParty/FilterSQP https://projects.coin-or.org/svn/BuildTools/ThirdParty/FilterSQP/stable/1.0
        7 ThirdParty/Mumps https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/stable/1.1
        8 ThirdParty/Metis https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/stable/1.0
        9 Data/Sample https://projects.coin-or.org/svn/Data/stable/1.0/Sample
        10 CoinUtils https://projects.coin-or.org/svn/CoinUtils/stable/2.6/CoinUtils
        11 Cbc https://projects.coin-or.org/svn/Cbc/stable/2.4/Cbc
        12 Cgl https://projects.coin-or.org/svn/Cgl/stable/0.55/Cgl
        13 Clp https://projects.coin-or.org/svn/Clp/stable/1.11/Clp
        14 Ipopt https://projects.coin-or.org/svn/Ipopt/stable/3.8/Ipopt
        15 Osi https://projects.coin-or.org/svn/Osi/stable/0.102/Osi
         1BuildTools        https://projects.coin-or.org/svn/BuildTools/trunk
         2ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/trunk
         3ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/trunk
         4ThirdParty/HSL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/HSL/trunk
         5ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/trunk
         6ThirdParty/FilterSQP https://projects.coin-or.org/svn/BuildTools/ThirdParty/FilterSQP/trunk
         7ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/trunk
         8ThirdParty/Metis  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/trunk
         9Data/Sample       https://projects.coin-or.org/svn/Data/Sample/trunk
         10CoinUtils         https://projects.coin-or.org/svn/CoinUtils/trunk/CoinUtils
         11Cbc               https://projects.coin-or.org/svn/Cbc/trunk/Cbc
         12Cgl               https://projects.coin-or.org/svn/Cgl/trunk/Cgl
         13Clp               https://projects.coin-or.org/svn/Clp/trunk/Clp
         14Ipopt             https://projects.coin-or.org/svn/Ipopt/trunk/Ipopt
         15Osi               https://projects.coin-or.org/svn/Osi/trunk/Osi
  • branches/split/Bonmin/Makefile.in

    r1605 r1733  
    106106distuninstallcheck_listfiles = find . -type f -print
    107107distcleancheck_listfiles = find . -type f -print
     108ABSBUILDDIR = @ABSBUILDDIR@
    108109ACLOCAL = @ACLOCAL@
    109110ADDLIBS = @ADDLIBS@
     
    117118AMTAR = @AMTAR@
    118119AR = @AR@
    119 ASLLIB = @ASLLIB@
    120 ASL_CPPFLAGS = @ASL_CPPFLAGS@
     120ASL_CFLAGS = @ASL_CFLAGS@
     121ASL_DATA = @ASL_DATA@
     122ASL_LIBS = @ASL_LIBS@
    121123ASTYLE = @ASTYLE@
    122124ASTYLEFLAGS = @ASTYLEFLAGS@
     
    126128AUX_DIR = @AUX_DIR@
    127129AWK = @AWK@
    128 BCPDOCDIR = @BCPDOCDIR@
    129 BCPOBJDIR = @BCPOBJDIR@
    130 BCPSRCDIR = @BCPSRCDIR@
     130BCP_CFLAGS = @BCP_CFLAGS@
     131BCP_DATA = @BCP_DATA@
     132BCP_LIBS = @BCP_LIBS@
     133BONMINLIB_CFLAGS = @BONMINLIB_CFLAGS@
     134BONMINLIB_LIBS = @BONMINLIB_LIBS@
     135BONMINLIB_PCLIBS = @BONMINLIB_PCLIBS@
     136BONMINLIB_PCREQUIRES = @BONMINLIB_PCREQUIRES@
     137BONMIN_SVN_REV = @BONMIN_SVN_REV@
    131138BUILDTOOLSDIR = @BUILDTOOLSDIR@
    132139BUILD_FP_FALSE = @BUILD_FP_FALSE@
    133140BUILD_FP_TRUE = @BUILD_FP_TRUE@
    134 CBCDOCDIR = @CBCDOCDIR@
    135 CBCOBJDIR = @CBCOBJDIR@
    136 CBCSRCDIR = @CBCSRCDIR@
    137141CC = @CC@
    138142CCDEPMODE = @CCDEPMODE@
    139143CDEFS = @CDEFS@
    140144CFLAGS = @CFLAGS@
    141 CGLDOCDIR = @CGLDOCDIR@
    142 CGLOBJDIR = @CGLOBJDIR@
    143 CGLSRCDIR = @CGLSRCDIR@
    144 CLPDOCDIR = @CLPDOCDIR@
    145 CLPOBJDIR = @CLPOBJDIR@
    146 CLPSRCDIR = @CLPSRCDIR@
    147 COINUTILSDOCDIR = @COINUTILSDOCDIR@
    148 COINUTILSOBJDIR = @COINUTILSOBJDIR@
    149 COINUTILSSRCDIR = @COINUTILSSRCDIR@
    150 COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@
    151 COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@
     145COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
     146COINDEPEND_DATA = @COINDEPEND_DATA@
     147COINDEPEND_LIBS = @COINDEPEND_LIBS@
    152148COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    153149COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
    154150COIN_HAS_BCP_FALSE = @COIN_HAS_BCP_FALSE@
    155151COIN_HAS_BCP_TRUE = @COIN_HAS_BCP_TRUE@
    156 COIN_HAS_CBC_FALSE = @COIN_HAS_CBC_FALSE@
    157 COIN_HAS_CBC_TRUE = @COIN_HAS_CBC_TRUE@
    158 COIN_HAS_CGL_FALSE = @COIN_HAS_CGL_FALSE@
    159 COIN_HAS_CGL_TRUE = @COIN_HAS_CGL_TRUE@
    160 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@
    161 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@
    162 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@
    163 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@
    164 COIN_HAS_COUENNE_FALSE = @COIN_HAS_COUENNE_FALSE@
    165 COIN_HAS_COUENNE_TRUE = @COIN_HAS_COUENNE_TRUE@
     152COIN_HAS_COINDEPEND_FALSE = @COIN_HAS_COINDEPEND_FALSE@
     153COIN_HAS_COINDEPEND_TRUE = @COIN_HAS_COINDEPEND_TRUE@
    166154COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@
    167155COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@
    168 COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@
    169 COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@
    170156COIN_HAS_FILTERSQP_FALSE = @COIN_HAS_FILTERSQP_FALSE@
    171157COIN_HAS_FILTERSQP_TRUE = @COIN_HAS_FILTERSQP_TRUE@
    172 COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@
    173 COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@
    174 COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@
    175 COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@
    176 COIN_HAS_IPOPT_FALSE = @COIN_HAS_IPOPT_FALSE@
    177 COIN_HAS_IPOPT_TRUE = @COIN_HAS_IPOPT_TRUE@
    178 COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@
    179 COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@
    180 COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@
    181 COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@
    182 COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@
    183 COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@
    184 COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
    185 COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    186 COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    187 COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
    188 COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    189 COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
    190 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@
    191 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@
     158COIN_HAS_OSICPX_FALSE = @COIN_HAS_OSICPX_FALSE@
     159COIN_HAS_OSICPX_TRUE = @COIN_HAS_OSICPX_TRUE@
     160COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     161COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
     162COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
     163COIN_PKG_CONFIG_PATH_UNINSTALLED = @COIN_PKG_CONFIG_PATH_UNINSTALLED@
    192164COMPILE_BONMINBCP_FALSE = @COMPILE_BONMINBCP_FALSE@
    193165COMPILE_BONMINBCP_TRUE = @COMPILE_BONMINBCP_TRUE@
    194 COUENNEDOCDIR = @COUENNEDOCDIR@
    195 COUENNEOBJDIR = @COUENNEOBJDIR@
    196 COUENNESRCDIR = @COUENNESRCDIR@
    197166CPP = @CPP@
    198167CPPFLAGS = @CPPFLAGS@
     
    210179DEFS = @DEFS@
    211180DEPDIR = @DEPDIR@
    212 DYLPDOCDIR = @DYLPDOCDIR@
    213 DYLPOBJDIR = @DYLPOBJDIR@
    214 DYLPSRCDIR = @DYLPSRCDIR@
    215181ECHO = @ECHO@
    216182ECHO_C = @ECHO_C@
     
    222188FADDLIBS = @FADDLIBS@
    223189FFLAGS = @FFLAGS@
    224 FILTERSQPLIBADD = @FILTERSQPLIBADD@
     190FILTERSQP_CFLAGS = @FILTERSQP_CFLAGS@
     191FILTERSQP_DATA = @FILTERSQP_DATA@
     192FILTERSQP_LIBS = @FILTERSQP_LIBS@
    225193FLIBS = @FLIBS@
    226 FMPINCDIR = @FMPINCDIR@
    227 FMPLIB = @FMPLIB@
    228 GLPKINCDIR = @GLPKINCDIR@
    229 GLPKLIB = @GLPKLIB@
    230 GLPKOBJDIR = @GLPKOBJDIR@
    231194HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    232195HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    235198INSTALL_SCRIPT = @INSTALL_SCRIPT@
    236199INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    237 IPOPTDOCDIR = @IPOPTDOCDIR@
    238 IPOPTOBJDIR = @IPOPTOBJDIR@
    239 IPOPTSRCDIR = @IPOPTSRCDIR@
    240200LDFLAGS = @LDFLAGS@
    241201LIBEXT = @LIBEXT@
     
    254214MPICXX = @MPICXX@
    255215MPIF77 = @MPIF77@
    256 MSKINCDIR = @MSKINCDIR@
    257 MSKLIB = @MSKLIB@
    258216OBJEXT = @OBJEXT@
    259217OPT_CFLAGS = @OPT_CFLAGS@
    260218OPT_CXXFLAGS = @OPT_CXXFLAGS@
    261219OPT_FFLAGS = @OPT_FFLAGS@
    262 OSIDOCDIR = @OSIDOCDIR@
    263 OSIOBJDIR = @OSIOBJDIR@
    264 OSISRCDIR = @OSISRCDIR@
    265 OSLINCDIR = @OSLINCDIR@
    266 OSLLIB = @OSLLIB@
     220OSICPX_CFLAGS = @OSICPX_CFLAGS@
     221OSICPX_DATA = @OSICPX_DATA@
     222OSICPX_LIBS = @OSICPX_LIBS@
    267223PACKAGE = @PACKAGE@
    268224PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    272228PACKAGE_VERSION = @PACKAGE_VERSION@
    273229PATH_SEPARATOR = @PATH_SEPARATOR@
     230PCADDLIBS = @PCADDLIBS@
     231PKG_CONFIG = @PKG_CONFIG@
    274232RANLIB = @RANLIB@
    275233RPATH_FLAGS = @RPATH_FLAGS@
    276234SET_MAKE = @SET_MAKE@
    277235SHELL = @SHELL@
    278 SPXINCDIR = @SPXINCDIR@
    279 SPXLIB = @SPXLIB@
    280236STRIP = @STRIP@
    281 SYMDOCDIR = @SYMDOCDIR@
    282 SYMOBJDIR = @SYMOBJDIR@
    283 SYMSRCDIR = @SYMSRCDIR@
    284237VERSION = @VERSION@
    285 VOLDOCDIR = @VOLDOCDIR@
    286 VOLOBJDIR = @VOLOBJDIR@
    287 VOLSRCDIR = @VOLSRCDIR@
    288238VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    289 XPRINCDIR = @XPRINCDIR@
    290 XPRLIB = @XPRLIB@
    291239abs_bin_dir = @abs_bin_dir@
    292240abs_include_dir = @abs_include_dir@
     
    301249ac_ct_STRIP = @ac_ct_STRIP@
    302250ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     251ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    303252am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    304253am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    321270have_automake = @have_automake@
    322271have_svn = @have_svn@
     272have_svnversion = @have_svnversion@
    323273host = @host@
    324274host_alias = @host_alias@
     
    373323        $(am__append_3) $(VPATH_DISTCLEANFILES)
    374324DocFiles = README AUTHORS LICENSE
    375 DocInstallDir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)
     325DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME)
    376326all: all-recursive
    377327
  • branches/split/Bonmin/configure

    r1722 r1733  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59 for Bonmin 1.3stable.
     3# Generated by GNU Autoconf 2.59 for Bonmin trunk.
    44#
    5 # Report bugs to <coin-bonmin@list.coin-or.org>.
     5# Report bugs to <bonmin@list.coin-or.org>.
    66#
    77# Copyright (C) 2003 Free Software Foundation, Inc.
     
    430430PACKAGE_NAME='Bonmin'
    431431PACKAGE_TARNAME='bonmin'
    432 PACKAGE_VERSION='1.3stable'
    433 PACKAGE_STRING='Bonmin 1.3stable'
    434 PACKAGE_BUGREPORT='coin-bonmin@list.coin-or.org'
     432PACKAGE_VERSION='trunk'
     433PACKAGE_STRING='Bonmin trunk'
     434PACKAGE_BUGREPORT='bonmin@list.coin-or.org'
    435435
    436436ac_unique_file="src/CbcBonmin/BonCbc.hpp"
     
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS CBCSRCDIR CBCOBJDIR CBCDOCDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR CGLDOCDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR CLPDOCDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINUTILSSRCDIR COINUTILSOBJDIR COINUTILSDOCDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE DYLPSRCDIR DYLPOBJDIR DYLPDOCDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE IPOPTSRCDIR IPOPTOBJDIR IPOPTDOCDIR COIN_HAS_IPOPT_TRUE COIN_HAS_IPOPT_FALSE OSISRCDIR OSIOBJDIR OSIDOCDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMSRCDIR SYMOBJDIR SYMDOCDIR COIN_HAS_SYM_TRUE COIN_HAS_SYM_FALSE VOLSRCDIR VOLOBJDIR VOLDOCDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE BCPSRCDIR BCPOBJDIR BCPDOCDIR COIN_HAS_BCP_TRUE COIN_HAS_BCP_FALSE COUENNESRCDIR COUENNEOBJDIR COUENNEDOCDIR COIN_HAS_COUENNE_TRUE COIN_HAS_COUENNE_FALSE COMPILE_BONMINBCP_TRUE COMPILE_BONMINBCP_FALSE CPXINCDIR CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GLPKOBJDIR COIN_BUILD_GLPK_TRUE COIN_BUILD_GLPK_FALSE FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE BUILD_FP_TRUE BUILD_FP_FALSE COIN_HAS_FILTERSQP_TRUE COIN_HAS_FILTERSQP_FALSE FILTERSQPLIBADD ASTYLE ASTYLEFLAGS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion BONMIN_SVN_REV CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA BONMINLIB_CFLAGS BONMINLIB_LIBS BONMINLIB_PCLIBS BONMINLIB_PCREQUIRES COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE BCP_LIBS BCP_CFLAGS BCP_DATA COIN_HAS_BCP_TRUE COIN_HAS_BCP_FALSE COMPILE_BONMINBCP_TRUE COMPILE_BONMINBCP_FALSE OSICPX_LIBS OSICPX_CFLAGS OSICPX_DATA COIN_HAS_OSICPX_TRUE COIN_HAS_OSICPX_FALSE CPXINCDIR CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE FILTERSQP_LIBS FILTERSQP_CFLAGS FILTERSQP_DATA COIN_HAS_FILTERSQP_TRUE COIN_HAS_FILTERSQP_FALSE BUILD_FP_TRUE BUILD_FP_FALSE ASTYLE ASTYLEFLAGS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10101010ac_cv_env_CXXCPP_set=${CXXCPP+set}
    10111011ac_cv_env_CXXCPP_value=$CXXCPP
     1012ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     1013ac_env_PKG_CONFIG_value=$PKG_CONFIG
     1014ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     1015ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    10121016
    10131017#
     
    10181022  # This message is too long to be a string in the A/UX 3.1 sh.
    10191023  cat <<_ACEOF
    1020 \`configure' configures Bonmin 1.3stable to adapt to many kinds of systems.
     1024\`configure' configures Bonmin trunk to adapt to many kinds of systems.
    10211025
    10221026Usage: $0 [OPTION]... [VAR=VALUE]...
     
    10841088if test -n "$ac_init_help"; then
    10851089  case $ac_init_help in
    1086      short | recursive ) echo "Configuration of Bonmin 1.3stable:";;
     1090     short | recursive ) echo "Configuration of Bonmin trunk:";;
    10871091   esac
    10881092  cat <<\_ACEOF
     
    11091113                          optimize for fast installation [default=yes]
    11101114  --disable-libtool-lock  avoid locking (might break parallel builds)
     1115  --enable-pkg-config     use pkg-config if available (default is yes)
    11111116  --enable-cplex-libcheck use disable-cplex-libcheck to skip the
    1112                           link check at configuration time
    1113   --enable-glpk-libcheck use disable-glpk-libcheck to skip the
    1114                           link check at configuration time
    1115   --enable-fortmp-libcheck
    1116                           use disable-fortmp-libcheck to skip the
    1117                           link check at configuration time
    1118   --enable-mosek-libcheck use disable-mosek-libcheck to skip the
    1119                           link check at configuration time
    1120   --enable-osl-libcheck use disable-osl-libcheck to skip the link
    1121                           check at configuration time
    1122   --enable-soplex-libcheck
    1123                           use disable-soplex-libcheck to skip the
    1124                           link check at configuration time
    1125   --enable-xpress-libcheck
    1126                           use disable-xpress-libcheck to skip the
    11271117                          link check at configuration time
    11281118
     
    11381128  --with-tags[=TAGS]
    11391129                          include additional configurations [automatic]
     1130  --with-coin-instdir     prefix of installation directory for precompiled
     1131                          COIN packages
     1132  --with-coindepend-lib linker flags for using package CoinDepend
     1133  --with-coindepend-incdir
     1134                          directory with header files for using package
     1135                          CoinDepend
     1136  --with-coindepend-datadir
     1137                          directory with data files for using package
     1138                          CoinDepend
     1139  --with-asl-lib linker flags for using package ASL
     1140  --with-asl-incdir directory with header files for using package ASL
     1141  --with-asl-datadir directory with data files for using package ASL
     1142  --with-bcp-lib linker flags for using package Bcp
     1143  --with-bcp-incdir directory with header files for using package Bcp
     1144  --with-bcp-datadir directory with data files for using package Bcp
    11401145  --with-bonminbcp        Compile Bonmin with Bcp-based parallel version
     1146  --with-osicpx-lib linker flags for using package OsiCpx
     1147  --with-osicpx-incdir directory with header files for using package OsiCpx
     1148  --with-osicpx-datadir directory with data files for using package OsiCpx
    11411149  --with-cplex-incdir specify the header file directory for library Cplex
    11421150  --with-cplex-lib specify the flags used to link with the library Cplex
    1143   --with-glpk-incdir specify the header file directory for library Glpk
    1144   --with-glpk-lib specify the flags used to link with the library Glpk
    1145   --with-fortmp-incdir specify the header file directory for library FortMP
    1146   --with-fortmp-lib specify the flags used to link with the library FortMP
    1147   --with-mosek-incdir specify the header file directory for library Mosek
    1148   --with-mosek-lib specify the flags used to link with the library Mosek
    1149   --with-osl-incdir specify the header file directory for library Osl
    1150   --with-osl-lib specify the flags used to link with the library Osl
    1151   --with-soplex-incdir specify the header file directory for library Soplex
    1152   --with-soplex-lib specify the flags used to link with the library Soplex
    1153   --with-xpress-incdir specify the header file directory for library Xpress
    1154   --with-xpress-lib specify the flags used to link with the library Xpress
    1155   --with-asldir           specify path to AMPL solver directory (or BUILD for
    1156                           compilation, or "no" for disabling AMPL)
    11571151  --with-filtersqp        specify library for FilterSQP (or BUILD for
    11581152                          compilation)
     1153  --with-filtersqp-lib linker flags for using package FilterSQP
     1154  --with-filtersqp-incdir directory with header files for using package
     1155                          FilterSQP
     1156  --with-filtersqp-datadir
     1157                          directory with data files for using package
     1158                          FilterSQP
    11591159
    11601160Some influential environment variables:
     
    11881188  CPP         C preprocessor
    11891189  CXXCPP      C++ preprocessor
     1190  PKG_CONFIG  path to pkg-config utility
    11901191
    11911192Use these variables to override the choices made by `configure' or to help
    11921193it to find libraries and programs with nonstandard names/locations.
    11931194
    1194 Report bugs to <coin-bonmin@list.coin-or.org>.
     1195Report bugs to <bonmin@list.coin-or.org>.
    11951196_ACEOF
    11961197fi
     
    12881289if $ac_init_version; then
    12891290  cat <<\_ACEOF
    1290 Bonmin configure 1.3stable
     1291Bonmin configure trunk
    12911292generated by GNU Autoconf 2.59
    12921293
     
    13081309running configure, to aid debugging if configure makes a mistake.
    13091310
    1310 It was created by Bonmin $as_me 1.3stable, which was
     1311It was created by Bonmin $as_me trunk, which was
    13111312generated by GNU Autoconf 2.59.  Invocation command line was
    13121313
     
    17281729
    17291730
     1731# Initialize the PCADDLIBS variable.
     1732# This variable is used to setup library flags for the "Libs:" section in a .pc file.
     1733# In certain cases, it may contain more flags than the ADDLIBS variable.
     1734PCADDLIBS=""
     1735
     1736
    17301737# As backup, we make sure we don't loose an FLIBS if it has been set
    17311738# by the user
     
    17521759# that we are in a project main directory
    17531760coin_projectdir=yes
     1761
     1762# Set the project's version number
     1763if test "xBonmin" != x; then
     1764
     1765cat >>confdefs.h <<_ACEOF
     1766#define BONMIN_VERSION "$PACKAGE_VERSION"
     1767_ACEOF
     1768
     1769fi
     1770
     1771# Set the project's SVN revision number. The complicated sed expression
     1772# (made worse by quadrigraphs) ensures that things like 4123:4168MS end up
     1773# as a single number.
     1774# Extract the first word of "svnversion", so it can be a program name with args.
     1775set dummy svnversion; ac_word=$2
     1776echo "$as_me:$LINENO: checking for $ac_word" >&5
     1777echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1778if test "${ac_cv_prog_have_svnversion+set}" = set; then
     1779  echo $ECHO_N "(cached) $ECHO_C" >&6
     1780else
     1781  if test -n "$have_svnversion"; then
     1782  ac_cv_prog_have_svnversion="$have_svnversion" # Let the user override the test.
     1783else
     1784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1785for as_dir in $PATH
     1786do
     1787  IFS=$as_save_IFS
     1788  test -z "$as_dir" && as_dir=.
     1789  for ac_exec_ext in '' $ac_executable_extensions; do
     1790  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1791    ac_cv_prog_have_svnversion="yes"
     1792    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1793    break 2
     1794  fi
     1795done
     1796done
     1797
     1798  test -z "$ac_cv_prog_have_svnversion" && ac_cv_prog_have_svnversion="no"
     1799fi
     1800fi
     1801have_svnversion=$ac_cv_prog_have_svnversion
     1802if test -n "$have_svnversion"; then
     1803  echo "$as_me:$LINENO: result: $have_svnversion" >&5
     1804echo "${ECHO_T}$have_svnversion" >&6
     1805else
     1806  echo "$as_me:$LINENO: result: no" >&5
     1807echo "${ECHO_T}no" >&6
     1808fi
     1809
     1810if test "x$have_svnversion" = xyes && test "xBonmin" != x; then
     1811
     1812  svn_rev_tmp=`cd $srcdir/$coin_has_bonmin ; svnversion`
     1813  BONMIN_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`
     1814  if test $BONMIN_SVN_REV != exported; then
     1815
     1816cat >>confdefs.h <<_ACEOF
     1817#define BONMIN_SVN_REV $BONMIN_SVN_REV
     1818_ACEOF
     1819
     1820  fi
     1821fi
     1822
     1823# Capture libtool library version, if given.
     1824
    17541825
    17551826
     
    27622833        ;;
    27632834      *)
    2764         coin_opt_cflags="-O3 -fomit-frame-pointer"
     2835        coin_opt_cflags="-O3"
    27652836        coin_add_cflags="-pipe"
    27662837        coin_dbg_cflags="-g"
     
    36743745      *)
    36753746# ToDo decide about unroll-loops
    3676         coin_opt_cxxflags="-O3 -fomit-frame-pointer"
     3747        coin_opt_cxxflags="-O3"
    36773748        coin_add_cxxflags="-pipe"
    36783749        coin_dbg_cxxflags="-g"
     
    42804351
    42814352# Provide some information about the compiler.
    4282 echo "$as_me:4282:" \
     4353echo "$as_me:4353:" \
    42834354     "checking for Fortran 77 compiler version" >&5
    42844355ac_compiler=`set X $ac_compile; echo $2`
     
    44464517
    44474518  if test "$G77" = "yes"; then
    4448     coin_opt_fflags="-O3 -fomit-frame-pointer"
     4519    coin_opt_fflags="-O3"
    44494520    coin_add_fflags="-pipe"
    44504521    coin_dbg_fflags="-g"
     
    48484919ac_save_FFLAGS=$FFLAGS
    48494920FFLAGS="$FFLAGS $ac_verb"
    4850 (eval echo $as_me:4850: \"$ac_link\") >&5
     4921(eval echo $as_me:4921: \"$ac_link\") >&5
    48514922ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    48524923echo "$ac_f77_v_output" >&5
     
    49264997ac_save_FFLAGS=$FFLAGS
    49274998FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4928 (eval echo $as_me:4928: \"$ac_link\") >&5
     4999(eval echo $as_me:4999: \"$ac_link\") >&5
    49295000ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    49305001echo "$ac_f77_v_output" >&5
     
    56385709  # However, this seem to create a dependency on libifcorert.dll (or libifcorertd.dll) in the executables.
    56395710  # This is seem to be unnecessary, libifcorert(d).lib has been removed from the link line.
     5711  # Further, excluding libc.lib from the default libs seemed to be necessary only for VS < 8.
     5712  # Since the corresponding flag seems to make more trouble that it avoid, it has been removed now.
    56405713     *-cygwin* | *-mingw*)
    56415714       case "$F77" in
    5642          ifort* | */ifort* | IFORT* | */IFORT*)
    5643            FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib"
     5715#         ifort* | */ifort* | IFORT* | */IFORT*)
     5716#           FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib"
    56445717#           if "$coin_debug_compile" = true ; then
    56455718#             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmt.lib"
     
    56475720#             FLIBS="-link $LIBS /NODEFAULTLIB:libc.lib /NODEFAULTLIB:libcmtd.lib"
    56485721#           fi
    5649            ;;
     5722#           ;;
    56505723         compile_f2c*)
    56515724           FLIBS=`$F77 -FLIBS` ;;
     
    56595732         pgf77* | */pgf77* | pgf90* | */pgf90*)
    56605733# ask linker to go through the archives multiple times
    5661 # (the Fortran compiler seems to do that automatically...
     5734# (the Fortran compiler seems to do that automatically...)
    56625735           FLIBS="-Wl,--start-group $FLIBS -Wl,--end-group" ;;
    56635736       esac
     
    61156188# Define the identity of the package.
    61166189 PACKAGE='bonmin'
    6117  VERSION='1.3stable'
     6190 VERSION='trunk'
    61186191
    61196192
     
    68336906full_prefix=`cd $full_prefix ; pwd`
    68346907
    6835 abs_lib_dir=$full_prefix/lib
     6908abs_lib_dir=$full_prefix/lib/coin
    68366909
    68376910abs_include_dir=$full_prefix/include
     
    74177490*-*-irix6*)
    74187491  # Find out which ABI we are using.
    7419   echo '#line 7419 "configure"' > conftest.$ac_ext
     7492  echo '#line 7492 "configure"' > conftest.$ac_ext
    74207493  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    74217494  (eval $ac_compile) 2>&5
     
    82108283    (
    82118284      cat <<\_ASBOX
    8212 ## ------------------------------------------- ##
    8213 ## Report this to coin-bonmin@list.coin-or.org ##
    8214 ## ------------------------------------------- ##
     8285## -------------------------------------- ##
     8286## Report this to bonmin@list.coin-or.org ##
     8287## -------------------------------------- ##
    82158288_ASBOX
    82168289    ) |
     
    93979470   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93989471   -e 's:$: $lt_compiler_flag:'`
    9399    (eval echo "\"\$as_me:9399: $lt_compile\"" >&5)
     9472   (eval echo "\"\$as_me:9472: $lt_compile\"" >&5)
    94009473   (eval "$lt_compile" 2>conftest.err)
    94019474   ac_status=$?
    94029475   cat conftest.err >&5
    9403    echo "$as_me:9403: \$? = $ac_status" >&5
     9476   echo "$as_me:9476: \$? = $ac_status" >&5
    94049477   if (exit $ac_status) && test -s "$ac_outfile"; then
    94059478     # The compiler can only warn and ignore the option if not recognized
     
    96659738   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    96669739   -e 's:$: $lt_compiler_flag:'`
    9667    (eval echo "\"\$as_me:9667: $lt_compile\"" >&5)
     9740   (eval echo "\"\$as_me:9740: $lt_compile\"" >&5)
    96689741   (eval "$lt_compile" 2>conftest.err)
    96699742   ac_status=$?
    96709743   cat conftest.err >&5
    9671    echo "$as_me:9671: \$? = $ac_status" >&5
     9744   echo "$as_me:9744: \$? = $ac_status" >&5
    96729745   if (exit $ac_status) && test -s "$ac_outfile"; then
    96739746     # The compiler can only warn and ignore the option if not recognized
     
    97699842   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    97709843   -e 's:$: $lt_compiler_flag:'`
    9771    (eval echo "\"\$as_me:9771: $lt_compile\"" >&5)
     9844   (eval echo "\"\$as_me:9844: $lt_compile\"" >&5)
    97729845   (eval "$lt_compile" 2>out/conftest.err)
    97739846   ac_status=$?
    97749847   cat out/conftest.err >&5
    9775    echo "$as_me:9775: \$? = $ac_status" >&5
     9848   echo "$as_me:9848: \$? = $ac_status" >&5
    97769849   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    97779850   then
     
    1218612259  lt_status=$lt_dlunknown
    1218712260  cat > conftest.$ac_ext <<EOF
    12188 #line 12188 "configure"
     12261#line 12261 "configure"
    1218912262#include "confdefs.h"
    1219012263
     
    1228612359  lt_status=$lt_dlunknown
    1228712360  cat > conftest.$ac_ext <<EOF
    12288 #line 12288 "configure"
     12361#line 12361 "configure"
    1228912362#include "confdefs.h"
    1229012363
     
    1464614719   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1464714720   -e 's:$: $lt_compiler_flag:'`
    14648    (eval echo "\"\$as_me:14648: $lt_compile\"" >&5)
     14721   (eval echo "\"\$as_me:14721: $lt_compile\"" >&5)
    1464914722   (eval "$lt_compile" 2>conftest.err)
    1465014723   ac_status=$?
    1465114724   cat conftest.err >&5
    14652    echo "$as_me:14652: \$? = $ac_status" >&5
     14725   echo "$as_me:14725: \$? = $ac_status" >&5
    1465314726   if (exit $ac_status) && test -s "$ac_outfile"; then
    1465414727     # The compiler can only warn and ignore the option if not recognized
     
    1475014823   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1475114824   -e 's:$: $lt_compiler_flag:'`
    14752    (eval echo "\"\$as_me:14752: $lt_compile\"" >&5)
     14825   (eval echo "\"\$as_me:14825: $lt_compile\"" >&5)
    1475314826   (eval "$lt_compile" 2>out/conftest.err)
    1475414827   ac_status=$?
    1475514828   cat out/conftest.err >&5
    14756    echo "$as_me:14756: \$? = $ac_status" >&5
     14829   echo "$as_me:14829: \$? = $ac_status" >&5
    1475714830   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1475814831   then
     
    1632016393   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1632116394   -e 's:$: $lt_compiler_flag:'`
    16322    (eval echo "\"\$as_me:16322: $lt_compile\"" >&5)
     16395   (eval echo "\"\$as_me:16395: $lt_compile\"" >&5)
    1632316396   (eval "$lt_compile" 2>conftest.err)
    1632416397   ac_status=$?
    1632516398   cat conftest.err >&5
    16326    echo "$as_me:16326: \$? = $ac_status" >&5
     16399   echo "$as_me:16399: \$? = $ac_status" >&5
    1632716400   if (exit $ac_status) && test -s "$ac_outfile"; then
    1632816401     # The compiler can only warn and ignore the option if not recognized
     
    1642416497   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1642516498   -e 's:$: $lt_compiler_flag:'`
    16426    (eval echo "\"\$as_me:16426: $lt_compile\"" >&5)
     16499   (eval echo "\"\$as_me:16499: $lt_compile\"" >&5)
    1642716500   (eval "$lt_compile" 2>out/conftest.err)
    1642816501   ac_status=$?
    1642916502   cat out/conftest.err >&5
    16430    echo "$as_me:16430: \$? = $ac_status" >&5
     16503   echo "$as_me:16503: \$? = $ac_status" >&5
    1643116504   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1643216505   then
     
    1863118704   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1863218705   -e 's:$: $lt_compiler_flag:'`
    18633    (eval echo "\"\$as_me:18633: $lt_compile\"" >&5)
     18706   (eval echo "\"\$as_me:18706: $lt_compile\"" >&5)
    1863418707   (eval "$lt_compile" 2>conftest.err)
    1863518708   ac_status=$?
    1863618709   cat conftest.err >&5
    18637    echo "$as_me:18637: \$? = $ac_status" >&5
     18710   echo "$as_me:18710: \$? = $ac_status" >&5
    1863818711   if (exit $ac_status) && test -s "$ac_outfile"; then
    1863918712     # The compiler can only warn and ignore the option if not recognized
     
    1889918972   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1890018973   -e 's:$: $lt_compiler_flag:'`
    18901    (eval echo "\"\$as_me:18901: $lt_compile\"" >&5)
     18974   (eval echo "\"\$as_me:18974: $lt_compile\"" >&5)
    1890218975   (eval "$lt_compile" 2>conftest.err)
    1890318976   ac_status=$?
    1890418977   cat conftest.err >&5
    18905    echo "$as_me:18905: \$? = $ac_status" >&5
     18978   echo "$as_me:18978: \$? = $ac_status" >&5
    1890618979   if (exit $ac_status) && test -s "$ac_outfile"; then
    1890718980     # The compiler can only warn and ignore the option if not recognized
     
    1900319076   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1900419077   -e 's:$: $lt_compiler_flag:'`
    19005    (eval echo "\"\$as_me:19005: $lt_compile\"" >&5)
     19078   (eval echo "\"\$as_me:19078: $lt_compile\"" >&5)
    1900619079   (eval "$lt_compile" 2>out/conftest.err)
    1900719080   ac_status=$?
    1900819081   cat out/conftest.err >&5
    19009    echo "$as_me:19009: \$? = $ac_status" >&5
     19082   echo "$as_me:19082: \$? = $ac_status" >&5
    1901019083   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1901119084   then
     
    2181821891      if test "$GXX" = "yes"; then
    2181921892        RPATH_FLAGS=
    21820         for dir in $abs_lib_dir; do
     21893        for dir in $abs_lib_dir $abs_lib_dir/ThirdParty; do
    2182121894          RPATH_FLAGS="$RPATH_FLAGS -Wl,--rpath -Wl,$dir"
    2182221895        done
     
    2183521908    *-*-solaris*)
    2183621909        RPATH_FLAGS=
    21837         for dir in $abs_lib_dir; do
     21910        for dir in $abs_lib_dir $abs_lib_dir/ThirdParty; do
    2183821911          RPATH_FLAGS="$RPATH_FLAGS -R$dir"
    2183921912        done
     
    2190421977LT_LDFLAGS=
    2190521978
     21979# Check if we want to set the library version
     21980echo "$as_me:$LINENO: checking if library version is set" >&5
     21981echo $ECHO_N "checking if library version is set... $ECHO_C" >&6
     21982if test x"$coin_libversion" != x; then
     21983  LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion"
     21984  echo "$as_me:$LINENO: result: $coin_libversion" >&5
     21985echo "${ECHO_T}$coin_libversion" >&6
     21986else
     21987  echo "$as_me:$LINENO: result: no" >&5
     21988echo "${ECHO_T}no" >&6
     21989fi
     21990
     21991
    2190621992
    2190721993#END
     
    2190921995
    2191021996#############################################################################
    21911 #                              COIN components                              #
     21997#                           COIN-OR components                              #
    2191221998#############################################################################
    2191321999
    21914 echo "$as_me:$LINENO: checking for COIN project Cbc" >&5
    21915 echo $ECHO_N "checking for COIN project Cbc... $ECHO_C" >&6
    21916 
    21917 # First check, if the sub-project is actually available (ToDo: allow
    21918 # other locations)
    21919 
    21920 coin_has_cbc=unavailable
     22000
     22001
     22002# Check whether --enable-pkg-config or --disable-pkg-config was given.
     22003if test "${enable_pkg_config+set}" = set; then
     22004  enableval="$enable_pkg_config"
     22005  use_pkgconfig="$enableval"
     22006else
     22007  use_pkgconfig=yes
     22008fi;
     22009
     22010if test $use_pkgconfig = yes ; then
     22011  if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
     22012    if test -n "$ac_tool_prefix"; then
     22013  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
     22014set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     22015echo "$as_me:$LINENO: checking for $ac_word" >&5
     22016echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     22017if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
     22018  echo $ECHO_N "(cached) $ECHO_C" >&6
     22019else
     22020  case $PKG_CONFIG in
     22021  [\\/]* | ?:[\\/]*)
     22022  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     22023  ;;
     22024  *)
     22025  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     22026for as_dir in $PATH
     22027do
     22028  IFS=$as_save_IFS
     22029  test -z "$as_dir" && as_dir=.
     22030  for ac_exec_ext in '' $ac_executable_extensions; do
     22031  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     22032    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     22033    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     22034    break 2
     22035  fi
     22036done
     22037done
     22038
     22039  ;;
     22040esac
     22041fi
     22042PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     22043
     22044if test -n "$PKG_CONFIG"; then
     22045  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     22046echo "${ECHO_T}$PKG_CONFIG" >&6
     22047else
     22048  echo "$as_me:$LINENO: result: no" >&5
     22049echo "${ECHO_T}no" >&6
     22050fi
     22051
     22052fi
     22053if test -z "$ac_cv_path_PKG_CONFIG"; then
     22054  ac_pt_PKG_CONFIG=$PKG_CONFIG
     22055  # Extract the first word of "pkg-config", so it can be a program name with args.
     22056set dummy pkg-config; ac_word=$2
     22057echo "$as_me:$LINENO: checking for $ac_word" >&5
     22058echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     22059if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
     22060  echo $ECHO_N "(cached) $ECHO_C" >&6
     22061else
     22062  case $ac_pt_PKG_CONFIG in
     22063  [\\/]* | ?:[\\/]*)
     22064  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
     22065  ;;
     22066  *)
     22067  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     22068for as_dir in $PATH
     22069do
     22070  IFS=$as_save_IFS
     22071  test -z "$as_dir" && as_dir=.
     22072  for ac_exec_ext in '' $ac_executable_extensions; do
     22073  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     22074    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     22075    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     22076    break 2
     22077  fi
     22078done
     22079done
     22080
     22081  ;;
     22082esac
     22083fi
     22084ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     22085
     22086if test -n "$ac_pt_PKG_CONFIG"; then
     22087  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
     22088echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
     22089else
     22090  echo "$as_me:$LINENO: result: no" >&5
     22091echo "${ECHO_T}no" >&6
     22092fi
     22093
     22094  PKG_CONFIG=$ac_pt_PKG_CONFIG
     22095else
     22096  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
     22097fi
     22098
     22099  fi
     22100  if test -n "$PKG_CONFIG"; then
     22101    _pkg_min_version=0.9.0
     22102    echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
     22103echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
     22104    if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
     22105      echo "$as_me:$LINENO: result: yes" >&5
     22106echo "${ECHO_T}yes" >&6
     22107    else
     22108      echo "$as_me:$LINENO: result: no" >&5
     22109echo "${ECHO_T}no" >&6
     22110      PKG_CONFIG=""
     22111    fi
     22112  fi
     22113
     22114  # check if pkg-config supports the short-errors flag
     22115  if test -n "$PKG_CONFIG" && \
     22116    $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     22117    pkg_short_errors=" --short-errors "
     22118  else
     22119    pkg_short_errors=""
     22120  fi
     22121fi
     22122
     22123
     22124
     22125if test -n "$PKG_CONFIG"; then
     22126  COIN_HAS_PKGCONFIG_TRUE=
     22127  COIN_HAS_PKGCONFIG_FALSE='#'
     22128else
     22129  COIN_HAS_PKGCONFIG_TRUE='#'
     22130  COIN_HAS_PKGCONFIG_FALSE=
     22131fi
     22132
     22133
     22134
     22135# assemble pkg-config search path for installed projects
     22136COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22137
     22138# let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
     22139# best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
     22140# unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
     22141if test "x${prefix}" = xNONE ; then
     22142  COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     22143else
     22144  COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     22145fi
     22146
     22147
     22148# Check whether --with-coin-instdir or --without-coin-instdir was given.
     22149if test "${with_coin_instdir+set}" = set; then
     22150  withval="$with_coin_instdir"
     22151  if test -d "$withval"; then : ; else
     22152     { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     22153echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     22154   { (exit 1); exit 1; }; }
     22155   fi
     22156   COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     22157
     22158fi;
     22159
     22160
     22161
     22162# assemble additional pkg-config search paths for uninstalled projects
     22163if test x$coin_projectdir = xyes ; then
     22164  # if we are in a project setup, then in a classic setup, we want to find uninstalled projects
     22165  # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
     22166  # unfortunately, if the user set prefix, then we do not know where the project base directory is located
     22167  # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
     22168  COIN_PKG_CONFIG_PATH_UNINSTALLED=
     22169  if test -e ../coin_subdirs.txt ; then
     22170    for i in `cat ../coin_subdirs.txt` ; do
     22171      if test -d ../$i ; then
     22172        COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
     22173      fi
     22174    done
     22175  fi
     22176
     22177  if test -e ../../coin_subdirs.txt ; then
     22178    for i in `cat ../../coin_subdirs.txt` ; do
     22179      if test -d ../../$i ; then
     22180        COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
     22181      fi
     22182    done
     22183  fi
     22184
     22185
     22186fi
     22187
     22188
     22189
     22190echo "$as_me:$LINENO: checking for COIN-OR package CoinDepend" >&5
     22191echo $ECHO_N "checking for COIN-OR package CoinDepend... $ECHO_C" >&6
     22192
     22193coin_has_coindepend=notGiven
     22194
     22195# check if user wants to skip package in any case
    2192122196if test x"$COIN_SKIP_PROJECTS" != x; then
    2192222197  for dir in $COIN_SKIP_PROJECTS; do
    21923     if test $dir = Cbc; then
    21924       coin_has_cbc=skipping
     22198    if test $dir = "CoinDepend"; then
     22199      coin_has_coindepend=skipping
    2192522200    fi
    2192622201  done
    2192722202fi
    2192822203
    21929 if test $coin_has_cbc != skipping; then
    21930   if test $PACKAGE_TARNAME = cbc; then
    21931     coin_has_cbc=.
     22204COINDEPEND_LIBS=
     22205COINDEPEND_CFLAGS=
     22206COINDEPEND_DATA=
     22207
     22208
     22209
     22210
     22211
     22212
     22213
     22214
     22215
     22216
     22217#check if user provided LIBS, CFLAGS, or DATA for module
     22218if test $coin_has_coindepend != skipping; then
     22219
     22220
     22221# Check whether --with-m4_tolower(CoinDepend)-lib or --without-m4_tolower(CoinDepend)-lib was given.
     22222if test "${with_coindepend_lib+set}" = set; then
     22223  withval="$with_coindepend_lib"
     22224  coin_has_coindepend=yes
     22225       COINDEPEND_LIBS="$withval"
     22226
     22227         BONMINLIB_PCLIBS="$withval $BONMINLIB_PCLIBS"
     22228         BONMINLIB_LIBS="$withval $BONMINLIB_LIBS"
     22229
     22230
     22231fi;
     22232
     22233
     22234# Check whether --with-m4_tolower(CoinDepend)-incdir or --without-m4_tolower(CoinDepend)-incdir was given.
     22235if test "${with_coindepend_incdir+set}" = set; then
     22236  withval="$with_coindepend_incdir"
     22237  coin_has_coindepend=yes
     22238     COINDEPEND_CFLAGS="-I`${CYGPATH_W} $withval`"
     22239     BONMINLIB_CFLAGS="$withval $BONMINLIB_CFLAGS"
     22240
     22241
     22242fi;
     22243
     22244
     22245# Check whether --with-m4_tolower(CoinDepend)-datadir or --without-m4_tolower(CoinDepend)-datadir was given.
     22246if test "${with_coindepend_datadir+set}" = set; then
     22247  withval="$with_coindepend_datadir"
     22248  coin_has_coindepend=yes
     22249     COINDEPEND_DATA="$withval"
     22250fi;
     22251fi
     22252
     22253if test $coin_has_coindepend = notGiven; then
     22254  if test -n "$PKG_CONFIG" ; then
     22255    # set search path for pkg-config
     22256    # need to export variable to be sure that the following pkg-config gets these values
     22257    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22258    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     22259    export PKG_CONFIG_PATH
     22260
     22261    # let pkg-config do it's magic
     22262
     22263
     22264
     22265if test -n "$PKG_CONFIG" ; then
     22266  if $PKG_CONFIG --exists "cbc osi-clp ipopt"; then
     22267    COINDEPEND_VERSIONS="`$PKG_CONFIG --modversion "cbc osi-clp ipopt" 2>/dev/null`"
     22268     cflags=`$PKG_CONFIG --cflags "cbc osi-clp ipopt" 2>/dev/null`
     22269    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22270        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22271        # but only do this if is not trivial
     22272    if test "$CYGPATH_W" != "echo" ; then
     22273      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22274          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22275        fi
     22276    COINDEPEND_CFLAGS="$cflags"
     22277    COINDEPEND_LIBS=`$PKG_CONFIG --libs "cbc osi-clp ipopt" 2>/dev/null`
     22278    COINDEPEND_DATA=`$PKG_CONFIG --variable=datadir "cbc osi-clp ipopt" 2>/dev/null`
     22279     coin_has_coindepend=yes
     22280        echo "$as_me:$LINENO: result: yes: $COINDEPEND_VERSIONS" >&5
     22281echo "${ECHO_T}yes: $COINDEPEND_VERSIONS" >&6
     22282        BONMINLIB_PCREQUIRES="cbc osi-clp ipopt $BONMINLIB_PCREQUIRES"
     22283
     22284
     22285
    2193222286  else
    21933     if test -d $srcdir/../Cbc; then
    21934       coin_has_cbc=../Cbc
     22287    COINDEPEND_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "cbc osi-clp ipopt"`
     22288      coin_has_coindepend=notGiven
     22289        echo "$as_me:$LINENO: result: not given: $COINDEPEND_PKG_ERRORS" >&5
     22290echo "${ECHO_T}not given: $COINDEPEND_PKG_ERRORS" >&6
     22291
     22292  fi
     22293else
     22294  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinDepend without pkg-config\"" >&5
     22295echo "$as_me: error: \"Cannot check for existance of module CoinDepend without pkg-config\"" >&2;}
     22296   { (exit 1); exit 1; }; }
     22297fi
     22298
     22299
     22300
     22301
     22302    # reset PKG_CONFIG_PATH variable
     22303    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22304    export PKG_CONFIG_PATH
     22305
     22306    # augment X_CFLAGS and X_LIBS for each build target X in BonminLib
     22307
     22308      BONMINLIB_CFLAGS="$COINDEPEND_CFLAGS $BONMINLIB_CFLAGS"
     22309      BONMINLIB_LIBS="$COINDEPEND_LIBS $BONMINLIB_LIBS"
     22310
     22311  else
     22312    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     22313echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     22314
     22315echo "$as_me:$LINENO: checking for COIN-OR package CoinDepend (fallback)" >&5
     22316echo $ECHO_N "checking for COIN-OR package CoinDepend (fallback)... $ECHO_C" >&6
     22317
     22318coin_has_coindepend=notGiven
     22319COINDEPEND_LIBS=
     22320COINDEPEND_CFLAGS=
     22321COINDEPEND_DATA=
     22322
     22323# initial list of dependencies is "cbc osi-clp ipopt", but we need to filter out version number specifications (= x, <= x, >= x)
     22324projtoprocess="cbc osi-clp ipopt"
     22325projprocessed=""
     22326
     22327while test $coin_has_coindepend = notGiven ; do
     22328  # setup list of projects that need to be processed in the next round
     22329  nextprojtoprocess=""
     22330
     22331  for proj in $projtoprocess ; do
     22332    # if $proj has been processed already, skip this round
     22333    if test "x$projprocessed" != x ; then
     22334      for projdone in $projprocessed ; do
     22335        if test $projdone = $proj ; then
     22336          continue 2
     22337        fi
     22338      done
     22339    fi
     22340
     22341    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     22342    pcfile=""
     22343    save_IFS="$IFS"
     22344    IFS=":"
     22345    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     22346      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     22347      if test -r "$dir/$proj-uninstalled.pc" ; then
     22348        pcfile="$dir/$proj-uninstalled.pc"
     22349        pcfiledir="$dir"
     22350        break
     22351      fi
     22352    done
     22353    IFS="$save_IFS"
     22354
     22355    if test "x$pcfile" != x ; then
     22356      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     22357      projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     22358      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22359      COINDEPEND_CFLAGS="$projcflags $COINDEPEND_CFLAGS"
     22360
     22361      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     22362      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     22363      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     22364      if test "x$projlibs" != x ; then
     22365        if test -d "${pcfiledir}/src" ; then
     22366          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     22367        else
     22368          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     22369        fi
     22370      else
     22371        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     22372      fi
     22373      COINDEPEND_LIBS="$COINDEPEND_LIBS $projlibs"
     22374
     22375      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     22376      if test "x$projprocessed" = x ; then
     22377        COINDEPEND_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22378      fi
     22379
     22380      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     22381      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     22382      nextprojtoprocess="$nextprojtoprocess $projrequires"
     22383
     22384      # remember that we have processed $proj
     22385      projprocessed="$projprocessed $proj"
     22386
     22387    else
     22388      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     22389echo "${ECHO_T}no, dependency $proj not available" >&6
     22390      break 2
     22391    fi
     22392
     22393  done
     22394
     22395  projtoprocess="$nextprojtoprocess"
     22396
     22397  # if there are no more projects to search for, finish up
     22398  if test "x$projtoprocess" = x ; then
     22399    coin_has_coindepend=yes
     22400    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     22401echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     22402
     22403cat >>confdefs.h <<\_ACEOF
     22404#define COIN_HAS_COINDEPEND 1
     22405_ACEOF
     22406
     22407
     22408
     22409      BONMINLIB_PCREQUIRES="cbc osi-clp ipopt $BONMINLIB_PCREQUIRES"
     22410      BONMINLIB_CFLAGS="$COINDEPEND_CFLAGS $BONMINLIB_CFLAGS"
     22411      BONMINLIB_LIBS="$COINDEPEND_LIBS $BONMINLIB_LIBS"
     22412
     22413
     22414    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22415      if test -n "$COINDEPEND_CFLAGS" ; then
     22416        { echo "$as_me:$LINENO: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&5
     22417echo "$as_me: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&6;}
     22418      fi
     22419      if test -n "$COINDEPEND_LIBS" ; then
     22420        { echo "$as_me:$LINENO: CoinDepend LIBS   are $COINDEPEND_LIBS" >&5
     22421echo "$as_me: CoinDepend LIBS   are $COINDEPEND_LIBS" >&6;}
     22422      fi
     22423      if test -n "$COINDEPEND_DATA" ; then
     22424        { echo "$as_me:$LINENO: CoinDepend DATA   is  $COINDEPEND_DATA" >&5
     22425echo "$as_me: CoinDepend DATA   is  $COINDEPEND_DATA" >&6;}
     22426      fi
     22427
     22428        { echo "$as_me:$LINENO: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&5
     22429echo "$as_me: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&6;}
     22430        { echo "$as_me:$LINENO: BonminLib LIBS   are $BONMINLIB_LIBS" >&5
     22431echo "$as_me: BonminLib LIBS   are $BONMINLIB_LIBS" >&6;}
     22432
    2193522433    fi
    2193622434  fi
    21937 fi
    21938 
    21939 if test $coin_has_cbc != unavailable &&
    21940    test $coin_has_cbc != skipping; then
    21941   # Set the #define if the component is available
     22435done
     22436
     22437
     22438
     22439if test $coin_has_coindepend != notGiven &&
     22440                test $coin_has_coindepend != skipping; then
     22441  COIN_HAS_COINDEPEND_TRUE=
     22442  COIN_HAS_COINDEPEND_FALSE='#'
     22443else
     22444  COIN_HAS_COINDEPEND_TRUE='#'
     22445  COIN_HAS_COINDEPEND_FALSE=
     22446fi
     22447
     22448
     22449
     22450  fi
     22451
     22452else
     22453  echo "$as_me:$LINENO: result: $coin_has_coindepend" >&5
     22454echo "${ECHO_T}$coin_has_coindepend" >&6
     22455fi
     22456
     22457if test $coin_has_coindepend != skipping &&
     22458   test $coin_has_coindepend != notGiven ; then
    2194222459
    2194322460cat >>confdefs.h <<\_ACEOF
    21944 #define COIN_HAS_CBC 1
     22461#define COIN_HAS_COINDEPEND 1
    2194522462_ACEOF
    2194622463
    2194722464
    21948   # Set the variables for source and object code location
    21949 
    21950   CBCSRCDIR=`cd $srcdir/$coin_has_cbc; pwd`
    21951 
    21952   CBCOBJDIR=`pwd`/$coin_has_cbc
    21953 
    21954   CBCDOCDIR=$abs_lib_dir/../share/doc/coin/Cbc
    21955 fi
    21956 
    21957   # Define the Makefile conditional
    21958 
    21959 
    21960 if test $coin_has_cbc != unavailable &&
    21961                 test $coin_has_cbc != skipping; then
    21962   COIN_HAS_CBC_TRUE=
    21963   COIN_HAS_CBC_FALSE='#'
    21964 else
    21965   COIN_HAS_CBC_TRUE='#'
    21966   COIN_HAS_CBC_FALSE=
    21967 fi
    21968 
    21969 echo "$as_me:$LINENO: result: $coin_has_cbc" >&5
    21970 echo "${ECHO_T}$coin_has_cbc" >&6
    21971 
    21972 echo "$as_me:$LINENO: checking for COIN project Cgl" >&5
    21973 echo $ECHO_N "checking for COIN project Cgl... $ECHO_C" >&6
    21974 
    21975 # First check, if the sub-project is actually available (ToDo: allow
    21976 # other locations)
    21977 
    21978 coin_has_cgl=unavailable
     22465  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22466    if test -n "$COINDEPEND_CFLAGS" ; then
     22467      { echo "$as_me:$LINENO: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&5
     22468echo "$as_me: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&6;}
     22469    fi
     22470    if test -n "$COINDEPEND_LIBS" ; then
     22471      { echo "$as_me:$LINENO: CoinDepend LIBS   are $COINDEPEND_LIBS" >&5
     22472echo "$as_me: CoinDepend LIBS   are $COINDEPEND_LIBS" >&6;}
     22473    fi
     22474    if test -n "$COINDEPEND_DATA" ; then
     22475      { echo "$as_me:$LINENO: CoinDepend DATA   is  $COINDEPEND_DATA" >&5
     22476echo "$as_me: CoinDepend DATA   is  $COINDEPEND_DATA" >&6;}
     22477    fi
     22478    if test -n "$COINDEPEND_CFLAGS" ; then
     22479      { echo "$as_me:$LINENO: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&5
     22480echo "$as_me: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&6;}
     22481    fi
     22482
     22483      { echo "$as_me:$LINENO: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&5
     22484echo "$as_me: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&6;}
     22485      { echo "$as_me:$LINENO: BonminLib LIBS   are $BONMINLIB_LIBS" >&5
     22486echo "$as_me: BonminLib LIBS   are $BONMINLIB_LIBS" >&6;}
     22487
     22488  fi
     22489fi
     22490
     22491# Define the Makefile conditional
     22492
     22493
     22494if test $coin_has_coindepend != notGiven &&
     22495                test $coin_has_coindepend != skipping; then
     22496  COIN_HAS_COINDEPEND_TRUE=
     22497  COIN_HAS_COINDEPEND_FALSE='#'
     22498else
     22499  COIN_HAS_COINDEPEND_TRUE='#'
     22500  COIN_HAS_COINDEPEND_FALSE=
     22501fi
     22502
     22503
     22504
     22505if test $coin_has_coindepend != yes ; then
     22506  { { echo "$as_me:$LINENO: error: Required package Cbc or Ipopt not available." >&5
     22507echo "$as_me: error: Required package Cbc or Ipopt not available." >&2;}
     22508   { (exit 1); exit 1; }; }
     22509fi
     22510
     22511
     22512echo "$as_me:$LINENO: checking for COIN-OR package ASL" >&5
     22513echo $ECHO_N "checking for COIN-OR package ASL... $ECHO_C" >&6
     22514
     22515coin_has_asl=notGiven
     22516
     22517# check if user wants to skip package in any case
    2197922518if test x"$COIN_SKIP_PROJECTS" != x; then
    2198022519  for dir in $COIN_SKIP_PROJECTS; do
    21981     if test $dir = Cgl; then
    21982       coin_has_cgl=skipping
     22520    if test $dir = "ASL"; then
     22521      coin_has_asl=skipping
    2198322522    fi
    2198422523  done
    2198522524fi
    2198622525
    21987 if test $coin_has_cgl != skipping; then
    21988   if test $PACKAGE_TARNAME = cgl; then
    21989     coin_has_cgl=.
     22526ASL_LIBS=
     22527ASL_CFLAGS=
     22528ASL_DATA=
     22529
     22530
     22531
     22532
     22533
     22534#check if user provided LIBS, CFLAGS, or DATA for module
     22535if test $coin_has_asl != skipping; then
     22536
     22537
     22538# Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given.
     22539if test "${with_asl_lib+set}" = set; then
     22540  withval="$with_asl_lib"
     22541  coin_has_asl=yes
     22542       ASL_LIBS="$withval"
     22543
     22544
     22545fi;
     22546
     22547
     22548# Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given.
     22549if test "${with_asl_incdir+set}" = set; then
     22550  withval="$with_asl_incdir"
     22551  coin_has_asl=yes
     22552     ASL_CFLAGS="-I`${CYGPATH_W} $withval`"
     22553
     22554
     22555fi;
     22556
     22557
     22558# Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given.
     22559if test "${with_asl_datadir+set}" = set; then
     22560  withval="$with_asl_datadir"
     22561  coin_has_asl=yes
     22562     ASL_DATA="$withval"
     22563fi;
     22564fi
     22565
     22566if test $coin_has_asl = notGiven; then
     22567  if test -n "$PKG_CONFIG" ; then
     22568    # set search path for pkg-config
     22569    # need to export variable to be sure that the following pkg-config gets these values
     22570    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22571    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     22572    export PKG_CONFIG_PATH
     22573
     22574    # let pkg-config do it's magic
     22575
     22576
     22577
     22578if test -n "$PKG_CONFIG" ; then
     22579  if $PKG_CONFIG --exists "coinasl"; then
     22580    ASL_VERSIONS="`$PKG_CONFIG --modversion "coinasl" 2>/dev/null`"
     22581     cflags=`$PKG_CONFIG --cflags "coinasl" 2>/dev/null`
     22582    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22583        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22584        # but only do this if is not trivial
     22585    if test "$CYGPATH_W" != "echo" ; then
     22586      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22587          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22588        fi
     22589    ASL_CFLAGS="$cflags"
     22590    ASL_LIBS=`$PKG_CONFIG --libs "coinasl" 2>/dev/null`
     22591    ASL_DATA=`$PKG_CONFIG --variable=datadir "coinasl" 2>/dev/null`
     22592     coin_has_asl=yes
     22593        echo "$as_me:$LINENO: result: yes: $ASL_VERSIONS" >&5
     22594echo "${ECHO_T}yes: $ASL_VERSIONS" >&6
     22595
     22596
     22597
    2199022598  else
    21991     if test -d $srcdir/../Cgl; then
    21992       coin_has_cgl=../Cgl
     22599    ASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinasl"`
     22600      coin_has_asl=notGiven
     22601        echo "$as_me:$LINENO: result: not given: $ASL_PKG_ERRORS" >&5
     22602echo "${ECHO_T}not given: $ASL_PKG_ERRORS" >&6
     22603
     22604  fi
     22605else
     22606  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module ASL without pkg-config\"" >&5
     22607echo "$as_me: error: \"Cannot check for existance of module ASL without pkg-config\"" >&2;}
     22608   { (exit 1); exit 1; }; }
     22609fi
     22610
     22611
     22612
     22613
     22614    # reset PKG_CONFIG_PATH variable
     22615    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22616    export PKG_CONFIG_PATH
     22617
     22618    # augment X_CFLAGS and X_LIBS for each build target X in
     22619
     22620  else
     22621    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     22622echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     22623
     22624echo "$as_me:$LINENO: checking for COIN-OR package ASL (fallback)" >&5
     22625echo $ECHO_N "checking for COIN-OR package ASL (fallback)... $ECHO_C" >&6
     22626
     22627coin_has_asl=notGiven
     22628ASL_LIBS=
     22629ASL_CFLAGS=
     22630ASL_DATA=
     22631
     22632# initial list of dependencies is "coinasl", but we need to filter out version number specifications (= x, <= x, >= x)
     22633projtoprocess="coinasl"
     22634projprocessed=""
     22635
     22636while test $coin_has_asl = notGiven ; do
     22637  # setup list of projects that need to be processed in the next round
     22638  nextprojtoprocess=""
     22639
     22640  for proj in $projtoprocess ; do
     22641    # if $proj has been processed already, skip this round
     22642    if test "x$projprocessed" != x ; then
     22643      for projdone in $projprocessed ; do
     22644        if test $projdone = $proj ; then
     22645          continue 2
     22646        fi
     22647      done
     22648    fi
     22649
     22650    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     22651    pcfile=""
     22652    save_IFS="$IFS"
     22653    IFS=":"
     22654    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     22655      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     22656      if test -r "$dir/$proj-uninstalled.pc" ; then
     22657        pcfile="$dir/$proj-uninstalled.pc"
     22658        pcfiledir="$dir"
     22659        break
     22660      fi
     22661    done
     22662    IFS="$save_IFS"
     22663
     22664    if test "x$pcfile" != x ; then
     22665      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     22666      projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     22667      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22668      ASL_CFLAGS="$projcflags $ASL_CFLAGS"
     22669
     22670      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     22671      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     22672      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     22673      if test "x$projlibs" != x ; then
     22674        if test -d "${pcfiledir}/src" ; then
     22675          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     22676        else
     22677          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     22678        fi
     22679      else
     22680        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     22681      fi
     22682      ASL_LIBS="$ASL_LIBS $projlibs"
     22683
     22684      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     22685      if test "x$projprocessed" = x ; then
     22686        ASL_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22687      fi
     22688
     22689      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     22690      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     22691      nextprojtoprocess="$nextprojtoprocess $projrequires"
     22692
     22693      # remember that we have processed $proj
     22694      projprocessed="$projprocessed $proj"
     22695
     22696    else
     22697      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     22698echo "${ECHO_T}no, dependency $proj not available" >&6
     22699      break 2
     22700    fi
     22701
     22702  done
     22703
     22704  projtoprocess="$nextprojtoprocess"
     22705
     22706  # if there are no more projects to search for, finish up
     22707  if test "x$projtoprocess" = x ; then
     22708    coin_has_asl=yes
     22709    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     22710echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     22711
     22712cat >>confdefs.h <<\_ACEOF
     22713#define COIN_HAS_ASL 1
     22714_ACEOF
     22715
     22716
     22717
     22718
     22719    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22720      if test -n "$ASL_CFLAGS" ; then
     22721        { echo "$as_me:$LINENO: ASL CFLAGS are $ASL_CFLAGS" >&5
     22722echo "$as_me: ASL CFLAGS are $ASL_CFLAGS" >&6;}
     22723      fi
     22724      if test -n "$ASL_LIBS" ; then
     22725        { echo "$as_me:$LINENO: ASL LIBS   are $ASL_LIBS" >&5
     22726echo "$as_me: ASL LIBS   are $ASL_LIBS" >&6;}
     22727      fi
     22728      if test -n "$ASL_DATA" ; then
     22729        { echo "$as_me:$LINENO: ASL DATA   is  $ASL_DATA" >&5
     22730echo "$as_me: ASL DATA   is  $ASL_DATA" >&6;}
     22731      fi
     22732
    2199322733    fi
    2199422734  fi
    21995 fi
    21996 
    21997 if test $coin_has_cgl != unavailable &&
    21998    test $coin_has_cgl != skipping; then
    21999   # Set the #define if the component is available
     22735done
     22736
     22737
     22738
     22739if test $coin_has_asl != notGiven &&
     22740                test $coin_has_asl != skipping; then
     22741  COIN_HAS_ASL_TRUE=
     22742  COIN_HAS_ASL_FALSE='#'
     22743else
     22744  COIN_HAS_ASL_TRUE='#'
     22745  COIN_HAS_ASL_FALSE=
     22746fi
     22747
     22748
     22749
     22750  fi
     22751
     22752else
     22753  echo "$as_me:$LINENO: result: $coin_has_asl" >&5
     22754echo "${ECHO_T}$coin_has_asl" >&6
     22755fi
     22756
     22757if test $coin_has_asl != skipping &&
     22758   test $coin_has_asl != notGiven ; then
    2200022759
    2200122760cat >>confdefs.h <<\_ACEOF
    22002 #define COIN_HAS_CGL 1
     22761#define COIN_HAS_ASL 1
    2200322762_ACEOF
    2200422763
    2200522764
    22006   # Set the variables for source and object code location
    22007 
    22008   CGLSRCDIR=`cd $srcdir/$coin_has_cgl; pwd`
    22009 
    22010   CGLOBJDIR=`pwd`/$coin_has_cgl
    22011 
    22012   CGLDOCDIR=$abs_lib_dir/../share/doc/coin/Cgl
    22013 fi
    22014 
    22015   # Define the Makefile conditional
    22016 
    22017 
    22018 if test $coin_has_cgl != unavailable &&
    22019                 test $coin_has_cgl != skipping; then
    22020   COIN_HAS_CGL_TRUE=
    22021   COIN_HAS_CGL_FALSE='#'
    22022 else
    22023   COIN_HAS_CGL_TRUE='#'
    22024   COIN_HAS_CGL_FALSE=
    22025 fi
    22026 
    22027 echo "$as_me:$LINENO: result: $coin_has_cgl" >&5
    22028 echo "${ECHO_T}$coin_has_cgl" >&6
    22029 
    22030 echo "$as_me:$LINENO: checking for COIN project Clp" >&5
    22031 echo $ECHO_N "checking for COIN project Clp... $ECHO_C" >&6
    22032 
    22033 # First check, if the sub-project is actually available (ToDo: allow
    22034 # other locations)
    22035 
    22036 coin_has_clp=unavailable
     22765  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22766    if test -n "$ASL_CFLAGS" ; then
     22767      { echo "$as_me:$LINENO: ASL CFLAGS are $ASL_CFLAGS" >&5
     22768echo "$as_me: ASL CFLAGS are $ASL_CFLAGS" >&6;}
     22769    fi
     22770    if test -n "$ASL_LIBS" ; then
     22771      { echo "$as_me:$LINENO: ASL LIBS   are $ASL_LIBS" >&5
     22772echo "$as_me: ASL LIBS   are $ASL_LIBS" >&6;}
     22773    fi
     22774    if test -n "$ASL_DATA" ; then
     22775      { echo "$as_me:$LINENO: ASL DATA   is  $ASL_DATA" >&5
     22776echo "$as_me: ASL DATA   is  $ASL_DATA" >&6;}
     22777    fi
     22778    if test -n "$ASL_CFLAGS" ; then
     22779      { echo "$as_me:$LINENO: ASL CFLAGS are $ASL_CFLAGS" >&5
     22780echo "$as_me: ASL CFLAGS are $ASL_CFLAGS" >&6;}
     22781    fi
     22782
     22783  fi
     22784fi
     22785
     22786# Define the Makefile conditional
     22787
     22788
     22789if test $coin_has_asl != notGiven &&
     22790                test $coin_has_asl != skipping; then
     22791  COIN_HAS_ASL_TRUE=
     22792  COIN_HAS_ASL_FALSE='#'
     22793else
     22794  COIN_HAS_ASL_TRUE='#'
     22795  COIN_HAS_ASL_FALSE=
     22796fi
     22797
     22798
     22799
     22800
     22801
     22802echo "$as_me:$LINENO: checking for COIN-OR package Bcp" >&5
     22803echo $ECHO_N "checking for COIN-OR package Bcp... $ECHO_C" >&6
     22804
     22805coin_has_bcp=notGiven
     22806
     22807# check if user wants to skip package in any case
    2203722808if test x"$COIN_SKIP_PROJECTS" != x; then
    2203822809  for dir in $COIN_SKIP_PROJECTS; do
    22039     if test $dir = Clp; then
    22040       coin_has_clp=skipping
    22041     fi
    22042   done
    22043 fi
    22044 
    22045 if test $coin_has_clp != skipping; then
    22046   if test $PACKAGE_TARNAME = clp; then
    22047     coin_has_clp=.
    22048   else
    22049     if test -d $srcdir/../Clp; then
    22050       coin_has_clp=../Clp
    22051     fi
    22052   fi
    22053 fi
    22054 
    22055 if test $coin_has_clp != unavailable &&
    22056    test $coin_has_clp != skipping; then
    22057   # Set the #define if the component is available
    22058 
    22059 cat >>confdefs.h <<\_ACEOF
    22060 #define COIN_HAS_CLP 1
    22061 _ACEOF
    22062 
    22063 
    22064   # Set the variables for source and object code location
    22065 
    22066   CLPSRCDIR=`cd $srcdir/$coin_has_clp; pwd`
    22067 
    22068   CLPOBJDIR=`pwd`/$coin_has_clp
    22069 
    22070   CLPDOCDIR=$abs_lib_dir/../share/doc/coin/Clp
    22071 fi
    22072 
    22073   # Define the Makefile conditional
    22074 
    22075 
    22076 if test $coin_has_clp != unavailable &&
    22077                 test $coin_has_clp != skipping; then
    22078   COIN_HAS_CLP_TRUE=
    22079   COIN_HAS_CLP_FALSE='#'
    22080 else
    22081   COIN_HAS_CLP_TRUE='#'
    22082   COIN_HAS_CLP_FALSE=
    22083 fi
    22084 
    22085 echo "$as_me:$LINENO: result: $coin_has_clp" >&5
    22086 echo "${ECHO_T}$coin_has_clp" >&6
    22087 
    22088 echo "$as_me:$LINENO: checking for COIN project CoinUtils" >&5
    22089 echo $ECHO_N "checking for COIN project CoinUtils... $ECHO_C" >&6
    22090 
    22091 # First check, if the sub-project is actually available (ToDo: allow
    22092 # other locations)
    22093 
    22094 coin_has_coinutils=unavailable
    22095 if test x"$COIN_SKIP_PROJECTS" != x; then
    22096   for dir in $COIN_SKIP_PROJECTS; do
    22097     if test $dir = CoinUtils; then
    22098       coin_has_coinutils=skipping
    22099     fi
    22100   done
    22101 fi
    22102 
    22103 if test $coin_has_coinutils != skipping; then
    22104   if test $PACKAGE_TARNAME = coinutils; then
    22105     coin_has_coinutils=.
    22106   else
    22107     if test -d $srcdir/../CoinUtils; then
    22108       coin_has_coinutils=../CoinUtils
    22109     fi
    22110   fi
    22111 fi
    22112 
    22113 if test $coin_has_coinutils != unavailable &&
    22114    test $coin_has_coinutils != skipping; then
    22115   # Set the #define if the component is available
    22116 
    22117 cat >>confdefs.h <<\_ACEOF
    22118 #define COIN_HAS_COINUTILS 1
    22119 _ACEOF
    22120 
    22121 
    22122   # Set the variables for source and object code location
    22123 
    22124   COINUTILSSRCDIR=`cd $srcdir/$coin_has_coinutils; pwd`
    22125 
    22126   COINUTILSOBJDIR=`pwd`/$coin_has_coinutils
    22127 
    22128   COINUTILSDOCDIR=$abs_lib_dir/../share/doc/coin/CoinUtils
    22129 fi
    22130 
    22131   # Define the Makefile conditional
    22132 
    22133 
    22134 if test $coin_has_coinutils != unavailable &&
    22135                 test $coin_has_coinutils != skipping; then
    22136   COIN_HAS_COINUTILS_TRUE=
    22137   COIN_HAS_COINUTILS_FALSE='#'
    22138 else
    22139   COIN_HAS_COINUTILS_TRUE='#'
    22140   COIN_HAS_COINUTILS_FALSE=
    22141 fi
    22142 
    22143 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
    22144 echo "${ECHO_T}$coin_has_coinutils" >&6
    22145 
    22146 echo "$as_me:$LINENO: checking for COIN project DyLP" >&5
    22147 echo $ECHO_N "checking for COIN project DyLP... $ECHO_C" >&6
    22148 
    22149 # First check, if the sub-project is actually available (ToDo: allow
    22150 # other locations)
    22151 
    22152 coin_has_dylp=unavailable
    22153 if test x"$COIN_SKIP_PROJECTS" != x; then
    22154   for dir in $COIN_SKIP_PROJECTS; do
    22155     if test $dir = DyLP; then
    22156       coin_has_dylp=skipping
    22157     fi
    22158   done
    22159 fi
    22160 
    22161 if test $coin_has_dylp != skipping; then
    22162   if test $PACKAGE_TARNAME = dylp; then
    22163     coin_has_dylp=.
    22164   else
    22165     if test -d $srcdir/../DyLP; then
    22166       coin_has_dylp=../DyLP
    22167     fi
    22168   fi
    22169 fi
    22170 
    22171 if test $coin_has_dylp != unavailable &&
    22172    test $coin_has_dylp != skipping; then
    22173   # Set the #define if the component is available
    22174 
    22175 cat >>confdefs.h <<\_ACEOF
    22176 #define COIN_HAS_DYLP 1
    22177 _ACEOF
    22178 
    22179 
    22180   # Set the variables for source and object code location
    22181 
    22182   DYLPSRCDIR=`cd $srcdir/$coin_has_dylp; pwd`
    22183 
    22184   DYLPOBJDIR=`pwd`/$coin_has_dylp
    22185 
    22186   DYLPDOCDIR=$abs_lib_dir/../share/doc/coin/DyLP
    22187 fi
    22188 
    22189   # Define the Makefile conditional
    22190 
    22191 
    22192 if test $coin_has_dylp != unavailable &&
    22193                 test $coin_has_dylp != skipping; then
    22194   COIN_HAS_DYLP_TRUE=
    22195   COIN_HAS_DYLP_FALSE='#'
    22196 else
    22197   COIN_HAS_DYLP_TRUE='#'
    22198   COIN_HAS_DYLP_FALSE=
    22199 fi
    22200 
    22201 echo "$as_me:$LINENO: result: $coin_has_dylp" >&5
    22202 echo "${ECHO_T}$coin_has_dylp" >&6
    22203 
    22204 echo "$as_me:$LINENO: checking for COIN project Ipopt" >&5
    22205 echo $ECHO_N "checking for COIN project Ipopt... $ECHO_C" >&6
    22206 
    22207 # First check, if the sub-project is actually available (ToDo: allow
    22208 # other locations)
    22209 
    22210 coin_has_ipopt=unavailable
    22211 if test x"$COIN_SKIP_PROJECTS" != x; then
    22212   for dir in $COIN_SKIP_PROJECTS; do
    22213     if test $dir = Ipopt; then
    22214       coin_has_ipopt=skipping
    22215     fi
    22216   done
    22217 fi
    22218 
    22219 if test $coin_has_ipopt != skipping; then
    22220   if test $PACKAGE_TARNAME = ipopt; then
    22221     coin_has_ipopt=.
    22222   else
    22223     if test -d $srcdir/../Ipopt; then
    22224       coin_has_ipopt=../Ipopt
    22225     fi
    22226   fi
    22227 fi
    22228 
    22229 if test $coin_has_ipopt != unavailable &&
    22230    test $coin_has_ipopt != skipping; then
    22231   # Set the #define if the component is available
    22232 
    22233 cat >>confdefs.h <<\_ACEOF
    22234 #define COIN_HAS_IPOPT 1
    22235 _ACEOF
    22236 
    22237 
    22238   # Set the variables for source and object code location
    22239 
    22240   IPOPTSRCDIR=`cd $srcdir/$coin_has_ipopt; pwd`
    22241 
    22242   IPOPTOBJDIR=`pwd`/$coin_has_ipopt
    22243 
    22244   IPOPTDOCDIR=$abs_lib_dir/../share/doc/coin/Ipopt
    22245 fi
    22246 
    22247   # Define the Makefile conditional
    22248 
    22249 
    22250 if test $coin_has_ipopt != unavailable &&
    22251                 test $coin_has_ipopt != skipping; then
    22252   COIN_HAS_IPOPT_TRUE=
    22253   COIN_HAS_IPOPT_FALSE='#'
    22254 else
    22255   COIN_HAS_IPOPT_TRUE='#'
    22256   COIN_HAS_IPOPT_FALSE=
    22257 fi
    22258 
    22259 echo "$as_me:$LINENO: result: $coin_has_ipopt" >&5
    22260 echo "${ECHO_T}$coin_has_ipopt" >&6
    22261 
    22262 echo "$as_me:$LINENO: checking for COIN project Osi" >&5
    22263 echo $ECHO_N "checking for COIN project Osi... $ECHO_C" >&6
    22264 
    22265 # First check, if the sub-project is actually available (ToDo: allow
    22266 # other locations)
    22267 
    22268 coin_has_osi=unavailable
    22269 if test x"$COIN_SKIP_PROJECTS" != x; then
    22270   for dir in $COIN_SKIP_PROJECTS; do
    22271     if test $dir = Osi; then
    22272       coin_has_osi=skipping
    22273     fi
    22274   done
    22275 fi
    22276 
    22277 if test $coin_has_osi != skipping; then
    22278   if test $PACKAGE_TARNAME = osi; then
    22279     coin_has_osi=.
    22280   else
    22281     if test -d $srcdir/../Osi; then
    22282       coin_has_osi=../Osi
    22283     fi
    22284   fi
    22285 fi
    22286 
    22287 if test $coin_has_osi != unavailable &&
    22288    test $coin_has_osi != skipping; then
    22289   # Set the #define if the component is available
    22290 
    22291 cat >>confdefs.h <<\_ACEOF
    22292 #define COIN_HAS_OSI 1
    22293 _ACEOF
    22294 
    22295 
    22296   # Set the variables for source and object code location
    22297 
    22298   OSISRCDIR=`cd $srcdir/$coin_has_osi; pwd`
    22299 
    22300   OSIOBJDIR=`pwd`/$coin_has_osi
    22301 
    22302   OSIDOCDIR=$abs_lib_dir/../share/doc/coin/Osi
    22303 fi
    22304 
    22305   # Define the Makefile conditional
    22306 
    22307 
    22308 if test $coin_has_osi != unavailable &&
    22309                 test $coin_has_osi != skipping; then
    22310   COIN_HAS_OSI_TRUE=
    22311   COIN_HAS_OSI_FALSE='#'
    22312 else
    22313   COIN_HAS_OSI_TRUE='#'
    22314   COIN_HAS_OSI_FALSE=
    22315 fi
    22316 
    22317 echo "$as_me:$LINENO: result: $coin_has_osi" >&5
    22318 echo "${ECHO_T}$coin_has_osi" >&6
    22319 
    22320 echo "$as_me:$LINENO: checking for COIN project Sym" >&5
    22321 echo $ECHO_N "checking for COIN project Sym... $ECHO_C" >&6
    22322 
    22323 # First check, if the sub-project is actually available (ToDo: allow
    22324 # other locations)
    22325 
    22326 coin_has_sym=unavailable
    22327 if test x"$COIN_SKIP_PROJECTS" != x; then
    22328   for dir in $COIN_SKIP_PROJECTS; do
    22329     if test $dir = Sym; then
    22330       coin_has_sym=skipping
    22331     fi
    22332   done
    22333 fi
    22334 
    22335 if test $coin_has_sym != skipping; then
    22336   if test $PACKAGE_TARNAME = sym; then
    22337     coin_has_sym=.
    22338   else
    22339     if test -d $srcdir/../Sym; then
    22340       coin_has_sym=../Sym
    22341     fi
    22342   fi
    22343 fi
    22344 
    22345 if test $coin_has_sym != unavailable &&
    22346    test $coin_has_sym != skipping; then
    22347   # Set the #define if the component is available
    22348 
    22349 cat >>confdefs.h <<\_ACEOF
    22350 #define COIN_HAS_SYM 1
    22351 _ACEOF
    22352 
    22353 
    22354   # Set the variables for source and object code location
    22355 
    22356   SYMSRCDIR=`cd $srcdir/$coin_has_sym; pwd`
    22357 
    22358   SYMOBJDIR=`pwd`/$coin_has_sym
    22359 
    22360   SYMDOCDIR=$abs_lib_dir/../share/doc/coin/Sym
    22361 fi
    22362 
    22363   # Define the Makefile conditional
    22364 
    22365 
    22366 if test $coin_has_sym != unavailable &&
    22367                 test $coin_has_sym != skipping; then
    22368   COIN_HAS_SYM_TRUE=
    22369   COIN_HAS_SYM_FALSE='#'
    22370 else
    22371   COIN_HAS_SYM_TRUE='#'
    22372   COIN_HAS_SYM_FALSE=
    22373 fi
    22374 
    22375 echo "$as_me:$LINENO: result: $coin_has_sym" >&5
    22376 echo "${ECHO_T}$coin_has_sym" >&6
    22377 
    22378 echo "$as_me:$LINENO: checking for COIN project Vol" >&5
    22379 echo $ECHO_N "checking for COIN project Vol... $ECHO_C" >&6
    22380 
    22381 # First check, if the sub-project is actually available (ToDo: allow
    22382 # other locations)
    22383 
    22384 coin_has_vol=unavailable
    22385 if test x"$COIN_SKIP_PROJECTS" != x; then
    22386   for dir in $COIN_SKIP_PROJECTS; do
    22387     if test $dir = Vol; then
    22388       coin_has_vol=skipping
    22389     fi
    22390   done
    22391 fi
    22392 
    22393 if test $coin_has_vol != skipping; then
    22394   if test $PACKAGE_TARNAME = vol; then
    22395     coin_has_vol=.
    22396   else
    22397     if test -d $srcdir/../Vol; then
    22398       coin_has_vol=../Vol
    22399     fi
    22400   fi
    22401 fi
    22402 
    22403 if test $coin_has_vol != unavailable &&
    22404    test $coin_has_vol != skipping; then
    22405   # Set the #define if the component is available
    22406 
    22407 cat >>confdefs.h <<\_ACEOF
    22408 #define COIN_HAS_VOL 1
    22409 _ACEOF
    22410 
    22411 
    22412   # Set the variables for source and object code location
    22413 
    22414   VOLSRCDIR=`cd $srcdir/$coin_has_vol; pwd`
    22415 
    22416   VOLOBJDIR=`pwd`/$coin_has_vol
    22417 
    22418   VOLDOCDIR=$abs_lib_dir/../share/doc/coin/Vol
    22419 fi
    22420 
    22421   # Define the Makefile conditional
    22422 
    22423 
    22424 if test $coin_has_vol != unavailable &&
    22425                 test $coin_has_vol != skipping; then
    22426   COIN_HAS_VOL_TRUE=
    22427   COIN_HAS_VOL_FALSE='#'
    22428 else
    22429   COIN_HAS_VOL_TRUE='#'
    22430   COIN_HAS_VOL_FALSE=
    22431 fi
    22432 
    22433 echo "$as_me:$LINENO: result: $coin_has_vol" >&5
    22434 echo "${ECHO_T}$coin_has_vol" >&6
    22435 
    22436 echo "$as_me:$LINENO: checking for COIN project Bcp" >&5
    22437 echo $ECHO_N "checking for COIN project Bcp... $ECHO_C" >&6
    22438 
    22439 # First check, if the sub-project is actually available (ToDo: allow
    22440 # other locations)
    22441 
    22442 coin_has_bcp=unavailable
    22443 if test x"$COIN_SKIP_PROJECTS" != x; then
    22444   for dir in $COIN_SKIP_PROJECTS; do
    22445     if test $dir = Bcp; then
     22810    if test $dir = "Bcp"; then
    2244622811      coin_has_bcp=skipping
    2244722812    fi
     
    2244922814fi
    2245022815
     22816BCP_LIBS=
     22817BCP_CFLAGS=
     22818BCP_DATA=
     22819
     22820
     22821
     22822
     22823
     22824#check if user provided LIBS, CFLAGS, or DATA for module
    2245122825if test $coin_has_bcp != skipping; then
    22452   if test $PACKAGE_TARNAME = bcp; then
    22453     coin_has_bcp=.
     22826
     22827
     22828# Check whether --with-m4_tolower(Bcp)-lib or --without-m4_tolower(Bcp)-lib was given.
     22829if test "${with_bcp_lib+set}" = set; then
     22830  withval="$with_bcp_lib"
     22831  coin_has_bcp=yes
     22832       BCP_LIBS="$withval"
     22833
     22834
     22835fi;
     22836
     22837
     22838# Check whether --with-m4_tolower(Bcp)-incdir or --without-m4_tolower(Bcp)-incdir was given.
     22839if test "${with_bcp_incdir+set}" = set; then
     22840  withval="$with_bcp_incdir"
     22841  coin_has_bcp=yes
     22842     BCP_CFLAGS="-I`${CYGPATH_W} $withval`"
     22843
     22844
     22845fi;
     22846
     22847
     22848# Check whether --with-m4_tolower(Bcp)-datadir or --without-m4_tolower(Bcp)-datadir was given.
     22849if test "${with_bcp_datadir+set}" = set; then
     22850  withval="$with_bcp_datadir"
     22851  coin_has_bcp=yes
     22852     BCP_DATA="$withval"
     22853fi;
     22854fi
     22855
     22856if test $coin_has_bcp = notGiven; then
     22857  if test -n "$PKG_CONFIG" ; then
     22858    # set search path for pkg-config
     22859    # need to export variable to be sure that the following pkg-config gets these values
     22860    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22861    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     22862    export PKG_CONFIG_PATH
     22863
     22864    # let pkg-config do it's magic
     22865
     22866
     22867
     22868if test -n "$PKG_CONFIG" ; then
     22869  if $PKG_CONFIG --exists "bcp"; then
     22870    BCP_VERSIONS="`$PKG_CONFIG --modversion "bcp" 2>/dev/null`"
     22871     cflags=`$PKG_CONFIG --cflags "bcp" 2>/dev/null`
     22872    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22873        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22874        # but only do this if is not trivial
     22875    if test "$CYGPATH_W" != "echo" ; then
     22876      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22877          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22878        fi
     22879    BCP_CFLAGS="$cflags"
     22880    BCP_LIBS=`$PKG_CONFIG --libs "bcp" 2>/dev/null`
     22881    BCP_DATA=`$PKG_CONFIG --variable=datadir "bcp" 2>/dev/null`
     22882     coin_has_bcp=yes
     22883        echo "$as_me:$LINENO: result: yes: $BCP_VERSIONS" >&5
     22884echo "${ECHO_T}yes: $BCP_VERSIONS" >&6
     22885
     22886
     22887
    2245422888  else
    22455     if test -d $srcdir/../Bcp; then
    22456       coin_has_bcp=../Bcp
     22889    BCP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "bcp"`
     22890      coin_has_bcp=notGiven
     22891        echo "$as_me:$LINENO: result: not given: $BCP_PKG_ERRORS" >&5
     22892echo "${ECHO_T}not given: $BCP_PKG_ERRORS" >&6
     22893
     22894  fi
     22895else
     22896  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Bcp without pkg-config\"" >&5
     22897echo "$as_me: error: \"Cannot check for existance of module Bcp without pkg-config\"" >&2;}
     22898   { (exit 1); exit 1; }; }
     22899fi
     22900
     22901
     22902
     22903
     22904    # reset PKG_CONFIG_PATH variable
     22905    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22906    export PKG_CONFIG_PATH
     22907
     22908    # augment X_CFLAGS and X_LIBS for each build target X in
     22909
     22910  else
     22911    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     22912echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     22913
     22914echo "$as_me:$LINENO: checking for COIN-OR package Bcp (fallback)" >&5
     22915echo $ECHO_N "checking for COIN-OR package Bcp (fallback)... $ECHO_C" >&6
     22916
     22917coin_has_bcp=notGiven
     22918BCP_LIBS=
     22919BCP_CFLAGS=
     22920BCP_DATA=
     22921
     22922# initial list of dependencies is "bcp", but we need to filter out version number specifications (= x, <= x, >= x)
     22923projtoprocess="bcp"
     22924projprocessed=""
     22925
     22926while test $coin_has_bcp = notGiven ; do
     22927  # setup list of projects that need to be processed in the next round
     22928  nextprojtoprocess=""
     22929
     22930  for proj in $projtoprocess ; do
     22931    # if $proj has been processed already, skip this round
     22932    if test "x$projprocessed" != x ; then
     22933      for projdone in $projprocessed ; do
     22934        if test $projdone = $proj ; then
     22935          continue 2
     22936        fi
     22937      done
    2245722938    fi
    22458   fi
    22459 fi
    22460 
    22461 if test $coin_has_bcp != unavailable &&
    22462    test $coin_has_bcp != skipping; then
    22463   # Set the #define if the component is available
     22939
     22940    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     22941    pcfile=""
     22942    save_IFS="$IFS"
     22943    IFS=":"
     22944    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     22945      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     22946      if test -r "$dir/$proj-uninstalled.pc" ; then
     22947        pcfile="$dir/$proj-uninstalled.pc"
     22948        pcfiledir="$dir"
     22949        break
     22950      fi
     22951    done
     22952    IFS="$save_IFS"
     22953
     22954    if test "x$pcfile" != x ; then
     22955      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     22956      projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     22957      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22958      BCP_CFLAGS="$projcflags $BCP_CFLAGS"
     22959
     22960      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     22961      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     22962      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     22963      if test "x$projlibs" != x ; then
     22964        if test -d "${pcfiledir}/src" ; then
     22965          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     22966        else
     22967          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     22968        fi
     22969      else
     22970        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     22971      fi
     22972      BCP_LIBS="$BCP_LIBS $projlibs"
     22973
     22974      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     22975      if test "x$projprocessed" = x ; then
     22976        BCP_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22977      fi
     22978
     22979      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     22980      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     22981      nextprojtoprocess="$nextprojtoprocess $projrequires"
     22982
     22983      # remember that we have processed $proj
     22984      projprocessed="$projprocessed $proj"
     22985
     22986    else
     22987      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     22988echo "${ECHO_T}no, dependency $proj not available" >&6
     22989      break 2
     22990    fi
     22991
     22992  done
     22993
     22994  projtoprocess="$nextprojtoprocess"
     22995
     22996  # if there are no more projects to search for, finish up
     22997  if test "x$projtoprocess" = x ; then
     22998    coin_has_bcp=yes
     22999    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     23000echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
    2246423001
    2246523002cat >>confdefs.h <<\_ACEOF
     
    2246823005
    2246923006
    22470   # Set the variables for source and object code location
    22471 
    22472   BCPSRCDIR=`cd $srcdir/$coin_has_bcp; pwd`
    22473 
    22474   BCPOBJDIR=`pwd`/$coin_has_bcp
    22475 
    22476   BCPDOCDIR=$abs_lib_dir/../share/doc/coin/Bcp
    22477 fi
    22478 
    22479   # Define the Makefile conditional
    22480 
    22481 
    22482 if test $coin_has_bcp != unavailable &&
     23007
     23008
     23009    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23010      if test -n "$BCP_CFLAGS" ; then
     23011        { echo "$as_me:$LINENO: Bcp CFLAGS are $BCP_CFLAGS" >&5
     23012echo "$as_me: Bcp CFLAGS are $BCP_CFLAGS" >&6;}
     23013      fi
     23014      if test -n "$BCP_LIBS" ; then
     23015        { echo "$as_me:$LINENO: Bcp LIBS   are $BCP_LIBS" >&5
     23016echo "$as_me: Bcp LIBS   are $BCP_LIBS" >&6;}
     23017      fi
     23018      if test -n "$BCP_DATA" ; then
     23019        { echo "$as_me:$LINENO: Bcp DATA   is  $BCP_DATA" >&5
     23020echo "$as_me: Bcp DATA   is  $BCP_DATA" >&6;}
     23021      fi
     23022
     23023    fi
     23024  fi
     23025done
     23026
     23027
     23028
     23029if test $coin_has_bcp != notGiven &&
    2248323030                test $coin_has_bcp != skipping; then
    2248423031  COIN_HAS_BCP_TRUE=
     
    2248923036fi
    2249023037
    22491 echo "$as_me:$LINENO: result: $coin_has_bcp" >&5
     23038
     23039
     23040  fi
     23041
     23042else
     23043  echo "$as_me:$LINENO: result: $coin_has_bcp" >&5
    2249223044echo "${ECHO_T}$coin_has_bcp" >&6
    22493 
    22494 echo "$as_me:$LINENO: checking for COIN project Couenne" >&5
    22495 echo $ECHO_N "checking for COIN project Couenne... $ECHO_C" >&6
    22496 
    22497 # First check, if the sub-project is actually available (ToDo: allow
    22498 # other locations)
    22499 
    22500 coin_has_couenne=unavailable
    22501 if test x"$COIN_SKIP_PROJECTS" != x; then
    22502   for dir in $COIN_SKIP_PROJECTS; do
    22503     if test $dir = Couenne; then
    22504       coin_has_couenne=skipping
     23045fi
     23046
     23047if test $coin_has_bcp != skipping &&
     23048   test $coin_has_bcp != notGiven ; then
     23049
     23050cat >>confdefs.h <<\_ACEOF
     23051#define COIN_HAS_BCP 1
     23052_ACEOF
     23053
     23054
     23055  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23056    if test -n "$BCP_CFLAGS" ; then
     23057      { echo "$as_me:$LINENO: Bcp CFLAGS are $BCP_CFLAGS" >&5
     23058echo "$as_me: Bcp CFLAGS are $BCP_CFLAGS" >&6;}
    2250523059    fi
    22506   done
    22507 fi
    22508 
    22509 if test $coin_has_couenne != skipping; then
    22510   if test $PACKAGE_TARNAME = couenne; then
    22511     coin_has_couenne=.
    22512   else
    22513     if test -d $srcdir/../Couenne; then
    22514       coin_has_couenne=../Couenne
     23060    if test -n "$BCP_LIBS" ; then
     23061      { echo "$as_me:$LINENO: Bcp LIBS   are $BCP_LIBS" >&5
     23062echo "$as_me: Bcp LIBS   are $BCP_LIBS" >&6;}
    2251523063    fi
     23064    if test -n "$BCP_DATA" ; then
     23065      { echo "$as_me:$LINENO: Bcp DATA   is  $BCP_DATA" >&5
     23066echo "$as_me: Bcp DATA   is  $BCP_DATA" >&6;}
     23067    fi
     23068    if test -n "$BCP_CFLAGS" ; then
     23069      { echo "$as_me:$LINENO: Bcp CFLAGS are $BCP_CFLAGS" >&5
     23070echo "$as_me: Bcp CFLAGS are $BCP_CFLAGS" >&6;}
     23071    fi
     23072
    2251623073  fi
    2251723074fi
    2251823075
    22519 if test $coin_has_couenne != unavailable &&
    22520    test $coin_has_couenne != skipping; then
    22521   # Set the #define if the component is available
    22522 
    22523 cat >>confdefs.h <<\_ACEOF
    22524 #define COIN_HAS_COUENNE 1
    22525 _ACEOF
    22526 
    22527 
    22528   # Set the variables for source and object code location
    22529 
    22530   COUENNESRCDIR=`cd $srcdir/$coin_has_couenne; pwd`
    22531 
    22532   COUENNEOBJDIR=`pwd`/$coin_has_couenne
    22533 
    22534   COUENNEDOCDIR=$abs_lib_dir/../share/doc/coin/Couenne
    22535 fi
    22536 
    22537   # Define the Makefile conditional
    22538 
    22539 
    22540 if test $coin_has_couenne != unavailable &&
    22541                 test $coin_has_couenne != skipping; then
    22542   COIN_HAS_COUENNE_TRUE=
    22543   COIN_HAS_COUENNE_FALSE='#'
    22544 else
    22545   COIN_HAS_COUENNE_TRUE='#'
    22546   COIN_HAS_COUENNE_FALSE=
    22547 fi
    22548 
    22549 echo "$as_me:$LINENO: result: $coin_has_couenne" >&5
    22550 echo "${ECHO_T}$coin_has_couenne" >&6
     23076# Define the Makefile conditional
     23077
     23078
     23079if test $coin_has_bcp != notGiven &&
     23080                test $coin_has_bcp != skipping; then
     23081  COIN_HAS_BCP_TRUE=
     23082  COIN_HAS_BCP_FALSE='#'
     23083else
     23084  COIN_HAS_BCP_TRUE='#'
     23085  COIN_HAS_BCP_FALSE=
     23086fi
     23087
     23088
    2255123089
    2255223090
     
    2256023098fi;
    2256123099if test "$use_bcp" = yes; then
    22562   if test $coin_has_$1 = unavailable ||
    22563      test $coin_has_$1 = skipping; then
     23100  if test $coin_has_bcp != yes ; then
    2256423101     { { echo "$as_me:$LINENO: error: You specified --with-bonminbcp, but Bcp is not available" >&5
    2256523102echo "$as_me: error: You specified --with-bonminbcp, but Bcp is not available" >&2;}
     
    2257923116
    2258023117#############################################################################
    22581 #                            Third party solvers                            #
     23118#                                     CPLEX                                 #
    2258223119#############################################################################
    2258323120
    22584 # Check which third party solvers are available ToDo!
     23121# Check whether OsiCplex is available
     23122
     23123echo "$as_me:$LINENO: checking for COIN-OR package OsiCpx" >&5
     23124echo $ECHO_N "checking for COIN-OR package OsiCpx... $ECHO_C" >&6
     23125
     23126coin_has_osicpx=notGiven
     23127
     23128# check if user wants to skip package in any case
     23129if test x"$COIN_SKIP_PROJECTS" != x; then
     23130  for dir in $COIN_SKIP_PROJECTS; do
     23131    if test $dir = "OsiCpx"; then
     23132      coin_has_osicpx=skipping
     23133    fi
     23134  done
     23135fi
     23136
     23137OSICPX_LIBS=
     23138OSICPX_CFLAGS=
     23139OSICPX_DATA=
     23140
     23141
     23142
     23143
     23144
     23145
     23146
     23147
     23148
     23149
     23150#check if user provided LIBS, CFLAGS, or DATA for module
     23151if test $coin_has_osicpx != skipping; then
     23152
     23153
     23154# Check whether --with-m4_tolower(OsiCpx)-lib or --without-m4_tolower(OsiCpx)-lib was given.
     23155if test "${with_osicpx_lib+set}" = set; then
     23156  withval="$with_osicpx_lib"
     23157  coin_has_osicpx=yes
     23158       OSICPX_LIBS="$withval"
     23159
     23160         BONMINLIB_PCLIBS="$withval $BONMINLIB_PCLIBS"
     23161         BONMINLIB_LIBS="$withval $BONMINLIB_LIBS"
     23162
     23163
     23164fi;
     23165
     23166
     23167# Check whether --with-m4_tolower(OsiCpx)-incdir or --without-m4_tolower(OsiCpx)-incdir was given.
     23168if test "${with_osicpx_incdir+set}" = set; then
     23169  withval="$with_osicpx_incdir"
     23170  coin_has_osicpx=yes
     23171     OSICPX_CFLAGS="-I`${CYGPATH_W} $withval`"
     23172     BONMINLIB_CFLAGS="$withval $BONMINLIB_CFLAGS"
     23173
     23174
     23175fi;
     23176
     23177
     23178# Check whether --with-m4_tolower(OsiCpx)-datadir or --without-m4_tolower(OsiCpx)-datadir was given.
     23179if test "${with_osicpx_datadir+set}" = set; then
     23180  withval="$with_osicpx_datadir"
     23181  coin_has_osicpx=yes
     23182     OSICPX_DATA="$withval"
     23183fi;
     23184fi
     23185
     23186if test $coin_has_osicpx = notGiven; then
     23187  if test -n "$PKG_CONFIG" ; then
     23188    # set search path for pkg-config
     23189    # need to export variable to be sure that the following pkg-config gets these values
     23190    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     23191    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     23192    export PKG_CONFIG_PATH
     23193
     23194    # let pkg-config do it's magic
     23195
     23196
     23197
     23198if test -n "$PKG_CONFIG" ; then
     23199  if $PKG_CONFIG --exists "osi-cpx"; then
     23200    OSICPX_VERSIONS="`$PKG_CONFIG --modversion "osi-cpx" 2>/dev/null`"
     23201     cflags=`$PKG_CONFIG --cflags "osi-cpx" 2>/dev/null`
     23202    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     23203        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     23204        # but only do this if is not trivial
     23205    if test "$CYGPATH_W" != "echo" ; then
     23206      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     23207          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23208        fi
     23209    OSICPX_CFLAGS="$cflags"
     23210    OSICPX_LIBS=`$PKG_CONFIG --libs "osi-cpx" 2>/dev/null`
     23211    OSICPX_DATA=`$PKG_CONFIG --variable=datadir "osi-cpx" 2>/dev/null`
     23212     coin_has_osicpx=yes
     23213        echo "$as_me:$LINENO: result: yes: $OSICPX_VERSIONS" >&5
     23214echo "${ECHO_T}yes: $OSICPX_VERSIONS" >&6
     23215        BONMINLIB_PCREQUIRES="osi-cpx $BONMINLIB_PCREQUIRES"
     23216
     23217
     23218
     23219  else
     23220    OSICPX_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "osi-cpx"`
     23221      coin_has_osicpx=notGiven
     23222        echo "$as_me:$LINENO: result: not given: $OSICPX_PKG_ERRORS" >&5
     23223echo "${ECHO_T}not given: $OSICPX_PKG_ERRORS" >&6
     23224
     23225  fi
     23226else
     23227  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module OsiCpx without pkg-config\"" >&5
     23228echo "$as_me: error: \"Cannot check for existance of module OsiCpx without pkg-config\"" >&2;}
     23229   { (exit 1); exit 1; }; }
     23230fi
     23231
     23232
     23233
     23234
     23235    # reset PKG_CONFIG_PATH variable
     23236    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     23237    export PKG_CONFIG_PATH
     23238
     23239    # augment X_CFLAGS and X_LIBS for each build target X in BonminLib
     23240
     23241      BONMINLIB_CFLAGS="$OSICPX_CFLAGS $BONMINLIB_CFLAGS"
     23242      BONMINLIB_LIBS="$OSICPX_LIBS $BONMINLIB_LIBS"
     23243
     23244  else
     23245    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     23246echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     23247
     23248echo "$as_me:$LINENO: checking for COIN-OR package OsiCpx (fallback)" >&5
     23249echo $ECHO_N "checking for COIN-OR package OsiCpx (fallback)... $ECHO_C" >&6
     23250
     23251coin_has_osicpx=notGiven
     23252OSICPX_LIBS=
     23253OSICPX_CFLAGS=
     23254OSICPX_DATA=
     23255
     23256# initial list of dependencies is "osi-cpx", but we need to filter out version number specifications (= x, <= x, >= x)
     23257projtoprocess="osi-cpx"
     23258projprocessed=""
     23259
     23260while test $coin_has_osicpx = notGiven ; do
     23261  # setup list of projects that need to be processed in the next round
     23262  nextprojtoprocess=""
     23263
     23264  for proj in $projtoprocess ; do
     23265    # if $proj has been processed already, skip this round
     23266    if test "x$projprocessed" != x ; then
     23267      for projdone in $projprocessed ; do
     23268        if test $projdone = $proj ; then
     23269          continue 2
     23270        fi
     23271      done
     23272    fi
     23273
     23274    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     23275    pcfile=""
     23276    save_IFS="$IFS"
     23277    IFS=":"
     23278    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     23279      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     23280      if test -r "$dir/$proj-uninstalled.pc" ; then
     23281        pcfile="$dir/$proj-uninstalled.pc"
     23282        pcfiledir="$dir"
     23283        break
     23284      fi
     23285    done
     23286    IFS="$save_IFS"
     23287
     23288    if test "x$pcfile" != x ; then
     23289      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     23290      projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     23291      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23292      OSICPX_CFLAGS="$projcflags $OSICPX_CFLAGS"
     23293
     23294      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     23295      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     23296      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     23297      if test "x$projlibs" != x ; then
     23298        if test -d "${pcfiledir}/src" ; then
     23299          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     23300        else
     23301          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     23302        fi
     23303      else
     23304        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     23305      fi
     23306      OSICPX_LIBS="$OSICPX_LIBS $projlibs"
     23307
     23308      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     23309      if test "x$projprocessed" = x ; then
     23310        OSICPX_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23311      fi
     23312
     23313      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     23314      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     23315      nextprojtoprocess="$nextprojtoprocess $projrequires"
     23316
     23317      # remember that we have processed $proj
     23318      projprocessed="$projprocessed $proj"
     23319
     23320    else
     23321      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     23322echo "${ECHO_T}no, dependency $proj not available" >&6
     23323      break 2
     23324    fi
     23325
     23326  done
     23327
     23328  projtoprocess="$nextprojtoprocess"
     23329
     23330  # if there are no more projects to search for, finish up
     23331  if test "x$projtoprocess" = x ; then
     23332    coin_has_osicpx=yes
     23333    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     23334echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     23335
     23336cat >>confdefs.h <<\_ACEOF
     23337#define COIN_HAS_OSICPX 1
     23338_ACEOF
     23339
     23340
     23341
     23342      BONMINLIB_PCREQUIRES="osi-cpx $BONMINLIB_PCREQUIRES"
     23343      BONMINLIB_CFLAGS="$OSICPX_CFLAGS $BONMINLIB_CFLAGS"
     23344      BONMINLIB_LIBS="$OSICPX_LIBS $BONMINLIB_LIBS"
     23345
     23346
     23347    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23348      if test -n "$OSICPX_CFLAGS" ; then
     23349        { echo "$as_me:$LINENO: OsiCpx CFLAGS are $OSICPX_CFLAGS" >&5
     23350echo "$as_me: OsiCpx CFLAGS are $OSICPX_CFLAGS" >&6;}
     23351      fi
     23352      if test -n "$OSICPX_LIBS" ; then
     23353        { echo "$as_me:$LINENO: OsiCpx LIBS   are $OSICPX_LIBS" >&5
     23354echo "$as_me: OsiCpx LIBS   are $OSICPX_LIBS" >&6;}
     23355      fi
     23356      if test -n "$OSICPX_DATA" ; then
     23357        { echo "$as_me:$LINENO: OsiCpx DATA   is  $OSICPX_DATA" >&5
     23358echo "$as_me: OsiCpx DATA   is  $OSICPX_DATA" >&6;}
     23359      fi
     23360
     23361        { echo "$as_me:$LINENO: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&5
     23362echo "$as_me: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&6;}
     23363        { echo "$as_me:$LINENO: BonminLib LIBS   are $BONMINLIB_LIBS" >&5
     23364echo "$as_me: BonminLib LIBS   are $BONMINLIB_LIBS" >&6;}
     23365
     23366    fi
     23367  fi
     23368done
     23369
     23370
     23371
     23372if test $coin_has_osicpx != notGiven &&
     23373                test $coin_has_osicpx != skipping; then
     23374  COIN_HAS_OSICPX_TRUE=
     23375  COIN_HAS_OSICPX_FALSE='#'
     23376else
     23377  COIN_HAS_OSICPX_TRUE='#'
     23378  COIN_HAS_OSICPX_FALSE=
     23379fi
     23380
     23381
     23382
     23383  fi
     23384
     23385else
     23386  echo "$as_me:$LINENO: result: $coin_has_osicpx" >&5
     23387echo "${ECHO_T}$coin_has_osicpx" >&6
     23388fi
     23389
     23390if test $coin_has_osicpx != skipping &&
     23391   test $coin_has_osicpx != notGiven ; then
     23392
     23393cat >>confdefs.h <<\_ACEOF
     23394#define COIN_HAS_OSICPX 1
     23395_ACEOF
     23396
     23397
     23398  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23399    if test -n "$OSICPX_CFLAGS" ; then
     23400      { echo "$as_me:$LINENO: OsiCpx CFLAGS are $OSICPX_CFLAGS" >&5
     23401echo "$as_me: OsiCpx CFLAGS are $OSICPX_CFLAGS" >&6;}
     23402    fi
     23403    if test -n "$OSICPX_LIBS" ; then
     23404      { echo "$as_me:$LINENO: OsiCpx LIBS   are $OSICPX_LIBS" >&5
     23405echo "$as_me: OsiCpx LIBS   are $OSICPX_LIBS" >&6;}
     23406    fi
     23407    if test -n "$OSICPX_DATA" ; then
     23408      { echo "$as_me:$LINENO: OsiCpx DATA   is  $OSICPX_DATA" >&5
     23409echo "$as_me: OsiCpx DATA   is  $OSICPX_DATA" >&6;}
     23410    fi
     23411    if test -n "$OSICPX_CFLAGS" ; then
     23412      { echo "$as_me:$LINENO: OsiCpx CFLAGS are $OSICPX_CFLAGS" >&5
     23413echo "$as_me: OsiCpx CFLAGS are $OSICPX_CFLAGS" >&6;}
     23414    fi
     23415
     23416      { echo "$as_me:$LINENO: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&5
     23417echo "$as_me: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&6;}
     23418      { echo "$as_me:$LINENO: BonminLib LIBS   are $BONMINLIB_LIBS" >&5
     23419echo "$as_me: BonminLib LIBS   are $BONMINLIB_LIBS" >&6;}
     23420
     23421  fi
     23422fi
     23423
     23424# Define the Makefile conditional
     23425
     23426
     23427if test $coin_has_osicpx != notGiven &&
     23428                test $coin_has_osicpx != skipping; then
     23429  COIN_HAS_OSICPX_TRUE=
     23430  COIN_HAS_OSICPX_FALSE='#'
     23431else
     23432  COIN_HAS_OSICPX_TRUE='#'
     23433  COIN_HAS_OSICPX_FALSE=
     23434fi
     23435
     23436
     23437
     23438
     23439# To get also the directory where cplex.h can be found, we also check for cplex directly.
    2258523440
    2258623441  echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
     
    2266023515    if test x"$cplex_libcheck" != xno; then
    2266123516           coin_save_LIBS="$LIBS"
    22662            LIBS="$CPXLIB $ADDLIBS"
     23517           LIBS="$CPXLIB $ADDLIBS "
    2266323518           coin_CPX_link=no
    2266423519           ac_ext=c
     
    2273623591ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2273723592
    22738            if test x"$coin_CPX_link" = xyes ; then
    22739              LIBS="$coin_save_LIBS"
    22740            else
     23593           LIBS="$coin_save_LIBS"
     23594           if test x"$coin_CPX_link" != xyes ; then
    2274123595             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) CPXgetstat with CPX" >&5
    2274223596echo "$as_me: error: Cannot find symbol(s) CPXgetstat with CPX" >&2;}
     
    2274723601
    2274823602# If we make it this far, we've verified the file and linked the function. Add
    22749 # the necessary link flags to ADDLIBS and define the preprocessor symbol
     23603# the necessary link flags to ADDLIBS and _{PC}LIBS and define the preprocessor symbol
    2275023604# COIN_HAS_LBRY.
    2275123605
    2275223606    ADDLIBS="$CPXLIB $ADDLIBS"
     23607
     23608
    2275323609
    2275423610cat >>confdefs.h <<\_ACEOF
     
    2277523631
    2277623632
    22777 if test "$PACKAGE_NAME" = ThirdPartyGlpk; then
    22778   coin_glpkobjdir=../Glpk
    22779 else
    22780   coin_glpkobjdir=../ThirdParty/Glpk
    22781 fi
    22782 coin_glpksrcdir=$abs_source_dir/$coin_glpkobjdir
    22783 
    22784 use_thirdpartyglpk=no
    22785 
    22786 # Check for the requested component. If the user specified an external glpk
    22787 # library don't force a ThirdParty build, let the error propagate.
    22788 
    22789 
    22790   echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
    22791 echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6
    22792 
    22793 # Check for header file directory
    22794 
    22795 
    22796 # Check whether --with-glpk-incdir or --without-glpk-incdir was given.
    22797 if test "${with_glpk_incdir+set}" = set; then
    22798   withval="$with_glpk_incdir"
    22799   GLPKINCDIR=`cd $withval; pwd`
    22800 fi;
    22801 
    22802 # Check for library directory
    22803 
    22804 
    22805 # Check whether --with-glpk-lib or --without-glpk-lib was given.
    22806 if test "${with_glpk_lib+set}" = set; then
    22807   withval="$with_glpk_lib"
    22808   GLPKLIB=$withval
    22809 fi;
    22810 
    22811 # Switch to disable library check if requested
    22812 
    22813   # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
    22814 if test "${enable_glpk_libcheck+set}" = set; then
    22815   enableval="$enable_glpk_libcheck"
    22816   glpk_libcheck=$enableval
    22817 else
    22818   glpk_libcheck=yes
    22819 fi;
    22820 
    22821 # At this point, if we're going to use the library, both LBRYINCDIR and
    22822 # LBRYLIB must be defined and not empty.
    22823 
    22824   if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
    22825     if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
    22826       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&5
    22827 echo "$as_me: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&2;}
    22828    { (exit 1); exit 1; }; }
    22829     fi
    22830     coin_has_glpk=true
    22831     echo "$as_me:$LINENO: result: yes" >&5
    22832 echo "${ECHO_T}yes" >&6
    22833   else
    22834     coin_has_glpk=false
    22835     echo "$as_me:$LINENO: result: no" >&5
    22836 echo "${ECHO_T}no" >&6
    22837   fi
    22838 
    22839 # If we have instructions for use, consider header and link checks.
    22840 
    22841   if test $coin_has_glpk = true; then
    22842 
    22843 # If argument 3 (file) is given, check for the file. Typically this will be a
    22844 # header file, but that's not assumed.
    22845 
    22846     if test -r $GLPKINCDIR/glpk.h; then
    22847 
    22848   :
    22849 else
    22850   { { echo "$as_me:$LINENO: error: Cannot find file glpk.h in $GLPKINCDIR" >&5
    22851 echo "$as_me: error: Cannot find file glpk.h in $GLPKINCDIR" >&2;}
    22852    { (exit 1); exit 1; }; }
    22853   :
    22854 fi
    22855 
    22856 
    22857 # Now see if we can link the function. There are arguments for and against
    22858 # assuming argument 3 is a header file declaring the function. A correct
    22859 # function declaration is the main argument in favour. Having to cope with
    22860 # possible dependencies or other oddities are the main arguments against.
    22861 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    22862 # Obviously, this has limits.
    22863 
    22864     if test x"$glpk_libcheck" != xno; then
    22865            coin_save_LIBS="$LIBS"
    22866            LIBS="$GLPKLIB $ADDLIBS"
    22867            coin_GLPK_link=no
    22868            ac_ext=c
    22869 ac_cpp='$CPP $CPPFLAGS'
    22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22873 
    22874            for fnm in _glp_lpx_simplex glp_lpx_simplex ; do
    22875              echo "$as_me:$LINENO: checking whether symbol $fnm is available with GLPK" >&5
    22876 echo $ECHO_N "checking whether symbol $fnm is available with GLPK... $ECHO_C" >&6
    22877              cat >conftest.$ac_ext <<_ACEOF
    22878 /* confdefs.h.  */
    22879 _ACEOF
    22880 cat confdefs.h >>conftest.$ac_ext
    22881 cat >>conftest.$ac_ext <<_ACEOF
    22882 /* end confdefs.h.  */
    22883 
    22884 #ifdef F77_DUMMY_MAIN
    22885 
    22886 #  ifdef __cplusplus
    22887      extern "C"
    22888 #  endif
    22889    int F77_DUMMY_MAIN() { return 1; }
    22890 
    22891 #endif
    22892 int
    22893 main ()
    22894 {
    22895 $fnm()
    22896   ;
    22897   return 0;
    22898 }
    22899 _ACEOF
    22900 rm -f conftest.$ac_objext conftest$ac_exeext
    22901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22902   (eval $ac_link) 2>conftest.er1
    22903   ac_status=$?
    22904   grep -v '^ *+' conftest.er1 >conftest.err
    22905   rm -f conftest.er1
    22906   cat conftest.err >&5
    22907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22908   (exit $ac_status); } &&
    22909          { ac_try='test -z "$ac_c_werror_flag"
    22910                          || test ! -s conftest.err'
    22911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22912   (eval $ac_try) 2>&5
    22913   ac_status=$?
    22914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22915   (exit $ac_status); }; } &&
    22916          { ac_try='test -s conftest$ac_exeext'
    22917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22918   (eval $ac_try) 2>&5
    22919   ac_status=$?
    22920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22921   (exit $ac_status); }; }; then
    22922   echo "$as_me:$LINENO: result: yes" >&5
    22923 echo "${ECHO_T}yes" >&6
    22924                   coin_GLPK_link=yes
    22925                   break
    22926 else
    22927   echo "$as_me: failed program was:" >&5
    22928 sed 's/^/| /' conftest.$ac_ext >&5
    22929 
    22930 echo "$as_me:$LINENO: result: no" >&5
    22931 echo "${ECHO_T}no" >&6
    22932 fi
    22933 rm -f conftest.err conftest.$ac_objext \
    22934       conftest$ac_exeext conftest.$ac_ext
    22935            done
    22936            ac_ext=c
    22937 ac_cpp='$CPP $CPPFLAGS'
    22938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22941 
    22942            if test x"$coin_GLPK_link" = xyes ; then
    22943              LIBS="$coin_save_LIBS"
    22944            else
    22945              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) _glp_lpx_simplex glp_lpx_simplex with GLPK" >&5
    22946 echo "$as_me: error: Cannot find symbol(s) _glp_lpx_simplex glp_lpx_simplex with GLPK" >&2;}
    22947    { (exit 1); exit 1; }; }
    22948            fi
    22949          fi
    22950 
    22951 
    22952 # If we make it this far, we've verified the file and linked the function. Add
    22953 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    22954 # COIN_HAS_LBRY.
    22955 
    22956     ADDLIBS="$GLPKLIB $ADDLIBS"
    22957 
    22958 cat >>confdefs.h <<\_ACEOF
    22959 #define COIN_HAS_GLPK 1
    22960 _ACEOF
    22961 
    22962   fi
    22963 
    22964 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    22965 # automake conditional. These actions must occur unconditionally.
    22966 
    22967 
    22968 
    22969 
    22970 
    22971 if test $coin_has_glpk = true; then
    22972   COIN_HAS_GLPK_TRUE=
    22973   COIN_HAS_GLPK_FALSE='#'
    22974 else
    22975   COIN_HAS_GLPK_TRUE='#'
    22976   COIN_HAS_GLPK_FALSE=
    22977 fi
    22978 
    22979 
    22980  if test x"$coin_has_glpk" = xfalse && test x"$GLPKLIB" = x ; then
    22981    use_thirdpartyglpk=try
    22982  fi
    22983 
    22984 
    22985 # If the user has supplied an external library, use it. Otherwise, consider
    22986 # a build in ThirdParty/Glpk. If we build, assume we get both glpk and gmpl.
    22987 
    22988 if test x"$use_thirdpartyglpk" = xtry ; then
    22989   MAKEOKFILE=.MakeOk
    22990   # Check if the Glpk's ThirdParty project has been configured
    22991   if test "$PACKAGE_NAME" != ThirdPartyGlpk; then
    22992     if test -r $coin_glpkobjdir/.MakeOk; then
    22993       use_thirdpartyglpk=build
    22994     else
    22995       use_thirdpartyglpk=no
    22996     fi
    22997   else
    22998     use_thirdpartyglpk=build
    22999   fi
    23000 
    23001 # If we're building, set the library and include directory variables, create a
    23002 # preprocessor symbol, define a variable that says we're using glpk/gmpl, and
    23003 # another to indicate a link check is a bad idea (hard to do before the library
    23004 # exists).
    23005 
    23006   if test x"$use_thirdpartyglpk" = xbuild ; then
    23007     GLPKINCDIR="$coin_glpksrcdir/glpk/include"
    23008 
    23009 
    23010 cat >>confdefs.h <<\_ACEOF
    23011 #define COIN_HAS_GLPK 1
    23012 _ACEOF
    23013 
    23014     coin_has_glpk=true
    23015     glpk_libcheck=no
    23016     GLPKOBJDIR=`cd $coin_glpkobjdir; pwd`
    23017 
    23018     { echo "$as_me:$LINENO: Using Glpk in ThirdParty/Glpk" >&5
    23019 echo "$as_me: Using Glpk in ThirdParty/Glpk" >&6;}
    23020   fi
    23021 fi
    23022 
    23023 # Define the necessary automake conditionals.
    23024 
    23025 
    23026 
    23027 if test x"$coin_has_glpk" = xtrue; then
    23028   COIN_HAS_GLPK_TRUE=
    23029   COIN_HAS_GLPK_FALSE='#'
    23030 else
    23031   COIN_HAS_GLPK_TRUE='#'
    23032   COIN_HAS_GLPK_FALSE=
    23033 fi
    23034 
    23035 
    23036 
    23037 if test x"$use_thirdpartyglpk" = xbuild; then
    23038   COIN_BUILD_GLPK_TRUE=
    23039   COIN_BUILD_GLPK_FALSE='#'
    23040 else
    23041   COIN_BUILD_GLPK_TRUE='#'
    23042   COIN_BUILD_GLPK_FALSE=
    23043 fi
    23044 
    23045 
    23046 
    23047 
    23048   echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5
    23049 echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6
    23050 
    23051 # Check for header file directory
    23052 
    23053 
    23054 # Check whether --with-fortmp-incdir or --without-fortmp-incdir was given.
    23055 if test "${with_fortmp_incdir+set}" = set; then
    23056   withval="$with_fortmp_incdir"
    23057   FMPINCDIR=`cd $withval; pwd`
    23058 fi;
    23059 
    23060 # Check for library directory
    23061 
    23062 
    23063 # Check whether --with-fortmp-lib or --without-fortmp-lib was given.
    23064 if test "${with_fortmp_lib+set}" = set; then
    23065   withval="$with_fortmp_lib"
    23066   FMPLIB=$withval
    23067 fi;
    23068 
    23069 # Switch to disable library check if requested
    23070 
    23071   # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given.
    23072 if test "${enable_fortmp_libcheck+set}" = set; then
    23073   enableval="$enable_fortmp_libcheck"
    23074   fortmp_libcheck=$enableval
    23075 else
    23076   fortmp_libcheck=yes
    23077 fi;
    23078 
    23079 # At this point, if we're going to use the library, both LBRYINCDIR and
    23080 # LBRYLIB must be defined and not empty.
    23081 
    23082   if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then
    23083     if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then
    23084       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&5
    23085 echo "$as_me: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&2;}
    23086    { (exit 1); exit 1; }; }
    23087     fi
    23088     coin_has_fmp=true
    23089     echo "$as_me:$LINENO: result: yes" >&5
    23090 echo "${ECHO_T}yes" >&6
    23091   else
    23092     coin_has_fmp=false
    23093     echo "$as_me:$LINENO: result: no" >&5
    23094 echo "${ECHO_T}no" >&6
    23095   fi
    23096 
    23097 # If we have instructions for use, consider header and link checks.
    23098 
    23099   if test $coin_has_fmp = true; then
    23100 
    23101 # If argument 3 (file) is given, check for the file. Typically this will be a
    23102 # header file, but that's not assumed.
    23103 
    23104 
    23105 
    23106 # Now see if we can link the function. There are arguments for and against
    23107 # assuming argument 3 is a header file declaring the function. A correct
    23108 # function declaration is the main argument in favour. Having to cope with
    23109 # possible dependencies or other oddities are the main arguments against.
    23110 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    23111 # Obviously, this has limits.
    23112 
    23113 
    23114 
    23115 # If we make it this far, we've verified the file and linked the function. Add
    23116 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    23117 # COIN_HAS_LBRY.
    23118 
    23119     ADDLIBS="$FMPLIB $ADDLIBS"
    23120 
    23121 cat >>confdefs.h <<\_ACEOF
    23122 #define COIN_HAS_FMP 1
    23123 _ACEOF
    23124 
    23125   fi
    23126 
    23127 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    23128 # automake conditional. These actions must occur unconditionally.
    23129 
    23130 
    23131 
    23132 
    23133 
    23134 if test $coin_has_fmp = true; then
    23135   COIN_HAS_FMP_TRUE=
    23136   COIN_HAS_FMP_FALSE='#'
    23137 else
    23138   COIN_HAS_FMP_TRUE='#'
    23139   COIN_HAS_FMP_FALSE=
    23140 fi
    23141 
    23142   #ToDo! is Fortran?
    23143 
    23144   echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5
    23145 echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6
    23146 
    23147 # Check for header file directory
    23148 
    23149 
    23150 # Check whether --with-mosek-incdir or --without-mosek-incdir was given.
    23151 if test "${with_mosek_incdir+set}" = set; then
    23152   withval="$with_mosek_incdir"
    23153   MSKINCDIR=`cd $withval; pwd`
    23154 fi;
    23155 
    23156 # Check for library directory
    23157 
    23158 
    23159 # Check whether --with-mosek-lib or --without-mosek-lib was given.
    23160 if test "${with_mosek_lib+set}" = set; then
    23161   withval="$with_mosek_lib"
    23162   MSKLIB=$withval
    23163 fi;
    23164 
    23165 # Switch to disable library check if requested
    23166 
    23167   # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given.
    23168 if test "${enable_mosek_libcheck+set}" = set; then
    23169   enableval="$enable_mosek_libcheck"
    23170   mosek_libcheck=$enableval
    23171 else
    23172   mosek_libcheck=yes
    23173 fi;
    23174 
    23175 # At this point, if we're going to use the library, both LBRYINCDIR and
    23176 # LBRYLIB must be defined and not empty.
    23177 
    23178   if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then
    23179     if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then
    23180       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&5
    23181 echo "$as_me: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&2;}
    23182    { (exit 1); exit 1; }; }
    23183     fi
    23184     coin_has_msk=true
    23185     echo "$as_me:$LINENO: result: yes" >&5
    23186 echo "${ECHO_T}yes" >&6
    23187   else
    23188     coin_has_msk=false
    23189     echo "$as_me:$LINENO: result: no" >&5
    23190 echo "${ECHO_T}no" >&6
    23191   fi
    23192 
    23193 # If we have instructions for use, consider header and link checks.
    23194 
    23195   if test $coin_has_msk = true; then
    23196 
    23197 # If argument 3 (file) is given, check for the file. Typically this will be a
    23198 # header file, but that's not assumed.
    23199 
    23200     if test -r $MSKINCDIR/mosek.h; then
    23201 
    23202   :
    23203 else
    23204   { { echo "$as_me:$LINENO: error: Cannot find file mosek.h in $MSKINCDIR" >&5
    23205 echo "$as_me: error: Cannot find file mosek.h in $MSKINCDIR" >&2;}
    23206    { (exit 1); exit 1; }; }
    23207   :
    23208 fi
    23209 
    23210 
    23211 # Now see if we can link the function. There are arguments for and against
    23212 # assuming argument 3 is a header file declaring the function. A correct
    23213 # function declaration is the main argument in favour. Having to cope with
    23214 # possible dependencies or other oddities are the main arguments against.
    23215 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    23216 # Obviously, this has limits.
    23217 
    23218     if test x"$mosek_libcheck" != xno; then
    23219            coin_save_LIBS="$LIBS"
    23220            LIBS="$MSKLIB $ADDLIBS"
    23221            coin_MSK_link=no
    23222            ac_ext=c
    23223 ac_cpp='$CPP $CPPFLAGS'
    23224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23227 
    23228            for fnm in MSK_openmosek ; do
    23229              echo "$as_me:$LINENO: checking whether symbol $fnm is available with MSK" >&5
    23230 echo $ECHO_N "checking whether symbol $fnm is available with MSK... $ECHO_C" >&6
    23231              cat >conftest.$ac_ext <<_ACEOF
    23232 /* confdefs.h.  */
    23233 _ACEOF
    23234 cat confdefs.h >>conftest.$ac_ext
    23235 cat >>conftest.$ac_ext <<_ACEOF
    23236 /* end confdefs.h.  */
    23237 
    23238 #ifdef F77_DUMMY_MAIN
    23239 
    23240 #  ifdef __cplusplus
    23241      extern "C"
    23242 #  endif
    23243    int F77_DUMMY_MAIN() { return 1; }
    23244 
    23245 #endif
    23246 int
    23247 main ()
    23248 {
    23249 $fnm()
    23250   ;
    23251   return 0;
    23252 }
    23253 _ACEOF
    23254 rm -f conftest.$ac_objext conftest$ac_exeext
    23255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23256   (eval $ac_link) 2>conftest.er1
    23257   ac_status=$?
    23258   grep -v '^ *+' conftest.er1 >conftest.err
    23259   rm -f conftest.er1
    23260   cat conftest.err >&5
    23261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23262   (exit $ac_status); } &&
    23263          { ac_try='test -z "$ac_c_werror_flag"
    23264                          || test ! -s conftest.err'
    23265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23266   (eval $ac_try) 2>&5
    23267   ac_status=$?
    23268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23269   (exit $ac_status); }; } &&
    23270          { ac_try='test -s conftest$ac_exeext'
    23271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23272   (eval $ac_try) 2>&5
    23273   ac_status=$?
    23274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23275   (exit $ac_status); }; }; then
    23276   echo "$as_me:$LINENO: result: yes" >&5
    23277 echo "${ECHO_T}yes" >&6
    23278                   coin_MSK_link=yes
    23279                   break
    23280 else
    23281   echo "$as_me: failed program was:" >&5
    23282 sed 's/^/| /' conftest.$ac_ext >&5
    23283 
    23284 echo "$as_me:$LINENO: result: no" >&5
    23285 echo "${ECHO_T}no" >&6
    23286 fi
    23287 rm -f conftest.err conftest.$ac_objext \
    23288       conftest$ac_exeext conftest.$ac_ext
    23289            done
    23290            ac_ext=c
    23291 ac_cpp='$CPP $CPPFLAGS'
    23292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23295 
    23296            if test x"$coin_MSK_link" = xyes ; then
    23297              LIBS="$coin_save_LIBS"
    23298            else
    23299              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) MSK_openmosek with MSK" >&5
    23300 echo "$as_me: error: Cannot find symbol(s) MSK_openmosek with MSK" >&2;}
    23301    { (exit 1); exit 1; }; }
    23302            fi
    23303          fi
    23304 
    23305 
    23306 # If we make it this far, we've verified the file and linked the function. Add
    23307 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    23308 # COIN_HAS_LBRY.
    23309 
    23310     ADDLIBS="$MSKLIB $ADDLIBS"
    23311 
    23312 cat >>confdefs.h <<\_ACEOF
    23313 #define COIN_HAS_MSK 1
    23314 _ACEOF
    23315 
    23316   fi
    23317 
    23318 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    23319 # automake conditional. These actions must occur unconditionally.
    23320 
    23321 
    23322 
    23323 
    23324 
    23325 if test $coin_has_msk = true; then
    23326   COIN_HAS_MSK_TRUE=
    23327   COIN_HAS_MSK_FALSE='#'
    23328 else
    23329   COIN_HAS_MSK_TRUE='#'
    23330   COIN_HAS_MSK_FALSE=
    23331 fi
    23332 
    23333 
    23334 
    23335   echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
    23336 echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
    23337 
    23338 # Check for header file directory
    23339 
    23340 
    23341 # Check whether --with-osl-incdir or --without-osl-incdir was given.
    23342 if test "${with_osl_incdir+set}" = set; then
    23343   withval="$with_osl_incdir"
    23344   OSLINCDIR=`cd $withval; pwd`
    23345 fi;
    23346 
    23347 # Check for library directory
    23348 
    23349 
    23350 # Check whether --with-osl-lib or --without-osl-lib was given.
    23351 if test "${with_osl_lib+set}" = set; then
    23352   withval="$with_osl_lib"
    23353   OSLLIB=$withval
    23354 fi;
    23355 
    23356 # Switch to disable library check if requested
    23357 
    23358   # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
    23359 if test "${enable_osl_libcheck+set}" = set; then
    23360   enableval="$enable_osl_libcheck"
    23361   osl_libcheck=$enableval
    23362 else
    23363   osl_libcheck=yes
    23364 fi;
    23365 
    23366 # At this point, if we're going to use the library, both LBRYINCDIR and
    23367 # LBRYLIB must be defined and not empty.
    23368 
    23369   if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
    23370     if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
    23371       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&5
    23372 echo "$as_me: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&2;}
    23373    { (exit 1); exit 1; }; }
    23374     fi
    23375     coin_has_osl=true
    23376     echo "$as_me:$LINENO: result: yes" >&5
    23377 echo "${ECHO_T}yes" >&6
    23378   else
    23379     coin_has_osl=false
    23380     echo "$as_me:$LINENO: result: no" >&5
    23381 echo "${ECHO_T}no" >&6
    23382   fi
    23383 
    23384 # If we have instructions for use, consider header and link checks.
    23385 
    23386   if test $coin_has_osl = true; then
    23387 
    23388 # If argument 3 (file) is given, check for the file. Typically this will be a
    23389 # header file, but that's not assumed.
    23390 
    23391     if test -r $OSLINCDIR/ekk_c_api.h; then
    23392 
    23393   :
    23394 else
    23395   { { echo "$as_me:$LINENO: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&5
    23396 echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;}
    23397    { (exit 1); exit 1; }; }
    23398   :
    23399 fi
    23400 
    23401 
    23402 # Now see if we can link the function. There are arguments for and against
    23403 # assuming argument 3 is a header file declaring the function. A correct
    23404 # function declaration is the main argument in favour. Having to cope with
    23405 # possible dependencies or other oddities are the main arguments against.
    23406 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    23407 # Obviously, this has limits.
    23408 
    23409     if test x"$osl_libcheck" != xno; then
    23410            coin_save_LIBS="$LIBS"
    23411            LIBS="$OSLLIB $ADDLIBS"
    23412            coin_OSL_link=no
    23413            ac_ext=c
    23414 ac_cpp='$CPP $CPPFLAGS'
    23415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23418 
    23419            for fnm in ekk_simplex ; do
    23420              echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5
    23421 echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6
    23422              cat >conftest.$ac_ext <<_ACEOF
    23423 /* confdefs.h.  */
    23424 _ACEOF
    23425 cat confdefs.h >>conftest.$ac_ext
    23426 cat >>conftest.$ac_ext <<_ACEOF
    23427 /* end confdefs.h.  */
    23428 
    23429 #ifdef F77_DUMMY_MAIN
    23430 
    23431 #  ifdef __cplusplus
    23432      extern "C"
    23433 #  endif
    23434    int F77_DUMMY_MAIN() { return 1; }
    23435 
    23436 #endif
    23437 int
    23438 main ()
    23439 {
    23440 $fnm()
    23441   ;
    23442   return 0;
    23443 }
    23444 _ACEOF
    23445 rm -f conftest.$ac_objext conftest$ac_exeext
    23446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23447   (eval $ac_link) 2>conftest.er1
    23448   ac_status=$?
    23449   grep -v '^ *+' conftest.er1 >conftest.err
    23450   rm -f conftest.er1
    23451   cat conftest.err >&5
    23452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23453   (exit $ac_status); } &&
    23454          { ac_try='test -z "$ac_c_werror_flag"
    23455                          || test ! -s conftest.err'
    23456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23457   (eval $ac_try) 2>&5
    23458   ac_status=$?
    23459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23460   (exit $ac_status); }; } &&
    23461          { ac_try='test -s conftest$ac_exeext'
    23462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23463   (eval $ac_try) 2>&5
    23464   ac_status=$?
    23465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23466   (exit $ac_status); }; }; then
    23467   echo "$as_me:$LINENO: result: yes" >&5
    23468 echo "${ECHO_T}yes" >&6
    23469                   coin_OSL_link=yes
    23470                   break
    23471 else
    23472   echo "$as_me: failed program was:" >&5
    23473 sed 's/^/| /' conftest.$ac_ext >&5
    23474 
    23475 echo "$as_me:$LINENO: result: no" >&5
    23476 echo "${ECHO_T}no" >&6
    23477 fi
    23478 rm -f conftest.err conftest.$ac_objext \
    23479       conftest$ac_exeext conftest.$ac_ext
    23480            done
    23481            ac_ext=c
    23482 ac_cpp='$CPP $CPPFLAGS'
    23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23486 
    23487            if test x"$coin_OSL_link" = xyes ; then
    23488              LIBS="$coin_save_LIBS"
    23489            else
    23490              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5
    23491 echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;}
    23492    { (exit 1); exit 1; }; }
    23493            fi
    23494          fi
    23495 
    23496 
    23497 # If we make it this far, we've verified the file and linked the function. Add
    23498 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    23499 # COIN_HAS_LBRY.
    23500 
    23501     ADDLIBS="$OSLLIB $ADDLIBS"
    23502 
    23503 cat >>confdefs.h <<\_ACEOF
    23504 #define COIN_HAS_OSL 1
    23505 _ACEOF
    23506 
    23507   fi
    23508 
    23509 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    23510 # automake conditional. These actions must occur unconditionally.
    23511 
    23512 
    23513 
    23514 
    23515 
    23516 if test $coin_has_osl = true; then
    23517   COIN_HAS_OSL_TRUE=
    23518   COIN_HAS_OSL_FALSE='#'
    23519 else
    23520   COIN_HAS_OSL_TRUE='#'
    23521   COIN_HAS_OSL_FALSE=
    23522 fi
    23523 
    23524 
    23525 
    23526   echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
    23527 echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
    23528 
    23529 # Check for header file directory
    23530 
    23531 
    23532 # Check whether --with-soplex-incdir or --without-soplex-incdir was given.
    23533 if test "${with_soplex_incdir+set}" = set; then
    23534   withval="$with_soplex_incdir"
    23535   SPXINCDIR=`cd $withval; pwd`
    23536 fi;
    23537 
    23538 # Check for library directory
    23539 
    23540 
    23541 # Check whether --with-soplex-lib or --without-soplex-lib was given.
    23542 if test "${with_soplex_lib+set}" = set; then
    23543   withval="$with_soplex_lib"
    23544   SPXLIB=$withval
    23545 fi;
    23546 
    23547 # Switch to disable library check if requested
    23548 
    23549   # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
    23550 if test "${enable_soplex_libcheck+set}" = set; then
    23551   enableval="$enable_soplex_libcheck"
    23552   soplex_libcheck=$enableval
    23553 else
    23554   soplex_libcheck=yes
    23555 fi;
    23556 
    23557 # At this point, if we're going to use the library, both LBRYINCDIR and
    23558 # LBRYLIB must be defined and not empty.
    23559 
    23560   if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
    23561     if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
    23562       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&5
    23563 echo "$as_me: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&2;}
    23564    { (exit 1); exit 1; }; }
    23565     fi
    23566     coin_has_spx=true
    23567     echo "$as_me:$LINENO: result: yes" >&5
    23568 echo "${ECHO_T}yes" >&6
    23569   else
    23570     coin_has_spx=false
    23571     echo "$as_me:$LINENO: result: no" >&5
    23572 echo "${ECHO_T}no" >&6
    23573   fi
    23574 
    23575 # If we have instructions for use, consider header and link checks.
    23576 
    23577   if test $coin_has_spx = true; then
    23578 
    23579 # If argument 3 (file) is given, check for the file. Typically this will be a
    23580 # header file, but that's not assumed.
    23581 
    23582     if test -r $SPXINCDIR/spxsolver.h; then
    23583 
    23584   :
    23585 else
    23586   { { echo "$as_me:$LINENO: error: Cannot find file spxsolver.h in $SPXINCDIR" >&5
    23587 echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;}
    23588    { (exit 1); exit 1; }; }
    23589   :
    23590 fi
    23591 
    23592 
    23593 # Now see if we can link the function. There are arguments for and against
    23594 # assuming argument 3 is a header file declaring the function. A correct
    23595 # function declaration is the main argument in favour. Having to cope with
    23596 # possible dependencies or other oddities are the main arguments against.
    23597 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    23598 # Obviously, this has limits.
    23599 
    23600 
    23601 
    23602 # If we make it this far, we've verified the file and linked the function. Add
    23603 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    23604 # COIN_HAS_LBRY.
    23605 
    23606     ADDLIBS="$SPXLIB $ADDLIBS"
    23607 
    23608 cat >>confdefs.h <<\_ACEOF
    23609 #define COIN_HAS_SPX 1
    23610 _ACEOF
    23611 
    23612   fi
    23613 
    23614 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    23615 # automake conditional. These actions must occur unconditionally.
    23616 
    23617 
    23618 
    23619 
    23620 
    23621 if test $coin_has_spx = true; then
    23622   COIN_HAS_SPX_TRUE=
    23623   COIN_HAS_SPX_FALSE='#'
    23624 else
    23625   COIN_HAS_SPX_TRUE='#'
    23626   COIN_HAS_SPX_FALSE=
    23627 fi
    23628 
    23629  # ToDo
    23630 
    23631   echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
    23632 echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
    23633 
    23634 # Check for header file directory
    23635 
    23636 
    23637 # Check whether --with-xpress-incdir or --without-xpress-incdir was given.
    23638 if test "${with_xpress_incdir+set}" = set; then
    23639   withval="$with_xpress_incdir"
    23640   XPRINCDIR=`cd $withval; pwd`
    23641 fi;
    23642 
    23643 # Check for library directory
    23644 
    23645 
    23646 # Check whether --with-xpress-lib or --without-xpress-lib was given.
    23647 if test "${with_xpress_lib+set}" = set; then
    23648   withval="$with_xpress_lib"
    23649   XPRLIB=$withval
    23650 fi;
    23651 
    23652 # Switch to disable library check if requested
    23653 
    23654   # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
    23655 if test "${enable_xpress_libcheck+set}" = set; then
    23656   enableval="$enable_xpress_libcheck"
    23657   xpress_libcheck=$enableval
    23658 else
    23659   xpress_libcheck=yes
    23660 fi;
    23661 
    23662 # At this point, if we're going to use the library, both LBRYINCDIR and
    23663 # LBRYLIB must be defined and not empty.
    23664 
    23665   if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
    23666     if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
    23667       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&5
    23668 echo "$as_me: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&2;}
    23669    { (exit 1); exit 1; }; }
    23670     fi
    23671     coin_has_xpr=true
    23672     echo "$as_me:$LINENO: result: yes" >&5
    23673 echo "${ECHO_T}yes" >&6
    23674   else
    23675     coin_has_xpr=false
    23676     echo "$as_me:$LINENO: result: no" >&5
    23677 echo "${ECHO_T}no" >&6
    23678   fi
    23679 
    23680 # If we have instructions for use, consider header and link checks.
    23681 
    23682   if test $coin_has_xpr = true; then
    23683 
    23684 # If argument 3 (file) is given, check for the file. Typically this will be a
    23685 # header file, but that's not assumed.
    23686 
    23687     if test -r $XPRINCDIR/xprs.h; then
    23688 
    23689   :
    23690 else
    23691   { { echo "$as_me:$LINENO: error: Cannot find file xprs.h in $XPRINCDIR" >&5
    23692 echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;}
    23693    { (exit 1); exit 1; }; }
    23694   :
    23695 fi
    23696 
    23697 
    23698 # Now see if we can link the function. There are arguments for and against
    23699 # assuming argument 3 is a header file declaring the function. A correct
    23700 # function declaration is the main argument in favour. Having to cope with
    23701 # possible dependencies or other oddities are the main arguments against.
    23702 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    23703 # Obviously, this has limits.
    23704 
    23705     if test x"$xpress_libcheck" != xno; then
    23706            coin_save_LIBS="$LIBS"
    23707            LIBS="$XPRLIB $ADDLIBS"
    23708            coin_XPR_link=no
    23709            ac_ext=c
    23710 ac_cpp='$CPP $CPPFLAGS'
    23711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23714 
    23715            for fnm in XPRSsetintcontrol ; do
    23716              echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5
    23717 echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6
    23718              cat >conftest.$ac_ext <<_ACEOF
    23719 /* confdefs.h.  */
    23720 _ACEOF
    23721 cat confdefs.h >>conftest.$ac_ext
    23722 cat >>conftest.$ac_ext <<_ACEOF
    23723 /* end confdefs.h.  */
    23724 
    23725 #ifdef F77_DUMMY_MAIN
    23726 
    23727 #  ifdef __cplusplus
    23728      extern "C"
    23729 #  endif
    23730    int F77_DUMMY_MAIN() { return 1; }
    23731 
    23732 #endif
    23733 int
    23734 main ()
    23735 {
    23736 $fnm()
    23737   ;
    23738   return 0;
    23739 }
    23740 _ACEOF
    23741 rm -f conftest.$ac_objext conftest$ac_exeext
    23742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23743   (eval $ac_link) 2>conftest.er1
    23744   ac_status=$?
    23745   grep -v '^ *+' conftest.er1 >conftest.err
    23746   rm -f conftest.er1
    23747   cat conftest.err >&5
    23748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23749   (exit $ac_status); } &&
    23750          { ac_try='test -z "$ac_c_werror_flag"
    23751                          || test ! -s conftest.err'
    23752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23753   (eval $ac_try) 2>&5
    23754   ac_status=$?
    23755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23756   (exit $ac_status); }; } &&
    23757          { ac_try='test -s conftest$ac_exeext'
    23758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23759   (eval $ac_try) 2>&5
    23760   ac_status=$?
    23761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23762   (exit $ac_status); }; }; then
    23763   echo "$as_me:$LINENO: result: yes" >&5
    23764 echo "${ECHO_T}yes" >&6
    23765                   coin_XPR_link=yes
    23766                   break
    23767 else
    23768   echo "$as_me: failed program was:" >&5
    23769 sed 's/^/| /' conftest.$ac_ext >&5
    23770 
    23771 echo "$as_me:$LINENO: result: no" >&5
    23772 echo "${ECHO_T}no" >&6
    23773 fi
    23774 rm -f conftest.err conftest.$ac_objext \
    23775       conftest$ac_exeext conftest.$ac_ext
    23776            done
    23777            ac_ext=c
    23778 ac_cpp='$CPP $CPPFLAGS'
    23779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23782 
    23783            if test x"$coin_XPR_link" = xyes ; then
    23784              LIBS="$coin_save_LIBS"
    23785            else
    23786              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5
    23787 echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;}
    23788    { (exit 1); exit 1; }; }
    23789            fi
    23790          fi
    23791 
    23792 
    23793 # If we make it this far, we've verified the file and linked the function. Add
    23794 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    23795 # COIN_HAS_LBRY.
    23796 
    23797     ADDLIBS="$XPRLIB $ADDLIBS"
    23798 
    23799 cat >>confdefs.h <<\_ACEOF
    23800 #define COIN_HAS_XPR 1
    23801 _ACEOF
    23802 
    23803   fi
    23804 
    23805 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    23806 # automake conditional. These actions must occur unconditionally.
    23807 
    23808 
    23809 
    23810 
    23811 
    23812 if test $coin_has_xpr = true; then
    23813   COIN_HAS_XPR_TRUE=
    23814   COIN_HAS_XPR_FALSE='#'
    23815 else
    23816   COIN_HAS_XPR_TRUE='#'
    23817   COIN_HAS_XPR_FALSE=
    23818 fi
    23819 
    23820 
    23821 
    2382223633#############################################################################
    23823 #                       Other third party software                          #
     23634#                                FilterSQP                                  #
    2382423635#############################################################################
    2382523636
    23826 # Ampl Solver library
    23827 coin_aslobjdir=../ThirdParty/ASL
    23828 coin_aslsrcdir=$srcdir/$coin_aslobjdir
    23829 
    23830 # Determine the name of the ASL library
    23831 case "$CC" in
    23832   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    23833     ampllib=amplsolv.lib ;;
    23834   *)
    23835     ampllib=amplsolver.a ;;
    23836 esac
    23837 
    23838 
    23839 # Check whether --with-asldir or --without-asldir was given.
    23840 if test "${with_asldir+set}" = set; then
    23841   withval="$with_asldir"
    23842   use_asldir=$withval
    23843 else
    23844   use_asldir=
    23845 fi;
    23846 
    23847 if test "$use_asldir" = BUILD; then
    23848   if test "$PACKAGE_NAME" != ThirdPartyASL; then
    23849     # If we are configuring ThirdParty/ASL, don't check
    23850     if test -r $coin_aslobjdir/.MakeOk; then :; else
    23851       { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5
    23852 echo "$as_me: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&2;}
    23853    { (exit 1); exit 1; }; }
    23854     fi
    23855   fi
    23856 elif test -z "$use_asldir"; then
    23857  # try to find sources - if not given don't compile
    23858   if test "$PACKAGE_NAME" != ThirdPartyASL; then
    23859     if test -r $coin_aslobjdir/.MakeOk; then
    23860       use_asldir=BUILD
    23861     else
    23862       use_asldir=no
    23863     fi
    23864   else
    23865     use_asldir=no
    23866   fi
    23867 elif test "$use_asldir" != "no"; then
    23868   if test -r $use_asldir/$ampllib; then
    23869 
    23870   :
    23871 else
    23872   { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but library missing" >&5
    23873 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;}
    23874    { (exit 1); exit 1; }; }
    23875   :
    23876 fi
    23877 
    23878   if test -r $use_asldir/asl.h; then
    23879 
    23880   :
    23881 else
    23882   { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&5
    23883 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;}
    23884    { (exit 1); exit 1; }; }
    23885   :
    23886 fi
    23887 
    23888   use_asldir=`cd $use_asldir; pwd`
    23889   case $build in
    23890     *-cygwin*) use_asldir=`cygpath -w $use_asldir | sed -e sX\\\\\\\\X/Xg` ;;
    23891   esac
    23892 fi
    23893 
    23894 # Variable containing ASL library (including full path)
    23895 
    23896 # Variable containing flags for including ASL header files
    23897 
    23898 
    23899 if test "$use_asldir" = BUILD; then
    23900   coin_aslobjdir=`cd $coin_aslobjdir; pwd`
    23901   ASLLIB=`$CYGPATH_W $coin_aslobjdir/$ampllib | sed -e sX\\\\\\\\X/Xg`
    23902   coin_aslsrcdir=`cd $coin_aslsrcdir; pwd`
    23903   ASL_CPPFLAGS="-I"`$CYGPATH_W $coin_aslobjdir | sed -e sX\\\\\\\\X/Xg`" -I"`$CYGPATH_W $coin_aslsrcdir/solvers | sed -e sX\\\\\\\\X/Xg`
    23904 elif test "$use_asldir" != no; then
    23905   ASLLIB=`$CYGPATH_W $use_asldir/$ampllib | sed -e sX\\\\\\\\X/Xg`
    23906   ASL_CPPFLAGS="-I"`$CYGPATH_W $use_asldir | sed -e sX\\\\\\\\X/Xg`
    23907 fi
    23908 
    23909 if test "$use_asldir" != no; then
    23910   ac_ext=c
    23911 ac_cpp='$CPP $CPPFLAGS'
    23912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    23913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    23914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23915 
    23916   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    23917 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    23918 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    23919   echo $ECHO_N "(cached) $ECHO_C" >&6
    23920 else
    23921   ac_check_lib_save_LIBS=$LIBS
    23922 LIBS="-ldl  $LIBS"
    23923 cat >conftest.$ac_ext <<_ACEOF
    23924 /* confdefs.h.  */
    23925 _ACEOF
    23926 cat confdefs.h >>conftest.$ac_ext
    23927 cat >>conftest.$ac_ext <<_ACEOF
    23928 /* end confdefs.h.  */
    23929 
    23930 /* Override any gcc2 internal prototype to avoid an error.  */
    23931 #ifdef __cplusplus
    23932 extern "C"
    23933 #endif
    23934 /* We use char because int might match the return type of a gcc2
    23935    builtin and then its argument prototype would still apply.  */
    23936 char dlopen ();
    23937 #ifdef F77_DUMMY_MAIN
    23938 
    23939 #  ifdef __cplusplus
    23940      extern "C"
    23941 #  endif
    23942    int F77_DUMMY_MAIN() { return 1; }
    23943 
    23944 #endif
    23945 int
    23946 main ()
    23947 {
    23948 dlopen ();
    23949   ;
    23950   return 0;
    23951 }
    23952 _ACEOF
    23953 rm -f conftest.$ac_objext conftest$ac_exeext
    23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    23955   (eval $ac_link) 2>conftest.er1
    23956   ac_status=$?
    23957   grep -v '^ *+' conftest.er1 >conftest.err
    23958   rm -f conftest.er1
    23959   cat conftest.err >&5
    23960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23961   (exit $ac_status); } &&
    23962          { ac_try='test -z "$ac_c_werror_flag"
    23963                          || test ! -s conftest.err'
    23964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23965   (eval $ac_try) 2>&5
    23966   ac_status=$?
    23967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23968   (exit $ac_status); }; } &&
    23969          { ac_try='test -s conftest$ac_exeext'
    23970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    23971   (eval $ac_try) 2>&5
    23972   ac_status=$?
    23973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23974   (exit $ac_status); }; }; then
    23975   ac_cv_lib_dl_dlopen=yes
    23976 else
    23977   echo "$as_me: failed program was:" >&5
    23978 sed 's/^/| /' conftest.$ac_ext >&5
    23979 
    23980 ac_cv_lib_dl_dlopen=no
    23981 fi
    23982 rm -f conftest.err conftest.$ac_objext \
    23983       conftest$ac_exeext conftest.$ac_ext
    23984 LIBS=$ac_check_lib_save_LIBS
    23985 fi
    23986 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    23987 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    23988 if test $ac_cv_lib_dl_dlopen = yes; then
    23989   ASLLIB="$ASLLIB -ldl"
    23990 fi
    23991 
    23992   coin_has_asl=yes
    23993 
    23994 cat >>confdefs.h <<\_ACEOF
    23995 #define COIN_HAS_ASL 1
    23996 _ACEOF
    23997 
    23998   ac_ext=c
    23999 ac_cpp='$CPP $CPPFLAGS'
    24000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    24001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    24003 
    24004 else
    24005   coin_has_asl=no
    24006 fi
    24007 
    24008 
    24009 if test $coin_has_asl = yes; then
    24010   COIN_HAS_ASL_TRUE=
    24011   COIN_HAS_ASL_FALSE='#'
    24012 else
    24013   COIN_HAS_ASL_TRUE='#'
    24014   COIN_HAS_ASL_FALSE=
    24015 fi
    24016 
    24017 
    24018 
    24019 
    24020 # Some internal variables
    24021 if test x"$BUILD_FP" != x; then
    24022   build_fp=yes
    24023 fi
    24024 
    24025 
    24026 if test x$build_fp = xyes; then
    24027   BUILD_FP_TRUE=
    24028   BUILD_FP_FALSE='#'
    24029 else
    24030   BUILD_FP_TRUE='#'
    24031   BUILD_FP_FALSE=
    24032 fi
    24033 
    24034 
    24035 #####################
    24036 # FILTER SQP SOLVER #
    24037 #####################
    24038 
    24039 filtersqpobjdir=../ThirdParty/FilterSQP
    24040 filtersqpsrcdir=$srcdir/$filtersqpobjdir
    24041 
    24042 { echo "$as_me:$LINENO: Checking for Filter SQP library" >&5
    24043 echo "$as_me: Checking for Filter SQP library" >&6;}
    24044 
     23637# for backward compatibility, map --with-filtersqp to --with-filtersqp-libs
    2404523638
    2404623639# Check whether --with-filtersqp or --without-filtersqp was given.
    2404723640if test "${with_filtersqp+set}" = set; then
    2404823641  withval="$with_filtersqp"
    24049   use_filtersqp=$withval
    24050 else
    24051   use_filtersqp=detect
     23642  filtersqp_libs="$withval"
    2405223643fi;
    2405323644
    24054 if test "$use_filtersqp" = BUILD || test "$use_filtersqp" = detect; then
    24055 # Check which files are available
    24056   if test -r $filtersqpsrcdir/source/src/filter.f; then
     23645
     23646echo "$as_me:$LINENO: checking for COIN-OR package FilterSQP" >&5
     23647echo $ECHO_N "checking for COIN-OR package FilterSQP... $ECHO_C" >&6
     23648
     23649coin_has_filtersqp=notGiven
     23650
     23651# check if user wants to skip package in any case
     23652if test x"$COIN_SKIP_PROJECTS" != x; then
     23653  for dir in $COIN_SKIP_PROJECTS; do
     23654    if test $dir = "FilterSQP"; then
     23655      coin_has_filtersqp=skipping
     23656    fi
     23657  done
     23658fi
     23659
     23660FILTERSQP_LIBS=
     23661FILTERSQP_CFLAGS=
     23662FILTERSQP_DATA=
     23663
     23664
     23665
     23666
     23667
     23668
     23669
     23670
     23671
     23672
     23673#check if user provided LIBS, CFLAGS, or DATA for module
     23674if test $coin_has_filtersqp != skipping; then
     23675
     23676
     23677# Check whether --with-m4_tolower(FilterSQP)-lib or --without-m4_tolower(FilterSQP)-lib was given.
     23678if test "${with_filtersqp_lib+set}" = set; then
     23679  withval="$with_filtersqp_lib"
     23680  coin_has_filtersqp=yes
     23681       FILTERSQP_LIBS="$withval"
     23682
     23683         BONMINLIB_PCLIBS="$withval $BONMINLIB_PCLIBS"
     23684         BONMINLIB_LIBS="$withval $BONMINLIB_LIBS"
     23685
     23686
     23687fi;
     23688
     23689
     23690# Check whether --with-m4_tolower(FilterSQP)-incdir or --without-m4_tolower(FilterSQP)-incdir was given.
     23691if test "${with_filtersqp_incdir+set}" = set; then
     23692  withval="$with_filtersqp_incdir"
     23693  coin_has_filtersqp=yes
     23694     FILTERSQP_CFLAGS="-I`${CYGPATH_W} $withval`"
     23695     BONMINLIB_CFLAGS="$withval $BONMINLIB_CFLAGS"
     23696
     23697
     23698fi;
     23699
     23700
     23701# Check whether --with-m4_tolower(FilterSQP)-datadir or --without-m4_tolower(FilterSQP)-datadir was given.
     23702if test "${with_filtersqp_datadir+set}" = set; then
     23703  withval="$with_filtersqp_datadir"
     23704  coin_has_filtersqp=yes
     23705     FILTERSQP_DATA="$withval"
     23706fi;
     23707fi
     23708
     23709if test $coin_has_filtersqp = notGiven; then
     23710  if test -n "$PKG_CONFIG" ; then
     23711    # set search path for pkg-config
     23712    # need to export variable to be sure that the following pkg-config gets these values
     23713    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     23714    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     23715    export PKG_CONFIG_PATH
     23716
     23717    # let pkg-config do it's magic
     23718
     23719
     23720
     23721if test -n "$PKG_CONFIG" ; then
     23722  if $PKG_CONFIG --exists "coinfiltersqp"; then
     23723    FILTERSQP_VERSIONS="`$PKG_CONFIG --modversion "coinfiltersqp" 2>/dev/null`"
     23724     cflags=`$PKG_CONFIG --cflags "coinfiltersqp" 2>/dev/null`
     23725    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     23726        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     23727        # but only do this if is not trivial
     23728    if test "$CYGPATH_W" != "echo" ; then
     23729      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     23730          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23731        fi
     23732    FILTERSQP_CFLAGS="$cflags"
     23733    FILTERSQP_LIBS=`$PKG_CONFIG --libs "coinfiltersqp" 2>/dev/null`
     23734    FILTERSQP_DATA=`$PKG_CONFIG --variable=datadir "coinfiltersqp" 2>/dev/null`
     23735     coin_has_filtersqp=yes
     23736        echo "$as_me:$LINENO: result: yes: $FILTERSQP_VERSIONS" >&5
     23737echo "${ECHO_T}yes: $FILTERSQP_VERSIONS" >&6
     23738        BONMINLIB_PCREQUIRES="coinfiltersqp $BONMINLIB_PCREQUIRES"
     23739
     23740
     23741
     23742  else
     23743    FILTERSQP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinfiltersqp"`
     23744      coin_has_filtersqp=notGiven
     23745        echo "$as_me:$LINENO: result: not given: $FILTERSQP_PKG_ERRORS" >&5
     23746echo "${ECHO_T}not given: $FILTERSQP_PKG_ERRORS" >&6
     23747
     23748  fi
     23749else
     23750  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module FilterSQP without pkg-config\"" >&5
     23751echo "$as_me: error: \"Cannot check for existance of module FilterSQP without pkg-config\"" >&2;}
     23752   { (exit 1); exit 1; }; }
     23753fi
     23754
     23755
     23756
     23757
     23758    # reset PKG_CONFIG_PATH variable
     23759    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     23760    export PKG_CONFIG_PATH
     23761
     23762    # augment X_CFLAGS and X_LIBS for each build target X in BonminLib
     23763
     23764      BONMINLIB_CFLAGS="$FILTERSQP_CFLAGS $BONMINLIB_CFLAGS"
     23765      BONMINLIB_LIBS="$FILTERSQP_LIBS $BONMINLIB_LIBS"
     23766
     23767  else
     23768    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     23769echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     23770
     23771echo "$as_me:$LINENO: checking for COIN-OR package FilterSQP (fallback)" >&5
     23772echo $ECHO_N "checking for COIN-OR package FilterSQP (fallback)... $ECHO_C" >&6
     23773
     23774coin_has_filtersqp=notGiven
     23775FILTERSQP_LIBS=
     23776FILTERSQP_CFLAGS=
     23777FILTERSQP_DATA=
     23778
     23779# initial list of dependencies is "coinfiltersqp", but we need to filter out version number specifications (= x, <= x, >= x)
     23780projtoprocess="coinfiltersqp"
     23781projprocessed=""
     23782
     23783while test $coin_has_filtersqp = notGiven ; do
     23784  # setup list of projects that need to be processed in the next round
     23785  nextprojtoprocess=""
     23786
     23787  for proj in $projtoprocess ; do
     23788    # if $proj has been processed already, skip this round
     23789    if test "x$projprocessed" != x ; then
     23790      for projdone in $projprocessed ; do
     23791        if test $projdone = $proj ; then
     23792          continue 2
     23793        fi
     23794      done
     23795    fi
     23796
     23797    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     23798    pcfile=""
     23799    save_IFS="$IFS"
     23800    IFS=":"
     23801    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     23802      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     23803      if test -r "$dir/$proj-uninstalled.pc" ; then
     23804        pcfile="$dir/$proj-uninstalled.pc"
     23805        pcfiledir="$dir"
     23806        break
     23807      fi
     23808    done
     23809    IFS="$save_IFS"
     23810
     23811    if test "x$pcfile" != x ; then
     23812      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     23813      projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     23814      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23815      FILTERSQP_CFLAGS="$projcflags $FILTERSQP_CFLAGS"
     23816
     23817      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     23818      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     23819      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     23820      if test "x$projlibs" != x ; then
     23821        if test -d "${pcfiledir}/src" ; then
     23822          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     23823        else
     23824          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     23825        fi
     23826      else
     23827        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     23828      fi
     23829      FILTERSQP_LIBS="$FILTERSQP_LIBS $projlibs"
     23830
     23831      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     23832      if test "x$projprocessed" = x ; then
     23833        FILTERSQP_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23834      fi
     23835
     23836      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     23837      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\{0,1\}>\{0,1\}=[        ]\{0,\}[^       ]\{1,\}//g'`
     23838      nextprojtoprocess="$nextprojtoprocess $projrequires"
     23839
     23840      # remember that we have processed $proj
     23841      projprocessed="$projprocessed $proj"
     23842
     23843    else
     23844      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     23845echo "${ECHO_T}no, dependency $proj not available" >&6
     23846      break 2
     23847    fi
     23848
     23849  done
     23850
     23851  projtoprocess="$nextprojtoprocess"
     23852
     23853  # if there are no more projects to search for, finish up
     23854  if test "x$projtoprocess" = x ; then
     23855    coin_has_filtersqp=yes
     23856    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     23857echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
    2405723858
    2405823859cat >>confdefs.h <<\_ACEOF
     
    2406023861_ACEOF
    2406123862
    24062                       use_filtersqp=BUILD
    24063   :
    24064 else
    24065   if test "$use_filtersqp" = BUILD; then
    24066                        { { echo "$as_me:$LINENO: error: Filter SQP files are not available" >&5
    24067 echo "$as_me: error: Filter SQP files are not available" >&2;}
    24068    { (exit 1); exit 1; }; }
    24069                       fi
    24070   :
    24071 fi
    24072 
    24073 fi
    24074 if test "$use_filtersqp" = detect; then
    24075   use_filtersqp=no
    24076 fi
    24077 
    24078 if test "$use_filtersqp" = BUILD; then
    24079   FILTERSQPLIBADD=`cd $filtersqpobjdir; pwd`/libfiltersqp.la
    24080   coin_need_flibs=yes
    24081 elif test "$use_filtersqp" != no; then
    24082   echo "$as_me:$LINENO: checking whether user supplied FILTERSQPLIB=\"$use_filtersqp\" works" >&5
    24083 echo $ECHO_N "checking whether user supplied FILTERSQPLIB=\"$use_filtersqp\" works... $ECHO_C" >&6
     23863
     23864
     23865      BONMINLIB_PCREQUIRES="coinfiltersqp $BONMINLIB_PCREQUIRES"
     23866      BONMINLIB_CFLAGS="$FILTERSQP_CFLAGS $BONMINLIB_CFLAGS"
     23867      BONMINLIB_LIBS="$FILTERSQP_LIBS $BONMINLIB_LIBS"
     23868
     23869
     23870    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23871      if test -n "$FILTERSQP_CFLAGS" ; then
     23872        { echo "$as_me:$LINENO: FilterSQP CFLAGS are $FILTERSQP_CFLAGS" >&5
     23873echo "$as_me: FilterSQP CFLAGS are $FILTERSQP_CFLAGS" >&6;}
     23874      fi
     23875      if test -n "$FILTERSQP_LIBS" ; then
     23876        { echo "$as_me:$LINENO: FilterSQP LIBS   are $FILTERSQP_LIBS" >&5
     23877echo "$as_me: FilterSQP LIBS   are $FILTERSQP_LIBS" >&6;}
     23878      fi
     23879      if test -n "$FILTERSQP_DATA" ; then
     23880        { echo "$as_me:$LINENO: FilterSQP DATA   is  $FILTERSQP_DATA" >&5
     23881echo "$as_me: FilterSQP DATA   is  $FILTERSQP_DATA" >&6;}
     23882      fi
     23883
     23884        { echo "$as_me:$LINENO: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&5
     23885echo "$as_me: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&6;}
     23886        { echo "$as_me:$LINENO: BonminLib LIBS   are $BONMINLIB_LIBS" >&5
     23887echo "$as_me: BonminLib LIBS   are $BONMINLIB_LIBS" >&6;}
     23888
     23889    fi
     23890  fi
     23891done
     23892
     23893
     23894
     23895if test $coin_has_filtersqp != notGiven &&
     23896                test $coin_has_filtersqp != skipping; then
     23897  COIN_HAS_FILTERSQP_TRUE=
     23898  COIN_HAS_FILTERSQP_FALSE='#'
     23899else
     23900  COIN_HAS_FILTERSQP_TRUE='#'
     23901  COIN_HAS_FILTERSQP_FALSE=
     23902fi
     23903
     23904
     23905
     23906  fi
     23907
     23908else
     23909  echo "$as_me:$LINENO: result: $coin_has_filtersqp" >&5
     23910echo "${ECHO_T}$coin_has_filtersqp" >&6
     23911fi
     23912
     23913if test $coin_has_filtersqp != skipping &&
     23914   test $coin_has_filtersqp != notGiven ; then
     23915
     23916cat >>confdefs.h <<\_ACEOF
     23917#define COIN_HAS_FILTERSQP 1
     23918_ACEOF
     23919
     23920
     23921  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23922    if test -n "$FILTERSQP_CFLAGS" ; then
     23923      { echo "$as_me:$LINENO: FilterSQP CFLAGS are $FILTERSQP_CFLAGS" >&5
     23924echo "$as_me: FilterSQP CFLAGS are $FILTERSQP_CFLAGS" >&6;}
     23925    fi
     23926    if test -n "$FILTERSQP_LIBS" ; then
     23927      { echo "$as_me:$LINENO: FilterSQP LIBS   are $FILTERSQP_LIBS" >&5
     23928echo "$as_me: FilterSQP LIBS   are $FILTERSQP_LIBS" >&6;}
     23929    fi
     23930    if test -n "$FILTERSQP_DATA" ; then
     23931      { echo "$as_me:$LINENO: FilterSQP DATA   is  $FILTERSQP_DATA" >&5
     23932echo "$as_me: FilterSQP DATA   is  $FILTERSQP_DATA" >&6;}
     23933    fi
     23934    if test -n "$FILTERSQP_CFLAGS" ; then
     23935      { echo "$as_me:$LINENO: FilterSQP CFLAGS are $FILTERSQP_CFLAGS" >&5
     23936echo "$as_me: FilterSQP CFLAGS are $FILTERSQP_CFLAGS" >&6;}
     23937    fi
     23938
     23939      { echo "$as_me:$LINENO: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&5
     23940echo "$as_me: BonminLib CFLAGS are $BONMINLIB_CFLAGS" >&6;}
     23941      { echo "$as_me:$LINENO: BonminLib LIBS   are $BONMINLIB_LIBS" >&5
     23942echo "$as_me: BonminLib LIBS   are $BONMINLIB_LIBS" >&6;}
     23943
     23944  fi
     23945fi
     23946
     23947# Define the Makefile conditional
     23948
     23949
     23950if test $coin_has_filtersqp != notGiven &&
     23951                test $coin_has_filtersqp != skipping; then
     23952  COIN_HAS_FILTERSQP_TRUE=
     23953  COIN_HAS_FILTERSQP_FALSE='#'
     23954else
     23955  COIN_HAS_FILTERSQP_TRUE='#'
     23956  COIN_HAS_FILTERSQP_FALSE=
     23957fi
     23958
     23959
     23960
     23961
     23962# we want to keep the linking check for FilterSQP, but cannot do this if FilterSQP will be build later (in ThirdParty)
     23963# the latter is indicated by having a .pc dependency, so we skip the link check if $FILTERSQP_PCREQUIRED is not empty
     23964if test $coin_has_filtersqp = yes && test "x$FILTERSQP_PCREQUIRED" = x; then
     23965  echo "$as_me:$LINENO: checking whether FilterSQP library $FILTERSQP_LIBS works" >&5
     23966echo $ECHO_N "checking whether FilterSQP library $FILTERSQP_LIBS works... $ECHO_C" >&6
    2408423967  SAVE_LIBS="$LIBS"
    24085   LIBS="$use_filtersqp $LIBS $FLIBS"
    24086   ADDLIBS="$use_filtersqp $ADDLIBS"
     23968  LIBS="$FILTERSQP_LIBS $FLIBS $LIBS"
    2408723969  ac_ext=f
    2408823970ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
     
    2412724009  echo "$as_me:$LINENO: result: yes" >&5
    2412824010echo "${ECHO_T}yes" >&6
     24011               FILTERSQP_LIBS="$FILTERSQP_LIBS $FLIBS"
    2412924012else
    2413024013  echo "$as_me: failed program was:" >&5
     
    2413324016echo "$as_me:$LINENO: result: no" >&5
    2413424017echo "${ECHO_T}no" >&6
    24135                { { echo "$as_me:$LINENO: error: user supplied FilterSQP library \"$use_filtersqp\" does not work" >&5
    24136 echo "$as_me: error: user supplied FilterSQP library \"$use_filtersqp\" does not work" >&2;}
     24018               { { echo "$as_me:$LINENO: error: user supplied FilterSQP library $FILTERSQP_LIBS does not work" >&5
     24019echo "$as_me: error: user supplied FilterSQP library $FILTERSQP_LIBS does not work" >&2;}
    2413724020   { (exit 1); exit 1; }; }
    2413824021fi
     
    2414824031fi
    2414924032
    24150 
    24151 
    24152 if test "$use_filtersqp" != no; then
    24153   COIN_HAS_FILTERSQP_TRUE=
    24154   COIN_HAS_FILTERSQP_FALSE='#'
    24155 else
    24156   COIN_HAS_FILTERSQP_TRUE='#'
    24157   COIN_HAS_FILTERSQP_FALSE=
    24158 fi
    24159 
    24160 
    24161 
    24162 ##########
    24163 # ASTYLE #
    24164 ##########
     24033#############################################################################
     24034#                           Feasibility Pump                                #
     24035#############################################################################
     24036
     24037if test x"$BUILD_FP" != x; then
     24038  build_fp=yes
     24039fi
     24040
     24041
     24042if test x$build_fp = xyes; then
     24043  BUILD_FP_TRUE=
     24044  BUILD_FP_FALSE='#'
     24045else
     24046  BUILD_FP_TRUE='#'
     24047  BUILD_FP_FALSE=
     24048fi
     24049
     24050
     24051#############################################################################
     24052#                                 ASTYLE                                    #
     24053#############################################################################
     24054
    2416524055ASTYLE=astyle
     24056
    2416624057
    2416724058ASTYLEFLAGS="--mode=c --indent=spaces=2 --indent-cases --indent-namespaces --min-conditional-indent=1 --brackets=linux --brackets=break-closing-headers --max-instatement-indent=2"
     
    2417124062#                            Stuff for Examples                             #
    2417224063#############################################################################
     24064
    2417324065
    2417424066echo "$as_me:$LINENO: checking whether this is a VPATH configuration" >&5
     
    2418324075
    2418424076
     24077
     24078# Allow for newlines in the parameter
    2418524079if test $coin_vpath_config = yes; then
    24186   coin_vpath_link_files="$coin_vpath_link_files test/bonmin.opt"
    24187 fi
    24188 
    24189 
     24080  cvl_tmp="test/bonmin.opt"
     24081  for file in $cvl_tmp ; do
     24082    coin_vpath_link_files="$coin_vpath_link_files $file"
     24083  done
     24084fi
     24085
     24086
     24087
     24088# Allow for newlines in the parameter
    2419024089if test $coin_vpath_config = yes; then
    24191   coin_vpath_link_files="$coin_vpath_link_files test/mytoy.nl"
     24090  cvl_tmp="test/mytoy.nl"
     24091  for file in $cvl_tmp ; do
     24092    coin_vpath_link_files="$coin_vpath_link_files $file"
     24093  done
    2419224094fi
    2419324095
     
    2423024132    ADDLIBS="$ADDLIBS $FLIBS"
    2423124133  fi
     24134  PCADDLIBS="$PCADDLIBS $ADDLIBS"
    2423224135
    2423324136  # library extension
     
    2426224165  fi
    2426324166
     24167  # need to come before AC_OUTPUT
     24168  if test x$coin_projectdir != xyes; then
     24169    # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
     24170    echo $coin_subdirs > coin_subdirs.txt
     24171  else
     24172    # substitute for OBJDIR, needed to setup .pc file for uninstalled project
     24173    ABSBUILDDIR="`pwd`"
     24174
     24175  fi
     24176
    2426424177  cat >confcache <<\_ACEOF
    2426524178# This file is a shell script that caches the results of configure
     
    2439524308   { (exit 1); exit 1; }; }
    2439624309fi
    24397 if test -z "${COIN_HAS_CBC_TRUE}" && test -z "${COIN_HAS_CBC_FALSE}"; then
    24398   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CBC\" was never defined.
     24310if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
     24311  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2439924312Usually this means the macro was only invoked conditionally." >&5
    24400 echo "$as_me: error: conditional \"COIN_HAS_CBC\" was never defined.
     24313echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2440124314Usually this means the macro was only invoked conditionally." >&2;}
    2440224315   { (exit 1); exit 1; }; }
    2440324316fi
    24404 if test -z "${COIN_HAS_CGL_TRUE}" && test -z "${COIN_HAS_CGL_FALSE}"; then
    24405   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CGL\" was never defined.
     24317if test -z "${COIN_HAS_COINDEPEND_TRUE}" && test -z "${COIN_HAS_COINDEPEND_FALSE}"; then
     24318  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
    2440624319Usually this means the macro was only invoked conditionally." >&5
    24407 echo "$as_me: error: conditional \"COIN_HAS_CGL\" was never defined.
     24320echo "$as_me: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
    2440824321Usually this means the macro was only invoked conditionally." >&2;}
    2440924322   { (exit 1); exit 1; }; }
    2441024323fi
    24411 if test -z "${COIN_HAS_CLP_TRUE}" && test -z "${COIN_HAS_CLP_FALSE}"; then
    24412   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CLP\" was never defined.
     24324if test -z "${COIN_HAS_COINDEPEND_TRUE}" && test -z "${COIN_HAS_COINDEPEND_FALSE}"; then
     24325  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
    2441324326Usually this means the macro was only invoked conditionally." >&5
    24414 echo "$as_me: error: conditional \"COIN_HAS_CLP\" was never defined.
     24327echo "$as_me: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
    2441524328Usually this means the macro was only invoked conditionally." >&2;}
    2441624329   { (exit 1); exit 1; }; }
    2441724330fi
    24418 if test -z "${COIN_HAS_COINUTILS_TRUE}" && test -z "${COIN_HAS_COINUTILS_FALSE}"; then
    24419   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINUTILS\" was never defined.
     24331if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then
     24332  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.
    2442024333Usually this means the macro was only invoked conditionally." >&5
    24421 echo "$as_me: error: conditional \"COIN_HAS_COINUTILS\" was never defined.
     24334echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined.
    2442224335Usually this means the macro was only invoked conditionally." >&2;}
    2442324336   { (exit 1); exit 1; }; }
    2442424337fi
    24425 if test -z "${COIN_HAS_DYLP_TRUE}" && test -z "${COIN_HAS_DYLP_FALSE}"; then
    24426   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_DYLP\" was never defined.
     24338if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then
     24339  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.
    2442724340Usually this means the macro was only invoked conditionally." >&5
    24428 echo "$as_me: error: conditional \"COIN_HAS_DYLP\" was never defined.
    24429 Usually this means the macro was only invoked conditionally." >&2;}
    24430    { (exit 1); exit 1; }; }
    24431 fi
    24432 if test -z "${COIN_HAS_IPOPT_TRUE}" && test -z "${COIN_HAS_IPOPT_FALSE}"; then
    24433   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_IPOPT\" was never defined.
    24434 Usually this means the macro was only invoked conditionally." >&5
    24435 echo "$as_me: error: conditional \"COIN_HAS_IPOPT\" was never defined.
    24436 Usually this means the macro was only invoked conditionally." >&2;}
    24437    { (exit 1); exit 1; }; }
    24438 fi
    24439 if test -z "${COIN_HAS_OSI_TRUE}" && test -z "${COIN_HAS_OSI_FALSE}"; then
    24440   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSI\" was never defined.
    24441 Usually this means the macro was only invoked conditionally." >&5
    24442 echo "$as_me: error: conditional \"COIN_HAS_OSI\" was never defined.
    24443 Usually this means the macro was only invoked conditionally." >&2;}
    24444    { (exit 1); exit 1; }; }
    24445 fi
    24446 if test -z "${COIN_HAS_SYM_TRUE}" && test -z "${COIN_HAS_SYM_FALSE}"; then
    24447   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SYM\" was never defined.
    24448 Usually this means the macro was only invoked conditionally." >&5
    24449 echo "$as_me: error: conditional \"COIN_HAS_SYM\" was never defined.
    24450 Usually this means the macro was only invoked conditionally." >&2;}
    24451    { (exit 1); exit 1; }; }
    24452 fi
    24453 if test -z "${COIN_HAS_VOL_TRUE}" && test -z "${COIN_HAS_VOL_FALSE}"; then
    24454   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_VOL\" was never defined.
    24455 Usually this means the macro was only invoked conditionally." >&5
    24456 echo "$as_me: error: conditional \"COIN_HAS_VOL\" was never defined.
     24341echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined.
    2445724342Usually this means the macro was only invoked conditionally." >&2;}
    2445824343   { (exit 1); exit 1; }; }
     
    2446524350   { (exit 1); exit 1; }; }
    2446624351fi
    24467 if test -z "${COIN_HAS_COUENNE_TRUE}" && test -z "${COIN_HAS_COUENNE_FALSE}"; then
    24468   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COUENNE\" was never defined.
     24352if test -z "${COIN_HAS_BCP_TRUE}" && test -z "${COIN_HAS_BCP_FALSE}"; then
     24353  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BCP\" was never defined.
    2446924354Usually this means the macro was only invoked conditionally." >&5
    24470 echo "$as_me: error: conditional \"COIN_HAS_COUENNE\" was never defined.
     24355echo "$as_me: error: conditional \"COIN_HAS_BCP\" was never defined.
    2447124356Usually this means the macro was only invoked conditionally." >&2;}
    2447224357   { (exit 1); exit 1; }; }
     
    2447924364   { (exit 1); exit 1; }; }
    2448024365fi
     24366if test -z "${COIN_HAS_OSICPX_TRUE}" && test -z "${COIN_HAS_OSICPX_FALSE}"; then
     24367  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSICPX\" was never defined.
     24368Usually this means the macro was only invoked conditionally." >&5
     24369echo "$as_me: error: conditional \"COIN_HAS_OSICPX\" was never defined.
     24370Usually this means the macro was only invoked conditionally." >&2;}
     24371   { (exit 1); exit 1; }; }
     24372fi
     24373if test -z "${COIN_HAS_OSICPX_TRUE}" && test -z "${COIN_HAS_OSICPX_FALSE}"; then
     24374  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSICPX\" was never defined.
     24375Usually this means the macro was only invoked conditionally." >&5
     24376echo "$as_me: error: conditional \"COIN_HAS_OSICPX\" was never defined.
     24377Usually this means the macro was only invoked conditionally." >&2;}
     24378   { (exit 1); exit 1; }; }
     24379fi
    2448124380if test -z "${COIN_HAS_CPX_TRUE}" && test -z "${COIN_HAS_CPX_FALSE}"; then
    2448224381  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CPX\" was never defined.
     
    2448624385   { (exit 1); exit 1; }; }
    2448724386fi
    24488 if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
    24489   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
     24387if test -z "${COIN_HAS_FILTERSQP_TRUE}" && test -z "${COIN_HAS_FILTERSQP_FALSE}"; then
     24388  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FILTERSQP\" was never defined.
    2449024389Usually this means the macro was only invoked conditionally." >&5
    24491 echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
     24390echo "$as_me: error: conditional \"COIN_HAS_FILTERSQP\" was never defined.
    2449224391Usually this means the macro was only invoked conditionally." >&2;}
    2449324392   { (exit 1); exit 1; }; }
    2449424393fi
    24495 if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
    24496   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
     24394if test -z "${COIN_HAS_FILTERSQP_TRUE}" && test -z "${COIN_HAS_FILTERSQP_FALSE}"; then
     24395  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FILTERSQP\" was never defined.
    2449724396Usually this means the macro was only invoked conditionally." >&5
    24498 echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
    24499 Usually this means the macro was only invoked conditionally." >&2;}
    24500    { (exit 1); exit 1; }; }
    24501 fi
    24502 if test -z "${COIN_BUILD_GLPK_TRUE}" && test -z "${COIN_BUILD_GLPK_FALSE}"; then
    24503   { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_GLPK\" was never defined.
    24504 Usually this means the macro was only invoked conditionally." >&5
    24505 echo "$as_me: error: conditional \"COIN_BUILD_GLPK\" was never defined.
    24506 Usually this means the macro was only invoked conditionally." >&2;}
    24507    { (exit 1); exit 1; }; }
    24508 fi
    24509 if test -z "${COIN_HAS_FMP_TRUE}" && test -z "${COIN_HAS_FMP_FALSE}"; then
    24510   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FMP\" was never defined.
    24511 Usually this means the macro was only invoked conditionally." >&5
    24512 echo "$as_me: error: conditional \"COIN_HAS_FMP\" was never defined.
    24513 Usually this means the macro was only invoked conditionally." >&2;}
    24514    { (exit 1); exit 1; }; }
    24515 fi
    24516 if test -z "${COIN_HAS_MSK_TRUE}" && test -z "${COIN_HAS_MSK_FALSE}"; then
    24517   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MSK\" was never defined.
    24518 Usually this means the macro was only invoked conditionally." >&5
    24519 echo "$as_me: error: conditional \"COIN_HAS_MSK\" was never defined.
    24520 Usually this means the macro was only invoked conditionally." >&2;}
    24521    { (exit 1); exit 1; }; }
    24522 fi
    24523 if test -z "${COIN_HAS_OSL_TRUE}" && test -z "${COIN_HAS_OSL_FALSE}"; then
    24524   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSL\" was never defined.
    24525 Usually this means the macro was only invoked conditionally." >&5
    24526 echo "$as_me: error: conditional \"COIN_HAS_OSL\" was never defined.
    24527 Usually this means the macro was only invoked conditionally." >&2;}
    24528    { (exit 1); exit 1; }; }
    24529 fi
    24530 if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then
    24531   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.
    24532 Usually this means the macro was only invoked conditionally." >&5
    24533 echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.
    24534 Usually this means the macro was only invoked conditionally." >&2;}
    24535    { (exit 1); exit 1; }; }
    24536 fi
    24537 if test -z "${COIN_HAS_XPR_TRUE}" && test -z "${COIN_HAS_XPR_FALSE}"; then
    24538   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_XPR\" was never defined.
    24539 Usually this means the macro was only invoked conditionally." >&5
    24540 echo "$as_me: error: conditional \"COIN_HAS_XPR\" was never defined.
    24541 Usually this means the macro was only invoked conditionally." >&2;}
    24542    { (exit 1); exit 1; }; }
    24543 fi
    24544 if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then
    24545   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.
    24546 Usually this means the macro was only invoked conditionally." >&5
    24547 echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined.
     24397echo "$as_me: error: conditional \"COIN_HAS_FILTERSQP\" was never defined.
    2454824398Usually this means the macro was only invoked conditionally." >&2;}
    2454924399   { (exit 1); exit 1; }; }
     
    2455324403Usually this means the macro was only invoked conditionally." >&5
    2455424404echo "$as_me: error: conditional \"BUILD_FP\" was never defined.
    24555 Usually this means the macro was only invoked conditionally." >&2;}
    24556    { (exit 1); exit 1; }; }
    24557 fi
    24558 if test -z "${COIN_HAS_FILTERSQP_TRUE}" && test -z "${COIN_HAS_FILTERSQP_FALSE}"; then
    24559   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FILTERSQP\" was never defined.
    24560 Usually this means the macro was only invoked conditionally." >&5
    24561 echo "$as_me: error: conditional \"COIN_HAS_FILTERSQP\" was never defined.
    2456224405Usually this means the macro was only invoked conditionally." >&2;}
    2456324406   { (exit 1); exit 1; }; }
     
    2483424677cat >&5 <<_CSEOF
    2483524678
    24836 This file was extended by Bonmin $as_me 1.3stable, which was
     24679This file was extended by Bonmin $as_me trunk, which was
    2483724680generated by GNU Autoconf 2.59.  Invocation command line was
    2483824681
     
    2490024743cat >>$CONFIG_STATUS <<_ACEOF
    2490124744ac_cs_version="\\
    24902 Bonmin config.status 1.3stable
     24745Bonmin config.status trunk
    2490324746configured by $0, generated by GNU Autoconf 2.59,
    2490424747  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     
    2512324966s,@build_os@,$build_os,;t t
    2512424967s,@ADDLIBS@,$ADDLIBS,;t t
     24968s,@PCADDLIBS@,$PCADDLIBS,;t t
    2512524969s,@FADDLIBS@,$FADDLIBS,;t t
    2512624970s,@ALWAYS_FALSE_TRUE@,$ALWAYS_FALSE_TRUE,;t t
    2512724971s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t
     24972s,@have_svnversion@,$have_svnversion,;t t
     24973s,@BONMIN_SVN_REV@,$BONMIN_SVN_REV,;t t
    2512824974s,@CDEFS@,$CDEFS,;t t
    2512924975s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2522225068s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2522325069s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    25224 s,@CBCSRCDIR@,$CBCSRCDIR,;t t
    25225 s,@CBCOBJDIR@,$CBCOBJDIR,;t t
    25226 s,@CBCDOCDIR@,$CBCDOCDIR,;t t
    25227 s,@COIN_HAS_CBC_TRUE@,$COIN_HAS_CBC_TRUE,;t t
    25228 s,@COIN_HAS_CBC_FALSE@,$COIN_HAS_CBC_FALSE,;t t
    25229 s,@CGLSRCDIR@,$CGLSRCDIR,;t t
    25230 s,@CGLOBJDIR@,$CGLOBJDIR,;t t
    25231 s,@CGLDOCDIR@,$CGLDOCDIR,;t t
    25232 s,@COIN_HAS_CGL_TRUE@,$COIN_HAS_CGL_TRUE,;t t
    25233 s,@COIN_HAS_CGL_FALSE@,$COIN_HAS_CGL_FALSE,;t t
    25234 s,@CLPSRCDIR@,$CLPSRCDIR,;t t
    25235 s,@CLPOBJDIR@,$CLPOBJDIR,;t t
    25236 s,@CLPDOCDIR@,$CLPDOCDIR,;t t
    25237 s,@COIN_HAS_CLP_TRUE@,$COIN_HAS_CLP_TRUE,;t t
    25238 s,@COIN_HAS_CLP_FALSE@,$COIN_HAS_CLP_FALSE,;t t
    25239 s,@COINUTILSSRCDIR@,$COINUTILSSRCDIR,;t t
    25240 s,@COINUTILSOBJDIR@,$COINUTILSOBJDIR,;t t
    25241 s,@COINUTILSDOCDIR@,$COINUTILSDOCDIR,;t t
    25242 s,@COIN_HAS_COINUTILS_TRUE@,$COIN_HAS_COINUTILS_TRUE,;t t
    25243 s,@COIN_HAS_COINUTILS_FALSE@,$COIN_HAS_COINUTILS_FALSE,;t t
    25244 s,@DYLPSRCDIR@,$DYLPSRCDIR,;t t
    25245 s,@DYLPOBJDIR@,$DYLPOBJDIR,;t t
    25246 s,@DYLPDOCDIR@,$DYLPDOCDIR,;t t
    25247 s,@COIN_HAS_DYLP_TRUE@,$COIN_HAS_DYLP_TRUE,;t t
    25248 s,@COIN_HAS_DYLP_FALSE@,$COIN_HAS_DYLP_FALSE,;t t
    25249 s,@IPOPTSRCDIR@,$IPOPTSRCDIR,;t t
    25250 s,@IPOPTOBJDIR@,$IPOPTOBJDIR,;t t
    25251 s,@IPOPTDOCDIR@,$IPOPTDOCDIR,;t t
    25252 s,@COIN_HAS_IPOPT_TRUE@,$COIN_HAS_IPOPT_TRUE,;t t
    25253 s,@COIN_HAS_IPOPT_FALSE@,$COIN_HAS_IPOPT_FALSE,;t t
    25254 s,@OSISRCDIR@,$OSISRCDIR,;t t
    25255 s,@OSIOBJDIR@,$OSIOBJDIR,;t t
    25256 s,@OSIDOCDIR@,$OSIDOCDIR,;t t
    25257 s,@COIN_HAS_OSI_TRUE@,$COIN_HAS_OSI_TRUE,;t t
    25258 s,@COIN_HAS_OSI_FALSE@,$COIN_HAS_OSI_FALSE,;t t
    25259 s,@SYMSRCDIR@,$SYMSRCDIR,;t t
    25260 s,@SYMOBJDIR@,$SYMOBJDIR,;t t
    25261 s,@SYMDOCDIR@,$SYMDOCDIR,;t t
    25262 s,@COIN_HAS_SYM_TRUE@,$COIN_HAS_SYM_TRUE,;t t
    25263 s,@COIN_HAS_SYM_FALSE@,$COIN_HAS_SYM_FALSE,;t t
    25264 s,@VOLSRCDIR@,$VOLSRCDIR,;t t
    25265 s,@VOLOBJDIR@,$VOLOBJDIR,;t t
    25266 s,@VOLDOCDIR@,$VOLDOCDIR,;t t
    25267 s,@COIN_HAS_VOL_TRUE@,$COIN_HAS_VOL_TRUE,;t t
    25268 s,@COIN_HAS_VOL_FALSE@,$COIN_HAS_VOL_FALSE,;t t
    25269 s,@BCPSRCDIR@,$BCPSRCDIR,;t t
    25270 s,@BCPOBJDIR@,$BCPOBJDIR,;t t
    25271 s,@BCPDOCDIR@,$BCPDOCDIR,;t t
     25070s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     25071s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
     25072s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
     25073s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
     25074s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t
     25075s,@COIN_PKG_CONFIG_PATH_UNINSTALLED@,$COIN_PKG_CONFIG_PATH_UNINSTALLED,;t t
     25076s,@COINDEPEND_LIBS@,$COINDEPEND_LIBS,;t t
     25077s,@COINDEPEND_CFLAGS@,$COINDEPEND_CFLAGS,;t t
     25078s,@COINDEPEND_DATA@,$COINDEPEND_DATA,;t t
     25079s,@BONMINLIB_CFLAGS@,$BONMINLIB_CFLAGS,;t t
     25080s,@BONMINLIB_LIBS@,$BONMINLIB_LIBS,;t t
     25081s,@BONMINLIB_PCLIBS@,$BONMINLIB_PCLIBS,;t t
     25082s,@BONMINLIB_PCREQUIRES@,$BONMINLIB_PCREQUIRES,;t t
     25083s,@COIN_HAS_COINDEPEND_TRUE@,$COIN_HAS_COINDEPEND_TRUE,;t t
     25084s,@COIN_HAS_COINDEPEND_FALSE@,$COIN_HAS_COINDEPEND_FALSE,;t t
     25085s,@ASL_LIBS@,$ASL_LIBS,;t t
     25086s,@ASL_CFLAGS@,$ASL_CFLAGS,;t t
     25087s,@ASL_DATA@,$ASL_DATA,;t t
     25088s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t
     25089s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t
     25090s,@BCP_LIBS@,$BCP_LIBS,;t t
     25091s,@BCP_CFLAGS@,$BCP_CFLAGS,;t t
     25092s,@BCP_DATA@,$BCP_DATA,;t t
    2527225093s,@COIN_HAS_BCP_TRUE@,$COIN_HAS_BCP_TRUE,;t t
    2527325094s,@COIN_HAS_BCP_FALSE@,$COIN_HAS_BCP_FALSE,;t t
    25274 s,@COUENNESRCDIR@,$COUENNESRCDIR,;t t
    25275 s,@COUENNEOBJDIR@,$COUENNEOBJDIR,;t t
    25276 s,@COUENNEDOCDIR@,$COUENNEDOCDIR,;t t
    25277 s,@COIN_HAS_COUENNE_TRUE@,$COIN_HAS_COUENNE_TRUE,;t t
    25278 s,@COIN_HAS_COUENNE_FALSE@,$COIN_HAS_COUENNE_FALSE,;t t
    2527925095s,@COMPILE_BONMINBCP_TRUE@,$COMPILE_BONMINBCP_TRUE,;t t
    2528025096s,@COMPILE_BONMINBCP_FALSE@,$COMPILE_BONMINBCP_FALSE,;t t
     25097s,@OSICPX_LIBS@,$OSICPX_LIBS,;t t
     25098s,@OSICPX_CFLAGS@,$OSICPX_CFLAGS,;t t
     25099s,@OSICPX_DATA@,$OSICPX_DATA,;t t
     25100s,@COIN_HAS_OSICPX_TRUE@,$COIN_HAS_OSICPX_TRUE,;t t
     25101s,@COIN_HAS_OSICPX_FALSE@,$COIN_HAS_OSICPX_FALSE,;t t
    2528125102s,@CPXINCDIR@,$CPXINCDIR,;t t
    2528225103s,@CPXLIB@,$CPXLIB,;t t
    2528325104s,@COIN_HAS_CPX_TRUE@,$COIN_HAS_CPX_TRUE,;t t
    2528425105s,@COIN_HAS_CPX_FALSE@,$COIN_HAS_CPX_FALSE,;t t
    25285 s,@GLPKINCDIR@,$GLPKINCDIR,;t t
    25286 s,@GLPKLIB@,$GLPKLIB,;t t
    25287 s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t
    25288 s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t
    25289 s,@GLPKOBJDIR@,$GLPKOBJDIR,;t t
    25290 s,@COIN_BUILD_GLPK_TRUE@,$COIN_BUILD_GLPK_TRUE,;t t
    25291 s,@COIN_BUILD_GLPK_FALSE@,$COIN_BUILD_GLPK_FALSE,;t t
    25292 s,@FMPINCDIR@,$FMPINCDIR,;t t
    25293 s,@FMPLIB@,$FMPLIB,;t t
    25294 s,@COIN_HAS_FMP_TRUE@,$COIN_HAS_FMP_TRUE,;t t
    25295 s,@COIN_HAS_FMP_FALSE@,$COIN_HAS_FMP_FALSE,;t t
    25296 s,@MSKINCDIR@,$MSKINCDIR,;t t
    25297 s,@MSKLIB@,$MSKLIB,;t t
    25298 s,@COIN_HAS_MSK_TRUE@,$COIN_HAS_MSK_TRUE,;t t
    25299 s,@COIN_HAS_MSK_FALSE@,$COIN_HAS_MSK_FALSE,;t t
    25300 s,@OSLINCDIR@,$OSLINCDIR,;t t
    25301 s,@OSLLIB@,$OSLLIB,;t t
    25302 s,@COIN_HAS_OSL_TRUE@,$COIN_HAS_OSL_TRUE,;t t
    25303 s,@COIN_HAS_OSL_FALSE@,$COIN_HAS_OSL_FALSE,;t t
    25304 s,@SPXINCDIR@,$SPXINCDIR,;t t
    25305 s,@SPXLIB@,$SPXLIB,;t t
    25306 s,@COIN_HAS_SPX_TRUE@,$COIN_HAS_SPX_TRUE,;t t
    25307 s,@COIN_HAS_SPX_FALSE@,$COIN_HAS_SPX_FALSE,;t t
    25308 s,@XPRINCDIR@,$XPRINCDIR,;t t
    25309 s,@XPRLIB@,$XPRLIB,;t t
    25310 s,@COIN_HAS_XPR_TRUE@,$COIN_HAS_XPR_TRUE,;t t
    25311 s,@COIN_HAS_XPR_FALSE@,$COIN_HAS_XPR_FALSE,;t t
    25312 s,@ASLLIB@,$ASLLIB,;t t
    25313 s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t
    25314 s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t
    25315 s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t
     25106s,@FILTERSQP_LIBS@,$FILTERSQP_LIBS,;t t
     25107s,@FILTERSQP_CFLAGS@,$FILTERSQP_CFLAGS,;t t
     25108s,@FILTERSQP_DATA@,$FILTERSQP_DATA,;t t
     25109s,@COIN_HAS_FILTERSQP_TRUE@,$COIN_HAS_FILTERSQP_TRUE,;t t
     25110s,@COIN_HAS_FILTERSQP_FALSE@,$COIN_HAS_FILTERSQP_FALSE,;t t
    2531625111s,@BUILD_FP_TRUE@,$BUILD_FP_TRUE,;t t
    2531725112s,@BUILD_FP_FALSE@,$BUILD_FP_FALSE,;t t
    25318 s,@COIN_HAS_FILTERSQP_TRUE@,$COIN_HAS_FILTERSQP_TRUE,;t t
    25319 s,@COIN_HAS_FILTERSQP_FALSE@,$COIN_HAS_FILTERSQP_FALSE,;t t
    25320 s,@FILTERSQPLIBADD@,$FILTERSQPLIBADD,;t t
    2532125113s,@ASTYLE@,$ASTYLE,;t t
    2532225114s,@ASTYLEFLAGS@,$ASTYLEFLAGS,;t t
    2532325115s,@LIBEXT@,$LIBEXT,;t t
    2532425116s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
     25117s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
    2532525118s,@LIBOBJS@,$LIBOBJS,;t t
    2532625119s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  • branches/split/Bonmin/configure.ac

    r1722 r1733  
    1313AC_PREREQ(2.59)
    1414
    15 AC_INIT([Bonmin],[1.3stable],[coin-bonmin@list.coin-or.org])
     15AC_INIT([Bonmin],[trunk],[bonmin@list.coin-or.org])
    1616
    1717AC_COPYRIGHT([
     
    4242# externals.  The following macro ensures that those externals are
    4343# retrieved by svn if they are not there yet.
    44 AC_COIN_PROJECTDIR_INIT
     44AC_COIN_PROJECTDIR_INIT(Bonmin)
    4545
    4646# Check if user wants to produce debugging code
     
    6363
    6464#############################################################################
    65 #                              COIN components                              #
     65#                           COIN-OR components                              #
    6666#############################################################################
    6767
    68 AC_COIN_HAS_PROJECT(Cbc)
    69 AC_COIN_HAS_PROJECT(Cgl)
    70 AC_COIN_HAS_PROJECT(Clp)
    71 AC_COIN_HAS_PROJECT(CoinUtils)
    72 AC_COIN_HAS_PROJECT(DyLP)
    73 AC_COIN_HAS_PROJECT(Ipopt)
    74 AC_COIN_HAS_PROJECT(Osi)
    75 AC_COIN_HAS_PROJECT(Sym)
    76 AC_COIN_HAS_PROJECT(Vol)
    77 AC_COIN_HAS_PROJECT(Bcp)
    78 AC_COIN_HAS_PROJECT(Couenne)
     68AC_COIN_CHECK_PACKAGE(CoinDepend, [cbc osi-clp ipopt], [BonminLib])
     69if test $coin_has_coindepend != yes ; then
     70  AC_MSG_ERROR([Required package Cbc or Ipopt not available.])
     71fi
     72
     73AC_COIN_CHECK_PACKAGE(ASL, [coinasl])
     74
     75AC_COIN_CHECK_PACKAGE(Bcp, [bcp])
    7976
    8077AC_ARG_WITH([bonminbcp],
     
    8380            [use_bcp="$withval"], [use_bcp=no])
    8481if test "$use_bcp" = yes; then
    85   if test $m4_tolower(coin_has_$1) = unavailable ||
    86      test $m4_tolower(coin_has_$1) = skipping; then
     82  if test $coin_has_bcp != yes ; then
    8783     AC_MSG_ERROR([You specified --with-bonminbcp, but Bcp is not available])
    8884  fi
     
    9187
    9288#############################################################################
    93 #                            Third party solvers                            #
     89#                                     CPLEX                                 #
    9490#############################################################################
    9591
    96 # Check which third party solvers are available ToDo!
    97 AC_COIN_HAS_USER_LIBRARY([Cplex],[CPX],[cplex.h],[CPXgetstat])
    98 AC_COIN_HAS_GLPK(Glpk)
    99 AC_COIN_HAS_USER_LIBRARY([FortMP],[FMP])  #ToDo! is Fortran?
    100 AC_COIN_HAS_USER_LIBRARY([Mosek],[MSK],[mosek.h],[MSK_openmosek])
    101 AC_COIN_HAS_USER_LIBRARY([Osl],[OSL],[ekk_c_api.h],[ekk_simplex])
    102 AC_COIN_HAS_USER_LIBRARY([Soplex],[SPX],[spxsolver.h]) # ToDo
    103 AC_COIN_HAS_USER_LIBRARY([Xpress],[XPR],[xprs.h],[XPRSsetintcontrol])
     92# Check whether OsiCplex is available
     93AC_COIN_CHECK_PACKAGE(OsiCpx, [osi-cpx], [BonminLib])
     94
     95# To get also the directory where cplex.h can be found, we also check for cplex directly.
     96AC_COIN_CHECK_USER_LIBRARY([Cplex], [CPX],[cplex.h],[CPXgetstat])
    10497
    10598#############################################################################
    106 #                       Other third party software                          #
     99#                                FilterSQP                                  #
    107100#############################################################################
    108101
    109 # Ampl Solver library
    110 AC_COIN_HAS_ASL
    111 
    112 
    113 # Some internal variables
    114 if test x"$BUILD_FP" != x; then
    115   build_fp=yes
    116 fi
    117 AM_CONDITIONAL(BUILD_FP, test x$build_fp = xyes)
    118 
    119 #####################
    120 # FILTER SQP SOLVER #
    121 #####################
    122 
    123 filtersqpobjdir=../ThirdParty/FilterSQP
    124 filtersqpsrcdir=$srcdir/$filtersqpobjdir
    125 
    126 AC_MSG_NOTICE([Checking for Filter SQP library])
    127 
     102# for backward compatibility, map --with-filtersqp to --with-filtersqp-libs
    128103AC_ARG_WITH([filtersqp],
    129104            AC_HELP_STRING([--with-filtersqp],
    130105                           [specify library for FilterSQP (or BUILD for compilation)]),
    131             [use_filtersqp=$withval], [use_filtersqp=detect])
     106            [filtersqp_libs="$withval"])
    132107
    133 if test "$use_filtersqp" = BUILD || test "$use_filtersqp" = detect; then
    134 # Check which files are available
    135   AC_COIN_CHECK_FILE([$filtersqpsrcdir/source/src/filter.f],
    136                      [AC_DEFINE(COIN_HAS_FILTERSQP,1,
    137                                 [Define to 1 if FilterSQP is available])
    138                       use_filtersqp=BUILD],
    139                      [if test "$use_filtersqp" = BUILD; then
    140                        AC_MSG_ERROR([Filter SQP files are not available])
    141                       fi])
    142 fi
    143 if test "$use_filtersqp" = detect; then
    144   use_filtersqp=no
    145 fi
     108AC_COIN_CHECK_PACKAGE(FilterSQP, [coinfiltersqp], [BonminLib])
    146109
    147 if test "$use_filtersqp" = BUILD; then
    148   FILTERSQPLIBADD=`cd $filtersqpobjdir; pwd`/libfiltersqp.la
    149   coin_need_flibs=yes
    150 elif test "$use_filtersqp" != no; then
    151   AC_MSG_CHECKING([whether user supplied FILTERSQPLIB=\"$use_filtersqp\" works])
     110# we want to keep the linking check for FilterSQP, but cannot do this if FilterSQP will be build later (in ThirdParty)
     111# the latter is indicated by having a .pc dependency, so we skip the link check if $FILTERSQP_PCREQUIRED is not empty
     112if test $coin_has_filtersqp = yes && test "x$FILTERSQP_PCREQUIRED" = x; then
     113  AC_MSG_CHECKING([whether FilterSQP library $FILTERSQP_LIBS works])
    152114  SAVE_LIBS="$LIBS"
    153   LIBS="$use_filtersqp $LIBS $FLIBS"
    154   ADDLIBS="$use_filtersqp $ADDLIBS"
     115  LIBS="$FILTERSQP_LIBS $FLIBS $LIBS"
    155116  AC_LANG_PUSH([Fortran 77])
    156117  AC_TRY_LINK([],
     
    164125      end
    165126      subroutine hessian],
    166               [AC_MSG_RESULT([yes])],
     127              [AC_MSG_RESULT([yes])
     128               FILTERSQP_LIBS="$FILTERSQP_LIBS $FLIBS"],
    167129              [AC_MSG_RESULT([no])
    168                AC_MSG_ERROR([user supplied FilterSQP library \"$use_filtersqp\" does not work])])
     130               AC_MSG_ERROR([user supplied FilterSQP library $FILTERSQP_LIBS does not work])])
    169131  AC_LANG_POP([Fortran 77])
    170132  LIBS="$SAVE_LIBS"
    171133fi
    172134
    173 AM_CONDITIONAL([COIN_HAS_FILTERSQP], [test "$use_filtersqp" != no])
    174 AC_SUBST(FILTERSQPLIBADD)
     135#############################################################################
     136#                           Feasibility Pump                                #
     137#############################################################################
    175138
    176 ##########
    177 # ASTYLE #
    178 ##########
     139if test x"$BUILD_FP" != x; then
     140  build_fp=yes
     141fi
     142AM_CONDITIONAL(BUILD_FP, test x$build_fp = xyes)
     143
     144#############################################################################
     145#                                 ASTYLE                                    #
     146#############################################################################
     147
    179148ASTYLE=astyle
    180149AC_SUBST(ASTYLE)
     150
    181151ASTYLEFLAGS="--mode=c --indent=spaces=2 --indent-cases --indent-namespaces --min-conditional-indent=1 --brackets=linux --brackets=break-closing-headers --max-instatement-indent=2"
    182 AC_SUBST(ASTYLEFLAGS)   
     152AC_SUBST(ASTYLEFLAGS)
    183153
    184154#############################################################################
  • branches/split/Bonmin/experimental/Separable/Makefile.in

    r1678 r1733  
    8383        $(IPOPTOBJDIR)/src/Apps/AmplSolver/libamplinterface.la \
    8484        $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_4) \
    85         $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_2)
     85        $(am__DEPENDENCIES_2)
    8686DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/inc
    8787depcomp = $(SHELL) $(top_srcdir)/../depcomp
     
    108108CTAGS = ctags
    109109DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     110ABSBUILDDIR = @ABSBUILDDIR@
    110111ACLOCAL = @ACLOCAL@
    111112ADDLIBS = @ADDLIBS@
     
    119120AMTAR = @AMTAR@
    120121AR = @AR@
    121 ASLLIB = @ASLLIB@
    122 ASL_CPPFLAGS = @ASL_CPPFLAGS@
     122ASL_CFLAGS = @ASL_CFLAGS@
     123ASL_DATA = @ASL_DATA@
     124ASL_LIBS = @ASL_LIBS@
    123125ASTYLE = @ASTYLE@
    124126ASTYLEFLAGS = @ASTYLEFLAGS@
     
    128130AUX_DIR = @AUX_DIR@
    129131AWK = @AWK@
    130 BCPDOCDIR = @BCPDOCDIR@
    131 BCPOBJDIR = @BCPOBJDIR@
    132 BCPSRCDIR = @BCPSRCDIR@
     132BCP_CFLAGS = @BCP_CFLAGS@
     133BCP_DATA = @BCP_DATA@
     134BCP_LIBS = @BCP_LIBS@
     135BONMINLIB_CFLAGS = @BONMINLIB_CFLAGS@
     136BONMINLIB_LIBS = @BONMINLIB_LIBS@
     137BONMINLIB_PCLIBS = @BONMINLIB_PCLIBS@
     138BONMINLIB_PCREQUIRES = @BONMINLIB_PCREQUIRES@
     139BONMIN_SVN_REV = @BONMIN_SVN_REV@
    133140BUILDTOOLSDIR = @BUILDTOOLSDIR@
    134141BUILD_FP_FALSE = @BUILD_FP_FALSE@
    135142BUILD_FP_TRUE = @BUILD_FP_TRUE@
    136 CBCDOCDIR = @CBCDOCDIR@
    137 CBCOBJDIR = @CBCOBJDIR@
    138 CBCSRCDIR = @CBCSRCDIR@
    139143CC = @CC@
    140144CCDEPMODE = @CCDEPMODE@
    141145CDEFS = @CDEFS@
    142146CFLAGS = @CFLAGS@
    143 CGLDOCDIR = @CGLDOCDIR@
    144 CGLOBJDIR = @CGLOBJDIR@
    145 CGLSRCDIR = @CGLSRCDIR@
    146 CLPDOCDIR = @CLPDOCDIR@
    147 CLPOBJDIR = @CLPOBJDIR@
    148 CLPSRCDIR = @CLPSRCDIR@
    149 COINUTILSDOCDIR = @COINUTILSDOCDIR@
    150 COINUTILSOBJDIR = @COINUTILSOBJDIR@
    151 COINUTILSSRCDIR = @COINUTILSSRCDIR@
    152 COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@
    153 COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@
     147COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
     148COINDEPEND_DATA = @COINDEPEND_DATA@
     149COINDEPEND_LIBS = @COINDEPEND_LIBS@
    154150COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    155151COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
    156152COIN_HAS_BCP_FALSE = @COIN_HAS_BCP_FALSE@
    157153COIN_HAS_BCP_TRUE = @COIN_HAS_BCP_TRUE@
    158 COIN_HAS_CBC_FALSE = @COIN_HAS_CBC_FALSE@
    159 COIN_HAS_CBC_TRUE = @COIN_HAS_CBC_TRUE@
    160 COIN_HAS_CGL_FALSE = @COIN_HAS_CGL_FALSE@
    161 COIN_HAS_CGL_TRUE = @COIN_HAS_CGL_TRUE@
    162 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@
    163 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@
    164 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@
    165 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@
    166 COIN_HAS_COUENNE_FALSE = @COIN_HAS_COUENNE_FALSE@
    167 COIN_HAS_COUENNE_TRUE = @COIN_HAS_COUENNE_TRUE@
     154COIN_HAS_COINDEPEND_FALSE = @COIN_HAS_COINDEPEND_FALSE@
     155COIN_HAS_COINDEPEND_TRUE = @COIN_HAS_COINDEPEND_TRUE@
    168156COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@
    169157COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@
    170 COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@
    171 COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@
    172158COIN_HAS_FILTERSQP_FALSE = @COIN_HAS_FILTERSQP_FALSE@
    173159COIN_HAS_FILTERSQP_TRUE = @COIN_HAS_FILTERSQP_TRUE@
    174 COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@
    175 COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@
    176 COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@
    177 COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@
    178 COIN_HAS_IPOPT_FALSE = @COIN_HAS_IPOPT_FALSE@
    179 COIN_HAS_IPOPT_TRUE = @COIN_HAS_IPOPT_TRUE@
    180 COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@
    181 COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@
    182 COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@
    183 COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@
    184 COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@
    185 COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@
    186 COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
    187 COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    188 COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    189 COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
    190 COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    191 COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
    192 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@
    193 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@
     160COIN_HAS_OSICPX_FALSE = @COIN_HAS_OSICPX_FALSE@
     161COIN_HAS_OSICPX_TRUE = @COIN_HAS_OSICPX_TRUE@
     162COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     163COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
     164COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
     165COIN_PKG_CONFIG_PATH_UNINSTALLED = @COIN_PKG_CONFIG_PATH_UNINSTALLED@
    194166COMPILE_BONMINBCP_FALSE = @COMPILE_BONMINBCP_FALSE@
    195167COMPILE_BONMINBCP_TRUE = @COMPILE_BONMINBCP_TRUE@
    196 COUENNEDOCDIR = @COUENNEDOCDIR@
    197 COUENNEOBJDIR = @COUENNEOBJDIR@
    198 COUENNESRCDIR = @COUENNESRCDIR@
    199168CPP = @CPP@
    200169CPPFLAGS = @CPPFLAGS@
     
    212181DEFS = @DEFS@
    213182DEPDIR = @DEPDIR@
    214 DYLPDOCDIR = @DYLPDOCDIR@
    215 DYLPOBJDIR = @DYLPOBJDIR@
    216 DYLPSRCDIR = @DYLPSRCDIR@
    217183ECHO = @ECHO@
    218184ECHO_C = @ECHO_C@
     
    224190FADDLIBS = @FADDLIBS@
    225191FFLAGS = @FFLAGS@
    226 FILTERSQPLIBADD = @FILTERSQPLIBADD@
     192FILTERSQP_CFLAGS = @FILTERSQP_CFLAGS@
     193FILTERSQP_DATA = @FILTERSQP_DATA@
     194FILTERSQP_LIBS = @FILTERSQP_LIBS@
    227195FLIBS = @FLIBS@
    228 FMPINCDIR = @FMPINCDIR@
    229 FMPLIB = @FMPLIB@
    230 GLPKINCDIR = @GLPKINCDIR@
    231 GLPKLIB = @GLPKLIB@
    232 GLPKOBJDIR = @GLPKOBJDIR@
    233196HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    234197HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    237200INSTALL_SCRIPT = @INSTALL_SCRIPT@
    238201INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    239 IPOPTDOCDIR = @IPOPTDOCDIR@
    240 IPOPTOBJDIR = @IPOPTOBJDIR@
    241 IPOPTSRCDIR = @IPOPTSRCDIR@
    242202LDFLAGS = @LDFLAGS@
    243203LIBEXT = @LIBEXT@
     
    258218MPICXX = @MPICXX@
    259219MPIF77 = @MPIF77@
    260 MSKINCDIR = @MSKINCDIR@
    261 MSKLIB = @MSKLIB@
    262220OBJEXT = @OBJEXT@
    263221OPT_CFLAGS = @OPT_CFLAGS@
    264222OPT_CXXFLAGS = @OPT_CXXFLAGS@
    265223OPT_FFLAGS = @OPT_FFLAGS@
    266 OSIDOCDIR = @OSIDOCDIR@
    267 OSIOBJDIR = @OSIOBJDIR@
    268 OSISRCDIR = @OSISRCDIR@
    269 OSLINCDIR = @OSLINCDIR@
    270 OSLLIB = @OSLLIB@
     224OSICPX_CFLAGS = @OSICPX_CFLAGS@
     225OSICPX_DATA = @OSICPX_DATA@
     226OSICPX_LIBS = @OSICPX_LIBS@
    271227PACKAGE = @PACKAGE@
    272228PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    276232PACKAGE_VERSION = @PACKAGE_VERSION@
    277233PATH_SEPARATOR = @PATH_SEPARATOR@
     234PCADDLIBS = @PCADDLIBS@
     235PKG_CONFIG = @PKG_CONFIG@
    278236RANLIB = @RANLIB@
    279237RPATH_FLAGS = @RPATH_FLAGS@
    280238SET_MAKE = @SET_MAKE@
    281239SHELL = @SHELL@
    282 SPXINCDIR = @SPXINCDIR@
    283 SPXLIB = @SPXLIB@
    284240STRIP = @STRIP@
    285 SYMDOCDIR = @SYMDOCDIR@
    286 SYMOBJDIR = @SYMOBJDIR@
    287 SYMSRCDIR = @SYMSRCDIR@
    288241VERSION = @VERSION@
    289 VOLDOCDIR = @VOLDOCDIR@
    290 VOLOBJDIR = @VOLOBJDIR@
    291 VOLSRCDIR = @VOLSRCDIR@
    292242VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    293 XPRINCDIR = @XPRINCDIR@
    294 XPRLIB = @XPRLIB@
    295243abs_bin_dir = @abs_bin_dir@
    296244abs_include_dir = @abs_include_dir@
     
    305253ac_ct_STRIP = @ac_ct_STRIP@
    306254ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     255ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    307256am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    308257am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    325274have_automake = @have_automake@
    326275have_svn = @have_svn@
     276have_svnversion = @have_svnversion@
    327277host = @host@
    328278host_alias = @host_alias@
  • branches/split/Bonmin/inc/config_bonmin.h.in

    r1464 r1733  
    11/* inc/config_bonmin.h.in.  Generated from configure.ac by autoheader.  */
     2
     3/* SVN revision number of project */
     4#undef BONMIN_SVN_REV
     5
     6/* Version number of project */
     7#undef BONMIN_VERSION
    28
    39/* Define to the debug sanity check level (0 is no test) */
     
    713#undef COIN_BONMIN_VERBOSITY
    814
    9 /* If defined, the Ampl Solver Library is available. */
     15/* Define to 1 if the ASL package is available */
    1016#undef COIN_HAS_ASL
    1117
    12 /* Define to 1 if the Bcp package is used */
     18/* Define to 1 if the Bcp package is available */
    1319#undef COIN_HAS_BCP
    1420
    15 /* Define to 1 if the Cbc package is used */
    16 #undef COIN_HAS_CBC
    17 
    18 /* Define to 1 if the Cgl package is used */
    19 #undef COIN_HAS_CGL
    20 
    21 /* Define to 1 if the Clp package is used */
    22 #undef COIN_HAS_CLP
    23 
    24 /* Define to 1 if the CoinUtils package is used */
    25 #undef COIN_HAS_COINUTILS
    26 
    27 /* Define to 1 if the Couenne package is used */
    28 #undef COIN_HAS_COUENNE
     21/* Define to 1 if the CoinDepend package is available */
     22#undef COIN_HAS_COINDEPEND
    2923
    3024/* Define to 1 if the Cplex package is available */
    3125#undef COIN_HAS_CPX
    3226
    33 /* Define to 1 if the DyLP package is used */
    34 #undef COIN_HAS_DYLP
    35 
    36 /* Define to 1 if FilterSQP is available */
     27/* Define to 1 if the FilterSQP package is available */
    3728#undef COIN_HAS_FILTERSQP
    3829
    39 /* Define to 1 if the FortMP package is available */
    40 #undef COIN_HAS_FMP
    41 
    42 /* Define to 1 if Glpk package is available */
    43 #undef COIN_HAS_GLPK
    44 
    45 /* Define to 1 if the Ipopt package is used */
    46 #undef COIN_HAS_IPOPT
    47 
    48 /* Define to 1 if the Mosek package is available */
    49 #undef COIN_HAS_MSK
    50 
    51 /* Define to 1 if the Osi package is used */
    52 #undef COIN_HAS_OSI
    53 
    54 /* Define to 1 if the Osl package is available */
    55 #undef COIN_HAS_OSL
    56 
    57 /* Define to 1 if the Soplex package is available */
    58 #undef COIN_HAS_SPX
    59 
    60 /* Define to 1 if the Sym package is used */
    61 #undef COIN_HAS_SYM
    62 
    63 /* Define to 1 if the Vol package is used */
    64 #undef COIN_HAS_VOL
    65 
    66 /* Define to 1 if the Xpress package is available */
    67 #undef COIN_HAS_XPR
     30/* Define to 1 if the OsiCpx package is available */
     31#undef COIN_HAS_OSICPX
    6832
    6933/* Define to dummy `main' function (if any) required to link to the Fortran
  • branches/split/Bonmin/src/Algorithms/Ampl/Makefile.am

    r1014 r1733  
    1010
    1111# Name of the library in this directory
    12 if COIN_HAS_ASL
    1312noinst_LTLIBRARIES = libbonamplsetup.la
    14 endif
    1513
    1614########################################################################
     
    1917
    2018# List all source files, including headers
    21 libbonamplsetup_la_SOURCES = \
    22         BonAmplSetup.cpp BonAmplSetup.hpp
     19libbonamplsetup_la_SOURCES = BonAmplSetup.cpp BonAmplSetup.hpp
    2320
    24 # This is for libtool (on Windows)
     21# This is for libtool
    2522libbonamplsetup_la_LDFLAGS = $(LT_LDFLAGS)
    2623
    2724# Here list all include flags, relative to this "srcdir" directory.  This
    2825# "cygpath" stuff is necessary to compile with native compilers on Windows
    29 AM_CPPFLAGS = \
     26AM_CPPFLAGS = $(BONMINLIB_CFLAGS) \
    3027        -I`$(CYGPATH_W) $(srcdir)/../OaGenerators` \
    3128        -I`$(CYGPATH_W) $(srcdir)/../Branching` \
     
    3431        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ipopt` \
    3532        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Filter` \
    36         -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ampl` \
    37         -I`$(CYGPATH_W) $(IPOPTOBJDIR)/inc` \
    38         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/contrib/CGPenalty` \
    39         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Common` \
    40         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Interfaces` \
    41         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/LinAlg` \
    42         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Algorithm` \
    43         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Algorithm/LinearSolvers` \
    44         -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
    45         -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
    46         -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
    47         -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
    48         -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
    49         -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
    50         -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
    51         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglGomory` \
    52         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglProbing` \
    53         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglOddHole` \
    54         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglClique` \
    55         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglFlowCover` \
    56         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding` \
    57         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglTwomir` \
    58         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglKnapsackCover` \
    59         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglPreProcess` \
    60         -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
    61         -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
    62         -I`$(CYGPATH_W) $(CBCSRCDIR)/examples`
    63 
    64 if COIN_HAS_CPX
    65   AM_CPPFLAGS += \
    66         -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` \
    67         -I`$(CYGPATH_W) $(CPXINCDIR)`
    68 endif
     33        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ampl`
    6934
    7035# This line is necessary to allow VPATH compilation with MS compilers
    7136# on Cygwin
    7237DEFAULT_INCLUDES = -I. -I`$(CYGPATH_W) $(srcdir)` -I$(top_builddir)/inc
    73 
    7438
    7539########################################################################
     
    7842
    7943# Here list all the header files that are required by a user of the library,
    80 # and that therefore should be installed in 'install/coin'
     44# and that therefore should be installed in 'include/coin'
    8145includecoindir = $(includedir)/coin
    82 includecoin_HEADERS = \
    83         BonAmplSetup.hpp
     46includecoin_HEADERS = BonAmplSetup.hpp
    8447
    8548########################################################################
  • branches/split/Bonmin/src/Algorithms/Ampl/Makefile.in

    r1470 r1733  
    4444build_triplet = @build@
    4545host_triplet = @host@
    46 @COIN_HAS_CPX_TRUE@am__append_1 = \
    47 @COIN_HAS_CPX_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` \
    48 @COIN_HAS_CPX_TRUE@     -I`$(CYGPATH_W) $(CPXINCDIR)`
    49 
    5046subdir = src/Algorithms/Ampl
    5147DIST_COMMON = $(includecoin_HEADERS) $(srcdir)/Makefile.am \
     
    6359am_libbonamplsetup_la_OBJECTS = BonAmplSetup.lo
    6460libbonamplsetup_la_OBJECTS = $(am_libbonamplsetup_la_OBJECTS)
    65 @COIN_HAS_ASL_TRUE@am_libbonamplsetup_la_rpath =
    6661depcomp = $(SHELL) $(top_srcdir)/../depcomp
    6762am__depfiles_maybe = depfiles
     
    9691CTAGS = ctags
    9792DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     93ABSBUILDDIR = @ABSBUILDDIR@
    9894ACLOCAL = @ACLOCAL@
    9995ADDLIBS = @ADDLIBS@
     
    107103AMTAR = @AMTAR@
    108104AR = @AR@
    109 ASLLIB = @ASLLIB@
    110 ASL_CPPFLAGS = @ASL_CPPFLAGS@
     105ASL_CFLAGS = @ASL_CFLAGS@
     106ASL_DATA = @ASL_DATA@
     107ASL_LIBS = @ASL_LIBS@
    111108ASTYLE = @ASTYLE@
    112109ASTYLEFLAGS = @ASTYLEFLAGS@
     
    116113AUX_DIR = @AUX_DIR@
    117114AWK = @AWK@
    118 BCPDOCDIR = @BCPDOCDIR@
    119 BCPOBJDIR = @BCPOBJDIR@
    120 BCPSRCDIR = @BCPSRCDIR@
     115BCP_CFLAGS = @BCP_CFLAGS@
     116BCP_DATA = @BCP_DATA@
     117BCP_LIBS = @BCP_LIBS@
     118BONMINLIB_CFLAGS = @BONMINLIB_CFLAGS@
     119BONMINLIB_LIBS = @BONMINLIB_LIBS@
     120BONMINLIB_PCLIBS = @BONMINLIB_PCLIBS@
     121BONMINLIB_PCREQUIRES = @BONMINLIB_PCREQUIRES@
     122BONMIN_SVN_REV = @BONMIN_SVN_REV@
    121123BUILDTOOLSDIR = @BUILDTOOLSDIR@
    122124BUILD_FP_FALSE = @BUILD_FP_FALSE@
    123125BUILD_FP_TRUE = @BUILD_FP_TRUE@
    124 CBCDOCDIR = @CBCDOCDIR@
    125 CBCOBJDIR = @CBCOBJDIR@
    126 CBCSRCDIR = @CBCSRCDIR@
    127126CC = @CC@
    128127CCDEPMODE = @CCDEPMODE@
    129128CDEFS = @CDEFS@
    130129CFLAGS = @CFLAGS@
    131 CGLDOCDIR = @CGLDOCDIR@
    132 CGLOBJDIR = @CGLOBJDIR@
    133 CGLSRCDIR = @CGLSRCDIR@
    134 CLPDOCDIR = @CLPDOCDIR@
    135 CLPOBJDIR = @CLPOBJDIR@
    136 CLPSRCDIR = @CLPSRCDIR@
    137 COINUTILSDOCDIR = @COINUTILSDOCDIR@
    138 COINUTILSOBJDIR = @COINUTILSOBJDIR@
    139 COINUTILSSRCDIR = @COINUTILSSRCDIR@
    140 COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@
    141 COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@
     130COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
     131COINDEPEND_DATA = @COINDEPEND_DATA@
     132COINDEPEND_LIBS = @COINDEPEND_LIBS@
    142133COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    143134COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
    144135COIN_HAS_BCP_FALSE = @COIN_HAS_BCP_FALSE@
    145136COIN_HAS_BCP_TRUE = @COIN_HAS_BCP_TRUE@
    146 COIN_HAS_CBC_FALSE = @COIN_HAS_CBC_FALSE@
    147 COIN_HAS_CBC_TRUE = @COIN_HAS_CBC_TRUE@
    148 COIN_HAS_CGL_FALSE = @COIN_HAS_CGL_FALSE@
    149 COIN_HAS_CGL_TRUE = @COIN_HAS_CGL_TRUE@
    150 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@
    151 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@
    152 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@
    153 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@
    154 COIN_HAS_COUENNE_FALSE = @COIN_HAS_COUENNE_FALSE@
    155 COIN_HAS_COUENNE_TRUE = @COIN_HAS_COUENNE_TRUE@
     137COIN_HAS_COINDEPEND_FALSE = @COIN_HAS_COINDEPEND_FALSE@
     138COIN_HAS_COINDEPEND_TRUE = @COIN_HAS_COINDEPEND_TRUE@
    156139COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@
    157140COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@
    158 COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@
    159 COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@
    160141COIN_HAS_FILTERSQP_FALSE = @COIN_HAS_FILTERSQP_FALSE@
    161142COIN_HAS_FILTERSQP_TRUE = @COIN_HAS_FILTERSQP_TRUE@
    162 COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@
    163 COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@
    164 COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@
    165 COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@
    166 COIN_HAS_IPOPT_FALSE = @COIN_HAS_IPOPT_FALSE@
    167 COIN_HAS_IPOPT_TRUE = @COIN_HAS_IPOPT_TRUE@
    168 COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@
    169 COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@
    170 COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@
    171 COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@
    172 COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@
    173 COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@
    174 COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
    175 COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    176 COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    177 COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
    178 COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    179 COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
    180 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@
    181 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@
     143COIN_HAS_OSICPX_FALSE = @COIN_HAS_OSICPX_FALSE@
     144COIN_HAS_OSICPX_TRUE = @COIN_HAS_OSICPX_TRUE@
     145COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     146COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
     147COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
     148COIN_PKG_CONFIG_PATH_UNINSTALLED = @COIN_PKG_CONFIG_PATH_UNINSTALLED@
    182149COMPILE_BONMINBCP_FALSE = @COMPILE_BONMINBCP_FALSE@
    183150COMPILE_BONMINBCP_TRUE = @COMPILE_BONMINBCP_TRUE@
    184 COUENNEDOCDIR = @COUENNEDOCDIR@
    185 COUENNEOBJDIR = @COUENNEOBJDIR@
    186 COUENNESRCDIR = @COUENNESRCDIR@
    187151CPP = @CPP@
    188152CPPFLAGS = @CPPFLAGS@
     
    200164DEFS = @DEFS@
    201165DEPDIR = @DEPDIR@
    202 DYLPDOCDIR = @DYLPDOCDIR@
    203 DYLPOBJDIR = @DYLPOBJDIR@
    204 DYLPSRCDIR = @DYLPSRCDIR@
    205166ECHO = @ECHO@
    206167ECHO_C = @ECHO_C@
     
    212173FADDLIBS = @FADDLIBS@
    213174FFLAGS = @FFLAGS@
    214 FILTERSQPLIBADD = @FILTERSQPLIBADD@
     175FILTERSQP_CFLAGS = @FILTERSQP_CFLAGS@
     176FILTERSQP_DATA = @FILTERSQP_DATA@
     177FILTERSQP_LIBS = @FILTERSQP_LIBS@
    215178FLIBS = @FLIBS@
    216 FMPINCDIR = @FMPINCDIR@
    217 FMPLIB = @FMPLIB@
    218 GLPKINCDIR = @GLPKINCDIR@
    219 GLPKLIB = @GLPKLIB@
    220 GLPKOBJDIR = @GLPKOBJDIR@
    221179HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    222180HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    225183INSTALL_SCRIPT = @INSTALL_SCRIPT@
    226184INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    227 IPOPTDOCDIR = @IPOPTDOCDIR@
    228 IPOPTOBJDIR = @IPOPTOBJDIR@
    229 IPOPTSRCDIR = @IPOPTSRCDIR@
    230185LDFLAGS = @LDFLAGS@
    231186LIBEXT = @LIBEXT@
     
    244199MPICXX = @MPICXX@
    245200MPIF77 = @MPIF77@
    246 MSKINCDIR = @MSKINCDIR@
    247 MSKLIB = @MSKLIB@
    248201OBJEXT = @OBJEXT@
    249202OPT_CFLAGS = @OPT_CFLAGS@
    250203OPT_CXXFLAGS = @OPT_CXXFLAGS@
    251204OPT_FFLAGS = @OPT_FFLAGS@
    252 OSIDOCDIR = @OSIDOCDIR@
    253 OSIOBJDIR = @OSIOBJDIR@
    254 OSISRCDIR = @OSISRCDIR@
    255 OSLINCDIR = @OSLINCDIR@
    256 OSLLIB = @OSLLIB@
     205OSICPX_CFLAGS = @OSICPX_CFLAGS@
     206OSICPX_DATA = @OSICPX_DATA@
     207OSICPX_LIBS = @OSICPX_LIBS@
    257208PACKAGE = @PACKAGE@
    258209PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    262213PACKAGE_VERSION = @PACKAGE_VERSION@
    263214PATH_SEPARATOR = @PATH_SEPARATOR@
     215PCADDLIBS = @PCADDLIBS@
     216PKG_CONFIG = @PKG_CONFIG@
    264217RANLIB = @RANLIB@
    265218RPATH_FLAGS = @RPATH_FLAGS@
    266219SET_MAKE = @SET_MAKE@
    267220SHELL = @SHELL@
    268 SPXINCDIR = @SPXINCDIR@
    269 SPXLIB = @SPXLIB@
    270221STRIP = @STRIP@
    271 SYMDOCDIR = @SYMDOCDIR@
    272 SYMOBJDIR = @SYMOBJDIR@
    273 SYMSRCDIR = @SYMSRCDIR@
    274222VERSION = @VERSION@
    275 VOLDOCDIR = @VOLDOCDIR@
    276 VOLOBJDIR = @VOLOBJDIR@
    277 VOLSRCDIR = @VOLSRCDIR@
    278223VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    279 XPRINCDIR = @XPRINCDIR@
    280 XPRLIB = @XPRLIB@
    281224abs_bin_dir = @abs_bin_dir@
    282225abs_include_dir = @abs_include_dir@
     
    291234ac_ct_STRIP = @ac_ct_STRIP@
    292235ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     236ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    293237am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    294238am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    311255have_automake = @have_automake@
    312256have_svn = @have_svn@
     257have_svnversion = @have_svnversion@
    313258host = @host@
    314259host_alias = @host_alias@
     
    335280
    336281# Name of the library in this directory
    337 @COIN_HAS_ASL_TRUE@noinst_LTLIBRARIES = libbonamplsetup.la
     282noinst_LTLIBRARIES = libbonamplsetup.la
    338283
    339284########################################################################
     
    342287
    343288# List all source files, including headers
    344 libbonamplsetup_la_SOURCES = \
    345         BonAmplSetup.cpp BonAmplSetup.hpp
    346 
    347 
    348 # This is for libtool (on Windows)
     289libbonamplsetup_la_SOURCES = BonAmplSetup.cpp BonAmplSetup.hpp
     290
     291# This is for libtool
    349292libbonamplsetup_la_LDFLAGS = $(LT_LDFLAGS)
    350293
    351294# Here list all include flags, relative to this "srcdir" directory.  This
    352295# "cygpath" stuff is necessary to compile with native compilers on Windows
    353 AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/../OaGenerators` \
    354         -I`$(CYGPATH_W) $(srcdir)/../Branching` -I`$(CYGPATH_W) \
    355         $(srcdir)/..` -I`$(CYGPATH_W) $(srcdir)/../../Interfaces` \
     296AM_CPPFLAGS = $(BONMINLIB_CFLAGS) \
     297        -I`$(CYGPATH_W) $(srcdir)/../OaGenerators` \
     298        -I`$(CYGPATH_W) $(srcdir)/../Branching` \
     299        -I`$(CYGPATH_W) $(srcdir)/..` \
     300        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces` \
    356301        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ipopt` \
    357302        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Filter` \
    358         -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ampl` \
    359         -I`$(CYGPATH_W) $(IPOPTOBJDIR)/inc` -I`$(CYGPATH_W) \
    360         $(IPOPTSRCDIR)/src/contrib/CGPenalty` -I`$(CYGPATH_W) \
    361         $(IPOPTSRCDIR)/src/Common` -I`$(CYGPATH_W) \
    362         $(IPOPTSRCDIR)/src/Interfaces` -I`$(CYGPATH_W) \
    363         $(IPOPTSRCDIR)/src/LinAlg` -I`$(CYGPATH_W) \
    364         $(IPOPTSRCDIR)/src/Algorithm` -I`$(CYGPATH_W) \
    365         $(IPOPTSRCDIR)/src/Algorithm/LinearSolvers` -I`$(CYGPATH_W) \
    366         $(COINUTILSSRCDIR)/src` -I`$(CYGPATH_W) \
    367         $(COINUTILSOBJDIR)/inc` -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
    368         -I`$(CYGPATH_W) $(CLPSRCDIR)/src` -I`$(CYGPATH_W) \
    369         $(OSISRCDIR)/src` -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
    370         -I`$(CYGPATH_W) $(CGLSRCDIR)/src` -I`$(CYGPATH_W) \
    371         $(CGLSRCDIR)/src/CglGomory` -I`$(CYGPATH_W) \
    372         $(CGLSRCDIR)/src/CglProbing` -I`$(CYGPATH_W) \
    373         $(CGLSRCDIR)/src/CglOddHole` -I`$(CYGPATH_W) \
    374         $(CGLSRCDIR)/src/CglClique` -I`$(CYGPATH_W) \
    375         $(CGLSRCDIR)/src/CglFlowCover` -I`$(CYGPATH_W) \
    376         $(CGLSRCDIR)/src/CglMixedIntegerRounding` -I`$(CYGPATH_W) \
    377         $(CGLSRCDIR)/src/CglTwomir` -I`$(CYGPATH_W) \
    378         $(CGLSRCDIR)/src/CglKnapsackCover` -I`$(CYGPATH_W) \
    379         $(CGLSRCDIR)/src/CglPreProcess` -I`$(CYGPATH_W) \
    380         $(CGLSRCDIR)/src` -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
    381         -I`$(CYGPATH_W) $(CBCSRCDIR)/examples` $(am__append_1)
     303        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ampl`
     304
    382305
    383306# This line is necessary to allow VPATH compilation with MS compilers
     
    390313
    391314# Here list all the header files that are required by a user of the library,
    392 # and that therefore should be installed in 'install/coin'
     315# and that therefore should be installed in 'include/coin'
    393316includecoindir = $(includedir)/coin
    394 includecoin_HEADERS = \
    395         BonAmplSetup.hpp
    396 
     317includecoin_HEADERS = BonAmplSetup.hpp
    397318
    398319########################################################################
     
    449370        done
    450371libbonamplsetup.la: $(libbonamplsetup_la_OBJECTS) $(libbonamplsetup_la_DEPENDENCIES)
    451         $(CXXLINK) $(am_libbonamplsetup_la_rpath) $(libbonamplsetup_la_LDFLAGS) $(libbonamplsetup_la_OBJECTS) $(libbonamplsetup_la_LIBADD) $(LIBS)
     372        $(CXXLINK) $(libbonamplsetup_la_LDFLAGS) $(libbonamplsetup_la_OBJECTS) $(libbonamplsetup_la_LIBADD) $(LIBS)
    452373
    453374mostlyclean-compile:
  • branches/split/Bonmin/src/Algorithms/Branching/Makefile.am

    r1077 r1733  
    2525        BonQpBranchingSolver.cpp BonQpBranchingSolver.hpp
    2626
    27 
    28 # This is for libtool (on Windows)
     27# This is for libtool
    2928libbonbranching_la_LDFLAGS = $(LT_LDFLAGS)
    3029
    3130# Here list all include flags, relative to this "srcdir" directory.  This
    3231# "cygpath" stuff is necessary to compile with native compilers on Windows
    33 AM_CPPFLAGS = \
     32AM_CPPFLAGS = $(BONMIN_CFLAGS)
    3433        -I`$(CYGPATH_W) $(srcdir)/../OaGenerators` \
    3534        -I`$(CYGPATH_W) $(srcdir)/..` \
    3635        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces` \
    3736        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ipopt` \
    38         -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Filter` \
    39         -I`$(CYGPATH_W) $(IPOPTOBJDIR)/inc` \
    40         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/contrib/CGPenalty` \
    41         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Common` \
    42         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Interfaces` \
    43         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/LinAlg` \
    44         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Algorithm` \
    45         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Algorithm/LinearSolvers` \
    46         -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
    47         -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
    48         -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
    49         -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
    50         -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
    51         -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
    52         -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
    53         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglGomory` \
    54         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglProbing` \
    55         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglOddHole` \
    56         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglClique` \
    57         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglFlowCover` \
    58         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding` \
    59         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglTwomir` \
    60         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglKnapsackCover` \
    61         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglPreProcess` \
    62         -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
    63         -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
    64         -I`$(CYGPATH_W) $(CBCOBJDIR)/inc`
     37        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Filter`
    6538
    6639# Currently, the following has to be included for BonChooseVariable.hpp, but
    6740# we should try to unmangle the connection to Cbc
    6841
    69 AM_CPPFLAGS += -I`$(CYGPATH_W) $(srcdir)/../../CbcBonmin`
    70 
    71 if COIN_HAS_CPX
    72   AM_CPPFLAGS += \
    73         -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` \
    74         -I`$(CYGPATH_W) $(CPXINCDIR)`
    75 endif
     42#AM_CPPFLAGS += -I`$(CYGPATH_W) $(srcdir)/../../CbcBonmin`
    7643
    7744# This line is necessary to allow VPATH compilation with MS compilers
     
    8552
    8653# Here list all the header files that are required by a user of the library,
    87 # and that therefore should be installed in 'install/coin'
     54# and that therefore should be installed in 'include/coin'
    8855includecoindir = $(includedir)/coin
    8956includecoin_HEADERS = \
  • branches/split/Bonmin/src/Algorithms/Branching/Makefile.in

    r1470 r1733  
    4444build_triplet = @build@
    4545host_triplet = @host@
    46 @COIN_HAS_CPX_TRUE@am__append_1 = \
    47 @COIN_HAS_CPX_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` \
    48 @COIN_HAS_CPX_TRUE@     -I`$(CYGPATH_W) $(CPXINCDIR)`
    49 
    5046subdir = src/Algorithms/Branching
    5147DIST_COMMON = $(includecoin_HEADERS) $(srcdir)/Makefile.am \
     
    9793CTAGS = ctags
    9894DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     95ABSBUILDDIR = @ABSBUILDDIR@
    9996ACLOCAL = @ACLOCAL@
    10097ADDLIBS = @ADDLIBS@
     
    108105AMTAR = @AMTAR@
    109106AR = @AR@
    110 ASLLIB = @ASLLIB@
    111 ASL_CPPFLAGS = @ASL_CPPFLAGS@
     107ASL_CFLAGS = @ASL_CFLAGS@
     108ASL_DATA = @ASL_DATA@
     109ASL_LIBS = @ASL_LIBS@
    112110ASTYLE = @ASTYLE@
    113111ASTYLEFLAGS = @ASTYLEFLAGS@
     
    117115AUX_DIR = @AUX_DIR@
    118116AWK = @AWK@
    119 BCPDOCDIR = @BCPDOCDIR@
    120 BCPOBJDIR = @BCPOBJDIR@
    121 BCPSRCDIR = @BCPSRCDIR@
     117BCP_CFLAGS = @BCP_CFLAGS@
     118BCP_DATA = @BCP_DATA@
     119BCP_LIBS = @BCP_LIBS@
     120BONMINLIB_CFLAGS = @BONMINLIB_CFLAGS@
     121BONMINLIB_LIBS = @BONMINLIB_LIBS@
     122BONMINLIB_PCLIBS = @BONMINLIB_PCLIBS@
     123BONMINLIB_PCREQUIRES = @BONMINLIB_PCREQUIRES@
     124BONMIN_SVN_REV = @BONMIN_SVN_REV@
    122125BUILDTOOLSDIR = @BUILDTOOLSDIR@
    123126BUILD_FP_FALSE = @BUILD_FP_FALSE@
    124127BUILD_FP_TRUE = @BUILD_FP_TRUE@
    125 CBCDOCDIR = @CBCDOCDIR@
    126 CBCOBJDIR = @CBCOBJDIR@
    127 CBCSRCDIR = @CBCSRCDIR@
    128128CC = @CC@
    129129CCDEPMODE = @CCDEPMODE@
    130130CDEFS = @CDEFS@
    131131CFLAGS = @CFLAGS@
    132 CGLDOCDIR = @CGLDOCDIR@
    133 CGLOBJDIR = @CGLOBJDIR@
    134 CGLSRCDIR = @CGLSRCDIR@
    135 CLPDOCDIR = @CLPDOCDIR@
    136 CLPOBJDIR = @CLPOBJDIR@
    137 CLPSRCDIR = @CLPSRCDIR@
    138 COINUTILSDOCDIR = @COINUTILSDOCDIR@
    139 COINUTILSOBJDIR = @COINUTILSOBJDIR@
    140 COINUTILSSRCDIR = @COINUTILSSRCDIR@
    141 COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@
    142 COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@
     132COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
     133COINDEPEND_DATA = @COINDEPEND_DATA@
     134COINDEPEND_LIBS = @COINDEPEND_LIBS@
    143135COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    144136COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
    145137COIN_HAS_BCP_FALSE = @COIN_HAS_BCP_FALSE@
    146138COIN_HAS_BCP_TRUE = @COIN_HAS_BCP_TRUE@
    147 COIN_HAS_CBC_FALSE = @COIN_HAS_CBC_FALSE@
    148 COIN_HAS_CBC_TRUE = @COIN_HAS_CBC_TRUE@
    149 COIN_HAS_CGL_FALSE = @COIN_HAS_CGL_FALSE@
    150 COIN_HAS_CGL_TRUE = @COIN_HAS_CGL_TRUE@
    151 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@
    152 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@
    153 COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@
    154 COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@
    155 COIN_HAS_COUENNE_FALSE = @COIN_HAS_COUENNE_FALSE@
    156 COIN_HAS_COUENNE_TRUE = @COIN_HAS_COUENNE_TRUE@
     139COIN_HAS_COINDEPEND_FALSE = @COIN_HAS_COINDEPEND_FALSE@
     140COIN_HAS_COINDEPEND_TRUE = @COIN_HAS_COINDEPEND_TRUE@
    157141COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@
    158142COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@
    159 COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@
    160 COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@
    161143COIN_HAS_FILTERSQP_FALSE = @COIN_HAS_FILTERSQP_FALSE@
    162144COIN_HAS_FILTERSQP_TRUE = @COIN_HAS_FILTERSQP_TRUE@
    163 COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@
    164 COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@
    165 COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@
    166 COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@
    167 COIN_HAS_IPOPT_FALSE = @COIN_HAS_IPOPT_FALSE@
    168 COIN_HAS_IPOPT_TRUE = @COIN_HAS_IPOPT_TRUE@
    169 COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@
    170 COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@
    171 COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@
    172 COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@
    173 COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@
    174 COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@
    175 COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
    176 COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    177 COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    178 COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
    179 COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    180 COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
    181 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@
    182 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@
     145COIN_HAS_OSICPX_FALSE = @COIN_HAS_OSICPX_FALSE@
     146COIN_HAS_OSICPX_TRUE = @COIN_HAS_OSICPX_TRUE@
     147COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     148COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
     149COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@
     150COIN_PKG_CONFIG_PATH_UNINSTALLED = @COIN_PKG_CONFIG_PATH_UNINSTALLED@
    183151COMPILE_BONMINBCP_FALSE = @COMPILE_BONMINBCP_FALSE@
    184152COMPILE_BONMINBCP_TRUE = @COMPILE_BONMINBCP_TRUE@
    185 COUENNEDOCDIR = @COUENNEDOCDIR@
    186 COUENNEOBJDIR = @COUENNEOBJDIR@
    187 COUENNESRCDIR = @COUENNESRCDIR@
    188153CPP = @CPP@
    189154CPPFLAGS = @CPPFLAGS@
     
    201166DEFS = @DEFS@
    202167DEPDIR = @DEPDIR@
    203 DYLPDOCDIR = @DYLPDOCDIR@
    204 DYLPOBJDIR = @DYLPOBJDIR@
    205 DYLPSRCDIR = @DYLPSRCDIR@
    206168ECHO = @ECHO@
    207169ECHO_C = @ECHO_C@
     
    213175FADDLIBS = @FADDLIBS@
    214176FFLAGS = @FFLAGS@
    215 FILTERSQPLIBADD = @FILTERSQPLIBADD@
     177FILTERSQP_CFLAGS = @FILTERSQP_CFLAGS@
     178FILTERSQP_DATA = @FILTERSQP_DATA@
     179FILTERSQP_LIBS = @FILTERSQP_LIBS@
    216180FLIBS = @FLIBS@
    217 FMPINCDIR = @FMPINCDIR@
    218 FMPLIB = @FMPLIB@
    219 GLPKINCDIR = @GLPKINCDIR@
    220 GLPKLIB = @GLPKLIB@
    221 GLPKOBJDIR = @GLPKOBJDIR@
    222181HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    223182HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    226185INSTALL_SCRIPT = @INSTALL_SCRIPT@
    227186INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
    228 IPOPTDOCDIR = @IPOPTDOCDIR@
    229 IPOPTOBJDIR = @IPOPTOBJDIR@
    230 IPOPTSRCDIR = @IPOPTSRCDIR@
    231187LDFLAGS = @LDFLAGS@
    232188LIBEXT = @LIBEXT@
     
    245201MPICXX = @MPICXX@
    246202MPIF77 = @MPIF77@
    247 MSKINCDIR = @MSKINCDIR@
    248 MSKLIB = @MSKLIB@
    249203OBJEXT = @OBJEXT@
    250204OPT_CFLAGS = @OPT_CFLAGS@
    251205OPT_CXXFLAGS = @OPT_CXXFLAGS@
    252206OPT_FFLAGS = @OPT_FFLAGS@
    253 OSIDOCDIR = @OSIDOCDIR@
    254 OSIOBJDIR = @OSIOBJDIR@
    255 OSISRCDIR = @OSISRCDIR@
    256 OSLINCDIR = @OSLINCDIR@
    257 OSLLIB = @OSLLIB@
     207OSICPX_CFLAGS = @OSICPX_CFLAGS@
     208OSICPX_DATA = @OSICPX_DATA@
     209OSICPX_LIBS = @OSICPX_LIBS@
    258210PACKAGE = @PACKAGE@
    259211PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    263215PACKAGE_VERSION = @PACKAGE_VERSION@
    264216PATH_SEPARATOR = @PATH_SEPARATOR@
     217PCADDLIBS = @PCADDLIBS@
     218PKG_CONFIG = @PKG_CONFIG@
    265219RANLIB = @RANLIB@
    266220RPATH_FLAGS = @RPATH_FLAGS@
    267221SET_MAKE = @SET_MAKE@
    268222SHELL = @SHELL@
    269 SPXINCDIR = @SPXINCDIR@
    270 SPXLIB = @SPXLIB@
    271223STRIP = @STRIP@
    272 SYMDOCDIR = @SYMDOCDIR@
    273 SYMOBJDIR = @SYMOBJDIR@
    274 SYMSRCDIR = @SYMSRCDIR@
    275224VERSION = @VERSION@
    276 VOLDOCDIR = @VOLDOCDIR@
    277 VOLOBJDIR = @VOLOBJDIR@
    278 VOLSRCDIR = @VOLSRCDIR@
    279225VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    280 XPRINCDIR = @XPRINCDIR@
    281 XPRLIB = @XPRLIB@
    282226abs_bin_dir = @abs_bin_dir@
    283227abs_include_dir = @abs_include_dir@
     
    292236ac_ct_STRIP = @ac_ct_STRIP@
    293237ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     238ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    294239am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    295240am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    312257have_automake = @have_automake@
    313258have_svn = @have_svn@
     259have_svnversion = @have_svnversion@
    314260host = @host@
    315261host_alias = @host_alias@
     
    352298
    353299
    354 # This is for libtool (on Windows)
     300# This is for libtool
    355301libbonbranching_la_LDFLAGS = $(LT_LDFLAGS)
    356302
    357303# Here list all include flags, relative to this "srcdir" directory.  This
    358304# "cygpath" stuff is necessary to compile with native compilers on Windows
     305AM_CPPFLAGS = $(BONMIN_CFLAGS)
    359306
    360307# Currently, the following has to be included for BonChooseVariable.hpp, but
    361308# we should try to unmangle the connection to Cbc
    362 AM_CPPFLAGS = -I`$(CYGPATH_W) $(srcdir)/../OaGenerators` \
    363         -I`$(CYGPATH_W) $(srcdir)/..` -I`$(CYGPATH_W) \
    364         $(srcdir)/../../Interfaces` -I`$(CYGPATH_W) \
    365         $(srcdir)/../../Interfaces/Ipopt` -I`$(CYGPATH_W) \
    366         $(srcdir)/../../Interfaces/Filter` -I`$(CYGPATH_W) \
    367         $(IPOPTOBJDIR)/inc` -I`$(CYGPATH_W) \
    368         $(IPOPTSRCDIR)/src/contrib/CGPenalty` -I`$(CYGPATH_W) \
    369         $(IPOPTSRCDIR)/src/Common` -I`$(CYGPATH_W) \
    370         $(IPOPTSRCDIR)/src/Interfaces` -I`$(CYGPATH_W) \
    371         $(IPOPTSRCDIR)/src/LinAlg` -I`$(CYGPATH_W) \
    372         $(IPOPTSRCDIR)/src/Algorithm` -I`$(CYGPATH_W) \
    373         $(IPOPTSRCDIR)/src/Algorithm/LinearSolvers` -I`$(CYGPATH_W) \
    374         $(COINUTILSSRCDIR)/src` -I`$(CYGPATH_W) \
    375         $(COINUTILSOBJDIR)/inc` -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
    376         -I`$(CYGPATH_W) $(CLPSRCDIR)/src` -I`$(CYGPATH_W) \
    377         $(OSISRCDIR)/src` -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
    378         -I`$(CYGPATH_W) $(CGLSRCDIR)/src` -I`$(CYGPATH_W) \
    379         $(CGLSRCDIR)/src/CglGomory` -I`$(CYGPATH_W) \
    380         $(CGLSRCDIR)/src/CglProbing` -I`$(CYGPATH_W) \
    381         $(CGLSRCDIR)/src/CglOddHole` -I`$(CYGPATH_W) \
    382         $(CGLSRCDIR)/src/CglClique` -I`$(CYGPATH_W) \
    383         $(CGLSRCDIR)/src/CglFlowCover` -I`$(CYGPATH_W) \
    384         $(CGLSRCDIR)/src/CglMixedIntegerRounding` -I`$(CYGPATH_W) \
    385         $(CGLSRCDIR)/src/CglTwomir` -I`$(CYGPATH_W) \
    386         $(CGLSRCDIR)/src/CglKnapsackCover` -I`$(CYGPATH_W) \
    387         $(CGLSRCDIR)/src/CglPreProcess` -I`$(CYGPATH_W) \
    388         $(CGLSRCDIR)/src` -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
    389         -I`$(CYGPATH_W) $(CBCOBJDIR)/inc` -I`$(CYGPATH_W) \
    390         $(srcdir)/../../CbcBonmin` $(am__append_1)
     309
     310#AM_CPPFLAGS += -I`$(CYGPATH_W) $(srcdir)/../../CbcBonmin`
    391311
    392312# This line is necessary to allow VPATH compilation with MS compilers
     
    399319
    400320# Here list all the header files that are required by a user of the library,
    401 # and that therefore should be installed in 'install/coin'
     321# and that therefore should be installed in 'include/coin'
    402322includecoindir = $(includedir)/coin
    403323includecoin_HEADERS = \
     
    700620        uninstall-info-am
    701621
     622        -I`$(CYGPATH_W) $(srcdir)/../OaGenerators` \
     623        -I`$(CYGPATH_W) $(srcdir)/..` \
     624        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces` \
     625        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Ipopt` \
     626        -I`$(CYGPATH_W) $(srcdir)/../../Interfaces/Filter`
    702627
    703628astyle: $(ASTYLE_FILES)
  • branches/split/Bonmin/src/Algorithms/Makefile.am

    r1605 r1733  
    1515       Branching \
    1616       QuadCuts
     17
    1718if COIN_HAS_ASL
    1819SUBDIRS += Ampl
     
    3940libbonalgorithms_la_DEPENDENCIES = $(libbonalgorithms_la_LIBADD)
    4041
    41 # This is for libtool (on Windows)
     42# This is for libtool
    4243libbonalgorithms_la_LDFLAGS = $(LT_LDFLAGS)
    4344
    4445# Here list all include flags, relative to this "srcdir" directory.  This
    4546# "cygpath" stuff is necessary to compile with native compilers on Windows
    46 AM_CPPFLAGS = \
     47AM_CPPFLAGS = $(BONMINLIB_CFLAGS) \
    4748        -I`$(CYGPATH_W) $(srcdir)/Branching` \
    4849        -I`$(CYGPATH_W) $(srcdir)/QuadCuts` \
     
    5253        -I`$(CYGPATH_W) $(srcdir)/../Interfaces` \
    5354        -I`$(CYGPATH_W) $(srcdir)/../Interfaces/Ipopt` \
    54         -I`$(CYGPATH_W) $(srcdir)/../Interfaces/Filter` \
    55         -I`$(CYGPATH_W) $(IPOPTOBJDIR)/inc` \
    56         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/contrib/CGPenalty` \
    57         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Common` \
    58         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Interfaces` \
    59         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/LinAlg` \
    60         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Algorithm` \
    61         -I`$(CYGPATH_W) $(IPOPTSRCDIR)/src/Algorithm/LinearSolvers` \
    62         -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
    63         -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \
    64         -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` \
    65         -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
    66         -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
    67         -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
    68         -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
    69         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglGomory` \
    70         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglProbing` \
    71         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglOddHole` \
    72         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglClique` \
    73         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglFlowCover` \
    74         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding` \
    75         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding2` \
    76         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglClique` \
    77         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglLandP` \
    78         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglRedSplit` \
    79         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglTwomir` \
    80         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglKnapsackCover` \
    81         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglPreProcess` \
    82         -I`$(CYGPATH_W) $(CGLOBJDIR)/inc` \
    83         -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
    84         -I`$(CYGPATH_W) $(CBCOBJDIR)/inc`
     55        -I`$(CYGPATH_W) $(srcdir)/../Interfaces/Filter`
    8556
     57# BonSubMipSolver.cpp needs to include cplex.h
    8658if COIN_HAS_CPX
    87   AM_CPPFLAGS += \
    88         -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` \
    89         -I`$(CYGPATH_W) $(CPXINCDIR)`
     59  AM_CPPFLAGS += -I`$(CYGPATH_W) $(CPXINCDIR)`
    9060endif
    9161
     
    10070
    10171# Here list all the header files that are required by a user of the library,
    102 # and that therefore should be installed in 'install/coin'
     72# and that therefore should be installed in 'include/coin'
    10373includecoindir = $(includedir)/coin
    10474includecoin_HEADERS = \
     
    10676          BonSubMipSolver.hpp \
    10777          BonCbcLpStrategy.hpp \
    108           BonBonminSetup.hpp
    109  
     78          BonBonminSetup.hpp
    11079
    11180########################################################################
  • branches/split/Bonmin/src/Algorithms/Makefile.in

    r1605 r1733  
    4545host_triplet = @host@
    4646@COIN_HAS_ASL_TRUE@am__append_1 = Ampl