Changeset 312


Ignore:
Timestamp:
May 12, 2006 2:30:07 PM (13 years ago)
Author:
andreasw
Message:

finished (for now) conversion of Cbc to autotools

Location:
trunk
Files:
1 added
15 edited
5 moved

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:externals
      •  

        old new  
        22Data/Netlib   https://www.coin-or.org/svn/Data/trunk/Netlib
        33Data/Sample   https://www.coin-or.org/svn/Data/trunk/Sample
         4Data/miplib3  https://www.coin-or.org/svn/Data/trunk/miplib3
        45CoinBase      https://www.coin-or.org/svn/CoinBase/trunk/CoinBase
        56Cgl           https://www.coin-or.org/svn/Cgl/trunk/Cgl
  • trunk/Cbc/Makefile.in

    r311 r312  
    121121COIN_HAS_COINBASE_FALSE = @COIN_HAS_COINBASE_FALSE@
    122122COIN_HAS_COINBASE_TRUE = @COIN_HAS_COINBASE_TRUE@
     123COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@
     124COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@
    123125COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@
    124126COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@
     127COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@
     128COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@
     129COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@
     130COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@
     131COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@
     132COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@
    125133COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@
    126134COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@
     135COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@
     136COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@
     137COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
     138COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    127139COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    128140COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
    129141COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    130142COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
     143COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@
     144COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@
    131145CPP = @CPP@
    132146CPPFLAGS = @CPPFLAGS@
     147CPXINCDIR = @CPXINCDIR@
     148CPXLIBDIR = @CPXLIBDIR@
    133149CXX = @CXX@
    134150CXXCPP = @CXXCPP@
     
    149165F77 = @F77@
    150166FFLAGS = @FFLAGS@
     167FMPINCDIR = @FMPINCDIR@
     168FMPLIBDIR = @FMPLIBDIR@
     169GLPKINCDIR = @GLPKINCDIR@
     170GLPKLIBDIR = @GLPKLIBDIR@
    151171HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    152172HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    168188MAINTAINER_SMALL_TRUE = @MAINTAINER_SMALL_TRUE@
    169189MAKEINFO = @MAKEINFO@
     190MSKINCDIR = @MSKINCDIR@
     191MSKLIBDIR = @MSKLIBDIR@
    170192OBJEXT = @OBJEXT@
    171193OSIOBJDIR = @OSIOBJDIR@
    172194OSISRCDIR = @OSISRCDIR@
     195OSLINCDIR = @OSLINCDIR@
     196OSLLIBDIR = @OSLLIBDIR@
    173197PACKAGE = @PACKAGE@
    174198PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    181205SET_MAKE = @SET_MAKE@
    182206SHELL = @SHELL@
     207SPXINCDIR = @SPXINCDIR@
     208SPXLIBDIR = @SPXLIBDIR@
    183209STRIP = @STRIP@
    184210SYMOBJDIR = @SYMOBJDIR@
     
    187213VOLOBJDIR = @VOLOBJDIR@
    188214VOLSRCDIR = @VOLSRCDIR@
     215XPRINCDIR = @XPRINCDIR@
     216XPRLIBDIR = @XPRLIBDIR@
    189217ac_ct_AR = @ac_ct_AR@
    190218ac_ct_CC = @ac_ct_CC@
  • trunk/Cbc/configure

    r311 r312  
    474474#endif"
    475475
    476 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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE COIN_DEBUG_TRUE COIN_DEBUG_FALSE CXXDEFS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT 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 CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake BUILDTOOLSDIR AUX_DIR HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE MAINTAINER_SMALL_TRUE MAINTAINER_SMALL_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_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 pkg_lib_dir pkg_include_dir pkg_bin_dir CBCSRCDIR CBCOBJDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINBASESRCDIR COINBASEOBJDIR COIN_HAS_COINBASE_TRUE COIN_HAS_COINBASE_FALSE DYLPSRCDIR DYLPOBJDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMSRCDIR SYMOBJDIR COIN_HAS_SYM_TRUE COIN_HAS_SYM_FALSE VOLSRCDIR VOLOBJDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE LIBOBJS LTLIBOBJS'
     476ac_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 ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE COIN_DEBUG_TRUE COIN_DEBUG_FALSE CXXDEFS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT 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 CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake BUILDTOOLSDIR AUX_DIR HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE MAINTAINER_SMALL_TRUE MAINTAINER_SMALL_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_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 pkg_lib_dir pkg_include_dir pkg_bin_dir CBCSRCDIR CBCOBJDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINBASESRCDIR COINBASEOBJDIR COIN_HAS_COINBASE_TRUE COIN_HAS_COINBASE_FALSE DYLPSRCDIR DYLPOBJDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMSRCDIR SYMOBJDIR COIN_HAS_SYM_TRUE COIN_HAS_SYM_FALSE VOLSRCDIR VOLOBJDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPXINCDIR CPXLIBDIR COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPKINCDIR GLPKLIBDIR COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE FMPINCDIR FMPLIBDIR COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIBDIR COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIBDIR COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIBDIR COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIBDIR COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE LIBOBJS LTLIBOBJS'
    477477ac_subst_files=''
    478478
     
    10611061  --with-tags[=TAGS]
    10621062                          include additional configurations [automatic]
     1063  --with-cbc-default-solver
     1064                          specify default solver for Cbc in lower case letters
     1065                          (if not given, clp is assumed)
     1066  --with-cplex-incdir specify the directory with the header files for library
     1067                          Cplex
     1068  --with-cplex-libdir specify the directory with the library Cplex
     1069  --with-glpk-incdir specify the directory with the header files for library
     1070                          Glpk
     1071  --with-glpk-libdir specify the directory with the library Glpk
     1072  --with-fortmp-incdir specify the directory with the header files for library
     1073                          FortMP
     1074  --with-fortmp-libdir specify the directory with the library FortMP
     1075  --with-mosek-incdir specify the directory with the header files for library
     1076                          Mosek
     1077  --with-mosek-libdir specify the directory with the library Mosek
     1078  --with-osl-incdir specify the directory with the header files for library
     1079                          Osl
     1080  --with-osl-libdir specify the directory with the library Osl
     1081  --with-soplex-incdir specify the directory with the header files for library
     1082                          Soplex
     1083  --with-soplex-libdir specify the directory with the library Soplex
     1084  --with-xpress-incdir specify the directory with the header files for library
     1085                          Xpress
     1086  --with-xpress-libdir specify the directory with the library Xpress
    10631087
    10641088Some influential environment variables:
     
    44594483*-*-irix6*)
    44604484  # Find out which ABI we are using.
    4461   echo '#line 4461 "configure"' > conftest.$ac_ext
     4485  echo '#line 4485 "configure"' > conftest.$ac_ext
    44624486  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    44634487  (eval $ac_compile) 2>&5
     
    55935617
    55945618# Provide some information about the compiler.
    5595 echo "$as_me:5595:" \
     5619echo "$as_me:5619:" \
    55965620     "checking for Fortran 77 compiler version" >&5
    55975621ac_compiler=`set X $ac_compile; echo $2`
     
    66606684   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    66616685   -e 's:$: $lt_compiler_flag:'`
    6662    (eval echo "\"\$as_me:6662: $lt_compile\"" >&5)
     6686   (eval echo "\"\$as_me:6686: $lt_compile\"" >&5)
    66636687   (eval "$lt_compile" 2>conftest.err)
    66646688   ac_status=$?
    66656689   cat conftest.err >&5
    6666    echo "$as_me:6666: \$? = $ac_status" >&5
     6690   echo "$as_me:6690: \$? = $ac_status" >&5
    66676691   if (exit $ac_status) && test -s "$ac_outfile"; then
    66686692     # The compiler can only warn and ignore the option if not recognized
     
    69286952   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    69296953   -e 's:$: $lt_compiler_flag:'`
    6930    (eval echo "\"\$as_me:6930: $lt_compile\"" >&5)
     6954   (eval echo "\"\$as_me:6954: $lt_compile\"" >&5)
    69316955   (eval "$lt_compile" 2>conftest.err)
    69326956   ac_status=$?
    69336957   cat conftest.err >&5
    6934    echo "$as_me:6934: \$? = $ac_status" >&5
     6958   echo "$as_me:6958: \$? = $ac_status" >&5
    69356959   if (exit $ac_status) && test -s "$ac_outfile"; then
    69366960     # The compiler can only warn and ignore the option if not recognized
     
    70327056   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70337057   -e 's:$: $lt_compiler_flag:'`
    7034    (eval echo "\"\$as_me:7034: $lt_compile\"" >&5)
     7058   (eval echo "\"\$as_me:7058: $lt_compile\"" >&5)
    70357059   (eval "$lt_compile" 2>out/conftest.err)
    70367060   ac_status=$?
    70377061   cat out/conftest.err >&5
    7038    echo "$as_me:7038: \$? = $ac_status" >&5
     7062   echo "$as_me:7062: \$? = $ac_status" >&5
    70397063   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    70407064   then
     
    93779401  lt_status=$lt_dlunknown
    93789402  cat > conftest.$ac_ext <<EOF
    9379 #line 9379 "configure"
     9403#line 9403 "configure"
    93809404#include "confdefs.h"
    93819405
     
    94779501  lt_status=$lt_dlunknown
    94789502  cat > conftest.$ac_ext <<EOF
    9479 #line 9479 "configure"
     9503#line 9503 "configure"
    94809504#include "confdefs.h"
    94819505
     
    1182111845   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1182211846   -e 's:$: $lt_compiler_flag:'`
    11823    (eval echo "\"\$as_me:11823: $lt_compile\"" >&5)
     11847   (eval echo "\"\$as_me:11847: $lt_compile\"" >&5)
    1182411848   (eval "$lt_compile" 2>conftest.err)
    1182511849   ac_status=$?
    1182611850   cat conftest.err >&5
    11827    echo "$as_me:11827: \$? = $ac_status" >&5
     11851   echo "$as_me:11851: \$? = $ac_status" >&5
    1182811852   if (exit $ac_status) && test -s "$ac_outfile"; then
    1182911853     # The compiler can only warn and ignore the option if not recognized
     
    1192511949   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1192611950   -e 's:$: $lt_compiler_flag:'`
    11927    (eval echo "\"\$as_me:11927: $lt_compile\"" >&5)
     11951   (eval echo "\"\$as_me:11951: $lt_compile\"" >&5)
    1192811952   (eval "$lt_compile" 2>out/conftest.err)
    1192911953   ac_status=$?
    1193011954   cat out/conftest.err >&5
    11931    echo "$as_me:11931: \$? = $ac_status" >&5
     11955   echo "$as_me:11955: \$? = $ac_status" >&5
    1193211956   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1193311957   then
     
    1349513519   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1349613520   -e 's:$: $lt_compiler_flag:'`
    13497    (eval echo "\"\$as_me:13497: $lt_compile\"" >&5)
     13521   (eval echo "\"\$as_me:13521: $lt_compile\"" >&5)
    1349813522   (eval "$lt_compile" 2>conftest.err)
    1349913523   ac_status=$?
    1350013524   cat conftest.err >&5
    13501    echo "$as_me:13501: \$? = $ac_status" >&5
     13525   echo "$as_me:13525: \$? = $ac_status" >&5
    1350213526   if (exit $ac_status) && test -s "$ac_outfile"; then
    1350313527     # The compiler can only warn and ignore the option if not recognized
     
    1359913623   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1360013624   -e 's:$: $lt_compiler_flag:'`
    13601    (eval echo "\"\$as_me:13601: $lt_compile\"" >&5)
     13625   (eval echo "\"\$as_me:13625: $lt_compile\"" >&5)
    1360213626   (eval "$lt_compile" 2>out/conftest.err)
    1360313627   ac_status=$?
    1360413628   cat out/conftest.err >&5
    13605    echo "$as_me:13605: \$? = $ac_status" >&5
     13629   echo "$as_me:13629: \$? = $ac_status" >&5
    1360613630   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1360713631   then
     
    1580615830   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1580715831   -e 's:$: $lt_compiler_flag:'`
    15808    (eval echo "\"\$as_me:15808: $lt_compile\"" >&5)
     15832   (eval echo "\"\$as_me:15832: $lt_compile\"" >&5)
    1580915833   (eval "$lt_compile" 2>conftest.err)
    1581015834   ac_status=$?
    1581115835   cat conftest.err >&5
    15812    echo "$as_me:15812: \$? = $ac_status" >&5
     15836   echo "$as_me:15836: \$? = $ac_status" >&5
    1581315837   if (exit $ac_status) && test -s "$ac_outfile"; then
    1581415838     # The compiler can only warn and ignore the option if not recognized
     
    1607416098   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1607516099   -e 's:$: $lt_compiler_flag:'`
    16076    (eval echo "\"\$as_me:16076: $lt_compile\"" >&5)
     16100   (eval echo "\"\$as_me:16100: $lt_compile\"" >&5)
    1607716101   (eval "$lt_compile" 2>conftest.err)
    1607816102   ac_status=$?
    1607916103   cat conftest.err >&5
    16080    echo "$as_me:16080: \$? = $ac_status" >&5
     16104   echo "$as_me:16104: \$? = $ac_status" >&5
    1608116105   if (exit $ac_status) && test -s "$ac_outfile"; then
    1608216106     # The compiler can only warn and ignore the option if not recognized
     
    1617816202   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1617916203   -e 's:$: $lt_compiler_flag:'`
    16180    (eval echo "\"\$as_me:16180: $lt_compile\"" >&5)
     16204   (eval echo "\"\$as_me:16204: $lt_compile\"" >&5)
    1618116205   (eval "$lt_compile" 2>out/conftest.err)
    1618216206   ac_status=$?
    1618316207   cat out/conftest.err >&5
    16184    echo "$as_me:16184: \$? = $ac_status" >&5
     16208   echo "$as_me:16208: \$? = $ac_status" >&5
    1618516209   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1618616210   then
     
    1986119885
    1986219886
     19887# ToDo: find out when CBC_HAS_CLP should be defined!  For now, I
     19888# replaced all CBC_USE by COIN_HAS #ifdef's
     19889
     19890# Decide which one is the default solver
     19891echo "$as_me:$LINENO: checking for CBC default solver" >&5
     19892echo $ECHO_N "checking for CBC default solver... $ECHO_C" >&6
     19893
     19894# Check whether --with-cbc-default-solver or --without-cbc-default-solver was given.
     19895if test "${with_cbc_default_solver+set}" = set; then
     19896  withval="$with_cbc_default_solver"
     19897  cbc_default_solver=$with_val
     19898else
     19899  cbc_default_solver=clp
     19900fi;
     19901echo "$as_me:$LINENO: result: $cbc_default_solver" >&5
     19902echo "${ECHO_T}$cbc_default_solver" >&6
     19903
     19904case $cbc_default_solver in
     19905  clp)
     19906
     19907cat >>confdefs.h <<\_ACEOF
     19908#define CBC_DEFAULT_SOLVER "clp"
     19909_ACEOF
     19910
     19911    ;;
     19912  dylp)
     19913    cat >>confdefs.h <<\_ACEOF
     19914#define CBC_DEFAULT_SOLVER "dylp"
     19915_ACEOF
     19916
     19917    ;;
     19918  *)
     19919    { { echo "$as_me:$LINENO: error: Unknown solver $cbc_default_solver chosen as CBC's default solver" >&5
     19920echo "$as_me: error: Unknown solver $cbc_default_solver chosen as CBC's default solver" >&2;}
     19921   { (exit 1); exit 1; }; }
     19922    ;;
     19923esac
     19924
     19925# Steal some files from Clp - they are going to be deleted by a
     19926# distclean in src (see the Makefile.am there)
     19927if test x"$coin_has_clp" != xunavailable; then
     19928  { echo "$as_me:$LINENO: Stealing CbcOrClpParam's files from Clp" >&5
     19929echo "$as_me: Stealing CbcOrClpParam's files from Clp" >&6;}
     19930  rm -f src/CbcOrClpParam.cpp src/CbcOrClpParam.hpp
     19931  $LN_S $CLPSRCDIR/src/CbcOrClpParam.cpp src/CbcOrClpParam.cpp
     19932  $LN_S $CLPSRCDIR/src/CbcOrClpParam.hpp src/CbcOrClpParam.hpp
     19933fi
     19934
     19935#############################################################################
     19936#                            Third party solvers                            #
     19937#############################################################################
     19938
     19939# Some solvers require additional library, which we check for first.
     19940# ADDLIBS is our variable that accumulates the libraries necessary for
     19941# linking.
     19942echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
     19943echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
     19944if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
     19945  echo $ECHO_N "(cached) $ECHO_C" >&6
     19946else
     19947  ac_check_lib_save_LIBS=$LIBS
     19948LIBS="-lpthread  $LIBS"
     19949cat >conftest.$ac_ext <<_ACEOF
     19950/* confdefs.h.  */
     19951_ACEOF
     19952cat confdefs.h >>conftest.$ac_ext
     19953cat >>conftest.$ac_ext <<_ACEOF
     19954/* end confdefs.h.  */
     19955
     19956/* Override any gcc2 internal prototype to avoid an error.  */
     19957#ifdef __cplusplus
     19958extern "C"
     19959#endif
     19960/* We use char because int might match the return type of a gcc2
     19961   builtin and then its argument prototype would still apply.  */
     19962char pthread_create ();
     19963int
     19964main ()
     19965{
     19966pthread_create ();
     19967  ;
     19968  return 0;
     19969}
     19970_ACEOF
     19971rm -f conftest.$ac_objext conftest$ac_exeext
     19972if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     19973  (eval $ac_link) 2>conftest.er1
     19974  ac_status=$?
     19975  grep -v '^ *+' conftest.er1 >conftest.err
     19976  rm -f conftest.er1
     19977  cat conftest.err >&5
     19978  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19979  (exit $ac_status); } &&
     19980         { ac_try='test -z "$ac_c_werror_flag"
     19981                         || test ! -s conftest.err'
     19982  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     19983  (eval $ac_try) 2>&5
     19984  ac_status=$?
     19985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19986  (exit $ac_status); }; } &&
     19987         { ac_try='test -s conftest$ac_exeext'
     19988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     19989  (eval $ac_try) 2>&5
     19990  ac_status=$?
     19991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     19992  (exit $ac_status); }; }; then
     19993  ac_cv_lib_pthread_pthread_create=yes
     19994else
     19995  echo "$as_me: failed program was:" >&5
     19996sed 's/^/| /' conftest.$ac_ext >&5
     19997
     19998ac_cv_lib_pthread_pthread_create=no
     19999fi
     20000rm -f conftest.err conftest.$ac_objext \
     20001      conftest$ac_exeext conftest.$ac_ext
     20002LIBS=$ac_check_lib_save_LIBS
     20003fi
     20004echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
     20005echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
     20006if test $ac_cv_lib_pthread_pthread_create = yes; then
     20007  ADDLIBS="-lpthread $ADDLIBS"
     20008fi
     20009
     20010echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     20011echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
     20012if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     20013  echo $ECHO_N "(cached) $ECHO_C" >&6
     20014else
     20015  ac_check_lib_save_LIBS=$LIBS
     20016LIBS="-ldl  $LIBS"
     20017cat >conftest.$ac_ext <<_ACEOF
     20018/* confdefs.h.  */
     20019_ACEOF
     20020cat confdefs.h >>conftest.$ac_ext
     20021cat >>conftest.$ac_ext <<_ACEOF
     20022/* end confdefs.h.  */
     20023
     20024/* Override any gcc2 internal prototype to avoid an error.  */
     20025#ifdef __cplusplus
     20026extern "C"
     20027#endif
     20028/* We use char because int might match the return type of a gcc2
     20029   builtin and then its argument prototype would still apply.  */
     20030char dlopen ();
     20031int
     20032main ()
     20033{
     20034dlopen ();
     20035  ;
     20036  return 0;
     20037}
     20038_ACEOF
     20039rm -f conftest.$ac_objext conftest$ac_exeext
     20040if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20041  (eval $ac_link) 2>conftest.er1
     20042  ac_status=$?
     20043  grep -v '^ *+' conftest.er1 >conftest.err
     20044  rm -f conftest.er1
     20045  cat conftest.err >&5
     20046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20047  (exit $ac_status); } &&
     20048         { ac_try='test -z "$ac_c_werror_flag"
     20049                         || test ! -s conftest.err'
     20050  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20051  (eval $ac_try) 2>&5
     20052  ac_status=$?
     20053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20054  (exit $ac_status); }; } &&
     20055         { ac_try='test -s conftest$ac_exeext'
     20056  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20057  (eval $ac_try) 2>&5
     20058  ac_status=$?
     20059  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20060  (exit $ac_status); }; }; then
     20061  ac_cv_lib_dl_dlopen=yes
     20062else
     20063  echo "$as_me: failed program was:" >&5
     20064sed 's/^/| /' conftest.$ac_ext >&5
     20065
     20066ac_cv_lib_dl_dlopen=no
     20067fi
     20068rm -f conftest.err conftest.$ac_objext \
     20069      conftest$ac_exeext conftest.$ac_ext
     20070LIBS=$ac_check_lib_save_LIBS
     20071fi
     20072echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     20073echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
     20074if test $ac_cv_lib_dl_dlopen = yes; then
     20075  ADDLIBS="-ldl $ADDLIBS"
     20076fi
     20077
     20078
     20079# Check which third party solvers are available ToDo!
     20080
     20081echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
     20082echo $ECHO_N "checking if user provides library for Cplex... $ECHO_C" >&6
     20083
     20084# Check for header file directory
     20085
     20086# Check whether --with-cplex-incdir or --without-cplex-incdir was given.
     20087if test "${with_cplex_incdir+set}" = set; then
     20088  withval="$with_cplex_incdir"
     20089  CPXINCDIR=`cd $withval; pwd`
     20090fi;
     20091# Check for library directory
     20092
     20093# Check whether --with-cplex-libdir or --without-cplex-libdir was given.
     20094if test "${with_cplex_libdir+set}" = set; then
     20095  withval="$with_cplex_libdir"
     20096  CPXLIBDIR=`cd $withval; pwd`
     20097fi;
     20098
     20099if test x"$CPXINCDIR" != x || test x"$CPXLIBDIR" != x; then
     20100  coin_has_cpx=true
     20101else
     20102  coin_has_cpx=false
     20103fi
     20104
     20105if test $coin_has_cpx = true; then
     20106# Check either both arguments or none are given
     20107  if test x"$CPXINCDIR" = x || test x"$CPXLIBDIR" = x; then
     20108    { { echo "$as_me:$LINENO: error: You need to specify both --with-cplex-incdir and --with-cplex-libdir if you want to use library Cplex" >&5
     20109echo "$as_me: error: You need to specify both --with-cplex-incdir and --with-cplex-libdir if you want to use library Cplex" >&2;}
     20110   { (exit 1); exit 1; }; }
     20111  fi
     20112  echo "$as_me:$LINENO: result: yes" >&5
     20113echo "${ECHO_T}yes" >&6
     20114  # Check if the given header file is there
     20115  as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh`
     20116echo "$as_me:$LINENO: checking for $CPXINCDIR/cplex.h" >&5
     20117echo $ECHO_N "checking for $CPXINCDIR/cplex.h... $ECHO_C" >&6
     20118if eval "test \"\${$as_ac_File+set}\" = set"; then
     20119  echo $ECHO_N "(cached) $ECHO_C" >&6
     20120else
     20121  test "$cross_compiling" = yes &&
     20122  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     20123echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     20124   { (exit 1); exit 1; }; }
     20125if test -r "$CPXINCDIR/cplex.h"; then
     20126  eval "$as_ac_File=yes"
     20127else
     20128  eval "$as_ac_File=no"
     20129fi
     20130fi
     20131echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     20132echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     20133if test `eval echo '${'$as_ac_File'}'` = yes; then
     20134  :
     20135else
     20136  { { echo "$as_me:$LINENO: error: Cannot find file cplex.h in $CPXINCDIR" >&5
     20137echo "$as_me: error: Cannot find file cplex.h in $CPXINCDIR" >&2;}
     20138   { (exit 1); exit 1; }; }
     20139fi
     20140
     20141
     20142  # Check if the symbol is provided in the library
     20143  coin_save_LIBS="$LIBS"
     20144                  LIBS="-L$CPXLIBDIR -lcplex $ADDLIBS"
     20145                  echo "$as_me:$LINENO: checking for CPXgetstat in -lcplex" >&5
     20146echo $ECHO_N "checking for CPXgetstat in -lcplex... $ECHO_C" >&6
     20147if test "${ac_cv_lib_cplex_CPXgetstat+set}" = set; then
     20148  echo $ECHO_N "(cached) $ECHO_C" >&6
     20149else
     20150  ac_check_lib_save_LIBS=$LIBS
     20151LIBS="-lcplex  $LIBS"
     20152cat >conftest.$ac_ext <<_ACEOF
     20153/* confdefs.h.  */
     20154_ACEOF
     20155cat confdefs.h >>conftest.$ac_ext
     20156cat >>conftest.$ac_ext <<_ACEOF
     20157/* end confdefs.h.  */
     20158
     20159/* Override any gcc2 internal prototype to avoid an error.  */
     20160#ifdef __cplusplus
     20161extern "C"
     20162#endif
     20163/* We use char because int might match the return type of a gcc2
     20164   builtin and then its argument prototype would still apply.  */
     20165char CPXgetstat ();
     20166int
     20167main ()
     20168{
     20169CPXgetstat ();
     20170  ;
     20171  return 0;
     20172}
     20173_ACEOF
     20174rm -f conftest.$ac_objext conftest$ac_exeext
     20175if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20176  (eval $ac_link) 2>conftest.er1
     20177  ac_status=$?
     20178  grep -v '^ *+' conftest.er1 >conftest.err
     20179  rm -f conftest.er1
     20180  cat conftest.err >&5
     20181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20182  (exit $ac_status); } &&
     20183         { ac_try='test -z "$ac_c_werror_flag"
     20184                         || test ! -s conftest.err'
     20185  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20186  (eval $ac_try) 2>&5
     20187  ac_status=$?
     20188  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20189  (exit $ac_status); }; } &&
     20190         { ac_try='test -s conftest$ac_exeext'
     20191  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20192  (eval $ac_try) 2>&5
     20193  ac_status=$?
     20194  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20195  (exit $ac_status); }; }; then
     20196  ac_cv_lib_cplex_CPXgetstat=yes
     20197else
     20198  echo "$as_me: failed program was:" >&5
     20199sed 's/^/| /' conftest.$ac_ext >&5
     20200
     20201ac_cv_lib_cplex_CPXgetstat=no
     20202fi
     20203rm -f conftest.err conftest.$ac_objext \
     20204      conftest$ac_exeext conftest.$ac_ext
     20205LIBS=$ac_check_lib_save_LIBS
     20206fi
     20207echo "$as_me:$LINENO: result: $ac_cv_lib_cplex_CPXgetstat" >&5
     20208echo "${ECHO_T}$ac_cv_lib_cplex_CPXgetstat" >&6
     20209if test $ac_cv_lib_cplex_CPXgetstat = yes; then
     20210  :
     20211else
     20212  { { echo "$as_me:$LINENO: error: Cannot find symbol CPXgetstat in library -lcplex" >&5
     20213echo "$as_me: error: Cannot find symbol CPXgetstat in library -lcplex" >&2;}
     20214   { (exit 1); exit 1; }; }
     20215fi
     20216
     20217                  LIBS="$coin_save_LIBS"
     20218
     20219  ADDLIBS="-L$CPXLIBDIR -lcplex $ADDLIBS"
     20220
     20221cat >>confdefs.h <<\_ACEOF
     20222#define COIN_HAS_CPX 1
     20223_ACEOF
     20224
     20225else
     20226  echo "$as_me:$LINENO: result: no" >&5
     20227echo "${ECHO_T}no" >&6
     20228fi
     20229
     20230
     20231
     20232
     20233
     20234if test $coin_has_cpx = true; then
     20235  COIN_HAS_CPX_TRUE=
     20236  COIN_HAS_CPX_FALSE='#'
     20237else
     20238  COIN_HAS_CPX_TRUE='#'
     20239  COIN_HAS_CPX_FALSE=
     20240fi
     20241
     20242
     20243
     20244echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
     20245echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6
     20246
     20247# Check for header file directory
     20248
     20249# Check whether --with-glpk-incdir or --without-glpk-incdir was given.
     20250if test "${with_glpk_incdir+set}" = set; then
     20251  withval="$with_glpk_incdir"
     20252  GLPKINCDIR=`cd $withval; pwd`
     20253fi;
     20254# Check for library directory
     20255
     20256# Check whether --with-glpk-libdir or --without-glpk-libdir was given.
     20257if test "${with_glpk_libdir+set}" = set; then
     20258  withval="$with_glpk_libdir"
     20259  GLPKLIBDIR=`cd $withval; pwd`
     20260fi;
     20261
     20262if test x"$GLPKINCDIR" != x || test x"$GLPKLIBDIR" != x; then
     20263  coin_has_glpk=true
     20264else
     20265  coin_has_glpk=false
     20266fi
     20267
     20268if test $coin_has_glpk = true; then
     20269# Check either both arguments or none are given
     20270  if test x"$GLPKINCDIR" = x || test x"$GLPKLIBDIR" = x; then
     20271    { { echo "$as_me:$LINENO: error: You need to specify both --with-glpk-incdir and --with-glpk-libdir if you want to use library Glpk" >&5
     20272echo "$as_me: error: You need to specify both --with-glpk-incdir and --with-glpk-libdir if you want to use library Glpk" >&2;}
     20273   { (exit 1); exit 1; }; }
     20274  fi
     20275  echo "$as_me:$LINENO: result: yes" >&5
     20276echo "${ECHO_T}yes" >&6
     20277  # Check if the given header file is there
     20278  as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh`
     20279echo "$as_me:$LINENO: checking for $GLPKINCDIR/glpk.h" >&5
     20280echo $ECHO_N "checking for $GLPKINCDIR/glpk.h... $ECHO_C" >&6
     20281if eval "test \"\${$as_ac_File+set}\" = set"; then
     20282  echo $ECHO_N "(cached) $ECHO_C" >&6
     20283else
     20284  test "$cross_compiling" = yes &&
     20285  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     20286echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     20287   { (exit 1); exit 1; }; }
     20288if test -r "$GLPKINCDIR/glpk.h"; then
     20289  eval "$as_ac_File=yes"
     20290else
     20291  eval "$as_ac_File=no"
     20292fi
     20293fi
     20294echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     20295echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     20296if test `eval echo '${'$as_ac_File'}'` = yes; then
     20297  :
     20298else
     20299  { { echo "$as_me:$LINENO: error: Cannot find file glpk.h in $GLPKINCDIR" >&5
     20300echo "$as_me: error: Cannot find file glpk.h in $GLPKINCDIR" >&2;}
     20301   { (exit 1); exit 1; }; }
     20302fi
     20303
     20304
     20305  # Check if the symbol is provided in the library
     20306  coin_save_LIBS="$LIBS"
     20307                  LIBS="-L$GLPKLIBDIR -lglpk $ADDLIBS"
     20308                  echo "$as_me:$LINENO: checking for glp_lpx_simplex in -lglpk" >&5
     20309echo $ECHO_N "checking for glp_lpx_simplex in -lglpk... $ECHO_C" >&6
     20310if test "${ac_cv_lib_glpk_glp_lpx_simplex+set}" = set; then
     20311  echo $ECHO_N "(cached) $ECHO_C" >&6
     20312else
     20313  ac_check_lib_save_LIBS=$LIBS
     20314LIBS="-lglpk  $LIBS"
     20315cat >conftest.$ac_ext <<_ACEOF
     20316/* confdefs.h.  */
     20317_ACEOF
     20318cat confdefs.h >>conftest.$ac_ext
     20319cat >>conftest.$ac_ext <<_ACEOF
     20320/* end confdefs.h.  */
     20321
     20322/* Override any gcc2 internal prototype to avoid an error.  */
     20323#ifdef __cplusplus
     20324extern "C"
     20325#endif
     20326/* We use char because int might match the return type of a gcc2
     20327   builtin and then its argument prototype would still apply.  */
     20328char glp_lpx_simplex ();
     20329int
     20330main ()
     20331{
     20332glp_lpx_simplex ();
     20333  ;
     20334  return 0;
     20335}
     20336_ACEOF
     20337rm -f conftest.$ac_objext conftest$ac_exeext
     20338if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20339  (eval $ac_link) 2>conftest.er1
     20340  ac_status=$?
     20341  grep -v '^ *+' conftest.er1 >conftest.err
     20342  rm -f conftest.er1
     20343  cat conftest.err >&5
     20344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20345  (exit $ac_status); } &&
     20346         { ac_try='test -z "$ac_c_werror_flag"
     20347                         || test ! -s conftest.err'
     20348  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20349  (eval $ac_try) 2>&5
     20350  ac_status=$?
     20351  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20352  (exit $ac_status); }; } &&
     20353         { ac_try='test -s conftest$ac_exeext'
     20354  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20355  (eval $ac_try) 2>&5
     20356  ac_status=$?
     20357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20358  (exit $ac_status); }; }; then
     20359  ac_cv_lib_glpk_glp_lpx_simplex=yes
     20360else
     20361  echo "$as_me: failed program was:" >&5
     20362sed 's/^/| /' conftest.$ac_ext >&5
     20363
     20364ac_cv_lib_glpk_glp_lpx_simplex=no
     20365fi
     20366rm -f conftest.err conftest.$ac_objext \
     20367      conftest$ac_exeext conftest.$ac_ext
     20368LIBS=$ac_check_lib_save_LIBS
     20369fi
     20370echo "$as_me:$LINENO: result: $ac_cv_lib_glpk_glp_lpx_simplex" >&5
     20371echo "${ECHO_T}$ac_cv_lib_glpk_glp_lpx_simplex" >&6
     20372if test $ac_cv_lib_glpk_glp_lpx_simplex = yes; then
     20373  :
     20374else
     20375  { { echo "$as_me:$LINENO: error: Cannot find symbol glp_lpx_simplex in library -lglpk" >&5
     20376echo "$as_me: error: Cannot find symbol glp_lpx_simplex in library -lglpk" >&2;}
     20377   { (exit 1); exit 1; }; }
     20378fi
     20379
     20380                  LIBS="$coin_save_LIBS"
     20381
     20382  ADDLIBS="-L$GLPKLIBDIR -lglpk $ADDLIBS"
     20383
     20384cat >>confdefs.h <<\_ACEOF
     20385#define COIN_HAS_GLPK 1
     20386_ACEOF
     20387
     20388else
     20389  echo "$as_me:$LINENO: result: no" >&5
     20390echo "${ECHO_T}no" >&6
     20391fi
     20392
     20393
     20394
     20395
     20396
     20397if test $coin_has_glpk = true; then
     20398  COIN_HAS_GLPK_TRUE=
     20399  COIN_HAS_GLPK_FALSE='#'
     20400else
     20401  COIN_HAS_GLPK_TRUE='#'
     20402  COIN_HAS_GLPK_FALSE=
     20403fi
     20404
     20405
     20406
     20407echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5
     20408echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6
     20409
     20410# Check for header file directory
     20411
     20412# Check whether --with-fortmp-incdir or --without-fortmp-incdir was given.
     20413if test "${with_fortmp_incdir+set}" = set; then
     20414  withval="$with_fortmp_incdir"
     20415  FMPINCDIR=`cd $withval; pwd`
     20416fi;
     20417# Check for library directory
     20418
     20419# Check whether --with-fortmp-libdir or --without-fortmp-libdir was given.
     20420if test "${with_fortmp_libdir+set}" = set; then
     20421  withval="$with_fortmp_libdir"
     20422  FMPLIBDIR=`cd $withval; pwd`
     20423fi;
     20424
     20425if test x"$FMPINCDIR" != x || test x"$FMPLIBDIR" != x; then
     20426  coin_has_fmp=true
     20427else
     20428  coin_has_fmp=false
     20429fi
     20430
     20431if test $coin_has_fmp = true; then
     20432# Check either both arguments or none are given
     20433  if test x"$FMPINCDIR" = x || test x"$FMPLIBDIR" = x; then
     20434    { { echo "$as_me:$LINENO: error: You need to specify both --with-fortmp-incdir and --with-fortmp-libdir if you want to use library FortMP" >&5
     20435echo "$as_me: error: You need to specify both --with-fortmp-incdir and --with-fortmp-libdir if you want to use library FortMP" >&2;}
     20436   { (exit 1); exit 1; }; }
     20437  fi
     20438  echo "$as_me:$LINENO: result: yes" >&5
     20439echo "${ECHO_T}yes" >&6
     20440  # Check if the given header file is there
     20441
     20442  # Check if the symbol is provided in the library
     20443
     20444  ADDLIBS="-L$FMPLIBDIR -lfmp $ADDLIBS"
     20445
     20446cat >>confdefs.h <<\_ACEOF
     20447#define COIN_HAS_FMP 1
     20448_ACEOF
     20449
     20450else
     20451  echo "$as_me:$LINENO: result: no" >&5
     20452echo "${ECHO_T}no" >&6
     20453fi
     20454
     20455
     20456
     20457
     20458
     20459if test $coin_has_fmp = true; then
     20460  COIN_HAS_FMP_TRUE=
     20461  COIN_HAS_FMP_FALSE='#'
     20462else
     20463  COIN_HAS_FMP_TRUE='#'
     20464  COIN_HAS_FMP_FALSE=
     20465fi
     20466
     20467  #ToDo! is Fortran?
     20468
     20469echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5
     20470echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6
     20471
     20472# Check for header file directory
     20473
     20474# Check whether --with-mosek-incdir or --without-mosek-incdir was given.
     20475if test "${with_mosek_incdir+set}" = set; then
     20476  withval="$with_mosek_incdir"
     20477  MSKINCDIR=`cd $withval; pwd`
     20478fi;
     20479# Check for library directory
     20480
     20481# Check whether --with-mosek-libdir or --without-mosek-libdir was given.
     20482if test "${with_mosek_libdir+set}" = set; then
     20483  withval="$with_mosek_libdir"
     20484  MSKLIBDIR=`cd $withval; pwd`
     20485fi;
     20486
     20487if test x"$MSKINCDIR" != x || test x"$MSKLIBDIR" != x; then
     20488  coin_has_msk=true
     20489else
     20490  coin_has_msk=false
     20491fi
     20492
     20493if test $coin_has_msk = true; then
     20494# Check either both arguments or none are given
     20495  if test x"$MSKINCDIR" = x || test x"$MSKLIBDIR" = x; then
     20496    { { echo "$as_me:$LINENO: error: You need to specify both --with-mosek-incdir and --with-mosek-libdir if you want to use library Mosek" >&5
     20497echo "$as_me: error: You need to specify both --with-mosek-incdir and --with-mosek-libdir if you want to use library Mosek" >&2;}
     20498   { (exit 1); exit 1; }; }
     20499  fi
     20500  echo "$as_me:$LINENO: result: yes" >&5
     20501echo "${ECHO_T}yes" >&6
     20502  # Check if the given header file is there
     20503  as_ac_File=`echo "ac_cv_file_$MSKINCDIR/mosekdl.h" | $as_tr_sh`
     20504echo "$as_me:$LINENO: checking for $MSKINCDIR/mosekdl.h" >&5
     20505echo $ECHO_N "checking for $MSKINCDIR/mosekdl.h... $ECHO_C" >&6
     20506if eval "test \"\${$as_ac_File+set}\" = set"; then
     20507  echo $ECHO_N "(cached) $ECHO_C" >&6
     20508else
     20509  test "$cross_compiling" = yes &&
     20510  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     20511echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     20512   { (exit 1); exit 1; }; }
     20513if test -r "$MSKINCDIR/mosekdl.h"; then
     20514  eval "$as_ac_File=yes"
     20515else
     20516  eval "$as_ac_File=no"
     20517fi
     20518fi
     20519echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     20520echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     20521if test `eval echo '${'$as_ac_File'}'` = yes; then
     20522  :
     20523else
     20524  { { echo "$as_me:$LINENO: error: Cannot find file mosekdl.h in $MSKINCDIR" >&5
     20525echo "$as_me: error: Cannot find file mosekdl.h in $MSKINCDIR" >&2;}
     20526   { (exit 1); exit 1; }; }
     20527fi
     20528
     20529
     20530  # Check if the symbol is provided in the library
     20531  coin_save_LIBS="$LIBS"
     20532                  LIBS="-L$MSKLIBDIR -lmosekdl $ADDLIBS"
     20533                  echo "$as_me:$LINENO: checking for MSK_openmosek in -lmosekdl" >&5
     20534echo $ECHO_N "checking for MSK_openmosek in -lmosekdl... $ECHO_C" >&6
     20535if test "${ac_cv_lib_mosekdl_MSK_openmosek+set}" = set; then
     20536  echo $ECHO_N "(cached) $ECHO_C" >&6
     20537else
     20538  ac_check_lib_save_LIBS=$LIBS
     20539LIBS="-lmosekdl  $LIBS"
     20540cat >conftest.$ac_ext <<_ACEOF
     20541/* confdefs.h.  */
     20542_ACEOF
     20543cat confdefs.h >>conftest.$ac_ext
     20544cat >>conftest.$ac_ext <<_ACEOF
     20545/* end confdefs.h.  */
     20546
     20547/* Override any gcc2 internal prototype to avoid an error.  */
     20548#ifdef __cplusplus
     20549extern "C"
     20550#endif
     20551/* We use char because int might match the return type of a gcc2
     20552   builtin and then its argument prototype would still apply.  */
     20553char MSK_openmosek ();
     20554int
     20555main ()
     20556{
     20557MSK_openmosek ();
     20558  ;
     20559  return 0;
     20560}
     20561_ACEOF
     20562rm -f conftest.$ac_objext conftest$ac_exeext
     20563if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20564  (eval $ac_link) 2>conftest.er1
     20565  ac_status=$?
     20566  grep -v '^ *+' conftest.er1 >conftest.err
     20567  rm -f conftest.er1
     20568  cat conftest.err >&5
     20569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20570  (exit $ac_status); } &&
     20571         { ac_try='test -z "$ac_c_werror_flag"
     20572                         || test ! -s conftest.err'
     20573  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20574  (eval $ac_try) 2>&5
     20575  ac_status=$?
     20576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20577  (exit $ac_status); }; } &&
     20578         { ac_try='test -s conftest$ac_exeext'
     20579  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20580  (eval $ac_try) 2>&5
     20581  ac_status=$?
     20582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20583  (exit $ac_status); }; }; then
     20584  ac_cv_lib_mosekdl_MSK_openmosek=yes
     20585else
     20586  echo "$as_me: failed program was:" >&5
     20587sed 's/^/| /' conftest.$ac_ext >&5
     20588
     20589ac_cv_lib_mosekdl_MSK_openmosek=no
     20590fi
     20591rm -f conftest.err conftest.$ac_objext \
     20592      conftest$ac_exeext conftest.$ac_ext
     20593LIBS=$ac_check_lib_save_LIBS
     20594fi
     20595echo "$as_me:$LINENO: result: $ac_cv_lib_mosekdl_MSK_openmosek" >&5
     20596echo "${ECHO_T}$ac_cv_lib_mosekdl_MSK_openmosek" >&6
     20597if test $ac_cv_lib_mosekdl_MSK_openmosek = yes; then
     20598  :
     20599else
     20600  { { echo "$as_me:$LINENO: error: Cannot find symbol MSK_openmosek in library -lmosekdl" >&5
     20601echo "$as_me: error: Cannot find symbol MSK_openmosek in library -lmosekdl" >&2;}
     20602   { (exit 1); exit 1; }; }
     20603fi
     20604
     20605                  LIBS="$coin_save_LIBS"
     20606
     20607  ADDLIBS="-L$MSKLIBDIR -lmosekdl $ADDLIBS"
     20608
     20609cat >>confdefs.h <<\_ACEOF
     20610#define COIN_HAS_MSK 1
     20611_ACEOF
     20612
     20613else
     20614  echo "$as_me:$LINENO: result: no" >&5
     20615echo "${ECHO_T}no" >&6
     20616fi
     20617
     20618
     20619
     20620
     20621
     20622if test $coin_has_msk = true; then
     20623  COIN_HAS_MSK_TRUE=
     20624  COIN_HAS_MSK_FALSE='#'
     20625else
     20626  COIN_HAS_MSK_TRUE='#'
     20627  COIN_HAS_MSK_FALSE=
     20628fi
     20629
     20630
     20631
     20632echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
     20633echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
     20634
     20635# Check for header file directory
     20636
     20637# Check whether --with-osl-incdir or --without-osl-incdir was given.
     20638if test "${with_osl_incdir+set}" = set; then
     20639  withval="$with_osl_incdir"
     20640  OSLINCDIR=`cd $withval; pwd`
     20641fi;
     20642# Check for library directory
     20643
     20644# Check whether --with-osl-libdir or --without-osl-libdir was given.
     20645if test "${with_osl_libdir+set}" = set; then
     20646  withval="$with_osl_libdir"
     20647  OSLLIBDIR=`cd $withval; pwd`
     20648fi;
     20649
     20650if test x"$OSLINCDIR" != x || test x"$OSLLIBDIR" != x; then
     20651  coin_has_osl=true
     20652else
     20653  coin_has_osl=false
     20654fi
     20655
     20656if test $coin_has_osl = true; then
     20657# Check either both arguments or none are given
     20658  if test x"$OSLINCDIR" = x || test x"$OSLLIBDIR" = x; then
     20659    { { echo "$as_me:$LINENO: error: You need to specify both --with-osl-incdir and --with-osl-libdir if you want to use library Osl" >&5
     20660echo "$as_me: error: You need to specify both --with-osl-incdir and --with-osl-libdir if you want to use library Osl" >&2;}
     20661   { (exit 1); exit 1; }; }
     20662  fi
     20663  echo "$as_me:$LINENO: result: yes" >&5
     20664echo "${ECHO_T}yes" >&6
     20665  # Check if the given header file is there
     20666  as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh`
     20667echo "$as_me:$LINENO: checking for $OSLINCDIR/ekk_c_api.h" >&5
     20668echo $ECHO_N "checking for $OSLINCDIR/ekk_c_api.h... $ECHO_C" >&6
     20669if eval "test \"\${$as_ac_File+set}\" = set"; then
     20670  echo $ECHO_N "(cached) $ECHO_C" >&6
     20671else
     20672  test "$cross_compiling" = yes &&
     20673  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     20674echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     20675   { (exit 1); exit 1; }; }
     20676if test -r "$OSLINCDIR/ekk_c_api.h"; then
     20677  eval "$as_ac_File=yes"
     20678else
     20679  eval "$as_ac_File=no"
     20680fi
     20681fi
     20682echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     20683echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     20684if test `eval echo '${'$as_ac_File'}'` = yes; then
     20685  :
     20686else
     20687  { { echo "$as_me:$LINENO: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&5
     20688echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;}
     20689   { (exit 1); exit 1; }; }
     20690fi
     20691
     20692
     20693  # Check if the symbol is provided in the library
     20694  coin_save_LIBS="$LIBS"
     20695                  LIBS="-L$OSLLIBDIR -losl $ADDLIBS"
     20696                  echo "$as_me:$LINENO: checking for ekk_simplex in -losl" >&5
     20697echo $ECHO_N "checking for ekk_simplex in -losl... $ECHO_C" >&6
     20698if test "${ac_cv_lib_osl_ekk_simplex+set}" = set; then
     20699  echo $ECHO_N "(cached) $ECHO_C" >&6
     20700else
     20701  ac_check_lib_save_LIBS=$LIBS
     20702LIBS="-losl  $LIBS"
     20703cat >conftest.$ac_ext <<_ACEOF
     20704/* confdefs.h.  */
     20705_ACEOF
     20706cat confdefs.h >>conftest.$ac_ext
     20707cat >>conftest.$ac_ext <<_ACEOF
     20708/* end confdefs.h.  */
     20709
     20710/* Override any gcc2 internal prototype to avoid an error.  */
     20711#ifdef __cplusplus
     20712extern "C"
     20713#endif
     20714/* We use char because int might match the return type of a gcc2
     20715   builtin and then its argument prototype would still apply.  */
     20716char ekk_simplex ();
     20717int
     20718main ()
     20719{
     20720ekk_simplex ();
     20721  ;
     20722  return 0;
     20723}
     20724_ACEOF
     20725rm -f conftest.$ac_objext conftest$ac_exeext
     20726if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20727  (eval $ac_link) 2>conftest.er1
     20728  ac_status=$?
     20729  grep -v '^ *+' conftest.er1 >conftest.err
     20730  rm -f conftest.er1
     20731  cat conftest.err >&5
     20732  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20733  (exit $ac_status); } &&
     20734         { ac_try='test -z "$ac_c_werror_flag"
     20735                         || test ! -s conftest.err'
     20736  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20737  (eval $ac_try) 2>&5
     20738  ac_status=$?
     20739  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20740  (exit $ac_status); }; } &&
     20741         { ac_try='test -s conftest$ac_exeext'
     20742  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20743  (eval $ac_try) 2>&5
     20744  ac_status=$?
     20745  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20746  (exit $ac_status); }; }; then
     20747  ac_cv_lib_osl_ekk_simplex=yes
     20748else
     20749  echo "$as_me: failed program was:" >&5
     20750sed 's/^/| /' conftest.$ac_ext >&5
     20751
     20752ac_cv_lib_osl_ekk_simplex=no
     20753fi
     20754rm -f conftest.err conftest.$ac_objext \
     20755      conftest$ac_exeext conftest.$ac_ext
     20756LIBS=$ac_check_lib_save_LIBS
     20757fi
     20758echo "$as_me:$LINENO: result: $ac_cv_lib_osl_ekk_simplex" >&5
     20759echo "${ECHO_T}$ac_cv_lib_osl_ekk_simplex" >&6
     20760if test $ac_cv_lib_osl_ekk_simplex = yes; then
     20761  :
     20762else
     20763  { { echo "$as_me:$LINENO: error: Cannot find symbol ekk_simplex in library -losl" >&5
     20764echo "$as_me: error: Cannot find symbol ekk_simplex in library -losl" >&2;}
     20765   { (exit 1); exit 1; }; }
     20766fi
     20767
     20768                  LIBS="$coin_save_LIBS"
     20769
     20770  ADDLIBS="-L$OSLLIBDIR -losl $ADDLIBS"
     20771
     20772cat >>confdefs.h <<\_ACEOF
     20773#define COIN_HAS_OSL 1
     20774_ACEOF
     20775
     20776else
     20777  echo "$as_me:$LINENO: result: no" >&5
     20778echo "${ECHO_T}no" >&6
     20779fi
     20780
     20781
     20782
     20783
     20784
     20785if test $coin_has_osl = true; then
     20786  COIN_HAS_OSL_TRUE=
     20787  COIN_HAS_OSL_FALSE='#'
     20788else
     20789  COIN_HAS_OSL_TRUE='#'
     20790  COIN_HAS_OSL_FALSE=
     20791fi
     20792
     20793
     20794
     20795echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
     20796echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
     20797
     20798# Check for header file directory
     20799
     20800# Check whether --with-soplex-incdir or --without-soplex-incdir was given.
     20801if test "${with_soplex_incdir+set}" = set; then
     20802  withval="$with_soplex_incdir"
     20803  SPXINCDIR=`cd $withval; pwd`
     20804fi;
     20805# Check for library directory
     20806
     20807# Check whether --with-soplex-libdir or --without-soplex-libdir was given.
     20808if test "${with_soplex_libdir+set}" = set; then
     20809  withval="$with_soplex_libdir"
     20810  SPXLIBDIR=`cd $withval; pwd`
     20811fi;
     20812
     20813if test x"$SPXINCDIR" != x || test x"$SPXLIBDIR" != x; then
     20814  coin_has_spx=true
     20815else
     20816  coin_has_spx=false
     20817fi
     20818
     20819if test $coin_has_spx = true; then
     20820# Check either both arguments or none are given
     20821  if test x"$SPXINCDIR" = x || test x"$SPXLIBDIR" = x; then
     20822    { { echo "$as_me:$LINENO: error: You need to specify both --with-soplex-incdir and --with-soplex-libdir if you want to use library Soplex" >&5
     20823echo "$as_me: error: You need to specify both --with-soplex-incdir and --with-soplex-libdir if you want to use library Soplex" >&2;}
     20824   { (exit 1); exit 1; }; }
     20825  fi
     20826  echo "$as_me:$LINENO: result: yes" >&5
     20827echo "${ECHO_T}yes" >&6
     20828  # Check if the given header file is there
     20829  as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh`
     20830echo "$as_me:$LINENO: checking for $SPXINCDIR/spxsolver.h" >&5
     20831echo $ECHO_N "checking for $SPXINCDIR/spxsolver.h... $ECHO_C" >&6
     20832if eval "test \"\${$as_ac_File+set}\" = set"; then
     20833  echo $ECHO_N "(cached) $ECHO_C" >&6
     20834else
     20835  test "$cross_compiling" = yes &&
     20836  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     20837echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     20838   { (exit 1); exit 1; }; }
     20839if test -r "$SPXINCDIR/spxsolver.h"; then
     20840  eval "$as_ac_File=yes"
     20841else
     20842  eval "$as_ac_File=no"
     20843fi
     20844fi
     20845echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     20846echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     20847if test `eval echo '${'$as_ac_File'}'` = yes; then
     20848  :
     20849else
     20850  { { echo "$as_me:$LINENO: error: Cannot find file spxsolver.h in $SPXINCDIR" >&5
     20851echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;}
     20852   { (exit 1); exit 1; }; }
     20853fi
     20854
     20855
     20856  # Check if the symbol is provided in the library
     20857
     20858  ADDLIBS="-L$SPXLIBDIR -lspx $ADDLIBS"
     20859
     20860cat >>confdefs.h <<\_ACEOF
     20861#define COIN_HAS_SPX 1
     20862_ACEOF
     20863
     20864else
     20865  echo "$as_me:$LINENO: result: no" >&5
     20866echo "${ECHO_T}no" >&6
     20867fi
     20868
     20869
     20870
     20871
     20872
     20873if test $coin_has_spx = true; then
     20874  COIN_HAS_SPX_TRUE=
     20875  COIN_HAS_SPX_FALSE='#'
     20876else
     20877  COIN_HAS_SPX_TRUE='#'
     20878  COIN_HAS_SPX_FALSE=
     20879fi
     20880
     20881 # ToDo
     20882
     20883echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
     20884echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
     20885
     20886# Check for header file directory
     20887
     20888# Check whether --with-xpress-incdir or --without-xpress-incdir was given.
     20889if test "${with_xpress_incdir+set}" = set; then
     20890  withval="$with_xpress_incdir"
     20891  XPRINCDIR=`cd $withval; pwd`
     20892fi;
     20893# Check for library directory
     20894
     20895# Check whether --with-xpress-libdir or --without-xpress-libdir was given.
     20896if test "${with_xpress_libdir+set}" = set; then
     20897  withval="$with_xpress_libdir"
     20898  XPRLIBDIR=`cd $withval; pwd`
     20899fi;
     20900
     20901if test x"$XPRINCDIR" != x || test x"$XPRLIBDIR" != x; then
     20902  coin_has_xpr=true
     20903else
     20904  coin_has_xpr=false
     20905fi
     20906
     20907if test $coin_has_xpr = true; then
     20908# Check either both arguments or none are given
     20909  if test x"$XPRINCDIR" = x || test x"$XPRLIBDIR" = x; then
     20910    { { echo "$as_me:$LINENO: error: You need to specify both --with-xpress-incdir and --with-xpress-libdir if you want to use library Xpress" >&5
     20911echo "$as_me: error: You need to specify both --with-xpress-incdir and --with-xpress-libdir if you want to use library Xpress" >&2;}
     20912   { (exit 1); exit 1; }; }
     20913  fi
     20914  echo "$as_me:$LINENO: result: yes" >&5
     20915echo "${ECHO_T}yes" >&6
     20916  # Check if the given header file is there
     20917  as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh`
     20918echo "$as_me:$LINENO: checking for $XPRINCDIR/xprs.h" >&5
     20919echo $ECHO_N "checking for $XPRINCDIR/xprs.h... $ECHO_C" >&6
     20920if eval "test \"\${$as_ac_File+set}\" = set"; then
     20921  echo $ECHO_N "(cached) $ECHO_C" >&6
     20922else
     20923  test "$cross_compiling" = yes &&
     20924  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
     20925echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
     20926   { (exit 1); exit 1; }; }
     20927if test -r "$XPRINCDIR/xprs.h"; then
     20928  eval "$as_ac_File=yes"
     20929else
     20930  eval "$as_ac_File=no"
     20931fi
     20932fi
     20933echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
     20934echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
     20935if test `eval echo '${'$as_ac_File'}'` = yes; then
     20936  :
     20937else
     20938  { { echo "$as_me:$LINENO: error: Cannot find file xprs.h in $XPRINCDIR" >&5
     20939echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;}
     20940   { (exit 1); exit 1; }; }
     20941fi
     20942
     20943
     20944  # Check if the symbol is provided in the library
     20945  coin_save_LIBS="$LIBS"
     20946                  LIBS="-L$XPRLIBDIR -lxpr $ADDLIBS"
     20947                  echo "$as_me:$LINENO: checking for XPRSsetintcontrol in -lxpr" >&5
     20948echo $ECHO_N "checking for XPRSsetintcontrol in -lxpr... $ECHO_C" >&6
     20949if test "${ac_cv_lib_xpr_XPRSsetintcontrol+set}" = set; then
     20950  echo $ECHO_N "(cached) $ECHO_C" >&6
     20951else
     20952  ac_check_lib_save_LIBS=$LIBS
     20953LIBS="-lxpr  $LIBS"
     20954cat >conftest.$ac_ext <<_ACEOF
     20955/* confdefs.h.  */
     20956_ACEOF
     20957cat confdefs.h >>conftest.$ac_ext
     20958cat >>conftest.$ac_ext <<_ACEOF
     20959/* end confdefs.h.  */
     20960
     20961/* Override any gcc2 internal prototype to avoid an error.  */
     20962#ifdef __cplusplus
     20963extern "C"
     20964#endif
     20965/* We use char because int might match the return type of a gcc2
     20966   builtin and then its argument prototype would still apply.  */
     20967char XPRSsetintcontrol ();
     20968int
     20969main ()
     20970{
     20971XPRSsetintcontrol ();
     20972  ;
     20973  return 0;
     20974}
     20975_ACEOF
     20976rm -f conftest.$ac_objext conftest$ac_exeext
     20977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     20978  (eval $ac_link) 2>conftest.er1
     20979  ac_status=$?
     20980  grep -v '^ *+' conftest.er1 >conftest.err
     20981  rm -f conftest.er1
     20982  cat conftest.err >&5
     20983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20984  (exit $ac_status); } &&
     20985         { ac_try='test -z "$ac_c_werror_flag"
     20986                         || test ! -s conftest.err'
     20987  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20988  (eval $ac_try) 2>&5
     20989  ac_status=$?
     20990  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20991  (exit $ac_status); }; } &&
     20992         { ac_try='test -s conftest$ac_exeext'
     20993  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     20994  (eval $ac_try) 2>&5
     20995  ac_status=$?
     20996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     20997  (exit $ac_status); }; }; then
     20998  ac_cv_lib_xpr_XPRSsetintcontrol=yes
     20999else
     21000  echo "$as_me: failed program was:" >&5
     21001sed 's/^/| /' conftest.$ac_ext >&5
     21002
     21003ac_cv_lib_xpr_XPRSsetintcontrol=no
     21004fi
     21005rm -f conftest.err conftest.$ac_objext \
     21006      conftest$ac_exeext conftest.$ac_ext
     21007LIBS=$ac_check_lib_save_LIBS
     21008fi
     21009echo "$as_me:$LINENO: result: $ac_cv_lib_xpr_XPRSsetintcontrol" >&5
     21010echo "${ECHO_T}$ac_cv_lib_xpr_XPRSsetintcontrol" >&6
     21011if test $ac_cv_lib_xpr_XPRSsetintcontrol = yes; then
     21012  :
     21013else
     21014  { { echo "$as_me:$LINENO: error: Cannot find symbol XPRSsetintcontrol in library -lxpr" >&5
     21015echo "$as_me: error: Cannot find symbol XPRSsetintcontrol in library -lxpr" >&2;}
     21016   { (exit 1); exit 1; }; }
     21017fi
     21018
     21019                  LIBS="$coin_save_LIBS"
     21020
     21021  ADDLIBS="-L$XPRLIBDIR -lxpr $ADDLIBS"
     21022
     21023cat >>confdefs.h <<\_ACEOF
     21024#define COIN_HAS_XPR 1
     21025_ACEOF
     21026
     21027else
     21028  echo "$as_me:$LINENO: result: no" >&5
     21029echo "${ECHO_T}no" >&6
     21030fi
     21031
     21032
     21033
     21034
     21035
     21036if test $coin_has_xpr = true; then
     21037  COIN_HAS_XPR_TRUE=
     21038  COIN_HAS_XPR_FALSE='#'
     21039else
     21040  COIN_HAS_XPR_TRUE='#'
     21041  COIN_HAS_XPR_FALSE=
     21042fi
     21043
     21044
     21045
    1986321046##############################################################################
    1986421047#                   Finishing up by writing all the output                   #
     
    2007521258Usually this means the macro was only invoked conditionally." >&5
    2007621259echo "$as_me: error: conditional \"COIN_HAS_VOL\" was never defined.
     21260Usually this means the macro was only invoked conditionally." >&2;}
     21261   { (exit 1); exit 1; }; }
     21262fi
     21263if test -z "${COIN_HAS_CPX_TRUE}" && test -z "${COIN_HAS_CPX_FALSE}"; then
     21264  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CPX\" was never defined.
     21265Usually this means the macro was only invoked conditionally." >&5
     21266echo "$as_me: error: conditional \"COIN_HAS_CPX\" was never defined.
     21267Usually this means the macro was only invoked conditionally." >&2;}
     21268   { (exit 1); exit 1; }; }
     21269fi
     21270if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
     21271  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
     21272Usually this means the macro was only invoked conditionally." >&5
     21273echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
     21274Usually this means the macro was only invoked conditionally." >&2;}
     21275   { (exit 1); exit 1; }; }
     21276fi
     21277if test -z "${COIN_HAS_FMP_TRUE}" && test -z "${COIN_HAS_FMP_FALSE}"; then
     21278  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FMP\" was never defined.
     21279Usually this means the macro was only invoked conditionally." >&5
     21280echo "$as_me: error: conditional \"COIN_HAS_FMP\" was never defined.
     21281Usually this means the macro was only invoked conditionally." >&2;}
     21282   { (exit 1); exit 1; }; }
     21283fi
     21284if test -z "${COIN_HAS_MSK_TRUE}" && test -z "${COIN_HAS_MSK_FALSE}"; then
     21285  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MSK\" was never defined.
     21286Usually this means the macro was only invoked conditionally." >&5
     21287echo "$as_me: error: conditional \"COIN_HAS_MSK\" was never defined.
     21288Usually this means the macro was only invoked conditionally." >&2;}
     21289   { (exit 1); exit 1; }; }
     21290fi
     21291if test -z "${COIN_HAS_OSL_TRUE}" && test -z "${COIN_HAS_OSL_FALSE}"; then
     21292  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSL\" was never defined.
     21293Usually this means the macro was only invoked conditionally." >&5
     21294echo "$as_me: error: conditional \"COIN_HAS_OSL\" was never defined.
     21295Usually this means the macro was only invoked conditionally." >&2;}
     21296   { (exit 1); exit 1; }; }
     21297fi
     21298if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then
     21299  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.
     21300Usually this means the macro was only invoked conditionally." >&5
     21301echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.
     21302Usually this means the macro was only invoked conditionally." >&2;}
     21303   { (exit 1); exit 1; }; }
     21304fi
     21305if test -z "${COIN_HAS_XPR_TRUE}" && test -z "${COIN_HAS_XPR_FALSE}"; then
     21306  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_XPR\" was never defined.
     21307Usually this means the macro was only invoked conditionally." >&5
     21308echo "$as_me: error: conditional \"COIN_HAS_XPR\" was never defined.
    2007721309Usually this means the macro was only invoked conditionally." >&2;}
    2007821310   { (exit 1); exit 1; }; }
     
    2073121963s,@COIN_HAS_VOL_TRUE@,$COIN_HAS_VOL_TRUE,;t t
    2073221964s,@COIN_HAS_VOL_FALSE@,$COIN_HAS_VOL_FALSE,;t t
     21965s,@CPXINCDIR@,$CPXINCDIR,;t t
     21966s,@CPXLIBDIR@,$CPXLIBDIR,;t t
     21967s,@COIN_HAS_CPX_TRUE@,$COIN_HAS_CPX_TRUE,;t t
     21968s,@COIN_HAS_CPX_FALSE@,$COIN_HAS_CPX_FALSE,;t t
     21969s,@GLPKINCDIR@,$GLPKINCDIR,;t t
     21970s,@GLPKLIBDIR@,$GLPKLIBDIR,;t t
     21971s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t
     21972s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t
     21973s,@FMPINCDIR@,$FMPINCDIR,;t t
     21974s,@FMPLIBDIR@,$FMPLIBDIR,;t t
     21975s,@COIN_HAS_FMP_TRUE@,$COIN_HAS_FMP_TRUE,;t t
     21976s,@COIN_HAS_FMP_FALSE@,$COIN_HAS_FMP_FALSE,;t t
     21977s,@MSKINCDIR@,$MSKINCDIR,;t t
     21978s,@MSKLIBDIR@,$MSKLIBDIR,;t t
     21979s,@COIN_HAS_MSK_TRUE@,$COIN_HAS_MSK_TRUE,;t t
     21980s,@COIN_HAS_MSK_FALSE@,$COIN_HAS_MSK_FALSE,;t t
     21981s,@OSLINCDIR@,$OSLINCDIR,;t t
     21982s,@OSLLIBDIR@,$OSLLIBDIR,;t t
     21983s,@COIN_HAS_OSL_TRUE@,$COIN_HAS_OSL_TRUE,;t t
     21984s,@COIN_HAS_OSL_FALSE@,$COIN_HAS_OSL_FALSE,;t t
     21985s,@SPXINCDIR@,$SPXINCDIR,;t t
     21986s,@SPXLIBDIR@,$SPXLIBDIR,;t t
     21987s,@COIN_HAS_SPX_TRUE@,$COIN_HAS_SPX_TRUE,;t t
     21988s,@COIN_HAS_SPX_FALSE@,$COIN_HAS_SPX_FALSE,;t t
     21989s,@XPRINCDIR@,$XPRINCDIR,;t t
     21990s,@XPRLIBDIR@,$XPRLIBDIR,;t t
     21991s,@COIN_HAS_XPR_TRUE@,$COIN_HAS_XPR_TRUE,;t t
     21992s,@COIN_HAS_XPR_FALSE@,$COIN_HAS_XPR_FALSE,;t t
    2073321993s,@LIBOBJS@,$LIBOBJS,;t t
    2073421994s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  • trunk/Cbc/inc/config_cbc.h.in

    r311 r312  
    11/* inc/config_cbc.h.in.  Generated from configure.ac by autoheader.  */
     2
     3/* Define to the name of the default solver to be used in CBC in small letters
     4   */
     5#undef CBC_DEFAULT_SOLVER
    26
    37/* If defined, debug sanity checks are performed during runtime */
     
    1620#undef COIN_HAS_COINBASE
    1721
     22/* Define to 1 if the Cplex package is used */
     23#undef COIN_HAS_CPX
     24
    1825/* Define to 1 if the Dylp package is used */
    1926#undef COIN_HAS_DYLP
    2027
     28/* Define to 1 if the FortMP package is used */
     29#undef COIN_HAS_FMP
     30
     31/* Define to 1 if the Glpk package is used */
     32#undef COIN_HAS_GLPK
     33
     34/* Define to 1 if the Mosek package is used */
     35#undef COIN_HAS_MSK
     36
    2137/* Define to 1 if the Osi package is used */
    2238#undef COIN_HAS_OSI
     39
     40/* Define to 1 if the Osl package is used */
     41#undef COIN_HAS_OSL
     42
     43/* Define to 1 if the Soplex package is used */
     44#undef COIN_HAS_SPX
    2345
    2446/* Define to 1 if the Sym package is used */
     
    2749/* Define to 1 if the Vol package is used */
    2850#undef COIN_HAS_VOL
     51
     52/* Define to 1 if the Xpress package is used */
     53#undef COIN_HAS_XPR
    2954
    3055/* Define to 1 if you have the <dlfcn.h> header file. */
  • trunk/Cbc/src/CbcMain.cpp

    r311 r312  
    11// copyright (C) 2002, International Business Machines
    22// Corporation and others.  All Rights Reserved.
     3
     4#include "CbcConfig.hpp"
     5
    36#if defined(_MSC_VER)
    47// Turn off compiler warning about long names
     
    4548#include  "CbcParam.hpp"
    4649
    47 #ifdef CBC_USE_CLP
     50#ifdef COIN_HAS_CLP
    4851#include "OsiClpSolverInterface.hpp"
    4952#endif
    50 #ifdef CBC_USE_DYLP
     53#ifdef COIN_HAS_DYLP
    5154#include "OsiDylpSolverInterface.hpp"
    5255#endif
    53 #ifdef CBC_USE_OSL
     56#ifdef COIN_HAS_OSL
    5457#include "OsiOslSolverInterface.hpp"
    5558#endif
     
    587590    solverMap_t solvers ;
    588591
    589 #   ifdef CBC_USE_CLP
     592#   ifdef COIN_HAS_CLP
    590593#     ifndef CBC_DEFAULT_SOLVER
    591594#       define CBC_DEFAULT_SOLVER "clp"
     
    595598      solvers["clp"] = 0 ;
    596599#   endif
    597 #   ifdef CBC_USE_DYLP
     600#   ifdef COIN_HAS_DYLP
    598601#     ifndef CBC_DEFAULT_SOLVER
    599602#       define CBC_DEFAULT_SOLVER "dylp"
     
    603606      solvers["dylp"] = 0 ;
    604607#   endif
    605 #   ifdef CBC_USE_OSL
     608#   ifdef COIN_HAS_OSL
    606609#     ifndef CBC_DEFAULT_SOLVER
    607610#       define CBC_DEFAULT_SOLVER "osl"
     
    10201023              if (!doScaling)
    10211024                solver->setHintParam(OsiDoScale,false,OsiHintTry);
    1022 #ifdef CBC_USE_CLP
     1025#ifdef COIN_HAS_CLP
    10231026              OsiClpSolverInterface * si =
    10241027                dynamic_cast<OsiClpSolverInterface *>(solver) ;
     
    12701273             
    12711274              model->solver()->setIntParam(OsiMaxNumIterationHotStart,100);
    1272 #ifdef CBC_USE_CLP
     1275#ifdef COIN_HAS_CLP
    12731276              OsiClpSolverInterface * osiclp = dynamic_cast< OsiClpSolverInterface*> (model->solver());
    12741277              if (osiclp) {
     
    14251428              // okay so there is not a real unit test
    14261429
    1427               int status =model->solver()->readMps("../Mps/Sample/p0033.mps",
     1430              int status =model->solver()->readMps("../../Data/Sample/p0033.mps",
    14281431                                                   "");
    14291432              assert(!status);
     
    14401443              assert(fabs(model->solver()->getObjValue()-3089.0)<1.0e-5);
    14411444              fprintf(stderr,"Test was okay\n");
    1442               status =model->solver()->readMps("../Mps/Sample/p0033.mps",
     1445              status =model->solver()->readMps("../../Data/Sample/p0033.mps",
    14431446                                                   "");
    14441447              assert(!status);
  • trunk/Cbc/src/Makefile.am

    r311 r312  
    4747libCbc_la_LDFLAGS = -no-undefined
    4848
     49########################################################################
     50#                        cbc_solver program                            #
     51########################################################################
     52
     53# Name of the executable compiled in this directory.  We want it to be
     54# installed in the 'bin' directory
     55bin_PROGRAMS = cbc_solver
     56
     57# List all source files for this executable, including headers
     58cbc_solver_SOURCES = \
     59        CbcMain.cpp \
     60        CbcParam.cpp CbcParam.hpp \
     61        unitTest.cpp
     62
     63# The following file is not to be distributed, since it is "borrowed" from Clp
     64nodist_cbc_solver_SOURCES = CbcOrClpParam.cpp
     65
     66cbc_solver_LDADD = libCbc.la \
     67        $(CGLOBJDIR)/src/libCgl.la
     68
     69# List all additionally required solver and Osi libraries
     70if COIN_HAS_CLP
     71  CXXFLAGS += -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
     72        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
     73        -I`$(CYGPATH_W) $(CLPOBJDIR)/inc`
     74  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
     75        $(CLPOBJDIR)/src/libClp.la
     76  LIBS  += `cat $(CLPOBJDIR)/clp_addlibs.txt`
     77endif
     78
     79if COIN_HAS_CBC
     80  CXXFLAGS += -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
     81        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCbc`
     82  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiCbc/libOsiCbc.la \
     83        $(CBCOBJDIR)/src/libCbc.la
     84  LIBS += `cat $(CBCOBJDIR)/cbc_addlibs.txt`
     85endif
     86
     87if COIN_HAS_CPX
     88  CXXFLAGS += -I`$(CYGPATH_W) $(CPXINCDIR)` \
     89        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx`
     90  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la
     91endif
     92
     93if COIN_HAS_DYLP
     94  CXXFLAGS += -I`$(CYGPATH_W) $(DYLPSRCDIR)/src` \
     95        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiDylp`
     96  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiDylp/libOsiDylp.la \
     97        $(DYLPOBJDIR)/src/libDylp.la
     98  LIBS += `cat $(DYLPOBJDIR)/dylp_addlibs.txt`
     99endif
     100
     101if COIN_HAS_FMP
     102  CXXFLAGS += -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiFmp`
     103  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiFmp/libOsiFmp.la
     104endif
     105
     106if COIN_HAS_GLPK
     107  CXXFLAGS += -I`$(CYGPATH_W) $(GLPKINCDIR)` \
     108        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiGlpk`
     109  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiGlpk/libOsiGlpk.la
     110endif
     111
     112if COIN_HAS_MSK
     113  CXXFLAGS += -I`$(CYGPATH_W) $(MSKINCDIR)` \
     114        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiMsk`
     115  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiMsk/libOsiMsk.la
     116endif
     117
     118if COIN_HAS_OSL
     119  CXXFLAGS += -I`$(CYGPATH_W) $(OSLINCDIR)` \
     120        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiOsl`
     121  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiOsl/libOsiOsl.la
     122endif
     123
     124if COIN_HAS_SPX
     125  CXXFLAGS += -I`$(CYGPATH_W) $(SPXINCDIR)` \
     126        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSpx`
     127  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la
     128endif
     129
     130if COIN_HAS_SYM
     131  CXXFLAGS += -I`$(CYGPATH_W) $(SYMSRCDIR)/src` \
     132        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSym`
     133  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
     134        $(SYMOBJDIR)/src/libSym.la
     135  LIBS += `cat $(SYMOBJDIR)/sym_addlibs.txt`
     136endif
     137
     138if COIN_HAS_VOL
     139  CXXFLAGS += -I`$(CYGPATH_W) $(VOLSRCDIR)/src` \
     140        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiVol`
     141  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiVol/libOsiVol.la \
     142        $(VOLOBJDIR)/src/libVol.la
     143  LIBS += `cat $(VOLOBJDIR)/vol_addlibs.txt`
     144endif
     145
     146if COIN_HAS_XPR
     147  CXXFLAGS += -I`$(CYGPATH_W) $(XPRINCDIR)` \
     148        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiXpr`
     149  cbc_solver_LDADD += $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la
     150endif
     151
     152# Finally the Osi Coin library (many of the above need it)
     153cbc_solver_LDADD += $(OSIOBJDIR)/src/libOsi.la \
     154        $(COINBASEOBJDIR)/src/libCoinBase.la
     155LIBS += `cat $(COINBASEOBJDIR)/coinbase_addlibs.txt` $(ADDLIBS)
     156
     157# Finally, the -rpath flag is used by libtool to make sure that the shared
     158# library is found (in the lib install directory) when we are using dynamic
     159# libraries.
     160cbc_solver_LDFLAGS = -rpath $(libdir)
     161
     162########################################################################
     163#                           solve program                              #
     164########################################################################
     165
     166#ToDo: I'm not sure if I'm doing the right thing here
     167
     168# Name of the executable compiled in this directory.  We want it to be
     169# installed in the 'bin' directory
     170bin_PROGRAMS += solve
     171
     172# List all source files for this executable, including headers
     173solve_SOURCES = \
     174        CoinSolve.cpp \
     175        Cbc_ampl.cpp Cbc_ampl.h \
     176        unitTestClp.cpp
     177
     178# The following file is not to be distributed, since it is "borrowed" from Clp
     179nodist_solve_SOURCES = CbcOrClpParam.cpp
     180
     181# Additional COIN libraries
     182solve_LDADD = libCbc.la \
     183        $(CGLOBJDIR)/src/libCgl.la \
     184        $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
     185        $(OSIOBJDIR)/src/libOsi.la \
     186        $(CLPOBJDIR)/src/libClp.la \
     187        $(COINBASEOBJDIR)/src/libCoinBase.la
     188
     189# Finally, the -rpath flag is used by libtool to make sure that the shared
     190# library is found (in the lib install directory) when we are using dynamic
     191# libraries.
     192solve_LDFLAGS = -rpath $(libdir)
     193
     194########################################################################
     195#                            Additional flags                          #
     196########################################################################
     197
    49198# Here list all include flags, relative to this "srcdir" directory.  This
    50199# "cygpath" stuff is necessary to compile with native compilers on Windows.
     
    53202CXXFLAGS += \
    54203        -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
     204        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglClique` \
     205        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglFlowCover` \
     206        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglGomory` \
     207        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglKnapsackCover` \
     208        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding` \
     209        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding2` \
     210        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglOddHole` \
     211        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglPreProcess` \
    55212        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglProbing` \
     213        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglRedSplit` \
     214        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglTwomir` \
    56215        -I`$(CYGPATH_W) $(COINBASESRCDIR)/src` \
    57216        -I`$(CYGPATH_W) $(OSISRCDIR)/src`
    58217
    59 if COIN_HAS_CLP
    60   libCbc_la_SOURCES += Cbc_C_Interface.cpp Cbc_C_Interface.h
    61   CXXFLAGS += -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
    62         -I`$(CYGPATH_W) $(CLPSRCDIR)/src`
    63 endif
     218# List additional defines
     219DEFS += -DCOIN_NO_CLP_MESSAGE -DUSE_CBCCONFIG
    64220
    65221########################################################################
  • trunk/Cbc/src/Makefile.in

    r311 r312  
    2020
    2121# Author:  Andreas Waechter           IBM    2006-04-13
     22
    2223
    2324
     
    4445build_triplet = @build@
    4546host_triplet = @host@
    46 @COIN_HAS_CLP_TRUE@am__append_1 = Cbc_C_Interface.cpp Cbc_C_Interface.h
    47 @COIN_HAS_CLP_TRUE@am__append_2 = -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
    48 @COIN_HAS_CLP_TRUE@     -I`$(CYGPATH_W) $(CLPSRCDIR)/src`
    49 
     47bin_PROGRAMS = cbc_solver$(EXEEXT) solve$(EXEEXT)
     48
     49# List all additionally required solver and Osi libraries
     50@COIN_HAS_CLP_TRUE@am__append_1 = -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \
     51@COIN_HAS_CLP_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \
     52@COIN_HAS_CLP_TRUE@     -I`$(CYGPATH_W) $(CLPOBJDIR)/inc`
     53
     54@COIN_HAS_CLP_TRUE@am__append_2 = $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
     55@COIN_HAS_CLP_TRUE@     $(CLPOBJDIR)/src/libClp.la
     56
     57@COIN_HAS_CLP_TRUE@am__append_3 = `cat $(CLPOBJDIR)/clp_addlibs.txt`
     58@COIN_HAS_CBC_TRUE@am__append_4 = -I`$(CYGPATH_W) $(CBCSRCDIR)/src` \
     59@COIN_HAS_CBC_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCbc`
     60
     61@COIN_HAS_CBC_TRUE@am__append_5 = $(OSIOBJDIR)/src/OsiCbc/libOsiCbc.la \
     62@COIN_HAS_CBC_TRUE@     $(CBCOBJDIR)/src/libCbc.la
     63
     64@COIN_HAS_CBC_TRUE@am__append_6 = `cat $(CBCOBJDIR)/cbc_addlibs.txt`
     65@COIN_HAS_CPX_TRUE@am__append_7 = -I`$(CYGPATH_W) $(CPXINCDIR)` \
     66@COIN_HAS_CPX_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx`
     67
     68@COIN_HAS_CPX_TRUE@am__append_8 = $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la
     69@COIN_HAS_DYLP_TRUE@am__append_9 = -I`$(CYGPATH_W) $(DYLPSRCDIR)/src` \
     70@COIN_HAS_DYLP_TRUE@    -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiDylp`
     71
     72@COIN_HAS_DYLP_TRUE@am__append_10 = $(OSIOBJDIR)/src/OsiDylp/libOsiDylp.la \
     73@COIN_HAS_DYLP_TRUE@    $(DYLPOBJDIR)/src/libDylp.la
     74
     75@COIN_HAS_DYLP_TRUE@am__append_11 = `cat $(DYLPOBJDIR)/dylp_addlibs.txt`
     76@COIN_HAS_FMP_TRUE@am__append_12 = -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiFmp`
     77@COIN_HAS_FMP_TRUE@am__append_13 = $(OSIOBJDIR)/src/OsiFmp/libOsiFmp.la
     78@COIN_HAS_GLPK_TRUE@am__append_14 = -I`$(CYGPATH_W) $(GLPKINCDIR)` \
     79@COIN_HAS_GLPK_TRUE@    -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiGlpk`
     80
     81@COIN_HAS_GLPK_TRUE@am__append_15 = $(OSIOBJDIR)/src/OsiGlpk/libOsiGlpk.la
     82@COIN_HAS_MSK_TRUE@am__append_16 = -I`$(CYGPATH_W) $(MSKINCDIR)` \
     83@COIN_HAS_MSK_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiMsk`
     84
     85@COIN_HAS_MSK_TRUE@am__append_17 = $(OSIOBJDIR)/src/OsiMsk/libOsiMsk.la
     86@COIN_HAS_OSL_TRUE@am__append_18 = -I`$(CYGPATH_W) $(OSLINCDIR)` \
     87@COIN_HAS_OSL_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiOsl`
     88
     89@COIN_HAS_OSL_TRUE@am__append_19 = $(OSIOBJDIR)/src/OsiOsl/libOsiOsl.la
     90@COIN_HAS_SPX_TRUE@am__append_20 = -I`$(CYGPATH_W) $(SPXINCDIR)` \
     91@COIN_HAS_SPX_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSpx`
     92
     93@COIN_HAS_SPX_TRUE@am__append_21 = $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la
     94@COIN_HAS_SYM_TRUE@am__append_22 = -I`$(CYGPATH_W) $(SYMSRCDIR)/src` \
     95@COIN_HAS_SYM_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSym`
     96
     97@COIN_HAS_SYM_TRUE@am__append_23 = $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
     98@COIN_HAS_SYM_TRUE@     $(SYMOBJDIR)/src/libSym.la
     99
     100@COIN_HAS_SYM_TRUE@am__append_24 = `cat $(SYMOBJDIR)/sym_addlibs.txt`
     101@COIN_HAS_VOL_TRUE@am__append_25 = -I`$(CYGPATH_W) $(VOLSRCDIR)/src` \
     102@COIN_HAS_VOL_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiVol`
     103
     104@COIN_HAS_VOL_TRUE@am__append_26 = $(OSIOBJDIR)/src/OsiVol/libOsiVol.la \
     105@COIN_HAS_VOL_TRUE@     $(VOLOBJDIR)/src/libVol.la
     106
     107@COIN_HAS_VOL_TRUE@am__append_27 = `cat $(VOLOBJDIR)/vol_addlibs.txt`
     108@COIN_HAS_XPR_TRUE@am__append_28 = -I`$(CYGPATH_W) $(XPRINCDIR)` \
     109@COIN_HAS_XPR_TRUE@     -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiXpr`
     110
     111@COIN_HAS_XPR_TRUE@am__append_29 = $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la
    50112subdir = src
    51113DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
     
    65127  esac;
    66128am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
    67 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" \
    68         "$(DESTDIR)$(includedir)"
     129am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
     130        "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"
    69131libLTLIBRARIES_INSTALL = $(INSTALL)
    70132LTLIBRARIES = $(lib_LTLIBRARIES)
    71133libCbc_la_LIBADD =
    72 am__libCbc_la_SOURCES_DIST = CbcBranchActual.cpp CbcBranchActual.hpp \
    73         CbcBranchBase.cpp CbcBranchBase.hpp CbcBranchCut.cpp \
    74         CbcBranchCut.hpp CbcBranchDynamic.cpp CbcBranchDynamic.hpp \
    75         CbcBranchLotsize.cpp CbcBranchLotsize.hpp CbcCompareActual.cpp \
    76         CbcCompareActual.hpp CbcCompareBase.hpp CbcCountRowCut.cpp \
    77         CbcCountRowCut.hpp CbcCutGenerator.cpp CbcCutGenerator.hpp \
    78         CbcEventHandler.cpp CbcEventHandler.hpp CbcFathom.cpp \
    79         CbcFathom.hpp CbcFathomDynamicProgramming.cpp \
    80         CbcFathomDynamicProgramming.hpp CbcFeasibilityBase.hpp \
    81         CbcHeuristic.cpp CbcHeuristic.hpp CbcHeuristicFPump.cpp \
    82         CbcHeuristicFPump.hpp CbcHeuristicGreedy.cpp \
    83         CbcHeuristicGreedy.hpp CbcHeuristicLocal.cpp \
    84         CbcHeuristicLocal.hpp CbcMessage.cpp CbcMessage.hpp \
    85         CbcModel.cpp CbcModel.hpp CbcNode.cpp CbcNode.hpp \
    86         CbcStatistics.cpp CbcStatistics.hpp CbcStrategy.cpp \
    87         CbcStrategy.hpp CbcTree.cpp CbcTree.hpp CbcTreeLocal.cpp \
    88         CbcTreeLocal.hpp Cbc_C_Interface.cpp Cbc_C_Interface.h
    89 @COIN_HAS_CLP_TRUE@am__objects_1 = Cbc_C_Interface.lo
    90134am_libCbc_la_OBJECTS = CbcBranchActual.lo CbcBranchBase.lo \
    91135        CbcBranchCut.lo CbcBranchDynamic.lo CbcBranchLotsize.lo \
     
    94138        CbcHeuristic.lo CbcHeuristicFPump.lo CbcHeuristicGreedy.lo \
    95139        CbcHeuristicLocal.lo CbcMessage.lo CbcModel.lo CbcNode.lo \
    96         CbcStatistics.lo CbcStrategy.lo CbcTree.lo CbcTreeLocal.lo \
    97         $(am__objects_1)
     140        CbcStatistics.lo CbcStrategy.lo CbcTree.lo CbcTreeLocal.lo
    98141libCbc_la_OBJECTS = $(am_libCbc_la_OBJECTS)
     142binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
     143PROGRAMS = $(bin_PROGRAMS)
     144am_cbc_solver_OBJECTS = CbcMain.$(OBJEXT) CbcParam.$(OBJEXT) \
     145        unitTest.$(OBJEXT)
     146nodist_cbc_solver_OBJECTS = CbcOrClpParam.$(OBJEXT)
     147cbc_solver_OBJECTS = $(am_cbc_solver_OBJECTS) \
     148        $(nodist_cbc_solver_OBJECTS)
     149@COIN_HAS_CLP_TRUE@am__DEPENDENCIES_1 =  \
     150@COIN_HAS_CLP_TRUE@     $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
     151@COIN_HAS_CLP_TRUE@     $(CLPOBJDIR)/src/libClp.la
     152@COIN_HAS_CBC_TRUE@am__DEPENDENCIES_2 =  \
     153@COIN_HAS_CBC_TRUE@     $(OSIOBJDIR)/src/OsiCbc/libOsiCbc.la \
     154@COIN_HAS_CBC_TRUE@     $(CBCOBJDIR)/src/libCbc.la
     155@COIN_HAS_CPX_TRUE@am__DEPENDENCIES_3 =  \
     156@COIN_HAS_CPX_TRUE@     $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la
     157@COIN_HAS_DYLP_TRUE@am__DEPENDENCIES_4 =  \
     158@COIN_HAS_DYLP_TRUE@    $(OSIOBJDIR)/src/OsiDylp/libOsiDylp.la \
     159@COIN_HAS_DYLP_TRUE@    $(DYLPOBJDIR)/src/libDylp.la
     160@COIN_HAS_FMP_TRUE@am__DEPENDENCIES_5 =  \
     161@COIN_HAS_FMP_TRUE@     $(OSIOBJDIR)/src/OsiFmp/libOsiFmp.la
     162@COIN_HAS_GLPK_TRUE@am__DEPENDENCIES_6 =  \
     163@COIN_HAS_GLPK_TRUE@    $(OSIOBJDIR)/src/OsiGlpk/libOsiGlpk.la
     164@COIN_HAS_MSK_TRUE@am__DEPENDENCIES_7 =  \
     165@COIN_HAS_MSK_TRUE@     $(OSIOBJDIR)/src/OsiMsk/libOsiMsk.la
     166@COIN_HAS_OSL_TRUE@am__DEPENDENCIES_8 =  \
     167@COIN_HAS_OSL_TRUE@     $(OSIOBJDIR)/src/OsiOsl/libOsiOsl.la
     168@COIN_HAS_SPX_TRUE@am__DEPENDENCIES_9 =  \
     169@COIN_HAS_SPX_TRUE@     $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la
     170@COIN_HAS_SYM_TRUE@am__DEPENDENCIES_10 =  \
     171@COIN_HAS_SYM_TRUE@     $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
     172@COIN_HAS_SYM_TRUE@     $(SYMOBJDIR)/src/libSym.la
     173@COIN_HAS_VOL_TRUE@am__DEPENDENCIES_11 =  \
     174@COIN_HAS_VOL_TRUE@     $(OSIOBJDIR)/src/OsiVol/libOsiVol.la \
     175@COIN_HAS_VOL_TRUE@     $(VOLOBJDIR)/src/libVol.la
     176@COIN_HAS_XPR_TRUE@am__DEPENDENCIES_12 =  \
     177@COIN_HAS_XPR_TRUE@     $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la
     178cbc_solver_DEPENDENCIES = libCbc.la $(CGLOBJDIR)/src/libCgl.la \
     179        $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \
     180        $(am__DEPENDENCIES_3) $(am__DEPENDENCIES_4) \
     181        $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) \
     182        $(am__DEPENDENCIES_7) $(am__DEPENDENCIES_8) \
     183        $(am__DEPENDENCIES_9) $(am__DEPENDENCIES_10) \
     184        $(am__DEPENDENCIES_11) $(am__DEPENDENCIES_12) \
     185        $(OSIOBJDIR)/src/libOsi.la \
     186        $(COINBASEOBJDIR)/src/libCoinBase.la
     187am_solve_OBJECTS = CoinSolve.$(OBJEXT) Cbc_ampl.$(OBJEXT) \
     188        unitTestClp.$(OBJEXT)
     189nodist_solve_OBJECTS = CbcOrClpParam.$(OBJEXT)
     190solve_OBJECTS = $(am_solve_OBJECTS) $(nodist_solve_OBJECTS)
     191solve_DEPENDENCIES = libCbc.la $(CGLOBJDIR)/src/libCgl.la \
     192        $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
     193        $(OSIOBJDIR)/src/libOsi.la $(CLPOBJDIR)/src/libClp.la \
     194        $(COINBASEOBJDIR)/src/libCoinBase.la
    99195DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/inc
    100196depcomp = $(SHELL) $(top_srcdir)/../depcomp
     
    116212LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    117213        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    118 SOURCES = $(libCbc_la_SOURCES)
    119 DIST_SOURCES = $(am__libCbc_la_SOURCES_DIST)
     214SOURCES = $(libCbc_la_SOURCES) $(cbc_solver_SOURCES) \
     215        $(nodist_cbc_solver_SOURCES) $(solve_SOURCES) \
     216        $(nodist_solve_SOURCES)
     217DIST_SOURCES = $(libCbc_la_SOURCES) $(cbc_solver_SOURCES) \
     218        $(solve_SOURCES)
    120219includeHEADERS_INSTALL = $(INSTALL_HEADER)
    121220nodist_includeHEADERS_INSTALL = $(INSTALL_HEADER)
     
    159258COIN_HAS_COINBASE_FALSE = @COIN_HAS_COINBASE_FALSE@
    160259COIN_HAS_COINBASE_TRUE = @COIN_HAS_COINBASE_TRUE@
     260COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@
     261COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@
    161262COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@
    162263COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@
     264COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@
     265COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@
     266COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@
     267COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@
     268COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@
     269COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@
    163270COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@
    164271COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@
     272COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@
     273COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@
     274COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
     275COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    165276COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    166277COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
    167278COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    168279COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
     280COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@
     281COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@
    169282CPP = @CPP@
    170283CPPFLAGS = @CPPFLAGS@
     284CPXINCDIR = @CPXINCDIR@
     285CPXLIBDIR = @CPXLIBDIR@
    171286CXX = @CXX@
    172287CXXCPP = @CXXCPP@
     
    174289CXXDEPMODE = @CXXDEPMODE@
    175290
     291########################################################################
     292#                            Additional flags                          #
     293########################################################################
     294
    176295# Here list all include flags, relative to this "srcdir" directory.  This
    177296# "cygpath" stuff is necessary to compile with native compilers on Windows.
    178297# "top_srcdir" refers to the basic directory for the main package that is
    179298# being compiled.
    180 CXXFLAGS = @CXXFLAGS@ -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \
    181         -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglProbing` -I`$(CYGPATH_W) \
    182         $(COINBASESRCDIR)/src` -I`$(CYGPATH_W) $(OSISRCDIR)/src` \
    183         $(am__append_2)
     299CXXFLAGS = @CXXFLAGS@ $(am__append_1) $(am__append_4) $(am__append_7) \
     300        $(am__append_9) $(am__append_12) $(am__append_14) \
     301        $(am__append_16) $(am__append_18) $(am__append_20) \
     302        $(am__append_22) $(am__append_25) $(am__append_28) \
     303        -I`$(CYGPATH_W) $(CGLSRCDIR)/src` -I`$(CYGPATH_W) \
     304        $(CGLSRCDIR)/src/CglClique` -I`$(CYGPATH_W) \
     305        $(CGLSRCDIR)/src/CglFlowCover` -I`$(CYGPATH_W) \
     306        $(CGLSRCDIR)/src/CglGomory` -I`$(CYGPATH_W) \
     307        $(CGLSRCDIR)/src/CglKnapsackCover` -I`$(CYGPATH_W) \
     308        $(CGLSRCDIR)/src/CglMixedIntegerRounding` -I`$(CYGPATH_W) \
     309        $(CGLSRCDIR)/src/CglMixedIntegerRounding2` -I`$(CYGPATH_W) \
     310        $(CGLSRCDIR)/src/CglOddHole` -I`$(CYGPATH_W) \
     311        $(CGLSRCDIR)/src/CglPreProcess` -I`$(CYGPATH_W) \
     312        $(CGLSRCDIR)/src/CglProbing` -I`$(CYGPATH_W) \
     313        $(CGLSRCDIR)/src/CglRedSplit` -I`$(CYGPATH_W) \
     314        $(CGLSRCDIR)/src/CglTwomir` -I`$(CYGPATH_W) \
     315        $(COINBASESRCDIR)/src` -I`$(CYGPATH_W) $(OSISRCDIR)/src`
    184316CYGPATH_W = @CYGPATH_W@
    185 DEFS = @DEFS@
     317
     318# List additional defines
     319DEFS = @DEFS@ -DCOIN_NO_CLP_MESSAGE -DUSE_CBCCONFIG
    186320DEPDIR = @DEPDIR@
    187321DYLPOBJDIR = @DYLPOBJDIR@
     
    195329F77 = @F77@
    196330FFLAGS = @FFLAGS@
     331FMPINCDIR = @FMPINCDIR@
     332FMPLIBDIR = @FMPLIBDIR@
     333GLPKINCDIR = @GLPKINCDIR@
     334GLPKLIBDIR = @GLPKLIBDIR@
    197335HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    198336HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    203341LDFLAGS = @LDFLAGS@
    204342LIBOBJS = @LIBOBJS@
    205 LIBS = @LIBS@
     343LIBS = @LIBS@ $(am__append_3) $(am__append_6) $(am__append_11) \
     344        $(am__append_24) $(am__append_27) `cat \
     345        $(COINBASEOBJDIR)/coinbase_addlibs.txt` $(ADDLIBS)
    206346LIBTOOL = @LIBTOOL@
    207347LIBTOOLM4 = @LIBTOOLM4@
     
    214354MAINTAINER_SMALL_TRUE = @MAINTAINER_SMALL_TRUE@
    215355MAKEINFO = @MAKEINFO@
     356MSKINCDIR = @MSKINCDIR@
     357MSKLIBDIR = @MSKLIBDIR@
    216358OBJEXT = @OBJEXT@
    217359OSIOBJDIR = @OSIOBJDIR@
    218360OSISRCDIR = @OSISRCDIR@
     361OSLINCDIR = @OSLINCDIR@
     362OSLLIBDIR = @OSLLIBDIR@
    219363PACKAGE = @PACKAGE@
    220364PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    227371SET_MAKE = @SET_MAKE@
    228372SHELL = @SHELL@
     373SPXINCDIR = @SPXINCDIR@
     374SPXLIBDIR = @SPXLIBDIR@
    229375STRIP = @STRIP@
    230376SYMOBJDIR = @SYMOBJDIR@
     
    233379VOLOBJDIR = @VOLOBJDIR@
    234380VOLSRCDIR = @VOLSRCDIR@
     381XPRINCDIR = @XPRINCDIR@
     382XPRLIBDIR = @XPRLIBDIR@
    235383ac_ct_AR = @ac_ct_AR@
    236384ac_ct_CC = @ac_ct_CC@
     
    292440
    293441# List all source files for this library, including headers
    294 libCbc_la_SOURCES = CbcBranchActual.cpp CbcBranchActual.hpp \
    295         CbcBranchBase.cpp CbcBranchBase.hpp CbcBranchCut.cpp \
    296         CbcBranchCut.hpp CbcBranchDynamic.cpp CbcBranchDynamic.hpp \
    297         CbcBranchLotsize.cpp CbcBranchLotsize.hpp CbcCompareActual.cpp \
    298         CbcCompareActual.hpp CbcCompareBase.hpp CbcCountRowCut.cpp \
    299         CbcCountRowCut.hpp CbcCutGenerator.cpp CbcCutGenerator.hpp \
    300         CbcEventHandler.cpp CbcEventHandler.hpp CbcFathom.cpp \
    301         CbcFathom.hpp CbcFathomDynamicProgramming.cpp \
    302         CbcFathomDynamicProgramming.hpp CbcFeasibilityBase.hpp \
    303         CbcHeuristic.cpp CbcHeuristic.hpp CbcHeuristicFPump.cpp \
    304         CbcHeuristicFPump.hpp CbcHeuristicGreedy.cpp \
    305         CbcHeuristicGreedy.hpp CbcHeuristicLocal.cpp \
    306         CbcHeuristicLocal.hpp CbcMessage.cpp CbcMessage.hpp \
    307         CbcModel.cpp CbcModel.hpp CbcNode.cpp CbcNode.hpp \
    308         CbcStatistics.cpp CbcStatistics.hpp CbcStrategy.cpp \
    309         CbcStrategy.hpp CbcTree.cpp CbcTree.hpp CbcTreeLocal.cpp \
    310         CbcTreeLocal.hpp $(am__append_1)
     442libCbc_la_SOURCES = \
     443        CbcBranchActual.cpp CbcBranchActual.hpp \
     444        CbcBranchBase.cpp CbcBranchBase.hpp \
     445        CbcBranchCut.cpp CbcBranchCut.hpp \
     446        CbcBranchDynamic.cpp CbcBranchDynamic.hpp \
     447        CbcBranchLotsize.cpp CbcBranchLotsize.hpp \
     448        CbcCompareActual.cpp CbcCompareActual.hpp \
     449        CbcCompareBase.hpp \
     450        CbcCountRowCut.cpp CbcCountRowCut.hpp \
     451        CbcCutGenerator.cpp CbcCutGenerator.hpp \
     452        CbcEventHandler.cpp CbcEventHandler.hpp \
     453        CbcFathom.cpp CbcFathom.hpp \
     454        CbcFathomDynamicProgramming.cpp CbcFathomDynamicProgramming.hpp \
     455        CbcFeasibilityBase.hpp \
     456        CbcHeuristic.cpp CbcHeuristic.hpp \
     457        CbcHeuristicFPump.cpp CbcHeuristicFPump.hpp \
     458        CbcHeuristicGreedy.cpp CbcHeuristicGreedy.hpp \
     459        CbcHeuristicLocal.cpp CbcHeuristicLocal.hpp \
     460        CbcMessage.cpp CbcMessage.hpp \
     461        CbcModel.cpp CbcModel.hpp \
     462        CbcNode.cpp CbcNode.hpp \
     463        CbcStatistics.cpp CbcStatistics.hpp \
     464        CbcStrategy.cpp CbcStrategy.hpp \
     465        CbcTree.cpp CbcTree.hpp \
     466        CbcTreeLocal.cpp CbcTreeLocal.hpp
     467
    311468
    312469# This is for libtool (on Windows)
    313470libCbc_la_LDFLAGS = -no-undefined
     471
     472# List all source files for this executable, including headers
     473cbc_solver_SOURCES = \
     474        CbcMain.cpp \
     475        CbcParam.cpp CbcParam.hpp \
     476        unitTest.cpp
     477
     478
     479# The following file is not to be distributed, since it is "borrowed" from Clp
     480nodist_cbc_solver_SOURCES = CbcOrClpParam.cpp
     481
     482# Finally the Osi Coin library (many of the above need it)
     483cbc_solver_LDADD = libCbc.la $(CGLOBJDIR)/src/libCgl.la \
     484        $(am__append_2) $(am__append_5) $(am__append_8) \
     485        $(am__append_10) $(am__append_13) $(am__append_15) \
     486        $(am__append_17) $(am__append_19) $(am__append_21) \
     487        $(am__append_23) $(am__append_26) $(am__append_29) \
     488        $(OSIOBJDIR)/src/libOsi.la \
     489        $(COINBASEOBJDIR)/src/libCoinBase.la
     490
     491# Finally, the -rpath flag is used by libtool to make sure that the shared
     492# library is found (in the lib install directory) when we are using dynamic
     493# libraries.
     494cbc_solver_LDFLAGS = -rpath $(libdir)
     495
     496# List all source files for this executable, including headers
     497solve_SOURCES = \
     498        CoinSolve.cpp \
     499        Cbc_ampl.cpp Cbc_ampl.h \
     500        unitTestClp.cpp
     501
     502
     503# The following file is not to be distributed, since it is "borrowed" from Clp
     504nodist_solve_SOURCES = CbcOrClpParam.cpp
     505
     506# Additional COIN libraries
     507solve_LDADD = libCbc.la \
     508        $(CGLOBJDIR)/src/libCgl.la \
     509        $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \
     510        $(OSIOBJDIR)/src/libOsi.la \
     511        $(CLPOBJDIR)/src/libClp.la \
     512        $(COINBASEOBJDIR)/src/libCoinBase.la
     513
     514
     515# Finally, the -rpath flag is used by libtool to make sure that the shared
     516# library is found (in the lib install directory) when we are using dynamic
     517# libraries.
     518solve_LDFLAGS = -rpath $(libdir)
    314519
    315520########################################################################
     
    345550nodist_include_HEADERS = ../inc/$(CONFIG_DIST)
    346551CLEANFILES = bla.tmp
    347 DISTCLEANFILES = ../inc/$(CONFIG_DIST)
     552DISTCLEANFILES = ../inc/$(CONFIG_DIST) \
     553        CbcOrClpParam.cpp \
     554        CbcOrClpParam.hpp
     555
    348556all: all-am
    349557
     
    408616libCbc.la: $(libCbc_la_OBJECTS) $(libCbc_la_DEPENDENCIES)
    409617        $(CXXLINK) -rpath $(libdir) $(libCbc_la_LDFLAGS) $(libCbc_la_OBJECTS) $(libCbc_la_LIBADD) $(LIBS)
     618install-binPROGRAMS: $(bin_PROGRAMS)
     619        @$(NORMAL_INSTALL)
     620        test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
     621        @list='$(bin_PROGRAMS)'; for p in $$list; do \
     622          p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     623          if test -f $$p \
     624             || test -f $$p1 \
     625          ; then \
     626            f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
     627           echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
     628           $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
     629          else :; fi; \
     630        done
     631
     632uninstall-binPROGRAMS:
     633        @$(NORMAL_UNINSTALL)
     634        @list='$(bin_PROGRAMS)'; for p in $$list; do \
     635          f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
     636          echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
     637          rm -f "$(DESTDIR)$(bindir)/$$f"; \
     638        done
     639
     640clean-binPROGRAMS:
     641        @list='$(bin_PROGRAMS)'; for p in $$list; do \
     642          f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
     643          echo " rm -f $$p $$f"; \
     644          rm -f $$p $$f ; \
     645        done
     646cbc_solver$(EXEEXT): $(cbc_solver_OBJECTS) $(cbc_solver_DEPENDENCIES)
     647        @rm -f cbc_solver$(EXEEXT)
     648        $(CXXLINK) $(cbc_solver_LDFLAGS) $(cbc_solver_OBJECTS) $(cbc_solver_LDADD) $(LIBS)
     649solve$(EXEEXT): $(solve_OBJECTS) $(solve_DEPENDENCIES)
     650        @rm -f solve$(EXEEXT)
     651        $(CXXLINK) $(solve_LDFLAGS) $(solve_OBJECTS) $(solve_LDADD) $(LIBS)
    410652
    411653mostlyclean-compile:
     
    430672@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcHeuristicGreedy.Plo@am__quote@
    431673@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcHeuristicLocal.Plo@am__quote@
     674@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcMain.Po@am__quote@
    432675@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcMessage.Plo@am__quote@
    433676@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcModel.Plo@am__quote@
    434677@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcNode.Plo@am__quote@
     678@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcOrClpParam.Po@am__quote@
     679@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcParam.Po@am__quote@
    435680@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcStatistics.Plo@am__quote@
    436681@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcStrategy.Plo@am__quote@
    437682@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcTree.Plo@am__quote@
    438683@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcTreeLocal.Plo@am__quote@
    439 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Cbc_C_Interface.Plo@am__quote@
     684@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Cbc_ampl.Po@am__quote@
     685@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CoinSolve.Po@am__quote@
     686@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unitTest.Po@am__quote@
     687@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unitTestClp.Po@am__quote@
    440688
    441689.cpp.o:
     
    581829check-am: all-am
    582830check: check-am
    583 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
     831all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
     832install-binPROGRAMS: install-libLTLIBRARIES
     833
    584834installdirs:
    585         for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
     835        for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includedir)"; do \
    586836          test -z "$$dir" || $(mkdir_p) "$$dir"; \
    587837        done
     
    614864clean: clean-am
    615865
    616 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
    617         mostlyclean-am
     866clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
     867        clean-libtool mostlyclean-am
    618868
    619869distclean: distclean-am
     
    635885install-data-am: install-includeHEADERS install-nodist_includeHEADERS
    636886
    637 install-exec-am: install-libLTLIBRARIES
     887install-exec-am: install-binPROGRAMS install-libLTLIBRARIES
    638888
    639889install-info: install-info-am
     
    661911ps-am:
    662912
    663 uninstall-am: uninstall-includeHEADERS uninstall-info-am \
    664         uninstall-libLTLIBRARIES uninstall-nodist_includeHEADERS
    665 
    666 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    667         clean-libLTLIBRARIES clean-libtool ctags distclean \
    668         distclean-compile distclean-generic distclean-libtool \
    669         distclean-tags distdir dvi dvi-am html html-am info info-am \
    670         install install-am install-data install-data-am install-exec \
    671         install-exec-am install-includeHEADERS install-info \
    672         install-info-am install-libLTLIBRARIES install-man \
     913uninstall-am: uninstall-binPROGRAMS uninstall-includeHEADERS \
     914        uninstall-info-am uninstall-libLTLIBRARIES \
     915        uninstall-nodist_includeHEADERS
     916
     917.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
     918        clean-generic clean-libLTLIBRARIES clean-libtool ctags \
     919        distclean distclean-compile distclean-generic \
     920        distclean-libtool distclean-tags distdir dvi dvi-am html \
     921        html-am info info-am install install-am install-binPROGRAMS \
     922        install-data install-data-am install-exec install-exec-am \
     923        install-includeHEADERS install-info install-info-am \
     924        install-libLTLIBRARIES install-man \
    673925        install-nodist_includeHEADERS install-strip installcheck \
    674926        installcheck-am installdirs maintainer-clean \
    675927        maintainer-clean-generic mostlyclean mostlyclean-compile \
    676928        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    677         tags uninstall uninstall-am uninstall-includeHEADERS \
    678         uninstall-info-am uninstall-libLTLIBRARIES \
    679         uninstall-nodist_includeHEADERS
     929        tags uninstall uninstall-am uninstall-binPROGRAMS \
     930        uninstall-includeHEADERS uninstall-info-am \
     931        uninstall-libLTLIBRARIES uninstall-nodist_includeHEADERS
    680932
    681933$(libCbc_la_OBJECTS): ../inc/$(CONFIG_DIST)
     
    685937        echo "#ifndef __$(CONFIG_DIST)__" | sed -e 's/\./_/g' >>bla.tmp
    686938        echo "#define __$(CONFIG_DIST)__" | sed -e 's/\./_/g' >>bla.tmp
    687         $(EGREP) 'HAVE_|COIN_HAS|CBC_DEFAULT_SOLVER' $< >>bla.tmp
     939        $(EGREP) 'COIN_|CBC_DEFAULT_SOLVER' $< >>bla.tmp
    688940        echo "#endif" >>bla.tmp
    689941        if test -r ../inc/$(CONFIG_DIST); then \
  • trunk/Cbc/src/unitTest.cpp

    r311 r312  
    22// Corporation and others.  All Rights Reserved.
    33// Test individual classes or groups of classes
     4
     5#include "CbcConfig.hpp"
    46
    57#if defined(_MSC_VER)
     
    1618#include "CoinHelperFunctions.hpp"
    1719
    18 #ifdef CBC_USE_CBC
     20#ifdef COIN_HAS_CBC
    1921#include "OsiCbcSolverInterface.hpp"
    2022#endif
    21 #ifdef CBC_USE_OSL
     23#ifdef COIN_HAS_OSL
    2224#include "OsiOslSolverInterface.hpp"
    2325#endif
    24 #ifdef CBC_USE_SPX
     26#ifdef COIN_HAS_SPX
    2527#include "OsiSpxSolverInterface.hpp"
    2628#endif
    27 #ifdef CBC_USE_DYLP
     29#ifdef COIN_HAS_DYLP
    2830#include "OsiDylpSolverInterface.hpp"
    2931#endif
    30 #ifdef CBC_USE_GLPK
     32#ifdef COIN_HAS_GLPK
    3133#include "OsiGlpkSolverInterface.hpp"
    3234#endif
    33 #ifdef CBC_USE_CLP
     35#ifdef COIN_HAS_CLP
    3436#include "OsiClpSolverInterface.hpp"
    3537#endif
     
    4244void testingMessage( const char * const msg );
    4345
    44 #ifdef CBC_USE_CBC
     46#ifdef COIN_HAS_CBC
    4547void CbcMiplibTest (const std::vector<OsiCbcSolverInterface*> & vecEmptySiP,
    4648                    const std::string & mpsDir)
     
    300302  }
    301303}
    302 #endif  // CBC_USE_CBC
     304#endif  // COIN_HAS_CBC
    303305
    304306//----------------------------------------------------------------
     
    361363  else
    362364    miplibDir = dirsep == '/' ? "./Samples/miplib3/" : ".\\Samples\\miplib3\\";
    363 #ifdef CBC_USE_CBC
     365#ifdef COIN_HAS_CBC
    364366
    365367  {
     
    367369    std::vector<OsiCbcSolverInterface*> vecSi;
    368370    CbcStrategyDefault strategy(false);
    369 #   if CBC_USE_OSL
     371#   if COIN_HAS_OSL
    370372    OsiSolverInterface * oslSi = new OsiOslSolverInterface;
    371373    vecSi.push_back(new OsiCbcSolverInterface(oslSi,&strategy));
    372374#endif
    373 #   if CBC_USE_SPX
     375#   if COIN_HAS_SPX
    374376    OsiSolverInterface * spxSi = new OsiSpxSolverInterface;
    375377    vecSi.push_back(new OsiCbcSolverInterface(spxSi,&strategy));
    376378#endif
    377 #   if CBC_USE_CLP
     379#   if COIN_HAS_CLP
    378380    OsiSolverInterface *clpSi = new OsiClpSolverInterface ;
    379381    /* Quiet, already! */
     
    381383    vecSi.push_back(new OsiCbcSolverInterface(clpSi,&strategy));
    382384#endif
    383 #   if CBC_USE_DYLP
     385#   if COIN_HAS_DYLP
    384386    OsiSolverInterface * dylpSi = new OsiDylpSolverInterface;
    385387    vecSi.push_back(new OsiCbcSolverInterface(dylpSi,&strategy));
    386388#endif
    387 #   if CBC_USE_GLPK
     389#   if COIN_HAS_GLPK
    388390    OsiSolverInterface * glpkSi = new OsiGlpkSolverInterface;
    389391    vecSi.push_back(new OsiCbcSolverInterface(glpkSi,&strategy));
     
    397399      delete vecSi[i];
    398400  }
    399 #else   // CBC_USE_CBC
     401#else   // COIN_HAS_CBC
    400402  std::cerr
    401403    << "cbc has been built without OsiCbc support. To enable the -miplib\n"
     
    403405    << "execute the command `make clean cbc' to rebuild the cbc program."
    404406    << std::endl ;
    405 #endif  // CBC_USE_CBC
     407#endif  // COIN_HAS_CBC
    406408  testingMessage( "All tests completed successfully\n" );
    407409  return 0;
  • trunk/Cbc/src/unitTestClp.cpp

    r310 r312  
    191191// where:
    192192//   -mpsDir: directory containing mps test files
    193 //       Default value V1="../Mps/Sample"   
     193//       Default value V1="../../Data/Sample"   
    194194//   -netlibDir: directory containing netlib files
    195 //       Default value V2="../Mps/Netlib"
     195//       Default value V2="../../Data/Netlib"
    196196//   -test
    197197//       If specified, then netlib test set run
     
    247247      std::cerr <<"  where:\n";
    248248      std::cerr <<"    -mpsDir: directory containing mps test files\n";
    249       std::cerr <<"        Default value V1=\"../Mps/Sample\"\n";
     249      std::cerr <<"        Default value V1=\"../../Data/Sample\"\n";
    250250      std::cerr <<"    -netlibDir: directory containing netlib files\n";
    251       std::cerr <<"        Default value V2=\"../Mps/Netlib\"\n";
     251      std::cerr <<"        Default value V2=\"../../Data/Netlib\"\n";
    252252      std::cerr <<"    -test\n";
    253253      std::cerr <<"        If specified, then netlib testset run.\n";
     
    264264    mpsDir=parms["-mpsDir"] + dirsep;
    265265  else
    266     mpsDir = dirsep == '/' ? "../Mps/Sample/" : "..\\Mps\\Sample\\";
     266    mpsDir = dirsep == '/' ? "../../Data/Sample/" : "..\\..\\Data\\Sample\\";
    267267 
    268268  // Set directory containing netlib data files.
     
    271271    netlibDir=parms["-netlibDir"] + dirsep;
    272272  else
    273     netlibDir = dirsep == '/' ? "../Mps/Netlib/" : "..\\Mps\\Netlib\\";
     273    netlibDir = dirsep == '/' ? "../../Data/Netlib/" : "..\\..\\Data\\Netlib\\";
    274274  if (!empty.numberRows()) {
    275275    testingMessage( "Testing ClpSimplex\n" );
     
    941941    if (returnCode) {
    942942      // probable cause is that gz not there
    943       fprintf(stderr,"Unable to open finnis.mps in COIN/Mps/Netlib!\n");
     943      fprintf(stderr,"Unable to open finnis.mps in Data/Netlib!\n");
    944944      fprintf(stderr,"Most probable cause is finnis.mps is gzipped i.e. finnis.mps.gz and libz has not been activated\n");
    945945      fprintf(stderr,"Either gunzip files or edit Makefiles/Makefile.location to get libz\n");
     
    17581758  // Set directory containing miplib data files.
    17591759  std::string miplibDir;
    1760   miplibDir = dirsep == '/' ? "./Samples/miplib3/" : ".\\Samples\\miplib3\\";
     1760  miplibDir = dirsep == '/' ? "../../Data/miplib3/" : "..\\..\\Data\\miplib3\\";
    17611761  std::string test1 = miplibDir +"p0033";
    17621762  fp=fopen(test1.c_str(),"r");
  • trunk/Cbc/test/Makefile.am

    r311 r312  
    1010
    1111########################################################################
    12 #                         unitTest for Coin                            #
     12#                         unitTest for Clp                             #
    1313########################################################################
    1414
    15 noinst_PROGRAMS = unitTest
     15# We are using the CLP solver executable to do the unit test
    1616
    17 unitTest_SOURCES = \
    18         CbcMain.cpp \
    19         CbcParam.cpp CbcParam.hpp \
    20         unitTest.cpp
     17test: ../src/cbc_solver ../src/solve
     18        ../src/cbc_solver -miplib -unitTest
     19        ../src/solve -unitTest -netlib
    2120
    22 # List libraries of COIN projects
    23 unitTest_LDADD = ../src/libCbc.la \
    24         $(COINBASEOBJDIR)/src/libCoinBase.la
    25 
    26 # List additional libraries
    27 LIBS += $(ADDLIBS)
    28 
    29 # Here list all include flags, relative to this "srcdir" directory.  This
    30 # "cygpath" stuff is necessary to compile with native compilers on Cygwin
    31 CXXFLAGS += \
    32         -I`$(CYGPATH_W) $(COINBASESRCDIR)/src`
    33 
    34 test: unitTest
    35         ./unitTest
     21.PHONY: test
    3622
    3723########################################################################
     
    4228# output files of a program
    4329
    44 DISTCLEANFILES = \
    45         byColumn.mps  byRow.mps  CoinMpsIoTest.mps  string.mps
     30DISTCLEANFILES = yy.mps xx.mps
  • trunk/Cbc/test/Makefile.in

    r311 r312  
    2020
    2121# Author:  Andreas Waechter           IBM    2006-04-13
    22 
    2322srcdir = @srcdir@
    2423top_srcdir = @top_srcdir@
     
    4342build_triplet = @build@
    4443host_triplet = @host@
    45 noinst_PROGRAMS = unitTest$(EXEEXT)
    4644subdir = test
    4745DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     
    5452CONFIG_HEADER = $(top_builddir)/inc/config_cbc.h
    5553CONFIG_CLEAN_FILES =
    56 PROGRAMS = $(noinst_PROGRAMS)
    57 am_unitTest_OBJECTS = CbcMain.$(OBJEXT) CbcParam.$(OBJEXT) \
    58         unitTest.$(OBJEXT)
    59 unitTest_OBJECTS = $(am_unitTest_OBJECTS)
    60 unitTest_DEPENDENCIES = ../src/libCbc.la \
    61         $(COINBASEOBJDIR)/src/libCoinBase.la
    62 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/inc
    63 depcomp = $(SHELL) $(top_srcdir)/../depcomp
    64 am__depfiles_maybe = depfiles
    65 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    66         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
    67 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX --mode=compile $(CXX) $(DEFS) \
    68         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
    69         $(AM_CXXFLAGS) $(CXXFLAGS)
    70 CXXLD = $(CXX)
    71 CXXLINK = $(LIBTOOL) --tag=CXX --mode=link $(CXXLD) $(AM_CXXFLAGS) \
    72         $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    73 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    74         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
    75 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
    76         $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
    77         $(AM_CFLAGS) $(CFLAGS)
    78 CCLD = $(CC)
    79 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    80         $(AM_LDFLAGS) $(LDFLAGS) -o $@
    81 SOURCES = $(unitTest_SOURCES)
    82 DIST_SOURCES = $(unitTest_SOURCES)
    83 ETAGS = etags
    84 CTAGS = ctags
     54SOURCES =
     55DIST_SOURCES =
    8556DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    8657ACLOCAL = @ACLOCAL@
     
    11990COIN_HAS_COINBASE_FALSE = @COIN_HAS_COINBASE_FALSE@
    12091COIN_HAS_COINBASE_TRUE = @COIN_HAS_COINBASE_TRUE@
     92COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@
     93COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@
    12194COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@
    12295COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@
     96COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@
     97COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@
     98COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@
     99COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@
     100COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@
     101COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@
    123102COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@
    124103COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@
     104COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@
     105COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@
     106COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
     107COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    125108COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    126109COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
    127110COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    128111COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
     112COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@
     113COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@
    129114CPP = @CPP@
    130115CPPFLAGS = @CPPFLAGS@
     116CPXINCDIR = @CPXINCDIR@
     117CPXLIBDIR = @CPXLIBDIR@
    131118CXX = @CXX@
    132119CXXCPP = @CXXCPP@
    133120CXXDEFS = @CXXDEFS@
    134121CXXDEPMODE = @CXXDEPMODE@
    135 
    136 # Here list all include flags, relative to this "srcdir" directory.  This
    137 # "cygpath" stuff is necessary to compile with native compilers on Cygwin
    138 CXXFLAGS = @CXXFLAGS@ -I`$(CYGPATH_W) $(COINBASESRCDIR)/src`
     122CXXFLAGS = @CXXFLAGS@
    139123CYGPATH_W = @CYGPATH_W@
    140124DEFS = @DEFS@
     
    150134F77 = @F77@
    151135FFLAGS = @FFLAGS@
     136FMPINCDIR = @FMPINCDIR@
     137FMPLIBDIR = @FMPLIBDIR@
     138GLPKINCDIR = @GLPKINCDIR@
     139GLPKLIBDIR = @GLPKLIBDIR@
    152140HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
    153141HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@
     
    158146LDFLAGS = @LDFLAGS@
    159147LIBOBJS = @LIBOBJS@
    160 
    161 # List additional libraries
    162 LIBS = @LIBS@ $(ADDLIBS)
     148LIBS = @LIBS@
    163149LIBTOOL = @LIBTOOL@
    164150LIBTOOLM4 = @LIBTOOLM4@
     
    171157MAINTAINER_SMALL_TRUE = @MAINTAINER_SMALL_TRUE@
    172158MAKEINFO = @MAKEINFO@
     159MSKINCDIR = @MSKINCDIR@
     160MSKLIBDIR = @MSKLIBDIR@
    173161OBJEXT = @OBJEXT@
    174162OSIOBJDIR = @OSIOBJDIR@
    175163OSISRCDIR = @OSISRCDIR@
     164OSLINCDIR = @OSLINCDIR@
     165OSLLIBDIR = @OSLLIBDIR@
    176166PACKAGE = @PACKAGE@
    177167PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    184174SET_MAKE = @SET_MAKE@
    185175SHELL = @SHELL@
     176SPXINCDIR = @SPXINCDIR@
     177SPXLIBDIR = @SPXLIBDIR@
    186178STRIP = @STRIP@
    187179SYMOBJDIR = @SYMOBJDIR@
     
    190182VOLOBJDIR = @VOLOBJDIR@
    191183VOLSRCDIR = @VOLSRCDIR@
     184XPRINCDIR = @XPRINCDIR@
     185XPRLIBDIR = @XPRLIBDIR@
    192186ac_ct_AR = @ac_ct_AR@
    193187ac_ct_CC = @ac_ct_CC@
     
    239233target_alias = @target_alias@
    240234AUTOMAKE_OPTIONS = foreign
    241 unitTest_SOURCES = \
    242         CbcMain.cpp \
    243         CbcParam.cpp CbcParam.hpp \
    244         unitTest.cpp
    245 
    246 
    247 # List libraries of COIN projects
    248 unitTest_LDADD = ../src/libCbc.la \
    249         $(COINBASEOBJDIR)/src/libCoinBase.la
    250 
    251235
    252236########################################################################
     
    256240# Here we list everything that is not generated by the compiler, e.g.,
    257241# output files of a program
    258 DISTCLEANFILES = \
    259         byColumn.mps  byRow.mps  CoinMpsIoTest.mps  string.mps
    260 
     242DISTCLEANFILES = yy.mps xx.mps
    261243all: all-am
    262244
    263245.SUFFIXES:
    264 .SUFFIXES: .cpp .lo .o .obj
    265246$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
    266247        @for dep in $?; do \
     
    293274        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    294275
    295 clean-noinstPROGRAMS:
    296         @list='$(noinst_PROGRAMS)'; for p in $$list; do \
    297           f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
    298           echo " rm -f $$p $$f"; \
    299           rm -f $$p $$f ; \
    300         done
    301 unitTest$(EXEEXT): $(unitTest_OBJECTS) $(unitTest_DEPENDENCIES)
    302         @rm -f unitTest$(EXEEXT)
    303         $(CXXLINK) $(unitTest_LDFLAGS) $(unitTest_OBJECTS) $(unitTest_LDADD) $(LIBS)
    304 
    305 mostlyclean-compile:
    306         -rm -f *.$(OBJEXT)
    307 
    308 distclean-compile:
    309         -rm -f *.tab.c
    310 
    311 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcMain.Po@am__quote@
    312 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/CbcParam.Po@am__quote@
    313 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/unitTest.Po@am__quote@
    314 
    315 .cpp.o:
    316 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    317 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    318 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    319 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    320 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ $<
    321 
    322 .cpp.obj:
    323 @am__fastdepCXX_TRUE@   if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
    324 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    325 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
    326 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    327 @am__fastdepCXX_FALSE@  $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    328 
    329 .cpp.lo:
    330 @am__fastdepCXX_TRUE@   if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
    331 @am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
    332 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
    333 @AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    334 @am__fastdepCXX_FALSE@  $(LTCXXCOMPILE) -c -o $@ $<
    335 
    336276mostlyclean-libtool:
    337277        -rm -f *.lo
     
    343283        -rm -f libtool
    344284uninstall-info-am:
    345 
    346 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    347         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    348         unique=`for i in $$list; do \
    349             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    350           done | \
    351           $(AWK) '    { files[$$0] = 1; } \
    352                END { for (i in files) print i; }'`; \
    353         mkid -fID $$unique
    354285tags: TAGS
    355 
    356 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    357                 $(TAGS_FILES) $(LISP)
    358         tags=; \
    359         here=`pwd`; \
    360         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    361         unique=`for i in $$list; do \
    362             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    363           done | \
    364           $(AWK) '    { files[$$0] = 1; } \
    365                END { for (i in files) print i; }'`; \
    366         if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
    367           test -n "$$unique" || unique=$$empty_fix; \
    368           $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
    369             $$tags $$unique; \
    370         fi
     286TAGS:
     287
    371288ctags: CTAGS
    372 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    373                 $(TAGS_FILES) $(LISP)
    374         tags=; \
    375         here=`pwd`; \
    376         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    377         unique=`for i in $$list; do \
    378             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    379           done | \
    380           $(AWK) '    { files[$$0] = 1; } \
    381                END { for (i in files) print i; }'`; \
    382         test -z "$(CTAGS_ARGS)$$tags$$unique" \
    383           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
    384              $$tags $$unique
    385 
    386 GTAGS:
    387         here=`$(am__cd) $(top_builddir) && pwd` \
    388           && cd $(top_srcdir) \
    389           && gtags -i $(GTAGS_ARGS) $$here
    390 
    391 distclean-tags:
    392         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     289CTAGS:
     290
    393291
    394292distdir: $(DISTFILES)
     
    421319check-am: all-am
    422320check: check-am
    423 all-am: Makefile $(PROGRAMS)
     321all-am: Makefile
    424322installdirs:
    425323install: install-am
     
    450348clean: clean-am
    451349
    452 clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \
    453         mostlyclean-am
     350clean-am: clean-generic clean-libtool mostlyclean-am
    454351
    455352distclean: distclean-am
    456         -rm -rf ./$(DEPDIR)
    457353        -rm -f Makefile
    458 distclean-am: clean-am distclean-compile distclean-generic \
    459         distclean-libtool distclean-tags
     354distclean-am: clean-am distclean-generic distclean-libtool
    460355
    461356dvi: dvi-am
     
    480375
    481376maintainer-clean: maintainer-clean-am
    482         -rm -rf ./$(DEPDIR)
    483377        -rm -f Makefile
    484378maintainer-clean-am: distclean-am maintainer-clean-generic
     
    486380mostlyclean: mostlyclean-am
    487381
    488 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
    489         mostlyclean-libtool
     382mostlyclean-am: mostlyclean-generic mostlyclean-libtool
    490383
    491384pdf: pdf-am
     
    499392uninstall-am: uninstall-info-am
    500393
    501 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
    502         clean-libtool clean-noinstPROGRAMS ctags distclean \
    503         distclean-compile distclean-generic distclean-libtool \
    504         distclean-tags distdir dvi dvi-am html html-am info info-am \
    505         install install-am install-data install-data-am install-exec \
    506         install-exec-am install-info install-info-am install-man \
    507         install-strip installcheck installcheck-am installdirs \
    508         maintainer-clean maintainer-clean-generic mostlyclean \
    509         mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
    510         pdf pdf-am ps ps-am tags uninstall uninstall-am \
     394.PHONY: all all-am check check-am clean clean-generic clean-libtool \
     395        distclean distclean-generic distclean-libtool distdir dvi \
     396        dvi-am html html-am info info-am install install-am \
     397        install-data install-data-am install-exec install-exec-am \
     398        install-info install-info-am install-man install-strip \
     399        installcheck installcheck-am installdirs maintainer-clean \
     400        maintainer-clean-generic mostlyclean mostlyclean-generic \
     401        mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
    511402        uninstall-info-am
    512403
    513404
    514 test: unitTest
    515         ./unitTest
     405########################################################################
     406#                         unitTest for Clp                             #
     407########################################################################
     408
     409# We are using the CLP solver executable to do the unit test
     410
     411test: ../src/cbc_solver ../src/solve
     412        ../src/cbc_solver -miplib -unitTest
     413        ../src/solve -unitTest -netlib
     414
     415.PHONY: test
    516416# Tell versions [3.59,3.63) of GNU make to not export all variables.
    517417# Otherwise a system limit (for SysV at least) may be exceeded.
  • trunk/Externals

    r310 r312  
    22Data/Netlib   https://www.coin-or.org/svn/Data/trunk/Netlib
    33Data/Sample   https://www.coin-or.org/svn/Data/trunk/Sample
     4Data/miplib3  https://www.coin-or.org/svn/Data/trunk/miplib3
    45CoinBase      https://www.coin-or.org/svn/CoinBase/trunk/CoinBase
    56Cgl           https://www.coin-or.org/svn/Cgl/trunk/Cgl
  • trunk/Makefile.am

    r310 r312  
    2424
    2525test:
    26         cd Osi; make test
     26        cd Cbc; make test
    2727
    2828unitTest: test
  • trunk/Makefile.in

    r311 r312  
    581581
    582582test:
    583         cd Osi; make test
     583        cd Cbc; make test
    584584
    585585unitTest: test
     
    626626@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     touch .Externals-stamp
    627627
     628@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@update-externals: .Externals-stamp
     629@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@     cd $(srcdir); svn update
     630
    628631@HAVE_EXTERNALS_TRUE@@MAINTAINER_MODE_TRUE@distclean-local: clean-externals-stamp
    629632
  • trunk/configure

    r311 r312  
    284284ac_default_prefix=`pwd`
    285285ac_subdirs_all="$ac_subdirs_all CoinBase"
    286 ac_subdirs_all="$ac_subdirs_all Cbc"
    287 ac_subdirs_all="$ac_subdirs_all Cgl"
    288 ac_subdirs_all="$ac_subdirs_all Clp"
    289286ac_subdirs_all="$ac_subdirs_all Data/Netlib"
    290287ac_subdirs_all="$ac_subdirs_all Data/Sample"
     288ac_subdirs_all="$ac_subdirs_all Data/miplib3"
     289ac_subdirs_all="$ac_subdirs_all Clp"
     290ac_subdirs_all="$ac_subdirs_all Vol"
    291291ac_subdirs_all="$ac_subdirs_all Osi"
    292 ac_subdirs_all="$ac_subdirs_all Vol"
     292ac_subdirs_all="$ac_subdirs_all Cgl"
     293ac_subdirs_all="$ac_subdirs_all Cbc"
    293294ac_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 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake BUILDTOOLSDIR AUX_DIR HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE MAINTAINER_SMALL_TRUE MAINTAINER_SMALL_FALSE subdirs LIBOBJS LTLIBOBJS'
    294295ac_subst_files=''
     
    20952096
    20962097coin_subdirs=
    2097 echo "$as_me:$LINENO: checking whether directory Cbc is available" >&5
    2098 echo $ECHO_N "checking whether directory Cbc is available... $ECHO_C" >&6
    2099                 if test -r $srcdir/Cbc/configure; then
    2100                   coin_subdirs="$coin_subdirs Cbc"
     2098echo "$as_me:$LINENO: checking whether directory Data/Netlib is available" >&5
     2099echo $ECHO_N "checking whether directory Data/Netlib is available... $ECHO_C" >&6
     2100                if test -r $srcdir/Data/Netlib/configure; then
     2101                  coin_subdirs="$coin_subdirs Data/Netlib"
    21012102                  echo "$as_me:$LINENO: result: yes" >&5
    21022103echo "${ECHO_T}yes" >&6
    21032104
    21042105
    2105 subdirs="$subdirs Cbc"
     2106subdirs="$subdirs Data/Netlib"
     2107
     2108                else
     2109                  echo "$as_me:$LINENO: result: no" >&5
     2110echo "${ECHO_T}no" >&6
     2111                fi
     2112
     2113
     2114
     2115
     2116
     2117
     2118
     2119
     2120
     2121
     2122
     2123coin_subdirs=
     2124echo "$as_me:$LINENO: checking whether directory Data/Sample is available" >&5
     2125echo $ECHO_N "checking whether directory Data/Sample is available... $ECHO_C" >&6
     2126                if test -r $srcdir/Data/Sample/configure; then
     2127                  coin_subdirs="$coin_subdirs Data/Sample"
     2128                  echo "$as_me:$LINENO: result: yes" >&5
     2129echo "${ECHO_T}yes" >&6
     2130
     2131
     2132subdirs="$subdirs Data/Sample"
     2133
     2134                else
     2135                  echo "$as_me:$LINENO: result: no" >&5
     2136echo "${ECHO_T}no" >&6
     2137                fi
     2138
     2139
     2140
     2141
     2142
     2143
     2144
     2145
     2146
     2147
     2148
     2149coin_subdirs=
     2150echo "$as_me:$LINENO: checking whether directory Data/miplib3 is available" >&5
     2151echo $ECHO_N "checking whether directory Data/miplib3 is available... $ECHO_C" >&6
     2152                if test -r $srcdir/Data/miplib3/configure; then
     2153                  coin_subdirs="$coin_subdirs Data/miplib3"
     2154                  echo "$as_me:$LINENO: result: yes" >&5
     2155echo "${ECHO_T}yes" >&6
     2156
     2157
     2158subdirs="$subdirs Data/miplib3"
     2159
     2160                else
     2161                  echo "$as_me:$LINENO: result: no" >&5
     2162echo "${ECHO_T}no" >&6
     2163                fi
     2164
     2165
     2166
     2167
     2168
     2169
     2170
     2171
     2172
     2173
     2174
     2175coin_subdirs=
     2176echo "$as_me:$LINENO: checking whether directory Clp is available" >&5
     2177echo $ECHO_N "checking whether directory Clp is available... $ECHO_C" >&6
     2178                if test -r $srcdir/Clp/configure; then
     2179                  coin_subdirs="$coin_subdirs Clp"
     2180                  echo "$as_me:$LINENO: result: yes" >&5
     2181echo "${ECHO_T}yes" >&6
     2182
     2183
     2184subdirs="$subdirs Clp"
     2185
     2186                else
     2187                  echo "$as_me:$LINENO: result: no" >&5
     2188echo "${ECHO_T}no" >&6
     2189                fi
     2190
     2191
     2192
     2193
     2194
     2195
     2196
     2197
     2198
     2199
     2200
     2201coin_subdirs=
     2202echo "$as_me:$LINENO: checking whether directory Vol is available" >&5
     2203echo $ECHO_N "checking whether directory Vol is available... $ECHO_C" >&6
     2204                if test -r $srcdir/Vol/configure; then
     2205                  coin_subdirs="$coin_subdirs Vol"
     2206                  echo "$as_me:$LINENO: result: yes" >&5
     2207echo "${ECHO_T}yes" >&6
     2208
     2209
     2210subdirs="$subdirs Vol"
     2211
     2212                else
     2213                  echo "$as_me:$LINENO: result: no" >&5
     2214echo "${ECHO_T}no" >&6
     2215                fi
     2216
     2217
     2218
     2219
     2220
     2221
     2222
     2223
     2224
     2225
     2226
     2227coin_subdirs=
     2228echo "$as_me:$LINENO: checking whether directory Osi is available" >&5
     2229echo $ECHO_N "checking whether directory Osi is available... $ECHO_C" >&6
     2230                if test -r $srcdir/Osi/configure; then
     2231                  coin_subdirs="$coin_subdirs Osi"
     2232                  echo "$as_me:$LINENO: result: yes" >&5
     2233echo "${ECHO_T}yes" >&6
     2234
     2235
     2236subdirs="$subdirs Osi"
    21062237
    21072238                else
     
    21472278
    21482279coin_subdirs=
    2149 echo "$as_me:$LINENO: checking whether directory Clp is available" >&5
    2150 echo $ECHO_N "checking whether directory Clp is available... $ECHO_C" >&6
    2151                 if test -r $srcdir/Clp/configure; then
    2152                   coin_subdirs="$coin_subdirs Clp"
     2280echo "$as_me:$LINENO: checking whether directory Cbc is available" >&5
     2281echo $ECHO_N "checking whether directory Cbc is available... $ECHO_C" >&6
     2282                if test -r $srcdir/Cbc/configure; then
     2283                  coin_subdirs="$coin_subdirs Cbc"
    21532284                  echo "$as_me:$LINENO: result: yes" >&5
    21542285echo "${ECHO_T}yes" >&6
    21552286
    21562287
    2157 subdirs="$subdirs Clp"
    2158 
    2159                 else
    2160                   echo "$as_me:$LINENO: result: no" >&5
    2161 echo "${ECHO_T}no" >&6
    2162                 fi
    2163 
    2164 
    2165 
    2166 
    2167 
    2168 
    2169 
    2170 
    2171 
    2172 
    2173 
    2174 coin_subdirs=
    2175 echo "$as_me:$LINENO: checking whether directory Data/Netlib is available" >&5
    2176 echo $ECHO_N "checking whether directory Data/Netlib is available... $ECHO_C" >&6
    2177                 if test -r $srcdir/Data/Netlib/configure; then
    2178                   coin_subdirs="$coin_subdirs Data/Netlib"
    2179                   echo "$as_me:$LINENO: result: yes" >&5
    2180 echo "${ECHO_T}yes" >&6
    2181 
    2182 
    2183 subdirs="$subdirs Data/Netlib"
    2184 
    2185                 else
    2186                   echo "$as_me:$LINENO: result: no" >&5
    2187 echo "${ECHO_T}no" >&6
    2188                 fi
    2189 
    2190 
    2191 
    2192 
    2193 
    2194 
    2195 
    2196 
    2197 
    2198 
    2199 
    2200 coin_subdirs=
    2201 echo "$as_me:$LINENO: checking whether directory Data/Sample is available" >&5
    2202 echo $ECHO_N "checking whether directory Data/Sample is available... $ECHO_C" >&6
    2203                 if test -r $srcdir/Data/Sample/configure; then
    2204                   coin_subdirs="$coin_subdirs Data/Sample"
    2205                   echo "$as_me:$LINENO: result: yes" >&5
    2206 echo "${ECHO_T}yes" >&6
    2207 
    2208 
    2209 subdirs="$subdirs Data/Sample"
    2210 
    2211                 else
    2212                   echo "$as_me:$LINENO: result: no" >&5
    2213 echo "${ECHO_T}no" >&6
    2214                 fi
    2215 
    2216 
    2217 
    2218 
    2219 
    2220 
    2221 
    2222 
    2223 
    2224 
    2225 
    2226 coin_subdirs=
    2227 echo "$as_me:$LINENO: checking whether directory Osi is available" >&5
    2228 echo $ECHO_N "checking whether directory Osi is available... $ECHO_C" >&6
    2229                 if test -r $srcdir/Osi/configure; then
    2230                   coin_subdirs="$coin_subdirs Osi"
    2231                   echo "$as_me:$LINENO: result: yes" >&5
    2232 echo "${ECHO_T}yes" >&6
    2233 
    2234 
    2235 subdirs="$subdirs Osi"
    2236 
    2237                 else
    2238                   echo "$as_me:$LINENO: result: no" >&5
    2239 echo "${ECHO_T}no" >&6
    2240                 fi
    2241 
    2242 
    2243 
    2244 
    2245 
    2246 
    2247 
    2248 
    2249 
    2250 
    2251 
    2252 coin_subdirs=
    2253 echo "$as_me:$LINENO: checking whether directory Vol is available" >&5
    2254 echo $ECHO_N "checking whether directory Vol is available... $ECHO_C" >&6
    2255                 if test -r $srcdir/Vol/configure; then
    2256                   coin_subdirs="$coin_subdirs Vol"
    2257                   echo "$as_me:$LINENO: result: yes" >&5
    2258 echo "${ECHO_T}yes" >&6
    2259 
    2260 
    2261 subdirs="$subdirs Vol"
     2288subdirs="$subdirs Cbc"
    22622289
    22632290                else
  • trunk/configure.ac

    r310 r312  
    4545
    4646AC_COIN_MAIN_SUBDIRS(CoinBase)
    47 AC_COIN_MAIN_SUBDIRS(Cbc)
    48 AC_COIN_MAIN_SUBDIRS(Cgl)
    49 AC_COIN_MAIN_SUBDIRS(Clp)
    5047AC_COIN_MAIN_SUBDIRS(Data/Netlib)
    5148AC_COIN_MAIN_SUBDIRS(Data/Sample)
     49AC_COIN_MAIN_SUBDIRS(Data/miplib3)
     50AC_COIN_MAIN_SUBDIRS(Clp)
     51AC_COIN_MAIN_SUBDIRS(Vol)
    5252AC_COIN_MAIN_SUBDIRS(Osi)
    53 AC_COIN_MAIN_SUBDIRS(Vol)
     53AC_COIN_MAIN_SUBDIRS(Cgl)
     54AC_COIN_MAIN_SUBDIRS(Cbc)
    5455
    5556##############################################################################
Note: See TracChangeset for help on using the changeset viewer.