Changeset 1464 for trunk/Cbc/configure


Ignore:
Timestamp:
Jun 7, 2010 8:27:42 AM (9 years ago)
Author:
stefan
Message:

merge split branch into trunk; fix some examples

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:externals
      •  

        old new  
        1 BuildTools        https://projects.coin-or.org/svn/BuildTools/stable/0.5
        2 ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.0
        3 ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.0
        4 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.0
        5 ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.5
        6 Data/Sample       https://projects.coin-or.org/svn/Data/stable/1.0/Sample
        7 CoinUtils         https://projects.coin-or.org/svn/CoinUtils/stable/2.6/CoinUtils
        8 Cgl               https://projects.coin-or.org/svn/Cgl/stable/0.55/Cgl
        9 Clp               https://projects.coin-or.org/svn/Clp/stable/1.12/Clp
        10 Osi               https://projects.coin-or.org/svn/Osi/stable/0.103/Osi
        11 Vol               https://projects.coin-or.org/svn/Vol/stable/1.1/Vol
         1BuildTools        https://projects.coin-or.org/svn/BuildTools/trunk
         2ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/trunk
         3ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/trunk
         4ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/trunk
         5ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/trunk
         6Data/Sample       https://projects.coin-or.org/svn/Data/trunk/Sample
         7#Data/miplib3      https://projects.coin-or.org/svn/Data/trunk/miplib3
         8CoinUtils         https://projects.coin-or.org/svn/CoinUtils/trunk/CoinUtils
         9Cgl               https://projects.coin-or.org/svn/Cgl/trunk/Cgl
         10Clp               https://projects.coin-or.org/svn/Clp/trunk/Clp
         11Osi               https://projects.coin-or.org/svn/Osi/trunk/Osi
         12#Vol               https://projects.coin-or.org/svn/Vol/trunk/Vol
    • Property svn:mergeinfo changed
      /branches/split (added)merged: 1437-1439,​1444-1448,​1463
  • trunk/Cbc

  • trunk/Cbc/configure

    r1461 r1464  
    33# Generated by GNU Autoconf 2.59 for Cbc trunk.
    44#
    5 # Report bugs to <coin-cbc@list.coin-or.org>.
     5# Report bugs to <cbc@lists.coin-or.org>.
    66#
    77# Copyright (C) 2003 Free Software Foundation, Inc.
     
    432432PACKAGE_VERSION='trunk'
    433433PACKAGE_STRING='Cbc trunk'
    434 PACKAGE_BUGREPORT='coin-cbc@list.coin-or.org'
     434PACKAGE_BUGREPORT='cbc@lists.coin-or.org'
    435435
    436436ac_unique_file="src/CbcTree.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 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 F77 FFLAGS ac_ct_F77 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 OSISRCDIR OSIOBJDIR OSIDOCDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE VOLSRCDIR VOLOBJDIR VOLDOCDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE SYMPHONYSRCDIR SYMPHONYOBJDIR SYMPHONYDOCDIR COIN_HAS_SYMPHONY_TRUE COIN_HAS_SYMPHONY_FALSE CPXSRCDIR CPXOBJDIR CPXDOCDIR COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE CPXINCDIR CPXLIB 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 GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GLPKOBJDIR COIN_BUILD_GLPK_TRUE COIN_BUILD_GLPK_FALSE ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE 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 FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CBC_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 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 F77 FFLAGS ac_ct_F77 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 COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA REQUIREDPACKAGES COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE DYLP_LIBS DYLP_CFLAGS DYLP_DATA COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE VOL_LIBS VOL_CFLAGS VOL_DATA COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE MIPLIB3_LIBS MIPLIB3_CFLAGS MIPLIB3_DATA COIN_HAS_MIPLIB3_TRUE COIN_HAS_MIPLIB3_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GRB_LIBS GRB_CFLAGS GRB_DATA COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    994994ac_cv_env_FFLAGS_set=${FFLAGS+set}
    995995ac_cv_env_FFLAGS_value=$FFLAGS
     996ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     997ac_env_PKG_CONFIG_value=$PKG_CONFIG
     998ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     999ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    9961000
    9971001#
     
    10931097                          optimize for fast installation [default=yes]
    10941098  --disable-libtool-lock  avoid locking (might break parallel builds)
    1095   --enable-cplex-libcheck use disable-cplex-libcheck to skip the
    1096                           link check at configuration time
    1097   --enable-fortmp-libcheck
    1098                           use disable-fortmp-libcheck to skip the
    1099                           link check at configuration time
    1100   --enable-mosek-libcheck use disable-mosek-libcheck to skip the
    1101                           link check at configuration time
    1102   --enable-osl-libcheck use disable-osl-libcheck to skip the link
    1103                           check at configuration time
    1104   --enable-soplex-libcheck
    1105                           use disable-soplex-libcheck to skip the
    1106                           link check at configuration time
    1107   --enable-xpress-libcheck
    1108                           use disable-xpress-libcheck to skip the
    1109                           link check at configuration time
    1110   --enable-glpk-libcheck use disable-glpk-libcheck to skip the
    1111                           link check at configuration time
     1099  --enable-pkg-config     use pkg-config if available (default is yes)
    11121100  --enable-cbc-parallel   enables compilation of the SMP version of Cbc
    11131101
     
    11221110  --with-tags[=TAGS]
    11231111                          include additional configurations [automatic]
    1124   --with-cplex-incdir specify the header file directory for library Cplex
    1125   --with-cplex-lib specify the flags used to link with the library Cplex
    1126   --with-fortmp-incdir specify the header file directory for library FortMP
    1127   --with-fortmp-lib specify the flags used to link with the library FortMP
    1128   --with-mosek-incdir specify the header file directory for library Mosek
    1129   --with-mosek-lib specify the flags used to link with the library Mosek
    1130   --with-osl-incdir specify the header file directory for library Osl
    1131   --with-osl-lib specify the flags used to link with the library Osl
    1132   --with-soplex-incdir specify the header file directory for library Soplex
    1133   --with-soplex-lib specify the flags used to link with the library Soplex
    1134   --with-xpress-incdir specify the header file directory for library Xpress
    1135   --with-xpress-lib specify the flags used to link with the library Xpress
    1136   --with-glpk-incdir specify the header file directory for library Glpk
    1137   --with-glpk-lib specify the flags used to link with the library Glpk
    1138   --with-asldir           specify path to AMPL solver directory (or BUILD for
    1139                           compilation, or "no" for disabling AMPL)
     1112  --with-coin-instdir     prefix of installation directory for precompiled
     1113                          COIN packages
     1114  --with-coindepend-lib linker flags for using module CoinDepend
     1115  --with-coindepend-incdir
     1116                          directory with header files for using module
     1117                          CoinDepend
     1118  --with-coindepend-datadir
     1119                          directory with data files for using module
     1120                          CoinDepend
     1121  --with-clp-lib linker flags for using module Clp
     1122  --with-clp-incdir directory with header files for using module Clp
     1123  --with-clp-datadir directory with data files for using module Clp
     1124  --with-dylp-lib linker flags for using module DyLP
     1125  --with-dylp-incdir directory with header files for using module DyLP
     1126  --with-dylp-datadir directory with data files for using module DyLP
     1127  --with-vol-lib linker flags for using module Vol
     1128  --with-vol-incdir directory with header files for using module Vol
     1129  --with-vol-datadir directory with data files for using module Vol
     1130  --with-ositests-lib linker flags for using module OsiTests
     1131  --with-ositests-incdir directory with header files for using module OsiTests
     1132  --with-ositests-datadir directory with data files for using module OsiTests
     1133  --with-sample-lib linker flags for using module Sample
     1134  --with-sample-incdir directory with header files for using module Sample
     1135  --with-sample-datadir directory with data files for using module Sample
     1136  --with-netlib-lib linker flags for using module Netlib
     1137  --with-netlib-incdir directory with header files for using module Netlib
     1138  --with-netlib-datadir directory with data files for using module Netlib
     1139  --with-miplib3-lib linker flags for using module Miplib3
     1140  --with-miplib3-incdir directory with header files for using module Miplib3
     1141  --with-miplib3-datadir directory with data files for using module Miplib3
     1142  --with-cpx-lib linker flags for using module Cpx
     1143  --with-cpx-incdir directory with header files for using module Cpx
     1144  --with-cpx-datadir directory with data files for using module Cpx
     1145  --with-glpk-lib linker flags for using module Glpk
     1146  --with-glpk-incdir directory with header files for using module Glpk
     1147  --with-glpk-datadir directory with data files for using module Glpk
     1148  --with-grb-lib linker flags for using module Grb
     1149  --with-grb-incdir directory with header files for using module Grb
     1150  --with-grb-datadir directory with data files for using module Grb
     1151  --with-msk-lib linker flags for using module Msk
     1152  --with-msk-incdir directory with header files for using module Msk
     1153  --with-msk-datadir directory with data files for using module Msk
     1154  --with-xpr-lib linker flags for using module Xpr
     1155  --with-xpr-incdir directory with header files for using module Xpr
     1156  --with-xpr-datadir directory with data files for using module Xpr
     1157  --with-asl-lib linker flags for using module ASL
     1158  --with-asl-incdir directory with header files for using module ASL
     1159  --with-asl-datadir directory with data files for using module ASL
    11401160  --with-cbc-generic      specify whether to build cbc-generic (default: no)
    11411161  --with-cbc-generic-solver
    11421162                          specify default solver for cbc-generic in lower case
    11431163                          letters (if not given, clp is assumed)
     1164  --with-osicbc-default-solver
     1165                          specify underlying solver for OsiCbc (default clp)
    11441166
    11451167Some influential environment variables:
     
    11691191  F77         Fortran 77 compiler command
    11701192  FFLAGS      Fortran 77 compiler flags
     1193  PKG_CONFIG  path to pkg-config utility
    11711194
    11721195Use these variables to override the choices made by `configure' or to help
    11731196it to find libraries and programs with nonstandard names/locations.
    11741197
    1175 Report bugs to <coin-cbc@list.coin-or.org>.
     1198Report bugs to <cbc@lists.coin-or.org>.
    11761199_ACEOF
    11771200fi
     
    17291752fi
    17301753
     1754
     1755#Set the project's version number
     1756if test "xCbc" != x; then
     1757
     1758cat >>confdefs.h <<_ACEOF
     1759#define CBC_VERSION "$PACKAGE_VERSION"
     1760_ACEOF
     1761
     1762fi
     1763
     1764#Set the project's SVN revision number
     1765# Extract the first word of "svnversion", so it can be a program name with args.
     1766set dummy svnversion; ac_word=$2
     1767echo "$as_me:$LINENO: checking for $ac_word" >&5
     1768echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1769if test "${ac_cv_prog_have_svnversion+set}" = set; then
     1770  echo $ECHO_N "(cached) $ECHO_C" >&6
     1771else
     1772  if test -n "$have_svnversion"; then
     1773  ac_cv_prog_have_svnversion="$have_svnversion" # Let the user override the test.
     1774else
     1775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1776for as_dir in $PATH
     1777do
     1778  IFS=$as_save_IFS
     1779  test -z "$as_dir" && as_dir=.
     1780  for ac_exec_ext in '' $ac_executable_extensions; do
     1781  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1782    ac_cv_prog_have_svnversion="yes"
     1783    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1784    break 2
     1785  fi
     1786done
     1787done
     1788
     1789  test -z "$ac_cv_prog_have_svnversion" && ac_cv_prog_have_svnversion="no"
     1790fi
     1791fi
     1792have_svnversion=$ac_cv_prog_have_svnversion
     1793if test -n "$have_svnversion"; then
     1794  echo "$as_me:$LINENO: result: $have_svnversion" >&5
     1795echo "${ECHO_T}$have_svnversion" >&6
     1796else
     1797  echo "$as_me:$LINENO: result: no" >&5
     1798echo "${ECHO_T}no" >&6
     1799fi
     1800
     1801if test "x$have_svnversion" = xyes && test "xCbc" != x; then
     1802
     1803  CBC_SVN_REV=`cd $srcdir/$coin_has_cbc ; svnversion`
     1804  if test $CBC_SVN_REV != exported; then
     1805
     1806cat >>confdefs.h <<_ACEOF
     1807#define CBC_SVN_REV "$CBC_SVN_REV"
     1808_ACEOF
     1809
     1810  fi
     1811fi
    17311812
    17321813# We set the following variable so that we know later in AC_COIN_FINALIZE
     
    58225903*-*-irix6*)
    58235904  # Find out which ABI we are using.
    5824   echo '#line 5824 "configure"' > conftest.$ac_ext
     5905  echo '#line 5905 "configure"' > conftest.$ac_ext
    58255906  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    58265907  (eval $ac_compile) 2>&5
     
    65996680    (
    66006681      cat <<\_ASBOX
    6601 ## ---------------------------------------- ##
    6602 ## Report this to coin-cbc@list.coin-or.org ##
    6603 ## ---------------------------------------- ##
     6682## ------------------------------------ ##
     6683## Report this to cbc@lists.coin-or.org ##
     6684## ------------------------------------ ##
    66046685_ASBOX
    66056686    ) |
     
    69567037
    69577038# Provide some information about the compiler.
    6958 echo "$as_me:6958:" \
     7039echo "$as_me:7039:" \
    69597040     "checking for Fortran 77 compiler version" >&5
    69607041ac_compiler=`set X $ac_compile; echo $2`
     
    80238104   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    80248105   -e 's:$: $lt_compiler_flag:'`
    8025    (eval echo "\"\$as_me:8025: $lt_compile\"" >&5)
     8106   (eval echo "\"\$as_me:8106: $lt_compile\"" >&5)
    80268107   (eval "$lt_compile" 2>conftest.err)
    80278108   ac_status=$?
    80288109   cat conftest.err >&5
    8029    echo "$as_me:8029: \$? = $ac_status" >&5
     8110   echo "$as_me:8110: \$? = $ac_status" >&5
    80308111   if (exit $ac_status) && test -s "$ac_outfile"; then
    80318112     # The compiler can only warn and ignore the option if not recognized
     
    82918372   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82928373   -e 's:$: $lt_compiler_flag:'`
    8293    (eval echo "\"\$as_me:8293: $lt_compile\"" >&5)
     8374   (eval echo "\"\$as_me:8374: $lt_compile\"" >&5)
    82948375   (eval "$lt_compile" 2>conftest.err)
    82958376   ac_status=$?
    82968377   cat conftest.err >&5
    8297    echo "$as_me:8297: \$? = $ac_status" >&5
     8378   echo "$as_me:8378: \$? = $ac_status" >&5
    82988379   if (exit $ac_status) && test -s "$ac_outfile"; then
    82998380     # The compiler can only warn and ignore the option if not recognized
     
    83958476   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    83968477   -e 's:$: $lt_compiler_flag:'`
    8397    (eval echo "\"\$as_me:8397: $lt_compile\"" >&5)
     8478   (eval echo "\"\$as_me:8478: $lt_compile\"" >&5)
    83988479   (eval "$lt_compile" 2>out/conftest.err)
    83998480   ac_status=$?
    84008481   cat out/conftest.err >&5
    8401    echo "$as_me:8401: \$? = $ac_status" >&5
     8482   echo "$as_me:8482: \$? = $ac_status" >&5
    84028483   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    84038484   then
     
    1074010821  lt_status=$lt_dlunknown
    1074110822  cat > conftest.$ac_ext <<EOF
    10742 #line 10742 "configure"
     10823#line 10823 "configure"
    1074310824#include "confdefs.h"
    1074410825
     
    1084010921  lt_status=$lt_dlunknown
    1084110922  cat > conftest.$ac_ext <<EOF
    10842 #line 10842 "configure"
     10923#line 10923 "configure"
    1084310924#include "confdefs.h"
    1084410925
     
    1318413265   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1318513266   -e 's:$: $lt_compiler_flag:'`
    13186    (eval echo "\"\$as_me:13186: $lt_compile\"" >&5)
     13267   (eval echo "\"\$as_me:13267: $lt_compile\"" >&5)
    1318713268   (eval "$lt_compile" 2>conftest.err)
    1318813269   ac_status=$?
    1318913270   cat conftest.err >&5
    13190    echo "$as_me:13190: \$? = $ac_status" >&5
     13271   echo "$as_me:13271: \$? = $ac_status" >&5
    1319113272   if (exit $ac_status) && test -s "$ac_outfile"; then
    1319213273     # The compiler can only warn and ignore the option if not recognized
     
    1328813369   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1328913370   -e 's:$: $lt_compiler_flag:'`
    13290    (eval echo "\"\$as_me:13290: $lt_compile\"" >&5)
     13371   (eval echo "\"\$as_me:13371: $lt_compile\"" >&5)
    1329113372   (eval "$lt_compile" 2>out/conftest.err)
    1329213373   ac_status=$?
    1329313374   cat out/conftest.err >&5
    13294    echo "$as_me:13294: \$? = $ac_status" >&5
     13375   echo "$as_me:13375: \$? = $ac_status" >&5
    1329513376   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1329613377   then
     
    1485814939   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1485914940   -e 's:$: $lt_compiler_flag:'`
    14860    (eval echo "\"\$as_me:14860: $lt_compile\"" >&5)
     14941   (eval echo "\"\$as_me:14941: $lt_compile\"" >&5)
    1486114942   (eval "$lt_compile" 2>conftest.err)
    1486214943   ac_status=$?
    1486314944   cat conftest.err >&5
    14864    echo "$as_me:14864: \$? = $ac_status" >&5
     14945   echo "$as_me:14945: \$? = $ac_status" >&5
    1486514946   if (exit $ac_status) && test -s "$ac_outfile"; then
    1486614947     # The compiler can only warn and ignore the option if not recognized
     
    1496215043   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1496315044   -e 's:$: $lt_compiler_flag:'`
    14964    (eval echo "\"\$as_me:14964: $lt_compile\"" >&5)
     15045   (eval echo "\"\$as_me:15045: $lt_compile\"" >&5)
    1496515046   (eval "$lt_compile" 2>out/conftest.err)
    1496615047   ac_status=$?
    1496715048   cat out/conftest.err >&5
    14968    echo "$as_me:14968: \$? = $ac_status" >&5
     15049   echo "$as_me:15049: \$? = $ac_status" >&5
    1496915050   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1497015051   then
     
    1716917250   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1717017251   -e 's:$: $lt_compiler_flag:'`
    17171    (eval echo "\"\$as_me:17171: $lt_compile\"" >&5)
     17252   (eval echo "\"\$as_me:17252: $lt_compile\"" >&5)
    1717217253   (eval "$lt_compile" 2>conftest.err)
    1717317254   ac_status=$?
    1717417255   cat conftest.err >&5
    17175    echo "$as_me:17175: \$? = $ac_status" >&5
     17256   echo "$as_me:17256: \$? = $ac_status" >&5
    1717617257   if (exit $ac_status) && test -s "$ac_outfile"; then
    1717717258     # The compiler can only warn and ignore the option if not recognized
     
    1743717518   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1743817519   -e 's:$: $lt_compiler_flag:'`
    17439    (eval echo "\"\$as_me:17439: $lt_compile\"" >&5)
     17520   (eval echo "\"\$as_me:17520: $lt_compile\"" >&5)
    1744017521   (eval "$lt_compile" 2>conftest.err)
    1744117522   ac_status=$?
    1744217523   cat conftest.err >&5
    17443    echo "$as_me:17443: \$? = $ac_status" >&5
     17524   echo "$as_me:17524: \$? = $ac_status" >&5
    1744417525   if (exit $ac_status) && test -s "$ac_outfile"; then
    1744517526     # The compiler can only warn and ignore the option if not recognized
     
    1754117622   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1754217623   -e 's:$: $lt_compiler_flag:'`
    17543    (eval echo "\"\$as_me:17543: $lt_compile\"" >&5)
     17624   (eval echo "\"\$as_me:17624: $lt_compile\"" >&5)
    1754417625   (eval "$lt_compile" 2>out/conftest.err)
    1754517626   ac_status=$?
    1754617627   cat out/conftest.err >&5
    17547    echo "$as_me:17547: \$? = $ac_status" >&5
     17628   echo "$as_me:17628: \$? = $ac_status" >&5
    1754817629   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1754917630   then
     
    2044420525
    2044520526#############################################################################
    20446 #                              COIN components                              #
     20527#                            COIN-OR components                             #
    2044720528#############################################################################
    2044820529
    20449 echo "$as_me:$LINENO: checking for COIN project Cbc" >&5
    20450 echo $ECHO_N "checking for COIN project Cbc... $ECHO_C" >&6
    20451 
    20452 # First check, if the sub-project is actually available (ToDo: allow
    20453 # other locations)
    20454 
    20455 coin_has_cbc=unavailable
     20530
     20531
     20532# Check whether --enable-pkg-config or --disable-pkg-config was given.
     20533if test "${enable_pkg_config+set}" = set; then
     20534  enableval="$enable_pkg_config"
     20535  use_pkgconfig="$enableval"
     20536else
     20537  use_pkgconfig=yes
     20538fi;
     20539
     20540if test $use_pkgconfig = yes ; then
     20541  if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
     20542    if test -n "$ac_tool_prefix"; then
     20543  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
     20544set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     20545echo "$as_me:$LINENO: checking for $ac_word" >&5
     20546echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20547if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
     20548  echo $ECHO_N "(cached) $ECHO_C" >&6
     20549else
     20550  case $PKG_CONFIG in
     20551  [\\/]* | ?:[\\/]*)
     20552  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     20553  ;;
     20554  *)
     20555  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20556for as_dir in $PATH
     20557do
     20558  IFS=$as_save_IFS
     20559  test -z "$as_dir" && as_dir=.
     20560  for ac_exec_ext in '' $ac_executable_extensions; do
     20561  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20562    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20563    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20564    break 2
     20565  fi
     20566done
     20567done
     20568
     20569  ;;
     20570esac
     20571fi
     20572PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     20573
     20574if test -n "$PKG_CONFIG"; then
     20575  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     20576echo "${ECHO_T}$PKG_CONFIG" >&6
     20577else
     20578  echo "$as_me:$LINENO: result: no" >&5
     20579echo "${ECHO_T}no" >&6
     20580fi
     20581
     20582fi
     20583if test -z "$ac_cv_path_PKG_CONFIG"; then
     20584  ac_pt_PKG_CONFIG=$PKG_CONFIG
     20585  # Extract the first word of "pkg-config", so it can be a program name with args.
     20586set dummy pkg-config; ac_word=$2
     20587echo "$as_me:$LINENO: checking for $ac_word" >&5
     20588echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20589if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
     20590  echo $ECHO_N "(cached) $ECHO_C" >&6
     20591else
     20592  case $ac_pt_PKG_CONFIG in
     20593  [\\/]* | ?:[\\/]*)
     20594  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
     20595  ;;
     20596  *)
     20597  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20598for as_dir in $PATH
     20599do
     20600  IFS=$as_save_IFS
     20601  test -z "$as_dir" && as_dir=.
     20602  for ac_exec_ext in '' $ac_executable_extensions; do
     20603  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20604    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20605    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20606    break 2
     20607  fi
     20608done
     20609done
     20610
     20611  ;;
     20612esac
     20613fi
     20614ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     20615
     20616if test -n "$ac_pt_PKG_CONFIG"; then
     20617  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
     20618echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
     20619else
     20620  echo "$as_me:$LINENO: result: no" >&5
     20621echo "${ECHO_T}no" >&6
     20622fi
     20623
     20624  PKG_CONFIG=$ac_pt_PKG_CONFIG
     20625else
     20626  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
     20627fi
     20628
     20629  fi
     20630  if test -n "$PKG_CONFIG"; then
     20631    _pkg_min_version=0.9.0
     20632    echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
     20633echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
     20634    if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
     20635      echo "$as_me:$LINENO: result: yes" >&5
     20636echo "${ECHO_T}yes" >&6
     20637    else
     20638      echo "$as_me:$LINENO: result: no" >&5
     20639echo "${ECHO_T}no" >&6
     20640      PKG_CONFIG=""
     20641    fi
     20642  fi
     20643
     20644  # check if pkg-config supports the short-errors flag
     20645  if test -n "$PKG_CONFIG" && \
     20646    $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     20647    pkg_short_errors=" --short-errors "
     20648  else
     20649    pkg_short_errors=""
     20650  fi
     20651fi
     20652
     20653
     20654
     20655if test -n "$PKG_CONFIG"; then
     20656  COIN_HAS_PKGCONFIG_TRUE=
     20657  COIN_HAS_PKGCONFIG_FALSE='#'
     20658else
     20659  COIN_HAS_PKGCONFIG_TRUE='#'
     20660  COIN_HAS_PKGCONFIG_FALSE=
     20661fi
     20662
     20663
     20664
     20665# assemble search path for pkg-config, if we are in a project setup
     20666if test x$coin_projectdir = xyes ; then
     20667  COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     20668
     20669  # 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
     20670  # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
     20671  # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
     20672  if test -d "${prefix}"; then
     20673    COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     20674  fi
     20675
     20676
     20677# Check whether --with-coin-instdir or --without-coin-instdir was given.
     20678if test "${with_coin_instdir+set}" = set; then
     20679  withval="$with_coin_instdir"
     20680  if test -d "$withval"; then : ; else
     20681       { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     20682echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     20683   { (exit 1); exit 1; }; }
     20684     fi
     20685     COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     20686
     20687fi;
     20688
     20689  # in a classic setup, we want to find uninstalled projects
     20690  # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
     20691  # unfortunately, if the user set prefix, then we do not know where the project base directory is located
     20692  # 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)
     20693  if test -e ../coin_subdirs.txt ; then
     20694    for i in `cat ../coin_subdirs.txt` ; do
     20695      if test -d ../$i ; then
     20696        COIN_PKG_CONFIG_PATH="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH}"
     20697      fi
     20698    done
     20699  fi
     20700
     20701  if test -e ../../coin_subdirs.txt ; then
     20702    for i in `cat ../../coin_subdirs.txt` ; do
     20703      if test -d ../../$i ; then
     20704        COIN_PKG_CONFIG_PATH="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH}"
     20705      fi
     20706    done
     20707  fi
     20708
     20709
     20710fi
     20711
     20712
     20713
     20714echo "$as_me:$LINENO: checking for COIN-OR module CoinDepend" >&5
     20715echo $ECHO_N "checking for COIN-OR module CoinDepend... $ECHO_C" >&6
     20716
     20717coin_has_coindepend=notGiven
     20718
     20719# check if user wants to skip module in any case
    2045620720if test x"$COIN_SKIP_PROJECTS" != x; then
    2045720721  for dir in $COIN_SKIP_PROJECTS; do
    20458     if test $dir = Cbc; then
    20459       coin_has_cbc=skipping
     20722    if test $dir = "CoinDepend"; then
     20723      coin_has_coindepend=skipping
    2046020724    fi
    2046120725  done
    2046220726fi
    2046320727
    20464 if test $coin_has_cbc != skipping; then
    20465   if test $PACKAGE_TARNAME = cbc; then
    20466     coin_has_cbc=.
     20728COINDEPEND_LIBS=
     20729COINDEPEND_CFLAGS=
     20730COINDEPEND_DATA=
     20731
     20732
     20733
     20734
     20735
     20736#check if user provided LIBS, CFLAGS, and DATA for module
     20737if test $coin_has_coindepend != skipping; then
     20738
     20739
     20740# Check whether --with-m4_tolower(CoinDepend)-lib or --without-m4_tolower(CoinDepend)-lib was given.
     20741if test "${with_coindepend_lib+set}" = set; then
     20742  withval="$with_coindepend_lib"
     20743  coin_has_coindepend=yes
     20744       COINDEPEND_LIBS="$withval"
     20745       ADDLIBS="$ADDLIBS $withval"
     20746
     20747fi;
     20748
     20749
     20750# Check whether --with-m4_tolower(CoinDepend)-incdir or --without-m4_tolower(CoinDepend)-incdir was given.
     20751if test "${with_coindepend_incdir+set}" = set; then
     20752  withval="$with_coindepend_incdir"
     20753  coin_has_coindepend=yes
     20754     COINDEPEND_CFLAGS="-I`${CYGPATH_W} $withval`"
     20755fi;
     20756
     20757
     20758# Check whether --with-m4_tolower(CoinDepend)-datadir or --without-m4_tolower(CoinDepend)-datadir was given.
     20759if test "${with_coindepend_datadir+set}" = set; then
     20760  withval="$with_coindepend_datadir"
     20761  coin_has_coindepend=yes
     20762     COINDEPEND_DATA="$withval"
     20763fi;
     20764fi
     20765
     20766if test $coin_has_coindepend = notGiven; then
     20767  if test -n "$PKG_CONFIG" ; then
     20768    # set search path for pkg-config
     20769    # need to export variable to be sure that the following pkg-config gets these values
     20770    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     20771    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     20772    export PKG_CONFIG_PATH
     20773
     20774    # let pkg-config do it's magic
     20775
     20776
     20777
     20778if test -n "$PKG_CONFIG" ; then
     20779  if $PKG_CONFIG --exists "coinutils = trunk osi cgl"; then
     20780    COINDEPEND_VERSIONS="`$PKG_CONFIG --modversion coinutils = trunk osi cgl 2>/dev/null`"
     20781     cflags=`$PKG_CONFIG --cflags "coinutils = trunk osi cgl" 2>/dev/null`
     20782    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     20783        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     20784        # but only do this if is not trivial
     20785    if test "$CYGPATH_W" != "echo" ; then
     20786      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     20787          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     20788        fi
     20789    COINDEPEND_CFLAGS="$cflags"
     20790    COINDEPEND_LIBS=`$PKG_CONFIG --libs "coinutils = trunk osi cgl" 2>/dev/null`
     20791    COINDEPEND_DATA=`$PKG_CONFIG --variable=datadir "coinutils = trunk osi cgl" 2>/dev/null`
     20792     coin_has_coindepend=yes
     20793        echo "$as_me:$LINENO: result: yes: $COINDEPEND_VERSIONS" >&5
     20794echo "${ECHO_T}yes: $COINDEPEND_VERSIONS" >&6
     20795        REQUIREDPACKAGES="$REQUIREDPACKAGES coinutils = trunk osi cgl"
     20796
     20797
    2046720798  else
    20468     if test -d $srcdir/../Cbc; then
    20469       coin_has_cbc=../Cbc
    20470     fi
    20471   fi
    20472 fi
    20473 
    20474 if test $coin_has_cbc != unavailable &&
    20475    test $coin_has_cbc != skipping; then
    20476   # Set the #define if the component is available
     20799    COINDEPEND_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coinutils = trunk osi cgl`
     20800      coin_has_coindepend=notGiven
     20801        echo "$as_me:$LINENO: result: not given: $COINDEPEND_PKG_ERRORS" >&5
     20802echo "${ECHO_T}not given: $COINDEPEND_PKG_ERRORS" >&6
     20803
     20804  fi
     20805else
     20806  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinDepend without pkg-config\"" >&5
     20807echo "$as_me: error: \"Cannot check for existance of module CoinDepend without pkg-config\"" >&2;}
     20808   { (exit 1); exit 1; }; }
     20809fi
     20810
     20811
     20812
     20813
     20814    # reset PKG_CONFIG_PATH variable
     20815    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     20816  else
     20817    #if 4th argument is given, try fallback - whereby we take the first word from coinutils = trunk osi cgl as basename for the .pc file
     20818    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     20819echo "${ECHO_T}skipped check via pkg-config" >&6
     20820
     20821  fi
     20822
     20823else
     20824  echo "$as_me:$LINENO: result: $coin_has_coindepend" >&5
     20825echo "${ECHO_T}$coin_has_coindepend" >&6
     20826fi
     20827
     20828if test $coin_has_coindepend != skipping &&
     20829   test $coin_has_coindepend != notGiven ; then
     20830  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     20831  if test -n "$COINDEPEND_CFLAGS" ; then
     20832    { echo "$as_me:$LINENO: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&5
     20833echo "$as_me: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&6;}
     20834  fi
     20835  if test -n "$COINDEPEND_LIBS" ; then
     20836    { echo "$as_me:$LINENO: CoinDepend LIBS   are $COINDEPEND_LIBS" >&5
     20837echo "$as_me: CoinDepend LIBS   are $COINDEPEND_LIBS" >&6;}
     20838  fi
     20839  if test -n "$COINDEPEND_DATA" ; then
     20840    { echo "$as_me:$LINENO: CoinDepend DATA   is  $COINDEPEND_DATA" >&5
     20841echo "$as_me: CoinDepend DATA   is  $COINDEPEND_DATA" >&6;}
     20842  fi
     20843  fi
    2047720844
    2047820845cat >>confdefs.h <<\_ACEOF
    20479 #define COIN_HAS_CBC 1
     20846#define COIN_HAS_COINDEPEND 1
    2048020847_ACEOF
    2048120848
    20482 
    20483   # Set the variables for source and object code location
    20484 
    20485   CBCSRCDIR=`cd $srcdir/$coin_has_cbc; pwd`
    20486 
    20487   CBCOBJDIR=`pwd`/$coin_has_cbc
    20488 
    20489   CBCDOCDIR=$abs_lib_dir/../share/doc/coin/Cbc
    20490 fi
    20491 
    20492   # Define the Makefile conditional
    20493 
    20494 
    20495 if test $coin_has_cbc != unavailable &&
    20496                 test $coin_has_cbc != skipping; then
    20497   COIN_HAS_CBC_TRUE=
    20498   COIN_HAS_CBC_FALSE='#'
    20499 else
    20500   COIN_HAS_CBC_TRUE='#'
    20501   COIN_HAS_CBC_FALSE=
    20502 fi
    20503 
    20504 echo "$as_me:$LINENO: result: $coin_has_cbc" >&5
    20505 echo "${ECHO_T}$coin_has_cbc" >&6
    20506 
    20507 echo "$as_me:$LINENO: checking for COIN project Cgl" >&5
    20508 echo $ECHO_N "checking for COIN project Cgl... $ECHO_C" >&6
    20509 
    20510 # First check, if the sub-project is actually available (ToDo: allow
    20511 # other locations)
    20512 
    20513 coin_has_cgl=unavailable
     20849fi
     20850
     20851# Define the Makefile conditional
     20852
     20853
     20854if test $coin_has_coindepend != notGiven &&
     20855                test $coin_has_coindepend != skipping; then
     20856  COIN_HAS_COINDEPEND_TRUE=
     20857  COIN_HAS_COINDEPEND_FALSE='#'
     20858else
     20859  COIN_HAS_COINDEPEND_TRUE='#'
     20860  COIN_HAS_COINDEPEND_FALSE=
     20861fi
     20862
     20863
     20864
     20865if test $coin_has_coindepend != yes ; then
     20866  #if we have to use the fallback routines, then obviously it will not find CoinUtils dependencies
     20867  #thus, we check whether ThirdParty/Blas, ThirdParty/Lapack, and ThirdParty/Glpk have been setup and
     20868  #assume that if present then they are dependencies of CoinUtils
     20869
     20870if test x$coin_has_blas != "xyes" ; then
     20871
     20872echo "$as_me:$LINENO: checking for COIN-OR module Blas (fallback)" >&5
     20873echo $ECHO_N "checking for COIN-OR module Blas (fallback)... $ECHO_C" >&6
     20874
     20875coin_has_blas=notGiven
     20876
     20877# check if user wants to skip module in any case
    2051420878if test x"$COIN_SKIP_PROJECTS" != x; then
    2051520879  for dir in $COIN_SKIP_PROJECTS; do
    20516     if test $dir = Cgl; then
     20880    if test $dir = "Blas"; then
     20881      coin_has_blas=skipping
     20882    fi
     20883  done
     20884fi
     20885
     20886BLAS_LIBS=
     20887BLAS_CFLAGS=
     20888BLAS_DATA=
     20889
     20890
     20891if test $coin_has_blas != "skipping" ; then
     20892  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     20893  if test -r ../ThirdParty/Blas/coinblas-uninstalled.pc ; then
     20894    # read CFLAGS and LIBS from coinblas-uninstalled.pc file
     20895    # add CYGPATH_W cludge into include flags
     20896    # replace -L${libdir} by absolute path to build directory in linker flags
     20897    # we assume that the build directory is ../ThirdParty/Blas/src if this directory exists, otherwise we assume that it is ../ThirdParty/Blas
     20898    BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     20899    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     20900    if test "x$projectlibs" != x ; then
     20901      if test -d ../ThirdParty/Blas/src ; then
     20902        BLAS_LIBS="-L`cd ../ThirdParty/Blas/src; pwd` $projectlibs"
     20903      else
     20904        BLAS_LIBS="-L`cd ../ThirdParty/Blas; pwd` $projectlibs"
     20905      fi
     20906    else
     20907      BLAS_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     20908    fi
     20909    BLAS_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     20910
     20911
     20912
     20913
     20914
     20915    coin_has_blas=yes
     20916    echo "$as_me:$LINENO: result: ../ThirdParty/Blas" >&5
     20917echo "${ECHO_T}../ThirdParty/Blas" >&6
     20918  else
     20919    echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     20920echo "${ECHO_T}$coin_has_blas" >&6
     20921  fi
     20922else
     20923  echo "$as_me:$LINENO: result: skipping" >&5
     20924echo "${ECHO_T}skipping" >&6
     20925fi
     20926
     20927#if user did not disable setting of makefile conditional, do it
     20928
     20929fi
     20930
     20931
     20932if test x$coin_has_lapack != "xyes" ; then
     20933
     20934echo "$as_me:$LINENO: checking for COIN-OR module Lapack (fallback)" >&5
     20935echo $ECHO_N "checking for COIN-OR module Lapack (fallback)... $ECHO_C" >&6
     20936
     20937coin_has_lapack=notGiven
     20938
     20939# check if user wants to skip module in any case
     20940if test x"$COIN_SKIP_PROJECTS" != x; then
     20941  for dir in $COIN_SKIP_PROJECTS; do
     20942    if test $dir = "Lapack"; then
     20943      coin_has_lapack=skipping
     20944    fi
     20945  done
     20946fi
     20947
     20948LAPACK_LIBS=
     20949LAPACK_CFLAGS=
     20950LAPACK_DATA=
     20951
     20952
     20953if test $coin_has_lapack != "skipping" ; then
     20954  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     20955  if test -r ../ThirdParty/Lapack/coinlapack-uninstalled.pc ; then
     20956    # read CFLAGS and LIBS from coinlapack-uninstalled.pc file
     20957    # add CYGPATH_W cludge into include flags
     20958    # replace -L${libdir} by absolute path to build directory in linker flags
     20959    # we assume that the build directory is ../ThirdParty/Lapack/src if this directory exists, otherwise we assume that it is ../ThirdParty/Lapack
     20960    LAPACK_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
     20961    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
     20962    if test "x$projectlibs" != x ; then
     20963      if test -d ../ThirdParty/Lapack/src ; then
     20964        LAPACK_LIBS="-L`cd ../ThirdParty/Lapack/src; pwd` $projectlibs"
     20965      else
     20966        LAPACK_LIBS="-L`cd ../ThirdParty/Lapack; pwd` $projectlibs"
     20967      fi
     20968    else
     20969      LAPACK_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
     20970    fi
     20971    LAPACK_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
     20972
     20973
     20974
     20975
     20976
     20977    coin_has_lapack=yes
     20978    echo "$as_me:$LINENO: result: ../ThirdParty/Lapack" >&5
     20979echo "${ECHO_T}../ThirdParty/Lapack" >&6
     20980  else
     20981    echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
     20982echo "${ECHO_T}$coin_has_lapack" >&6
     20983  fi
     20984else
     20985  echo "$as_me:$LINENO: result: skipping" >&5
     20986echo "${ECHO_T}skipping" >&6
     20987fi
     20988
     20989#if user did not disable setting of makefile conditional, do it
     20990
     20991fi
     20992
     20993
     20994if test x$coin_has_glpk != "xyes" ; then
     20995
     20996echo "$as_me:$LINENO: checking for COIN-OR module Glpk (fallback)" >&5
     20997echo $ECHO_N "checking for COIN-OR module Glpk (fallback)... $ECHO_C" >&6
     20998
     20999coin_has_glpk=notGiven
     21000
     21001# check if user wants to skip module in any case
     21002if test x"$COIN_SKIP_PROJECTS" != x; then
     21003  for dir in $COIN_SKIP_PROJECTS; do
     21004    if test $dir = "Glpk"; then
     21005      coin_has_glpk=skipping
     21006    fi
     21007  done
     21008fi
     21009
     21010GLPK_LIBS=
     21011GLPK_CFLAGS=
     21012GLPK_DATA=
     21013
     21014
     21015if test $coin_has_glpk != "skipping" ; then
     21016  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     21017  if test -r ../ThirdParty/Glpk/coinglpk-uninstalled.pc ; then
     21018    # read CFLAGS and LIBS from coinglpk-uninstalled.pc file
     21019    # add CYGPATH_W cludge into include flags
     21020    # replace -L${libdir} by absolute path to build directory in linker flags
     21021    # we assume that the build directory is ../ThirdParty/Glpk/src if this directory exists, otherwise we assume that it is ../ThirdParty/Glpk
     21022    GLPK_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
     21023    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
     21024    if test "x$projectlibs" != x ; then
     21025      if test -d ../ThirdParty/Glpk/src ; then
     21026        GLPK_LIBS="-L`cd ../ThirdParty/Glpk/src; pwd` $projectlibs"
     21027      else
     21028        GLPK_LIBS="-L`cd ../ThirdParty/Glpk; pwd` $projectlibs"
     21029      fi
     21030    else
     21031      GLPK_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
     21032    fi
     21033    GLPK_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
     21034
     21035
     21036
     21037
     21038
     21039    coin_has_glpk=yes
     21040    echo "$as_me:$LINENO: result: ../ThirdParty/Glpk" >&5
     21041echo "${ECHO_T}../ThirdParty/Glpk" >&6
     21042  else
     21043    echo "$as_me:$LINENO: result: $coin_has_glpk" >&5
     21044echo "${ECHO_T}$coin_has_glpk" >&6
     21045  fi
     21046else
     21047  echo "$as_me:$LINENO: result: skipping" >&5
     21048echo "${ECHO_T}skipping" >&6
     21049fi
     21050
     21051#if user did not disable setting of makefile conditional, do it
     21052
     21053fi
     21054
     21055
     21056if test x$coin_has_coinutils != "xyes" ; then
     21057
     21058echo "$as_me:$LINENO: checking for COIN-OR module CoinUtils (fallback)" >&5
     21059echo $ECHO_N "checking for COIN-OR module CoinUtils (fallback)... $ECHO_C" >&6
     21060
     21061coin_has_coinutils=notGiven
     21062
     21063# check if user wants to skip module in any case
     21064if test x"$COIN_SKIP_PROJECTS" != x; then
     21065  for dir in $COIN_SKIP_PROJECTS; do
     21066    if test $dir = "CoinUtils"; then
     21067      coin_has_coinutils=skipping
     21068    fi
     21069  done
     21070fi
     21071
     21072COINUTILS_LIBS=
     21073COINUTILS_CFLAGS=
     21074COINUTILS_DATA=
     21075
     21076
     21077if test $coin_has_coinutils != "skipping" ; then
     21078  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     21079  if test -r ../CoinUtils/coinutils-uninstalled.pc ; then
     21080    # read CFLAGS and LIBS from coinutils-uninstalled.pc file
     21081    # add CYGPATH_W cludge into include flags
     21082    # replace -L${libdir} by absolute path to build directory in linker flags
     21083    # we assume that the build directory is ../CoinUtils/src if this directory exists, otherwise we assume that it is ../CoinUtils
     21084    COINUTILS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../CoinUtils/coinutils-uninstalled.pc`
     21085    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../CoinUtils/coinutils-uninstalled.pc`
     21086    if test "x$projectlibs" != x ; then
     21087      if test -d ../CoinUtils/src ; then
     21088        COINUTILS_LIBS="-L`cd ../CoinUtils/src; pwd` $projectlibs"
     21089      else
     21090        COINUTILS_LIBS="-L`cd ../CoinUtils; pwd` $projectlibs"
     21091      fi
     21092    else
     21093      COINUTILS_LIBS=`sed -n -e 's/Libs://p' ../CoinUtils/coinutils-uninstalled.pc`
     21094    fi
     21095    COINUTILS_DATA=`sed -n -e 's/datadir=//gp' ../CoinUtils/coinutils-uninstalled.pc`
     21096
     21097    ADDLIBS="$ADDLIBS $COINUTILS_LIBS"
     21098       REQUIREDPACKAGES="$REQUIREDPACKAGES coinutils"
     21099
     21100
     21101
     21102
     21103    coin_has_coinutils=yes
     21104    echo "$as_me:$LINENO: result: ../CoinUtils" >&5
     21105echo "${ECHO_T}../CoinUtils" >&6
     21106  else
     21107    echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
     21108echo "${ECHO_T}$coin_has_coinutils" >&6
     21109  fi
     21110else
     21111  echo "$as_me:$LINENO: result: skipping" >&5
     21112echo "${ECHO_T}skipping" >&6
     21113fi
     21114
     21115#if user did not disable setting of makefile conditional, do it
     21116
     21117fi
     21118
     21119
     21120if test x$coin_has_osi != "xyes" ; then
     21121
     21122echo "$as_me:$LINENO: checking for COIN-OR module Osi (fallback)" >&5
     21123echo $ECHO_N "checking for COIN-OR module Osi (fallback)... $ECHO_C" >&6
     21124
     21125coin_has_osi=notGiven
     21126
     21127# check if user wants to skip module in any case
     21128if test x"$COIN_SKIP_PROJECTS" != x; then
     21129  for dir in $COIN_SKIP_PROJECTS; do
     21130    if test $dir = "Osi"; then
     21131      coin_has_osi=skipping
     21132    fi
     21133  done
     21134fi
     21135
     21136OSI_LIBS=
     21137OSI_CFLAGS=
     21138OSI_DATA=
     21139
     21140
     21141if test $coin_has_osi != "skipping" ; then
     21142  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     21143  if test -r ../Osi/osi-uninstalled.pc ; then
     21144    # read CFLAGS and LIBS from osi-uninstalled.pc file
     21145    # add CYGPATH_W cludge into include flags
     21146    # replace -L${libdir} by absolute path to build directory in linker flags
     21147    # we assume that the build directory is ../Osi/src if this directory exists, otherwise we assume that it is ../Osi
     21148    OSI_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Osi/osi-uninstalled.pc`
     21149    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Osi/osi-uninstalled.pc`
     21150    if test "x$projectlibs" != x ; then
     21151      if test -d ../Osi/src ; then
     21152        OSI_LIBS="-L`cd ../Osi/src; pwd` $projectlibs"
     21153      else
     21154        OSI_LIBS="-L`cd ../Osi; pwd` $projectlibs"
     21155      fi
     21156    else
     21157      OSI_LIBS=`sed -n -e 's/Libs://p' ../Osi/osi-uninstalled.pc`
     21158    fi
     21159    OSI_DATA=`sed -n -e 's/datadir=//gp' ../Osi/osi-uninstalled.pc`
     21160
     21161    ADDLIBS="$ADDLIBS $OSI_LIBS"
     21162       REQUIREDPACKAGES="$REQUIREDPACKAGES osi"
     21163
     21164
     21165
     21166
     21167    coin_has_osi=yes
     21168    echo "$as_me:$LINENO: result: ../Osi" >&5
     21169echo "${ECHO_T}../Osi" >&6
     21170  else
     21171    echo "$as_me:$LINENO: result: $coin_has_osi" >&5
     21172echo "${ECHO_T}$coin_has_osi" >&6
     21173  fi
     21174else
     21175  echo "$as_me:$LINENO: result: skipping" >&5
     21176echo "${ECHO_T}skipping" >&6
     21177fi
     21178
     21179#if user did not disable setting of makefile conditional, do it
     21180
     21181fi
     21182
     21183
     21184if test x$coin_has_cgl != "xyes" ; then
     21185
     21186echo "$as_me:$LINENO: checking for COIN-OR module Cgl (fallback)" >&5
     21187echo $ECHO_N "checking for COIN-OR module Cgl (fallback)... $ECHO_C" >&6
     21188
     21189coin_has_cgl=notGiven
     21190
     21191# check if user wants to skip module in any case
     21192if test x"$COIN_SKIP_PROJECTS" != x; then
     21193  for dir in $COIN_SKIP_PROJECTS; do
     21194    if test $dir = "Cgl"; then
    2051721195      coin_has_cgl=skipping
    2051821196    fi
     
    2052021198fi
    2052121199
    20522 if test $coin_has_cgl != skipping; then
    20523   if test $PACKAGE_TARNAME = cgl; then
    20524     coin_has_cgl=.
     21200CGL_LIBS=
     21201CGL_CFLAGS=
     21202CGL_DATA=
     21203
     21204
     21205if test $coin_has_cgl != "skipping" ; then
     21206  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     21207  if test -r ../Cgl/cgl-uninstalled.pc ; then
     21208    # read CFLAGS and LIBS from cgl-uninstalled.pc file
     21209    # add CYGPATH_W cludge into include flags
     21210    # replace -L${libdir} by absolute path to build directory in linker flags
     21211    # we assume that the build directory is ../Cgl/src if this directory exists, otherwise we assume that it is ../Cgl
     21212    CGL_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Cgl/cgl-uninstalled.pc`
     21213    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Cgl/cgl-uninstalled.pc`
     21214    if test "x$projectlibs" != x ; then
     21215      if test -d ../Cgl/src ; then
     21216        CGL_LIBS="-L`cd ../Cgl/src; pwd` $projectlibs"
     21217      else
     21218        CGL_LIBS="-L`cd ../Cgl; pwd` $projectlibs"
     21219      fi
     21220    else
     21221      CGL_LIBS=`sed -n -e 's/Libs://p' ../Cgl/cgl-uninstalled.pc`
     21222    fi
     21223    CGL_DATA=`sed -n -e 's/datadir=//gp' ../Cgl/cgl-uninstalled.pc`
     21224
     21225    ADDLIBS="$ADDLIBS $CGL_LIBS"
     21226       REQUIREDPACKAGES="$REQUIREDPACKAGES cgl"
     21227
     21228
     21229
     21230
     21231    coin_has_cgl=yes
     21232    echo "$as_me:$LINENO: result: ../Cgl" >&5
     21233echo "${ECHO_T}../Cgl" >&6
    2052521234  else
    20526     if test -d $srcdir/../Cgl; then
    20527       coin_has_cgl=../Cgl
    20528     fi
    20529   fi
    20530 fi
    20531 
    20532 if test $coin_has_cgl != unavailable &&
    20533    test $coin_has_cgl != skipping; then
    20534   # Set the #define if the component is available
     21235    echo "$as_me:$LINENO: result: $coin_has_cgl" >&5
     21236echo "${ECHO_T}$coin_has_cgl" >&6
     21237  fi
     21238else
     21239  echo "$as_me:$LINENO: result: skipping" >&5
     21240echo "${ECHO_T}skipping" >&6
     21241fi
     21242
     21243#if user did not disable setting of makefile conditional, do it
     21244
     21245fi
     21246
     21247  COINDEPEND_LIBS="$COINUTILS_LIBS $BLAS_LIBS $LAPACK_LIBS $GLPK_LIBS $OSI_LIBS $CGL_LIBS"
     21248  COINDEPEND_CFLAGS="$COINUTILS_CFLAGS $GLPK_CFLAGS $OSI_CFLAGS $CGL_CFLAGS"
     21249  if test "${coin_has_coinutils}${coin_has_osi}${coin_has_cgl}" = yesyesyes ; then
     21250    coin_has_coindepend=yes
    2053521251
    2053621252cat >>confdefs.h <<\_ACEOF
    20537 #define COIN_HAS_CGL 1
     21253#define COIN_HAS_COINDEPEND 1
    2053821254_ACEOF
    2053921255
    2054021256
    20541   # Set the variables for source and object code location
    20542 
    20543   CGLSRCDIR=`cd $srcdir/$coin_has_cgl; pwd`
    20544 
    20545   CGLOBJDIR=`pwd`/$coin_has_cgl
    20546 
    20547   CGLDOCDIR=$abs_lib_dir/../share/doc/coin/Cgl
    20548 fi
    20549 
    20550   # Define the Makefile conditional
    20551 
    20552 
    20553 if test $coin_has_cgl != unavailable &&
    20554                 test $coin_has_cgl != skipping; then
    20555   COIN_HAS_CGL_TRUE=
    20556   COIN_HAS_CGL_FALSE='#'
    20557 else
    20558   COIN_HAS_CGL_TRUE='#'
    20559   COIN_HAS_CGL_FALSE=
    20560 fi
    20561 
    20562 echo "$as_me:$LINENO: result: $coin_has_cgl" >&5
    20563 echo "${ECHO_T}$coin_has_cgl" >&6
    20564 
    20565 echo "$as_me:$LINENO: checking for COIN project Clp" >&5
    20566 echo $ECHO_N "checking for COIN project Clp... $ECHO_C" >&6
    20567 
    20568 # First check, if the sub-project is actually available (ToDo: allow
    20569 # other locations)
    20570 
    20571 coin_has_clp=unavailable
     21257
     21258if test $coin_has_coindepend = yes; then
     21259  COIN_HAS_COINDEPEND_TRUE=
     21260  COIN_HAS_COINDEPEND_FALSE='#'
     21261else
     21262  COIN_HAS_COINDEPEND_TRUE='#'
     21263  COIN_HAS_COINDEPEND_FALSE=
     21264fi
     21265
     21266  fi
     21267fi
     21268if test $coin_has_coindepend != yes ; then
     21269  { { echo "$as_me:$LINENO: error: Required package CoinUtils, Osi, or Cgl not available." >&5
     21270echo "$as_me: error: Required package CoinUtils, Osi, or Cgl not available." >&2;}
     21271   { (exit 1); exit 1; }; }
     21272fi
     21273
     21274
     21275echo "$as_me:$LINENO: checking for COIN-OR module Clp" >&5
     21276echo $ECHO_N "checking for COIN-OR module Clp... $ECHO_C" >&6
     21277
     21278coin_has_clp=notGiven
     21279
     21280# check if user wants to skip module in any case
    2057221281if test x"$COIN_SKIP_PROJECTS" != x; then
    2057321282  for dir in $COIN_SKIP_PROJECTS; do
    20574     if test $dir = Clp; then
     21283    if test $dir = "Clp"; then
    2057521284      coin_has_clp=skipping
    2057621285    fi
     
    2057821287fi
    2057921288
     21289CLP_LIBS=
     21290CLP_CFLAGS=
     21291CLP_DATA=
     21292
     21293
     21294
     21295
     21296
     21297#check if user provided LIBS, CFLAGS, and DATA for module
    2058021298if test $coin_has_clp != skipping; then
    20581   if test $PACKAGE_TARNAME = clp; then
    20582     coin_has_clp=.
     21299
     21300
     21301# Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given.
     21302if test "${with_clp_lib+set}" = set; then
     21303  withval="$with_clp_lib"
     21304  coin_has_clp=yes
     21305       CLP_LIBS="$withval"
     21306       ADDLIBS="$ADDLIBS $withval"
     21307
     21308fi;
     21309
     21310
     21311# Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given.
     21312if test "${with_clp_incdir+set}" = set; then
     21313  withval="$with_clp_incdir"
     21314  coin_has_clp=yes
     21315     CLP_CFLAGS="-I`${CYGPATH_W} $withval`"
     21316fi;
     21317
     21318
     21319# Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given.
     21320if test "${with_clp_datadir+set}" = set; then
     21321  withval="$with_clp_datadir"
     21322  coin_has_clp=yes
     21323     CLP_DATA="$withval"
     21324fi;
     21325fi
     21326
     21327if test $coin_has_clp = notGiven; then
     21328  if test -n "$PKG_CONFIG" ; then
     21329    # set search path for pkg-config
     21330    # need to export variable to be sure that the following pkg-config gets these values
     21331    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21332    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     21333    export PKG_CONFIG_PATH
     21334
     21335    # let pkg-config do it's magic
     21336
     21337
     21338
     21339if test -n "$PKG_CONFIG" ; then
     21340  if $PKG_CONFIG --exists "osi-clp"; then
     21341    CLP_VERSIONS="`$PKG_CONFIG --modversion osi-clp 2>/dev/null`"
     21342     cflags=`$PKG_CONFIG --cflags "osi-clp" 2>/dev/null`
     21343    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     21344        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     21345        # but only do this if is not trivial
     21346    if test "$CYGPATH_W" != "echo" ; then
     21347      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     21348          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21349        fi
     21350    CLP_CFLAGS="$cflags"
     21351    CLP_LIBS=`$PKG_CONFIG --libs "osi-clp" 2>/dev/null`
     21352    CLP_DATA=`$PKG_CONFIG --variable=datadir "osi-clp" 2>/dev/null`
     21353     coin_has_clp=yes
     21354        echo "$as_me:$LINENO: result: yes: $CLP_VERSIONS" >&5
     21355echo "${ECHO_T}yes: $CLP_VERSIONS" >&6
     21356        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-clp"
     21357
     21358
    2058321359  else
    20584     if test -d $srcdir/../Clp; then
    20585       coin_has_clp=../Clp
    20586     fi
    20587   fi
    20588 fi
    20589 
    20590 if test $coin_has_clp != unavailable &&
    20591    test $coin_has_clp != skipping; then
    20592   # Set the #define if the component is available
     21360    CLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-clp`
     21361      coin_has_clp=notGiven
     21362        echo "$as_me:$LINENO: result: not given: $CLP_PKG_ERRORS" >&5
     21363echo "${ECHO_T}not given: $CLP_PKG_ERRORS" >&6
     21364
     21365  fi
     21366else
     21367  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Clp without pkg-config\"" >&5
     21368echo "$as_me: error: \"Cannot check for existance of module Clp without pkg-config\"" >&2;}
     21369   { (exit 1); exit 1; }; }
     21370fi
     21371
     21372
     21373
     21374
     21375    # reset PKG_CONFIG_PATH variable
     21376    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21377  else
     21378    #if 4th argument is given, try fallback - whereby we take the first word from osi-clp as basename for the .pc file
     21379    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     21380echo "${ECHO_T}skipped check via pkg-config" >&6
     21381
     21382  fi
     21383
     21384else
     21385  echo "$as_me:$LINENO: result: $coin_has_clp" >&5
     21386echo "${ECHO_T}$coin_has_clp" >&6
     21387fi
     21388
     21389if test $coin_has_clp != skipping &&
     21390   test $coin_has_clp != notGiven ; then
     21391  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     21392  if test -n "$CLP_CFLAGS" ; then
     21393    { echo "$as_me:$LINENO: Clp CFLAGS are $CLP_CFLAGS" >&5
     21394echo "$as_me: Clp CFLAGS are $CLP_CFLAGS" >&6;}
     21395  fi
     21396  if test -n "$CLP_LIBS" ; then
     21397    { echo "$as_me:$LINENO: Clp LIBS   are $CLP_LIBS" >&5
     21398echo "$as_me: Clp LIBS   are $CLP_LIBS" >&6;}
     21399  fi
     21400  if test -n "$CLP_DATA" ; then
     21401    { echo "$as_me:$LINENO: Clp DATA   is  $CLP_DATA" >&5
     21402echo "$as_me: Clp DATA   is  $CLP_DATA" >&6;}
     21403  fi
     21404  fi
    2059321405
    2059421406cat >>confdefs.h <<\_ACEOF
     
    2059621408_ACEOF
    2059721409
    20598 
    20599   # Set the variables for source and object code location
    20600 
    20601   CLPSRCDIR=`cd $srcdir/$coin_has_clp; pwd`
    20602 
    20603   CLPOBJDIR=`pwd`/$coin_has_clp
    20604 
    20605   CLPDOCDIR=$abs_lib_dir/../share/doc/coin/Clp
    20606 fi
    20607 
    20608   # Define the Makefile conditional
    20609 
    20610 
    20611 if test $coin_has_clp != unavailable &&
     21410fi
     21411
     21412# Define the Makefile conditional
     21413
     21414
     21415if test $coin_has_clp != notGiven &&
    2061221416                test $coin_has_clp != skipping; then
    2061321417  COIN_HAS_CLP_TRUE=
     
    2061821422fi
    2061921423
    20620 echo "$as_me:$LINENO: result: $coin_has_clp" >&5
    20621 echo "${ECHO_T}$coin_has_clp" >&6
    20622 
    20623 echo "$as_me:$LINENO: checking for COIN project CoinUtils" >&5
    20624 echo $ECHO_N "checking for COIN project CoinUtils... $ECHO_C" >&6
    20625 
    20626 # First check, if the sub-project is actually available (ToDo: allow
    20627 # other locations)
    20628 
    20629 coin_has_coinutils=unavailable
     21424
     21425
     21426if test $coin_has_clp != yes ; then
     21427  # OsiClp depends on Clp
     21428  # so if Clp is there, then we assume that also OsiClp will be there and add the corresponding flags to the Clp flags
     21429
     21430if test x$coin_has_clp != "xyes" ; then
     21431
     21432echo "$as_me:$LINENO: checking for COIN-OR module Clp (fallback)" >&5
     21433echo $ECHO_N "checking for COIN-OR module Clp (fallback)... $ECHO_C" >&6
     21434
     21435coin_has_clp=notGiven
     21436
     21437# check if user wants to skip module in any case
    2063021438if test x"$COIN_SKIP_PROJECTS" != x; then
    2063121439  for dir in $COIN_SKIP_PROJECTS; do
    20632     if test $dir = CoinUtils; then
    20633       coin_has_coinutils=skipping
     21440    if test $dir = "Clp"; then
     21441      coin_has_clp=skipping
    2063421442    fi
    2063521443  done
    2063621444fi
    2063721445
    20638 if test $coin_has_coinutils != skipping; then
    20639   if test $PACKAGE_TARNAME = coinutils; then
    20640     coin_has_coinutils=.
     21446CLP_LIBS=
     21447CLP_CFLAGS=
     21448CLP_DATA=
     21449
     21450
     21451if test $coin_has_clp != "skipping" ; then
     21452  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     21453  if test -r ../Clp/clp-uninstalled.pc ; then
     21454    # read CFLAGS and LIBS from clp-uninstalled.pc file
     21455    # add CYGPATH_W cludge into include flags
     21456    # replace -L${libdir} by absolute path to build directory in linker flags
     21457    # we assume that the build directory is ../Clp/src if this directory exists, otherwise we assume that it is ../Clp
     21458    CLP_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Clp/clp-uninstalled.pc`
     21459    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Clp/clp-uninstalled.pc`
     21460    if test "x$projectlibs" != x ; then
     21461      if test -d ../Clp/src ; then
     21462        CLP_LIBS="-L`cd ../Clp/src; pwd` $projectlibs"
     21463      else
     21464        CLP_LIBS="-L`cd ../Clp; pwd` $projectlibs"
     21465      fi
     21466    else
     21467      CLP_LIBS=`sed -n -e 's/Libs://p' ../Clp/clp-uninstalled.pc`
     21468    fi
     21469    CLP_DATA=`sed -n -e 's/datadir=//gp' ../Clp/clp-uninstalled.pc`
     21470
     21471    ADDLIBS="$ADDLIBS $CLP_LIBS"
     21472       REQUIREDPACKAGES="$REQUIREDPACKAGES clp"
     21473
     21474
     21475
     21476cat >>confdefs.h <<\_ACEOF
     21477#define COIN_HAS_CLP 1
     21478_ACEOF
     21479
     21480
     21481
     21482    coin_has_clp=yes
     21483    echo "$as_me:$LINENO: result: ../Clp" >&5
     21484echo "${ECHO_T}../Clp" >&6
    2064121485  else
    20642     if test -d $srcdir/../CoinUtils; then
    20643       coin_has_coinutils=../CoinUtils
    20644     fi
    20645   fi
    20646 fi
    20647 
    20648 if test $coin_has_coinutils != unavailable &&
    20649    test $coin_has_coinutils != skipping; then
    20650   # Set the #define if the component is available
    20651 
    20652 cat >>confdefs.h <<\_ACEOF
    20653 #define COIN_HAS_COINUTILS 1
    20654 _ACEOF
    20655 
    20656 
    20657   # Set the variables for source and object code location
    20658 
    20659   COINUTILSSRCDIR=`cd $srcdir/$coin_has_coinutils; pwd`
    20660 
    20661   COINUTILSOBJDIR=`pwd`/$coin_has_coinutils
    20662 
    20663   COINUTILSDOCDIR=$abs_lib_dir/../share/doc/coin/CoinUtils
    20664 fi
    20665 
    20666   # Define the Makefile conditional
    20667 
    20668 
    20669 if test $coin_has_coinutils != unavailable &&
    20670                 test $coin_has_coinutils != skipping; then
    20671   COIN_HAS_COINUTILS_TRUE=
    20672   COIN_HAS_COINUTILS_FALSE='#'
    20673 else
    20674   COIN_HAS_COINUTILS_TRUE='#'
    20675   COIN_HAS_COINUTILS_FALSE=
    20676 fi
    20677 
    20678 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
    20679 echo "${ECHO_T}$coin_has_coinutils" >&6
    20680 
    20681 echo "$as_me:$LINENO: checking for COIN project DyLP" >&5
    20682 echo $ECHO_N "checking for COIN project DyLP... $ECHO_C" >&6
    20683 
    20684 # First check, if the sub-project is actually available (ToDo: allow
    20685 # other locations)
    20686 
    20687 coin_has_dylp=unavailable
     21486    echo "$as_me:$LINENO: result: $coin_has_clp" >&5
     21487echo "${ECHO_T}$coin_has_clp" >&6
     21488  fi
     21489else
     21490  echo "$as_me:$LINENO: result: skipping" >&5
     21491echo "${ECHO_T}skipping" >&6
     21492fi
     21493
     21494#if user did not disable setting of makefile conditional, do it
     21495
     21496
     21497if test $coin_has_clp != notGiven &&
     21498                test $coin_has_clp != skipping; then
     21499  COIN_HAS_CLP_TRUE=
     21500  COIN_HAS_CLP_FALSE='#'
     21501else
     21502  COIN_HAS_CLP_TRUE='#'
     21503  COIN_HAS_CLP_FALSE=
     21504fi
     21505
     21506
     21507fi
     21508
     21509  if test $coin_has_clp = yes ; then
     21510
     21511if test x$coin_has_osiclp != "xyes" ; then
     21512
     21513echo "$as_me:$LINENO: checking for COIN-OR module OsiClp (fallback)" >&5
     21514echo $ECHO_N "checking for COIN-OR module OsiClp (fallback)... $ECHO_C" >&6
     21515
     21516coin_has_osiclp=notGiven
     21517
     21518# check if user wants to skip module in any case
    2068821519if test x"$COIN_SKIP_PROJECTS" != x; then
    2068921520  for dir in $COIN_SKIP_PROJECTS; do
    20690     if test $dir = DyLP; then
     21521    if test $dir = "OsiClp"; then
     21522      coin_has_osiclp=skipping
     21523    fi
     21524  done
     21525fi
     21526
     21527OSICLP_LIBS=
     21528OSICLP_CFLAGS=
     21529OSICLP_DATA=
     21530
     21531
     21532if test $coin_has_osiclp != "skipping" ; then
     21533  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     21534  if test -r ../Clp/osi-clp-uninstalled.pc ; then
     21535    # read CFLAGS and LIBS from osi-clp-uninstalled.pc file
     21536    # add CYGPATH_W cludge into include flags
     21537    # replace -L${libdir} by absolute path to build directory in linker flags
     21538    # we assume that the build directory is ../Clp/src if this directory exists, otherwise we assume that it is ../Clp
     21539    OSICLP_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Clp/osi-clp-uninstalled.pc`
     21540    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Clp/osi-clp-uninstalled.pc`
     21541    if test "x$projectlibs" != x ; then
     21542      if test -d ../Clp/src ; then
     21543        OSICLP_LIBS="-L`cd ../Clp/src; pwd` $projectlibs"
     21544      else
     21545        OSICLP_LIBS="-L`cd ../Clp; pwd` $projectlibs"
     21546      fi
     21547    else
     21548      OSICLP_LIBS=`sed -n -e 's/Libs://p' ../Clp/osi-clp-uninstalled.pc`
     21549    fi
     21550    OSICLP_DATA=`sed -n -e 's/datadir=//gp' ../Clp/osi-clp-uninstalled.pc`
     21551
     21552    ADDLIBS="$ADDLIBS $OSICLP_LIBS"
     21553       REQUIREDPACKAGES="$REQUIREDPACKAGES osi-clp"
     21554
     21555
     21556
     21557
     21558    coin_has_osiclp=yes
     21559    echo "$as_me:$LINENO: result: ../Clp" >&5
     21560echo "${ECHO_T}../Clp" >&6
     21561  else
     21562    echo "$as_me:$LINENO: result: $coin_has_osiclp" >&5
     21563echo "${ECHO_T}$coin_has_osiclp" >&6
     21564  fi
     21565else
     21566  echo "$as_me:$LINENO: result: skipping" >&5
     21567echo "${ECHO_T}skipping" >&6
     21568fi
     21569
     21570#if user did not disable setting of makefile conditional, do it
     21571
     21572fi
     21573
     21574    CLP_CFLAGS="$CLP_CFLAGS $OSICLP_CFLAGS"
     21575    CLP_LIBS="$CLP_LIBS $OSICLP_LIBS"
     21576  fi
     21577fi
     21578if test $coin_has_clp != yes ; then
     21579  { { echo "$as_me:$LINENO: error: \"Required package Clp unavailable.\"" >&5
     21580echo "$as_me: error: \"Required package Clp unavailable.\"" >&2;}
     21581   { (exit 1); exit 1; }; }
     21582fi
     21583
     21584# we skip fallbacks for the following two
     21585
     21586echo "$as_me:$LINENO: checking for COIN-OR module DyLP" >&5
     21587echo $ECHO_N "checking for COIN-OR module DyLP... $ECHO_C" >&6
     21588
     21589coin_has_dylp=notGiven
     21590
     21591# check if user wants to skip module in any case
     21592if test x"$COIN_SKIP_PROJECTS" != x; then
     21593  for dir in $COIN_SKIP_PROJECTS; do
     21594    if test $dir = "DyLP"; then
    2069121595      coin_has_dylp=skipping
    2069221596    fi
     
    2069421598fi
    2069521599
     21600DYLP_LIBS=
     21601DYLP_CFLAGS=
     21602DYLP_DATA=
     21603
     21604
     21605
     21606
     21607
     21608#check if user provided LIBS, CFLAGS, and DATA for module
    2069621609if test $coin_has_dylp != skipping; then
    20697   if test $PACKAGE_TARNAME = dylp; then
    20698     coin_has_dylp=.
     21610
     21611
     21612# Check whether --with-m4_tolower(DyLP)-lib or --without-m4_tolower(DyLP)-lib was given.
     21613if test "${with_dylp_lib+set}" = set; then
     21614  withval="$with_dylp_lib"
     21615  coin_has_dylp=yes
     21616       DYLP_LIBS="$withval"
     21617       ADDLIBS="$ADDLIBS $withval"
     21618
     21619fi;
     21620
     21621
     21622# Check whether --with-m4_tolower(DyLP)-incdir or --without-m4_tolower(DyLP)-incdir was given.
     21623if test "${with_dylp_incdir+set}" = set; then
     21624  withval="$with_dylp_incdir"
     21625  coin_has_dylp=yes
     21626     DYLP_CFLAGS="-I`${CYGPATH_W} $withval`"
     21627fi;
     21628
     21629
     21630# Check whether --with-m4_tolower(DyLP)-datadir or --without-m4_tolower(DyLP)-datadir was given.
     21631if test "${with_dylp_datadir+set}" = set; then
     21632  withval="$with_dylp_datadir"
     21633  coin_has_dylp=yes
     21634     DYLP_DATA="$withval"
     21635fi;
     21636fi
     21637
     21638if test $coin_has_dylp = notGiven; then
     21639  if test -n "$PKG_CONFIG" ; then
     21640    # set search path for pkg-config
     21641    # need to export variable to be sure that the following pkg-config gets these values
     21642    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21643    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     21644    export PKG_CONFIG_PATH
     21645
     21646    # let pkg-config do it's magic
     21647
     21648
     21649
     21650if test -n "$PKG_CONFIG" ; then
     21651  if $PKG_CONFIG --exists "osi-dylp"; then
     21652    DYLP_VERSIONS="`$PKG_CONFIG --modversion osi-dylp 2>/dev/null`"
     21653     cflags=`$PKG_CONFIG --cflags "osi-dylp" 2>/dev/null`
     21654    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     21655        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     21656        # but only do this if is not trivial
     21657    if test "$CYGPATH_W" != "echo" ; then
     21658      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     21659          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21660        fi
     21661    DYLP_CFLAGS="$cflags"
     21662    DYLP_LIBS=`$PKG_CONFIG --libs "osi-dylp" 2>/dev/null`
     21663    DYLP_DATA=`$PKG_CONFIG --variable=datadir "osi-dylp" 2>/dev/null`
     21664     coin_has_dylp=yes
     21665        echo "$as_me:$LINENO: result: yes: $DYLP_VERSIONS" >&5
     21666echo "${ECHO_T}yes: $DYLP_VERSIONS" >&6
     21667        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-dylp"
     21668
     21669
    2069921670  else
    20700     if test -d $srcdir/../DyLP; then
    20701       coin_has_dylp=../DyLP
    20702     fi
    20703   fi
    20704 fi
    20705 
    20706 if test $coin_has_dylp != unavailable &&
    20707    test $coin_has_dylp != skipping; then
    20708   # Set the #define if the component is available
     21671    DYLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-dylp`
     21672      coin_has_dylp=notGiven
     21673        echo "$as_me:$LINENO: result: not given: $DYLP_PKG_ERRORS" >&5
     21674echo "${ECHO_T}not given: $DYLP_PKG_ERRORS" >&6
     21675
     21676  fi
     21677else
     21678  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&5
     21679echo "$as_me: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&2;}
     21680   { (exit 1); exit 1; }; }
     21681fi
     21682
     21683
     21684
     21685
     21686    # reset PKG_CONFIG_PATH variable
     21687    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21688  else
     21689    #if 4th argument is given, try fallback - whereby we take the first word from osi-dylp as basename for the .pc file
     21690    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     21691echo "${ECHO_T}skipped check via pkg-config" >&6
     21692
     21693  fi
     21694
     21695else
     21696  echo "$as_me:$LINENO: result: $coin_has_dylp" >&5
     21697echo "${ECHO_T}$coin_has_dylp" >&6
     21698fi
     21699
     21700if test $coin_has_dylp != skipping &&
     21701   test $coin_has_dylp != notGiven ; then
     21702  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     21703  if test -n "$DYLP_CFLAGS" ; then
     21704    { echo "$as_me:$LINENO: DyLP CFLAGS are $DYLP_CFLAGS" >&5
     21705echo "$as_me: DyLP CFLAGS are $DYLP_CFLAGS" >&6;}
     21706  fi
     21707  if test -n "$DYLP_LIBS" ; then
     21708    { echo "$as_me:$LINENO: DyLP LIBS   are $DYLP_LIBS" >&5
     21709echo "$as_me: DyLP LIBS   are $DYLP_LIBS" >&6;}
     21710  fi
     21711  if test -n "$DYLP_DATA" ; then
     21712    { echo "$as_me:$LINENO: DyLP DATA   is  $DYLP_DATA" >&5
     21713echo "$as_me: DyLP DATA   is  $DYLP_DATA" >&6;}
     21714  fi
     21715  fi
    2070921716
    2071021717cat >>confdefs.h <<\_ACEOF
     
    2071221719_ACEOF
    2071321720
    20714 
    20715   # Set the variables for source and object code location
    20716 
    20717   DYLPSRCDIR=`cd $srcdir/$coin_has_dylp; pwd`
    20718 
    20719   DYLPOBJDIR=`pwd`/$coin_has_dylp
    20720 
    20721   DYLPDOCDIR=$abs_lib_dir/../share/doc/coin/DyLP
    20722 fi
    20723 
    20724   # Define the Makefile conditional
    20725 
    20726 
    20727 if test $coin_has_dylp != unavailable &&
     21721fi
     21722
     21723# Define the Makefile conditional
     21724
     21725
     21726if test $coin_has_dylp != notGiven &&
    2072821727                test $coin_has_dylp != skipping; then
    2072921728  COIN_HAS_DYLP_TRUE=
     
    2073421733fi
    2073521734
    20736 echo "$as_me:$LINENO: result: $coin_has_dylp" >&5
    20737 echo "${ECHO_T}$coin_has_dylp" >&6
    20738 
    20739 echo "$as_me:$LINENO: checking for COIN project Osi" >&5
    20740 echo $ECHO_N "checking for COIN project Osi... $ECHO_C" >&6
    20741 
    20742 # First check, if the sub-project is actually available (ToDo: allow
    20743 # other locations)
    20744 
    20745 coin_has_osi=unavailable
     21735
     21736
     21737
     21738echo "$as_me:$LINENO: checking for COIN-OR module Vol" >&5
     21739echo $ECHO_N "checking for COIN-OR module Vol... $ECHO_C" >&6
     21740
     21741coin_has_vol=notGiven
     21742
     21743# check if user wants to skip module in any case
    2074621744if test x"$COIN_SKIP_PROJECTS" != x; then
    2074721745  for dir in $COIN_SKIP_PROJECTS; do
    20748     if test $dir = Osi; then
    20749       coin_has_osi=skipping
    20750     fi
    20751   done
    20752 fi
    20753 
    20754 if test $coin_has_osi != skipping; then
    20755   if test $PACKAGE_TARNAME = osi; then
    20756     coin_has_osi=.
    20757   else
    20758     if test -d $srcdir/../Osi; then
    20759       coin_has_osi=../Osi
    20760     fi
    20761   fi
    20762 fi
    20763 
    20764 if test $coin_has_osi != unavailable &&
    20765    test $coin_has_osi != skipping; then
    20766   # Set the #define if the component is available
    20767 
    20768 cat >>confdefs.h <<\_ACEOF
    20769 #define COIN_HAS_OSI 1
    20770 _ACEOF
    20771 
    20772 
    20773   # Set the variables for source and object code location
    20774 
    20775   OSISRCDIR=`cd $srcdir/$coin_has_osi; pwd`
    20776 
    20777   OSIOBJDIR=`pwd`/$coin_has_osi
    20778 
    20779   OSIDOCDIR=$abs_lib_dir/../share/doc/coin/Osi
    20780 fi
    20781 
    20782   # Define the Makefile conditional
    20783 
    20784 
    20785 if test $coin_has_osi != unavailable &&
    20786                 test $coin_has_osi != skipping; then
    20787   COIN_HAS_OSI_TRUE=
    20788   COIN_HAS_OSI_FALSE='#'
    20789 else
    20790   COIN_HAS_OSI_TRUE='#'
    20791   COIN_HAS_OSI_FALSE=
    20792 fi
    20793 
    20794 echo "$as_me:$LINENO: result: $coin_has_osi" >&5
    20795 echo "${ECHO_T}$coin_has_osi" >&6
    20796 
    20797 echo "$as_me:$LINENO: checking for COIN project Vol" >&5
    20798 echo $ECHO_N "checking for COIN project Vol... $ECHO_C" >&6
    20799 
    20800 # First check, if the sub-project is actually available (ToDo: allow
    20801 # other locations)
    20802 
    20803 coin_has_vol=unavailable
    20804 if test x"$COIN_SKIP_PROJECTS" != x; then
    20805   for dir in $COIN_SKIP_PROJECTS; do
    20806     if test $dir = Vol; then
     21746    if test $dir = "Vol"; then
    2080721747      coin_has_vol=skipping
    2080821748    fi
     
    2081021750fi
    2081121751
     21752VOL_LIBS=
     21753VOL_CFLAGS=
     21754VOL_DATA=
     21755
     21756
     21757
     21758
     21759
     21760#check if user provided LIBS, CFLAGS, and DATA for module
    2081221761if test $coin_has_vol != skipping; then
    20813   if test $PACKAGE_TARNAME = vol; then
    20814     coin_has_vol=.
     21762
     21763
     21764# Check whether --with-m4_tolower(Vol)-lib or --without-m4_tolower(Vol)-lib was given.
     21765if test "${with_vol_lib+set}" = set; then
     21766  withval="$with_vol_lib"
     21767  coin_has_vol=yes
     21768       VOL_LIBS="$withval"
     21769       ADDLIBS="$ADDLIBS $withval"
     21770
     21771fi;
     21772
     21773
     21774# Check whether --with-m4_tolower(Vol)-incdir or --without-m4_tolower(Vol)-incdir was given.
     21775if test "${with_vol_incdir+set}" = set; then
     21776  withval="$with_vol_incdir"
     21777  coin_has_vol=yes
     21778     VOL_CFLAGS="-I`${CYGPATH_W} $withval`"
     21779fi;
     21780
     21781
     21782# Check whether --with-m4_tolower(Vol)-datadir or --without-m4_tolower(Vol)-datadir was given.
     21783if test "${with_vol_datadir+set}" = set; then
     21784  withval="$with_vol_datadir"
     21785  coin_has_vol=yes
     21786     VOL_DATA="$withval"
     21787fi;
     21788fi
     21789
     21790if test $coin_has_vol = notGiven; then
     21791  if test -n "$PKG_CONFIG" ; then
     21792    # set search path for pkg-config
     21793    # need to export variable to be sure that the following pkg-config gets these values
     21794    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21795    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     21796    export PKG_CONFIG_PATH
     21797
     21798    # let pkg-config do it's magic
     21799
     21800
     21801
     21802if test -n "$PKG_CONFIG" ; then
     21803  if $PKG_CONFIG --exists "osi-vol"; then
     21804    VOL_VERSIONS="`$PKG_CONFIG --modversion osi-vol 2>/dev/null`"
     21805     cflags=`$PKG_CONFIG --cflags "osi-vol" 2>/dev/null`
     21806    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     21807        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     21808        # but only do this if is not trivial
     21809    if test "$CYGPATH_W" != "echo" ; then
     21810      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     21811          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21812        fi
     21813    VOL_CFLAGS="$cflags"
     21814    VOL_LIBS=`$PKG_CONFIG --libs "osi-vol" 2>/dev/null`
     21815    VOL_DATA=`$PKG_CONFIG --variable=datadir "osi-vol" 2>/dev/null`
     21816     coin_has_vol=yes
     21817        echo "$as_me:$LINENO: result: yes: $VOL_VERSIONS" >&5
     21818echo "${ECHO_T}yes: $VOL_VERSIONS" >&6
     21819        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-vol"
     21820
     21821
    2081521822  else
    20816     if test -d $srcdir/../Vol; then
    20817       coin_has_vol=../Vol
    20818     fi
    20819   fi
    20820 fi
    20821 
    20822 if test $coin_has_vol != unavailable &&
    20823    test $coin_has_vol != skipping; then
    20824   # Set the #define if the component is available
     21823    VOL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-vol`
     21824      coin_has_vol=notGiven
     21825        echo "$as_me:$LINENO: result: not given: $VOL_PKG_ERRORS" >&5
     21826echo "${ECHO_T}not given: $VOL_PKG_ERRORS" >&6
     21827
     21828  fi
     21829else
     21830  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Vol without pkg-config\"" >&5
     21831echo "$as_me: error: \"Cannot check for existance of module Vol without pkg-config\"" >&2;}
     21832   { (exit 1); exit 1; }; }
     21833fi
     21834
     21835
     21836
     21837
     21838    # reset PKG_CONFIG_PATH variable
     21839    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21840  else
     21841    #if 4th argument is given, try fallback - whereby we take the first word from osi-vol as basename for the .pc file
     21842    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     21843echo "${ECHO_T}skipped check via pkg-config" >&6
     21844
     21845  fi
     21846
     21847else
     21848  echo "$as_me:$LINENO: result: $coin_has_vol" >&5
     21849echo "${ECHO_T}$coin_has_vol" >&6
     21850fi
     21851
     21852if test $coin_has_vol != skipping &&
     21853   test $coin_has_vol != notGiven ; then
     21854  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     21855  if test -n "$VOL_CFLAGS" ; then
     21856    { echo "$as_me:$LINENO: Vol CFLAGS are $VOL_CFLAGS" >&5
     21857echo "$as_me: Vol CFLAGS are $VOL_CFLAGS" >&6;}
     21858  fi
     21859  if test -n "$VOL_LIBS" ; then
     21860    { echo "$as_me:$LINENO: Vol LIBS   are $VOL_LIBS" >&5
     21861echo "$as_me: Vol LIBS   are $VOL_LIBS" >&6;}
     21862  fi
     21863  if test -n "$VOL_DATA" ; then
     21864    { echo "$as_me:$LINENO: Vol DATA   is  $VOL_DATA" >&5
     21865echo "$as_me: Vol DATA   is  $VOL_DATA" >&6;}
     21866  fi
     21867  fi
    2082521868
    2082621869cat >>confdefs.h <<\_ACEOF
     
    2082821871_ACEOF
    2082921872
    20830 
    20831   # Set the variables for source and object code location
    20832 
    20833   VOLSRCDIR=`cd $srcdir/$coin_has_vol; pwd`
    20834 
    20835   VOLOBJDIR=`pwd`/$coin_has_vol
    20836 
    20837   VOLDOCDIR=$abs_lib_dir/../share/doc/coin/Vol
    20838 fi
    20839 
    20840   # Define the Makefile conditional
    20841 
    20842 
    20843 if test $coin_has_vol != unavailable &&
     21873fi
     21874
     21875# Define the Makefile conditional
     21876
     21877
     21878if test $coin_has_vol != notGiven &&
    2084421879                test $coin_has_vol != skipping; then
    2084521880  COIN_HAS_VOL_TRUE=
     
    2085021885fi
    2085121886
    20852 echo "$as_me:$LINENO: result: $coin_has_vol" >&5
    20853 echo "${ECHO_T}$coin_has_vol" >&6
    20854 
    20855 echo "$as_me:$LINENO: checking for COIN project SYMPHONY" >&5
    20856 echo $ECHO_N "checking for COIN project SYMPHONY... $ECHO_C" >&6
    20857 
    20858 # First check, if the sub-project is actually available (ToDo: allow
    20859 # other locations)
    20860 
    20861 coin_has_symphony=unavailable
     21887
     21888
     21889
     21890echo "$as_me:$LINENO: checking for COIN-OR module OsiTests" >&5
     21891echo $ECHO_N "checking for COIN-OR module OsiTests... $ECHO_C" >&6
     21892
     21893coin_has_ositests=notGiven
     21894
     21895# check if user wants to skip module in any case
    2086221896if test x"$COIN_SKIP_PROJECTS" != x; then
    2086321897  for dir in $COIN_SKIP_PROJECTS; do
    20864     if test $dir = SYMPHONY; then
    20865       coin_has_symphony=skipping
     21898    if test $dir = "OsiTests"; then
     21899      coin_has_ositests=skipping
    2086621900    fi
    2086721901  done
    2086821902fi
    2086921903
    20870 if test $coin_has_symphony != skipping; then
    20871   if test $PACKAGE_TARNAME = symphony; then
    20872     coin_has_symphony=.
     21904OSITESTS_LIBS=
     21905OSITESTS_CFLAGS=
     21906OSITESTS_DATA=
     21907
     21908
     21909
     21910
     21911
     21912#check if user provided LIBS, CFLAGS, and DATA for module
     21913if test $coin_has_ositests != skipping; then
     21914
     21915
     21916# Check whether --with-m4_tolower(OsiTests)-lib or --without-m4_tolower(OsiTests)-lib was given.
     21917if test "${with_ositests_lib+set}" = set; then
     21918  withval="$with_ositests_lib"
     21919  coin_has_ositests=yes
     21920       OSITESTS_LIBS="$withval"
     21921
     21922
     21923fi;
     21924
     21925
     21926# Check whether --with-m4_tolower(OsiTests)-incdir or --without-m4_tolower(OsiTests)-incdir was given.
     21927if test "${with_ositests_incdir+set}" = set; then
     21928  withval="$with_ositests_incdir"
     21929  coin_has_ositests=yes
     21930     OSITESTS_CFLAGS="-I`${CYGPATH_W} $withval`"
     21931fi;
     21932
     21933
     21934# Check whether --with-m4_tolower(OsiTests)-datadir or --without-m4_tolower(OsiTests)-datadir was given.
     21935if test "${with_ositests_datadir+set}" = set; then
     21936  withval="$with_ositests_datadir"
     21937  coin_has_ositests=yes
     21938     OSITESTS_DATA="$withval"
     21939fi;
     21940fi
     21941
     21942if test $coin_has_ositests = notGiven; then
     21943  if test -n "$PKG_CONFIG" ; then
     21944    # set search path for pkg-config
     21945    # need to export variable to be sure that the following pkg-config gets these values
     21946    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21947    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     21948    export PKG_CONFIG_PATH
     21949
     21950    # let pkg-config do it's magic
     21951
     21952
     21953
     21954if test -n "$PKG_CONFIG" ; then
     21955  if $PKG_CONFIG --exists "osi-unittests"; then
     21956    OSITESTS_VERSIONS="`$PKG_CONFIG --modversion osi-unittests 2>/dev/null`"
     21957     cflags=`$PKG_CONFIG --cflags "osi-unittests" 2>/dev/null`
     21958    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     21959        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     21960        # but only do this if is not trivial
     21961    if test "$CYGPATH_W" != "echo" ; then
     21962      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     21963          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21964        fi
     21965    OSITESTS_CFLAGS="$cflags"
     21966    OSITESTS_LIBS=`$PKG_CONFIG --libs "osi-unittests" 2>/dev/null`
     21967    OSITESTS_DATA=`$PKG_CONFIG --variable=datadir "osi-unittests" 2>/dev/null`
     21968     coin_has_ositests=yes
     21969        echo "$as_me:$LINENO: result: yes: $OSITESTS_VERSIONS" >&5
     21970echo "${ECHO_T}yes: $OSITESTS_VERSIONS" >&6
     21971
     21972
     21973
    2087321974  else
    20874     if test -d $srcdir/../SYMPHONY; then
    20875       coin_has_symphony=../SYMPHONY
    20876     fi
    20877   fi
    20878 fi
    20879 
    20880 if test $coin_has_symphony != unavailable &&
    20881    test $coin_has_symphony != skipping; then
    20882   # Set the #define if the component is available
    20883 
    20884 cat >>confdefs.h <<\_ACEOF
    20885 #define COIN_HAS_SYMPHONY 1
    20886 _ACEOF
    20887 
    20888 
    20889   # Set the variables for source and object code location
    20890 
    20891   SYMPHONYSRCDIR=`cd $srcdir/$coin_has_symphony; pwd`
    20892 
    20893   SYMPHONYOBJDIR=`pwd`/$coin_has_symphony
    20894 
    20895   SYMPHONYDOCDIR=$abs_lib_dir/../share/doc/coin/SYMPHONY
    20896 fi
    20897 
    20898   # Define the Makefile conditional
    20899 
    20900 
    20901 if test $coin_has_symphony != unavailable &&
    20902                 test $coin_has_symphony != skipping; then
    20903   COIN_HAS_SYMPHONY_TRUE=
    20904   COIN_HAS_SYMPHONY_FALSE='#'
    20905 else
    20906   COIN_HAS_SYMPHONY_TRUE='#'
    20907   COIN_HAS_SYMPHONY_FALSE=
    20908 fi
    20909 
    20910 echo "$as_me:$LINENO: result: $coin_has_symphony" >&5
    20911 echo "${ECHO_T}$coin_has_symphony" >&6
    20912 
    20913 echo "$as_me:$LINENO: checking for COIN project Cpx" >&5
    20914 echo $ECHO_N "checking for COIN project Cpx... $ECHO_C" >&6
    20915 
    20916 # First check, if the sub-project is actually available (ToDo: allow
    20917 # other locations)
    20918 
    20919 coin_has_cpx=unavailable
     21975    OSITESTS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-unittests`
     21976      coin_has_ositests=notGiven
     21977        echo "$as_me:$LINENO: result: not given: $OSITESTS_PKG_ERRORS" >&5
     21978echo "${ECHO_T}not given: $OSITESTS_PKG_ERRORS" >&6
     21979
     21980  fi
     21981else
     21982  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&5
     21983echo "$as_me: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&2;}
     21984   { (exit 1); exit 1; }; }
     21985fi
     21986
     21987
     21988
     21989
     21990    # reset PKG_CONFIG_PATH variable
     21991    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21992  else
     21993    #if 4th argument is given, try fallback - whereby we take the first word from osi-unittests as basename for the .pc file
     21994
     21995if test x$coin_has_ositests != "xyes" ; then
     21996
     21997
     21998
     21999coin_has_ositests=notGiven
     22000
     22001# check if user wants to skip module in any case
    2092022002if test x"$COIN_SKIP_PROJECTS" != x; then
    2092122003  for dir in $COIN_SKIP_PROJECTS; do
    20922     if test $dir = Cpx; then
     22004    if test $dir = "OsiTests"; then
     22005      coin_has_ositests=skipping
     22006    fi
     22007  done
     22008fi
     22009
     22010OSITESTS_LIBS=
     22011OSITESTS_CFLAGS=
     22012OSITESTS_DATA=
     22013
     22014
     22015if test $coin_has_ositests != "skipping" ; then
     22016  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     22017  if test -r ../Osi/osi-unittests-uninstalled.pc ; then
     22018    # read CFLAGS and LIBS from m4_bpatsubst(osi-unittests, [ .*], [])-uninstalled.pc file
     22019    # add CYGPATH_W cludge into include flags
     22020    # replace -L${libdir} by absolute path to build directory in linker flags
     22021    # we assume that the build directory is ../Osi/src if this directory exists, otherwise we assume that it is ../Osi
     22022    OSITESTS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Osi/osi-unittests-uninstalled.pc`
     22023    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Osi/osi-unittests-uninstalled.pc`
     22024    if test "x$projectlibs" != x ; then
     22025      if test -d ../Osi/src ; then
     22026        OSITESTS_LIBS="-L`cd ../Osi/src; pwd` $projectlibs"
     22027      else
     22028        OSITESTS_LIBS="-L`cd ../Osi; pwd` $projectlibs"
     22029      fi
     22030    else
     22031      OSITESTS_LIBS=`sed -n -e 's/Libs://p' ../Osi/osi-unittests-uninstalled.pc`
     22032    fi
     22033    OSITESTS_DATA=`sed -n -e 's/datadir=//gp' ../Osi/osi-unittests-uninstalled.pc`
     22034
     22035
     22036
     22037
     22038cat >>confdefs.h <<\_ACEOF
     22039#define COIN_HAS_OSITESTS 1
     22040_ACEOF
     22041
     22042
     22043
     22044    coin_has_ositests=yes
     22045    echo "$as_me:$LINENO: result: ../Osi" >&5
     22046echo "${ECHO_T}../Osi" >&6
     22047  else
     22048    echo "$as_me:$LINENO: result: $coin_has_ositests" >&5
     22049echo "${ECHO_T}$coin_has_ositests" >&6
     22050  fi
     22051else
     22052  echo "$as_me:$LINENO: result: skipping" >&5
     22053echo "${ECHO_T}skipping" >&6
     22054fi
     22055
     22056#if user did not disable setting of makefile conditional, do it
     22057
     22058
     22059if test $coin_has_ositests != notGiven &&
     22060                test $coin_has_ositests != skipping; then
     22061  COIN_HAS_OSITESTS_TRUE=
     22062  COIN_HAS_OSITESTS_FALSE='#'
     22063else
     22064  COIN_HAS_OSITESTS_TRUE='#'
     22065  COIN_HAS_OSITESTS_FALSE=
     22066fi
     22067
     22068
     22069fi
     22070
     22071
     22072  fi
     22073
     22074else
     22075  echo "$as_me:$LINENO: result: $coin_has_ositests" >&5
     22076echo "${ECHO_T}$coin_has_ositests" >&6
     22077fi
     22078
     22079if test $coin_has_ositests != skipping &&
     22080   test $coin_has_ositests != notGiven ; then
     22081  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     22082  if test -n "$OSITESTS_CFLAGS" ; then
     22083    { echo "$as_me:$LINENO: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&5
     22084echo "$as_me: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&6;}
     22085  fi
     22086  if test -n "$OSITESTS_LIBS" ; then
     22087    { echo "$as_me:$LINENO: OsiTests LIBS   are $OSITESTS_LIBS" >&5
     22088echo "$as_me: OsiTests LIBS   are $OSITESTS_LIBS" >&6;}
     22089  fi
     22090  if test -n "$OSITESTS_DATA" ; then
     22091    { echo "$as_me:$LINENO: OsiTests DATA   is  $OSITESTS_DATA" >&5
     22092echo "$as_me: OsiTests DATA   is  $OSITESTS_DATA" >&6;}
     22093  fi
     22094  fi
     22095
     22096cat >>confdefs.h <<\_ACEOF
     22097#define COIN_HAS_OSITESTS 1
     22098_ACEOF
     22099
     22100fi
     22101
     22102# Define the Makefile conditional
     22103
     22104
     22105if test $coin_has_ositests != notGiven &&
     22106                test $coin_has_ositests != skipping; then
     22107  COIN_HAS_OSITESTS_TRUE=
     22108  COIN_HAS_OSITESTS_FALSE='#'
     22109else
     22110  COIN_HAS_OSITESTS_TRUE='#'
     22111  COIN_HAS_OSITESTS_FALSE=
     22112fi
     22113
     22114
     22115
     22116
     22117
     22118echo "$as_me:$LINENO: checking for COIN-OR module Sample" >&5
     22119echo $ECHO_N "checking for COIN-OR module Sample... $ECHO_C" >&6
     22120
     22121coin_has_sample=notGiven
     22122
     22123# check if user wants to skip module in any case
     22124if test x"$COIN_SKIP_PROJECTS" != x; then
     22125  for dir in $COIN_SKIP_PROJECTS; do
     22126    if test $dir = "Sample"; then
     22127      coin_has_sample=skipping
     22128    fi
     22129  done
     22130fi
     22131
     22132SAMPLE_LIBS=
     22133SAMPLE_CFLAGS=
     22134SAMPLE_DATA=
     22135
     22136
     22137
     22138
     22139
     22140#check if user provided LIBS, CFLAGS, and DATA for module
     22141if test $coin_has_sample != skipping; then
     22142
     22143
     22144# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
     22145if test "${with_sample_lib+set}" = set; then
     22146  withval="$with_sample_lib"
     22147  coin_has_sample=yes
     22148       SAMPLE_LIBS="$withval"
     22149
     22150
     22151fi;
     22152
     22153
     22154# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
     22155if test "${with_sample_incdir+set}" = set; then
     22156  withval="$with_sample_incdir"
     22157  coin_has_sample=yes
     22158     SAMPLE_CFLAGS="-I`${CYGPATH_W} $withval`"
     22159fi;
     22160
     22161
     22162# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
     22163if test "${with_sample_datadir+set}" = set; then
     22164  withval="$with_sample_datadir"
     22165  coin_has_sample=yes
     22166     SAMPLE_DATA="$withval"
     22167fi;
     22168fi
     22169
     22170if test $coin_has_sample = notGiven; then
     22171  if test -n "$PKG_CONFIG" ; then
     22172    # set search path for pkg-config
     22173    # need to export variable to be sure that the following pkg-config gets these values
     22174    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22175    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     22176    export PKG_CONFIG_PATH
     22177
     22178    # let pkg-config do it's magic
     22179
     22180
     22181
     22182if test -n "$PKG_CONFIG" ; then
     22183  if $PKG_CONFIG --exists "coindatasample"; then
     22184    SAMPLE_VERSIONS="`$PKG_CONFIG --modversion coindatasample 2>/dev/null`"
     22185     cflags=`$PKG_CONFIG --cflags "coindatasample" 2>/dev/null`
     22186    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22187        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22188        # but only do this if is not trivial
     22189    if test "$CYGPATH_W" != "echo" ; then
     22190      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22191          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22192        fi
     22193    SAMPLE_CFLAGS="$cflags"
     22194    SAMPLE_LIBS=`$PKG_CONFIG --libs "coindatasample" 2>/dev/null`
     22195    SAMPLE_DATA=`$PKG_CONFIG --variable=datadir "coindatasample" 2>/dev/null`
     22196     coin_has_sample=yes
     22197        echo "$as_me:$LINENO: result: yes: $SAMPLE_VERSIONS" >&5
     22198echo "${ECHO_T}yes: $SAMPLE_VERSIONS" >&6
     22199
     22200
     22201
     22202  else
     22203    SAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatasample`
     22204      coin_has_sample=notGiven
     22205        echo "$as_me:$LINENO: result: not given: $SAMPLE_PKG_ERRORS" >&5
     22206echo "${ECHO_T}not given: $SAMPLE_PKG_ERRORS" >&6
     22207
     22208  fi
     22209else
     22210  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Sample without pkg-config\"" >&5
     22211echo "$as_me: error: \"Cannot check for existance of module Sample without pkg-config\"" >&2;}
     22212   { (exit 1); exit 1; }; }
     22213fi
     22214
     22215
     22216
     22217
     22218    # reset PKG_CONFIG_PATH variable
     22219    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22220  else
     22221    #if 4th argument is given, try fallback - whereby we take the first word from coindatasample as basename for the .pc file
     22222
     22223if test x$coin_has_sample != "xyes" ; then
     22224
     22225
     22226
     22227coin_has_sample=notGiven
     22228
     22229# check if user wants to skip module in any case
     22230if test x"$COIN_SKIP_PROJECTS" != x; then
     22231  for dir in $COIN_SKIP_PROJECTS; do
     22232    if test $dir = "Sample"; then
     22233      coin_has_sample=skipping
     22234    fi
     22235  done
     22236fi
     22237
     22238SAMPLE_LIBS=
     22239SAMPLE_CFLAGS=
     22240SAMPLE_DATA=
     22241
     22242
     22243if test $coin_has_sample != "skipping" ; then
     22244  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     22245  if test -r ../Data/Sample/coindatasample-uninstalled.pc ; then
     22246    # read CFLAGS and LIBS from m4_bpatsubst(coindatasample, [ .*], [])-uninstalled.pc file
     22247    # add CYGPATH_W cludge into include flags
     22248    # replace -L${libdir} by absolute path to build directory in linker flags
     22249    # we assume that the build directory is ../Data/Sample/src if this directory exists, otherwise we assume that it is ../Data/Sample
     22250    SAMPLE_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Data/Sample/coindatasample-uninstalled.pc`
     22251    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Data/Sample/coindatasample-uninstalled.pc`
     22252    if test "x$projectlibs" != x ; then
     22253      if test -d ../Data/Sample/src ; then
     22254        SAMPLE_LIBS="-L`cd ../Data/Sample/src; pwd` $projectlibs"
     22255      else
     22256        SAMPLE_LIBS="-L`cd ../Data/Sample; pwd` $projectlibs"
     22257      fi
     22258    else
     22259      SAMPLE_LIBS=`sed -n -e 's/Libs://p' ../Data/Sample/coindatasample-uninstalled.pc`
     22260    fi
     22261    SAMPLE_DATA=`sed -n -e 's/datadir=//gp' ../Data/Sample/coindatasample-uninstalled.pc`
     22262
     22263
     22264
     22265
     22266cat >>confdefs.h <<\_ACEOF
     22267#define COIN_HAS_SAMPLE 1
     22268_ACEOF
     22269
     22270
     22271
     22272    coin_has_sample=yes
     22273    echo "$as_me:$LINENO: result: ../Data/Sample" >&5
     22274echo "${ECHO_T}../Data/Sample" >&6
     22275  else
     22276    echo "$as_me:$LINENO: result: $coin_has_sample" >&5
     22277echo "${ECHO_T}$coin_has_sample" >&6
     22278  fi
     22279else
     22280  echo "$as_me:$LINENO: result: skipping" >&5
     22281echo "${ECHO_T}skipping" >&6
     22282fi
     22283
     22284#if user did not disable setting of makefile conditional, do it
     22285
     22286
     22287if test $coin_has_sample != notGiven &&
     22288                test $coin_has_sample != skipping; then
     22289  COIN_HAS_SAMPLE_TRUE=
     22290  COIN_HAS_SAMPLE_FALSE='#'
     22291else
     22292  COIN_HAS_SAMPLE_TRUE='#'
     22293  COIN_HAS_SAMPLE_FALSE=
     22294fi
     22295
     22296
     22297fi
     22298
     22299
     22300  fi
     22301
     22302else
     22303  echo "$as_me:$LINENO: result: $coin_has_sample" >&5
     22304echo "${ECHO_T}$coin_has_sample" >&6
     22305fi
     22306
     22307if test $coin_has_sample != skipping &&
     22308   test $coin_has_sample != notGiven ; then
     22309  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     22310  if test -n "$SAMPLE_CFLAGS" ; then
     22311    { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5
     22312echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;}
     22313  fi
     22314  if test -n "$SAMPLE_LIBS" ; then
     22315    { echo "$as_me:$LINENO: Sample LIBS   are $SAMPLE_LIBS" >&5
     22316echo "$as_me: Sample LIBS   are $SAMPLE_LIBS" >&6;}
     22317  fi
     22318  if test -n "$SAMPLE_DATA" ; then
     22319    { echo "$as_me:$LINENO: Sample DATA   is  $SAMPLE_DATA" >&5
     22320echo "$as_me: Sample DATA   is  $SAMPLE_DATA" >&6;}
     22321  fi
     22322  fi
     22323
     22324cat >>confdefs.h <<\_ACEOF
     22325#define COIN_HAS_SAMPLE 1
     22326_ACEOF
     22327
     22328fi
     22329
     22330# Define the Makefile conditional
     22331
     22332
     22333if test $coin_has_sample != notGiven &&
     22334                test $coin_has_sample != skipping; then
     22335  COIN_HAS_SAMPLE_TRUE=
     22336  COIN_HAS_SAMPLE_FALSE='#'
     22337else
     22338  COIN_HAS_SAMPLE_TRUE='#'
     22339  COIN_HAS_SAMPLE_FALSE=
     22340fi
     22341
     22342
     22343
     22344
     22345echo "$as_me:$LINENO: checking for COIN-OR module Netlib" >&5
     22346echo $ECHO_N "checking for COIN-OR module Netlib... $ECHO_C" >&6
     22347
     22348coin_has_netlib=notGiven
     22349
     22350# check if user wants to skip module in any case
     22351if test x"$COIN_SKIP_PROJECTS" != x; then
     22352  for dir in $COIN_SKIP_PROJECTS; do
     22353    if test $dir = "Netlib"; then
     22354      coin_has_netlib=skipping
     22355    fi
     22356  done
     22357fi
     22358
     22359NETLIB_LIBS=
     22360NETLIB_CFLAGS=
     22361NETLIB_DATA=
     22362
     22363
     22364
     22365
     22366
     22367#check if user provided LIBS, CFLAGS, and DATA for module
     22368if test $coin_has_netlib != skipping; then
     22369
     22370
     22371# Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
     22372if test "${with_netlib_lib+set}" = set; then
     22373  withval="$with_netlib_lib"
     22374  coin_has_netlib=yes
     22375       NETLIB_LIBS="$withval"
     22376
     22377
     22378fi;
     22379
     22380
     22381# Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
     22382if test "${with_netlib_incdir+set}" = set; then
     22383  withval="$with_netlib_incdir"
     22384  coin_has_netlib=yes
     22385     NETLIB_CFLAGS="-I`${CYGPATH_W} $withval`"
     22386fi;
     22387
     22388
     22389# Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
     22390if test "${with_netlib_datadir+set}" = set; then
     22391  withval="$with_netlib_datadir"
     22392  coin_has_netlib=yes
     22393     NETLIB_DATA="$withval"
     22394fi;
     22395fi
     22396
     22397if test $coin_has_netlib = notGiven; then
     22398  if test -n "$PKG_CONFIG" ; then
     22399    # set search path for pkg-config
     22400    # need to export variable to be sure that the following pkg-config gets these values
     22401    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22402    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     22403    export PKG_CONFIG_PATH
     22404
     22405    # let pkg-config do it's magic
     22406
     22407
     22408
     22409if test -n "$PKG_CONFIG" ; then
     22410  if $PKG_CONFIG --exists "coindatanetlib"; then
     22411    NETLIB_VERSIONS="`$PKG_CONFIG --modversion coindatanetlib 2>/dev/null`"
     22412     cflags=`$PKG_CONFIG --cflags "coindatanetlib" 2>/dev/null`
     22413    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22414        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22415        # but only do this if is not trivial
     22416    if test "$CYGPATH_W" != "echo" ; then
     22417      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22418          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22419        fi
     22420    NETLIB_CFLAGS="$cflags"
     22421    NETLIB_LIBS=`$PKG_CONFIG --libs "coindatanetlib" 2>/dev/null`
     22422    NETLIB_DATA=`$PKG_CONFIG --variable=datadir "coindatanetlib" 2>/dev/null`
     22423     coin_has_netlib=yes
     22424        echo "$as_me:$LINENO: result: yes: $NETLIB_VERSIONS" >&5
     22425echo "${ECHO_T}yes: $NETLIB_VERSIONS" >&6
     22426
     22427
     22428
     22429  else
     22430    NETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatanetlib`
     22431      coin_has_netlib=notGiven
     22432        echo "$as_me:$LINENO: result: not given: $NETLIB_PKG_ERRORS" >&5
     22433echo "${ECHO_T}not given: $NETLIB_PKG_ERRORS" >&6
     22434
     22435  fi
     22436else
     22437  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&5
     22438echo "$as_me: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&2;}
     22439   { (exit 1); exit 1; }; }
     22440fi
     22441
     22442
     22443
     22444
     22445    # reset PKG_CONFIG_PATH variable
     22446    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22447  else
     22448    #if 4th argument is given, try fallback - whereby we take the first word from coindatanetlib as basename for the .pc file
     22449
     22450if test x$coin_has_netlib != "xyes" ; then
     22451
     22452
     22453
     22454coin_has_netlib=notGiven
     22455
     22456# check if user wants to skip module in any case
     22457if test x"$COIN_SKIP_PROJECTS" != x; then
     22458  for dir in $COIN_SKIP_PROJECTS; do
     22459    if test $dir = "Netlib"; then
     22460      coin_has_netlib=skipping
     22461    fi
     22462  done
     22463fi
     22464
     22465NETLIB_LIBS=
     22466NETLIB_CFLAGS=
     22467NETLIB_DATA=
     22468
     22469
     22470if test $coin_has_netlib != "skipping" ; then
     22471  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     22472  if test -r ../Data/Netlib/coindatanetlib-uninstalled.pc ; then
     22473    # read CFLAGS and LIBS from m4_bpatsubst(coindatanetlib, [ .*], [])-uninstalled.pc file
     22474    # add CYGPATH_W cludge into include flags
     22475    # replace -L${libdir} by absolute path to build directory in linker flags
     22476    # we assume that the build directory is ../Data/Netlib/src if this directory exists, otherwise we assume that it is ../Data/Netlib
     22477    NETLIB_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Data/Netlib/coindatanetlib-uninstalled.pc`
     22478    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Data/Netlib/coindatanetlib-uninstalled.pc`
     22479    if test "x$projectlibs" != x ; then
     22480      if test -d ../Data/Netlib/src ; then
     22481        NETLIB_LIBS="-L`cd ../Data/Netlib/src; pwd` $projectlibs"
     22482      else
     22483        NETLIB_LIBS="-L`cd ../Data/Netlib; pwd` $projectlibs"
     22484      fi
     22485    else
     22486      NETLIB_LIBS=`sed -n -e 's/Libs://p' ../Data/Netlib/coindatanetlib-uninstalled.pc`
     22487    fi
     22488    NETLIB_DATA=`sed -n -e 's/datadir=//gp' ../Data/Netlib/coindatanetlib-uninstalled.pc`
     22489
     22490
     22491
     22492
     22493cat >>confdefs.h <<\_ACEOF
     22494#define COIN_HAS_NETLIB 1
     22495_ACEOF
     22496
     22497
     22498
     22499    coin_has_netlib=yes
     22500    echo "$as_me:$LINENO: result: ../Data/Netlib" >&5
     22501echo "${ECHO_T}../Data/Netlib" >&6
     22502  else
     22503    echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
     22504echo "${ECHO_T}$coin_has_netlib" >&6
     22505  fi
     22506else
     22507  echo "$as_me:$LINENO: result: skipping" >&5
     22508echo "${ECHO_T}skipping" >&6
     22509fi
     22510
     22511#if user did not disable setting of makefile conditional, do it
     22512
     22513
     22514if test $coin_has_netlib != notGiven &&
     22515                test $coin_has_netlib != skipping; then
     22516  COIN_HAS_NETLIB_TRUE=
     22517  COIN_HAS_NETLIB_FALSE='#'
     22518else
     22519  COIN_HAS_NETLIB_TRUE='#'
     22520  COIN_HAS_NETLIB_FALSE=
     22521fi
     22522
     22523
     22524fi
     22525
     22526
     22527  fi
     22528
     22529else
     22530  echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
     22531echo "${ECHO_T}$coin_has_netlib" >&6
     22532fi
     22533
     22534if test $coin_has_netlib != skipping &&
     22535   test $coin_has_netlib != notGiven ; then
     22536  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     22537  if test -n "$NETLIB_CFLAGS" ; then
     22538    { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5
     22539echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;}
     22540  fi
     22541  if test -n "$NETLIB_LIBS" ; then
     22542    { echo "$as_me:$LINENO: Netlib LIBS   are $NETLIB_LIBS" >&5
     22543echo "$as_me: Netlib LIBS   are $NETLIB_LIBS" >&6;}
     22544  fi
     22545  if test -n "$NETLIB_DATA" ; then
     22546    { echo "$as_me:$LINENO: Netlib DATA   is  $NETLIB_DATA" >&5
     22547echo "$as_me: Netlib DATA   is  $NETLIB_DATA" >&6;}
     22548  fi
     22549  fi
     22550
     22551cat >>confdefs.h <<\_ACEOF
     22552#define COIN_HAS_NETLIB 1
     22553_ACEOF
     22554
     22555fi
     22556
     22557# Define the Makefile conditional
     22558
     22559
     22560if test $coin_has_netlib != notGiven &&
     22561                test $coin_has_netlib != skipping; then
     22562  COIN_HAS_NETLIB_TRUE=
     22563  COIN_HAS_NETLIB_FALSE='#'
     22564else
     22565  COIN_HAS_NETLIB_TRUE='#'
     22566  COIN_HAS_NETLIB_FALSE=
     22567fi
     22568
     22569
     22570
     22571
     22572echo "$as_me:$LINENO: checking for COIN-OR module Miplib3" >&5
     22573echo $ECHO_N "checking for COIN-OR module Miplib3... $ECHO_C" >&6
     22574
     22575coin_has_miplib3=notGiven
     22576
     22577# check if user wants to skip module in any case
     22578if test x"$COIN_SKIP_PROJECTS" != x; then
     22579  for dir in $COIN_SKIP_PROJECTS; do
     22580    if test $dir = "Miplib3"; then
     22581      coin_has_miplib3=skipping
     22582    fi
     22583  done
     22584fi
     22585
     22586MIPLIB3_LIBS=
     22587MIPLIB3_CFLAGS=
     22588MIPLIB3_DATA=
     22589
     22590
     22591
     22592
     22593
     22594#check if user provided LIBS, CFLAGS, and DATA for module
     22595if test $coin_has_miplib3 != skipping; then
     22596
     22597
     22598# Check whether --with-m4_tolower(Miplib3)-lib or --without-m4_tolower(Miplib3)-lib was given.
     22599if test "${with_miplib3_lib+set}" = set; then
     22600  withval="$with_miplib3_lib"
     22601  coin_has_miplib3=yes
     22602       MIPLIB3_LIBS="$withval"
     22603
     22604
     22605fi;
     22606
     22607
     22608# Check whether --with-m4_tolower(Miplib3)-incdir or --without-m4_tolower(Miplib3)-incdir was given.
     22609if test "${with_miplib3_incdir+set}" = set; then
     22610  withval="$with_miplib3_incdir"
     22611  coin_has_miplib3=yes
     22612     MIPLIB3_CFLAGS="-I`${CYGPATH_W} $withval`"
     22613fi;
     22614
     22615
     22616# Check whether --with-m4_tolower(Miplib3)-datadir or --without-m4_tolower(Miplib3)-datadir was given.
     22617if test "${with_miplib3_datadir+set}" = set; then
     22618  withval="$with_miplib3_datadir"
     22619  coin_has_miplib3=yes
     22620     MIPLIB3_DATA="$withval"
     22621fi;
     22622fi
     22623
     22624if test $coin_has_miplib3 = notGiven; then
     22625  if test -n "$PKG_CONFIG" ; then
     22626    # set search path for pkg-config
     22627    # need to export variable to be sure that the following pkg-config gets these values
     22628    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22629    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     22630    export PKG_CONFIG_PATH
     22631
     22632    # let pkg-config do it's magic
     22633
     22634
     22635
     22636if test -n "$PKG_CONFIG" ; then
     22637  if $PKG_CONFIG --exists "coindatamiplib3"; then
     22638    MIPLIB3_VERSIONS="`$PKG_CONFIG --modversion coindatamiplib3 2>/dev/null`"
     22639     cflags=`$PKG_CONFIG --cflags "coindatamiplib3" 2>/dev/null`
     22640    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22641        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22642        # but only do this if is not trivial
     22643    if test "$CYGPATH_W" != "echo" ; then
     22644      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22645          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22646        fi
     22647    MIPLIB3_CFLAGS="$cflags"
     22648    MIPLIB3_LIBS=`$PKG_CONFIG --libs "coindatamiplib3" 2>/dev/null`
     22649    MIPLIB3_DATA=`$PKG_CONFIG --variable=datadir "coindatamiplib3" 2>/dev/null`
     22650     coin_has_miplib3=yes
     22651        echo "$as_me:$LINENO: result: yes: $MIPLIB3_VERSIONS" >&5
     22652echo "${ECHO_T}yes: $MIPLIB3_VERSIONS" >&6
     22653
     22654
     22655
     22656  else
     22657    MIPLIB3_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatamiplib3`
     22658      coin_has_miplib3=notGiven
     22659        echo "$as_me:$LINENO: result: not given: $MIPLIB3_PKG_ERRORS" >&5
     22660echo "${ECHO_T}not given: $MIPLIB3_PKG_ERRORS" >&6
     22661
     22662  fi
     22663else
     22664  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&5
     22665echo "$as_me: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&2;}
     22666   { (exit 1); exit 1; }; }
     22667fi
     22668
     22669
     22670
     22671
     22672    # reset PKG_CONFIG_PATH variable
     22673    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22674  else
     22675    #if 4th argument is given, try fallback - whereby we take the first word from coindatamiplib3 as basename for the .pc file
     22676
     22677if test x$coin_has_miplib3 != "xyes" ; then
     22678
     22679
     22680
     22681coin_has_miplib3=notGiven
     22682
     22683# check if user wants to skip module in any case
     22684if test x"$COIN_SKIP_PROJECTS" != x; then
     22685  for dir in $COIN_SKIP_PROJECTS; do
     22686    if test $dir = "Miplib3"; then
     22687      coin_has_miplib3=skipping
     22688    fi
     22689  done
     22690fi
     22691
     22692MIPLIB3_LIBS=
     22693MIPLIB3_CFLAGS=
     22694MIPLIB3_DATA=
     22695
     22696
     22697if test $coin_has_miplib3 != "skipping" ; then
     22698  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     22699  if test -r ../Data/Miplib3/coindatamiplib3-uninstalled.pc ; then
     22700    # read CFLAGS and LIBS from m4_bpatsubst(coindatamiplib3, [ .*], [])-uninstalled.pc file
     22701    # add CYGPATH_W cludge into include flags
     22702    # replace -L${libdir} by absolute path to build directory in linker flags
     22703    # we assume that the build directory is ../Data/Miplib3/src if this directory exists, otherwise we assume that it is ../Data/Miplib3
     22704    MIPLIB3_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
     22705    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
     22706    if test "x$projectlibs" != x ; then
     22707      if test -d ../Data/Miplib3/src ; then
     22708        MIPLIB3_LIBS="-L`cd ../Data/Miplib3/src; pwd` $projectlibs"
     22709      else
     22710        MIPLIB3_LIBS="-L`cd ../Data/Miplib3; pwd` $projectlibs"
     22711      fi
     22712    else
     22713      MIPLIB3_LIBS=`sed -n -e 's/Libs://p' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
     22714    fi
     22715    MIPLIB3_DATA=`sed -n -e 's/datadir=//gp' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
     22716
     22717
     22718
     22719
     22720cat >>confdefs.h <<\_ACEOF
     22721#define COIN_HAS_MIPLIB3 1
     22722_ACEOF
     22723
     22724
     22725
     22726    coin_has_miplib3=yes
     22727    echo "$as_me:$LINENO: result: ../Data/Miplib3" >&5
     22728echo "${ECHO_T}../Data/Miplib3" >&6
     22729  else
     22730    echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5
     22731echo "${ECHO_T}$coin_has_miplib3" >&6
     22732  fi
     22733else
     22734  echo "$as_me:$LINENO: result: skipping" >&5
     22735echo "${ECHO_T}skipping" >&6
     22736fi
     22737
     22738#if user did not disable setting of makefile conditional, do it
     22739
     22740
     22741if test $coin_has_miplib3 != notGiven &&
     22742                test $coin_has_miplib3 != skipping; then
     22743  COIN_HAS_MIPLIB3_TRUE=
     22744  COIN_HAS_MIPLIB3_FALSE='#'
     22745else
     22746  COIN_HAS_MIPLIB3_TRUE='#'
     22747  COIN_HAS_MIPLIB3_FALSE=
     22748fi
     22749
     22750
     22751fi
     22752
     22753
     22754  fi
     22755
     22756else
     22757  echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5
     22758echo "${ECHO_T}$coin_has_miplib3" >&6
     22759fi
     22760
     22761if test $coin_has_miplib3 != skipping &&
     22762   test $coin_has_miplib3 != notGiven ; then
     22763  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     22764  if test -n "$MIPLIB3_CFLAGS" ; then
     22765    { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5
     22766echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;}
     22767  fi
     22768  if test -n "$MIPLIB3_LIBS" ; then
     22769    { echo "$as_me:$LINENO: Miplib3 LIBS   are $MIPLIB3_LIBS" >&5
     22770echo "$as_me: Miplib3 LIBS   are $MIPLIB3_LIBS" >&6;}
     22771  fi
     22772  if test -n "$MIPLIB3_DATA" ; then
     22773    { echo "$as_me:$LINENO: Miplib3 DATA   is  $MIPLIB3_DATA" >&5
     22774echo "$as_me: Miplib3 DATA   is  $MIPLIB3_DATA" >&6;}
     22775  fi
     22776  fi
     22777
     22778cat >>confdefs.h <<\_ACEOF
     22779#define COIN_HAS_MIPLIB3 1
     22780_ACEOF
     22781
     22782fi
     22783
     22784# Define the Makefile conditional
     22785
     22786
     22787if test $coin_has_miplib3 != notGiven &&
     22788                test $coin_has_miplib3 != skipping; then
     22789  COIN_HAS_MIPLIB3_TRUE=
     22790  COIN_HAS_MIPLIB3_FALSE='#'
     22791else
     22792  COIN_HAS_MIPLIB3_TRUE='#'
     22793  COIN_HAS_MIPLIB3_FALSE=
     22794fi
     22795
     22796
     22797
     22798
     22799#############################################################################
     22800#                            Third party solvers                            #
     22801#############################################################################
     22802
     22803# Check which third party solvers are available
     22804
     22805echo "$as_me:$LINENO: checking for COIN-OR module Cpx" >&5
     22806echo $ECHO_N "checking for COIN-OR module Cpx... $ECHO_C" >&6
     22807
     22808coin_has_cpx=notGiven
     22809
     22810# check if user wants to skip module in any case
     22811if test x"$COIN_SKIP_PROJECTS" != x; then
     22812  for dir in $COIN_SKIP_PROJECTS; do
     22813    if test $dir = "Cpx"; then
    2092322814      coin_has_cpx=skipping
    2092422815    fi
     
    2092622817fi
    2092722818
     22819CPX_LIBS=
     22820CPX_CFLAGS=
     22821CPX_DATA=
     22822
     22823
     22824
     22825
     22826
     22827#check if user provided LIBS, CFLAGS, and DATA for module
    2092822828if test $coin_has_cpx != skipping; then
    20929   if test $PACKAGE_TARNAME = cpx; then
    20930     coin_has_cpx=.
     22829
     22830
     22831# Check whether --with-m4_tolower(Cpx)-lib or --without-m4_tolower(Cpx)-lib was given.
     22832if test "${with_cpx_lib+set}" = set; then
     22833  withval="$with_cpx_lib"
     22834  coin_has_cpx=yes
     22835       CPX_LIBS="$withval"
     22836       ADDLIBS="$ADDLIBS $withval"
     22837
     22838fi;
     22839
     22840
     22841# Check whether --with-m4_tolower(Cpx)-incdir or --without-m4_tolower(Cpx)-incdir was given.
     22842if test "${with_cpx_incdir+set}" = set; then
     22843  withval="$with_cpx_incdir"
     22844  coin_has_cpx=yes
     22845     CPX_CFLAGS="-I`${CYGPATH_W} $withval`"
     22846fi;
     22847
     22848
     22849# Check whether --with-m4_tolower(Cpx)-datadir or --without-m4_tolower(Cpx)-datadir was given.
     22850if test "${with_cpx_datadir+set}" = set; then
     22851  withval="$with_cpx_datadir"
     22852  coin_has_cpx=yes
     22853     CPX_DATA="$withval"
     22854fi;
     22855fi
     22856
     22857if test $coin_has_cpx = notGiven; then
     22858  if test -n "$PKG_CONFIG" ; then
     22859    # set search path for pkg-config
     22860    # need to export variable to be sure that the following pkg-config gets these values
     22861    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22862    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     22863    export PKG_CONFIG_PATH
     22864
     22865    # let pkg-config do it's magic
     22866
     22867
     22868
     22869if test -n "$PKG_CONFIG" ; then
     22870  if $PKG_CONFIG --exists "osi-cplex"; then
     22871    CPX_VERSIONS="`$PKG_CONFIG --modversion osi-cplex 2>/dev/null`"
     22872     cflags=`$PKG_CONFIG --cflags "osi-cplex" 2>/dev/null`
     22873    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22874        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22875        # but only do this if is not trivial
     22876    if test "$CYGPATH_W" != "echo" ; then
     22877      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22878          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22879        fi
     22880    CPX_CFLAGS="$cflags"
     22881    CPX_LIBS=`$PKG_CONFIG --libs "osi-cplex" 2>/dev/null`
     22882    CPX_DATA=`$PKG_CONFIG --variable=datadir "osi-cplex" 2>/dev/null`
     22883     coin_has_cpx=yes
     22884        echo "$as_me:$LINENO: result: yes: $CPX_VERSIONS" >&5
     22885echo "${ECHO_T}yes: $CPX_VERSIONS" >&6
     22886        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-cplex"
     22887
     22888
    2093122889  else
    20932     if test -d $srcdir/../Cpx; then
    20933       coin_has_cpx=../Cpx
    20934     fi
    20935   fi
    20936 fi
    20937 
    20938 if test $coin_has_cpx != unavailable &&
    20939    test $coin_has_cpx != skipping; then
    20940   # Set the #define if the component is available
     22890    CPX_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-cplex`
     22891      coin_has_cpx=notGiven
     22892        echo "$as_me:$LINENO: result: not given: $CPX_PKG_ERRORS" >&5
     22893echo "${ECHO_T}not given: $CPX_PKG_ERRORS" >&6
     22894
     22895  fi
     22896else
     22897  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cpx without pkg-config\"" >&5
     22898echo "$as_me: error: \"Cannot check for existance of module Cpx without pkg-config\"" >&2;}
     22899   { (exit 1); exit 1; }; }
     22900fi
     22901
     22902
     22903
     22904
     22905    # reset PKG_CONFIG_PATH variable
     22906    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22907  else
     22908    #if 4th argument is given, try fallback - whereby we take the first word from osi-cplex as basename for the .pc file
     22909    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     22910echo "${ECHO_T}skipped check via pkg-config" >&6
     22911
     22912  fi
     22913
     22914else
     22915  echo "$as_me:$LINENO: result: $coin_has_cpx" >&5
     22916echo "${ECHO_T}$coin_has_cpx" >&6
     22917fi
     22918
     22919if test $coin_has_cpx != skipping &&
     22920   test $coin_has_cpx != notGiven ; then
     22921  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     22922  if test -n "$CPX_CFLAGS" ; then
     22923    { echo "$as_me:$LINENO: Cpx CFLAGS are $CPX_CFLAGS" >&5
     22924echo "$as_me: Cpx CFLAGS are $CPX_CFLAGS" >&6;}
     22925  fi
     22926  if test -n "$CPX_LIBS" ; then
     22927    { echo "$as_me:$LINENO: Cpx LIBS   are $CPX_LIBS" >&5
     22928echo "$as_me: Cpx LIBS   are $CPX_LIBS" >&6;}
     22929  fi
     22930  if test -n "$CPX_DATA" ; then
     22931    { echo "$as_me:$LINENO: Cpx DATA   is  $CPX_DATA" >&5
     22932echo "$as_me: Cpx DATA   is  $CPX_DATA" >&6;}
     22933  fi
     22934  fi
    2094122935
    2094222936cat >>confdefs.h <<\_ACEOF
     
    2094422938_ACEOF
    2094522939
    20946 
    20947   # Set the variables for source and object code location
    20948 
    20949   CPXSRCDIR=`cd $srcdir/$coin_has_cpx; pwd`
    20950 
    20951   CPXOBJDIR=`pwd`/$coin_has_cpx
    20952 
    20953   CPXDOCDIR=$abs_lib_dir/../share/doc/coin/Cpx
    20954 fi
    20955 
    20956   # Define the Makefile conditional
    20957 
    20958 
    20959 if test $coin_has_cpx != unavailable &&
     22940fi
     22941
     22942# Define the Makefile conditional
     22943
     22944
     22945if test $coin_has_cpx != notGiven &&
    2096022946                test $coin_has_cpx != skipping; then
    2096122947  COIN_HAS_CPX_TRUE=
     
    2096622952fi
    2096722953
    20968 echo "$as_me:$LINENO: result: $coin_has_cpx" >&5
    20969 echo "${ECHO_T}$coin_has_cpx" >&6
    20970 
    20971 
    20972 #############################################################################
    20973 #                            Third party solvers                            #
    20974 #############################################################################
    20975 
    20976 # Check which third party solvers are available ToDo!
    20977 
    20978   echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
    20979 echo $ECHO_N "checking if user provides library for Cplex... $ECHO_C" >&6
    20980 
    20981 # Check for header file directory
    20982 
    20983 
    20984 # Check whether --with-cplex-incdir or --without-cplex-incdir was given.
    20985 if test "${with_cplex_incdir+set}" = set; then
    20986   withval="$with_cplex_incdir"
    20987   CPXINCDIR=`cd $withval; pwd`
     22954
     22955
     22956
     22957echo "$as_me:$LINENO: checking for COIN-OR module Glpk" >&5
     22958echo $ECHO_N "checking for COIN-OR module Glpk... $ECHO_C" >&6
     22959
     22960coin_has_glpk=notGiven
     22961
     22962# check if user wants to skip module in any case
     22963if test x"$COIN_SKIP_PROJECTS" != x; then
     22964  for dir in $COIN_SKIP_PROJECTS; do
     22965    if test $dir = "Glpk"; then
     22966      coin_has_glpk=skipping
     22967    fi
     22968  done
     22969fi
     22970
     22971GLPK_LIBS=
     22972GLPK_CFLAGS=
     22973GLPK_DATA=
     22974
     22975
     22976
     22977
     22978
     22979#check if user provided LIBS, CFLAGS, and DATA for module
     22980if test $coin_has_glpk != skipping; then
     22981
     22982
     22983# Check whether --with-m4_tolower(Glpk)-lib or --without-m4_tolower(Glpk)-lib was given.
     22984if test "${with_glpk_lib+set}" = set; then
     22985  withval="$with_glpk_lib"
     22986  coin_has_glpk=yes
     22987       GLPK_LIBS="$withval"
     22988       ADDLIBS="$ADDLIBS $withval"
     22989
    2098822990fi;
    2098922991
    20990 # Check for library directory
    20991 
    20992 
    20993 # Check whether --with-cplex-lib or --without-cplex-lib was given.
    20994 if test "${with_cplex_lib+set}" = set; then
    20995   withval="$with_cplex_lib"
    20996   CPXLIB=$withval
     22992
     22993# Check whether --with-m4_tolower(Glpk)-incdir or --without-m4_tolower(Glpk)-incdir was given.
     22994if test "${with_glpk_incdir+set}" = set; then
     22995  withval="$with_glpk_incdir"
     22996  coin_has_glpk=yes
     22997     GLPK_CFLAGS="-I`${CYGPATH_W} $withval`"
    2099722998fi;
    2099822999
    20999 # Switch to disable library check if requested
    21000 
    21001   # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given.
    21002 if test "${enable_cplex_libcheck+set}" = set; then
    21003   enableval="$enable_cplex_libcheck"
    21004   cplex_libcheck=$enableval
    21005 else
    21006   cplex_libcheck=yes
     23000
     23001# Check whether --with-m4_tolower(Glpk)-datadir or --without-m4_tolower(Glpk)-datadir was given.
     23002if test "${with_glpk_datadir+set}" = set; then
     23003  withval="$with_glpk_datadir"
     23004  coin_has_glpk=yes
     23005     GLPK_DATA="$withval"
    2100723006fi;
    21008 
    21009 # At this point, if we're going to use the library, both LBRYINCDIR and
    21010 # LBRYLIB must be defined and not empty.
    21011 
    21012   if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then
    21013     if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then
    21014       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&5
    21015 echo "$as_me: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&2;}
     23007fi
     23008
     23009if test $coin_has_glpk = notGiven; then
     23010  if test -n "$PKG_CONFIG" ; then
     23011    # set search path for pkg-config
     23012    # need to export variable to be sure that the following pkg-config gets these values
     23013    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     23014    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     23015    export PKG_CONFIG_PATH
     23016
     23017    # let pkg-config do it's magic
     23018
     23019
     23020
     23021if test -n "$PKG_CONFIG" ; then
     23022  if $PKG_CONFIG --exists "osi-glpk"; then
     23023    GLPK_VERSIONS="`$PKG_CONFIG --modversion osi-glpk 2>/dev/null`"
     23024     cflags=`$PKG_CONFIG --cflags "osi-glpk" 2>/dev/null`
     23025    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     23026        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     23027        # but only do this if is not trivial
     23028    if test "$CYGPATH_W" != "echo" ; then
     23029      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     23030          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23031        fi
     23032    GLPK_CFLAGS="$cflags"
     23033    GLPK_LIBS=`$PKG_CONFIG --libs "osi-glpk" 2>/dev/null`
     23034    GLPK_DATA=`$PKG_CONFIG --variable=datadir "osi-glpk" 2>/dev/null`
     23035     coin_has_glpk=yes
     23036        echo "$as_me:$LINENO: result: yes: $GLPK_VERSIONS" >&5
     23037echo "${ECHO_T}yes: $GLPK_VERSIONS" >&6
     23038        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-glpk"
     23039
     23040
     23041  else
     23042    GLPK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-glpk`
     23043      coin_has_glpk=notGiven
     23044        echo "$as_me:$LINENO: result: not given: $GLPK_PKG_ERRORS" >&5
     23045echo "${ECHO_T}not given: $GLPK_PKG_ERRORS" >&6
     23046
     23047  fi
     23048else
     23049  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Glpk without pkg-config\"" >&5
     23050echo "$as_me: error: \"Cannot check for existance of module Glpk without pkg-config\"" >&2;}
    2101623051   { (exit 1); exit 1; }; }
     23052fi
     23053
     23054
     23055
     23056
     23057    # reset PKG_CONFIG_PATH variable
     23058    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     23059  else
     23060    #if 4th argument is given, try fallback - whereby we take the first word from osi-glpk as basename for the .pc file
     23061    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     23062echo "${ECHO_T}skipped check via pkg-config" >&6
     23063
     23064  fi
     23065
     23066else
     23067  echo "$as_me:$LINENO: result: $coin_has_glpk" >&5
     23068echo "${ECHO_T}$coin_has_glpk" >&6
     23069fi
     23070
     23071if test $coin_has_glpk != skipping &&
     23072   test $coin_has_glpk != notGiven ; then
     23073  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     23074  if test -n "$GLPK_CFLAGS" ; then
     23075    { echo "$as_me:$LINENO: Glpk CFLAGS are $GLPK_CFLAGS" >&5
     23076echo "$as_me: Glpk CFLAGS are $GLPK_CFLAGS" >&6;}
     23077  fi
     23078  if test -n "$GLPK_LIBS" ; then
     23079    { echo "$as_me:$LINENO: Glpk LIBS   are $GLPK_LIBS" >&5
     23080echo "$as_me: Glpk LIBS   are $GLPK_LIBS" >&6;}
     23081  fi
     23082  if test -n "$GLPK_DATA" ; then
     23083    { echo "$as_me:$LINENO: Glpk DATA   is  $GLPK_DATA" >&5
     23084echo "$as_me: Glpk DATA   is  $GLPK_DATA" >&6;}
     23085  fi
     23086  fi
     23087
     23088cat >>confdefs.h <<\_ACEOF
     23089#define COIN_HAS_GLPK 1
     23090_ACEOF
     23091
     23092fi
     23093
     23094# Define the Makefile conditional
     23095
     23096
     23097if test $coin_has_glpk != notGiven &&
     23098                test $coin_has_glpk != skipping; then
     23099  COIN_HAS_GLPK_TRUE=
     23100  COIN_HAS_GLPK_FALSE='#'
     23101else
     23102  COIN_HAS_GLPK_TRUE='#'
     23103  COIN_HAS_GLPK_FALSE=
     23104fi
     23105
     23106
     23107
     23108
     23109echo "$as_me:$LINENO: checking for COIN-OR module Grb" >&5
     23110echo $ECHO_N "checking for COIN-OR module Grb... $ECHO_C" >&6
     23111
     23112coin_has_grb=notGiven
     23113
     23114# check if user wants to skip module in any case
     23115if test x"$COIN_SKIP_PROJECTS" != x; then
     23116  for dir in $COIN_SKIP_PROJECTS; do
     23117    if test $dir = "Grb"; then
     23118      coin_has_grb=skipping
    2101723119    fi
    21018     coin_has_cpx=true
    21019     echo "$as_me:$LINENO: result: yes" >&5
    21020 echo "${ECHO_T}yes" >&6
     23120  done
     23121fi
     23122
     23123GRB_LIBS=
     23124GRB_CFLAGS=
     23125GRB_DATA=
     23126
     23127
     23128
     23129
     23130
     23131#check if user provided LIBS, CFLAGS, and DATA for module
     23132if test $coin_has_grb != skipping; then
     23133
     23134
     23135# Check whether --with-m4_tolower(Grb)-lib or --without-m4_tolower(Grb)-lib was given.
     23136if test "${with_grb_lib+set}" = set; then
     23137  withval="$with_grb_lib"
     23138  coin_has_grb=yes
     23139       GRB_LIBS="$withval"
     23140       ADDLIBS="$ADDLIBS $withval"
     23141
     23142fi;
     23143
     23144
     23145# Check whether --with-m4_tolower(Grb)-incdir or --without-m4_tolower(Grb)-incdir was given.
     23146if test "${with_grb_incdir+set}" = set; then
     23147  withval="$with_grb_incdir"
     23148  coin_has_grb=yes
     23149     GRB_CFLAGS="-I`${CYGPATH_W} $withval`"
     23150fi;
     23151
     23152
     23153# Check whether --with-m4_tolower(Grb)-datadir or --without-m4_tolower(Grb)-datadir was given.
     23154if test "${with_grb_datadir+set}" = set; then
     23155  withval="$with_grb_datadir"
     23156  coin_has_grb=yes
     23157     GRB_DATA="$withval"
     23158fi;
     23159fi
     23160
     23161if test $coin_has_grb = notGiven; then
     23162  if test -n "$PKG_CONFIG" ; then
     23163    # set search path for pkg-config
     23164    # need to export variable to be sure that the following pkg-config gets these values
     23165    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     23166    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     23167    export PKG_CONFIG_PATH
     23168
     23169    # let pkg-config do it's magic
     23170
     23171
     23172
     23173if test -n "$PKG_CONFIG" ; then
     23174  if $PKG_CONFIG --exists "osi-gurobi"; then
     23175    GRB_VERSIONS="`$PKG_CONFIG --modversion osi-gurobi 2>/dev/null`"
     23176     cflags=`$PKG_CONFIG --cflags "osi-gurobi" 2>/dev/null`
     23177    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     23178        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     23179        # but only do this if is not trivial
     23180    if test "$CYGPATH_W" != "echo" ; then
     23181      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     23182          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23183        fi
     23184    GRB_CFLAGS="$cflags"
     23185    GRB_LIBS=`$PKG_CONFIG --libs "osi-gurobi" 2>/dev/null`
     23186    GRB_DATA=`$PKG_CONFIG --variable=datadir "osi-gurobi" 2>/dev/null`
     23187     coin_has_grb=yes
     23188        echo "$as_me:$LINENO: result: yes: $GRB_VERSIONS" >&5
     23189echo "${ECHO_T}yes: $GRB_VERSIONS" >&6
     23190        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-gurobi"
     23191
     23192
    2102123193  else
    21022     coin_has_cpx=false
    21023     echo "$as_me:$LINENO: result: no" >&5
    21024 echo "${ECHO_T}no" >&6
    21025   fi
    21026 
    21027 # If we have instructions for use, consider header and link checks.
    21028 
    21029   if test $coin_has_cpx = true; then
    21030 
    21031 # If argument 3 (file) is given, check for the file. Typically this will be a
    21032 # header file, but that's not assumed.
    21033 
    21034     if test -r $CPXINCDIR/cplex.h; then
    21035 
    21036   :
    21037 else
    21038   { { echo "$as_me:$LINENO: error: Cannot find file cplex.h in $CPXINCDIR" >&5
    21039 echo "$as_me: error: Cannot find file cplex.h in $CPXINCDIR" >&2;}
     23194    GRB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-gurobi`
     23195      coin_has_grb=notGiven
     23196        echo "$as_me:$LINENO: result: not given: $GRB_PKG_ERRORS" >&5
     23197echo "${ECHO_T}not given: $GRB_PKG_ERRORS" >&6
     23198
     23199  fi
     23200else
     23201  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Grb without pkg-config\"" >&5
     23202echo "$as_me: error: \"Cannot check for existance of module Grb without pkg-config\"" >&2;}
    2104023203   { (exit 1); exit 1; }; }
    21041   :
    21042 fi
    21043 
    21044 
    21045 # Now see if we can link the function. There are arguments for and against
    21046 # assuming argument 3 is a header file declaring the function. A correct
    21047 # function declaration is the main argument in favour. Having to cope with
    21048 # possible dependencies or other oddities are the main arguments against.
    21049 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21050 # Obviously, this has limits.
    21051 
    21052     if test x"$cplex_libcheck" != xno; then
    21053            coin_save_LIBS="$LIBS"
    21054            LIBS="$CPXLIB $ADDLIBS"
    21055            coin_CPX_link=no
    21056            ac_ext=c
    21057 ac_cpp='$CPP $CPPFLAGS'
    21058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21061 
    21062            for fnm in CPXgetstat ; do
    21063              echo "$as_me:$LINENO: checking whether symbol $fnm is available with CPX" >&5
    21064 echo $ECHO_N "checking whether symbol $fnm is available with CPX... $ECHO_C" >&6
    21065              cat >conftest.$ac_ext <<_ACEOF
    21066 /* confdefs.h.  */
     23204fi
     23205
     23206
     23207
     23208
     23209    # reset PKG_CONFIG_PATH variable
     23210    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     23211  else
     23212    #if 4th argument is given, try fallback - whereby we take the first word from osi-gurobi as basename for the .pc file
     23213    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     23214echo "${ECHO_T}skipped check via pkg-config" >&6
     23215
     23216  fi
     23217
     23218else
     23219  echo "$as_me:$LINENO: result: $coin_has_grb" >&5
     23220echo "${ECHO_T}$coin_has_grb" >&6
     23221fi
     23222
     23223if test $coin_has_grb != skipping &&
     23224   test $coin_has_grb != notGiven ; then
     23225  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     23226  if test -n "$GRB_CFLAGS" ; then
     23227    { echo "$as_me:$LINENO: Grb CFLAGS are $GRB_CFLAGS" >&5
     23228echo "$as_me: Grb CFLAGS are $GRB_CFLAGS" >&6;}
     23229  fi
     23230  if test -n "$GRB_LIBS" ; then
     23231    { echo "$as_me:$LINENO: Grb LIBS   are $GRB_LIBS" >&5
     23232echo "$as_me: Grb LIBS   are $GRB_LIBS" >&6;}
     23233  fi
     23234  if test -n "$GRB_DATA" ; then
     23235    { echo "$as_me:$LINENO: Grb DATA   is  $GRB_DATA" >&5
     23236echo "$as_me: Grb DATA   is  $GRB_DATA" >&6;}
     23237  fi
     23238  fi
     23239
     23240cat >>confdefs.h <<\_ACEOF
     23241#define COIN_HAS_GRB 1
    2106723242_ACEOF
    21068 cat confdefs.h >>conftest.$ac_ext
    21069 cat >>conftest.$ac_ext <<_ACEOF
    21070 /* end confdefs.h.  */
    21071 
    21072 int
    21073 main ()
    21074 {
    21075 $fnm()
    21076   ;
    21077   return 0;
    21078 }
    21079 _ACEOF
    21080 rm -f conftest.$ac_objext conftest$ac_exeext
    21081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21082   (eval $ac_link) 2>conftest.er1
    21083   ac_status=$?
    21084   grep -v '^ *+' conftest.er1 >conftest.err
    21085   rm -f conftest.er1
    21086   cat conftest.err >&5
    21087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21088   (exit $ac_status); } &&
    21089          { ac_try='test -z "$ac_c_werror_flag"
    21090                          || test ! -s conftest.err'
    21091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21092   (eval $ac_try) 2>&5
    21093   ac_status=$?
    21094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21095   (exit $ac_status); }; } &&
    21096          { ac_try='test -s conftest$ac_exeext'
    21097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21098   (eval $ac_try) 2>&5
    21099   ac_status=$?
    21100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21101   (exit $ac_status); }; }; then
    21102   echo "$as_me:$LINENO: result: yes" >&5
    21103 echo "${ECHO_T}yes" >&6
    21104                   coin_CPX_link=yes
    21105                   break
    21106 else
    21107   echo "$as_me: failed program was:" >&5
    21108 sed 's/^/| /' conftest.$ac_ext >&5
    21109 
    21110 echo "$as_me:$LINENO: result: no" >&5
    21111 echo "${ECHO_T}no" >&6
    21112 fi
    21113 rm -f conftest.err conftest.$ac_objext \
    21114       conftest$ac_exeext conftest.$ac_ext
    21115            done
    21116            ac_ext=c
    21117 ac_cpp='$CPP $CPPFLAGS'
    21118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21121 
    21122            if test x"$coin_CPX_link" = xyes ; then
    21123              LIBS="$coin_save_LIBS"
    21124            else
    21125              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) CPXgetstat with CPX" >&5
    21126 echo "$as_me: error: Cannot find symbol(s) CPXgetstat with CPX" >&2;}
     23243
     23244fi
     23245
     23246# Define the Makefile conditional
     23247
     23248
     23249if test $coin_has_grb != notGiven &&
     23250                test $coin_has_grb != skipping; then
     23251  COIN_HAS_GRB_TRUE=
     23252  COIN_HAS_GRB_FALSE='#'
     23253else
     23254  COIN_HAS_GRB_TRUE='#'
     23255  COIN_HAS_GRB_FALSE=
     23256fi
     23257
     23258
     23259
     23260
     23261echo "$as_me:$LINENO: checking for COIN-OR module Msk" >&5
     23262echo $ECHO_N "checking for COIN-OR module Msk... $ECHO_C" >&6
     23263
     23264coin_has_msk=notGiven
     23265
     23266# check if user wants to skip module in any case
     23267if test x"$COIN_SKIP_PROJECTS" != x; then
     23268  for dir in $COIN_SKIP_PROJECTS; do
     23269    if test $dir = "Msk"; then
     23270      coin_has_msk=skipping
     23271    fi
     23272  done
     23273fi
     23274
     23275MSK_LIBS=
     23276MSK_CFLAGS=
     23277MSK_DATA=
     23278
     23279
     23280
     23281
     23282
     23283#check if user provided LIBS, CFLAGS, and DATA for module
     23284if test $coin_has_msk != skipping; then
     23285
     23286
     23287# Check whether --with-m4_tolower(Msk)-lib or --without-m4_tolower(Msk)-lib was given.
     23288if test "${with_msk_lib+set}" = set; then
     23289  withval="$with_msk_lib"
     23290  coin_has_msk=yes
     23291       MSK_LIBS="$withval"
     23292       ADDLIBS="$ADDLIBS $withval"
     23293
     23294fi;
     23295
     23296
     23297# Check whether --with-m4_tolower(Msk)-incdir or --without-m4_tolower(Msk)-incdir was given.
     23298if test "${with_msk_incdir+set}" = set; then
     23299  withval="$with_msk_incdir"
     23300  coin_has_msk=yes
     23301     MSK_CFLAGS="-I`${CYGPATH_W} $withval`"
     23302fi;
     23303
     23304
     23305# Check whether --with-m4_tolower(Msk)-datadir or --without-m4_tolower(Msk)-datadir was given.
     23306if test "${with_msk_datadir+set}" = set; then
     23307  withval="$with_msk_datadir"
     23308  coin_has_msk=yes
     23309     MSK_DATA="$withval"
     23310fi;
     23311fi
     23312
     23313if test $coin_has_msk = notGiven; then
     23314  if test -n "$PKG_CONFIG" ; then
     23315    # set search path for pkg-config
     23316    # need to export variable to be sure that the following pkg-config gets these values
     23317    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     23318    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     23319    export PKG_CONFIG_PATH
     23320
     23321    # let pkg-config do it's magic
     23322
     23323
     23324
     23325if test -n "$PKG_CONFIG" ; then
     23326  if $PKG_CONFIG --exists "osi-mosek"; then
     23327    MSK_VERSIONS="`$PKG_CONFIG --modversion osi-mosek 2>/dev/null`"
     23328     cflags=`$PKG_CONFIG --cflags "osi-mosek" 2>/dev/null`
     23329    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     23330        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     23331        # but only do this if is not trivial
     23332    if test "$CYGPATH_W" != "echo" ; then
     23333      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     23334          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23335        fi
     23336    MSK_CFLAGS="$cflags"
     23337    MSK_LIBS=`$PKG_CONFIG --libs "osi-mosek" 2>/dev/null`
     23338    MSK_DATA=`$PKG_CONFIG --variable=datadir "osi-mosek" 2>/dev/null`
     23339     coin_has_msk=yes
     23340        echo "$as_me:$LINENO: result: yes: $MSK_VERSIONS" >&5
     23341echo "${ECHO_T}yes: $MSK_VERSIONS" >&6
     23342        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-mosek"
     23343
     23344
     23345  else
     23346    MSK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-mosek`
     23347      coin_has_msk=notGiven
     23348        echo "$as_me:$LINENO: result: not given: $MSK_PKG_ERRORS" >&5
     23349echo "${ECHO_T}not given: $MSK_PKG_ERRORS" >&6
     23350
     23351  fi
     23352else
     23353  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Msk without pkg-config\"" >&5
     23354echo "$as_me: error: \"Cannot check for existance of module Msk without pkg-config\"" >&2;}
    2112723355   { (exit 1); exit 1; }; }
    21128            fi
    21129          fi
    21130 
    21131 
    21132 # If we make it this far, we've verified the file and linked the function. Add
    21133 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21134 # COIN_HAS_LBRY.
    21135 
    21136     ADDLIBS="$CPXLIB $ADDLIBS"
    21137 
    21138 cat >>confdefs.h <<\_ACEOF
    21139 #define COIN_HAS_CPX 1
    21140 _ACEOF
    21141 
    21142   fi
    21143 
    21144 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21145 # automake conditional. These actions must occur unconditionally.
    21146 
    21147 
    21148 
    21149 
    21150 
    21151 if test $coin_has_cpx = true; then
    21152   COIN_HAS_CPX_TRUE=
    21153   COIN_HAS_CPX_FALSE='#'
    21154 else
    21155   COIN_HAS_CPX_TRUE='#'
    21156   COIN_HAS_CPX_FALSE=
    21157 fi
    21158 
    21159 
    21160 
    21161   echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5
    21162 echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6
    21163 
    21164 # Check for header file directory
    21165 
    21166 
    21167 # Check whether --with-fortmp-incdir or --without-fortmp-incdir was given.
    21168 if test "${with_fortmp_incdir+set}" = set; then
    21169   withval="$with_fortmp_incdir"
    21170   FMPINCDIR=`cd $withval; pwd`
    21171 fi;
    21172 
    21173 # Check for library directory
    21174 
    21175 
    21176 # Check whether --with-fortmp-lib or --without-fortmp-lib was given.
    21177 if test "${with_fortmp_lib+set}" = set; then
    21178   withval="$with_fortmp_lib"
    21179   FMPLIB=$withval
    21180 fi;
    21181 
    21182 # Switch to disable library check if requested
    21183 
    21184   # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given.
    21185 if test "${enable_fortmp_libcheck+set}" = set; then
    21186   enableval="$enable_fortmp_libcheck"
    21187   fortmp_libcheck=$enableval
    21188 else
    21189   fortmp_libcheck=yes
    21190 fi;
    21191 
    21192 # At this point, if we're going to use the library, both LBRYINCDIR and
    21193 # LBRYLIB must be defined and not empty.
    21194 
    21195   if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then
    21196     if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then
    21197       { { 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
    21198 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;}
    21199    { (exit 1); exit 1; }; }
    21200     fi
    21201     coin_has_fmp=true
    21202     echo "$as_me:$LINENO: result: yes" >&5
    21203 echo "${ECHO_T}yes" >&6
     23356fi
     23357
     23358
     23359
     23360
     23361    # reset PKG_CONFIG_PATH variable
     23362    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    2120423363  else
    21205     coin_has_fmp=false
    21206     echo "$as_me:$LINENO: result: no" >&5
    21207 echo "${ECHO_T}no" >&6
    21208   fi
    21209 
    21210 # If we have instructions for use, consider header and link checks.
    21211 
    21212   if test $coin_has_fmp = true; then
    21213 
    21214 # If argument 3 (file) is given, check for the file. Typically this will be a
    21215 # header file, but that's not assumed.
    21216 
    21217 
    21218 
    21219 # Now see if we can link the function. There are arguments for and against
    21220 # assuming argument 3 is a header file declaring the function. A correct
    21221 # function declaration is the main argument in favour. Having to cope with
    21222 # possible dependencies or other oddities are the main arguments against.
    21223 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21224 # Obviously, this has limits.
    21225 
    21226 
    21227 
    21228 # If we make it this far, we've verified the file and linked the function. Add
    21229 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21230 # COIN_HAS_LBRY.
    21231 
    21232     ADDLIBS="$FMPLIB $ADDLIBS"
    21233 
    21234 cat >>confdefs.h <<\_ACEOF
    21235 #define COIN_HAS_FMP 1
    21236 _ACEOF
    21237 
    21238   fi
    21239 
    21240 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21241 # automake conditional. These actions must occur unconditionally.
    21242 
    21243 
    21244 
    21245 
    21246 
    21247 if test $coin_has_fmp = true; then
    21248   COIN_HAS_FMP_TRUE=
    21249   COIN_HAS_FMP_FALSE='#'
    21250 else
    21251   COIN_HAS_FMP_TRUE='#'
    21252   COIN_HAS_FMP_FALSE=
    21253 fi
    21254 
    21255   #ToDo! is Fortran?
    21256 
    21257   echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5
    21258 echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6
    21259 
    21260 # Check for header file directory
    21261 
    21262 
    21263 # Check whether --with-mosek-incdir or --without-mosek-incdir was given.
    21264 if test "${with_mosek_incdir+set}" = set; then
    21265   withval="$with_mosek_incdir"
    21266   MSKINCDIR=`cd $withval; pwd`
    21267 fi;
    21268 
    21269 # Check for library directory
    21270 
    21271 
    21272 # Check whether --with-mosek-lib or --without-mosek-lib was given.
    21273 if test "${with_mosek_lib+set}" = set; then
    21274   withval="$with_mosek_lib"
    21275   MSKLIB=$withval
    21276 fi;
    21277 
    21278 # Switch to disable library check if requested
    21279 
    21280   # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given.
    21281 if test "${enable_mosek_libcheck+set}" = set; then
    21282   enableval="$enable_mosek_libcheck"
    21283   mosek_libcheck=$enableval
    21284 else
    21285   mosek_libcheck=yes
    21286 fi;
    21287 
    21288 # At this point, if we're going to use the library, both LBRYINCDIR and
    21289 # LBRYLIB must be defined and not empty.
    21290 
    21291   if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then
    21292     if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then
    21293       { { 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
    21294 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;}
    21295    { (exit 1); exit 1; }; }
    21296     fi
    21297     coin_has_msk=true
    21298     echo "$as_me:$LINENO: result: yes" >&5
    21299 echo "${ECHO_T}yes" >&6
    21300   else
    21301     coin_has_msk=false
    21302     echo "$as_me:$LINENO: result: no" >&5
    21303 echo "${ECHO_T}no" >&6
    21304   fi
    21305 
    21306 # If we have instructions for use, consider header and link checks.
    21307 
    21308   if test $coin_has_msk = true; then
    21309 
    21310 # If argument 3 (file) is given, check for the file. Typically this will be a
    21311 # header file, but that's not assumed.
    21312 
    21313     if test -r $MSKINCDIR/mosek.h; then
    21314 
    21315   :
    21316 else
    21317   { { echo "$as_me:$LINENO: error: Cannot find file mosek.h in $MSKINCDIR" >&5
    21318 echo "$as_me: error: Cannot find file mosek.h in $MSKINCDIR" >&2;}
    21319    { (exit 1); exit 1; }; }
    21320   :
    21321 fi
    21322 
    21323 
    21324 # Now see if we can link the function. There are arguments for and against
    21325 # assuming argument 3 is a header file declaring the function. A correct
    21326 # function declaration is the main argument in favour. Having to cope with
    21327 # possible dependencies or other oddities are the main arguments against.
    21328 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21329 # Obviously, this has limits.
    21330 
    21331     if test x"$mosek_libcheck" != xno; then
    21332            coin_save_LIBS="$LIBS"
    21333            LIBS="$MSKLIB $ADDLIBS"
    21334            coin_MSK_link=no
    21335            ac_ext=c
    21336 ac_cpp='$CPP $CPPFLAGS'
    21337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21340 
    21341            for fnm in MSK_openmosek ; do
    21342              echo "$as_me:$LINENO: checking whether symbol $fnm is available with MSK" >&5
    21343 echo $ECHO_N "checking whether symbol $fnm is available with MSK... $ECHO_C" >&6
    21344              cat >conftest.$ac_ext <<_ACEOF
    21345 /* confdefs.h.  */
    21346 _ACEOF
    21347 cat confdefs.h >>conftest.$ac_ext
    21348 cat >>conftest.$ac_ext <<_ACEOF
    21349 /* end confdefs.h.  */
    21350 
    21351 int
    21352 main ()
    21353 {
    21354 $fnm()
    21355   ;
    21356   return 0;
    21357 }
    21358 _ACEOF
    21359 rm -f conftest.$ac_objext conftest$ac_exeext
    21360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21361   (eval $ac_link) 2>conftest.er1
    21362   ac_status=$?
    21363   grep -v '^ *+' conftest.er1 >conftest.err
    21364   rm -f conftest.er1
    21365   cat conftest.err >&5
    21366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21367   (exit $ac_status); } &&
    21368          { ac_try='test -z "$ac_c_werror_flag"
    21369                          || test ! -s conftest.err'
    21370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21371   (eval $ac_try) 2>&5
    21372   ac_status=$?
    21373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21374   (exit $ac_status); }; } &&
    21375          { ac_try='test -s conftest$ac_exeext'
    21376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21377   (eval $ac_try) 2>&5
    21378   ac_status=$?
    21379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21380   (exit $ac_status); }; }; then
    21381   echo "$as_me:$LINENO: result: yes" >&5
    21382 echo "${ECHO_T}yes" >&6
    21383                   coin_MSK_link=yes
    21384                   break
    21385 else
    21386   echo "$as_me: failed program was:" >&5
    21387 sed 's/^/| /' conftest.$ac_ext >&5
    21388 
    21389 echo "$as_me:$LINENO: result: no" >&5
    21390 echo "${ECHO_T}no" >&6
    21391 fi
    21392 rm -f conftest.err conftest.$ac_objext \
    21393       conftest$ac_exeext conftest.$ac_ext
    21394            done
    21395            ac_ext=c
    21396 ac_cpp='$CPP $CPPFLAGS'
    21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21400 
    21401            if test x"$coin_MSK_link" = xyes ; then
    21402              LIBS="$coin_save_LIBS"
    21403            else
    21404              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) MSK_openmosek with MSK" >&5
    21405 echo "$as_me: error: Cannot find symbol(s) MSK_openmosek with MSK" >&2;}
    21406    { (exit 1); exit 1; }; }
    21407            fi
    21408          fi
    21409 
    21410 
    21411 # If we make it this far, we've verified the file and linked the function. Add
    21412 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21413 # COIN_HAS_LBRY.
    21414 
    21415     ADDLIBS="$MSKLIB $ADDLIBS"
     23364    #if 4th argument is given, try fallback - whereby we take the first word from osi-mosek as basename for the .pc file
     23365    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     23366echo "${ECHO_T}skipped check via pkg-config" >&6
     23367
     23368  fi
     23369
     23370else
     23371  echo "$as_me:$LINENO: result: $coin_has_msk" >&5
     23372echo "${ECHO_T}$coin_has_msk" >&6
     23373fi
     23374
     23375if test $coin_has_msk != skipping &&
     23376   test $coin_has_msk != notGiven ; then
     23377  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     23378  if test -n "$MSK_CFLAGS" ; then
     23379    { echo "$as_me:$LINENO: Msk CFLAGS are $MSK_CFLAGS" >&5
     23380echo "$as_me: Msk CFLAGS are $MSK_CFLAGS" >&6;}
     23381  fi
     23382  if test -n "$MSK_LIBS" ; then
     23383    { echo "$as_me:$LINENO: Msk LIBS   are $MSK_LIBS" >&5
     23384echo "$as_me: Msk LIBS   are $MSK_LIBS" >&6;}
     23385  fi
     23386  if test -n "$MSK_DATA" ; then
     23387    { echo "$as_me:$LINENO: Msk DATA   is  $MSK_DATA" >&5
     23388echo "$as_me: Msk DATA   is  $MSK_DATA" >&6;}
     23389  fi
     23390  fi
    2141623391
    2141723392cat >>confdefs.h <<\_ACEOF
     
    2141923394_ACEOF
    2142023395
    21421   fi
    21422 
    21423 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21424 # automake conditional. These actions must occur unconditionally.
    21425 
    21426 
    21427 
    21428 
    21429 
    21430 if test $coin_has_msk = true; then
     23396fi
     23397
     23398# Define the Makefile conditional
     23399
     23400
     23401if test $coin_has_msk != notGiven &&
     23402                test $coin_has_msk != skipping; then
    2143123403  COIN_HAS_MSK_TRUE=
    2143223404  COIN_HAS_MSK_FALSE='#'
     
    2143823410
    2143923411
    21440   echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
    21441 echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
    21442 
    21443 # Check for header file directory
    21444 
    21445 
    21446 # Check whether --with-osl-incdir or --without-osl-incdir was given.
    21447 if test "${with_osl_incdir+set}" = set; then
    21448   withval="$with_osl_incdir"
    21449   OSLINCDIR=`cd $withval; pwd`
     23412#AC_COIN_HAS_MODULE(Spx,  [osi-soplex])
     23413
     23414echo "$as_me:$LINENO: checking for COIN-OR module Xpr" >&5
     23415echo $ECHO_N "checking for COIN-OR module Xpr... $ECHO_C" >&6
     23416
     23417coin_has_xpr=notGiven
     23418
     23419# check if user wants to skip module in any case
     23420if test x"$COIN_SKIP_PROJECTS" != x; then
     23421  for dir in $COIN_SKIP_PROJECTS; do
     23422    if test $dir = "Xpr"; then
     23423      coin_has_xpr=skipping
     23424    fi
     23425  done
     23426fi
     23427
     23428XPR_LIBS=
     23429XPR_CFLAGS=
     23430XPR_DATA=
     23431
     23432
     23433
     23434
     23435
     23436#check if user provided LIBS, CFLAGS, and DATA for module
     23437if test $coin_has_xpr != skipping; then
     23438
     23439
     23440# Check whether --with-m4_tolower(Xpr)-lib or --without-m4_tolower(Xpr)-lib was given.
     23441if test "${with_xpr_lib+set}" = set; then
     23442  withval="$with_xpr_lib"
     23443  coin_has_xpr=yes
     23444       XPR_LIBS="$withval"
     23445       ADDLIBS="$ADDLIBS $withval"
     23446
    2145023447fi;
    2145123448
    21452 # Check for library directory
    21453 
    21454 
    21455 # Check whether --with-osl-lib or --without-osl-lib was given.
    21456 if test "${with_osl_lib+set}" = set; then
    21457   withval="$with_osl_lib"
    21458   OSLLIB=$withval
     23449
     23450# Check whether --with-m4_tolower(Xpr)-incdir or --without-m4_tolower(Xpr)-incdir was given.
     23451if test "${with_xpr_incdir+set}" = set; then
     23452  withval="$with_xpr_incdir"
     23453  coin_has_xpr=yes
     23454     XPR_CFLAGS="-I`${CYGPATH_W} $withval`"
    2145923455fi;
    2146023456
    21461 # Switch to disable library check if requested
    21462 
    21463   # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
    21464 if test "${enable_osl_libcheck+set}" = set; then
    21465   enableval="$enable_osl_libcheck"
    21466   osl_libcheck=$enableval
    21467 else
    21468   osl_libcheck=yes
     23457
     23458# Check whether --with-m4_tolower(Xpr)-datadir or --without-m4_tolower(Xpr)-datadir was given.
     23459if test "${with_xpr_datadir+set}" = set; then
     23460  withval="$with_xpr_datadir"
     23461  coin_has_xpr=yes
     23462     XPR_DATA="$withval"
    2146923463fi;
    21470 
    21471 # At this point, if we're going to use the library, both LBRYINCDIR and
    21472 # LBRYLIB must be defined and not empty.
    21473 
    21474   if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
    21475     if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
    21476       { { 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
    21477 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;}
     23464fi
     23465
     23466if test $coin_has_xpr = notGiven; then
     23467  if test -n "$PKG_CONFIG" ; then
     23468    # set search path for pkg-config
     23469    # need to export variable to be sure that the following pkg-config gets these values
     23470    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     23471    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     23472    export PKG_CONFIG_PATH
     23473
     23474    # let pkg-config do it's magic
     23475
     23476
     23477
     23478if test -n "$PKG_CONFIG" ; then
     23479  if $PKG_CONFIG --exists "osi-xpress"; then
     23480    XPR_VERSIONS="`$PKG_CONFIG --modversion osi-xpress 2>/dev/null`"
     23481     cflags=`$PKG_CONFIG --cflags "osi-xpress" 2>/dev/null`
     23482    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     23483        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     23484        # but only do this if is not trivial
     23485    if test "$CYGPATH_W" != "echo" ; then
     23486      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     23487          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23488        fi
     23489    XPR_CFLAGS="$cflags"
     23490    XPR_LIBS=`$PKG_CONFIG --libs "osi-xpress" 2>/dev/null`
     23491    XPR_DATA=`$PKG_CONFIG --variable=datadir "osi-xpress" 2>/dev/null`
     23492     coin_has_xpr=yes
     23493        echo "$as_me:$LINENO: result: yes: $XPR_VERSIONS" >&5
     23494echo "${ECHO_T}yes: $XPR_VERSIONS" >&6
     23495        REQUIREDPACKAGES="$REQUIREDPACKAGES osi-xpress"
     23496
     23497
     23498  else
     23499    XPR_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-xpress`
     23500      coin_has_xpr=notGiven
     23501        echo "$as_me:$LINENO: result: not given: $XPR_PKG_ERRORS" >&5
     23502echo "${ECHO_T}not given: $XPR_PKG_ERRORS" >&6
     23503
     23504  fi
     23505else
     23506  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Xpr without pkg-config\"" >&5
     23507echo "$as_me: error: \"Cannot check for existance of module Xpr without pkg-config\"" >&2;}
    2147823508   { (exit 1); exit 1; }; }
    21479     fi
    21480     coin_has_osl=true
    21481     echo "$as_me:$LINENO: result: yes" >&5
    21482 echo "${ECHO_T}yes" >&6
     23509fi
     23510
     23511
     23512
     23513
     23514    # reset PKG_CONFIG_PATH variable
     23515    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    2148323516  else
    21484     coin_has_osl=false
    21485     echo "$as_me:$LINENO: result: no" >&5
    21486 echo "${ECHO_T}no" >&6
    21487   fi
    21488 
    21489 # If we have instructions for use, consider header and link checks.
    21490 
    21491   if test $coin_has_osl = true; then
    21492 
    21493 # If argument 3 (file) is given, check for the file. Typically this will be a
    21494 # header file, but that's not assumed.
    21495 
    21496     if test -r $OSLINCDIR/ekk_c_api.h; then
    21497 
    21498   :
    21499 else
    21500   { { echo "$as_me:$LINENO: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&5
    21501 echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;}
    21502    { (exit 1); exit 1; }; }
    21503   :
    21504 fi
    21505 
    21506 
    21507 # Now see if we can link the function. There are arguments for and against
    21508 # assuming argument 3 is a header file declaring the function. A correct
    21509 # function declaration is the main argument in favour. Having to cope with
    21510 # possible dependencies or other oddities are the main arguments against.
    21511 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21512 # Obviously, this has limits.
    21513 
    21514     if test x"$osl_libcheck" != xno; then
    21515            coin_save_LIBS="$LIBS"
    21516            LIBS="$OSLLIB $ADDLIBS"
    21517            coin_OSL_link=no
    21518            ac_ext=c
    21519 ac_cpp='$CPP $CPPFLAGS'
    21520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21523 
    21524            for fnm in ekk_simplex ; do
    21525              echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5
    21526 echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6
    21527              cat >conftest.$ac_ext <<_ACEOF
    21528 /* confdefs.h.  */
    21529 _ACEOF
    21530 cat confdefs.h >>conftest.$ac_ext
    21531 cat >>conftest.$ac_ext <<_ACEOF
    21532 /* end confdefs.h.  */
    21533 
    21534 int
    21535 main ()
    21536 {
    21537 $fnm()
    21538   ;
    21539   return 0;
    21540 }
    21541 _ACEOF
    21542 rm -f conftest.$ac_objext conftest$ac_exeext
    21543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21544   (eval $ac_link) 2>conftest.er1
    21545   ac_status=$?
    21546   grep -v '^ *+' conftest.er1 >conftest.err
    21547   rm -f conftest.er1
    21548   cat conftest.err >&5
    21549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21550   (exit $ac_status); } &&
    21551          { ac_try='test -z "$ac_c_werror_flag"
    21552                          || test ! -s conftest.err'
    21553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21554   (eval $ac_try) 2>&5
    21555   ac_status=$?
    21556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21557   (exit $ac_status); }; } &&
    21558          { ac_try='test -s conftest$ac_exeext'
    21559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21560   (eval $ac_try) 2>&5
    21561   ac_status=$?
    21562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21563   (exit $ac_status); }; }; then
    21564   echo "$as_me:$LINENO: result: yes" >&5
    21565 echo "${ECHO_T}yes" >&6
    21566                   coin_OSL_link=yes
    21567                   break
    21568 else
    21569   echo "$as_me: failed program was:" >&5
    21570 sed 's/^/| /' conftest.$ac_ext >&5
    21571 
    21572 echo "$as_me:$LINENO: result: no" >&5
    21573 echo "${ECHO_T}no" >&6
    21574 fi
    21575 rm -f conftest.err conftest.$ac_objext \
    21576       conftest$ac_exeext conftest.$ac_ext
    21577            done
    21578            ac_ext=c
    21579 ac_cpp='$CPP $CPPFLAGS'
    21580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21583 
    21584            if test x"$coin_OSL_link" = xyes ; then
    21585              LIBS="$coin_save_LIBS"
    21586            else
    21587              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5
    21588 echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;}
    21589    { (exit 1); exit 1; }; }
    21590            fi
    21591          fi
    21592 
    21593 
    21594 # If we make it this far, we've verified the file and linked the function. Add
    21595 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21596 # COIN_HAS_LBRY.
    21597 
    21598     ADDLIBS="$OSLLIB $ADDLIBS"
    21599 
    21600 cat >>confdefs.h <<\_ACEOF
    21601 #define COIN_HAS_OSL 1
    21602 _ACEOF
    21603 
    21604   fi
    21605 
    21606 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21607 # automake conditional. These actions must occur unconditionally.
    21608 
    21609 
    21610 
    21611 
    21612 
    21613 if test $coin_has_osl = true; then
    21614   COIN_HAS_OSL_TRUE=
    21615   COIN_HAS_OSL_FALSE='#'
    21616 else
    21617   COIN_HAS_OSL_TRUE='#'
    21618   COIN_HAS_OSL_FALSE=
    21619 fi
    21620 
    21621 
    21622 
    21623   echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
    21624 echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
    21625 
    21626 # Check for header file directory
    21627 
    21628 
    21629 # Check whether --with-soplex-incdir or --without-soplex-incdir was given.
    21630 if test "${with_soplex_incdir+set}" = set; then
    21631   withval="$with_soplex_incdir"
    21632   SPXINCDIR=`cd $withval; pwd`
    21633 fi;
    21634 
    21635 # Check for library directory
    21636 
    21637 
    21638 # Check whether --with-soplex-lib or --without-soplex-lib was given.
    21639 if test "${with_soplex_lib+set}" = set; then
    21640   withval="$with_soplex_lib"
    21641   SPXLIB=$withval
    21642 fi;
    21643 
    21644 # Switch to disable library check if requested
    21645 
    21646   # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
    21647 if test "${enable_soplex_libcheck+set}" = set; then
    21648   enableval="$enable_soplex_libcheck"
    21649   soplex_libcheck=$enableval
    21650 else
    21651   soplex_libcheck=yes
    21652 fi;
    21653 
    21654 # At this point, if we're going to use the library, both LBRYINCDIR and
    21655 # LBRYLIB must be defined and not empty.
    21656 
    21657   if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
    21658     if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
    21659       { { 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
    21660 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;}
    21661    { (exit 1); exit 1; }; }
    21662     fi
    21663     coin_has_spx=true
    21664     echo "$as_me:$LINENO: result: yes" >&5
    21665 echo "${ECHO_T}yes" >&6
    21666   else
    21667     coin_has_spx=false
    21668     echo "$as_me:$LINENO: result: no" >&5
    21669 echo "${ECHO_T}no" >&6
    21670   fi
    21671 
    21672 # If we have instructions for use, consider header and link checks.
    21673 
    21674   if test $coin_has_spx = true; then
    21675 
    21676 # If argument 3 (file) is given, check for the file. Typically this will be a
    21677 # header file, but that's not assumed.
    21678 
    21679     if test -r $SPXINCDIR/spxsolver.h; then
    21680 
    21681   :
    21682 else
    21683   { { echo "$as_me:$LINENO: error: Cannot find file spxsolver.h in $SPXINCDIR" >&5
    21684 echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;}
    21685    { (exit 1); exit 1; }; }
    21686   :
    21687 fi
    21688 
    21689 
    21690 # Now see if we can link the function. There are arguments for and against
    21691 # assuming argument 3 is a header file declaring the function. A correct
    21692 # function declaration is the main argument in favour. Having to cope with
    21693 # possible dependencies or other oddities are the main arguments against.
    21694 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21695 # Obviously, this has limits.
    21696 
    21697 
    21698 
    21699 # If we make it this far, we've verified the file and linked the function. Add
    21700 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21701 # COIN_HAS_LBRY.
    21702 
    21703     ADDLIBS="$SPXLIB $ADDLIBS"
    21704 
    21705 cat >>confdefs.h <<\_ACEOF
    21706 #define COIN_HAS_SPX 1
    21707 _ACEOF
    21708 
    21709   fi
    21710 
    21711 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21712 # automake conditional. These actions must occur unconditionally.
    21713 
    21714 
    21715 
    21716 
    21717 
    21718 if test $coin_has_spx = true; then
    21719   COIN_HAS_SPX_TRUE=
    21720   COIN_HAS_SPX_FALSE='#'
    21721 else
    21722   COIN_HAS_SPX_TRUE='#'
    21723   COIN_HAS_SPX_FALSE=
    21724 fi
    21725 
    21726  # ToDo
    21727 
    21728   echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
    21729 echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
    21730 
    21731 # Check for header file directory
    21732 
    21733 
    21734 # Check whether --with-xpress-incdir or --without-xpress-incdir was given.
    21735 if test "${with_xpress_incdir+set}" = set; then
    21736   withval="$with_xpress_incdir"
    21737   XPRINCDIR=`cd $withval; pwd`
    21738 fi;
    21739 
    21740 # Check for library directory
    21741 
    21742 
    21743 # Check whether --with-xpress-lib or --without-xpress-lib was given.
    21744 if test "${with_xpress_lib+set}" = set; then
    21745   withval="$with_xpress_lib"
    21746   XPRLIB=$withval
    21747 fi;
    21748 
    21749 # Switch to disable library check if requested
    21750 
    21751   # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
    21752 if test "${enable_xpress_libcheck+set}" = set; then
    21753   enableval="$enable_xpress_libcheck"
    21754   xpress_libcheck=$enableval
    21755 else
    21756   xpress_libcheck=yes
    21757 fi;
    21758 
    21759 # At this point, if we're going to use the library, both LBRYINCDIR and
    21760 # LBRYLIB must be defined and not empty.
    21761 
    21762   if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
    21763     if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
    21764       { { 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
    21765 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;}
    21766    { (exit 1); exit 1; }; }
    21767     fi
    21768     coin_has_xpr=true
    21769     echo "$as_me:$LINENO: result: yes" >&5
    21770 echo "${ECHO_T}yes" >&6
    21771   else
    21772     coin_has_xpr=false
    21773     echo "$as_me:$LINENO: result: no" >&5
    21774 echo "${ECHO_T}no" >&6
    21775   fi
    21776 
    21777 # If we have instructions for use, consider header and link checks.
    21778 
    21779   if test $coin_has_xpr = true; then
    21780 
    21781 # If argument 3 (file) is given, check for the file. Typically this will be a
    21782 # header file, but that's not assumed.
    21783 
    21784     if test -r $XPRINCDIR/xprs.h; then
    21785 
    21786   :
    21787 else
    21788   { { echo "$as_me:$LINENO: error: Cannot find file xprs.h in $XPRINCDIR" >&5
    21789 echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;}
    21790    { (exit 1); exit 1; }; }
    21791   :
    21792 fi
    21793 
    21794 
    21795 # Now see if we can link the function. There are arguments for and against
    21796 # assuming argument 3 is a header file declaring the function. A correct
    21797 # function declaration is the main argument in favour. Having to cope with
    21798 # possible dependencies or other oddities are the main arguments against.
    21799 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21800 # Obviously, this has limits.
    21801 
    21802     if test x"$xpress_libcheck" != xno; then
    21803            coin_save_LIBS="$LIBS"
    21804            LIBS="$XPRLIB $ADDLIBS"
    21805            coin_XPR_link=no
    21806            ac_ext=c
    21807 ac_cpp='$CPP $CPPFLAGS'
    21808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21811 
    21812            for fnm in XPRSsetintcontrol ; do
    21813              echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5
    21814 echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6
    21815              cat >conftest.$ac_ext <<_ACEOF
    21816 /* confdefs.h.  */
    21817 _ACEOF
    21818 cat confdefs.h >>conftest.$ac_ext
    21819 cat >>conftest.$ac_ext <<_ACEOF
    21820 /* end confdefs.h.  */
    21821 
    21822 int
    21823 main ()
    21824 {
    21825 $fnm()
    21826   ;
    21827   return 0;
    21828 }
    21829 _ACEOF
    21830 rm -f conftest.$ac_objext conftest$ac_exeext
    21831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21832   (eval $ac_link) 2>conftest.er1
    21833   ac_status=$?
    21834   grep -v '^ *+' conftest.er1 >conftest.err
    21835   rm -f conftest.er1
    21836   cat conftest.err >&5
    21837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21838   (exit $ac_status); } &&
    21839          { ac_try='test -z "$ac_c_werror_flag"
    21840                          || test ! -s conftest.err'
    21841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21842   (eval $ac_try) 2>&5
    21843   ac_status=$?
    21844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21845   (exit $ac_status); }; } &&
    21846          { ac_try='test -s conftest$ac_exeext'
    21847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21848   (eval $ac_try) 2>&5
    21849   ac_status=$?
    21850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21851   (exit $ac_status); }; }; then
    21852   echo "$as_me:$LINENO: result: yes" >&5
    21853 echo "${ECHO_T}yes" >&6
    21854                   coin_XPR_link=yes
    21855                   break
    21856 else
    21857   echo "$as_me: failed program was:" >&5
    21858 sed 's/^/| /' conftest.$ac_ext >&5
    21859 
    21860 echo "$as_me:$LINENO: result: no" >&5
    21861 echo "${ECHO_T}no" >&6
    21862 fi
    21863 rm -f conftest.err conftest.$ac_objext \
    21864       conftest$ac_exeext conftest.$ac_ext
    21865            done
    21866            ac_ext=c
    21867 ac_cpp='$CPP $CPPFLAGS'
    21868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21871 
    21872            if test x"$coin_XPR_link" = xyes ; then
    21873              LIBS="$coin_save_LIBS"
    21874            else
    21875              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5
    21876 echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;}
    21877    { (exit 1); exit 1; }; }
    21878            fi
    21879          fi
    21880 
    21881 
    21882 # If we make it this far, we've verified the file and linked the function. Add
    21883 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21884 # COIN_HAS_LBRY.
    21885 
    21886     ADDLIBS="$XPRLIB $ADDLIBS"
     23517    #if 4th argument is given, try fallback - whereby we take the first word from osi-xpress as basename for the .pc file
     23518    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     23519echo "${ECHO_T}skipped check via pkg-config" >&6
     23520
     23521  fi
     23522
     23523else
     23524  echo "$as_me:$LINENO: result: $coin_has_xpr" >&5
     23525echo "${ECHO_T}$coin_has_xpr" >&6
     23526fi
     23527
     23528if test $coin_has_xpr != skipping &&
     23529   test $coin_has_xpr != notGiven ; then
     23530  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     23531  if test -n "$XPR_CFLAGS" ; then
     23532    { echo "$as_me:$LINENO: Xpr CFLAGS are $XPR_CFLAGS" >&5
     23533echo "$as_me: Xpr CFLAGS are $XPR_CFLAGS" >&6;}
     23534  fi
     23535  if test -n "$XPR_LIBS" ; then
     23536    { echo "$as_me:$LINENO: Xpr LIBS   are $XPR_LIBS" >&5
     23537echo "$as_me: Xpr LIBS   are $XPR_LIBS" >&6;}
     23538  fi
     23539  if test -n "$XPR_DATA" ; then
     23540    { echo "$as_me:$LINENO: Xpr DATA   is  $XPR_DATA" >&5
     23541echo "$as_me: Xpr DATA   is  $XPR_DATA" >&6;}
     23542  fi
     23543  fi
    2188723544
    2188823545cat >>confdefs.h <<\_ACEOF
     
    2189023547_ACEOF
    2189123548
    21892   fi
    21893 
    21894 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21895 # automake conditional. These actions must occur unconditionally.
    21896 
    21897 
    21898 
    21899 
    21900 
    21901 if test $coin_has_xpr = true; then
     23549fi
     23550
     23551# Define the Makefile conditional
     23552
     23553
     23554if test $coin_has_xpr != notGiven &&
     23555                test $coin_has_xpr != skipping; then
    2190223556  COIN_HAS_XPR_TRUE=
    2190323557  COIN_HAS_XPR_FALSE='#'
     
    2190523559  COIN_HAS_XPR_TRUE='#'
    2190623560  COIN_HAS_XPR_FALSE=
    21907 fi
    21908 
    21909 
    21910 
    21911 
    21912 if test "$PACKAGE_NAME" = ThirdPartyGlpk; then
    21913   coin_glpkobjdir=../Glpk
    21914 else
    21915   coin_glpkobjdir=../ThirdParty/Glpk
    21916 fi
    21917 coin_glpksrcdir=$abs_source_dir/$coin_glpkobjdir
    21918 
    21919 use_thirdpartyglpk=no
    21920 
    21921 # Check for the requested component. If the user specified an external glpk
    21922 # library don't force a ThirdParty build, let the error propagate.
    21923 
    21924 
    21925   echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
    21926 echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6
    21927 
    21928 # Check for header file directory
    21929 
    21930 
    21931 # Check whether --with-glpk-incdir or --without-glpk-incdir was given.
    21932 if test "${with_glpk_incdir+set}" = set; then
    21933   withval="$with_glpk_incdir"
    21934   GLPKINCDIR=`cd $withval; pwd`
    21935 fi;
    21936 
    21937 # Check for library directory
    21938 
    21939 
    21940 # Check whether --with-glpk-lib or --without-glpk-lib was given.
    21941 if test "${with_glpk_lib+set}" = set; then
    21942   withval="$with_glpk_lib"
    21943   GLPKLIB=$withval
    21944 fi;
    21945 
    21946 # Switch to disable library check if requested
    21947 
    21948   # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
    21949 if test "${enable_glpk_libcheck+set}" = set; then
    21950   enableval="$enable_glpk_libcheck"
    21951   glpk_libcheck=$enableval
    21952 else
    21953   glpk_libcheck=yes
    21954 fi;
    21955 
    21956 # At this point, if we're going to use the library, both LBRYINCDIR and
    21957 # LBRYLIB must be defined and not empty.
    21958 
    21959   if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
    21960     if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
    21961       { { 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
    21962 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;}
    21963    { (exit 1); exit 1; }; }
    21964     fi
    21965     coin_has_glpk=true
    21966     echo "$as_me:$LINENO: result: yes" >&5
    21967 echo "${ECHO_T}yes" >&6
    21968   else
    21969     coin_has_glpk=false
    21970     echo "$as_me:$LINENO: result: no" >&5
    21971 echo "${ECHO_T}no" >&6
    21972   fi
    21973 
    21974 # If we have instructions for use, consider header and link checks.
    21975 
    21976   if test $coin_has_glpk = true; then
    21977 
    21978 # If argument 3 (file) is given, check for the file. Typically this will be a
    21979 # header file, but that's not assumed.
    21980 
    21981     if test -r $GLPKINCDIR/glpk.h; then
    21982 
    21983   :
    21984 else
    21985   { { echo "$as_me:$LINENO: error: Cannot find file glpk.h in $GLPKINCDIR" >&5
    21986 echo "$as_me: error: Cannot find file glpk.h in $GLPKINCDIR" >&2;}
    21987    { (exit 1); exit 1; }; }
    21988   :
    21989 fi
    21990 
    21991 
    21992 # Now see if we can link the function. There are arguments for and against
    21993 # assuming argument 3 is a header file declaring the function. A correct
    21994 # function declaration is the main argument in favour. Having to cope with
    21995 # possible dependencies or other oddities are the main arguments against.
    21996 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21997 # Obviously, this has limits.
    21998 
    21999     if test x"$glpk_libcheck" != xno; then
    22000            coin_save_LIBS="$LIBS"
    22001            LIBS="$GLPKLIB $ADDLIBS"
    22002            coin_GLPK_link=no
    22003            ac_ext=c
    22004 ac_cpp='$CPP $CPPFLAGS'
    22005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22008 
    22009            for fnm in _glp_lpx_simplex glp_lpx_simplex ; do
    22010              echo "$as_me:$LINENO: checking whether symbol $fnm is available with GLPK" >&5
    22011 echo $ECHO_N "checking whether symbol $fnm is available with GLPK... $ECHO_C" >&6
    22012              cat >conftest.$ac_ext <<_ACEOF
    22013 /* confdefs.h.  */
    22014 _ACEOF
    22015 cat confdefs.h >>conftest.$ac_ext
    22016 cat >>conftest.$ac_ext <<_ACEOF
    22017 /* end confdefs.h.  */
    22018 
    22019 int
    22020 main ()
    22021 {
    22022 $fnm()
    22023   ;
    22024   return 0;
    22025 }
    22026 _ACEOF
    22027 rm -f conftest.$ac_objext conftest$ac_exeext
    22028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22029   (eval $ac_link) 2>conftest.er1
    22030   ac_status=$?
    22031   grep -v '^ *+' conftest.er1 >conftest.err
    22032   rm -f conftest.er1
    22033   cat conftest.err >&5
    22034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22035   (exit $ac_status); } &&
    22036          { ac_try='test -z "$ac_c_werror_flag"
    22037                          || test ! -s conftest.err'
    22038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22039   (eval $ac_try) 2>&5
    22040   ac_status=$?
    22041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22042   (exit $ac_status); }; } &&
    22043          { ac_try='test -s conftest$ac_exeext'
    22044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22045   (eval $ac_try) 2>&5
    22046   ac_status=$?
    22047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22048   (exit $ac_status); }; }; then
    22049   echo "$as_me:$LINENO: result: yes" >&5
    22050 echo "${ECHO_T}yes" >&6
    22051                   coin_GLPK_link=yes
    22052                   break
    22053 else
    22054   echo "$as_me: failed program was:" >&5
    22055 sed 's/^/| /' conftest.$ac_ext >&5
    22056 
    22057 echo "$as_me:$LINENO: result: no" >&5
    22058 echo "${ECHO_T}no" >&6
    22059 fi
    22060 rm -f conftest.err conftest.$ac_objext \
    22061       conftest$ac_exeext conftest.$ac_ext
    22062            done
    22063            ac_ext=c
    22064 ac_cpp='$CPP $CPPFLAGS'
    22065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22068 
    22069            if test x"$coin_GLPK_link" = xyes ; then
    22070              LIBS="$coin_save_LIBS"
    22071            else
    22072              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) _glp_lpx_simplex glp_lpx_simplex with GLPK" >&5
    22073 echo "$as_me: error: Cannot find symbol(s) _glp_lpx_simplex glp_lpx_simplex with GLPK" >&2;}
    22074    { (exit 1); exit 1; }; }
    22075            fi
    22076          fi
    22077 
    22078 
    22079 # If we make it this far, we've verified the file and linked the function. Add
    22080 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    22081 # COIN_HAS_LBRY.
    22082 
    22083     ADDLIBS="$GLPKLIB $ADDLIBS"
    22084 
    22085 cat >>confdefs.h <<\_ACEOF
    22086 #define COIN_HAS_GLPK 1
    22087 _ACEOF
    22088 
    22089   fi
    22090 
    22091 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    22092 # automake conditional. These actions must occur unconditionally.
    22093 
    22094 
    22095 
    22096 
    22097 
    22098 if test $coin_has_glpk = true; then
    22099   COIN_HAS_GLPK_TRUE=
    22100   COIN_HAS_GLPK_FALSE='#'
    22101 else
    22102   COIN_HAS_GLPK_TRUE='#'
    22103   COIN_HAS_GLPK_FALSE=
    22104 fi
    22105 
    22106 
    22107  if test x"$coin_has_glpk" = xfalse && test x"$GLPKLIB" = x ; then
    22108    use_thirdpartyglpk=try
    22109  fi
    22110 
    22111 
    22112 # If the user has supplied an external library, use it. Otherwise, consider
    22113 # a build in ThirdParty/Glpk. If we build, assume we get both glpk and gmpl.
    22114 
    22115 if test x"$use_thirdpartyglpk" = xtry ; then
    22116   MAKEOKFILE=.MakeOk
    22117   # Check if the Glpk's ThirdParty project has been configured
    22118   if test "$PACKAGE_NAME" != ThirdPartyGlpk; then
    22119     if test -r $coin_glpkobjdir/.MakeOk; then
    22120       use_thirdpartyglpk=build
    22121     else
    22122       use_thirdpartyglpk=no
    22123     fi
    22124   else
    22125     use_thirdpartyglpk=build
    22126   fi
    22127 
    22128 # If we're building, set the library and include directory variables, create a
    22129 # preprocessor symbol, define a variable that says we're using glpk/gmpl, and
    22130 # another to indicate a link check is a bad idea (hard to do before the library
    22131 # exists).
    22132 
    22133   if test x"$use_thirdpartyglpk" = xbuild ; then
    22134     GLPKINCDIR="$coin_glpksrcdir/glpk/include"
    22135 
    22136 
    22137 cat >>confdefs.h <<\_ACEOF
    22138 #define COIN_HAS_GLPK 1
    22139 _ACEOF
    22140 
    22141     coin_has_glpk=true
    22142     glpk_libcheck=no
    22143     GLPKOBJDIR=`cd $coin_glpkobjdir; pwd`
    22144 
    22145     { echo "$as_me:$LINENO: Using Glpk in ThirdParty/Glpk" >&5
    22146 echo "$as_me: Using Glpk in ThirdParty/Glpk" >&6;}
    22147   fi
    22148 fi
    22149 
    22150 # Define the necessary automake conditionals.
    22151 
    22152 
    22153 
    22154 if test x"$coin_has_glpk" = xtrue; then
    22155   COIN_HAS_GLPK_TRUE=
    22156   COIN_HAS_GLPK_FALSE='#'
    22157 else
    22158   COIN_HAS_GLPK_TRUE='#'
    22159   COIN_HAS_GLPK_FALSE=
    22160 fi
    22161 
    22162 
    22163 
    22164 if test x"$use_thirdpartyglpk" = xbuild; then
    22165   COIN_BUILD_GLPK_TRUE=
    22166   COIN_BUILD_GLPK_FALSE='#'
    22167 else
    22168   COIN_BUILD_GLPK_TRUE='#'
    22169   COIN_BUILD_GLPK_FALSE=
    2217023561fi
    2217123562
     
    2217823569
    2217923570# Ampl Solver library
    22180 coin_aslobjdir=../ThirdParty/ASL
    22181 coin_aslsrcdir=$srcdir/$coin_aslobjdir
    22182 
    22183 # Determine the name of the ASL library
    22184 case "$CC" in
    22185   cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    22186     ampllib=amplsolv.lib ;;
    22187   *)
    22188     ampllib=amplsolver.a ;;
    22189 esac
    22190 
    22191 
    22192 # Check whether --with-asldir or --without-asldir was given.
    22193 if test "${with_asldir+set}" = set; then
    22194   withval="$with_asldir"
    22195   use_asldir=$withval
    22196 else
    22197   use_asldir=
     23571
     23572echo "$as_me:$LINENO: checking for COIN-OR module ASL" >&5
     23573echo $ECHO_N "checking for COIN-OR module ASL... $ECHO_C" >&6
     23574
     23575coin_has_asl=notGiven
     23576
     23577# check if user wants to skip module in any case
     23578if test x"$COIN_SKIP_PROJECTS" != x; then
     23579  for dir in $COIN_SKIP_PROJECTS; do
     23580    if test $dir = "ASL"; then
     23581      coin_has_asl=skipping
     23582    fi
     23583  done
     23584fi
     23585
     23586ASL_LIBS=
     23587ASL_CFLAGS=
     23588ASL_DATA=
     23589
     23590
     23591
     23592
     23593
     23594#check if user provided LIBS, CFLAGS, and DATA for module
     23595if test $coin_has_asl != skipping; then
     23596
     23597
     23598# Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given.
     23599if test "${with_asl_lib+set}" = set; then
     23600  withval="$with_asl_lib"
     23601  coin_has_asl=yes
     23602       ASL_LIBS="$withval"
     23603
     23604
    2219823605fi;
    2219923606
    22200 if test "$use_asldir" = BUILD; then
    22201   if test "$PACKAGE_NAME" != ThirdPartyASL; then
    22202     # If we are configuring ThirdParty/ASL, don't check
    22203     if test -r $coin_aslobjdir/.MakeOk; then :; else
    22204       { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5
    22205 echo "$as_me: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&2;}
     23607
     23608# Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given.
     23609if test "${with_asl_incdir+set}" = set; then
     23610  withval="$with_asl_incdir"
     23611  coin_has_asl=yes
     23612     ASL_CFLAGS="-I`${CYGPATH_W} $withval`"
     23613fi;
     23614
     23615
     23616# Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given.
     23617if test "${with_asl_datadir+set}" = set; then
     23618  withval="$with_asl_datadir"
     23619  coin_has_asl=yes
     23620     ASL_DATA="$withval"
     23621fi;
     23622fi
     23623
     23624if test $coin_has_asl = notGiven; then
     23625  if test -n "$PKG_CONFIG" ; then
     23626    # set search path for pkg-config
     23627    # need to export variable to be sure that the following pkg-config gets these values
     23628    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     23629    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH"
     23630    export PKG_CONFIG_PATH
     23631
     23632    # let pkg-config do it's magic
     23633
     23634
     23635
     23636if test -n "$PKG_CONFIG" ; then
     23637  if $PKG_CONFIG --exists "coinasl"; then
     23638    ASL_VERSIONS="`$PKG_CONFIG --modversion coinasl 2>/dev/null`"
     23639     cflags=`$PKG_CONFIG --cflags "coinasl" 2>/dev/null`
     23640    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     23641        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     23642        # but only do this if is not trivial
     23643    if test "$CYGPATH_W" != "echo" ; then
     23644      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     23645          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23646        fi
     23647    ASL_CFLAGS="$cflags"
     23648    ASL_LIBS=`$PKG_CONFIG --libs "coinasl" 2>/dev/null`
     23649    ASL_DATA=`$PKG_CONFIG --variable=datadir "coinasl" 2>/dev/null`
     23650     coin_has_asl=yes
     23651        echo "$as_me:$LINENO: result: yes: $ASL_VERSIONS" >&5
     23652echo "${ECHO_T}yes: $ASL_VERSIONS" >&6
     23653
     23654
     23655
     23656  else
     23657    ASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coinasl`
     23658      coin_has_asl=notGiven
     23659        echo "$as_me:$LINENO: result: not given: $ASL_PKG_ERRORS" >&5
     23660echo "${ECHO_T}not given: $ASL_PKG_ERRORS" >&6
     23661
     23662  fi
     23663else
     23664  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module ASL without pkg-config\"" >&5
     23665echo "$as_me: error: \"Cannot check for existance of module ASL without pkg-config\"" >&2;}
    2220623666   { (exit 1); exit 1; }; }
     23667fi
     23668
     23669
     23670
     23671
     23672    # reset PKG_CONFIG_PATH variable
     23673    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     23674  else
     23675    #if 4th argument is given, try fallback - whereby we take the first word from coinasl as basename for the .pc file
     23676
     23677if test x$coin_has_asl != "xyes" ; then
     23678
     23679
     23680
     23681coin_has_asl=notGiven
     23682
     23683# check if user wants to skip module in any case
     23684if test x"$COIN_SKIP_PROJECTS" != x; then
     23685  for dir in $COIN_SKIP_PROJECTS; do
     23686    if test $dir = "ASL"; then
     23687      coin_has_asl=skipping
    2220723688    fi
    22208   fi
    22209 elif test -z "$use_asldir"; then
    22210  # try to find sources - if not given don't compile
    22211   if test "$PACKAGE_NAME" != ThirdPartyASL; then
    22212     if test -r $coin_aslobjdir/.MakeOk; then
    22213       use_asldir=BUILD
     23689  done
     23690fi
     23691
     23692ASL_LIBS=
     23693ASL_CFLAGS=
     23694ASL_DATA=
     23695
     23696
     23697if test $coin_has_asl != "skipping" ; then
     23698  # if the project is available and configured, then a project-uninstalled.pc file should have been created
     23699  if test -r ../ThirdParty/ASL/coinasl-uninstalled.pc ; then
     23700    # read CFLAGS and LIBS from m4_bpatsubst(coinasl, [ .*], [])-uninstalled.pc file
     23701    # add CYGPATH_W cludge into include flags
     23702    # replace -L${libdir} by absolute path to build directory in linker flags
     23703    # we assume that the build directory is ../ThirdParty/ASL/src if this directory exists, otherwise we assume that it is ../ThirdParty/ASL
     23704    ASL_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/ASL/coinasl-uninstalled.pc`
     23705    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/ASL/coinasl-uninstalled.pc`
     23706    if test "x$projectlibs" != x ; then
     23707      if test -d ../ThirdParty/ASL/src ; then
     23708        ASL_LIBS="-L`cd ../ThirdParty/ASL/src; pwd` $projectlibs"
     23709      else
     23710        ASL_LIBS="-L`cd ../ThirdParty/ASL; pwd` $projectlibs"
     23711      fi
    2221423712    else
    22215       use_asldir=no
     23713      ASL_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/ASL/coinasl-uninstalled.pc`
    2221623714    fi
    22217   else
    22218     use_asldir=no
    22219   fi
    22220 elif test "$use_asldir" != "no"; then
    22221   if test -r $use_asldir/$ampllib; then
    22222 
    22223   :
    22224 else
    22225   { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but library missing" >&5
    22226 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;}
    22227    { (exit 1); exit 1; }; }
    22228   :
    22229 fi
    22230 
    22231   if test -r $use_asldir/asl.h; then
    22232 
    22233   :
    22234 else
    22235   { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&5
    22236 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;}
    22237    { (exit 1); exit 1; }; }
    22238   :
    22239 fi
    22240 
    22241   use_asldir=`cd $use_asldir; pwd`
    22242   case $build in
    22243     *-cygwin*) use_asldir=`cygpath -w $use_asldir | sed -e sX\\\\\\\\X/Xg` ;;
    22244   esac
    22245 fi
    22246 
    22247 # Variable containing ASL library (including full path)
    22248 
    22249 # Variable containing flags for including ASL header files
    22250 
    22251 
    22252 if test "$use_asldir" = BUILD; then
    22253   coin_aslobjdir=`cd $coin_aslobjdir; pwd`
    22254   ASLLIB=`$CYGPATH_W $coin_aslobjdir/$ampllib | sed -e sX\\\\\\\\X/Xg`
    22255   coin_aslsrcdir=`cd $coin_aslsrcdir; pwd`
    22256   ASL_CPPFLAGS="-I"`$CYGPATH_W $coin_aslobjdir | sed -e sX\\\\\\\\X/Xg`" -I"`$CYGPATH_W $coin_aslsrcdir/solvers | sed -e sX\\\\\\\\X/Xg`
    22257 elif test "$use_asldir" != no; then
    22258   ASLLIB=`$CYGPATH_W $use_asldir/$ampllib | sed -e sX\\\\\\\\X/Xg`
    22259   ASL_CPPFLAGS="-I"`$CYGPATH_W $use_asldir | sed -e sX\\\\\\\\X/Xg`
    22260 fi
    22261 
    22262 if test "$use_asldir" != no; then
    22263   ac_ext=c
    22264 ac_cpp='$CPP $CPPFLAGS'
    22265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22268 
    22269   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    22270 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
    22271 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    22272   echo $ECHO_N "(cached) $ECHO_C" >&6
    22273 else
    22274   ac_check_lib_save_LIBS=$LIBS
    22275 LIBS="-ldl  $LIBS"
    22276 cat >conftest.$ac_ext <<_ACEOF
    22277 /* confdefs.h.  */
    22278 _ACEOF
    22279 cat confdefs.h >>conftest.$ac_ext
    22280 cat >>conftest.$ac_ext <<_ACEOF
    22281 /* end confdefs.h.  */
    22282 
    22283 /* Override any gcc2 internal prototype to avoid an error.  */
    22284 #ifdef __cplusplus
    22285 extern "C"
    22286 #endif
    22287 /* We use char because int might match the return type of a gcc2
    22288    builtin and then its argument prototype would still apply.  */
    22289 char dlopen ();
    22290 int
    22291 main ()
    22292 {
    22293 dlopen ();
    22294   ;
    22295   return 0;
    22296 }
    22297 _ACEOF
    22298 rm -f conftest.$ac_objext conftest$ac_exeext
    22299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    22300   (eval $ac_link) 2>conftest.er1
    22301   ac_status=$?
    22302   grep -v '^ *+' conftest.er1 >conftest.err
    22303   rm -f conftest.er1
    22304   cat conftest.err >&5
    22305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22306   (exit $ac_status); } &&
    22307          { ac_try='test -z "$ac_c_werror_flag"
    22308                          || test ! -s conftest.err'
    22309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22310   (eval $ac_try) 2>&5
    22311   ac_status=$?
    22312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22313   (exit $ac_status); }; } &&
    22314          { ac_try='test -s conftest$ac_exeext'
    22315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    22316   (eval $ac_try) 2>&5
    22317   ac_status=$?
    22318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22319   (exit $ac_status); }; }; then
    22320   ac_cv_lib_dl_dlopen=yes
    22321 else
    22322   echo "$as_me: failed program was:" >&5
    22323 sed 's/^/| /' conftest.$ac_ext >&5
    22324 
    22325 ac_cv_lib_dl_dlopen=no
    22326 fi
    22327 rm -f conftest.err conftest.$ac_objext \
    22328       conftest$ac_exeext conftest.$ac_ext
    22329 LIBS=$ac_check_lib_save_LIBS
    22330 fi
    22331 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    22332 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
    22333 if test $ac_cv_lib_dl_dlopen = yes; then
    22334   ASLLIB="$ASLLIB -ldl"
    22335 fi
    22336 
    22337   coin_has_asl=yes
     23715    ASL_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/ASL/coinasl-uninstalled.pc`
     23716
     23717
     23718
    2233823719
    2233923720cat >>confdefs.h <<\_ACEOF
     
    2234123722_ACEOF
    2234223723
    22343   ac_ext=c
    22344 ac_cpp='$CPP $CPPFLAGS'
    22345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    22346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    22347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    22348 
    22349 else
    22350   coin_has_asl=no
    22351 fi
    22352 
    22353 
    22354 if test $coin_has_asl = yes; then
     23724
     23725
     23726    coin_has_asl=yes
     23727    echo "$as_me:$LINENO: result: ../ThirdParty/ASL" >&5
     23728echo "${ECHO_T}../ThirdParty/ASL" >&6
     23729  else
     23730    echo "$as_me:$LINENO: result: $coin_has_asl" >&5
     23731echo "${ECHO_T}$coin_has_asl" >&6
     23732  fi
     23733else
     23734  echo "$as_me:$LINENO: result: skipping" >&5
     23735echo "${ECHO_T}skipping" >&6
     23736fi
     23737
     23738#if user did not disable setting of makefile conditional, do it
     23739
     23740
     23741if test $coin_has_asl != notGiven &&
     23742                test $coin_has_asl != skipping; then
    2235523743  COIN_HAS_ASL_TRUE=
    2235623744  COIN_HAS_ASL_FALSE='#'
     
    2235923747  COIN_HAS_ASL_FALSE=
    2236023748fi
     23749
     23750
     23751fi
     23752
     23753
     23754  fi
     23755
     23756else
     23757  echo "$as_me:$LINENO: result: $coin_has_asl" >&5
     23758echo "${ECHO_T}$coin_has_asl" >&6
     23759fi
     23760
     23761if test $coin_has_asl != skipping &&
     23762   test $coin_has_asl != notGiven ; then
     23763  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     23764  if test -n "$ASL_CFLAGS" ; then
     23765    { echo "$as_me:$LINENO: ASL CFLAGS are $ASL_CFLAGS" >&5
     23766echo "$as_me: ASL CFLAGS are $ASL_CFLAGS" >&6;}
     23767  fi
     23768  if test -n "$ASL_LIBS" ; then
     23769    { echo "$as_me:$LINENO: ASL LIBS   are $ASL_LIBS" >&5
     23770echo "$as_me: ASL LIBS   are $ASL_LIBS" >&6;}
     23771  fi
     23772  if test -n "$ASL_DATA" ; then
     23773    { echo "$as_me:$LINENO: ASL DATA   is  $ASL_DATA" >&5
     23774echo "$as_me: ASL DATA   is  $ASL_DATA" >&6;}
     23775  fi
     23776  fi
     23777
     23778cat >>confdefs.h <<\_ACEOF
     23779#define COIN_HAS_ASL 1
     23780_ACEOF
     23781
     23782fi
     23783
     23784# Define the Makefile conditional
     23785
     23786
     23787if test $coin_has_asl != notGiven &&
     23788                test $coin_has_asl != skipping; then
     23789  COIN_HAS_ASL_TRUE=
     23790  COIN_HAS_ASL_FALSE='#'
     23791else
     23792  COIN_HAS_ASL_TRUE='#'
     23793  COIN_HAS_ASL_FALSE=
     23794fi
     23795
    2236123796
    2236223797
     
    2260424039
    2260524040##############################################################################
     24041#                            OsiCbc configuration                            #
     24042##############################################################################
     24043
     24044# Handles configuration of the underlying default solver in OsiCbc. The issue
     24045# is that OsiCbc defines a default solver, used when the client does not
     24046# specify a solver in the constructor. The default solver must, therefore,
     24047# be present in the build. This macro checks that this is true, and sets the
     24048# compile-time symbols OSICBC_DFLT_SOLVER, OSICBC_CLP_DFLT_SOLVER, and
     24049# OSICBC_DFLT_SOLVER_HPP that control the build. The parameter default_solver
     24050# should normally be clp, unless you're working on some other solver.
     24051
     24052# Ideally, this macro would not require enumeration of solvers, but the
     24053# effort required to avoid it is just not justified at present. One enumeration
     24054# is hidden in AC_OSI_CANONICAL. The other is visible, the AM_CONDITIONAL
     24055# list at the end.
     24056
     24057# In an ideal world this macro would do absolutely nothing if Cbc is not
     24058# present, but autotools is not an ideal world and we have to satisfy its
     24059# requirements. In particular, the AM_CONDITIONAL macros need to execute or
     24060# automake will complain. Really the only thing we need to suppress is the
     24061# check that the default solver exists. All the rest is irrelevant when Cbc
     24062# isn't present (hence OsiCbc will be configured but not actually compiled).
     24063
     24064# Process the with-osicbc-default-solver option.
     24065
     24066
     24067# Check whether --with-osicbc-default-solver or --without-osicbc-default-solver was given.
     24068if test "${with_osicbc_default_solver+set}" = set; then
     24069  withval="$with_osicbc_default_solver"
     24070  osicbc_with_solver=$withval
     24071else
     24072  osicbc_with_solver=clp
     24073fi;
     24074
     24075case "${osicbc_with_solver}" in
     24076  [Cc][Ll][Pp]*)
     24077    osi_lc_solver=clp ;
     24078    osi_mc_solver=Clp ;
     24079    osi_uc_solver=CLP ;
     24080    osi_exists_solver=${coin_has_clp-"unavailable"}
     24081    ;;
     24082  [Dd][Yy][Ll][Pp]*)
     24083    osi_lc_solver=dylp ;
     24084    osi_mc_solver=Dylp
     24085    osi_uc_solver=DYLP
     24086    osi_exists_solver=${coin_has_dylp-"unavailable"}
     24087    ;;
     24088  [Cc][Pp][Xx]*)
     24089    osi_lc_solver=cpx ;
     24090    osi_mc_solver=Cpx
     24091    osi_uc_solver=CPX
     24092    osi_exists_solver=${coin_has_cpx-"unavailable"}
     24093    ;;
     24094  [Gg][Ll][Pp][Kk]*)
     24095    osi_lc_solver=glpk ;
     24096    osi_mc_solver=Glpk
     24097    osi_uc_solver=GLPK
     24098    osi_exists_solver=${coin_has_glpk-"unavailable"}
     24099    ;;
     24100  [Gg][Rr][Bb]*)
     24101    osi_lc_solver=grb ;
     24102    osi_mc_solver=Grb ;
     24103    osi_uc_solver=GRB ;
     24104    osi_exists_solver=${coin_has_grb-"unavailable"}
     24105    ;;
     24106  [Mm][Ss][Kk]*)
     24107    osi_lc_solver=msk ;
     24108    osi_mc_solver=Msk
     24109    osi_uc_solver=MSK
     24110    osi_exists_solver=${coin_has_msk-"unavailable"}
     24111    ;;
     24112  [Ss][Yy][Mm]*)
     24113    osi_lc_solver=sym ;
     24114    osi_mc_solver=Sym
     24115    osi_uc_solver=SYM
     24116    osi_exists_solver=${coin_has_sym-"unavailable"}
     24117    ;;
     24118  [Vv][Oo][Ll]*)
     24119    osi_lc_solver=vol ;
     24120    osi_mc_solver=Vol
     24121    osi_uc_solver=VOL
     24122    osi_exists_solver=${coin_has_vol-"unavailable"}
     24123    ;;
     24124  [Xx][Pp][Rr]*)
     24125    osi_lc_solver=xpr ;
     24126    osi_mc_solver=Xpr
     24127    osi_uc_solver=XPR
     24128    osi_exists_solver=${coin_has_xpr-"unavailable"}
     24129    ;;
     24130  *)
     24131    osi_lc_solver=clp ;
     24132    osi_mc_solver=Clp ;
     24133    osi_uc_solver=CLP ;
     24134    osi_exists_solver=${coin_has_clp-"unavailable"}
     24135    { echo "$as_me:$LINENO: WARNING: Unrecognised solver $1; defaulting to $osi_lc_solver." >&5
     24136echo "$as_me: WARNING: Unrecognised solver $1; defaulting to $osi_lc_solver." >&2;}
     24137    ;;
     24138esac
     24139
     24140# Check that the requested solver is available.
     24141if test $osi_exists_solver = no; then
     24142  { { echo "$as_me:$LINENO: error: selected default solver $osicbc_with_solver is unavailable.
     24143  Please select an available solver using the --with-osicbc-default-solver option." >&5
     24144echo "$as_me: error: selected default solver $osicbc_with_solver is unavailable.
     24145  Please select an available solver using the --with-osicbc-default-solver option." >&2;}
     24146   { (exit 1); exit 1; }; }
     24147fi
     24148
     24149# State the result.
     24150{ echo "$as_me:$LINENO: OsiCbc default solver is $osi_lc_solver" >&5
     24151echo "$as_me: OsiCbc default solver is $osi_lc_solver" >&6;}
     24152
     24153# And set the configuration variables.
     24154
     24155cat >>confdefs.h <<_ACEOF
     24156#define OSICBC_DFLT_SOLVER Osi${osi_mc_solver}SolverInterface
     24157_ACEOF
     24158
     24159
     24160cat >>confdefs.h <<_ACEOF
     24161#define OSICBC_DFLT_SOLVER_HPP "Osi${osi_mc_solver}SolverInterface.hpp"
     24162_ACEOF
     24163
     24164if test $osi_mc_solver = "Clp"; then
     24165
     24166cat >>confdefs.h <<\_ACEOF
     24167#define OSICBC_DFLT_SOLVER_CLP 1
     24168_ACEOF
     24169
     24170fi
     24171
     24172# Last but not least, we need automake conditionals.
     24173
     24174
     24175if test $osi_mc_solver = Clp; then
     24176  OSICBC_DFLT_SOLVER_CLP_TRUE=
     24177  OSICBC_DFLT_SOLVER_CLP_FALSE='#'
     24178else
     24179  OSICBC_DFLT_SOLVER_CLP_TRUE='#'
     24180  OSICBC_DFLT_SOLVER_CLP_FALSE=
     24181fi
     24182
     24183
     24184
     24185if test $osi_mc_solver = Cpx; then
     24186  OSICBC_DFLT_SOLVER_CPX_TRUE=
     24187  OSICBC_DFLT_SOLVER_CPX_FALSE='#'
     24188else
     24189  OSICBC_DFLT_SOLVER_CPX_TRUE='#'
     24190  OSICBC_DFLT_SOLVER_CPX_FALSE=
     24191fi
     24192
     24193
     24194
     24195if test $osi_mc_solver = Dylp; then
     24196  OSICBC_DFLT_SOLVER_DYLP_TRUE=
     24197  OSICBC_DFLT_SOLVER_DYLP_FALSE='#'
     24198else
     24199  OSICBC_DFLT_SOLVER_DYLP_TRUE='#'
     24200  OSICBC_DFLT_SOLVER_DYLP_FALSE=
     24201fi
     24202
     24203
     24204
     24205if test $osi_mc_solver = Glpk; then
     24206  OSICBC_DFLT_SOLVER_GLPK_TRUE=
     24207  OSICBC_DFLT_SOLVER_GLPK_FALSE='#'
     24208else
     24209  OSICBC_DFLT_SOLVER_GLPK_TRUE='#'
     24210  OSICBC_DFLT_SOLVER_GLPK_FALSE=
     24211fi
     24212
     24213
     24214
     24215if test $osi_mc_solver = Grb; then
     24216  OSICBC_DFLT_SOLVER_GRB_TRUE=
     24217  OSICBC_DFLT_SOLVER_GRB_FALSE='#'
     24218else
     24219  OSICBC_DFLT_SOLVER_GRB_TRUE='#'
     24220  OSICBC_DFLT_SOLVER_GRB_FALSE=
     24221fi
     24222
     24223
     24224
     24225if test $osi_mc_solver = Msk; then
     24226  OSICBC_DFLT_SOLVER_MSK_TRUE=
     24227  OSICBC_DFLT_SOLVER_MSK_FALSE='#'
     24228else
     24229  OSICBC_DFLT_SOLVER_MSK_TRUE='#'
     24230  OSICBC_DFLT_SOLVER_MSK_FALSE=
     24231fi
     24232
     24233
     24234
     24235if test $osi_mc_solver = Sym; then
     24236  OSICBC_DFLT_SOLVER_SYM_TRUE=
     24237  OSICBC_DFLT_SOLVER_SYM_FALSE='#'
     24238else
     24239  OSICBC_DFLT_SOLVER_SYM_TRUE='#'
     24240  OSICBC_DFLT_SOLVER_SYM_FALSE=
     24241fi
     24242
     24243
     24244
     24245if test $osi_mc_solver = Vol; then
     24246  OSICBC_DFLT_SOLVER_VOL_TRUE=
     24247  OSICBC_DFLT_SOLVER_VOL_FALSE='#'
     24248else
     24249  OSICBC_DFLT_SOLVER_VOL_TRUE='#'
     24250  OSICBC_DFLT_SOLVER_VOL_FALSE=
     24251fi
     24252
     24253
     24254
     24255if test $osi_mc_solver = Xpr; then
     24256  OSICBC_DFLT_SOLVER_XPR_TRUE=
     24257  OSICBC_DFLT_SOLVER_XPR_FALSE='#'
     24258else
     24259  OSICBC_DFLT_SOLVER_XPR_TRUE='#'
     24260  OSICBC_DFLT_SOLVER_XPR_FALSE=
     24261fi
     24262
     24263
     24264##############################################################################
    2260624265#                   VPATH links for example input files                      #
    2260724266##############################################################################
     
    2264224301# Here list all the files that configure should create (except for the
    2264324302# configuration header file)
    22644                                                   ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile test/Makefile cbc_addlibs.txt"
     24303                                                                                          ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile src/OsiCbc/Makefile test/Makefile cbc.pc cbc-uninstalled.pc osi-cbc.pc osi-cbc-uninstalled.pc"
    2264524304
    2264624305
     
    2270724366  fi
    2270824367
     24368  # need to come before AC_OUTPUT
     24369  if test x$coin_projectdir != xyes; then
     24370    # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
     24371    echo $coin_subdirs > coin_subdirs.txt
     24372  else
     24373    # substitute for OBJDIR, needed to setup .pc file for uninstalled project
     24374    ABSBUILDDIR="`pwd`"
     24375
     24376  fi
     24377
    2270924378  cat >confcache <<\_ACEOF
    2271024379# This file is a shell script that caches the results of configure
     
    2284024509   { (exit 1); exit 1; }; }
    2284124510fi
    22842 if test -z "${COIN_HAS_CBC_TRUE}" && test -z "${COIN_HAS_CBC_FALSE}"; then
    22843   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CBC\" was never defined.
     24511if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
     24512  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2284424513Usually this means the macro was only invoked conditionally." >&5
    22845 echo "$as_me: error: conditional \"COIN_HAS_CBC\" was never defined.
     24514echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2284624515Usually this means the macro was only invoked conditionally." >&2;}
    2284724516   { (exit 1); exit 1; }; }
    2284824517fi
    22849 if test -z "${COIN_HAS_CGL_TRUE}" && test -z "${COIN_HAS_CGL_FALSE}"; then
    22850   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CGL\" was never defined.
     24518if test -z "${COIN_HAS_COINDEPEND_TRUE}" && test -z "${COIN_HAS_COINDEPEND_FALSE}"; then
     24519  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
    2285124520Usually this means the macro was only invoked conditionally." >&5
    22852 echo "$as_me: error: conditional \"COIN_HAS_CGL\" was never defined.
     24521echo "$as_me: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
     24522Usually this means the macro was only invoked conditionally." >&2;}
     24523   { (exit 1); exit 1; }; }
     24524fi
     24525if test -z "${COIN_HAS_COINDEPEND_TRUE}" && test -z "${COIN_HAS_COINDEPEND_FALSE}"; then
     24526  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
     24527Usually this means the macro was only invoked conditionally." >&5
     24528echo "$as_me: error: conditional \"COIN_HAS_COINDEPEND\" was never defined.
    2285324529Usually this means the macro was only invoked conditionally." >&2;}
    2285424530   { (exit 1); exit 1; }; }
     
    2286124537   { (exit 1); exit 1; }; }
    2286224538fi
    22863 if test -z "${COIN_HAS_COINUTILS_TRUE}" && test -z "${COIN_HAS_COINUTILS_FALSE}"; then
    22864   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINUTILS\" was never defined.
     24539if test -z "${COIN_HAS_CLP_TRUE}" && test -z "${COIN_HAS_CLP_FALSE}"; then
     24540  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CLP\" was never defined.
    2286524541Usually this means the macro was only invoked conditionally." >&5
    22866 echo "$as_me: error: conditional \"COIN_HAS_COINUTILS\" was never defined.
     24542echo "$as_me: error: conditional \"COIN_HAS_CLP\" was never defined.
    2286724543Usually this means the macro was only invoked conditionally." >&2;}
    2286824544   { (exit 1); exit 1; }; }
     
    2287524551   { (exit 1); exit 1; }; }
    2287624552fi
    22877 if test -z "${COIN_HAS_OSI_TRUE}" && test -z "${COIN_HAS_OSI_FALSE}"; then
    22878   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSI\" was never defined.
    22879 Usually this means the macro was only invoked conditionally." >&5
    22880 echo "$as_me: error: conditional \"COIN_HAS_OSI\" was never defined.
    22881 Usually this means the macro was only invoked conditionally." >&2;}
    22882    { (exit 1); exit 1; }; }
    22883 fi
    2288424553if test -z "${COIN_HAS_VOL_TRUE}" && test -z "${COIN_HAS_VOL_FALSE}"; then
    2288524554  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_VOL\" was never defined.
     
    2288924558   { (exit 1); exit 1; }; }
    2289024559fi
    22891 if test -z "${COIN_HAS_SYMPHONY_TRUE}" && test -z "${COIN_HAS_SYMPHONY_FALSE}"; then
    22892   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SYMPHONY\" was never defined.
     24560if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then
     24561  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
    2289324562Usually this means the macro was only invoked conditionally." >&5
    22894 echo "$as_me: error: conditional \"COIN_HAS_SYMPHONY\" was never defined.
     24563echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     24564Usually this means the macro was only invoked conditionally." >&2;}
     24565   { (exit 1); exit 1; }; }
     24566fi
     24567if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then
     24568  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     24569Usually this means the macro was only invoked conditionally." >&5
     24570echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     24571Usually this means the macro was only invoked conditionally." >&2;}
     24572   { (exit 1); exit 1; }; }
     24573fi
     24574if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then
     24575  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     24576Usually this means the macro was only invoked conditionally." >&5
     24577echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     24578Usually this means the macro was only invoked conditionally." >&2;}
     24579   { (exit 1); exit 1; }; }
     24580fi
     24581if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then
     24582  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     24583Usually this means the macro was only invoked conditionally." >&5
     24584echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     24585Usually this means the macro was only invoked conditionally." >&2;}
     24586   { (exit 1); exit 1; }; }
     24587fi
     24588if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then
     24589  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     24590Usually this means the macro was only invoked conditionally." >&5
     24591echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     24592Usually this means the macro was only invoked conditionally." >&2;}
     24593   { (exit 1); exit 1; }; }
     24594fi
     24595if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then
     24596  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     24597Usually this means the macro was only invoked conditionally." >&5
     24598echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     24599Usually this means the macro was only invoked conditionally." >&2;}
     24600   { (exit 1); exit 1; }; }
     24601fi
     24602if test -z "${COIN_HAS_MIPLIB3_TRUE}" && test -z "${COIN_HAS_MIPLIB3_FALSE}"; then
     24603  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     24604Usually this means the macro was only invoked conditionally." >&5
     24605echo "$as_me: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     24606Usually this means the macro was only invoked conditionally." >&2;}
     24607   { (exit 1); exit 1; }; }
     24608fi
     24609if test -z "${COIN_HAS_MIPLIB3_TRUE}" && test -z "${COIN_HAS_MIPLIB3_FALSE}"; then
     24610  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     24611Usually this means the macro was only invoked conditionally." >&5
     24612echo "$as_me: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
    2289524613Usually this means the macro was only invoked conditionally." >&2;}
    2289624614   { (exit 1); exit 1; }; }
     
    2290324621   { (exit 1); exit 1; }; }
    2290424622fi
    22905 if test -z "${COIN_HAS_CPX_TRUE}" && test -z "${COIN_HAS_CPX_FALSE}"; then
    22906   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CPX\" was never defined.
     24623if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
     24624  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
    2290724625Usually this means the macro was only invoked conditionally." >&5
    22908 echo "$as_me: error: conditional \"COIN_HAS_CPX\" was never defined.
     24626echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
    2290924627Usually this means the macro was only invoked conditionally." >&2;}
    2291024628   { (exit 1); exit 1; }; }
    2291124629fi
    22912 if test -z "${COIN_HAS_FMP_TRUE}" && test -z "${COIN_HAS_FMP_FALSE}"; then
    22913   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FMP\" was never defined.
     24630if test -z "${COIN_HAS_GRB_TRUE}" && test -z "${COIN_HAS_GRB_FALSE}"; then
     24631  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GRB\" was never defined.
    2291424632Usually this means the macro was only invoked conditionally." >&5
    22915 echo "$as_me: error: conditional \"COIN_HAS_FMP\" was never defined.
     24633echo "$as_me: error: conditional \"COIN_HAS_GRB\" was never defined.
    2291624634Usually this means the macro was only invoked conditionally." >&2;}
    2291724635   { (exit 1); exit 1; }; }
     
    2292424642   { (exit 1); exit 1; }; }
    2292524643fi
    22926 if test -z "${COIN_HAS_OSL_TRUE}" && test -z "${COIN_HAS_OSL_FALSE}"; then
    22927   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSL\" was never defined.
    22928 Usually this means the macro was only invoked conditionally." >&5
    22929 echo "$as_me: error: conditional \"COIN_HAS_OSL\" was never defined.
    22930 Usually this means the macro was only invoked conditionally." >&2;}
    22931    { (exit 1); exit 1; }; }
    22932 fi
    22933 if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then
    22934   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.
    22935 Usually this means the macro was only invoked conditionally." >&5
    22936 echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.
    22937 Usually this means the macro was only invoked conditionally." >&2;}
    22938    { (exit 1); exit 1; }; }
    22939 fi
    2294024644if test -z "${COIN_HAS_XPR_TRUE}" && test -z "${COIN_HAS_XPR_FALSE}"; then
    2294124645  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_XPR\" was never defined.
     
    2294524649   { (exit 1); exit 1; }; }
    2294624650fi
    22947 if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
    22948   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
    22949 Usually this means the macro was only invoked conditionally." >&5
    22950 echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
    22951 Usually this means the macro was only invoked conditionally." >&2;}
    22952    { (exit 1); exit 1; }; }
    22953 fi
    22954 if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
    22955   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
    22956 Usually this means the macro was only invoked conditionally." >&5
    22957 echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
    22958 Usually this means the macro was only invoked conditionally." >&2;}
    22959    { (exit 1); exit 1; }; }
    22960 fi
    22961 if test -z "${COIN_BUILD_GLPK_TRUE}" && test -z "${COIN_BUILD_GLPK_FALSE}"; then
    22962   { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_GLPK\" was never defined.
    22963 Usually this means the macro was only invoked conditionally." >&5
    22964 echo "$as_me: error: conditional \"COIN_BUILD_GLPK\" was never defined.
    22965 Usually this means the macro was only invoked conditionally." >&2;}
    22966    { (exit 1); exit 1; }; }
    22967 fi
    2296824651if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then
    2296924652  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.
     
    2297324656   { (exit 1); exit 1; }; }
    2297424657fi
     24658if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then
     24659  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined.
     24660Usually this means the macro was only invoked conditionally." >&5
     24661echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined.
     24662Usually this means the macro was only invoked conditionally." >&2;}
     24663   { (exit 1); exit 1; }; }
     24664fi
    2297524665if test -z "${CBC_BUILD_CBC_GENERIC_TRUE}" && test -z "${CBC_BUILD_CBC_GENERIC_FALSE}"; then
    2297624666  { { echo "$as_me:$LINENO: error: conditional \"CBC_BUILD_CBC_GENERIC\" was never defined.
    2297724667Usually this means the macro was only invoked conditionally." >&5
    2297824668echo "$as_me: error: conditional \"CBC_BUILD_CBC_GENERIC\" was never defined.
     24669Usually this means the macro was only invoked conditionally." >&2;}
     24670   { (exit 1); exit 1; }; }
     24671fi
     24672if test -z "${OSICBC_DFLT_SOLVER_CLP_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_CLP_FALSE}"; then
     24673  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_CLP\" was never defined.
     24674Usually this means the macro was only invoked conditionally." >&5
     24675echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_CLP\" was never defined.
     24676Usually this means the macro was only invoked conditionally." >&2;}
     24677   { (exit 1); exit 1; }; }
     24678fi
     24679if test -z "${OSICBC_DFLT_SOLVER_CPX_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_CPX_FALSE}"; then
     24680  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_CPX\" was never defined.
     24681Usually this means the macro was only invoked conditionally." >&5
     24682echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_CPX\" was never defined.
     24683Usually this means the macro was only invoked conditionally." >&2;}
     24684   { (exit 1); exit 1; }; }
     24685fi
     24686if test -z "${OSICBC_DFLT_SOLVER_DYLP_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_DYLP_FALSE}"; then
     24687  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_DYLP\" was never defined.
     24688Usually this means the macro was only invoked conditionally." >&5
     24689echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_DYLP\" was never defined.
     24690Usually this means the macro was only invoked conditionally." >&2;}
     24691   { (exit 1); exit 1; }; }
     24692fi
     24693if test -z "${OSICBC_DFLT_SOLVER_GLPK_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_GLPK_FALSE}"; then
     24694  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_GLPK\" was never defined.
     24695Usually this means the macro was only invoked conditionally." >&5
     24696echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_GLPK\" was never defined.
     24697Usually this means the macro was only invoked conditionally." >&2;}
     24698   { (exit 1); exit 1; }; }
     24699fi
     24700if test -z "${OSICBC_DFLT_SOLVER_GRB_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_GRB_FALSE}"; then
     24701  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_GRB\" was never defined.
     24702Usually this means the macro was only invoked conditionally." >&5
     24703echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_GRB\" was never defined.
     24704Usually this means the macro was only invoked conditionally." >&2;}
     24705   { (exit 1); exit 1; }; }
     24706fi
     24707if test -z "${OSICBC_DFLT_SOLVER_MSK_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_MSK_FALSE}"; then
     24708  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_MSK\" was never defined.
     24709Usually this means the macro was only invoked conditionally." >&5
     24710echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_MSK\" was never defined.
     24711Usually this means the macro was only invoked conditionally." >&2;}
     24712   { (exit 1); exit 1; }; }
     24713fi
     24714if test -z "${OSICBC_DFLT_SOLVER_SYM_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_SYM_FALSE}"; then
     24715  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_SYM\" was never defined.
     24716Usually this means the macro was only invoked conditionally." >&5
     24717echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_SYM\" was never defined.
     24718Usually this means the macro was only invoked conditionally." >&2;}
     24719   { (exit 1); exit 1; }; }
     24720fi
     24721if test -z "${OSICBC_DFLT_SOLVER_VOL_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_VOL_FALSE}"; then
     24722  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_VOL\" was never defined.
     24723Usually this means the macro was only invoked conditionally." >&5
     24724echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_VOL\" was never defined.
     24725Usually this means the macro was only invoked conditionally." >&2;}
     24726   { (exit 1); exit 1; }; }
     24727fi
     24728if test -z "${OSICBC_DFLT_SOLVER_XPR_TRUE}" && test -z "${OSICBC_DFLT_SOLVER_XPR_FALSE}"; then
     24729  { { echo "$as_me:$LINENO: error: conditional \"OSICBC_DFLT_SOLVER_XPR\" was never defined.
     24730Usually this means the macro was only invoked conditionally." >&5
     24731echo "$as_me: error: conditional \"OSICBC_DFLT_SOLVER_XPR\" was never defined.
    2297924732Usually this means the macro was only invoked conditionally." >&2;}
    2298024733   { (exit 1); exit 1; }; }
     
    2342725180  "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
    2342825181  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     25182  "src/OsiCbc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/OsiCbc/Makefile" ;;
    2342925183  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
    23430   "cbc_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES cbc_addlibs.txt" ;;
     25184  "cbc.pc" ) CONFIG_FILES="$CONFIG_FILES cbc.pc" ;;
     25185  "cbc-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES cbc-uninstalled.pc" ;;
     25186  "osi-cbc.pc" ) CONFIG_FILES="$CONFIG_FILES osi-cbc.pc" ;;
     25187  "osi-cbc-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES osi-cbc-uninstalled.pc" ;;
    2343125188  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2343225189  "inc/config_cbc.h" ) CONFIG_HEADERS="$CONFIG_HEADERS inc/config_cbc.h" ;;
     
    2352425281s,@ALWAYS_FALSE_TRUE@,$ALWAYS_FALSE_TRUE,;t t
    2352525282s,@ALWAYS_FALSE_FALSE@,$ALWAYS_FALSE_FALSE,;t t
     25283s,@have_svnversion@,$have_svnversion,;t t
     25284s,@CBC_SVN_REV@,$CBC_SVN_REV,;t t
    2352625285s,@CDEFS@,$CDEFS,;t t
    2352725286s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2361525374s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2361625375s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    23617 s,@CBCSRCDIR@,$CBCSRCDIR,;t t
    23618 s,@CBCOBJDIR@,$CBCOBJDIR,;t t
    23619 s,@CBCDOCDIR@,$CBCDOCDIR,;t t
    23620 s,@COIN_HAS_CBC_TRUE@,$COIN_HAS_CBC_TRUE,;t t
    23621 s,@COIN_HAS_CBC_FALSE@,$COIN_HAS_CBC_FALSE,;t t
    23622 s,@CGLSRCDIR@,$CGLSRCDIR,;t t
    23623 s,@CGLOBJDIR@,$CGLOBJDIR,;t t
    23624 s,@CGLDOCDIR@,$CGLDOCDIR,;t t
    23625 s,@COIN_HAS_CGL_TRUE@,$COIN_HAS_CGL_TRUE,;t t
    23626 s,@COIN_HAS_CGL_FALSE@,$COIN_HAS_CGL_FALSE,;t t
    23627 s,@CLPSRCDIR@,$CLPSRCDIR,;t t
    23628 s,@CLPOBJDIR@,$CLPOBJDIR,;t t
    23629 s,@CLPDOCDIR@,$CLPDOCDIR,;t t
     25376s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     25377s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
     25378s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
     25379s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
     25380s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t
     25381s,@COINDEPEND_LIBS@,$COINDEPEND_LIBS,;t t
     25382s,@COINDEPEND_CFLAGS@,$COINDEPEND_CFLAGS,;t t
     25383s,@COINDEPEND_DATA@,$COINDEPEND_DATA,;t t
     25384s,@REQUIREDPACKAGES@,$REQUIREDPACKAGES,;t t
     25385s,@COIN_HAS_COINDEPEND_TRUE@,$COIN_HAS_COINDEPEND_TRUE,;t t
     25386s,@COIN_HAS_COINDEPEND_FALSE@,$COIN_HAS_COINDEPEND_FALSE,;t t
     25387s,@CLP_LIBS@,$CLP_LIBS,;t t
     25388s,@CLP_CFLAGS@,$CLP_CFLAGS,;t t
     25389s,@CLP_DATA@,$CLP_DATA,;t t
    2363025390s,@COIN_HAS_CLP_TRUE@,$COIN_HAS_CLP_TRUE,;t t
    2363125391s,@COIN_HAS_CLP_FALSE@,$COIN_HAS_CLP_FALSE,;t t
    23632 s,@COINUTILSSRCDIR@,$COINUTILSSRCDIR,;t t
    23633 s,@COINUTILSOBJDIR@,$COINUTILSOBJDIR,;t t
    23634 s,@COINUTILSDOCDIR@,$COINUTILSDOCDIR,;t t
    23635 s,@COIN_HAS_COINUTILS_TRUE@,$COIN_HAS_COINUTILS_TRUE,;t t
    23636 s,@COIN_HAS_COINUTILS_FALSE@,$COIN_HAS_COINUTILS_FALSE,;t t
    23637 s,@DYLPSRCDIR@,$DYLPSRCDIR,;t t
    23638 s,@DYLPOBJDIR@,$DYLPOBJDIR,;t t
    23639 s,@DYLPDOCDIR@,$DYLPDOCDIR,;t t
     25392s,@DYLP_LIBS@,$DYLP_LIBS,;t t
     25393s,@DYLP_CFLAGS@,$DYLP_CFLAGS,;t t
     25394s,@DYLP_DATA@,$DYLP_DATA,;t t
    2364025395s,@COIN_HAS_DYLP_TRUE@,$COIN_HAS_DYLP_TRUE,;t t
    2364125396s,@COIN_HAS_DYLP_FALSE@,$COIN_HAS_DYLP_FALSE,;t t
    23642 s,@OSISRCDIR@,$OSISRCDIR,;t t
    23643 s,@OSIOBJDIR@,$OSIOBJDIR,;t t
    23644 s,@OSIDOCDIR@,$OSIDOCDIR,;t t
    23645 s,@COIN_HAS_OSI_TRUE@,$COIN_HAS_OSI_TRUE,;t t
    23646 s,@COIN_HAS_OSI_FALSE@,$COIN_HAS_OSI_FALSE,;t t
    23647 s,@VOLSRCDIR@,$VOLSRCDIR,;t t
    23648 s,@VOLOBJDIR@,$VOLOBJDIR,;t t
    23649 s,@VOLDOCDIR@,$VOLDOCDIR,;t t
     25397s,@VOL_LIBS@,$VOL_LIBS,;t t
     25398s,@VOL_CFLAGS@,$VOL_CFLAGS,;t t
     25399s,@VOL_DATA@,$VOL_DATA,;t t
    2365025400s,@COIN_HAS_VOL_TRUE@,$COIN_HAS_VOL_TRUE,;t t
    2365125401s,@COIN_HAS_VOL_FALSE@,$COIN_HAS_VOL_FALSE,;t t
    23652 s,@SYMPHONYSRCDIR@,$SYMPHONYSRCDIR,;t t
    23653 s,@SYMPHONYOBJDIR@,$SYMPHONYOBJDIR,;t t
    23654 s,@SYMPHONYDOCDIR@,$SYMPHONYDOCDIR,;t t
    23655 s,@COIN_HAS_SYMPHONY_TRUE@,$COIN_HAS_SYMPHONY_TRUE,;t t
    23656 s,@COIN_HAS_SYMPHONY_FALSE@,$COIN_HAS_SYMPHONY_FALSE,;t t
    23657 s,@CPXSRCDIR@,$CPXSRCDIR,;t t
    23658 s,@CPXOBJDIR@,$CPXOBJDIR,;t t
    23659 s,@CPXDOCDIR@,$CPXDOCDIR,;t t
     25402s,@OSITESTS_LIBS@,$OSITESTS_LIBS,;t t
     25403s,@OSITESTS_CFLAGS@,$OSITESTS_CFLAGS,;t t
     25404s,@OSITESTS_DATA@,$OSITESTS_DATA,;t t
     25405s,@COIN_HAS_OSITESTS_TRUE@,$COIN_HAS_OSITESTS_TRUE,;t t
     25406s,@COIN_HAS_OSITESTS_FALSE@,$COIN_HAS_OSITESTS_FALSE,;t t
     25407s,@SAMPLE_LIBS@,$SAMPLE_LIBS,;t t
     25408s,@SAMPLE_CFLAGS@,$SAMPLE_CFLAGS,;t t
     25409s,@SAMPLE_DATA@,$SAMPLE_DATA,;t t
     25410s,@COIN_HAS_SAMPLE_TRUE@,$COIN_HAS_SAMPLE_TRUE,;t t
     25411s,@COIN_HAS_SAMPLE_FALSE@,$COIN_HAS_SAMPLE_FALSE,;t t
     25412s,@NETLIB_LIBS@,$NETLIB_LIBS,;t t
     25413s,@NETLIB_CFLAGS@,$NETLIB_CFLAGS,;t t
     25414s,@NETLIB_DATA@,$NETLIB_DATA,;t t
     25415s,@COIN_HAS_NETLIB_TRUE@,$COIN_HAS_NETLIB_TRUE,;t t
     25416s,@COIN_HAS_NETLIB_FALSE@,$COIN_HAS_NETLIB_FALSE,;t t
     25417s,@MIPLIB3_LIBS@,$MIPLIB3_LIBS,;t t
     25418s,@MIPLIB3_CFLAGS@,$MIPLIB3_CFLAGS,;t t
     25419s,@MIPLIB3_DATA@,$MIPLIB3_DATA,;t t
     25420s,@COIN_HAS_MIPLIB3_TRUE@,$COIN_HAS_MIPLIB3_TRUE,;t t
     25421s,@COIN_HAS_MIPLIB3_FALSE@,$COIN_HAS_MIPLIB3_FALSE,;t t
     25422s,@CPX_LIBS@,$CPX_LIBS,;t t
     25423s,@CPX_CFLAGS@,$CPX_CFLAGS,;t t
     25424s,@CPX_DATA@,$CPX_DATA,;t t
    2366025425s,@COIN_HAS_CPX_TRUE@,$COIN_HAS_CPX_TRUE,;t t
    2366125426s,@COIN_HAS_CPX_FALSE@,$COIN_HAS_CPX_FALSE,;t t
    23662 s,@CPXINCDIR@,$CPXINCDIR,;t t
    23663 s,@CPXLIB@,$CPXLIB,;t t
    23664 s,@FMPINCDIR@,$FMPINCDIR,;t t
    23665 s,@FMPLIB@,$FMPLIB,;t t
    23666 s,@COIN_HAS_FMP_TRUE@,$COIN_HAS_FMP_TRUE,;t t
    23667 s,@COIN_HAS_FMP_FALSE@,$COIN_HAS_FMP_FALSE,;t t
    23668 s,@MSKINCDIR@,$MSKINCDIR,;t t
    23669 s,@MSKLIB@,$MSKLIB,;t t
     25427s,@GLPK_LIBS@,$GLPK_LIBS,;t t
     25428s,@GLPK_CFLAGS@,$GLPK_CFLAGS,;t t
     25429s,@GLPK_DATA@,$GLPK_DATA,;t t
     25430s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t
     25431s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t
     25432s,@GRB_LIBS@,$GRB_LIBS,;t t
     25433s,@GRB_CFLAGS@,$GRB_CFLAGS,;t t
     25434s,@GRB_DATA@,$GRB_DATA,;t t
     25435s,@COIN_HAS_GRB_TRUE@,$COIN_HAS_GRB_TRUE,;t t
     25436s,@COIN_HAS_GRB_FALSE@,$COIN_HAS_GRB_FALSE,;t t
     25437s,@MSK_LIBS@,$MSK_LIBS,;t t
     25438s,@MSK_CFLAGS@,$MSK_CFLAGS,;t t
     25439s,@MSK_DATA@,$MSK_DATA,;t t
    2367025440s,@COIN_HAS_MSK_TRUE@,$COIN_HAS_MSK_TRUE,;t t
    2367125441s,@COIN_HAS_MSK_FALSE@,$COIN_HAS_MSK_FALSE,;t t
    23672 s,@OSLINCDIR@,$OSLINCDIR,;t t
    23673 s,@OSLLIB@,$OSLLIB,;t t
    23674 s,@COIN_HAS_OSL_TRUE@,$COIN_HAS_OSL_TRUE,;t t
    23675 s,@COIN_HAS_OSL_FALSE@,$COIN_HAS_OSL_FALSE,;t t
    23676 s,@SPXINCDIR@,$SPXINCDIR,;t t
    23677 s,@SPXLIB@,$SPXLIB,;t t
    23678 s,@COIN_HAS_SPX_TRUE@,$COIN_HAS_SPX_TRUE,;t t
    23679 s,@COIN_HAS_SPX_FALSE@,$COIN_HAS_SPX_FALSE,;t t
    23680 s,@XPRINCDIR@,$XPRINCDIR,;t t
    23681 s,@XPRLIB@,$XPRLIB,;t t
     25442s,@XPR_LIBS@,$XPR_LIBS,;t t
     25443s,@XPR_CFLAGS@,$XPR_CFLAGS,;t t
     25444s,@XPR_DATA@,$XPR_DATA,;t t
    2368225445s,@COIN_HAS_XPR_TRUE@,$COIN_HAS_XPR_TRUE,;t t
    2368325446s,@COIN_HAS_XPR_FALSE@,$COIN_HAS_XPR_FALSE,;t t
    23684 s,@GLPKINCDIR@,$GLPKINCDIR,;t t
    23685 s,@GLPKLIB@,$GLPKLIB,;t t
    23686 s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t
    23687 s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t
    23688 s,@GLPKOBJDIR@,$GLPKOBJDIR,;t t
    23689 s,@COIN_BUILD_GLPK_TRUE@,$COIN_BUILD_GLPK_TRUE,;t t
    23690 s,@COIN_BUILD_GLPK_FALSE@,$COIN_BUILD_GLPK_FALSE,;t t
    23691 s,@ASLLIB@,$ASLLIB,;t t
    23692 s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t
     25447s,@ASL_LIBS@,$ASL_LIBS,;t t
     25448s,@ASL_CFLAGS@,$ASL_CFLAGS,;t t
     25449s,@ASL_DATA@,$ASL_DATA,;t t
    2369325450s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t
    2369425451s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t
    2369525452s,@CBC_BUILD_CBC_GENERIC_TRUE@,$CBC_BUILD_CBC_GENERIC_TRUE,;t t
    2369625453s,@CBC_BUILD_CBC_GENERIC_FALSE@,$CBC_BUILD_CBC_GENERIC_FALSE,;t t
     25454s,@OSICBC_DFLT_SOLVER_CLP_TRUE@,$OSICBC_DFLT_SOLVER_CLP_TRUE,;t t
     25455s,@OSICBC_DFLT_SOLVER_CLP_FALSE@,$OSICBC_DFLT_SOLVER_CLP_FALSE,;t t
     25456s,@OSICBC_DFLT_SOLVER_CPX_TRUE@,$OSICBC_DFLT_SOLVER_CPX_TRUE,;t t
     25457s,@OSICBC_DFLT_SOLVER_CPX_FALSE@,$OSICBC_DFLT_SOLVER_CPX_FALSE,;t t
     25458s,@OSICBC_DFLT_SOLVER_DYLP_TRUE@,$OSICBC_DFLT_SOLVER_DYLP_TRUE,;t t
     25459s,@OSICBC_DFLT_SOLVER_DYLP_FALSE@,$OSICBC_DFLT_SOLVER_DYLP_FALSE,;t t
     25460s,@OSICBC_DFLT_SOLVER_GLPK_TRUE@,$OSICBC_DFLT_SOLVER_GLPK_TRUE,;t t
     25461s,@OSICBC_DFLT_SOLVER_GLPK_FALSE@,$OSICBC_DFLT_SOLVER_GLPK_FALSE,;t t
     25462s,@OSICBC_DFLT_SOLVER_GRB_TRUE@,$OSICBC_DFLT_SOLVER_GRB_TRUE,;t t
     25463s,@OSICBC_DFLT_SOLVER_GRB_FALSE@,$OSICBC_DFLT_SOLVER_GRB_FALSE,;t t
     25464s,@OSICBC_DFLT_SOLVER_MSK_TRUE@,$OSICBC_DFLT_SOLVER_MSK_TRUE,;t t
     25465s,@OSICBC_DFLT_SOLVER_MSK_FALSE@,$OSICBC_DFLT_SOLVER_MSK_FALSE,;t t
     25466s,@OSICBC_DFLT_SOLVER_SYM_TRUE@,$OSICBC_DFLT_SOLVER_SYM_TRUE,;t t
     25467s,@OSICBC_DFLT_SOLVER_SYM_FALSE@,$OSICBC_DFLT_SOLVER_SYM_FALSE,;t t
     25468s,@OSICBC_DFLT_SOLVER_VOL_TRUE@,$OSICBC_DFLT_SOLVER_VOL_TRUE,;t t
     25469s,@OSICBC_DFLT_SOLVER_VOL_FALSE@,$OSICBC_DFLT_SOLVER_VOL_FALSE,;t t
     25470s,@OSICBC_DFLT_SOLVER_XPR_TRUE@,$OSICBC_DFLT_SOLVER_XPR_TRUE,;t t
     25471s,@OSICBC_DFLT_SOLVER_XPR_FALSE@,$OSICBC_DFLT_SOLVER_XPR_FALSE,;t t
    2369725472s,@LIBEXT@,$LIBEXT,;t t
    2369825473s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
     25474s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
    2369925475s,@LIBOBJS@,$LIBOBJS,;t t
    2370025476s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Note: See TracChangeset for help on using the changeset viewer.