Changeset 710


Ignore:
Timestamp:
Jul 26, 2007 8:40:42 PM (10 years ago)
Author:
lou
Message:

Support for ThirdParty/Glpk?. Correct detection of SYMPHONY, should it ever be
pulled in as an external.

Location:
trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/Makefile.in

    r640 r710  
    132132COINUTILSOBJDIR = @COINUTILSOBJDIR@
    133133COINUTILSSRCDIR = @COINUTILSSRCDIR@
     134COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@
     135COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@
    134136COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    135137COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     
    158160COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
    159161COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    160 COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    161 COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
     162COIN_HAS_SYMPHONY_FALSE = @COIN_HAS_SYMPHONY_FALSE@
     163COIN_HAS_SYMPHONY_TRUE = @COIN_HAS_SYMPHONY_TRUE@
    162164COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    163165COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
     
    237239SPXLIB = @SPXLIB@
    238240STRIP = @STRIP@
    239 SYMOBJDIR = @SYMOBJDIR@
    240 SYMSRCDIR = @SYMSRCDIR@
     241SYMPHONYOBJDIR = @SYMPHONYOBJDIR@
     242SYMPHONYSRCDIR = @SYMPHONYSRCDIR@
    241243VERSION = @VERSION@
    242244VOLOBJDIR = @VOLOBJDIR@
  • trunk/Cbc/configure

    r640 r710  
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS CBCSRCDIR CBCOBJDIR 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 COINUTILSSRCDIR COINUTILSOBJDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_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 CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS CBCSRCDIR CBCOBJDIR 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 COINUTILSSRCDIR COINUTILSOBJDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE DYLPSRCDIR DYLPOBJDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE SYMPHONYSRCDIR SYMPHONYOBJDIR COIN_HAS_SYMPHONY_TRUE COIN_HAS_SYMPHONY_FALSE VOLSRCDIR VOLOBJDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPXINCDIR CPXLIB COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE COIN_BUILD_GLPK_TRUE COIN_BUILD_GLPK_FALSE ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    10951095  --enable-cplex-libcheck use disable-cplex-libcheck to skip the
    10961096                          link check at configuration time
    1097   --enable-glpk-libcheck use disable-glpk-libcheck to skip the
    1098                           link check at configuration time
    10991097  --enable-fortmp-libcheck
    11001098                          use disable-fortmp-libcheck to skip the
     
    11101108                          use disable-xpress-libcheck to skip the
    11111109                          link check at configuration time
     1110  --enable-glpk-libcheck use disable-glpk-libcheck to skip the
     1111                          link check at configuration time
    11121112  --enable-cbc-parallel   enables compilation of the SMP version of Cbc
    11131113
     
    11241124  --with-cplex-incdir specify the header file directory for library Cplex
    11251125  --with-cplex-lib specify the flags used to link with the library Cplex
    1126   --with-glpk-incdir specify the header file directory for library Glpk
    1127   --with-glpk-lib specify the flags used to link with the library Glpk
    11281126  --with-fortmp-incdir specify the header file directory for library FortMP
    11291127  --with-fortmp-lib specify the flags used to link with the library FortMP
     
    11361134  --with-xpress-incdir specify the header file directory for library Xpress
    11371135  --with-xpress-lib specify the flags used to link with the library Xpress
     1136  --with-glpk-incdir specify the header file directory for library Glpk
     1137  --with-glpk-lib specify the flags used to link with the library Glpk
    11381138  --with-asldir           specify path to AMPL solver directory (or BUILD for
    11391139                          compilation, or "no" for disabling AMPL)
     
    17411741  case "${enableval}" in
    17421742   yes) coin_debug_compile=true
    1743         enable_shared=no
     1743        if test "${enable_shared+set}" = set; then :; else
     1744          enable_shared=no
     1745        fi
    17441746        ;;
    17451747   no)  coin_debug_compile=false
     
    27362738          cl* | */cl* | CL* | */CL*)
    27372739            coin_opt_cflags='-MT -O2'
    2738             coin_add_cflags='-nologo -wd4996'
     2740            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    27392741            coin_dbg_cflags='-MTd'
    27402742            ;;
     
    34693471fi
    34703472
     3473# It seems that we need to cleanup something here for the Windows
     3474case "$CXX" in
     3475  cl* | */cl* | CL* | */CL* )
     3476    sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
     3477    mv confdefs.hh confdefs.h
     3478    ;;
     3479esac
     3480
    34713481# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    34723482case "$CXX" in
     
    35693579            # The MT and MTd options are mutually exclusive
    35703580            coin_opt_cxxflags='-MT -O2'
    3571             coin_add_cxxflags='-nologo -EHsc -GR -wd4996'
     3581            coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    35723582            coin_dbg_cxxflags='-MTd'
    35733583            ;;
     
    49094919    correct_version='1.5.22'
    49104920    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    4911     as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
    4912 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
    4913 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
    4914 if eval "test \"\${$as_ac_File+set}\" = set"; then
    4915   echo $ECHO_N "(cached) $ECHO_C" >&6
    4916 else
    4917   test "$cross_compiling" = yes &&
    4918   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    4919 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    4920    { (exit 1); exit 1; }; }
    4921 if test -r "$want_dir/libtool/ltmain.sh"; then
    4922   eval "$as_ac_File=yes"
    4923 else
    4924   eval "$as_ac_File=no"
    4925 fi
    4926 fi
    4927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    4928 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    4929 if test `eval echo '${'$as_ac_File'}'` = yes; then
     4921    if test -r $want_dir/libtool/ltmain.sh; then
    49304922  have_ltmain=yes
     4923  :
    49314924else
    49324925  have_ltmain=no
     4926  :
    49334927fi
    49344928
     
    49614955    want_dir=$AUTOTOOLS_DIR/share
    49624956  fi
    4963   as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
    4964 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
    4965 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
    4966 if eval "test \"\${$as_ac_File+set}\" = set"; then
    4967   echo $ECHO_N "(cached) $ECHO_C" >&6
    4968 else
    4969   test "$cross_compiling" = yes &&
    4970   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    4971 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    4972    { (exit 1); exit 1; }; }
    4973 if test -r "$want_dir/aclocal/libtool.m4"; then
    4974   eval "$as_ac_File=yes"
    4975 else
    4976   eval "$as_ac_File=no"
    4977 fi
    4978 fi
    4979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    4980 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    4981 if test `eval echo '${'$as_ac_File'}'` = yes; then
     4957  if test -r $want_dir/aclocal/libtool.m4; then
    49824958  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
     4959  :
    49834960else
    49844961  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
    49854962echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
    49864963   { (exit 1); exit 1; }; }
     4964  :
    49874965fi
    49884966
     
    56705648*-*-irix6*)
    56715649  # Find out which ABI we are using.
    5672   echo '#line 5672 "configure"' > conftest.$ac_ext
     5650  echo '#line 5650 "configure"' > conftest.$ac_ext
    56735651  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    56745652  (eval $ac_compile) 2>&5
     
    68046782
    68056783# Provide some information about the compiler.
    6806 echo "$as_me:6806:" \
     6784echo "$as_me:6784:" \
    68076785     "checking for Fortran 77 compiler version" >&5
    68086786ac_compiler=`set X $ac_compile; echo $2`
     
    78717849   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78727850   -e 's:$: $lt_compiler_flag:'`
    7873    (eval echo "\"\$as_me:7873: $lt_compile\"" >&5)
     7851   (eval echo "\"\$as_me:7851: $lt_compile\"" >&5)
    78747852   (eval "$lt_compile" 2>conftest.err)
    78757853   ac_status=$?
    78767854   cat conftest.err >&5
    7877    echo "$as_me:7877: \$? = $ac_status" >&5
     7855   echo "$as_me:7855: \$? = $ac_status" >&5
    78787856   if (exit $ac_status) && test -s "$ac_outfile"; then
    78797857     # The compiler can only warn and ignore the option if not recognized
     
    81398117   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81408118   -e 's:$: $lt_compiler_flag:'`
    8141    (eval echo "\"\$as_me:8141: $lt_compile\"" >&5)
     8119   (eval echo "\"\$as_me:8119: $lt_compile\"" >&5)
    81428120   (eval "$lt_compile" 2>conftest.err)
    81438121   ac_status=$?
    81448122   cat conftest.err >&5
    8145    echo "$as_me:8145: \$? = $ac_status" >&5
     8123   echo "$as_me:8123: \$? = $ac_status" >&5
    81468124   if (exit $ac_status) && test -s "$ac_outfile"; then
    81478125     # The compiler can only warn and ignore the option if not recognized
     
    82438221   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82448222   -e 's:$: $lt_compiler_flag:'`
    8245    (eval echo "\"\$as_me:8245: $lt_compile\"" >&5)
     8223   (eval echo "\"\$as_me:8223: $lt_compile\"" >&5)
    82468224   (eval "$lt_compile" 2>out/conftest.err)
    82478225   ac_status=$?
    82488226   cat out/conftest.err >&5
    8249    echo "$as_me:8249: \$? = $ac_status" >&5
     8227   echo "$as_me:8227: \$? = $ac_status" >&5
    82508228   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    82518229   then
     
    1058810566  lt_status=$lt_dlunknown
    1058910567  cat > conftest.$ac_ext <<EOF
    10590 #line 10590 "configure"
     10568#line 10568 "configure"
    1059110569#include "confdefs.h"
    1059210570
     
    1068810666  lt_status=$lt_dlunknown
    1068910667  cat > conftest.$ac_ext <<EOF
    10690 #line 10690 "configure"
     10668#line 10668 "configure"
    1069110669#include "confdefs.h"
    1069210670
     
    1303213010   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1303313011   -e 's:$: $lt_compiler_flag:'`
    13034    (eval echo "\"\$as_me:13034: $lt_compile\"" >&5)
     13012   (eval echo "\"\$as_me:13012: $lt_compile\"" >&5)
    1303513013   (eval "$lt_compile" 2>conftest.err)
    1303613014   ac_status=$?
    1303713015   cat conftest.err >&5
    13038    echo "$as_me:13038: \$? = $ac_status" >&5
     13016   echo "$as_me:13016: \$? = $ac_status" >&5
    1303913017   if (exit $ac_status) && test -s "$ac_outfile"; then
    1304013018     # The compiler can only warn and ignore the option if not recognized
     
    1313613114   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1313713115   -e 's:$: $lt_compiler_flag:'`
    13138    (eval echo "\"\$as_me:13138: $lt_compile\"" >&5)
     13116   (eval echo "\"\$as_me:13116: $lt_compile\"" >&5)
    1313913117   (eval "$lt_compile" 2>out/conftest.err)
    1314013118   ac_status=$?
    1314113119   cat out/conftest.err >&5
    13142    echo "$as_me:13142: \$? = $ac_status" >&5
     13120   echo "$as_me:13120: \$? = $ac_status" >&5
    1314313121   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1314413122   then
     
    1470614684   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1470714685   -e 's:$: $lt_compiler_flag:'`
    14708    (eval echo "\"\$as_me:14708: $lt_compile\"" >&5)
     14686   (eval echo "\"\$as_me:14686: $lt_compile\"" >&5)
    1470914687   (eval "$lt_compile" 2>conftest.err)
    1471014688   ac_status=$?
    1471114689   cat conftest.err >&5
    14712    echo "$as_me:14712: \$? = $ac_status" >&5
     14690   echo "$as_me:14690: \$? = $ac_status" >&5
    1471314691   if (exit $ac_status) && test -s "$ac_outfile"; then
    1471414692     # The compiler can only warn and ignore the option if not recognized
     
    1481014788   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1481114789   -e 's:$: $lt_compiler_flag:'`
    14812    (eval echo "\"\$as_me:14812: $lt_compile\"" >&5)
     14790   (eval echo "\"\$as_me:14790: $lt_compile\"" >&5)
    1481314791   (eval "$lt_compile" 2>out/conftest.err)
    1481414792   ac_status=$?
    1481514793   cat out/conftest.err >&5
    14816    echo "$as_me:14816: \$? = $ac_status" >&5
     14794   echo "$as_me:14794: \$? = $ac_status" >&5
    1481714795   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1481814796   then
     
    1701716995   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1701816996   -e 's:$: $lt_compiler_flag:'`
    17019    (eval echo "\"\$as_me:17019: $lt_compile\"" >&5)
     16997   (eval echo "\"\$as_me:16997: $lt_compile\"" >&5)
    1702016998   (eval "$lt_compile" 2>conftest.err)
    1702116999   ac_status=$?
    1702217000   cat conftest.err >&5
    17023    echo "$as_me:17023: \$? = $ac_status" >&5
     17001   echo "$as_me:17001: \$? = $ac_status" >&5
    1702417002   if (exit $ac_status) && test -s "$ac_outfile"; then
    1702517003     # The compiler can only warn and ignore the option if not recognized
     
    1728517263   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1728617264   -e 's:$: $lt_compiler_flag:'`
    17287    (eval echo "\"\$as_me:17287: $lt_compile\"" >&5)
     17265   (eval echo "\"\$as_me:17265: $lt_compile\"" >&5)
    1728817266   (eval "$lt_compile" 2>conftest.err)
    1728917267   ac_status=$?
    1729017268   cat conftest.err >&5
    17291    echo "$as_me:17291: \$? = $ac_status" >&5
     17269   echo "$as_me:17269: \$? = $ac_status" >&5
    1729217270   if (exit $ac_status) && test -s "$ac_outfile"; then
    1729317271     # The compiler can only warn and ignore the option if not recognized
     
    1738917367   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1739017368   -e 's:$: $lt_compiler_flag:'`
    17391    (eval echo "\"\$as_me:17391: $lt_compile\"" >&5)
     17369   (eval echo "\"\$as_me:17369: $lt_compile\"" >&5)
    1739217370   (eval "$lt_compile" 2>out/conftest.err)
    1739317371   ac_status=$?
    1739417372   cat out/conftest.err >&5
    17395    echo "$as_me:17395: \$? = $ac_status" >&5
     17373   echo "$as_me:17373: \$? = $ac_status" >&5
    1739617374   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1739717375   then
     
    2060520583echo "${ECHO_T}$coin_has_osi" >&6
    2060620584
    20607 echo "$as_me:$LINENO: checking for COIN project Sym" >&5
    20608 echo $ECHO_N "checking for COIN project Sym... $ECHO_C" >&6
     20585echo "$as_me:$LINENO: checking for COIN project SYMPHONY" >&5
     20586echo $ECHO_N "checking for COIN project SYMPHONY... $ECHO_C" >&6
    2060920587
    2061020588# First check, if the sub-project is actually available (ToDo: allow
    2061120589# other locations)
    2061220590
    20613 coin_has_sym=unavailable
     20591coin_has_symphony=unavailable
    2061420592if test x"$COIN_SKIP_PROJECTS" != x; then
    2061520593  for dir in $COIN_SKIP_PROJECTS; do
    20616     if test $dir = Sym; then
    20617       coin_has_sym=skipping
     20594    if test $dir = SYMPHONY; then
     20595      coin_has_symphony=skipping
    2061820596    fi
    2061920597  done
    2062020598fi
    2062120599
    20622 if test $coin_has_sym != skipping; then
    20623   if test $PACKAGE_TARNAME = sym; then
    20624     coin_has_sym=.
     20600if test $coin_has_symphony != skipping; then
     20601  if test $PACKAGE_TARNAME = symphony; then
     20602    coin_has_symphony=.
    2062520603  else
    20626     if test -d $srcdir/../Sym; then
    20627       coin_has_sym=../Sym
     20604    if test -d $srcdir/../SYMPHONY; then
     20605      coin_has_symphony=../SYMPHONY
    2062820606    fi
    2062920607  fi
    2063020608fi
    2063120609
    20632 if test $coin_has_sym != unavailable &&
    20633    test $coin_has_sym != skipping; then
     20610if test $coin_has_symphony != unavailable &&
     20611   test $coin_has_symphony != skipping; then
    2063420612  # Set the #define if the component is available
    2063520613
    2063620614cat >>confdefs.h <<\_ACEOF
    20637 #define COIN_HAS_SYM 1
     20615#define COIN_HAS_SYMPHONY 1
    2063820616_ACEOF
    2063920617
     
    2064120619  # Set the variables for source and object code location
    2064220620
    20643   SYMSRCDIR=`cd $srcdir/$coin_has_sym; pwd`
    20644 
    20645   SYMOBJDIR=`pwd`/$coin_has_sym
     20621  SYMPHONYSRCDIR=`cd $srcdir/$coin_has_symphony; pwd`
     20622
     20623  SYMPHONYOBJDIR=`pwd`/$coin_has_symphony
    2064620624fi
    2064720625
     
    2064920627
    2065020628
    20651 if test $coin_has_sym != unavailable &&
    20652                 test $coin_has_sym != skipping; then
    20653   COIN_HAS_SYM_TRUE=
    20654   COIN_HAS_SYM_FALSE='#'
    20655 else
    20656   COIN_HAS_SYM_TRUE='#'
    20657   COIN_HAS_SYM_FALSE=
    20658 fi
    20659 
    20660 echo "$as_me:$LINENO: result: $coin_has_sym" >&5
    20661 echo "${ECHO_T}$coin_has_sym" >&6
     20629if test $coin_has_symphony != unavailable &&
     20630                test $coin_has_symphony != skipping; then
     20631  COIN_HAS_SYMPHONY_TRUE=
     20632  COIN_HAS_SYMPHONY_FALSE='#'
     20633else
     20634  COIN_HAS_SYMPHONY_TRUE='#'
     20635  COIN_HAS_SYMPHONY_FALSE=
     20636fi
     20637
     20638echo "$as_me:$LINENO: result: $coin_has_symphony" >&5
     20639echo "${ECHO_T}$coin_has_symphony" >&6
    2066220640
    2066320641echo "$as_me:$LINENO: checking for COIN project Vol" >&5
     
    2078020758# header file, but that's not assumed.
    2078120759
    20782     as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh`
    20783 echo "$as_me:$LINENO: checking for $CPXINCDIR/cplex.h" >&5
    20784 echo $ECHO_N "checking for $CPXINCDIR/cplex.h... $ECHO_C" >&6
    20785 if eval "test \"\${$as_ac_File+set}\" = set"; then
    20786   echo $ECHO_N "(cached) $ECHO_C" >&6
    20787 else
    20788   test "$cross_compiling" = yes &&
    20789   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    20790 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    20791    { (exit 1); exit 1; }; }
    20792 if test -r "$CPXINCDIR/cplex.h"; then
    20793   eval "$as_ac_File=yes"
    20794 else
    20795   eval "$as_ac_File=no"
    20796 fi
    20797 fi
    20798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    20799 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    20800 if test `eval echo '${'$as_ac_File'}'` = yes; then
     20760    if test -r $CPXINCDIR/cplex.h; then
     20761
    2080120762  :
    2080220763else
     
    2080420765echo "$as_me: error: Cannot find file cplex.h in $CPXINCDIR" >&2;}
    2080520766   { (exit 1); exit 1; }; }
     20767  :
    2080620768fi
    2080720769
     
    2092320885
    2092420886
     20887  echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5
     20888echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6
     20889
     20890# Check for header file directory
     20891
     20892
     20893# Check whether --with-fortmp-incdir or --without-fortmp-incdir was given.
     20894if test "${with_fortmp_incdir+set}" = set; then
     20895  withval="$with_fortmp_incdir"
     20896  FMPINCDIR=`cd $withval; pwd`
     20897fi;
     20898
     20899# Check for library directory
     20900
     20901
     20902# Check whether --with-fortmp-lib or --without-fortmp-lib was given.
     20903if test "${with_fortmp_lib+set}" = set; then
     20904  withval="$with_fortmp_lib"
     20905  FMPLIB=$withval
     20906fi;
     20907
     20908# Switch to disable library check if requested
     20909
     20910  # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given.
     20911if test "${enable_fortmp_libcheck+set}" = set; then
     20912  enableval="$enable_fortmp_libcheck"
     20913  fortmp_libcheck=$enableval
     20914else
     20915  fortmp_libcheck=yes
     20916fi;
     20917
     20918# At this point, if we're going to use the library, both LBRYINCDIR and
     20919# LBRYLIB must be defined and not empty.
     20920
     20921  if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then
     20922    if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then
     20923      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&5
     20924echo "$as_me: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&2;}
     20925   { (exit 1); exit 1; }; }
     20926    fi
     20927    coin_has_fmp=true
     20928    echo "$as_me:$LINENO: result: yes" >&5
     20929echo "${ECHO_T}yes" >&6
     20930  else
     20931    coin_has_fmp=false
     20932    echo "$as_me:$LINENO: result: no" >&5
     20933echo "${ECHO_T}no" >&6
     20934  fi
     20935
     20936# If we have instructions for use, consider header and link checks.
     20937
     20938  if test $coin_has_fmp = true; then
     20939
     20940# If argument 3 (file) is given, check for the file. Typically this will be a
     20941# header file, but that's not assumed.
     20942
     20943
     20944
     20945# Now see if we can link the function. There are arguments for and against
     20946# assuming argument 3 is a header file declaring the function. A correct
     20947# function declaration is the main argument in favour. Having to cope with
     20948# possible dependencies or other oddities are the main arguments against.
     20949# Force the use of C as the best single choice amongst C++, C, and Fortran.
     20950# Obviously, this has limits.
     20951
     20952
     20953
     20954# If we make it this far, we've verified the file and linked the function. Add
     20955# the necessary link flags to ADDLIBS and define the preprocessor symbol
     20956# COIN_HAS_LBRY.
     20957
     20958    ADDLIBS="$FMPLIB $ADDLIBS"
     20959
     20960cat >>confdefs.h <<\_ACEOF
     20961#define COIN_HAS_FMP 1
     20962_ACEOF
     20963
     20964  fi
     20965
     20966# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     20967# automake conditional. These actions must occur unconditionally.
     20968
     20969
     20970
     20971
     20972
     20973if test $coin_has_fmp = true; then
     20974  COIN_HAS_FMP_TRUE=
     20975  COIN_HAS_FMP_FALSE='#'
     20976else
     20977  COIN_HAS_FMP_TRUE='#'
     20978  COIN_HAS_FMP_FALSE=
     20979fi
     20980
     20981  #ToDo! is Fortran?
     20982
     20983  echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5
     20984echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6
     20985
     20986# Check for header file directory
     20987
     20988
     20989# Check whether --with-mosek-incdir or --without-mosek-incdir was given.
     20990if test "${with_mosek_incdir+set}" = set; then
     20991  withval="$with_mosek_incdir"
     20992  MSKINCDIR=`cd $withval; pwd`
     20993fi;
     20994
     20995# Check for library directory
     20996
     20997
     20998# Check whether --with-mosek-lib or --without-mosek-lib was given.
     20999if test "${with_mosek_lib+set}" = set; then
     21000  withval="$with_mosek_lib"
     21001  MSKLIB=$withval
     21002fi;
     21003
     21004# Switch to disable library check if requested
     21005
     21006  # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given.
     21007if test "${enable_mosek_libcheck+set}" = set; then
     21008  enableval="$enable_mosek_libcheck"
     21009  mosek_libcheck=$enableval
     21010else
     21011  mosek_libcheck=yes
     21012fi;
     21013
     21014# At this point, if we're going to use the library, both LBRYINCDIR and
     21015# LBRYLIB must be defined and not empty.
     21016
     21017  if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then
     21018    if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then
     21019      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&5
     21020echo "$as_me: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&2;}
     21021   { (exit 1); exit 1; }; }
     21022    fi
     21023    coin_has_msk=true
     21024    echo "$as_me:$LINENO: result: yes" >&5
     21025echo "${ECHO_T}yes" >&6
     21026  else
     21027    coin_has_msk=false
     21028    echo "$as_me:$LINENO: result: no" >&5
     21029echo "${ECHO_T}no" >&6
     21030  fi
     21031
     21032# If we have instructions for use, consider header and link checks.
     21033
     21034  if test $coin_has_msk = true; then
     21035
     21036# If argument 3 (file) is given, check for the file. Typically this will be a
     21037# header file, but that's not assumed.
     21038
     21039    if test -r $MSKINCDIR/mosekdl.h; then
     21040
     21041  :
     21042else
     21043  { { echo "$as_me:$LINENO: error: Cannot find file mosekdl.h in $MSKINCDIR" >&5
     21044echo "$as_me: error: Cannot find file mosekdl.h in $MSKINCDIR" >&2;}
     21045   { (exit 1); exit 1; }; }
     21046  :
     21047fi
     21048
     21049
     21050# Now see if we can link the function. There are arguments for and against
     21051# assuming argument 3 is a header file declaring the function. A correct
     21052# function declaration is the main argument in favour. Having to cope with
     21053# possible dependencies or other oddities are the main arguments against.
     21054# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21055# Obviously, this has limits.
     21056
     21057    if test x"$mosek_libcheck" != xno; then
     21058           coin_save_LIBS="$LIBS"
     21059           LIBS="$MSKLIB $ADDLIBS"
     21060           coin_MSK_link=no
     21061           ac_ext=c
     21062ac_cpp='$CPP $CPPFLAGS'
     21063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21065ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21066
     21067           for fnm in MSK_openmosek ; do
     21068             echo "$as_me:$LINENO: checking whether symbol $fnm is available with MSK" >&5
     21069echo $ECHO_N "checking whether symbol $fnm is available with MSK... $ECHO_C" >&6
     21070             cat >conftest.$ac_ext <<_ACEOF
     21071/* confdefs.h.  */
     21072_ACEOF
     21073cat confdefs.h >>conftest.$ac_ext
     21074cat >>conftest.$ac_ext <<_ACEOF
     21075/* end confdefs.h.  */
     21076
     21077int
     21078main ()
     21079{
     21080$fnm()
     21081  ;
     21082  return 0;
     21083}
     21084_ACEOF
     21085rm -f conftest.$ac_objext conftest$ac_exeext
     21086if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21087  (eval $ac_link) 2>conftest.er1
     21088  ac_status=$?
     21089  grep -v '^ *+' conftest.er1 >conftest.err
     21090  rm -f conftest.er1
     21091  cat conftest.err >&5
     21092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21093  (exit $ac_status); } &&
     21094         { ac_try='test -z "$ac_c_werror_flag"
     21095                         || test ! -s conftest.err'
     21096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21097  (eval $ac_try) 2>&5
     21098  ac_status=$?
     21099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21100  (exit $ac_status); }; } &&
     21101         { ac_try='test -s conftest$ac_exeext'
     21102  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21103  (eval $ac_try) 2>&5
     21104  ac_status=$?
     21105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21106  (exit $ac_status); }; }; then
     21107  echo "$as_me:$LINENO: result: yes" >&5
     21108echo "${ECHO_T}yes" >&6
     21109                  coin_MSK_link=yes
     21110                  break
     21111else
     21112  echo "$as_me: failed program was:" >&5
     21113sed 's/^/| /' conftest.$ac_ext >&5
     21114
     21115echo "$as_me:$LINENO: result: no" >&5
     21116echo "${ECHO_T}no" >&6
     21117fi
     21118rm -f conftest.err conftest.$ac_objext \
     21119      conftest$ac_exeext conftest.$ac_ext
     21120           done
     21121           ac_ext=c
     21122ac_cpp='$CPP $CPPFLAGS'
     21123ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21124ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21125ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21126
     21127           if test x"$coin_MSK_link" = xyes ; then
     21128             LIBS="$coin_save_LIBS"
     21129           else
     21130             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) MSK_openmosek with MSK" >&5
     21131echo "$as_me: error: Cannot find symbol(s) MSK_openmosek with MSK" >&2;}
     21132   { (exit 1); exit 1; }; }
     21133           fi
     21134         fi
     21135
     21136
     21137# If we make it this far, we've verified the file and linked the function. Add
     21138# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21139# COIN_HAS_LBRY.
     21140
     21141    ADDLIBS="$MSKLIB $ADDLIBS"
     21142
     21143cat >>confdefs.h <<\_ACEOF
     21144#define COIN_HAS_MSK 1
     21145_ACEOF
     21146
     21147  fi
     21148
     21149# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21150# automake conditional. These actions must occur unconditionally.
     21151
     21152
     21153
     21154
     21155
     21156if test $coin_has_msk = true; then
     21157  COIN_HAS_MSK_TRUE=
     21158  COIN_HAS_MSK_FALSE='#'
     21159else
     21160  COIN_HAS_MSK_TRUE='#'
     21161  COIN_HAS_MSK_FALSE=
     21162fi
     21163
     21164
     21165
     21166  echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
     21167echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
     21168
     21169# Check for header file directory
     21170
     21171
     21172# Check whether --with-osl-incdir or --without-osl-incdir was given.
     21173if test "${with_osl_incdir+set}" = set; then
     21174  withval="$with_osl_incdir"
     21175  OSLINCDIR=`cd $withval; pwd`
     21176fi;
     21177
     21178# Check for library directory
     21179
     21180
     21181# Check whether --with-osl-lib or --without-osl-lib was given.
     21182if test "${with_osl_lib+set}" = set; then
     21183  withval="$with_osl_lib"
     21184  OSLLIB=$withval
     21185fi;
     21186
     21187# Switch to disable library check if requested
     21188
     21189  # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
     21190if test "${enable_osl_libcheck+set}" = set; then
     21191  enableval="$enable_osl_libcheck"
     21192  osl_libcheck=$enableval
     21193else
     21194  osl_libcheck=yes
     21195fi;
     21196
     21197# At this point, if we're going to use the library, both LBRYINCDIR and
     21198# LBRYLIB must be defined and not empty.
     21199
     21200  if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
     21201    if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
     21202      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&5
     21203echo "$as_me: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&2;}
     21204   { (exit 1); exit 1; }; }
     21205    fi
     21206    coin_has_osl=true
     21207    echo "$as_me:$LINENO: result: yes" >&5
     21208echo "${ECHO_T}yes" >&6
     21209  else
     21210    coin_has_osl=false
     21211    echo "$as_me:$LINENO: result: no" >&5
     21212echo "${ECHO_T}no" >&6
     21213  fi
     21214
     21215# If we have instructions for use, consider header and link checks.
     21216
     21217  if test $coin_has_osl = true; then
     21218
     21219# If argument 3 (file) is given, check for the file. Typically this will be a
     21220# header file, but that's not assumed.
     21221
     21222    if test -r $OSLINCDIR/ekk_c_api.h; then
     21223
     21224  :
     21225else
     21226  { { echo "$as_me:$LINENO: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&5
     21227echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;}
     21228   { (exit 1); exit 1; }; }
     21229  :
     21230fi
     21231
     21232
     21233# Now see if we can link the function. There are arguments for and against
     21234# assuming argument 3 is a header file declaring the function. A correct
     21235# function declaration is the main argument in favour. Having to cope with
     21236# possible dependencies or other oddities are the main arguments against.
     21237# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21238# Obviously, this has limits.
     21239
     21240    if test x"$osl_libcheck" != xno; then
     21241           coin_save_LIBS="$LIBS"
     21242           LIBS="$OSLLIB $ADDLIBS"
     21243           coin_OSL_link=no
     21244           ac_ext=c
     21245ac_cpp='$CPP $CPPFLAGS'
     21246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21248ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21249
     21250           for fnm in ekk_simplex ; do
     21251             echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5
     21252echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6
     21253             cat >conftest.$ac_ext <<_ACEOF
     21254/* confdefs.h.  */
     21255_ACEOF
     21256cat confdefs.h >>conftest.$ac_ext
     21257cat >>conftest.$ac_ext <<_ACEOF
     21258/* end confdefs.h.  */
     21259
     21260int
     21261main ()
     21262{
     21263$fnm()
     21264  ;
     21265  return 0;
     21266}
     21267_ACEOF
     21268rm -f conftest.$ac_objext conftest$ac_exeext
     21269if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21270  (eval $ac_link) 2>conftest.er1
     21271  ac_status=$?
     21272  grep -v '^ *+' conftest.er1 >conftest.err
     21273  rm -f conftest.er1
     21274  cat conftest.err >&5
     21275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21276  (exit $ac_status); } &&
     21277         { ac_try='test -z "$ac_c_werror_flag"
     21278                         || test ! -s conftest.err'
     21279  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21280  (eval $ac_try) 2>&5
     21281  ac_status=$?
     21282  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21283  (exit $ac_status); }; } &&
     21284         { ac_try='test -s conftest$ac_exeext'
     21285  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21286  (eval $ac_try) 2>&5
     21287  ac_status=$?
     21288  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21289  (exit $ac_status); }; }; then
     21290  echo "$as_me:$LINENO: result: yes" >&5
     21291echo "${ECHO_T}yes" >&6
     21292                  coin_OSL_link=yes
     21293                  break
     21294else
     21295  echo "$as_me: failed program was:" >&5
     21296sed 's/^/| /' conftest.$ac_ext >&5
     21297
     21298echo "$as_me:$LINENO: result: no" >&5
     21299echo "${ECHO_T}no" >&6
     21300fi
     21301rm -f conftest.err conftest.$ac_objext \
     21302      conftest$ac_exeext conftest.$ac_ext
     21303           done
     21304           ac_ext=c
     21305ac_cpp='$CPP $CPPFLAGS'
     21306ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21307ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21308ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21309
     21310           if test x"$coin_OSL_link" = xyes ; then
     21311             LIBS="$coin_save_LIBS"
     21312           else
     21313             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5
     21314echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;}
     21315   { (exit 1); exit 1; }; }
     21316           fi
     21317         fi
     21318
     21319
     21320# If we make it this far, we've verified the file and linked the function. Add
     21321# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21322# COIN_HAS_LBRY.
     21323
     21324    ADDLIBS="$OSLLIB $ADDLIBS"
     21325
     21326cat >>confdefs.h <<\_ACEOF
     21327#define COIN_HAS_OSL 1
     21328_ACEOF
     21329
     21330  fi
     21331
     21332# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21333# automake conditional. These actions must occur unconditionally.
     21334
     21335
     21336
     21337
     21338
     21339if test $coin_has_osl = true; then
     21340  COIN_HAS_OSL_TRUE=
     21341  COIN_HAS_OSL_FALSE='#'
     21342else
     21343  COIN_HAS_OSL_TRUE='#'
     21344  COIN_HAS_OSL_FALSE=
     21345fi
     21346
     21347
     21348
     21349  echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
     21350echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
     21351
     21352# Check for header file directory
     21353
     21354
     21355# Check whether --with-soplex-incdir or --without-soplex-incdir was given.
     21356if test "${with_soplex_incdir+set}" = set; then
     21357  withval="$with_soplex_incdir"
     21358  SPXINCDIR=`cd $withval; pwd`
     21359fi;
     21360
     21361# Check for library directory
     21362
     21363
     21364# Check whether --with-soplex-lib or --without-soplex-lib was given.
     21365if test "${with_soplex_lib+set}" = set; then
     21366  withval="$with_soplex_lib"
     21367  SPXLIB=$withval
     21368fi;
     21369
     21370# Switch to disable library check if requested
     21371
     21372  # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
     21373if test "${enable_soplex_libcheck+set}" = set; then
     21374  enableval="$enable_soplex_libcheck"
     21375  soplex_libcheck=$enableval
     21376else
     21377  soplex_libcheck=yes
     21378fi;
     21379
     21380# At this point, if we're going to use the library, both LBRYINCDIR and
     21381# LBRYLIB must be defined and not empty.
     21382
     21383  if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
     21384    if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
     21385      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&5
     21386echo "$as_me: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&2;}
     21387   { (exit 1); exit 1; }; }
     21388    fi
     21389    coin_has_spx=true
     21390    echo "$as_me:$LINENO: result: yes" >&5
     21391echo "${ECHO_T}yes" >&6
     21392  else
     21393    coin_has_spx=false
     21394    echo "$as_me:$LINENO: result: no" >&5
     21395echo "${ECHO_T}no" >&6
     21396  fi
     21397
     21398# If we have instructions for use, consider header and link checks.
     21399
     21400  if test $coin_has_spx = true; then
     21401
     21402# If argument 3 (file) is given, check for the file. Typically this will be a
     21403# header file, but that's not assumed.
     21404
     21405    if test -r $SPXINCDIR/spxsolver.h; then
     21406
     21407  :
     21408else
     21409  { { echo "$as_me:$LINENO: error: Cannot find file spxsolver.h in $SPXINCDIR" >&5
     21410echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;}
     21411   { (exit 1); exit 1; }; }
     21412  :
     21413fi
     21414
     21415
     21416# Now see if we can link the function. There are arguments for and against
     21417# assuming argument 3 is a header file declaring the function. A correct
     21418# function declaration is the main argument in favour. Having to cope with
     21419# possible dependencies or other oddities are the main arguments against.
     21420# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21421# Obviously, this has limits.
     21422
     21423
     21424
     21425# If we make it this far, we've verified the file and linked the function. Add
     21426# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21427# COIN_HAS_LBRY.
     21428
     21429    ADDLIBS="$SPXLIB $ADDLIBS"
     21430
     21431cat >>confdefs.h <<\_ACEOF
     21432#define COIN_HAS_SPX 1
     21433_ACEOF
     21434
     21435  fi
     21436
     21437# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21438# automake conditional. These actions must occur unconditionally.
     21439
     21440
     21441
     21442
     21443
     21444if test $coin_has_spx = true; then
     21445  COIN_HAS_SPX_TRUE=
     21446  COIN_HAS_SPX_FALSE='#'
     21447else
     21448  COIN_HAS_SPX_TRUE='#'
     21449  COIN_HAS_SPX_FALSE=
     21450fi
     21451
     21452 # ToDo
     21453
     21454  echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
     21455echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
     21456
     21457# Check for header file directory
     21458
     21459
     21460# Check whether --with-xpress-incdir or --without-xpress-incdir was given.
     21461if test "${with_xpress_incdir+set}" = set; then
     21462  withval="$with_xpress_incdir"
     21463  XPRINCDIR=`cd $withval; pwd`
     21464fi;
     21465
     21466# Check for library directory
     21467
     21468
     21469# Check whether --with-xpress-lib or --without-xpress-lib was given.
     21470if test "${with_xpress_lib+set}" = set; then
     21471  withval="$with_xpress_lib"
     21472  XPRLIB=$withval
     21473fi;
     21474
     21475# Switch to disable library check if requested
     21476
     21477  # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
     21478if test "${enable_xpress_libcheck+set}" = set; then
     21479  enableval="$enable_xpress_libcheck"
     21480  xpress_libcheck=$enableval
     21481else
     21482  xpress_libcheck=yes
     21483fi;
     21484
     21485# At this point, if we're going to use the library, both LBRYINCDIR and
     21486# LBRYLIB must be defined and not empty.
     21487
     21488  if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
     21489    if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
     21490      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&5
     21491echo "$as_me: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&2;}
     21492   { (exit 1); exit 1; }; }
     21493    fi
     21494    coin_has_xpr=true
     21495    echo "$as_me:$LINENO: result: yes" >&5
     21496echo "${ECHO_T}yes" >&6
     21497  else
     21498    coin_has_xpr=false
     21499    echo "$as_me:$LINENO: result: no" >&5
     21500echo "${ECHO_T}no" >&6
     21501  fi
     21502
     21503# If we have instructions for use, consider header and link checks.
     21504
     21505  if test $coin_has_xpr = true; then
     21506
     21507# If argument 3 (file) is given, check for the file. Typically this will be a
     21508# header file, but that's not assumed.
     21509
     21510    if test -r $XPRINCDIR/xprs.h; then
     21511
     21512  :
     21513else
     21514  { { echo "$as_me:$LINENO: error: Cannot find file xprs.h in $XPRINCDIR" >&5
     21515echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;}
     21516   { (exit 1); exit 1; }; }
     21517  :
     21518fi
     21519
     21520
     21521# Now see if we can link the function. There are arguments for and against
     21522# assuming argument 3 is a header file declaring the function. A correct
     21523# function declaration is the main argument in favour. Having to cope with
     21524# possible dependencies or other oddities are the main arguments against.
     21525# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21526# Obviously, this has limits.
     21527
     21528    if test x"$xpress_libcheck" != xno; then
     21529           coin_save_LIBS="$LIBS"
     21530           LIBS="$XPRLIB $ADDLIBS"
     21531           coin_XPR_link=no
     21532           ac_ext=c
     21533ac_cpp='$CPP $CPPFLAGS'
     21534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21535ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21536ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21537
     21538           for fnm in XPRSsetintcontrol ; do
     21539             echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5
     21540echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6
     21541             cat >conftest.$ac_ext <<_ACEOF
     21542/* confdefs.h.  */
     21543_ACEOF
     21544cat confdefs.h >>conftest.$ac_ext
     21545cat >>conftest.$ac_ext <<_ACEOF
     21546/* end confdefs.h.  */
     21547
     21548int
     21549main ()
     21550{
     21551$fnm()
     21552  ;
     21553  return 0;
     21554}
     21555_ACEOF
     21556rm -f conftest.$ac_objext conftest$ac_exeext
     21557if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     21558  (eval $ac_link) 2>conftest.er1
     21559  ac_status=$?
     21560  grep -v '^ *+' conftest.er1 >conftest.err
     21561  rm -f conftest.er1
     21562  cat conftest.err >&5
     21563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21564  (exit $ac_status); } &&
     21565         { ac_try='test -z "$ac_c_werror_flag"
     21566                         || test ! -s conftest.err'
     21567  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21568  (eval $ac_try) 2>&5
     21569  ac_status=$?
     21570  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21571  (exit $ac_status); }; } &&
     21572         { ac_try='test -s conftest$ac_exeext'
     21573  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     21574  (eval $ac_try) 2>&5
     21575  ac_status=$?
     21576  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     21577  (exit $ac_status); }; }; then
     21578  echo "$as_me:$LINENO: result: yes" >&5
     21579echo "${ECHO_T}yes" >&6
     21580                  coin_XPR_link=yes
     21581                  break
     21582else
     21583  echo "$as_me: failed program was:" >&5
     21584sed 's/^/| /' conftest.$ac_ext >&5
     21585
     21586echo "$as_me:$LINENO: result: no" >&5
     21587echo "${ECHO_T}no" >&6
     21588fi
     21589rm -f conftest.err conftest.$ac_objext \
     21590      conftest$ac_exeext conftest.$ac_ext
     21591           done
     21592           ac_ext=c
     21593ac_cpp='$CPP $CPPFLAGS'
     21594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     21595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     21596ac_compiler_gnu=$ac_cv_c_compiler_gnu
     21597
     21598           if test x"$coin_XPR_link" = xyes ; then
     21599             LIBS="$coin_save_LIBS"
     21600           else
     21601             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5
     21602echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;}
     21603   { (exit 1); exit 1; }; }
     21604           fi
     21605         fi
     21606
     21607
     21608# If we make it this far, we've verified the file and linked the function. Add
     21609# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21610# COIN_HAS_LBRY.
     21611
     21612    ADDLIBS="$XPRLIB $ADDLIBS"
     21613
     21614cat >>confdefs.h <<\_ACEOF
     21615#define COIN_HAS_XPR 1
     21616_ACEOF
     21617
     21618  fi
     21619
     21620# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21621# automake conditional. These actions must occur unconditionally.
     21622
     21623
     21624
     21625
     21626
     21627if test $coin_has_xpr = true; then
     21628  COIN_HAS_XPR_TRUE=
     21629  COIN_HAS_XPR_FALSE='#'
     21630else
     21631  COIN_HAS_XPR_TRUE='#'
     21632  COIN_HAS_XPR_FALSE=
     21633fi
     21634
     21635
     21636
     21637
     21638if test "$PACKAGE_NAME" = ThirdPartyGlpk; then
     21639  coin_glpkobjdir=../Glpk
     21640else
     21641  coin_glpkobjdir=../ThirdParty/Glpk
     21642fi
     21643coin_glpksrcdir=$abs_source_dir/$coin_glpkobjdir
     21644
     21645use_thirdpartyglpk=no
     21646
     21647# Check for the requested component. If the user specified an external glpk
     21648# library don't force a ThirdParty build, let the error propagate.
     21649
     21650
    2092521651  echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
    2092621652echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6
     
    2097921705# header file, but that's not assumed.
    2098021706
    20981     as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh`
    20982 echo "$as_me:$LINENO: checking for $GLPKINCDIR/glpk.h" >&5
    20983 echo $ECHO_N "checking for $GLPKINCDIR/glpk.h... $ECHO_C" >&6
    20984 if eval "test \"\${$as_ac_File+set}\" = set"; then
    20985   echo $ECHO_N "(cached) $ECHO_C" >&6
    20986 else
    20987   test "$cross_compiling" = yes &&
    20988   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    20989 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    20990    { (exit 1); exit 1; }; }
    20991 if test -r "$GLPKINCDIR/glpk.h"; then
    20992   eval "$as_ac_File=yes"
    20993 else
    20994   eval "$as_ac_File=no"
    20995 fi
    20996 fi
    20997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    20998 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    20999 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21707    if test -r $GLPKINCDIR/glpk.h; then
     21708
    2100021709  :
    2100121710else
     
    2100321712echo "$as_me: error: Cannot find file glpk.h in $GLPKINCDIR" >&2;}
    2100421713   { (exit 1); exit 1; }; }
     21714  :
    2100521715fi
    2100621716
     
    2112121831
    2112221832
    21123 
    21124   echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5
    21125 echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6
    21126 
    21127 # Check for header file directory
    21128 
    21129 
    21130 # Check whether --with-fortmp-incdir or --without-fortmp-incdir was given.
    21131 if test "${with_fortmp_incdir+set}" = set; then
    21132   withval="$with_fortmp_incdir"
    21133   FMPINCDIR=`cd $withval; pwd`
    21134 fi;
    21135 
    21136 # Check for library directory
    21137 
    21138 
    21139 # Check whether --with-fortmp-lib or --without-fortmp-lib was given.
    21140 if test "${with_fortmp_lib+set}" = set; then
    21141   withval="$with_fortmp_lib"
    21142   FMPLIB=$withval
    21143 fi;
    21144 
    21145 # Switch to disable library check if requested
    21146 
    21147   # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given.
    21148 if test "${enable_fortmp_libcheck+set}" = set; then
    21149   enableval="$enable_fortmp_libcheck"
    21150   fortmp_libcheck=$enableval
    21151 else
    21152   fortmp_libcheck=yes
    21153 fi;
    21154 
    21155 # At this point, if we're going to use the library, both LBRYINCDIR and
    21156 # LBRYLIB must be defined and not empty.
    21157 
    21158   if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then
    21159     if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then
    21160       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&5
    21161 echo "$as_me: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&2;}
    21162    { (exit 1); exit 1; }; }
     21833 if test x"$coin_has_glpk" = xfalse && test x"$GLPKLIB" = x ; then
     21834   use_thirdpartyglpk=try
     21835 fi
     21836
     21837
     21838# If the user has supplied an external library, use it. Otherwise, consider
     21839# a build in ThirdParty/Glpk. If we build, assume we get both glpk and gmpl.
     21840
     21841if test x"$use_thirdpartyglpk" = xtry ; then
     21842  MAKEOKFILE=.MakeOk
     21843  # Check if the Glpk's ThirdParty project has been configured
     21844  if test "$PACKAGE_NAME" != ThirdPartyGlpk; then
     21845    if test -r $coin_glpkobjdir/.MakeOk; then
     21846      use_thirdpartyglpk=build
     21847    else
     21848      use_thirdpartyglpk=no
    2116321849    fi
    21164     coin_has_fmp=true
    21165     echo "$as_me:$LINENO: result: yes" >&5
    21166 echo "${ECHO_T}yes" >&6
    2116721850  else
    21168     coin_has_fmp=false
    21169     echo "$as_me:$LINENO: result: no" >&5
    21170 echo "${ECHO_T}no" >&6
     21851    use_thirdpartyglpk=build
    2117121852  fi
    2117221853
    21173 # If we have instructions for use, consider header and link checks.
    21174 
    21175   if test $coin_has_fmp = true; then
    21176 
    21177 # If argument 3 (file) is given, check for the file. Typically this will be a
    21178 # header file, but that's not assumed.
    21179 
    21180 
    21181 
    21182 # Now see if we can link the function. There are arguments for and against
    21183 # assuming argument 3 is a header file declaring the function. A correct
    21184 # function declaration is the main argument in favour. Having to cope with
    21185 # possible dependencies or other oddities are the main arguments against.
    21186 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21187 # Obviously, this has limits.
    21188 
    21189 
    21190 
    21191 # If we make it this far, we've verified the file and linked the function. Add
    21192 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21193 # COIN_HAS_LBRY.
    21194 
    21195     ADDLIBS="$FMPLIB $ADDLIBS"
     21854# If we're building, set the library and include directory variables, create a
     21855# preprocessor symbol, define a variable that says we're using glpk/gmpl, and
     21856# another to indicate a link check is a bad idea (hard to do before the library
     21857# exists).
     21858
     21859  if test x"$use_thirdpartyglpk" == xbuild ; then
     21860    GLPKLIB=`cd $coin_glpkobjdir; pwd`/libcoinglpk.la
     21861
     21862    ADDLIBS="$GLPKLIB $ADDLIBS"
     21863    GLPKINCDIR="$coin_glpksrcdir/glpk/include"
     21864
    2119621865
    2119721866cat >>confdefs.h <<\_ACEOF
    21198 #define COIN_HAS_FMP 1
     21867#define COIN_HAS_GLPK 1
    2119921868_ACEOF
    2120021869
     21870    coin_has_glpk=true
     21871    glpk_libcheck=no
     21872    { echo "$as_me:$LINENO: Using Glpk in ThirdParty/Glpk" >&5
     21873echo "$as_me: Using Glpk in ThirdParty/Glpk" >&6;}
    2120121874  fi
    21202 
    21203 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21204 # automake conditional. These actions must occur unconditionally.
    21205 
    21206 
    21207 
    21208 
    21209 
    21210 if test $coin_has_fmp = true; then
    21211   COIN_HAS_FMP_TRUE=
    21212   COIN_HAS_FMP_FALSE='#'
    21213 else
    21214   COIN_HAS_FMP_TRUE='#'
    21215   COIN_HAS_FMP_FALSE=
    21216 fi
    21217 
    21218   #ToDo! is Fortran?
    21219 
    21220   echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5
    21221 echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6
    21222 
    21223 # Check for header file directory
    21224 
    21225 
    21226 # Check whether --with-mosek-incdir or --without-mosek-incdir was given.
    21227 if test "${with_mosek_incdir+set}" = set; then
    21228   withval="$with_mosek_incdir"
    21229   MSKINCDIR=`cd $withval; pwd`
    21230 fi;
    21231 
    21232 # Check for library directory
    21233 
    21234 
    21235 # Check whether --with-mosek-lib or --without-mosek-lib was given.
    21236 if test "${with_mosek_lib+set}" = set; then
    21237   withval="$with_mosek_lib"
    21238   MSKLIB=$withval
    21239 fi;
    21240 
    21241 # Switch to disable library check if requested
    21242 
    21243   # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given.
    21244 if test "${enable_mosek_libcheck+set}" = set; then
    21245   enableval="$enable_mosek_libcheck"
    21246   mosek_libcheck=$enableval
    21247 else
    21248   mosek_libcheck=yes
    21249 fi;
    21250 
    21251 # At this point, if we're going to use the library, both LBRYINCDIR and
    21252 # LBRYLIB must be defined and not empty.
    21253 
    21254   if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then
    21255     if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then
    21256       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&5
    21257 echo "$as_me: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&2;}
    21258    { (exit 1); exit 1; }; }
    21259     fi
    21260     coin_has_msk=true
    21261     echo "$as_me:$LINENO: result: yes" >&5
    21262 echo "${ECHO_T}yes" >&6
    21263   else
    21264     coin_has_msk=false
    21265     echo "$as_me:$LINENO: result: no" >&5
    21266 echo "${ECHO_T}no" >&6
    21267   fi
    21268 
    21269 # If we have instructions for use, consider header and link checks.
    21270 
    21271   if test $coin_has_msk = true; then
    21272 
    21273 # If argument 3 (file) is given, check for the file. Typically this will be a
    21274 # header file, but that's not assumed.
    21275 
    21276     as_ac_File=`echo "ac_cv_file_$MSKINCDIR/mosekdl.h" | $as_tr_sh`
    21277 echo "$as_me:$LINENO: checking for $MSKINCDIR/mosekdl.h" >&5
    21278 echo $ECHO_N "checking for $MSKINCDIR/mosekdl.h... $ECHO_C" >&6
    21279 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21280   echo $ECHO_N "(cached) $ECHO_C" >&6
    21281 else
    21282   test "$cross_compiling" = yes &&
    21283   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21284 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21285    { (exit 1); exit 1; }; }
    21286 if test -r "$MSKINCDIR/mosekdl.h"; then
    21287   eval "$as_ac_File=yes"
    21288 else
    21289   eval "$as_ac_File=no"
    21290 fi
    21291 fi
    21292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21293 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21294 if test `eval echo '${'$as_ac_File'}'` = yes; then
    21295   :
    21296 else
    21297   { { echo "$as_me:$LINENO: error: Cannot find file mosekdl.h in $MSKINCDIR" >&5
    21298 echo "$as_me: error: Cannot find file mosekdl.h in $MSKINCDIR" >&2;}
    21299    { (exit 1); exit 1; }; }
    21300 fi
    21301 
    21302 
    21303 # Now see if we can link the function. There are arguments for and against
    21304 # assuming argument 3 is a header file declaring the function. A correct
    21305 # function declaration is the main argument in favour. Having to cope with
    21306 # possible dependencies or other oddities are the main arguments against.
    21307 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21308 # Obviously, this has limits.
    21309 
    21310     if test x"$mosek_libcheck" != xno; then
    21311            coin_save_LIBS="$LIBS"
    21312            LIBS="$MSKLIB $ADDLIBS"
    21313            coin_MSK_link=no
    21314            ac_ext=c
    21315 ac_cpp='$CPP $CPPFLAGS'
    21316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21319 
    21320            for fnm in MSK_openmosek ; do
    21321              echo "$as_me:$LINENO: checking whether symbol $fnm is available with MSK" >&5
    21322 echo $ECHO_N "checking whether symbol $fnm is available with MSK... $ECHO_C" >&6
    21323              cat >conftest.$ac_ext <<_ACEOF
    21324 /* confdefs.h.  */
    21325 _ACEOF
    21326 cat confdefs.h >>conftest.$ac_ext
    21327 cat >>conftest.$ac_ext <<_ACEOF
    21328 /* end confdefs.h.  */
    21329 
    21330 int
    21331 main ()
    21332 {
    21333 $fnm()
    21334   ;
    21335   return 0;
    21336 }
    21337 _ACEOF
    21338 rm -f conftest.$ac_objext conftest$ac_exeext
    21339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21340   (eval $ac_link) 2>conftest.er1
    21341   ac_status=$?
    21342   grep -v '^ *+' conftest.er1 >conftest.err
    21343   rm -f conftest.er1
    21344   cat conftest.err >&5
    21345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21346   (exit $ac_status); } &&
    21347          { ac_try='test -z "$ac_c_werror_flag"
    21348                          || test ! -s conftest.err'
    21349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21350   (eval $ac_try) 2>&5
    21351   ac_status=$?
    21352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21353   (exit $ac_status); }; } &&
    21354          { ac_try='test -s conftest$ac_exeext'
    21355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21356   (eval $ac_try) 2>&5
    21357   ac_status=$?
    21358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21359   (exit $ac_status); }; }; then
    21360   echo "$as_me:$LINENO: result: yes" >&5
    21361 echo "${ECHO_T}yes" >&6
    21362                   coin_MSK_link=yes
    21363                   break
    21364 else
    21365   echo "$as_me: failed program was:" >&5
    21366 sed 's/^/| /' conftest.$ac_ext >&5
    21367 
    21368 echo "$as_me:$LINENO: result: no" >&5
    21369 echo "${ECHO_T}no" >&6
    21370 fi
    21371 rm -f conftest.err conftest.$ac_objext \
    21372       conftest$ac_exeext conftest.$ac_ext
    21373            done
    21374            ac_ext=c
    21375 ac_cpp='$CPP $CPPFLAGS'
    21376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21379 
    21380            if test x"$coin_MSK_link" = xyes ; then
    21381              LIBS="$coin_save_LIBS"
    21382            else
    21383              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) MSK_openmosek with MSK" >&5
    21384 echo "$as_me: error: Cannot find symbol(s) MSK_openmosek with MSK" >&2;}
    21385    { (exit 1); exit 1; }; }
    21386            fi
    21387          fi
    21388 
    21389 
    21390 # If we make it this far, we've verified the file and linked the function. Add
    21391 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21392 # COIN_HAS_LBRY.
    21393 
    21394     ADDLIBS="$MSKLIB $ADDLIBS"
    21395 
    21396 cat >>confdefs.h <<\_ACEOF
    21397 #define COIN_HAS_MSK 1
    21398 _ACEOF
    21399 
    21400   fi
    21401 
    21402 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21403 # automake conditional. These actions must occur unconditionally.
    21404 
    21405 
    21406 
    21407 
    21408 
    21409 if test $coin_has_msk = true; then
    21410   COIN_HAS_MSK_TRUE=
    21411   COIN_HAS_MSK_FALSE='#'
    21412 else
    21413   COIN_HAS_MSK_TRUE='#'
    21414   COIN_HAS_MSK_FALSE=
    21415 fi
    21416 
    21417 
    21418 
    21419   echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
    21420 echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
    21421 
    21422 # Check for header file directory
    21423 
    21424 
    21425 # Check whether --with-osl-incdir or --without-osl-incdir was given.
    21426 if test "${with_osl_incdir+set}" = set; then
    21427   withval="$with_osl_incdir"
    21428   OSLINCDIR=`cd $withval; pwd`
    21429 fi;
    21430 
    21431 # Check for library directory
    21432 
    21433 
    21434 # Check whether --with-osl-lib or --without-osl-lib was given.
    21435 if test "${with_osl_lib+set}" = set; then
    21436   withval="$with_osl_lib"
    21437   OSLLIB=$withval
    21438 fi;
    21439 
    21440 # Switch to disable library check if requested
    21441 
    21442   # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
    21443 if test "${enable_osl_libcheck+set}" = set; then
    21444   enableval="$enable_osl_libcheck"
    21445   osl_libcheck=$enableval
    21446 else
    21447   osl_libcheck=yes
    21448 fi;
    21449 
    21450 # At this point, if we're going to use the library, both LBRYINCDIR and
    21451 # LBRYLIB must be defined and not empty.
    21452 
    21453   if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
    21454     if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
    21455       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&5
    21456 echo "$as_me: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&2;}
    21457    { (exit 1); exit 1; }; }
    21458     fi
    21459     coin_has_osl=true
    21460     echo "$as_me:$LINENO: result: yes" >&5
    21461 echo "${ECHO_T}yes" >&6
    21462   else
    21463     coin_has_osl=false
    21464     echo "$as_me:$LINENO: result: no" >&5
    21465 echo "${ECHO_T}no" >&6
    21466   fi
    21467 
    21468 # If we have instructions for use, consider header and link checks.
    21469 
    21470   if test $coin_has_osl = true; then
    21471 
    21472 # If argument 3 (file) is given, check for the file. Typically this will be a
    21473 # header file, but that's not assumed.
    21474 
    21475     as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh`
    21476 echo "$as_me:$LINENO: checking for $OSLINCDIR/ekk_c_api.h" >&5
    21477 echo $ECHO_N "checking for $OSLINCDIR/ekk_c_api.h... $ECHO_C" >&6
    21478 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21479   echo $ECHO_N "(cached) $ECHO_C" >&6
    21480 else
    21481   test "$cross_compiling" = yes &&
    21482   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21483 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21484    { (exit 1); exit 1; }; }
    21485 if test -r "$OSLINCDIR/ekk_c_api.h"; then
    21486   eval "$as_ac_File=yes"
    21487 else
    21488   eval "$as_ac_File=no"
    21489 fi
    21490 fi
    21491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21492 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21493 if test `eval echo '${'$as_ac_File'}'` = yes; then
    21494   :
    21495 else
    21496   { { echo "$as_me:$LINENO: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&5
    21497 echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;}
    21498    { (exit 1); exit 1; }; }
    21499 fi
    21500 
    21501 
    21502 # Now see if we can link the function. There are arguments for and against
    21503 # assuming argument 3 is a header file declaring the function. A correct
    21504 # function declaration is the main argument in favour. Having to cope with
    21505 # possible dependencies or other oddities are the main arguments against.
    21506 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21507 # Obviously, this has limits.
    21508 
    21509     if test x"$osl_libcheck" != xno; then
    21510            coin_save_LIBS="$LIBS"
    21511            LIBS="$OSLLIB $ADDLIBS"
    21512            coin_OSL_link=no
    21513            ac_ext=c
    21514 ac_cpp='$CPP $CPPFLAGS'
    21515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21518 
    21519            for fnm in ekk_simplex ; do
    21520              echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5
    21521 echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6
    21522              cat >conftest.$ac_ext <<_ACEOF
    21523 /* confdefs.h.  */
    21524 _ACEOF
    21525 cat confdefs.h >>conftest.$ac_ext
    21526 cat >>conftest.$ac_ext <<_ACEOF
    21527 /* end confdefs.h.  */
    21528 
    21529 int
    21530 main ()
    21531 {
    21532 $fnm()
    21533   ;
    21534   return 0;
    21535 }
    21536 _ACEOF
    21537 rm -f conftest.$ac_objext conftest$ac_exeext
    21538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21539   (eval $ac_link) 2>conftest.er1
    21540   ac_status=$?
    21541   grep -v '^ *+' conftest.er1 >conftest.err
    21542   rm -f conftest.er1
    21543   cat conftest.err >&5
    21544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21545   (exit $ac_status); } &&
    21546          { ac_try='test -z "$ac_c_werror_flag"
    21547                          || test ! -s conftest.err'
    21548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21549   (eval $ac_try) 2>&5
    21550   ac_status=$?
    21551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21552   (exit $ac_status); }; } &&
    21553          { ac_try='test -s conftest$ac_exeext'
    21554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21555   (eval $ac_try) 2>&5
    21556   ac_status=$?
    21557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21558   (exit $ac_status); }; }; then
    21559   echo "$as_me:$LINENO: result: yes" >&5
    21560 echo "${ECHO_T}yes" >&6
    21561                   coin_OSL_link=yes
    21562                   break
    21563 else
    21564   echo "$as_me: failed program was:" >&5
    21565 sed 's/^/| /' conftest.$ac_ext >&5
    21566 
    21567 echo "$as_me:$LINENO: result: no" >&5
    21568 echo "${ECHO_T}no" >&6
    21569 fi
    21570 rm -f conftest.err conftest.$ac_objext \
    21571       conftest$ac_exeext conftest.$ac_ext
    21572            done
    21573            ac_ext=c
    21574 ac_cpp='$CPP $CPPFLAGS'
    21575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21578 
    21579            if test x"$coin_OSL_link" = xyes ; then
    21580              LIBS="$coin_save_LIBS"
    21581            else
    21582              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5
    21583 echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;}
    21584    { (exit 1); exit 1; }; }
    21585            fi
    21586          fi
    21587 
    21588 
    21589 # If we make it this far, we've verified the file and linked the function. Add
    21590 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21591 # COIN_HAS_LBRY.
    21592 
    21593     ADDLIBS="$OSLLIB $ADDLIBS"
    21594 
    21595 cat >>confdefs.h <<\_ACEOF
    21596 #define COIN_HAS_OSL 1
    21597 _ACEOF
    21598 
    21599   fi
    21600 
    21601 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21602 # automake conditional. These actions must occur unconditionally.
    21603 
    21604 
    21605 
    21606 
    21607 
    21608 if test $coin_has_osl = true; then
    21609   COIN_HAS_OSL_TRUE=
    21610   COIN_HAS_OSL_FALSE='#'
    21611 else
    21612   COIN_HAS_OSL_TRUE='#'
    21613   COIN_HAS_OSL_FALSE=
    21614 fi
    21615 
    21616 
    21617 
    21618   echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
    21619 echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
    21620 
    21621 # Check for header file directory
    21622 
    21623 
    21624 # Check whether --with-soplex-incdir or --without-soplex-incdir was given.
    21625 if test "${with_soplex_incdir+set}" = set; then
    21626   withval="$with_soplex_incdir"
    21627   SPXINCDIR=`cd $withval; pwd`
    21628 fi;
    21629 
    21630 # Check for library directory
    21631 
    21632 
    21633 # Check whether --with-soplex-lib or --without-soplex-lib was given.
    21634 if test "${with_soplex_lib+set}" = set; then
    21635   withval="$with_soplex_lib"
    21636   SPXLIB=$withval
    21637 fi;
    21638 
    21639 # Switch to disable library check if requested
    21640 
    21641   # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
    21642 if test "${enable_soplex_libcheck+set}" = set; then
    21643   enableval="$enable_soplex_libcheck"
    21644   soplex_libcheck=$enableval
    21645 else
    21646   soplex_libcheck=yes
    21647 fi;
    21648 
    21649 # At this point, if we're going to use the library, both LBRYINCDIR and
    21650 # LBRYLIB must be defined and not empty.
    21651 
    21652   if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
    21653     if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
    21654       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&5
    21655 echo "$as_me: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&2;}
    21656    { (exit 1); exit 1; }; }
    21657     fi
    21658     coin_has_spx=true
    21659     echo "$as_me:$LINENO: result: yes" >&5
    21660 echo "${ECHO_T}yes" >&6
    21661   else
    21662     coin_has_spx=false
    21663     echo "$as_me:$LINENO: result: no" >&5
    21664 echo "${ECHO_T}no" >&6
    21665   fi
    21666 
    21667 # If we have instructions for use, consider header and link checks.
    21668 
    21669   if test $coin_has_spx = true; then
    21670 
    21671 # If argument 3 (file) is given, check for the file. Typically this will be a
    21672 # header file, but that's not assumed.
    21673 
    21674     as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh`
    21675 echo "$as_me:$LINENO: checking for $SPXINCDIR/spxsolver.h" >&5
    21676 echo $ECHO_N "checking for $SPXINCDIR/spxsolver.h... $ECHO_C" >&6
    21677 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21678   echo $ECHO_N "(cached) $ECHO_C" >&6
    21679 else
    21680   test "$cross_compiling" = yes &&
    21681   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21682 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21683    { (exit 1); exit 1; }; }
    21684 if test -r "$SPXINCDIR/spxsolver.h"; then
    21685   eval "$as_ac_File=yes"
    21686 else
    21687   eval "$as_ac_File=no"
    21688 fi
    21689 fi
    21690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21691 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21692 if test `eval echo '${'$as_ac_File'}'` = yes; then
    21693   :
    21694 else
    21695   { { echo "$as_me:$LINENO: error: Cannot find file spxsolver.h in $SPXINCDIR" >&5
    21696 echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;}
    21697    { (exit 1); exit 1; }; }
    21698 fi
    21699 
    21700 
    21701 # Now see if we can link the function. There are arguments for and against
    21702 # assuming argument 3 is a header file declaring the function. A correct
    21703 # function declaration is the main argument in favour. Having to cope with
    21704 # possible dependencies or other oddities are the main arguments against.
    21705 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21706 # Obviously, this has limits.
    21707 
    21708 
    21709 
    21710 # If we make it this far, we've verified the file and linked the function. Add
    21711 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21712 # COIN_HAS_LBRY.
    21713 
    21714     ADDLIBS="$SPXLIB $ADDLIBS"
    21715 
    21716 cat >>confdefs.h <<\_ACEOF
    21717 #define COIN_HAS_SPX 1
    21718 _ACEOF
    21719 
    21720   fi
    21721 
    21722 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21723 # automake conditional. These actions must occur unconditionally.
    21724 
    21725 
    21726 
    21727 
    21728 
    21729 if test $coin_has_spx = true; then
    21730   COIN_HAS_SPX_TRUE=
    21731   COIN_HAS_SPX_FALSE='#'
    21732 else
    21733   COIN_HAS_SPX_TRUE='#'
    21734   COIN_HAS_SPX_FALSE=
    21735 fi
    21736 
    21737  # ToDo
    21738 
    21739   echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
    21740 echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
    21741 
    21742 # Check for header file directory
    21743 
    21744 
    21745 # Check whether --with-xpress-incdir or --without-xpress-incdir was given.
    21746 if test "${with_xpress_incdir+set}" = set; then
    21747   withval="$with_xpress_incdir"
    21748   XPRINCDIR=`cd $withval; pwd`
    21749 fi;
    21750 
    21751 # Check for library directory
    21752 
    21753 
    21754 # Check whether --with-xpress-lib or --without-xpress-lib was given.
    21755 if test "${with_xpress_lib+set}" = set; then
    21756   withval="$with_xpress_lib"
    21757   XPRLIB=$withval
    21758 fi;
    21759 
    21760 # Switch to disable library check if requested
    21761 
    21762   # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
    21763 if test "${enable_xpress_libcheck+set}" = set; then
    21764   enableval="$enable_xpress_libcheck"
    21765   xpress_libcheck=$enableval
    21766 else
    21767   xpress_libcheck=yes
    21768 fi;
    21769 
    21770 # At this point, if we're going to use the library, both LBRYINCDIR and
    21771 # LBRYLIB must be defined and not empty.
    21772 
    21773   if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
    21774     if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
    21775       { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&5
    21776 echo "$as_me: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&2;}
    21777    { (exit 1); exit 1; }; }
    21778     fi
    21779     coin_has_xpr=true
    21780     echo "$as_me:$LINENO: result: yes" >&5
    21781 echo "${ECHO_T}yes" >&6
    21782   else
    21783     coin_has_xpr=false
    21784     echo "$as_me:$LINENO: result: no" >&5
    21785 echo "${ECHO_T}no" >&6
    21786   fi
    21787 
    21788 # If we have instructions for use, consider header and link checks.
    21789 
    21790   if test $coin_has_xpr = true; then
    21791 
    21792 # If argument 3 (file) is given, check for the file. Typically this will be a
    21793 # header file, but that's not assumed.
    21794 
    21795     as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh`
    21796 echo "$as_me:$LINENO: checking for $XPRINCDIR/xprs.h" >&5
    21797 echo $ECHO_N "checking for $XPRINCDIR/xprs.h... $ECHO_C" >&6
    21798 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21799   echo $ECHO_N "(cached) $ECHO_C" >&6
    21800 else
    21801   test "$cross_compiling" = yes &&
    21802   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21803 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21804    { (exit 1); exit 1; }; }
    21805 if test -r "$XPRINCDIR/xprs.h"; then
    21806   eval "$as_ac_File=yes"
    21807 else
    21808   eval "$as_ac_File=no"
    21809 fi
    21810 fi
    21811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21812 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21813 if test `eval echo '${'$as_ac_File'}'` = yes; then
    21814   :
    21815 else
    21816   { { echo "$as_me:$LINENO: error: Cannot find file xprs.h in $XPRINCDIR" >&5
    21817 echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;}
    21818    { (exit 1); exit 1; }; }
    21819 fi
    21820 
    21821 
    21822 # Now see if we can link the function. There are arguments for and against
    21823 # assuming argument 3 is a header file declaring the function. A correct
    21824 # function declaration is the main argument in favour. Having to cope with
    21825 # possible dependencies or other oddities are the main arguments against.
    21826 # Force the use of C as the best single choice amongst C++, C, and Fortran.
    21827 # Obviously, this has limits.
    21828 
    21829     if test x"$xpress_libcheck" != xno; then
    21830            coin_save_LIBS="$LIBS"
    21831            LIBS="$XPRLIB $ADDLIBS"
    21832            coin_XPR_link=no
    21833            ac_ext=c
    21834 ac_cpp='$CPP $CPPFLAGS'
    21835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21838 
    21839            for fnm in XPRSsetintcontrol ; do
    21840              echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5
    21841 echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6
    21842              cat >conftest.$ac_ext <<_ACEOF
    21843 /* confdefs.h.  */
    21844 _ACEOF
    21845 cat confdefs.h >>conftest.$ac_ext
    21846 cat >>conftest.$ac_ext <<_ACEOF
    21847 /* end confdefs.h.  */
    21848 
    21849 int
    21850 main ()
    21851 {
    21852 $fnm()
    21853   ;
    21854   return 0;
    21855 }
    21856 _ACEOF
    21857 rm -f conftest.$ac_objext conftest$ac_exeext
    21858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    21859   (eval $ac_link) 2>conftest.er1
    21860   ac_status=$?
    21861   grep -v '^ *+' conftest.er1 >conftest.err
    21862   rm -f conftest.er1
    21863   cat conftest.err >&5
    21864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21865   (exit $ac_status); } &&
    21866          { ac_try='test -z "$ac_c_werror_flag"
    21867                          || test ! -s conftest.err'
    21868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21869   (eval $ac_try) 2>&5
    21870   ac_status=$?
    21871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21872   (exit $ac_status); }; } &&
    21873          { ac_try='test -s conftest$ac_exeext'
    21874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    21875   (eval $ac_try) 2>&5
    21876   ac_status=$?
    21877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21878   (exit $ac_status); }; }; then
    21879   echo "$as_me:$LINENO: result: yes" >&5
    21880 echo "${ECHO_T}yes" >&6
    21881                   coin_XPR_link=yes
    21882                   break
    21883 else
    21884   echo "$as_me: failed program was:" >&5
    21885 sed 's/^/| /' conftest.$ac_ext >&5
    21886 
    21887 echo "$as_me:$LINENO: result: no" >&5
    21888 echo "${ECHO_T}no" >&6
    21889 fi
    21890 rm -f conftest.err conftest.$ac_objext \
    21891       conftest$ac_exeext conftest.$ac_ext
    21892            done
    21893            ac_ext=c
    21894 ac_cpp='$CPP $CPPFLAGS'
    21895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    21896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    21897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    21898 
    21899            if test x"$coin_XPR_link" = xyes ; then
    21900              LIBS="$coin_save_LIBS"
    21901            else
    21902              { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5
    21903 echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;}
    21904    { (exit 1); exit 1; }; }
    21905            fi
    21906          fi
    21907 
    21908 
    21909 # If we make it this far, we've verified the file and linked the function. Add
    21910 # the necessary link flags to ADDLIBS and define the preprocessor symbol
    21911 # COIN_HAS_LBRY.
    21912 
    21913     ADDLIBS="$XPRLIB $ADDLIBS"
    21914 
    21915 cat >>confdefs.h <<\_ACEOF
    21916 #define COIN_HAS_XPR 1
    21917 _ACEOF
    21918 
    21919   fi
    21920 
    21921 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
    21922 # automake conditional. These actions must occur unconditionally.
    21923 
    21924 
    21925 
    21926 
    21927 
    21928 if test $coin_has_xpr = true; then
    21929   COIN_HAS_XPR_TRUE=
    21930   COIN_HAS_XPR_FALSE='#'
    21931 else
    21932   COIN_HAS_XPR_TRUE='#'
    21933   COIN_HAS_XPR_FALSE=
    21934 fi
     21875fi
     21876
     21877# Define the necessary automake conditionals.
     21878
     21879
     21880
     21881if test x"$coin_has_glpk" = xtrue; then
     21882  COIN_HAS_GLPK_TRUE=
     21883  COIN_HAS_GLPK_FALSE='#'
     21884else
     21885  COIN_HAS_GLPK_TRUE='#'
     21886  COIN_HAS_GLPK_FALSE=
     21887fi
     21888
     21889
     21890
     21891if test x"$use_thirdpartyglpk" = xbuild; then
     21892  COIN_BUILD_GLPK_TRUE=
     21893  COIN_BUILD_GLPK_FALSE='#'
     21894else
     21895  COIN_BUILD_GLPK_TRUE='#'
     21896  COIN_BUILD_GLPK_FALSE=
     21897fi
     21898
    2193521899
    2193621900
     
    2198221946  fi
    2198321947elif test "$use_asldir" != "no"; then
    21984   as_ac_File=`echo "ac_cv_file_$use_asldir/$ampllib" | $as_tr_sh`
    21985 echo "$as_me:$LINENO: checking for $use_asldir/$ampllib" >&5
    21986 echo $ECHO_N "checking for $use_asldir/$ampllib... $ECHO_C" >&6
    21987 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21988   echo $ECHO_N "(cached) $ECHO_C" >&6
    21989 else
    21990   test "$cross_compiling" = yes &&
    21991   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21992 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21993    { (exit 1); exit 1; }; }
    21994 if test -r "$use_asldir/$ampllib"; then
    21995   eval "$as_ac_File=yes"
    21996 else
    21997   eval "$as_ac_File=no"
    21998 fi
    21999 fi
    22000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    22001 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    22002 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21948  if test -r $use_asldir/$ampllib; then
     21949
    2200321950  :
    2200421951else
     
    2200621953echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;}
    2200721954   { (exit 1); exit 1; }; }
    22008 fi
    22009 
    22010   as_ac_File=`echo "ac_cv_file_$use_asldir/asl.h" | $as_tr_sh`
    22011 echo "$as_me:$LINENO: checking for $use_asldir/asl.h" >&5
    22012 echo $ECHO_N "checking for $use_asldir/asl.h... $ECHO_C" >&6
    22013 if eval "test \"\${$as_ac_File+set}\" = set"; then
    22014   echo $ECHO_N "(cached) $ECHO_C" >&6
    22015 else
    22016   test "$cross_compiling" = yes &&
    22017   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    22018 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    22019    { (exit 1); exit 1; }; }
    22020 if test -r "$use_asldir/asl.h"; then
    22021   eval "$as_ac_File=yes"
    22022 else
    22023   eval "$as_ac_File=no"
    22024 fi
    22025 fi
    22026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    22027 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    22028 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21955  :
     21956fi
     21957
     21958  if test -r $use_asldir/asl.h; then
     21959
    2202921960  :
    2203021961else
     
    2203221963echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;}
    2203321964   { (exit 1); exit 1; }; }
     21965  :
    2203421966fi
    2203521967
     
    2243722369# Finally, we let configure write all the output...
    2243822370
     22371
     22372
     22373
     22374echo "$as_me:$LINENO: checking which command should be used to link input files" >&5
     22375echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6
     22376coin_link_input_cmd="$LN_S"
     22377if test "$enable_doscompile" = mingw; then
     22378  coin_link_input_cmd=cp
     22379fi
     22380case "$CC" in
     22381  cl* | */cl* | CL* | */CL*)
     22382    coin_link_input_cmd=cp ;;
     22383esac
     22384echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5
     22385echo "${ECHO_T}$coin_link_input_cmd" >&6
     22386
     22387
     22388
    2243922389if test x$coin_skip_ac_output != xyes; then
    2244022390
     
    2265022600   { (exit 1); exit 1; }; }
    2265122601fi
    22652 if test -z "${COIN_HAS_SYM_TRUE}" && test -z "${COIN_HAS_SYM_FALSE}"; then
    22653   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SYM\" was never defined.
     22602if test -z "${COIN_HAS_SYMPHONY_TRUE}" && test -z "${COIN_HAS_SYMPHONY_FALSE}"; then
     22603  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SYMPHONY\" was never defined.
    2265422604Usually this means the macro was only invoked conditionally." >&5
    22655 echo "$as_me: error: conditional \"COIN_HAS_SYM\" was never defined.
     22605echo "$as_me: error: conditional \"COIN_HAS_SYMPHONY\" was never defined.
    2265622606Usually this means the macro was only invoked conditionally." >&2;}
    2265722607   { (exit 1); exit 1; }; }
     
    2267122621   { (exit 1); exit 1; }; }
    2267222622fi
     22623if test -z "${COIN_HAS_FMP_TRUE}" && test -z "${COIN_HAS_FMP_FALSE}"; then
     22624  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FMP\" was never defined.
     22625Usually this means the macro was only invoked conditionally." >&5
     22626echo "$as_me: error: conditional \"COIN_HAS_FMP\" was never defined.
     22627Usually this means the macro was only invoked conditionally." >&2;}
     22628   { (exit 1); exit 1; }; }
     22629fi
     22630if test -z "${COIN_HAS_MSK_TRUE}" && test -z "${COIN_HAS_MSK_FALSE}"; then
     22631  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MSK\" was never defined.
     22632Usually this means the macro was only invoked conditionally." >&5
     22633echo "$as_me: error: conditional \"COIN_HAS_MSK\" was never defined.
     22634Usually this means the macro was only invoked conditionally." >&2;}
     22635   { (exit 1); exit 1; }; }
     22636fi
     22637if test -z "${COIN_HAS_OSL_TRUE}" && test -z "${COIN_HAS_OSL_FALSE}"; then
     22638  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSL\" was never defined.
     22639Usually this means the macro was only invoked conditionally." >&5
     22640echo "$as_me: error: conditional \"COIN_HAS_OSL\" was never defined.
     22641Usually this means the macro was only invoked conditionally." >&2;}
     22642   { (exit 1); exit 1; }; }
     22643fi
     22644if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then
     22645  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.
     22646Usually this means the macro was only invoked conditionally." >&5
     22647echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.
     22648Usually this means the macro was only invoked conditionally." >&2;}
     22649   { (exit 1); exit 1; }; }
     22650fi
     22651if test -z "${COIN_HAS_XPR_TRUE}" && test -z "${COIN_HAS_XPR_FALSE}"; then
     22652  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_XPR\" was never defined.
     22653Usually this means the macro was only invoked conditionally." >&5
     22654echo "$as_me: error: conditional \"COIN_HAS_XPR\" was never defined.
     22655Usually this means the macro was only invoked conditionally." >&2;}
     22656   { (exit 1); exit 1; }; }
     22657fi
    2267322658if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
    2267422659  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
     
    2267822663   { (exit 1); exit 1; }; }
    2267922664fi
    22680 if test -z "${COIN_HAS_FMP_TRUE}" && test -z "${COIN_HAS_FMP_FALSE}"; then
    22681   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FMP\" was never defined.
     22665if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
     22666  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
    2268222667Usually this means the macro was only invoked conditionally." >&5
    22683 echo "$as_me: error: conditional \"COIN_HAS_FMP\" was never defined.
     22668echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
    2268422669Usually this means the macro was only invoked conditionally." >&2;}
    2268522670   { (exit 1); exit 1; }; }
    2268622671fi
    22687 if test -z "${COIN_HAS_MSK_TRUE}" && test -z "${COIN_HAS_MSK_FALSE}"; then
    22688   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MSK\" was never defined.
     22672if test -z "${COIN_BUILD_GLPK_TRUE}" && test -z "${COIN_BUILD_GLPK_FALSE}"; then
     22673  { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_GLPK\" was never defined.
    2268922674Usually this means the macro was only invoked conditionally." >&5
    22690 echo "$as_me: error: conditional \"COIN_HAS_MSK\" was never defined.
    22691 Usually this means the macro was only invoked conditionally." >&2;}
    22692    { (exit 1); exit 1; }; }
    22693 fi
    22694 if test -z "${COIN_HAS_OSL_TRUE}" && test -z "${COIN_HAS_OSL_FALSE}"; then
    22695   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSL\" was never defined.
    22696 Usually this means the macro was only invoked conditionally." >&5
    22697 echo "$as_me: error: conditional \"COIN_HAS_OSL\" was never defined.
    22698 Usually this means the macro was only invoked conditionally." >&2;}
    22699    { (exit 1); exit 1; }; }
    22700 fi
    22701 if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then
    22702   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.
    22703 Usually this means the macro was only invoked conditionally." >&5
    22704 echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.
    22705 Usually this means the macro was only invoked conditionally." >&2;}
    22706    { (exit 1); exit 1; }; }
    22707 fi
    22708 if test -z "${COIN_HAS_XPR_TRUE}" && test -z "${COIN_HAS_XPR_FALSE}"; then
    22709   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_XPR\" was never defined.
    22710 Usually this means the macro was only invoked conditionally." >&5
    22711 echo "$as_me: error: conditional \"COIN_HAS_XPR\" was never defined.
     22675echo "$as_me: error: conditional \"COIN_BUILD_GLPK\" was never defined.
    2271222676Usually this means the macro was only invoked conditionally." >&2;}
    2271322677   { (exit 1); exit 1; }; }
     
    2338523349s,@COIN_HAS_OSI_TRUE@,$COIN_HAS_OSI_TRUE,;t t
    2338623350s,@COIN_HAS_OSI_FALSE@,$COIN_HAS_OSI_FALSE,;t t
    23387 s,@SYMSRCDIR@,$SYMSRCDIR,;t t
    23388 s,@SYMOBJDIR@,$SYMOBJDIR,;t t
    23389 s,@COIN_HAS_SYM_TRUE@,$COIN_HAS_SYM_TRUE,;t t
    23390 s,@COIN_HAS_SYM_FALSE@,$COIN_HAS_SYM_FALSE,;t t
     23351s,@SYMPHONYSRCDIR@,$SYMPHONYSRCDIR,;t t
     23352s,@SYMPHONYOBJDIR@,$SYMPHONYOBJDIR,;t t
     23353s,@COIN_HAS_SYMPHONY_TRUE@,$COIN_HAS_SYMPHONY_TRUE,;t t
     23354s,@COIN_HAS_SYMPHONY_FALSE@,$COIN_HAS_SYMPHONY_FALSE,;t t
    2339123355s,@VOLSRCDIR@,$VOLSRCDIR,;t t
    2339223356s,@VOLOBJDIR@,$VOLOBJDIR,;t t
     
    2339723361s,@COIN_HAS_CPX_TRUE@,$COIN_HAS_CPX_TRUE,;t t
    2339823362s,@COIN_HAS_CPX_FALSE@,$COIN_HAS_CPX_FALSE,;t t
    23399 s,@GLPKINCDIR@,$GLPKINCDIR,;t t
    23400 s,@GLPKLIB@,$GLPKLIB,;t t
    23401 s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t
    23402 s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t
    2340323363s,@FMPINCDIR@,$FMPINCDIR,;t t
    2340423364s,@FMPLIB@,$FMPLIB,;t t
     
    2342123381s,@COIN_HAS_XPR_TRUE@,$COIN_HAS_XPR_TRUE,;t t
    2342223382s,@COIN_HAS_XPR_FALSE@,$COIN_HAS_XPR_FALSE,;t t
     23383s,@GLPKINCDIR@,$GLPKINCDIR,;t t
     23384s,@GLPKLIB@,$GLPKLIB,;t t
     23385s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t
     23386s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t
     23387s,@COIN_BUILD_GLPK_TRUE@,$COIN_BUILD_GLPK_TRUE,;t t
     23388s,@COIN_BUILD_GLPK_FALSE@,$COIN_BUILD_GLPK_FALSE,;t t
    2342323389s,@ASLLIB@,$ASLLIB,;t t
    2342423390s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t
     
    2414824114
    2414924115  if test x"$coin_vpath_link_files" = x; then : ; else
    24150     lnkcmd=
    24151     if test "$enable_doscompile" = mingw; then
    24152       lnkcmd=cp
    24153     fi
    24154     case "$CC" in
    24155       cl* | */cl* | CL* | */CL*)
    24156         lnkcmd=cp ;;
    24157     esac
     24116    lnkcmd="$coin_link_input_cmd"
    2415824117    if test "$lnkcmd" = cp; then
    2415924118      { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
    2416024119echo "$as_me: Copying data files for VPATH configuration" >&6;}
    2416124120    else
    24162       echo "$as_me:$LINENO: checking whether ln -s works" >&5
    24163 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    24164 LN_S=$as_ln_s
    24165 if test "$LN_S" = "ln -s"; then
    24166   echo "$as_me:$LINENO: result: yes" >&5
    24167 echo "${ECHO_T}yes" >&6
    24168 else
    24169   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    24170 echo "${ECHO_T}no, using $LN_S" >&6
    24171 fi
    24172 
    2417324121      { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
    2417424122echo "$as_me: Creating VPATH links for data files" >&6;}
    24175       lnkcmd="$LN_S"
    2417624123    fi
    2417724124    for file in $coin_vpath_link_files; do
  • trunk/Cbc/configure.ac

    r640 r710  
    6363AC_COIN_HAS_PROJECT(DyLP)
    6464AC_COIN_HAS_PROJECT(Osi)
    65 AC_COIN_HAS_PROJECT(Sym)
     65AC_COIN_HAS_PROJECT(SYMPHONY)
    6666AC_COIN_HAS_PROJECT(Vol)
    6767
     
    7272# Check which third party solvers are available ToDo!
    7373AC_COIN_HAS_USER_LIBRARY([Cplex],[CPX],[cplex.h],[CPXgetstat])
    74 AC_COIN_HAS_USER_LIBRARY([Glpk],[GLPK],[glpk.h],
    75     [_glp_lpx_simplex glp_lpx_simplex])
    7674AC_COIN_HAS_USER_LIBRARY([FortMP],[FMP])  #ToDo! is Fortran?
    7775AC_COIN_HAS_USER_LIBRARY([Mosek],[MSK],[mosekdl.h],[MSK_openmosek])
     
    7977AC_COIN_HAS_USER_LIBRARY([Soplex],[SPX],[spxsolver.h]) # ToDo
    8078AC_COIN_HAS_USER_LIBRARY([Xpress],[XPR],[xprs.h],[XPRSsetintcontrol])
     79
     80AC_COIN_HAS_GLPK(Glpk)
    8181
    8282#############################################################################
  • trunk/Cbc/inc/config_cbc.h.in

    r640 r710  
    2929#undef COIN_HAS_COINUTILS
    3030
    31 /* Define to 1 if the Cplex package is used */
     31/* Define to 1 if the Cplex package is available */
    3232#undef COIN_HAS_CPX
    3333
     
    3535#undef COIN_HAS_DYLP
    3636
    37 /* Define to 1 if the FortMP package is used */
     37/* Define to 1 if the FortMP package is available */
    3838#undef COIN_HAS_FMP
    3939
    40 /* Define to 1 if the Glpk package is used */
     40/* Define to 1 if Glpk package is available */
    4141#undef COIN_HAS_GLPK
    4242
    43 /* Define to 1 if the Mosek package is used */
     43/* Define to 1 if the Mosek package is available */
    4444#undef COIN_HAS_MSK
    4545
     
    4747#undef COIN_HAS_OSI
    4848
    49 /* Define to 1 if the Osl package is used */
     49/* Define to 1 if the Osl package is available */
    5050#undef COIN_HAS_OSL
    5151
    52 /* Define to 1 if the Soplex package is used */
     52/* Define to 1 if the Soplex package is available */
    5353#undef COIN_HAS_SPX
    5454
    55 /* Define to 1 if the Sym package is used */
    56 #undef COIN_HAS_SYM
     55/* Define to 1 if the SYMPHONY package is used */
     56#undef COIN_HAS_SYMPHONY
    5757
    5858/* Define to 1 if the Vol package is used */
    5959#undef COIN_HAS_VOL
    6060
    61 /* Define to 1 if the Xpress package is used */
     61/* Define to 1 if the Xpress package is available */
    6262#undef COIN_HAS_XPR
    6363
  • trunk/Cbc/src/Makefile.am

    r687 r710  
    198198endif
    199199
    200 if COIN_HAS_SYM
    201   AM_CPPFLAGS += -I`$(CYGPATH_W) $(SYMSRCDIR)/src` \
     200if COIN_HAS_SYMPHONY
     201  AM_CPPFLAGS += -I`$(CYGPATH_W) $(SYMPHONYSRCDIR)/src` \
    202202        -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSym`
    203203  cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
    204         $(SYMOBJDIR)/src/libSym.la
    205   LIBS += `cat $(SYMOBJDIR)/sym_addlibs.txt`
     204        $(SYMPHONYOBJDIR)/src/libSym.la
     205  LIBS += `cat $(SYMPHONYOBJDIR)/sym_addlibs.txt`
    206206endif
    207207
  • trunk/Cbc/src/Makefile.in

    r687 r710  
    115115
    116116@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SPX_TRUE@am__append_24 = $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la
    117 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYM_TRUE@am__append_25 = -I`$(CYGPATH_W) $(SYMSRCDIR)/src` \
    118 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYM_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSym`
    119 
    120 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYM_TRUE@am__append_26 = $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
    121 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYM_TRUE@ $(SYMOBJDIR)/src/libSym.la
    122 
    123 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYM_TRUE@am__append_27 = `cat $(SYMOBJDIR)/sym_addlibs.txt`
     117@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__append_25 = -I`$(CYGPATH_W) $(SYMPHONYSRCDIR)/src` \
     118@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@    -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSym`
     119
     120@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__append_26 = $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
     121@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@    $(SYMPHONYOBJDIR)/src/libSym.la
     122
     123@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__append_27 = `cat $(SYMPHONYOBJDIR)/sym_addlibs.txt`
    124124@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__append_28 = -I`$(CYGPATH_W) $(VOLSRCDIR)/src` \
    125125@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiVol`
     
    214214@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_OSL_TRUE@am__DEPENDENCIES_9 = $(OSIOBJDIR)/src/OsiOsl/libOsiOsl.la
    215215@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SPX_TRUE@am__DEPENDENCIES_10 = $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la
    216 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYM_TRUE@am__DEPENDENCIES_11 = $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
    217 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYM_TRUE@ $(SYMOBJDIR)/src/libSym.la
     216@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__DEPENDENCIES_11 = $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \
     217@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@    $(SYMPHONYOBJDIR)/src/libSym.la
    218218@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__DEPENDENCIES_12 = $(OSIOBJDIR)/src/OsiVol/libOsiVol.la \
    219219@CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@ $(VOLOBJDIR)/src/libVol.la
     
    292292COINUTILSOBJDIR = @COINUTILSOBJDIR@
    293293COINUTILSSRCDIR = @COINUTILSSRCDIR@
     294COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@
     295COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@
    294296COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    295297COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     
    318320COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
    319321COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    320 COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    321 COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
     322COIN_HAS_SYMPHONY_FALSE = @COIN_HAS_SYMPHONY_FALSE@
     323COIN_HAS_SYMPHONY_TRUE = @COIN_HAS_SYMPHONY_TRUE@
    322324COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    323325COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
     
    401403SPXLIB = @SPXLIB@
    402404STRIP = @STRIP@
    403 SYMOBJDIR = @SYMOBJDIR@
    404 SYMSRCDIR = @SYMSRCDIR@
     405SYMPHONYOBJDIR = @SYMPHONYOBJDIR@
     406SYMPHONYSRCDIR = @SYMPHONYSRCDIR@
    405407VERSION = @VERSION@
    406408VOLOBJDIR = @VOLOBJDIR@
  • trunk/Cbc/test/Makefile.in

    r640 r710  
    8989COINUTILSOBJDIR = @COINUTILSOBJDIR@
    9090COINUTILSSRCDIR = @COINUTILSSRCDIR@
     91COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@
     92COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@
    9193COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    9294COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     
    115117COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@
    116118COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@
    117 COIN_HAS_SYM_FALSE = @COIN_HAS_SYM_FALSE@
    118 COIN_HAS_SYM_TRUE = @COIN_HAS_SYM_TRUE@
     119COIN_HAS_SYMPHONY_FALSE = @COIN_HAS_SYMPHONY_FALSE@
     120COIN_HAS_SYMPHONY_TRUE = @COIN_HAS_SYMPHONY_TRUE@
    119121COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@
    120122COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@
     
    194196SPXLIB = @SPXLIB@
    195197STRIP = @STRIP@
    196 SYMOBJDIR = @SYMOBJDIR@
    197 SYMSRCDIR = @SYMSRCDIR@
     198SYMPHONYOBJDIR = @SYMPHONYOBJDIR@
     199SYMPHONYSRCDIR = @SYMPHONYSRCDIR@
    198200VERSION = @VERSION@
    199201VOLOBJDIR = @VOLOBJDIR@
  • trunk/config.guess

    r341 r710  
    55#   Inc.
    66
    7 timestamp='2006-05-13'
     7timestamp='2007-05-17'
    88
    99# This file is free software; you can redistribute it and/or modify it
     
    162162            sh3el) machine=shl-unknown ;;
    163163            sh3eb) machine=sh-unknown ;;
     164            sh5el) machine=sh5le-unknown ;;
    164165            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
    165166        esac
     
    212213        exit ;;
    213214    macppc:MirBSD:*:*)
    214         echo powerppc-unknown-mirbsd${UNAME_RELEASE}
     215        echo powerpc-unknown-mirbsd${UNAME_RELEASE}
    215216        exit ;;
    216217    *:MirBSD:*:*)
     
    330331        echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    331332        exit ;;
    332     i86pc:SunOS:5.*:*)
     333    i86pc:SunOS:5.*:* | ix86xen:SunOS:5.*:*)
    333334        echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    334335        exit ;;
     
    781782        echo ${UNAME_MACHINE}-pc-cygwin
    782783        exit ;;
    783     i*:MINGW*:*)
     784    *:MINGW*:*)
    784785        echo ${UNAME_MACHINE}-pc-mingw32
    785786        exit ;;
     
    791792        echo ${UNAME_MACHINE}-pc-pw32
    792793        exit ;;
    793     x86:Interix*:[345]*)
    794         echo i586-pc-interix${UNAME_RELEASE}
    795         exit ;;
    796     EM64T:Interix*:[345]*)
    797         echo x86_64-unknown-interix${UNAME_RELEASE}
    798         exit ;;
     794    *:Interix*:[3456]*)
     795        case ${UNAME_MACHINE} in
     796            x86)
     797                echo i586-pc-interix${UNAME_RELEASE}
     798                exit ;;
     799            EM64T | authenticamd)
     800                echo x86_64-unknown-interix${UNAME_RELEASE}
     801                exit ;;
     802        esac ;;
    799803    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
    800804        echo i${UNAME_MACHINE}-pc-mks
     
    830834        exit ;;
    831835    arm*:Linux:*:*)
     836        echo ${UNAME_MACHINE}-unknown-linux-gnu
     837        exit ;;
     838    avr32*:Linux:*:*)
    832839        echo ${UNAME_MACHINE}-unknown-linux-gnu
    833840        exit ;;
     
    947954    x86_64:Linux:*:*)
    948955        echo x86_64-unknown-linux-gnu
     956        exit ;;
     957    xtensa:Linux:*:*)
     958        echo xtensa-unknown-linux-gnu
    949959        exit ;;
    950960    i*86:Linux:*:*)
     
    12061216        echo sx6-nec-superux${UNAME_RELEASE}
    12071217        exit ;;
     1218    SX-7:SUPER-UX:*:*)
     1219        echo sx7-nec-superux${UNAME_RELEASE}
     1220        exit ;;
     1221    SX-8:SUPER-UX:*:*)
     1222        echo sx8-nec-superux${UNAME_RELEASE}
     1223        exit ;;
     1224    SX-8R:SUPER-UX:*:*)
     1225        echo sx8r-nec-superux${UNAME_RELEASE}
     1226        exit ;;
    12081227    Power*:Rhapsody:*:*)
    12091228        echo powerpc-apple-rhapsody${UNAME_RELEASE}
  • trunk/config.sub

    r341 r710  
    55#   Inc.
    66
    7 timestamp='2006-05-13'
     7timestamp='2007-04-29'
    88
    99# This file is (in principle) common to ALL GNU software.
     
    242242        | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
    243243        | am33_2.0 \
    244         | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
     244        | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
    245245        | bfin \
    246246        | c4x | clipper \
    247247        | d10v | d30v | dlx | dsp16xx \
    248         | fr30 | frv \
     248        | fido | fr30 | frv \
    249249        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    250250        | i370 | i860 | i960 | ia64 \
    251251        | ip2k | iq2000 \
    252252        | m32c | m32r | m32rle | m68000 | m68k | m88k \
    253         | maxq | mb | microblaze | mcore \
     253        | maxq | mb | microblaze | mcore | mep \
    254254        | mips | mipsbe | mipseb | mipsel | mipsle \
    255255        | mips16 \
     
    277277        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
    278278        | pyramid \
     279        | score \
    279280        | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    280281        | sh64 | sh64le \
     
    285286        | v850 | v850e \
    286287        | we32k \
    287         | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
     288        | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
    288289        | z8k)
    289290                basic_machine=$basic_machine-unknown
     
    318319        | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
    319320        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    320         | avr-* \
     321        | avr-* | avr32-* \
    321322        | bfin-* | bs2000-* \
    322323        | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
     
    324325        | d10v-* | d30v-* | dlx-* \
    325326        | elxsi-* \
    326         | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
     327        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    327328        | h8300-* | h8500-* \
    328329        | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
     
    368369        | v850-* | v850e-* | vax-* \
    369370        | we32k-* \
    370         | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
     371        | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
    371372        | xstormy16-* | xtensa-* \
    372373        | ymp-* \
     
    682683                basic_machine=i386-pc
    683684                os=-mingw32
     685                ;;
     686        mingw32ce)
     687                basic_machine=arm-unknown
     688                os=-mingw32ce
    684689                ;;
    685690        miniframe)
     
    910915                basic_machine=mipsisa64sb1el-unknown
    911916                ;;
     917        sde)
     918                basic_machine=mipsisa32-sde
     919                os=-elf
     920                ;;
    912921        sei)
    913922                basic_machine=mips-sei
     
    920929                basic_machine=sh-hitachi
    921930                os=-hms
     931                ;;
     932        sh5el)
     933                basic_machine=sh5le-unknown
    922934                ;;
    923935        sh64)
     
    12151227              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
    12161228              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
    1217               | -skyos* | -haiku* | -rdos*)
     1229              | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
    12181230        # Remember, each alternative MUST END IN *, to match a version number.
    12191231                ;;
     
    13671379
    13681380case $basic_machine in
     1381        score-*)
     1382                os=-elf
     1383                ;;
    13691384        spu-*)
    13701385                os=-elf
     
    14061421        m68*-cisco)
    14071422                os=-aout
     1423                ;;
     1424        mep-*)
     1425                os=-elf
    14081426                ;;
    14091427        mips*-cisco)
  • trunk/configure

    r640 r710  
    477477ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
    478478ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
     479ac_subdirs_all="$ac_subdirs_all ThirdParty/Glpk"
    479480ac_subdirs_all="$ac_subdirs_all CoinUtils"
    480481ac_subdirs_all="$ac_subdirs_all Data/Netlib"
     
    487488ac_subdirs_all="$ac_subdirs_all Cgl"
    488489ac_subdirs_all="$ac_subdirs_all Cbc"
     490ac_subdirs_all="$ac_subdirs_all SYMPHONY"
    489491ac_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 CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS subdirs COIN_SKIP_PROJECTS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
    490492ac_subst_files=''
     
    17121714  case "${enableval}" in
    17131715   yes) coin_debug_compile=true
    1714         enable_shared=no
     1716        if test "${enable_shared+set}" = set; then :; else
     1717          enable_shared=no
     1718        fi
    17151719        ;;
    17161720   no)  coin_debug_compile=false
     
    26502654          cl* | */cl* | CL* | */CL*)
    26512655            coin_opt_cflags='-MT -O2'
    2652             coin_add_cflags='-nologo -wd4996'
     2656            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    26532657            coin_dbg_cflags='-MTd'
    26542658            ;;
     
    33853389fi
    33863390
     3391# It seems that we need to cleanup something here for the Windows
     3392case "$CXX" in
     3393  cl* | */cl* | CL* | */CL* )
     3394    sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
     3395    mv confdefs.hh confdefs.h
     3396    ;;
     3397esac
     3398
    33873399# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    33883400case "$CXX" in
     
    34853497            # The MT and MTd options are mutually exclusive
    34863498            coin_opt_cxxflags='-MT -O2'
    3487             coin_add_cxxflags='-nologo -EHsc -GR -wd4996'
     3499            coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    34883500            coin_dbg_cxxflags='-MTd'
    34893501            ;;
     
    38303842  *-cygwin* | *-mingw*)
    38313843     if test "$enable_doscompile" = msvc ; then
    3832        coin_f77_comps="ifort fl32"
     3844       coin_f77_comps="ifort fl32 compile_f2c"
    38333845     else
    3834        coin_f77_comps="gfortran g77 ifort fl32"
     3846       coin_f77_comps="gfortran g77 ifort fl32 compile_f2c"
    38353847     fi ;;
    38363848  sparc-sun-solaris*)
     
    40074019
    40084020# Provide some information about the compiler.
    4009 echo "$as_me:4009:" \
     4021echo "$as_me:4021:" \
    40104022     "checking for Fortran 77 compiler version" >&5
    40114023ac_compiler=`set X $ac_compile; echo $2`
     
    42254237            coin_add_fflags='-fpp -nologo -MT'
    42264238            coin_dbg_fflags='-debug'
     4239          ;;
     4240          compile_f2c*)
     4241            coin_opt_fflags='-MT -O2'
     4242            coin_add_fflags='-nologo -wd4996'
     4243            coin_dbg_fflags='-MTd'
    42274244          ;;
    42284245        esac
     
    55185535    correct_version='1.5.22'
    55195536    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    5520     as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
    5521 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
    5522 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
    5523 if eval "test \"\${$as_ac_File+set}\" = set"; then
    5524   echo $ECHO_N "(cached) $ECHO_C" >&6
    5525 else
    5526   test "$cross_compiling" = yes &&
    5527   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    5528 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    5529    { (exit 1); exit 1; }; }
    5530 if test -r "$want_dir/libtool/ltmain.sh"; then
    5531   eval "$as_ac_File=yes"
    5532 else
    5533   eval "$as_ac_File=no"
    5534 fi
    5535 fi
    5536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    5537 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    5538 if test `eval echo '${'$as_ac_File'}'` = yes; then
     5537    if test -r $want_dir/libtool/ltmain.sh; then
    55395538  have_ltmain=yes
     5539  :
    55405540else
    55415541  have_ltmain=no
     5542  :
    55425543fi
    55435544
     
    55705571    want_dir=$AUTOTOOLS_DIR/share
    55715572  fi
    5572   as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
    5573 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
    5574 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
    5575 if eval "test \"\${$as_ac_File+set}\" = set"; then
    5576   echo $ECHO_N "(cached) $ECHO_C" >&6
    5577 else
    5578   test "$cross_compiling" = yes &&
    5579   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    5580 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    5581    { (exit 1); exit 1; }; }
    5582 if test -r "$want_dir/aclocal/libtool.m4"; then
    5583   eval "$as_ac_File=yes"
    5584 else
    5585   eval "$as_ac_File=no"
    5586 fi
    5587 fi
    5588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    5589 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    5590 if test `eval echo '${'$as_ac_File'}'` = yes; then
     5573  if test -r $want_dir/aclocal/libtool.m4; then
    55915574  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
     5575  :
    55925576else
    55935577  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
    55945578echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
    55955579   { (exit 1); exit 1; }; }
     5580  :
    55965581fi
    55975582
     
    62796264*-*-irix6*)
    62806265  # Find out which ABI we are using.
    6281   echo '#line 6281 "configure"' > conftest.$ac_ext
     6266  echo '#line 6266 "configure"' > conftest.$ac_ext
    62826267  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    62836268  (eval $ac_compile) 2>&5
     
    82438228   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82448229   -e 's:$: $lt_compiler_flag:'`
    8245    (eval echo "\"\$as_me:8245: $lt_compile\"" >&5)
     8230   (eval echo "\"\$as_me:8230: $lt_compile\"" >&5)
    82468231   (eval "$lt_compile" 2>conftest.err)
    82478232   ac_status=$?
    82488233   cat conftest.err >&5
    8249    echo "$as_me:8249: \$? = $ac_status" >&5
     8234   echo "$as_me:8234: \$? = $ac_status" >&5
    82508235   if (exit $ac_status) && test -s "$ac_outfile"; then
    82518236     # The compiler can only warn and ignore the option if not recognized
     
    85118496   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    85128497   -e 's:$: $lt_compiler_flag:'`
    8513    (eval echo "\"\$as_me:8513: $lt_compile\"" >&5)
     8498   (eval echo "\"\$as_me:8498: $lt_compile\"" >&5)
    85148499   (eval "$lt_compile" 2>conftest.err)
    85158500   ac_status=$?
    85168501   cat conftest.err >&5
    8517    echo "$as_me:8517: \$? = $ac_status" >&5
     8502   echo "$as_me:8502: \$? = $ac_status" >&5
    85188503   if (exit $ac_status) && test -s "$ac_outfile"; then
    85198504     # The compiler can only warn and ignore the option if not recognized
     
    86158600   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    86168601   -e 's:$: $lt_compiler_flag:'`
    8617    (eval echo "\"\$as_me:8617: $lt_compile\"" >&5)
     8602   (eval echo "\"\$as_me:8602: $lt_compile\"" >&5)
    86188603   (eval "$lt_compile" 2>out/conftest.err)
    86198604   ac_status=$?
    86208605   cat out/conftest.err >&5
    8621    echo "$as_me:8621: \$? = $ac_status" >&5
     8606   echo "$as_me:8606: \$? = $ac_status" >&5
    86228607   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    86238608   then
     
    1096010945  lt_status=$lt_dlunknown
    1096110946  cat > conftest.$ac_ext <<EOF
    10962 #line 10962 "configure"
     10947#line 10947 "configure"
    1096310948#include "confdefs.h"
    1096410949
     
    1106011045  lt_status=$lt_dlunknown
    1106111046  cat > conftest.$ac_ext <<EOF
    11062 #line 11062 "configure"
     11047#line 11047 "configure"
    1106311048#include "confdefs.h"
    1106411049
     
    1340413389   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1340513390   -e 's:$: $lt_compiler_flag:'`
    13406    (eval echo "\"\$as_me:13406: $lt_compile\"" >&5)
     13391   (eval echo "\"\$as_me:13391: $lt_compile\"" >&5)
    1340713392   (eval "$lt_compile" 2>conftest.err)
    1340813393   ac_status=$?
    1340913394   cat conftest.err >&5
    13410    echo "$as_me:13410: \$? = $ac_status" >&5
     13395   echo "$as_me:13395: \$? = $ac_status" >&5
    1341113396   if (exit $ac_status) && test -s "$ac_outfile"; then
    1341213397     # The compiler can only warn and ignore the option if not recognized
     
    1350813493   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1350913494   -e 's:$: $lt_compiler_flag:'`
    13510    (eval echo "\"\$as_me:13510: $lt_compile\"" >&5)
     13495   (eval echo "\"\$as_me:13495: $lt_compile\"" >&5)
    1351113496   (eval "$lt_compile" 2>out/conftest.err)
    1351213497   ac_status=$?
    1351313498   cat out/conftest.err >&5
    13514    echo "$as_me:13514: \$? = $ac_status" >&5
     13499   echo "$as_me:13499: \$? = $ac_status" >&5
    1351513500   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1351613501   then
     
    1507815063   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1507915064   -e 's:$: $lt_compiler_flag:'`
    15080    (eval echo "\"\$as_me:15080: $lt_compile\"" >&5)
     15065   (eval echo "\"\$as_me:15065: $lt_compile\"" >&5)
    1508115066   (eval "$lt_compile" 2>conftest.err)
    1508215067   ac_status=$?
    1508315068   cat conftest.err >&5
    15084    echo "$as_me:15084: \$? = $ac_status" >&5
     15069   echo "$as_me:15069: \$? = $ac_status" >&5
    1508515070   if (exit $ac_status) && test -s "$ac_outfile"; then
    1508615071     # The compiler can only warn and ignore the option if not recognized
     
    1518215167   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1518315168   -e 's:$: $lt_compiler_flag:'`
    15184    (eval echo "\"\$as_me:15184: $lt_compile\"" >&5)
     15169   (eval echo "\"\$as_me:15169: $lt_compile\"" >&5)
    1518515170   (eval "$lt_compile" 2>out/conftest.err)
    1518615171   ac_status=$?
    1518715172   cat out/conftest.err >&5
    15188    echo "$as_me:15188: \$? = $ac_status" >&5
     15173   echo "$as_me:15173: \$? = $ac_status" >&5
    1518915174   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1519015175   then
     
    1738917374   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1739017375   -e 's:$: $lt_compiler_flag:'`
    17391    (eval echo "\"\$as_me:17391: $lt_compile\"" >&5)
     17376   (eval echo "\"\$as_me:17376: $lt_compile\"" >&5)
    1739217377   (eval "$lt_compile" 2>conftest.err)
    1739317378   ac_status=$?
    1739417379   cat conftest.err >&5
    17395    echo "$as_me:17395: \$? = $ac_status" >&5
     17380   echo "$as_me:17380: \$? = $ac_status" >&5
    1739617381   if (exit $ac_status) && test -s "$ac_outfile"; then
    1739717382     # The compiler can only warn and ignore the option if not recognized
     
    1765717642   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1765817643   -e 's:$: $lt_compiler_flag:'`
    17659    (eval echo "\"\$as_me:17659: $lt_compile\"" >&5)
     17644   (eval echo "\"\$as_me:17644: $lt_compile\"" >&5)
    1766017645   (eval "$lt_compile" 2>conftest.err)
    1766117646   ac_status=$?
    1766217647   cat conftest.err >&5
    17663    echo "$as_me:17663: \$? = $ac_status" >&5
     17648   echo "$as_me:17648: \$? = $ac_status" >&5
    1766417649   if (exit $ac_status) && test -s "$ac_outfile"; then
    1766517650     # The compiler can only warn and ignore the option if not recognized
     
    1776117746   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1776217747   -e 's:$: $lt_compiler_flag:'`
    17763    (eval echo "\"\$as_me:17763: $lt_compile\"" >&5)
     17748   (eval echo "\"\$as_me:17748: $lt_compile\"" >&5)
    1776417749   (eval "$lt_compile" 2>out/conftest.err)
    1776517750   ac_status=$?
    1776617751   cat out/conftest.err >&5
    17767    echo "$as_me:17767: \$? = $ac_status" >&5
     17752   echo "$as_me:17752: \$? = $ac_status" >&5
    1776817753   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1776917754   then
     
    2046820453  { echo "$as_me:$LINENO: Build is \"$build\"." >&5
    2046920454echo "$as_me: Build is \"$build\"." >&6;}
     20455  mydos2unix='| dos2unix'
    2047020456  case $build in
    2047120457    *-mingw*)
    2047220458      CYGPATH_W=echo
     20459      mydos2unix=
    2047320460      ;;
    2047420461  esac
     
    2049620483            -e 's%lib /OUT:%lib -OUT:%' \
    2049720484            -e "s%cygpath -w%$CYGPATH_W%" \
    20498             -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo\\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \
     20485            -e 's%$AR x \\$f_ex_an_ar_oldlib%bla=\\`lib -nologo -list \\$f_ex_an_ar_oldlib | xargs echo '"$mydos2unix"'\\`; echo \\$bla; for i in \\$bla; do lib -nologo -extract:\\$i \\$f_ex_an_ar_oldlib; done%' \
    2049920486            -e 's/$AR t/lib -nologo -list/' \
    2050020487            -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \
     
    2074320730fi
    2074420731
     20732echo "$as_me:$LINENO: checking whether code for third party package Glpk is available" >&5
     20733echo $ECHO_N "checking whether code for third party package Glpk is available... $ECHO_C" >&6
     20734coin_skip=no
     20735if test x"$COIN_SKIP_PROJECTS" != x; then
     20736  for dir in $COIN_SKIP_PROJECTS; do
     20737    if test $dir = ThirdParty/Glpk; then
     20738      coin_skip=yes
     20739    fi
     20740  done
     20741fi
     20742if test $coin_skip = yes; then
     20743  echo "$as_me:$LINENO: result: skipping" >&5
     20744echo "${ECHO_T}skipping" >&6
     20745else
     20746  coin_tmp=`echo $srcdir/ThirdParty/Glpk/glpk/src/glplpx01.c`
     20747  # There is probably a more elegant way to get the first thing out here...
     20748  for i in $coin_tmp; do
     20749    coin_tmp2=$i
     20750    #break 1
     20751  done
     20752  if test -r $coin_tmp2; then
     20753    coin_subdirs="$coin_subdirs ThirdParty/Glpk"
     20754    echo "$as_me:$LINENO: result: yes" >&5
     20755echo "${ECHO_T}yes" >&6
     20756
     20757
     20758subdirs="$subdirs ThirdParty/Glpk"
     20759
     20760  else
     20761    echo "$as_me:$LINENO: result: no" >&5
     20762echo "${ECHO_T}no" >&6
     20763  fi
     20764fi
     20765
    2074520766
    2074620767#############################################################################
     
    2112921150
    2113021151
     21152
     21153echo "$as_me:$LINENO: checking whether directory SYMPHONY is available" >&5
     21154echo $ECHO_N "checking whether directory SYMPHONY is available... $ECHO_C" >&6
     21155                coin_skip=no
     21156                if test x"$COIN_SKIP_PROJECTS" != x; then
     21157                  for dir in $COIN_SKIP_PROJECTS; do
     21158                    if test $dir = SYMPHONY; then
     21159                      coin_skip=yes
     21160                    fi
     21161                  done
     21162                fi
     21163                if test $coin_skip = yes; then
     21164                  echo "$as_me:$LINENO: result: skipping" >&5
     21165echo "${ECHO_T}skipping" >&6
     21166                elif test -r $srcdir/SYMPHONY/configure; then
     21167                  coin_subdirs="$coin_subdirs SYMPHONY"
     21168                  echo "$as_me:$LINENO: result: yes" >&5
     21169echo "${ECHO_T}yes" >&6
     21170
     21171
     21172subdirs="$subdirs SYMPHONY"
     21173
     21174                else
     21175                  echo "$as_me:$LINENO: result: no" >&5
     21176echo "${ECHO_T}no" >&6
     21177                fi
     21178
     21179
     21180
     21181
     21182
     21183
     21184
     21185
     21186
     21187
     21188
     21189
    2113121190##############################################################################
    2113221191#                   Finishing up by writing all the output                   #
     
    2113921198
    2114021199# Finally, we let configure write all the output...
     21200
     21201
     21202
     21203
     21204echo "$as_me:$LINENO: checking which command should be used to link input files" >&5
     21205echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6
     21206coin_link_input_cmd="$LN_S"
     21207if test "$enable_doscompile" = mingw; then
     21208  coin_link_input_cmd=cp
     21209fi
     21210case "$CC" in
     21211  cl* | */cl* | CL* | */CL*)
     21212    coin_link_input_cmd=cp ;;
     21213esac
     21214echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5
     21215echo "${ECHO_T}$coin_link_input_cmd" >&6
     21216
     21217
    2114121218
    2114221219if test x$coin_skip_ac_output != xyes; then
     
    2261322690
    2261422691  if test x"$coin_vpath_link_files" = x; then : ; else
    22615     lnkcmd=
    22616     if test "$enable_doscompile" = yes; then
    22617       lnkcmd=cp
    22618     fi
    22619     case "$CC" in
    22620       cl* | */cl* | CL* | */CL*)
    22621         lnkcmd=cp ;;
    22622     esac
     22692    lnkcmd="$coin_link_input_cmd"
    2262322693    if test "$lnkcmd" = cp; then
    2262422694      { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
    2262522695echo "$as_me: Copying data files for VPATH configuration" >&6;}
    2262622696    else
    22627       echo "$as_me:$LINENO: checking whether ln -s works" >&5
    22628 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    22629 LN_S=$as_ln_s
    22630 if test "$LN_S" = "ln -s"; then
    22631   echo "$as_me:$LINENO: result: yes" >&5
    22632 echo "${ECHO_T}yes" >&6
    22633 else
    22634   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    22635 echo "${ECHO_T}no, using $LN_S" >&6
    22636 fi
    22637 
    2263822697      { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
    2263922698echo "$as_me: Creating VPATH links for data files" >&6;}
    22640       lnkcmd="$LN_S"
    2264122699    fi
    2264222700    for file in $coin_vpath_link_files; do
  • trunk/configure.ac

    r640 r710  
    4646AC_COIN_THIRDPARTY_SUBDIRS([Blas],[ThirdParty/Blas],[daxpy.f])
    4747AC_COIN_THIRDPARTY_SUBDIRS([Lapack],[ThirdParty/Lapack],[LAPACK/SRC/dlarf.f])
     48AC_COIN_THIRDPARTY_SUBDIRS([Glpk],[ThirdParty/Glpk],[glpk/src/glplpx01.c])
    4849
    4950#############################################################################
     
    6162AC_COIN_MAIN_SUBDIRS(Cgl)
    6263AC_COIN_MAIN_SUBDIRS(Cbc)
     64AC_COIN_MAIN_SUBDIRS(SYMPHONY)
    6365
    6466##############################################################################
Note: See TracChangeset for help on using the changeset viewer.