Changeset 1124


Ignore:
Timestamp:
Jul 6, 2007 1:47:21 PM (10 years ago)
Author:
tkr
Message:

updating externals

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:externals
      •  

        old new  
        33Data/miplib3       https://projects.coin-or.org/svn/Data/stable/1.0/miplib3
        44Data/Netlib        https://projects.coin-or.org/svn/Data/stable/1.0/Netlib
        5 CoinUtils          https://projects.coin-or.org/svn/CoinUtils/stable/1.1/CoinUtils
         5CoinUtils          https://projects.coin-or.org/svn/CoinUtils/stable/2.0/CoinUtils
        66Cgl                https://projects.coin-or.org/svn/Cgl/stable/0.5/Cgl
        7 Clp                https://projects.coin-or.org/svn/Clp/stable/1.3/Clp
        8 Osi                https://projects.coin-or.org/svn/Osi/stable/0.95/Osi
         7Clp                https://projects.coin-or.org/svn/Clp/stable/1.4/Clp
         8Osi                https://projects.coin-or.org/svn/Osi/stable/0.96/Osi
        99Win32/v6/CoinUtils https://projects.coin-or.org/svn/MSVisualStudio/stable/1.0/v6/CoinUtils
        1010Win32/v6/Cgl       https://projects.coin-or.org/svn/MSVisualStudio/stable/1.0/v6/Cgl
  • trunk/Externals

    r1102 r1124  
    33Data/miplib3       https://projects.coin-or.org/svn/Data/stable/1.0/miplib3
    44Data/Netlib        https://projects.coin-or.org/svn/Data/stable/1.0/Netlib
    5 CoinUtils          https://projects.coin-or.org/svn/CoinUtils/stable/1.1/CoinUtils
     5CoinUtils          https://projects.coin-or.org/svn/CoinUtils/stable/2.0/CoinUtils
    66Cgl                https://projects.coin-or.org/svn/Cgl/stable/0.5/Cgl
    7 Clp                https://projects.coin-or.org/svn/Clp/stable/1.3/Clp
    8 Osi                https://projects.coin-or.org/svn/Osi/stable/0.95/Osi
     7Clp                https://projects.coin-or.org/svn/Clp/stable/1.4/Clp
     8Osi                https://projects.coin-or.org/svn/Osi/stable/0.96/Osi
    99Win32/v6/CoinUtils https://projects.coin-or.org/svn/MSVisualStudio/stable/1.0/v6/CoinUtils
    1010Win32/v6/Cgl       https://projects.coin-or.org/svn/MSVisualStudio/stable/1.0/v6/Cgl
  • trunk/SYMPHONY/Makefile.in

    r1107 r1124  
    8181        $(top_srcdir)/Applications/USER/Makefile.in \
    8282        $(top_srcdir)/Applications/VRP/Makefile.in \
    83         $(top_srcdir)/configure $(top_srcdir)/include/config_sym.h.in
     83        $(top_srcdir)/configure $(top_srcdir)/include/config_sym.h.in \
     84        AUTHORS
    8485@HAVE_EXTERNALS_TRUE@am__append_2 = Externals
    8586@HAVE_EXTERNALS_TRUE@am__append_3 = .Externals-stamp
  • trunk/SYMPHONY/configure

    r1107 r1124  
    11491149  --with-tags[=TAGS]
    11501150                          include additional configurations [automatic]
    1151   --with-cplex-incdir specify the directory with the header files for library
    1152                           Cplex
    1153   --with-cplex-lib specify the flags to link with the library Cplex
    1154   --with-glpk-incdir specify the directory with the header files for library
    1155                           Glpk
    1156   --with-glpk-lib specify the flags to link with the library Glpk
    1157   --with-osl-incdir specify the directory with the header files for library
    1158                           Osl
    1159   --with-osl-lib specify the flags to link with the library Osl
    1160   --with-soplex-incdir specify the directory with the header files for library
    1161                           Soplex
    1162   --with-soplex-lib specify the flags to link with the library Soplex
    1163   --with-xpress-incdir specify the directory with the header files for library
    1164                           Xpress
    1165   --with-xpress-lib specify the flags to link with the library Xpress
     1151  --with-cplex-incdir specify the header file directory for library Cplex
     1152  --with-cplex-lib specify the flags used to link with the library Cplex
     1153  --with-glpk-incdir specify the header file directory for library Glpk
     1154  --with-glpk-lib specify the flags used to link with the library Glpk
     1155  --with-osl-incdir specify the header file directory for library Osl
     1156  --with-osl-lib specify the flags used to link with the library Osl
     1157  --with-soplex-incdir specify the header file directory for library Soplex
     1158  --with-soplex-lib specify the flags used to link with the library Soplex
     1159  --with-xpress-incdir specify the header file directory for library Xpress
     1160  --with-xpress-lib specify the flags used to link with the library Xpress
    11661161  --with-lp-solver[=lpsolver]
    11671162                          specify the LP solver in small letters(default
     
    27792774          cl* | */cl* | CL* | */CL*)
    27802775            coin_opt_cflags='-MT -O2'
    2781             coin_add_cflags='-nologo -wd4996'
     2776            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    27822777            coin_dbg_cflags='-MTd'
    27832778            ;;
     
    35123507fi
    35133508
     3509# It seems that we need to cleanup something here for the Windows
     3510case "$CXX" in
     3511  cl* | */cl* | CL* | */CL* )
     3512    sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
     3513    mv confdefs.hh confdefs.h
     3514    ;;
     3515esac
     3516
    35143517# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    35153518case "$CXX" in
     
    36123615            # The MT and MTd options are mutually exclusive
    36133616            coin_opt_cxxflags='-MT -O2'
    3614             coin_add_cxxflags='-nologo -EHsc -GR -wd4996'
     3617            coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    36153618            coin_dbg_cxxflags='-MTd'
    36163619            ;;
     
    57195722*-*-irix6*)
    57205723  # Find out which ABI we are using.
    5721   echo '#line 5721 "configure"' > conftest.$ac_ext
     5724  echo '#line 5724 "configure"' > conftest.$ac_ext
    57225725  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    57235726  (eval $ac_compile) 2>&5
     
    68536856
    68546857# Provide some information about the compiler.
    6855 echo "$as_me:6855:" \
     6858echo "$as_me:6858:" \
    68566859     "checking for Fortran 77 compiler version" >&5
    68576860ac_compiler=`set X $ac_compile; echo $2`
     
    79207923   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    79217924   -e 's:$: $lt_compiler_flag:'`
    7922    (eval echo "\"\$as_me:7922: $lt_compile\"" >&5)
     7925   (eval echo "\"\$as_me:7925: $lt_compile\"" >&5)
    79237926   (eval "$lt_compile" 2>conftest.err)
    79247927   ac_status=$?
    79257928   cat conftest.err >&5
    7926    echo "$as_me:7926: \$? = $ac_status" >&5
     7929   echo "$as_me:7929: \$? = $ac_status" >&5
    79277930   if (exit $ac_status) && test -s "$ac_outfile"; then
    79287931     # The compiler can only warn and ignore the option if not recognized
     
    81888191   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81898192   -e 's:$: $lt_compiler_flag:'`
    8190    (eval echo "\"\$as_me:8190: $lt_compile\"" >&5)
     8193   (eval echo "\"\$as_me:8193: $lt_compile\"" >&5)
    81918194   (eval "$lt_compile" 2>conftest.err)
    81928195   ac_status=$?
    81938196   cat conftest.err >&5
    8194    echo "$as_me:8194: \$? = $ac_status" >&5
     8197   echo "$as_me:8197: \$? = $ac_status" >&5
    81958198   if (exit $ac_status) && test -s "$ac_outfile"; then
    81968199     # The compiler can only warn and ignore the option if not recognized
     
    82928295   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82938296   -e 's:$: $lt_compiler_flag:'`
    8294    (eval echo "\"\$as_me:8294: $lt_compile\"" >&5)
     8297   (eval echo "\"\$as_me:8297: $lt_compile\"" >&5)
    82958298   (eval "$lt_compile" 2>out/conftest.err)
    82968299   ac_status=$?
    82978300   cat out/conftest.err >&5
    8298    echo "$as_me:8298: \$? = $ac_status" >&5
     8301   echo "$as_me:8301: \$? = $ac_status" >&5
    82998302   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    83008303   then
     
    1063710640  lt_status=$lt_dlunknown
    1063810641  cat > conftest.$ac_ext <<EOF
    10639 #line 10639 "configure"
     10642#line 10642 "configure"
    1064010643#include "confdefs.h"
    1064110644
     
    1073710740  lt_status=$lt_dlunknown
    1073810741  cat > conftest.$ac_ext <<EOF
    10739 #line 10739 "configure"
     10742#line 10742 "configure"
    1074010743#include "confdefs.h"
    1074110744
     
    1308113084   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1308213085   -e 's:$: $lt_compiler_flag:'`
    13083    (eval echo "\"\$as_me:13083: $lt_compile\"" >&5)
     13086   (eval echo "\"\$as_me:13086: $lt_compile\"" >&5)
    1308413087   (eval "$lt_compile" 2>conftest.err)
    1308513088   ac_status=$?
    1308613089   cat conftest.err >&5
    13087    echo "$as_me:13087: \$? = $ac_status" >&5
     13090   echo "$as_me:13090: \$? = $ac_status" >&5
    1308813091   if (exit $ac_status) && test -s "$ac_outfile"; then
    1308913092     # The compiler can only warn and ignore the option if not recognized
     
    1318513188   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1318613189   -e 's:$: $lt_compiler_flag:'`
    13187    (eval echo "\"\$as_me:13187: $lt_compile\"" >&5)
     13190   (eval echo "\"\$as_me:13190: $lt_compile\"" >&5)
    1318813191   (eval "$lt_compile" 2>out/conftest.err)
    1318913192   ac_status=$?
    1319013193   cat out/conftest.err >&5
    13191    echo "$as_me:13191: \$? = $ac_status" >&5
     13194   echo "$as_me:13194: \$? = $ac_status" >&5
    1319213195   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1319313196   then
     
    1475514758   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1475614759   -e 's:$: $lt_compiler_flag:'`
    14757    (eval echo "\"\$as_me:14757: $lt_compile\"" >&5)
     14760   (eval echo "\"\$as_me:14760: $lt_compile\"" >&5)
    1475814761   (eval "$lt_compile" 2>conftest.err)
    1475914762   ac_status=$?
    1476014763   cat conftest.err >&5
    14761    echo "$as_me:14761: \$? = $ac_status" >&5
     14764   echo "$as_me:14764: \$? = $ac_status" >&5
    1476214765   if (exit $ac_status) && test -s "$ac_outfile"; then
    1476314766     # The compiler can only warn and ignore the option if not recognized
     
    1485914862   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1486014863   -e 's:$: $lt_compiler_flag:'`
    14861    (eval echo "\"\$as_me:14861: $lt_compile\"" >&5)
     14864   (eval echo "\"\$as_me:14864: $lt_compile\"" >&5)
    1486214865   (eval "$lt_compile" 2>out/conftest.err)
    1486314866   ac_status=$?
    1486414867   cat out/conftest.err >&5
    14865    echo "$as_me:14865: \$? = $ac_status" >&5
     14868   echo "$as_me:14868: \$? = $ac_status" >&5
    1486614869   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1486714870   then
     
    1706617069   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1706717070   -e 's:$: $lt_compiler_flag:'`
    17068    (eval echo "\"\$as_me:17068: $lt_compile\"" >&5)
     17071   (eval echo "\"\$as_me:17071: $lt_compile\"" >&5)
    1706917072   (eval "$lt_compile" 2>conftest.err)
    1707017073   ac_status=$?
    1707117074   cat conftest.err >&5
    17072    echo "$as_me:17072: \$? = $ac_status" >&5
     17075   echo "$as_me:17075: \$? = $ac_status" >&5
    1707317076   if (exit $ac_status) && test -s "$ac_outfile"; then
    1707417077     # The compiler can only warn and ignore the option if not recognized
     
    1733417337   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1733517338   -e 's:$: $lt_compiler_flag:'`
    17336    (eval echo "\"\$as_me:17336: $lt_compile\"" >&5)
     17339   (eval echo "\"\$as_me:17339: $lt_compile\"" >&5)
    1733717340   (eval "$lt_compile" 2>conftest.err)
    1733817341   ac_status=$?
    1733917342   cat conftest.err >&5
    17340    echo "$as_me:17340: \$? = $ac_status" >&5
     17343   echo "$as_me:17343: \$? = $ac_status" >&5
    1734117344   if (exit $ac_status) && test -s "$ac_outfile"; then
    1734217345     # The compiler can only warn and ignore the option if not recognized
     
    1743817441   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1743917442   -e 's:$: $lt_compiler_flag:'`
    17440    (eval echo "\"\$as_me:17440: $lt_compile\"" >&5)
     17443   (eval echo "\"\$as_me:17443: $lt_compile\"" >&5)
    1744117444   (eval "$lt_compile" 2>out/conftest.err)
    1744217445   ac_status=$?
    1744317446   cat out/conftest.err >&5
    17444    echo "$as_me:17444: \$? = $ac_status" >&5
     17447   echo "$as_me:17447: \$? = $ac_status" >&5
    1744517448   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1744617449   then
     
    2014520148  { echo "$as_me:$LINENO: Build is \"$build\"." >&5
    2014620149echo "$as_me: Build is \"$build\"." >&6;}
     20150  mydos2unix='| dos2unix'
    2014720151  case $build in
    2014820152    *-mingw*)
    2014920153      CYGPATH_W=echo
     20154      mydos2unix=
    2015020155      ;;
    2015120156  esac
     
    2017320178            -e 's%lib /OUT:%lib -OUT:%' \
    2017420179            -e "s%cygpath -w%$CYGPATH_W%" \
    20175             -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%' \
     20180            -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%' \
    2017620181            -e 's/$AR t/lib -nologo -list/' \
    2017720182            -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \
     
    2033220337coin_has_readline=no
    2033320338if test $coin_enable_gnu = yes; then
    20334   # if test x"#include <stdio.h>" = x; then
    20335  #  hdr="#include <readline/readline.h>"
    20336  # else
    20337  #   hdr="#include <stdio.h>"
    20338  # fi
     20339  #if test x"#include <stdio.h>" = x; then
     20340#  hdr="#include <readline/readline.h>"
     20341#else
     20342#  hdr="#include <stdio.h>"
     20343#fi
     20344#AC_CHECK_HEADERS([readline/readline.h],[coin_has_readline=yes],[],[$hdr])
    2033920345
    2034020346for ac_header in readline/readline.h
     
    2092020926# Check which third party solvers are available ToDo!
    2092120927
    20922 echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
     20928  echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
    2092320929echo $ECHO_N "checking if user provides library for Cplex... $ECHO_C" >&6
    2092420930
    2092520931# Check for header file directory
     20932
    2092620933
    2092720934# Check whether --with-cplex-incdir or --without-cplex-incdir was given.
     
    2093020937  CPXINCDIR=`cd $withval; pwd`
    2093120938fi;
     20939
    2093220940# Check for library directory
     20941
    2093320942
    2093420943# Check whether --with-cplex-lib or --without-cplex-lib was given.
     
    2093720946  CPXLIB=$withval
    2093820947fi;
     20948
    2093920949# Switch to disable library check if requested
    20940 # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given.
     20950
     20951  # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given.
    2094120952if test "${enable_cplex_libcheck+set}" = set; then
    2094220953  enableval="$enable_cplex_libcheck"
     
    2094620957fi;
    2094720958
    20948 if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then
    20949   coin_has_cpx=true
    20950 else
    20951   coin_has_cpx=false
    20952 fi
    20953 
    20954 if test $coin_has_cpx = true; then
    20955 # Check either both arguments or none are given
    20956   if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then
    20957     { { echo "$as_me:$LINENO: error: You need to specify both --with-cplex-incdir and --with-cplex-lib if you want to use library Cplex" >&5
    20958 echo "$as_me: error: You need to specify both --with-cplex-incdir and --with-cplex-lib if you want to use library Cplex" >&2;}
     20959# At this point, if we're going to use the library, both LBRYINCDIR and
     20960# LBRYLIB must be defined and not empty.
     20961
     20962  if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then
     20963    if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then
     20964      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&5
     20965echo "$as_me: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&2;}
    2095920966   { (exit 1); exit 1; }; }
     20967    fi
     20968    coin_has_cpx=true
     20969    echo "$as_me:$LINENO: result: yes" >&5
     20970echo "${ECHO_T}yes" >&6
     20971  else
     20972    coin_has_cpx=false
     20973    echo "$as_me:$LINENO: result: no" >&5
     20974echo "${ECHO_T}no" >&6
    2096020975  fi
    20961   echo "$as_me:$LINENO: result: yes" >&5
    20962 echo "${ECHO_T}yes" >&6
    20963   # Check if the given header file is there
    20964   as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh`
     20976
     20977# If we have instructions for use, consider header and link checks.
     20978
     20979  if test $coin_has_cpx = true; then
     20980
     20981# If argument 3 (file) is given, check for the file. Typically this will be a
     20982# header file, but that's not assumed.
     20983
     20984    as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh`
    2096520985echo "$as_me:$LINENO: checking for $CPXINCDIR/cplex.h" >&5
    2096620986echo $ECHO_N "checking for $CPXINCDIR/cplex.h... $ECHO_C" >&6
     
    2098921009
    2099021010
    20991   # Check if the symbol is provided in the library
    20992   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    20993   if test x"$cplex_libcheck" != xno; then
    20994                     coin_save_LIBS="$LIBS"
    20995                     LIBS="$CPXLIB $ADDLIBS"
    20996                     echo "$as_me:$LINENO: checking whether symbol CPXgetstat is available with CPX" >&5
    20997 echo $ECHO_N "checking whether symbol CPXgetstat is available with CPX... $ECHO_C" >&6
    20998                     ac_ext=c
     21011# Now see if we can link the function. There are arguments for and against
     21012# assuming argument 3 is a header file declaring the function. A correct
     21013# function declaration is the main argument in favour. Having to cope with
     21014# possible dependencies or other oddities are the main arguments against.
     21015# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21016# Obviously, this has limits.
     21017
     21018    if test x"$cplex_libcheck" != xno; then
     21019           coin_save_LIBS="$LIBS"
     21020           LIBS="$CPXLIB $ADDLIBS"
     21021           coin_CPX_link=no
     21022           ac_ext=c
    2099921023ac_cpp='$CPP $CPPFLAGS'
    2100021024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2100221026ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2100321027
    21004 # ToDo find out what to do about extern "C"
    21005 #                    AC_TRY_LINK([extern "C" {void CPXgetstat();}],[CPXgetstat()],
    21006                     cat >conftest.$ac_ext <<_ACEOF
     21028           for fnm in CPXgetstat ; do
     21029             echo "$as_me:$LINENO: checking whether symbol $fnm is available with CPX" >&5
     21030echo $ECHO_N "checking whether symbol $fnm is available with CPX... $ECHO_C" >&6
     21031             cat >conftest.$ac_ext <<_ACEOF
    2100721032/* confdefs.h.  */
    2100821033_ACEOF
     
    2101021035cat >>conftest.$ac_ext <<_ACEOF
    2101121036/* end confdefs.h.  */
    21012 void CPXgetstat();
     21037
    2101321038int
    2101421039main ()
    2101521040{
    21016 CPXgetstat()
     21041$fnm()
    2101721042  ;
    2101821043  return 0;
     
    2104321068  echo "$as_me:$LINENO: result: yes" >&5
    2104421069echo "${ECHO_T}yes" >&6
     21070                  coin_CPX_link=yes
     21071                  break
    2104521072else
    2104621073  echo "$as_me: failed program was:" >&5
     
    2104921076echo "$as_me:$LINENO: result: no" >&5
    2105021077echo "${ECHO_T}no" >&6
    21051                                  { { echo "$as_me:$LINENO: error: Cannot find symbol CPXgetstat with CPX" >&5
    21052 echo "$as_me: error: Cannot find symbol CPXgetstat with CPX" >&2;}
    21053    { (exit 1); exit 1; }; }
    2105421078fi
    2105521079rm -f conftest.err conftest.$ac_objext \
    2105621080      conftest$ac_exeext conftest.$ac_ext
    21057                     ac_ext=cc
     21081           done
     21082           ac_ext=cc
    2105821083ac_cpp='$CXXCPP $CPPFLAGS'
    2105921084ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2106121086ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2106221087
    21063                     LIBS="$coin_save_LIBS"
    21064                   fi
    21065 
    21066   ADDLIBS="$CPXLIB $ADDLIBS"
     21088           if test x"$coin_CPX_link" = xyes ; then
     21089             LIBS="$coin_save_LIBS"
     21090           else
     21091             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) CPXgetstat with CPX" >&5
     21092echo "$as_me: error: Cannot find symbol(s) CPXgetstat with CPX" >&2;}
     21093   { (exit 1); exit 1; }; }
     21094           fi
     21095         fi
     21096
     21097
     21098# If we make it this far, we've verified the file and linked the function. Add
     21099# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21100# COIN_HAS_LBRY.
     21101
     21102    ADDLIBS="$CPXLIB $ADDLIBS"
    2106721103
    2106821104cat >>confdefs.h <<\_ACEOF
     
    2107021106_ACEOF
    2107121107
    21072 else
    21073   echo "$as_me:$LINENO: result: no" >&5
    21074 echo "${ECHO_T}no" >&6
    21075 fi
     21108  fi
     21109
     21110# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21111# automake conditional. These actions must occur unconditionally.
    2107621112
    2107721113
     
    2108921125
    2109021126
    21091 echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
     21127  echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
    2109221128echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6
    2109321129
    2109421130# Check for header file directory
     21131
    2109521132
    2109621133# Check whether --with-glpk-incdir or --without-glpk-incdir was given.
     
    2109921136  GLPKINCDIR=`cd $withval; pwd`
    2110021137fi;
     21138
    2110121139# Check for library directory
     21140
    2110221141
    2110321142# Check whether --with-glpk-lib or --without-glpk-lib was given.
     
    2110621145  GLPKLIB=$withval
    2110721146fi;
     21147
    2110821148# Switch to disable library check if requested
    21109 # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
     21149
     21150  # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
    2111021151if test "${enable_glpk_libcheck+set}" = set; then
    2111121152  enableval="$enable_glpk_libcheck"
     
    2111521156fi;
    2111621157
    21117 if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
    21118   coin_has_glpk=true
    21119 else
    21120   coin_has_glpk=false
    21121 fi
    21122 
    21123 if test $coin_has_glpk = true; then
    21124 # Check either both arguments or none are given
    21125   if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
    21126     { { echo "$as_me:$LINENO: error: You need to specify both --with-glpk-incdir and --with-glpk-lib if you want to use library Glpk" >&5
    21127 echo "$as_me: error: You need to specify both --with-glpk-incdir and --with-glpk-lib if you want to use library Glpk" >&2;}
     21158# At this point, if we're going to use the library, both LBRYINCDIR and
     21159# LBRYLIB must be defined and not empty.
     21160
     21161  if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
     21162    if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
     21163      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&5
     21164echo "$as_me: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&2;}
    2112821165   { (exit 1); exit 1; }; }
     21166    fi
     21167    coin_has_glpk=true
     21168    echo "$as_me:$LINENO: result: yes" >&5
     21169echo "${ECHO_T}yes" >&6
     21170  else
     21171    coin_has_glpk=false
     21172    echo "$as_me:$LINENO: result: no" >&5
     21173echo "${ECHO_T}no" >&6
    2112921174  fi
    21130   echo "$as_me:$LINENO: result: yes" >&5
    21131 echo "${ECHO_T}yes" >&6
    21132   # Check if the given header file is there
    21133   as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh`
     21175
     21176# If we have instructions for use, consider header and link checks.
     21177
     21178  if test $coin_has_glpk = true; then
     21179
     21180# If argument 3 (file) is given, check for the file. Typically this will be a
     21181# header file, but that's not assumed.
     21182
     21183    as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh`
    2113421184echo "$as_me:$LINENO: checking for $GLPKINCDIR/glpk.h" >&5
    2113521185echo $ECHO_N "checking for $GLPKINCDIR/glpk.h... $ECHO_C" >&6
     
    2115821208
    2115921209
    21160   # Check if the symbol is provided in the library
    21161   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21162   if test x"$glpk_libcheck" != xno; then
    21163                     coin_save_LIBS="$LIBS"
    21164                     LIBS="$GLPKLIB $ADDLIBS"
    21165                     echo "$as_me:$LINENO: checking whether symbol glp_lpx_simplex is available with GLPK" >&5
    21166 echo $ECHO_N "checking whether symbol glp_lpx_simplex is available with GLPK... $ECHO_C" >&6
    21167                     ac_ext=c
     21210# Now see if we can link the function. There are arguments for and against
     21211# assuming argument 3 is a header file declaring the function. A correct
     21212# function declaration is the main argument in favour. Having to cope with
     21213# possible dependencies or other oddities are the main arguments against.
     21214# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21215# Obviously, this has limits.
     21216
     21217    if test x"$glpk_libcheck" != xno; then
     21218           coin_save_LIBS="$LIBS"
     21219           LIBS="$GLPKLIB $ADDLIBS"
     21220           coin_GLPK_link=no
     21221           ac_ext=c
    2116821222ac_cpp='$CPP $CPPFLAGS'
    2116921223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2117121225ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2117221226
    21173 # ToDo find out what to do about extern "C"
    21174 #                    AC_TRY_LINK([extern "C" {void glp_lpx_simplex();}],[glp_lpx_simplex()],
    21175                     cat >conftest.$ac_ext <<_ACEOF
     21227           for fnm in glp_lpx_simplex ; do
     21228             echo "$as_me:$LINENO: checking whether symbol $fnm is available with GLPK" >&5
     21229echo $ECHO_N "checking whether symbol $fnm is available with GLPK... $ECHO_C" >&6
     21230             cat >conftest.$ac_ext <<_ACEOF
    2117621231/* confdefs.h.  */
    2117721232_ACEOF
     
    2117921234cat >>conftest.$ac_ext <<_ACEOF
    2118021235/* end confdefs.h.  */
    21181 void glp_lpx_simplex();
     21236
    2118221237int
    2118321238main ()
    2118421239{
    21185 glp_lpx_simplex()
     21240$fnm()
    2118621241  ;
    2118721242  return 0;
     
    2121221267  echo "$as_me:$LINENO: result: yes" >&5
    2121321268echo "${ECHO_T}yes" >&6
     21269                  coin_GLPK_link=yes
     21270                  break
    2121421271else
    2121521272  echo "$as_me: failed program was:" >&5
     
    2121821275echo "$as_me:$LINENO: result: no" >&5
    2121921276echo "${ECHO_T}no" >&6
    21220                                  { { echo "$as_me:$LINENO: error: Cannot find symbol glp_lpx_simplex with GLPK" >&5
    21221 echo "$as_me: error: Cannot find symbol glp_lpx_simplex with GLPK" >&2;}
    21222    { (exit 1); exit 1; }; }
    2122321277fi
    2122421278rm -f conftest.err conftest.$ac_objext \
    2122521279      conftest$ac_exeext conftest.$ac_ext
    21226                     ac_ext=cc
     21280           done
     21281           ac_ext=cc
    2122721282ac_cpp='$CXXCPP $CPPFLAGS'
    2122821283ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2123021285ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2123121286
    21232                     LIBS="$coin_save_LIBS"
    21233                   fi
    21234 
    21235   ADDLIBS="$GLPKLIB $ADDLIBS"
     21287           if test x"$coin_GLPK_link" = xyes ; then
     21288             LIBS="$coin_save_LIBS"
     21289           else
     21290             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&5
     21291echo "$as_me: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&2;}
     21292   { (exit 1); exit 1; }; }
     21293           fi
     21294         fi
     21295
     21296
     21297# If we make it this far, we've verified the file and linked the function. Add
     21298# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21299# COIN_HAS_LBRY.
     21300
     21301    ADDLIBS="$GLPKLIB $ADDLIBS"
    2123621302
    2123721303cat >>confdefs.h <<\_ACEOF
     
    2123921305_ACEOF
    2124021306
    21241 else
    21242   echo "$as_me:$LINENO: result: no" >&5
    21243 echo "${ECHO_T}no" >&6
    21244 fi
     21307  fi
     21308
     21309# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21310# automake conditional. These actions must occur unconditionally.
    2124521311
    2124621312
     
    2125821324
    2125921325
    21260 echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
     21326  echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
    2126121327echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
    2126221328
    2126321329# Check for header file directory
     21330
    2126421331
    2126521332# Check whether --with-osl-incdir or --without-osl-incdir was given.
     
    2126821335  OSLINCDIR=`cd $withval; pwd`
    2126921336fi;
     21337
    2127021338# Check for library directory
     21339
    2127121340
    2127221341# Check whether --with-osl-lib or --without-osl-lib was given.
     
    2127521344  OSLLIB=$withval
    2127621345fi;
     21346
    2127721347# Switch to disable library check if requested
    21278 # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
     21348
     21349  # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
    2127921350if test "${enable_osl_libcheck+set}" = set; then
    2128021351  enableval="$enable_osl_libcheck"
     
    2128421355fi;
    2128521356
    21286 if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
    21287   coin_has_osl=true
    21288 else
    21289   coin_has_osl=false
    21290 fi
    21291 
    21292 if test $coin_has_osl = true; then
    21293 # Check either both arguments or none are given
    21294   if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
    21295     { { echo "$as_me:$LINENO: error: You need to specify both --with-osl-incdir and --with-osl-lib if you want to use library Osl" >&5
    21296 echo "$as_me: error: You need to specify both --with-osl-incdir and --with-osl-lib if you want to use library Osl" >&2;}
     21357# At this point, if we're going to use the library, both LBRYINCDIR and
     21358# LBRYLIB must be defined and not empty.
     21359
     21360  if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
     21361    if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
     21362      { { 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
     21363echo "$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;}
    2129721364   { (exit 1); exit 1; }; }
     21365    fi
     21366    coin_has_osl=true
     21367    echo "$as_me:$LINENO: result: yes" >&5
     21368echo "${ECHO_T}yes" >&6
     21369  else
     21370    coin_has_osl=false
     21371    echo "$as_me:$LINENO: result: no" >&5
     21372echo "${ECHO_T}no" >&6
    2129821373  fi
    21299   echo "$as_me:$LINENO: result: yes" >&5
    21300 echo "${ECHO_T}yes" >&6
    21301   # Check if the given header file is there
    21302   as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh`
     21374
     21375# If we have instructions for use, consider header and link checks.
     21376
     21377  if test $coin_has_osl = true; then
     21378
     21379# If argument 3 (file) is given, check for the file. Typically this will be a
     21380# header file, but that's not assumed.
     21381
     21382    as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh`
    2130321383echo "$as_me:$LINENO: checking for $OSLINCDIR/ekk_c_api.h" >&5
    2130421384echo $ECHO_N "checking for $OSLINCDIR/ekk_c_api.h... $ECHO_C" >&6
     
    2132721407
    2132821408
    21329   # Check if the symbol is provided in the library
    21330   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21331   if test x"$osl_libcheck" != xno; then
    21332                     coin_save_LIBS="$LIBS"
    21333                     LIBS="$OSLLIB $ADDLIBS"
    21334                     echo "$as_me:$LINENO: checking whether symbol ekk_simplex is available with OSL" >&5
    21335 echo $ECHO_N "checking whether symbol ekk_simplex is available with OSL... $ECHO_C" >&6
    21336                     ac_ext=c
     21409# Now see if we can link the function. There are arguments for and against
     21410# assuming argument 3 is a header file declaring the function. A correct
     21411# function declaration is the main argument in favour. Having to cope with
     21412# possible dependencies or other oddities are the main arguments against.
     21413# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21414# Obviously, this has limits.
     21415
     21416    if test x"$osl_libcheck" != xno; then
     21417           coin_save_LIBS="$LIBS"
     21418           LIBS="$OSLLIB $ADDLIBS"
     21419           coin_OSL_link=no
     21420           ac_ext=c
    2133721421ac_cpp='$CPP $CPPFLAGS'
    2133821422ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2134021424ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2134121425
    21342 # ToDo find out what to do about extern "C"
    21343 #                    AC_TRY_LINK([extern "C" {void ekk_simplex();}],[ekk_simplex()],
    21344                     cat >conftest.$ac_ext <<_ACEOF
     21426           for fnm in ekk_simplex ; do
     21427             echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5
     21428echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6
     21429             cat >conftest.$ac_ext <<_ACEOF
    2134521430/* confdefs.h.  */
    2134621431_ACEOF
     
    2134821433cat >>conftest.$ac_ext <<_ACEOF
    2134921434/* end confdefs.h.  */
    21350 void ekk_simplex();
     21435
    2135121436int
    2135221437main ()
    2135321438{
    21354 ekk_simplex()
     21439$fnm()
    2135521440  ;
    2135621441  return 0;
     
    2138121466  echo "$as_me:$LINENO: result: yes" >&5
    2138221467echo "${ECHO_T}yes" >&6
     21468                  coin_OSL_link=yes
     21469                  break
    2138321470else
    2138421471  echo "$as_me: failed program was:" >&5
     
    2138721474echo "$as_me:$LINENO: result: no" >&5
    2138821475echo "${ECHO_T}no" >&6
    21389                                  { { echo "$as_me:$LINENO: error: Cannot find symbol ekk_simplex with OSL" >&5
    21390 echo "$as_me: error: Cannot find symbol ekk_simplex with OSL" >&2;}
    21391    { (exit 1); exit 1; }; }
    2139221476fi
    2139321477rm -f conftest.err conftest.$ac_objext \
    2139421478      conftest$ac_exeext conftest.$ac_ext
    21395                     ac_ext=cc
     21479           done
     21480           ac_ext=cc
    2139621481ac_cpp='$CXXCPP $CPPFLAGS'
    2139721482ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2139921484ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2140021485
    21401                     LIBS="$coin_save_LIBS"
    21402                   fi
    21403 
    21404   ADDLIBS="$OSLLIB $ADDLIBS"
     21486           if test x"$coin_OSL_link" = xyes ; then
     21487             LIBS="$coin_save_LIBS"
     21488           else
     21489             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5
     21490echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;}
     21491   { (exit 1); exit 1; }; }
     21492           fi
     21493         fi
     21494
     21495
     21496# If we make it this far, we've verified the file and linked the function. Add
     21497# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21498# COIN_HAS_LBRY.
     21499
     21500    ADDLIBS="$OSLLIB $ADDLIBS"
    2140521501
    2140621502cat >>confdefs.h <<\_ACEOF
     
    2140821504_ACEOF
    2140921505
    21410 else
    21411   echo "$as_me:$LINENO: result: no" >&5
    21412 echo "${ECHO_T}no" >&6
    21413 fi
     21506  fi
     21507
     21508# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21509# automake conditional. These actions must occur unconditionally.
    2141421510
    2141521511
     
    2142721523
    2142821524
    21429 echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
     21525  echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
    2143021526echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
    2143121527
    2143221528# Check for header file directory
     21529
    2143321530
    2143421531# Check whether --with-soplex-incdir or --without-soplex-incdir was given.
     
    2143721534  SPXINCDIR=`cd $withval; pwd`
    2143821535fi;
     21536
    2143921537# Check for library directory
     21538
    2144021539
    2144121540# Check whether --with-soplex-lib or --without-soplex-lib was given.
     
    2144421543  SPXLIB=$withval
    2144521544fi;
     21545
    2144621546# Switch to disable library check if requested
    21447 # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
     21547
     21548  # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
    2144821549if test "${enable_soplex_libcheck+set}" = set; then
    2144921550  enableval="$enable_soplex_libcheck"
     
    2145321554fi;
    2145421555
    21455 if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
    21456   coin_has_spx=true
    21457 else
    21458   coin_has_spx=false
    21459 fi
    21460 
    21461 if test $coin_has_spx = true; then
    21462 # Check either both arguments or none are given
    21463   if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
    21464     { { echo "$as_me:$LINENO: error: You need to specify both --with-soplex-incdir and --with-soplex-lib if you want to use library Soplex" >&5
    21465 echo "$as_me: error: You need to specify both --with-soplex-incdir and --with-soplex-lib if you want to use library Soplex" >&2;}
     21556# At this point, if we're going to use the library, both LBRYINCDIR and
     21557# LBRYLIB must be defined and not empty.
     21558
     21559  if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
     21560    if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
     21561      { { 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
     21562echo "$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;}
    2146621563   { (exit 1); exit 1; }; }
     21564    fi
     21565    coin_has_spx=true
     21566    echo "$as_me:$LINENO: result: yes" >&5
     21567echo "${ECHO_T}yes" >&6
     21568  else
     21569    coin_has_spx=false
     21570    echo "$as_me:$LINENO: result: no" >&5
     21571echo "${ECHO_T}no" >&6
    2146721572  fi
    21468   echo "$as_me:$LINENO: result: yes" >&5
    21469 echo "${ECHO_T}yes" >&6
    21470   # Check if the given header file is there
    21471   as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh`
     21573
     21574# If we have instructions for use, consider header and link checks.
     21575
     21576  if test $coin_has_spx = true; then
     21577
     21578# If argument 3 (file) is given, check for the file. Typically this will be a
     21579# header file, but that's not assumed.
     21580
     21581    as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh`
    2147221582echo "$as_me:$LINENO: checking for $SPXINCDIR/spxsolver.h" >&5
    2147321583echo $ECHO_N "checking for $SPXINCDIR/spxsolver.h... $ECHO_C" >&6
     
    2149621606
    2149721607
    21498   # Check if the symbol is provided in the library
    21499   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21500 
    21501   ADDLIBS="$SPXLIB $ADDLIBS"
     21608# Now see if we can link the function. There are arguments for and against
     21609# assuming argument 3 is a header file declaring the function. A correct
     21610# function declaration is the main argument in favour. Having to cope with
     21611# possible dependencies or other oddities are the main arguments against.
     21612# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21613# Obviously, this has limits.
     21614
     21615
     21616
     21617# If we make it this far, we've verified the file and linked the function. Add
     21618# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21619# COIN_HAS_LBRY.
     21620
     21621    ADDLIBS="$SPXLIB $ADDLIBS"
    2150221622
    2150321623cat >>confdefs.h <<\_ACEOF
     
    2150521625_ACEOF
    2150621626
    21507 else
    21508   echo "$as_me:$LINENO: result: no" >&5
    21509 echo "${ECHO_T}no" >&6
    21510 fi
     21627  fi
     21628
     21629# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21630# automake conditional. These actions must occur unconditionally.
    2151121631
    2151221632
     
    2152421644 # ToDo
    2152521645
    21526 echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
     21646  echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
    2152721647echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
    2152821648
    2152921649# Check for header file directory
     21650
    2153021651
    2153121652# Check whether --with-xpress-incdir or --without-xpress-incdir was given.
     
    2153421655  XPRINCDIR=`cd $withval; pwd`
    2153521656fi;
     21657
    2153621658# Check for library directory
     21659
    2153721660
    2153821661# Check whether --with-xpress-lib or --without-xpress-lib was given.
     
    2154121664  XPRLIB=$withval
    2154221665fi;
     21666
    2154321667# Switch to disable library check if requested
    21544 # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
     21668
     21669  # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
    2154521670if test "${enable_xpress_libcheck+set}" = set; then
    2154621671  enableval="$enable_xpress_libcheck"
     
    2155021675fi;
    2155121676
    21552 if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
    21553   coin_has_xpr=true
    21554 else
    21555   coin_has_xpr=false
    21556 fi
    21557 
    21558 if test $coin_has_xpr = true; then
    21559 # Check either both arguments or none are given
    21560   if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
    21561     { { echo "$as_me:$LINENO: error: You need to specify both --with-xpress-incdir and --with-xpress-lib if you want to use library Xpress" >&5
    21562 echo "$as_me: error: You need to specify both --with-xpress-incdir and --with-xpress-lib if you want to use library Xpress" >&2;}
     21677# At this point, if we're going to use the library, both LBRYINCDIR and
     21678# LBRYLIB must be defined and not empty.
     21679
     21680  if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
     21681    if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
     21682      { { 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
     21683echo "$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;}
    2156321684   { (exit 1); exit 1; }; }
     21685    fi
     21686    coin_has_xpr=true
     21687    echo "$as_me:$LINENO: result: yes" >&5
     21688echo "${ECHO_T}yes" >&6
     21689  else
     21690    coin_has_xpr=false
     21691    echo "$as_me:$LINENO: result: no" >&5
     21692echo "${ECHO_T}no" >&6
    2156421693  fi
    21565   echo "$as_me:$LINENO: result: yes" >&5
    21566 echo "${ECHO_T}yes" >&6
    21567   # Check if the given header file is there
    21568   as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh`
     21694
     21695# If we have instructions for use, consider header and link checks.
     21696
     21697  if test $coin_has_xpr = true; then
     21698
     21699# If argument 3 (file) is given, check for the file. Typically this will be a
     21700# header file, but that's not assumed.
     21701
     21702    as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh`
    2156921703echo "$as_me:$LINENO: checking for $XPRINCDIR/xprs.h" >&5
    2157021704echo $ECHO_N "checking for $XPRINCDIR/xprs.h... $ECHO_C" >&6
     
    2159321727
    2159421728
    21595   # Check if the symbol is provided in the library
    21596   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21597   if test x"$xpress_libcheck" != xno; then
    21598                     coin_save_LIBS="$LIBS"
    21599                     LIBS="$XPRLIB $ADDLIBS"
    21600                     echo "$as_me:$LINENO: checking whether symbol XPRSsetintcontrol is available with XPR" >&5
    21601 echo $ECHO_N "checking whether symbol XPRSsetintcontrol is available with XPR... $ECHO_C" >&6
    21602                     ac_ext=c
     21729# Now see if we can link the function. There are arguments for and against
     21730# assuming argument 3 is a header file declaring the function. A correct
     21731# function declaration is the main argument in favour. Having to cope with
     21732# possible dependencies or other oddities are the main arguments against.
     21733# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21734# Obviously, this has limits.
     21735
     21736    if test x"$xpress_libcheck" != xno; then
     21737           coin_save_LIBS="$LIBS"
     21738           LIBS="$XPRLIB $ADDLIBS"
     21739           coin_XPR_link=no
     21740           ac_ext=c
    2160321741ac_cpp='$CPP $CPPFLAGS'
    2160421742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2160621744ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2160721745
    21608 # ToDo find out what to do about extern "C"
    21609 #                    AC_TRY_LINK([extern "C" {void XPRSsetintcontrol();}],[XPRSsetintcontrol()],
    21610                     cat >conftest.$ac_ext <<_ACEOF
     21746           for fnm in XPRSsetintcontrol ; do
     21747             echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5
     21748echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6
     21749             cat >conftest.$ac_ext <<_ACEOF
    2161121750/* confdefs.h.  */
    2161221751_ACEOF
     
    2161421753cat >>conftest.$ac_ext <<_ACEOF
    2161521754/* end confdefs.h.  */
    21616 void XPRSsetintcontrol();
     21755
    2161721756int
    2161821757main ()
    2161921758{
    21620 XPRSsetintcontrol()
     21759$fnm()
    2162121760  ;
    2162221761  return 0;
     
    2164721786  echo "$as_me:$LINENO: result: yes" >&5
    2164821787echo "${ECHO_T}yes" >&6
     21788                  coin_XPR_link=yes
     21789                  break
    2164921790else
    2165021791  echo "$as_me: failed program was:" >&5
     
    2165321794echo "$as_me:$LINENO: result: no" >&5
    2165421795echo "${ECHO_T}no" >&6
    21655                                  { { echo "$as_me:$LINENO: error: Cannot find symbol XPRSsetintcontrol with XPR" >&5
    21656 echo "$as_me: error: Cannot find symbol XPRSsetintcontrol with XPR" >&2;}
    21657    { (exit 1); exit 1; }; }
    2165821796fi
    2165921797rm -f conftest.err conftest.$ac_objext \
    2166021798      conftest$ac_exeext conftest.$ac_ext
    21661                     ac_ext=cc
     21799           done
     21800           ac_ext=cc
    2166221801ac_cpp='$CXXCPP $CPPFLAGS'
    2166321802ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2166521804ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2166621805
    21667                     LIBS="$coin_save_LIBS"
    21668                   fi
    21669 
    21670   ADDLIBS="$XPRLIB $ADDLIBS"
     21806           if test x"$coin_XPR_link" = xyes ; then
     21807             LIBS="$coin_save_LIBS"
     21808           else
     21809             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5
     21810echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;}
     21811   { (exit 1); exit 1; }; }
     21812           fi
     21813         fi
     21814
     21815
     21816# If we make it this far, we've verified the file and linked the function. Add
     21817# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21818# COIN_HAS_LBRY.
     21819
     21820    ADDLIBS="$XPRLIB $ADDLIBS"
    2167121821
    2167221822cat >>confdefs.h <<\_ACEOF
     
    2167421824_ACEOF
    2167521825
    21676 else
    21677   echo "$as_me:$LINENO: result: no" >&5
    21678 echo "${ECHO_T}no" >&6
    21679 fi
     21826  fi
     21827
     21828# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21829# automake conditional. These actions must occur unconditionally.
    2168021830
    2168121831
     
    2249722647echo "${ECHO_T}yes" >&6
    2249822648
    22499 # if test x"" = x; then
    22500  #  hdr="#include <pvm3.h>"
    22501  # else
    22502  #   hdr=""
    22503  # fi
     22649#if test x"" = x; then
     22650#  hdr="#include <pvm3.h>"
     22651#else
     22652#  hdr=""
     22653#fi
     22654#AC_CHECK_HEADERS([pvm3.h],[pvm_path=yes],[],[$hdr])
    2250422655
    2250522656for ac_header in pvm3.h
     
    2499625147  if test x"$coin_vpath_link_files" = x; then : ; else
    2499725148    lnkcmd=
    24998     if test "$enable_doscompile" = yes; then
     25149    if test "$enable_doscompile" = mingw; then
    2499925150      lnkcmd=cp
    2500025151    fi
  • trunk/config.guess

    r608 r1124  
    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

    r608 r1124  
    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

    r1107 r1124  
    11521152  --with-tags[=TAGS]
    11531153                          include additional configurations [automatic]
    1154   --with-cplex-incdir specify the directory with the header files for library
    1155                           Cplex
    1156   --with-cplex-lib specify the flags to link with the library Cplex
    1157   --with-glpk-incdir specify the directory with the header files for library
    1158                           Glpk
    1159   --with-glpk-lib specify the flags to link with the library Glpk
    1160   --with-osl-incdir specify the directory with the header files for library
    1161                           Osl
    1162   --with-osl-lib specify the flags to link with the library Osl
    1163   --with-soplex-incdir specify the directory with the header files for library
    1164                           Soplex
    1165   --with-soplex-lib specify the flags to link with the library Soplex
    1166   --with-xpress-incdir specify the directory with the header files for library
    1167                           Xpress
    1168   --with-xpress-lib specify the flags to link with the library Xpress
     1154  --with-cplex-incdir specify the header file directory for library Cplex
     1155  --with-cplex-lib specify the flags used to link with the library Cplex
     1156  --with-glpk-incdir specify the header file directory for library Glpk
     1157  --with-glpk-lib specify the flags used to link with the library Glpk
     1158  --with-osl-incdir specify the header file directory for library Osl
     1159  --with-osl-lib specify the flags used to link with the library Osl
     1160  --with-soplex-incdir specify the header file directory for library Soplex
     1161  --with-soplex-lib specify the flags used to link with the library Soplex
     1162  --with-xpress-incdir specify the header file directory for library Xpress
     1163  --with-xpress-lib specify the flags used to link with the library Xpress
    11691164  --with-lp-solver        specify the LP solver you want SYMPHONY to use in
    11701165                          small letters(default=clp)
     
    26952690          cl* | */cl* | CL* | */CL*)
    26962691            coin_opt_cflags='-MT -O2'
    2697             coin_add_cflags='-nologo -wd4996'
     2692            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    26982693            coin_dbg_cflags='-MTd'
    26992694            ;;
     
    34303425fi
    34313426
     3427# It seems that we need to cleanup something here for the Windows
     3428case "$CXX" in
     3429  cl* | */cl* | CL* | */CL* )
     3430    sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
     3431    mv confdefs.hh confdefs.h
     3432    ;;
     3433esac
     3434
    34323435# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    34333436case "$CXX" in
     
    35303533            # The MT and MTd options are mutually exclusive
    35313534            coin_opt_cxxflags='-MT -O2'
    3532             coin_add_cxxflags='-nologo -EHsc -GR -wd4996'
     3535            coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    35333536            coin_dbg_cxxflags='-MTd'
    35343537            ;;
     
    38753878  *-cygwin* | *-mingw*)
    38763879     if test "$enable_doscompile" = msvc ; then
    3877        coin_f77_comps="ifort fl32"
     3880       coin_f77_comps="ifort fl32 compile_f2c"
    38783881     else
    3879        coin_f77_comps="gfortran g77 ifort fl32"
     3882       coin_f77_comps="gfortran g77 ifort fl32 compile_f2c"
    38803883     fi ;;
    38813884  sparc-sun-solaris*)
     
    40524055
    40534056# Provide some information about the compiler.
    4054 echo "$as_me:4054:" \
     4057echo "$as_me:4057:" \
    40554058     "checking for Fortran 77 compiler version" >&5
    40564059ac_compiler=`set X $ac_compile; echo $2`
     
    42704273            coin_add_fflags='-fpp -nologo -MT'
    42714274            coin_dbg_fflags='-debug'
     4275          ;;
     4276          compile_f2c*)
     4277            coin_opt_fflags='-MT -O2'
     4278            coin_add_fflags='-nologo -wd4996'
     4279            coin_dbg_fflags='-MTd'
    42724280          ;;
    42734281        esac
     
    63246332*-*-irix6*)
    63256333  # Find out which ABI we are using.
    6326   echo '#line 6326 "configure"' > conftest.$ac_ext
     6334  echo '#line 6334 "configure"' > conftest.$ac_ext
    63276335  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    63286336  (eval $ac_compile) 2>&5
     
    82888296   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82898297   -e 's:$: $lt_compiler_flag:'`
    8290    (eval echo "\"\$as_me:8290: $lt_compile\"" >&5)
     8298   (eval echo "\"\$as_me:8298: $lt_compile\"" >&5)
    82918299   (eval "$lt_compile" 2>conftest.err)
    82928300   ac_status=$?
    82938301   cat conftest.err >&5
    8294    echo "$as_me:8294: \$? = $ac_status" >&5
     8302   echo "$as_me:8302: \$? = $ac_status" >&5
    82958303   if (exit $ac_status) && test -s "$ac_outfile"; then
    82968304     # The compiler can only warn and ignore the option if not recognized
     
    85568564   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    85578565   -e 's:$: $lt_compiler_flag:'`
    8558    (eval echo "\"\$as_me:8558: $lt_compile\"" >&5)
     8566   (eval echo "\"\$as_me:8566: $lt_compile\"" >&5)
    85598567   (eval "$lt_compile" 2>conftest.err)
    85608568   ac_status=$?
    85618569   cat conftest.err >&5
    8562    echo "$as_me:8562: \$? = $ac_status" >&5
     8570   echo "$as_me:8570: \$? = $ac_status" >&5
    85638571   if (exit $ac_status) && test -s "$ac_outfile"; then
    85648572     # The compiler can only warn and ignore the option if not recognized
     
    86608668   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    86618669   -e 's:$: $lt_compiler_flag:'`
    8662    (eval echo "\"\$as_me:8662: $lt_compile\"" >&5)
     8670   (eval echo "\"\$as_me:8670: $lt_compile\"" >&5)
    86638671   (eval "$lt_compile" 2>out/conftest.err)
    86648672   ac_status=$?
    86658673   cat out/conftest.err >&5
    8666    echo "$as_me:8666: \$? = $ac_status" >&5
     8674   echo "$as_me:8674: \$? = $ac_status" >&5
    86678675   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    86688676   then
     
    1100511013  lt_status=$lt_dlunknown
    1100611014  cat > conftest.$ac_ext <<EOF
    11007 #line 11007 "configure"
     11015#line 11015 "configure"
    1100811016#include "confdefs.h"
    1100911017
     
    1110511113  lt_status=$lt_dlunknown
    1110611114  cat > conftest.$ac_ext <<EOF
    11107 #line 11107 "configure"
     11115#line 11115 "configure"
    1110811116#include "confdefs.h"
    1110911117
     
    1344913457   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1345013458   -e 's:$: $lt_compiler_flag:'`
    13451    (eval echo "\"\$as_me:13451: $lt_compile\"" >&5)
     13459   (eval echo "\"\$as_me:13459: $lt_compile\"" >&5)
    1345213460   (eval "$lt_compile" 2>conftest.err)
    1345313461   ac_status=$?
    1345413462   cat conftest.err >&5
    13455    echo "$as_me:13455: \$? = $ac_status" >&5
     13463   echo "$as_me:13463: \$? = $ac_status" >&5
    1345613464   if (exit $ac_status) && test -s "$ac_outfile"; then
    1345713465     # The compiler can only warn and ignore the option if not recognized
     
    1355313561   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1355413562   -e 's:$: $lt_compiler_flag:'`
    13555    (eval echo "\"\$as_me:13555: $lt_compile\"" >&5)
     13563   (eval echo "\"\$as_me:13563: $lt_compile\"" >&5)
    1355613564   (eval "$lt_compile" 2>out/conftest.err)
    1355713565   ac_status=$?
    1355813566   cat out/conftest.err >&5
    13559    echo "$as_me:13559: \$? = $ac_status" >&5
     13567   echo "$as_me:13567: \$? = $ac_status" >&5
    1356013568   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1356113569   then
     
    1512315131   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1512415132   -e 's:$: $lt_compiler_flag:'`
    15125    (eval echo "\"\$as_me:15125: $lt_compile\"" >&5)
     15133   (eval echo "\"\$as_me:15133: $lt_compile\"" >&5)
    1512615134   (eval "$lt_compile" 2>conftest.err)
    1512715135   ac_status=$?
    1512815136   cat conftest.err >&5
    15129    echo "$as_me:15129: \$? = $ac_status" >&5
     15137   echo "$as_me:15137: \$? = $ac_status" >&5
    1513015138   if (exit $ac_status) && test -s "$ac_outfile"; then
    1513115139     # The compiler can only warn and ignore the option if not recognized
     
    1522715235   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1522815236   -e 's:$: $lt_compiler_flag:'`
    15229    (eval echo "\"\$as_me:15229: $lt_compile\"" >&5)
     15237   (eval echo "\"\$as_me:15237: $lt_compile\"" >&5)
    1523015238   (eval "$lt_compile" 2>out/conftest.err)
    1523115239   ac_status=$?
    1523215240   cat out/conftest.err >&5
    15233    echo "$as_me:15233: \$? = $ac_status" >&5
     15241   echo "$as_me:15241: \$? = $ac_status" >&5
    1523415242   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1523515243   then
     
    1743417442   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1743517443   -e 's:$: $lt_compiler_flag:'`
    17436    (eval echo "\"\$as_me:17436: $lt_compile\"" >&5)
     17444   (eval echo "\"\$as_me:17444: $lt_compile\"" >&5)
    1743717445   (eval "$lt_compile" 2>conftest.err)
    1743817446   ac_status=$?
    1743917447   cat conftest.err >&5
    17440    echo "$as_me:17440: \$? = $ac_status" >&5
     17448   echo "$as_me:17448: \$? = $ac_status" >&5
    1744117449   if (exit $ac_status) && test -s "$ac_outfile"; then
    1744217450     # The compiler can only warn and ignore the option if not recognized
     
    1770217710   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1770317711   -e 's:$: $lt_compiler_flag:'`
    17704    (eval echo "\"\$as_me:17704: $lt_compile\"" >&5)
     17712   (eval echo "\"\$as_me:17712: $lt_compile\"" >&5)
    1770517713   (eval "$lt_compile" 2>conftest.err)
    1770617714   ac_status=$?
    1770717715   cat conftest.err >&5
    17708    echo "$as_me:17708: \$? = $ac_status" >&5
     17716   echo "$as_me:17716: \$? = $ac_status" >&5
    1770917717   if (exit $ac_status) && test -s "$ac_outfile"; then
    1771017718     # The compiler can only warn and ignore the option if not recognized
     
    1780617814   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1780717815   -e 's:$: $lt_compiler_flag:'`
    17808    (eval echo "\"\$as_me:17808: $lt_compile\"" >&5)
     17816   (eval echo "\"\$as_me:17816: $lt_compile\"" >&5)
    1780917817   (eval "$lt_compile" 2>out/conftest.err)
    1781017818   ac_status=$?
    1781117819   cat out/conftest.err >&5
    17812    echo "$as_me:17812: \$? = $ac_status" >&5
     17820   echo "$as_me:17820: \$? = $ac_status" >&5
    1781317821   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1781417822   then
     
    2051320521  { echo "$as_me:$LINENO: Build is \"$build\"." >&5
    2051420522echo "$as_me: Build is \"$build\"." >&6;}
     20523  mydos2unix='| dos2unix'
    2051520524  case $build in
    2051620525    *-mingw*)
    2051720526      CYGPATH_W=echo
     20527      mydos2unix=
    2051820528      ;;
    2051920529  esac
     
    2054120551            -e 's%lib /OUT:%lib -OUT:%' \
    2054220552            -e "s%cygpath -w%$CYGPATH_W%" \
    20543             -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%' \
     20553            -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%' \
    2054420554            -e 's/$AR t/lib -nologo -list/' \
    2054520555            -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \
     
    2098420994
    2098520995
    20986 echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
     20996  echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
    2098720997echo $ECHO_N "checking if user provides library for Cplex... $ECHO_C" >&6
    2098820998
    2098920999# Check for header file directory
     21000
    2099021001
    2099121002# Check whether --with-cplex-incdir or --without-cplex-incdir was given.
     
    2099421005  CPXINCDIR=`cd $withval; pwd`
    2099521006fi;
     21007
    2099621008# Check for library directory
     21009
    2099721010
    2099821011# Check whether --with-cplex-lib or --without-cplex-lib was given.
     
    2100121014  CPXLIB=$withval
    2100221015fi;
     21016
    2100321017# Switch to disable library check if requested
    21004 # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given.
     21018
     21019  # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given.
    2100521020if test "${enable_cplex_libcheck+set}" = set; then
    2100621021  enableval="$enable_cplex_libcheck"
     
    2101021025fi;
    2101121026
    21012 if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then
    21013   coin_has_cpx=true
    21014 else
    21015   coin_has_cpx=false
    21016 fi
    21017 
    21018 if test $coin_has_cpx = true; then
    21019 # Check either both arguments or none are given
    21020   if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then
    21021     { { echo "$as_me:$LINENO: error: You need to specify both --with-cplex-incdir and --with-cplex-lib if you want to use library Cplex" >&5
    21022 echo "$as_me: error: You need to specify both --with-cplex-incdir and --with-cplex-lib if you want to use library Cplex" >&2;}
     21027# At this point, if we're going to use the library, both LBRYINCDIR and
     21028# LBRYLIB must be defined and not empty.
     21029
     21030  if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then
     21031    if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then
     21032      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&5
     21033echo "$as_me: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&2;}
    2102321034   { (exit 1); exit 1; }; }
     21035    fi
     21036    coin_has_cpx=true
     21037    echo "$as_me:$LINENO: result: yes" >&5
     21038echo "${ECHO_T}yes" >&6
     21039  else
     21040    coin_has_cpx=false
     21041    echo "$as_me:$LINENO: result: no" >&5
     21042echo "${ECHO_T}no" >&6
    2102421043  fi
    21025   echo "$as_me:$LINENO: result: yes" >&5
    21026 echo "${ECHO_T}yes" >&6
    21027   # Check if the given header file is there
    21028   as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh`
     21044
     21045# If we have instructions for use, consider header and link checks.
     21046
     21047  if test $coin_has_cpx = true; then
     21048
     21049# If argument 3 (file) is given, check for the file. Typically this will be a
     21050# header file, but that's not assumed.
     21051
     21052    as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh`
    2102921053echo "$as_me:$LINENO: checking for $CPXINCDIR/cplex.h" >&5
    2103021054echo $ECHO_N "checking for $CPXINCDIR/cplex.h... $ECHO_C" >&6
     
    2105321077
    2105421078
    21055   # Check if the symbol is provided in the library
    21056   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21057   if test x"$cplex_libcheck" != xno; then
    21058                     coin_save_LIBS="$LIBS"
    21059                     LIBS="$CPXLIB $ADDLIBS"
    21060                     echo "$as_me:$LINENO: checking whether symbol CPXgetstat is available with CPX" >&5
    21061 echo $ECHO_N "checking whether symbol CPXgetstat is available with CPX... $ECHO_C" >&6
    21062                     ac_ext=c
     21079# Now see if we can link the function. There are arguments for and against
     21080# assuming argument 3 is a header file declaring the function. A correct
     21081# function declaration is the main argument in favour. Having to cope with
     21082# possible dependencies or other oddities are the main arguments against.
     21083# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21084# Obviously, this has limits.
     21085
     21086    if test x"$cplex_libcheck" != xno; then
     21087           coin_save_LIBS="$LIBS"
     21088           LIBS="$CPXLIB $ADDLIBS"
     21089           coin_CPX_link=no
     21090           ac_ext=c
    2106321091ac_cpp='$CPP $CPPFLAGS'
    2106421092ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2106621094ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2106721095
    21068 # ToDo find out what to do about extern "C"
    21069 #                    AC_TRY_LINK([extern "C" {void CPXgetstat();}],[CPXgetstat()],
    21070                     cat >conftest.$ac_ext <<_ACEOF
     21096           for fnm in CPXgetstat ; do
     21097             echo "$as_me:$LINENO: checking whether symbol $fnm is available with CPX" >&5
     21098echo $ECHO_N "checking whether symbol $fnm is available with CPX... $ECHO_C" >&6
     21099             cat >conftest.$ac_ext <<_ACEOF
    2107121100/* confdefs.h.  */
    2107221101_ACEOF
     
    2107421103cat >>conftest.$ac_ext <<_ACEOF
    2107521104/* end confdefs.h.  */
    21076 void CPXgetstat();
     21105
    2107721106int
    2107821107main ()
    2107921108{
    21080 CPXgetstat()
     21109$fnm()
    2108121110  ;
    2108221111  return 0;
     
    2110721136  echo "$as_me:$LINENO: result: yes" >&5
    2110821137echo "${ECHO_T}yes" >&6
     21138                  coin_CPX_link=yes
     21139                  break
    2110921140else
    2111021141  echo "$as_me: failed program was:" >&5
     
    2111321144echo "$as_me:$LINENO: result: no" >&5
    2111421145echo "${ECHO_T}no" >&6
    21115                                  { { echo "$as_me:$LINENO: error: Cannot find symbol CPXgetstat with CPX" >&5
    21116 echo "$as_me: error: Cannot find symbol CPXgetstat with CPX" >&2;}
    21117    { (exit 1); exit 1; }; }
    2111821146fi
    2111921147rm -f conftest.err conftest.$ac_objext \
    2112021148      conftest$ac_exeext conftest.$ac_ext
    21121                     ac_ext=c
     21149           done
     21150           ac_ext=c
    2112221151ac_cpp='$CPP $CPPFLAGS'
    2112321152ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2112521154ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2112621155
    21127                     LIBS="$coin_save_LIBS"
    21128                   fi
    21129 
    21130   ADDLIBS="$CPXLIB $ADDLIBS"
     21156           if test x"$coin_CPX_link" = xyes ; then
     21157             LIBS="$coin_save_LIBS"
     21158           else
     21159             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) CPXgetstat with CPX" >&5
     21160echo "$as_me: error: Cannot find symbol(s) CPXgetstat with CPX" >&2;}
     21161   { (exit 1); exit 1; }; }
     21162           fi
     21163         fi
     21164
     21165
     21166# If we make it this far, we've verified the file and linked the function. Add
     21167# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21168# COIN_HAS_LBRY.
     21169
     21170    ADDLIBS="$CPXLIB $ADDLIBS"
    2113121171
    2113221172cat >>confdefs.h <<\_ACEOF
     
    2113421174_ACEOF
    2113521175
    21136 else
    21137   echo "$as_me:$LINENO: result: no" >&5
    21138 echo "${ECHO_T}no" >&6
    21139 fi
     21176  fi
     21177
     21178# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21179# automake conditional. These actions must occur unconditionally.
    2114021180
    2114121181
     
    2115321193
    2115421194
    21155 echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
     21195  echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
    2115621196echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6
    2115721197
    2115821198# Check for header file directory
     21199
    2115921200
    2116021201# Check whether --with-glpk-incdir or --without-glpk-incdir was given.
     
    2116321204  GLPKINCDIR=`cd $withval; pwd`
    2116421205fi;
     21206
    2116521207# Check for library directory
     21208
    2116621209
    2116721210# Check whether --with-glpk-lib or --without-glpk-lib was given.
     
    2117021213  GLPKLIB=$withval
    2117121214fi;
     21215
    2117221216# Switch to disable library check if requested
    21173 # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
     21217
     21218  # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
    2117421219if test "${enable_glpk_libcheck+set}" = set; then
    2117521220  enableval="$enable_glpk_libcheck"
     
    2117921224fi;
    2118021225
    21181 if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
    21182   coin_has_glpk=true
    21183 else
    21184   coin_has_glpk=false
    21185 fi
    21186 
    21187 if test $coin_has_glpk = true; then
    21188 # Check either both arguments or none are given
    21189   if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
    21190     { { echo "$as_me:$LINENO: error: You need to specify both --with-glpk-incdir and --with-glpk-lib if you want to use library Glpk" >&5
    21191 echo "$as_me: error: You need to specify both --with-glpk-incdir and --with-glpk-lib if you want to use library Glpk" >&2;}
     21226# At this point, if we're going to use the library, both LBRYINCDIR and
     21227# LBRYLIB must be defined and not empty.
     21228
     21229  if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
     21230    if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
     21231      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&5
     21232echo "$as_me: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&2;}
    2119221233   { (exit 1); exit 1; }; }
     21234    fi
     21235    coin_has_glpk=true
     21236    echo "$as_me:$LINENO: result: yes" >&5
     21237echo "${ECHO_T}yes" >&6
     21238  else
     21239    coin_has_glpk=false
     21240    echo "$as_me:$LINENO: result: no" >&5
     21241echo "${ECHO_T}no" >&6
    2119321242  fi
    21194   echo "$as_me:$LINENO: result: yes" >&5
    21195 echo "${ECHO_T}yes" >&6
    21196   # Check if the given header file is there
    21197   as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh`
     21243
     21244# If we have instructions for use, consider header and link checks.
     21245
     21246  if test $coin_has_glpk = true; then
     21247
     21248# If argument 3 (file) is given, check for the file. Typically this will be a
     21249# header file, but that's not assumed.
     21250
     21251    as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh`
    2119821252echo "$as_me:$LINENO: checking for $GLPKINCDIR/glpk.h" >&5
    2119921253echo $ECHO_N "checking for $GLPKINCDIR/glpk.h... $ECHO_C" >&6
     
    2122221276
    2122321277
    21224   # Check if the symbol is provided in the library
    21225   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21226   if test x"$glpk_libcheck" != xno; then
    21227                     coin_save_LIBS="$LIBS"
    21228                     LIBS="$GLPKLIB $ADDLIBS"
    21229                     echo "$as_me:$LINENO: checking whether symbol glp_lpx_simplex is available with GLPK" >&5
    21230 echo $ECHO_N "checking whether symbol glp_lpx_simplex is available with GLPK... $ECHO_C" >&6
    21231                     ac_ext=c
     21278# Now see if we can link the function. There are arguments for and against
     21279# assuming argument 3 is a header file declaring the function. A correct
     21280# function declaration is the main argument in favour. Having to cope with
     21281# possible dependencies or other oddities are the main arguments against.
     21282# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21283# Obviously, this has limits.
     21284
     21285    if test x"$glpk_libcheck" != xno; then
     21286           coin_save_LIBS="$LIBS"
     21287           LIBS="$GLPKLIB $ADDLIBS"
     21288           coin_GLPK_link=no
     21289           ac_ext=c
    2123221290ac_cpp='$CPP $CPPFLAGS'
    2123321291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2123521293ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2123621294
    21237 # ToDo find out what to do about extern "C"
    21238 #                    AC_TRY_LINK([extern "C" {void glp_lpx_simplex();}],[glp_lpx_simplex()],
    21239                     cat >conftest.$ac_ext <<_ACEOF
     21295           for fnm in glp_lpx_simplex ; do
     21296             echo "$as_me:$LINENO: checking whether symbol $fnm is available with GLPK" >&5
     21297echo $ECHO_N "checking whether symbol $fnm is available with GLPK... $ECHO_C" >&6
     21298             cat >conftest.$ac_ext <<_ACEOF
    2124021299/* confdefs.h.  */
    2124121300_ACEOF
     
    2124321302cat >>conftest.$ac_ext <<_ACEOF
    2124421303/* end confdefs.h.  */
    21245 void glp_lpx_simplex();
     21304
    2124621305int
    2124721306main ()
    2124821307{
    21249 glp_lpx_simplex()
     21308$fnm()
    2125021309  ;
    2125121310  return 0;
     
    2127621335  echo "$as_me:$LINENO: result: yes" >&5
    2127721336echo "${ECHO_T}yes" >&6
     21337                  coin_GLPK_link=yes
     21338                  break
    2127821339else
    2127921340  echo "$as_me: failed program was:" >&5
     
    2128221343echo "$as_me:$LINENO: result: no" >&5
    2128321344echo "${ECHO_T}no" >&6
    21284                                  { { echo "$as_me:$LINENO: error: Cannot find symbol glp_lpx_simplex with GLPK" >&5
    21285 echo "$as_me: error: Cannot find symbol glp_lpx_simplex with GLPK" >&2;}
    21286    { (exit 1); exit 1; }; }
    2128721345fi
    2128821346rm -f conftest.err conftest.$ac_objext \
    2128921347      conftest$ac_exeext conftest.$ac_ext
    21290                     ac_ext=c
     21348           done
     21349           ac_ext=c
    2129121350ac_cpp='$CPP $CPPFLAGS'
    2129221351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2129421353ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2129521354
    21296                     LIBS="$coin_save_LIBS"
    21297                   fi
    21298 
    21299   ADDLIBS="$GLPKLIB $ADDLIBS"
     21355           if test x"$coin_GLPK_link" = xyes ; then
     21356             LIBS="$coin_save_LIBS"
     21357           else
     21358             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&5
     21359echo "$as_me: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&2;}
     21360   { (exit 1); exit 1; }; }
     21361           fi
     21362         fi
     21363
     21364
     21365# If we make it this far, we've verified the file and linked the function. Add
     21366# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21367# COIN_HAS_LBRY.
     21368
     21369    ADDLIBS="$GLPKLIB $ADDLIBS"
    2130021370
    2130121371cat >>confdefs.h <<\_ACEOF
     
    2130321373_ACEOF
    2130421374
    21305 else
    21306   echo "$as_me:$LINENO: result: no" >&5
    21307 echo "${ECHO_T}no" >&6
    21308 fi
     21375  fi
     21376
     21377# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21378# automake conditional. These actions must occur unconditionally.
    2130921379
    2131021380
     
    2132221392
    2132321393
    21324 echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
     21394  echo "$as_me:$LINENO: checking if user provides library for Osl" >&5
    2132521395echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
    2132621396
    2132721397# Check for header file directory
     21398
    2132821399
    2132921400# Check whether --with-osl-incdir or --without-osl-incdir was given.
     
    2133221403  OSLINCDIR=`cd $withval; pwd`
    2133321404fi;
     21405
    2133421406# Check for library directory
     21407
    2133521408
    2133621409# Check whether --with-osl-lib or --without-osl-lib was given.
     
    2133921412  OSLLIB=$withval
    2134021413fi;
     21414
    2134121415# Switch to disable library check if requested
    21342 # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
     21416
     21417  # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
    2134321418if test "${enable_osl_libcheck+set}" = set; then
    2134421419  enableval="$enable_osl_libcheck"
     
    2134821423fi;
    2134921424
    21350 if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
    21351   coin_has_osl=true
    21352 else
    21353   coin_has_osl=false
    21354 fi
    21355 
    21356 if test $coin_has_osl = true; then
    21357 # Check either both arguments or none are given
    21358   if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
    21359     { { echo "$as_me:$LINENO: error: You need to specify both --with-osl-incdir and --with-osl-lib if you want to use library Osl" >&5
    21360 echo "$as_me: error: You need to specify both --with-osl-incdir and --with-osl-lib if you want to use library Osl" >&2;}
     21425# At this point, if we're going to use the library, both LBRYINCDIR and
     21426# LBRYLIB must be defined and not empty.
     21427
     21428  if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
     21429    if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
     21430      { { 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
     21431echo "$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;}
    2136121432   { (exit 1); exit 1; }; }
     21433    fi
     21434    coin_has_osl=true
     21435    echo "$as_me:$LINENO: result: yes" >&5
     21436echo "${ECHO_T}yes" >&6
     21437  else
     21438    coin_has_osl=false
     21439    echo "$as_me:$LINENO: result: no" >&5
     21440echo "${ECHO_T}no" >&6
    2136221441  fi
    21363   echo "$as_me:$LINENO: result: yes" >&5
    21364 echo "${ECHO_T}yes" >&6
    21365   # Check if the given header file is there
    21366   as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh`
     21442
     21443# If we have instructions for use, consider header and link checks.
     21444
     21445  if test $coin_has_osl = true; then
     21446
     21447# If argument 3 (file) is given, check for the file. Typically this will be a
     21448# header file, but that's not assumed.
     21449
     21450    as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh`
    2136721451echo "$as_me:$LINENO: checking for $OSLINCDIR/ekk_c_api.h" >&5
    2136821452echo $ECHO_N "checking for $OSLINCDIR/ekk_c_api.h... $ECHO_C" >&6
     
    2139121475
    2139221476
    21393   # Check if the symbol is provided in the library
    21394   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21395   if test x"$osl_libcheck" != xno; then
    21396                     coin_save_LIBS="$LIBS"
    21397                     LIBS="$OSLLIB $ADDLIBS"
    21398                     echo "$as_me:$LINENO: checking whether symbol ekk_simplex is available with OSL" >&5
    21399 echo $ECHO_N "checking whether symbol ekk_simplex is available with OSL... $ECHO_C" >&6
    21400                     ac_ext=c
     21477# Now see if we can link the function. There are arguments for and against
     21478# assuming argument 3 is a header file declaring the function. A correct
     21479# function declaration is the main argument in favour. Having to cope with
     21480# possible dependencies or other oddities are the main arguments against.
     21481# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21482# Obviously, this has limits.
     21483
     21484    if test x"$osl_libcheck" != xno; then
     21485           coin_save_LIBS="$LIBS"
     21486           LIBS="$OSLLIB $ADDLIBS"
     21487           coin_OSL_link=no
     21488           ac_ext=c
    2140121489ac_cpp='$CPP $CPPFLAGS'
    2140221490ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2140421492ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2140521493
    21406 # ToDo find out what to do about extern "C"
    21407 #                    AC_TRY_LINK([extern "C" {void ekk_simplex();}],[ekk_simplex()],
    21408                     cat >conftest.$ac_ext <<_ACEOF
     21494           for fnm in ekk_simplex ; do
     21495             echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5
     21496echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6
     21497             cat >conftest.$ac_ext <<_ACEOF
    2140921498/* confdefs.h.  */
    2141021499_ACEOF
     
    2141221501cat >>conftest.$ac_ext <<_ACEOF
    2141321502/* end confdefs.h.  */
    21414 void ekk_simplex();
     21503
    2141521504int
    2141621505main ()
    2141721506{
    21418 ekk_simplex()
     21507$fnm()
    2141921508  ;
    2142021509  return 0;
     
    2144521534  echo "$as_me:$LINENO: result: yes" >&5
    2144621535echo "${ECHO_T}yes" >&6
     21536                  coin_OSL_link=yes
     21537                  break
    2144721538else
    2144821539  echo "$as_me: failed program was:" >&5
     
    2145121542echo "$as_me:$LINENO: result: no" >&5
    2145221543echo "${ECHO_T}no" >&6
    21453                                  { { echo "$as_me:$LINENO: error: Cannot find symbol ekk_simplex with OSL" >&5
    21454 echo "$as_me: error: Cannot find symbol ekk_simplex with OSL" >&2;}
    21455    { (exit 1); exit 1; }; }
    2145621544fi
    2145721545rm -f conftest.err conftest.$ac_objext \
    2145821546      conftest$ac_exeext conftest.$ac_ext
    21459                     ac_ext=c
     21547           done
     21548           ac_ext=c
    2146021549ac_cpp='$CPP $CPPFLAGS'
    2146121550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2146321552ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2146421553
    21465                     LIBS="$coin_save_LIBS"
    21466                   fi
    21467 
    21468   ADDLIBS="$OSLLIB $ADDLIBS"
     21554           if test x"$coin_OSL_link" = xyes ; then
     21555             LIBS="$coin_save_LIBS"
     21556           else
     21557             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5
     21558echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;}
     21559   { (exit 1); exit 1; }; }
     21560           fi
     21561         fi
     21562
     21563
     21564# If we make it this far, we've verified the file and linked the function. Add
     21565# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21566# COIN_HAS_LBRY.
     21567
     21568    ADDLIBS="$OSLLIB $ADDLIBS"
    2146921569
    2147021570cat >>confdefs.h <<\_ACEOF
     
    2147221572_ACEOF
    2147321573
    21474 else
    21475   echo "$as_me:$LINENO: result: no" >&5
    21476 echo "${ECHO_T}no" >&6
    21477 fi
     21574  fi
     21575
     21576# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21577# automake conditional. These actions must occur unconditionally.
    2147821578
    2147921579
     
    2149121591
    2149221592
    21493 echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
     21593  echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
    2149421594echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
    2149521595
    2149621596# Check for header file directory
     21597
    2149721598
    2149821599# Check whether --with-soplex-incdir or --without-soplex-incdir was given.
     
    2150121602  SPXINCDIR=`cd $withval; pwd`
    2150221603fi;
     21604
    2150321605# Check for library directory
     21606
    2150421607
    2150521608# Check whether --with-soplex-lib or --without-soplex-lib was given.
     
    2150821611  SPXLIB=$withval
    2150921612fi;
     21613
    2151021614# Switch to disable library check if requested
    21511 # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
     21615
     21616  # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
    2151221617if test "${enable_soplex_libcheck+set}" = set; then
    2151321618  enableval="$enable_soplex_libcheck"
     
    2151721622fi;
    2151821623
    21519 if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
    21520   coin_has_spx=true
    21521 else
    21522   coin_has_spx=false
    21523 fi
    21524 
    21525 if test $coin_has_spx = true; then
    21526 # Check either both arguments or none are given
    21527   if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
    21528     { { echo "$as_me:$LINENO: error: You need to specify both --with-soplex-incdir and --with-soplex-lib if you want to use library Soplex" >&5
    21529 echo "$as_me: error: You need to specify both --with-soplex-incdir and --with-soplex-lib if you want to use library Soplex" >&2;}
     21624# At this point, if we're going to use the library, both LBRYINCDIR and
     21625# LBRYLIB must be defined and not empty.
     21626
     21627  if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
     21628    if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
     21629      { { 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
     21630echo "$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;}
    2153021631   { (exit 1); exit 1; }; }
     21632    fi
     21633    coin_has_spx=true
     21634    echo "$as_me:$LINENO: result: yes" >&5
     21635echo "${ECHO_T}yes" >&6
     21636  else
     21637    coin_has_spx=false
     21638    echo "$as_me:$LINENO: result: no" >&5
     21639echo "${ECHO_T}no" >&6
    2153121640  fi
    21532   echo "$as_me:$LINENO: result: yes" >&5
    21533 echo "${ECHO_T}yes" >&6
    21534   # Check if the given header file is there
    21535   as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh`
     21641
     21642# If we have instructions for use, consider header and link checks.
     21643
     21644  if test $coin_has_spx = true; then
     21645
     21646# If argument 3 (file) is given, check for the file. Typically this will be a
     21647# header file, but that's not assumed.
     21648
     21649    as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh`
    2153621650echo "$as_me:$LINENO: checking for $SPXINCDIR/spxsolver.h" >&5
    2153721651echo $ECHO_N "checking for $SPXINCDIR/spxsolver.h... $ECHO_C" >&6
     
    2156021674
    2156121675
    21562   # Check if the symbol is provided in the library
    21563   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21564 
    21565   ADDLIBS="$SPXLIB $ADDLIBS"
     21676# Now see if we can link the function. There are arguments for and against
     21677# assuming argument 3 is a header file declaring the function. A correct
     21678# function declaration is the main argument in favour. Having to cope with
     21679# possible dependencies or other oddities are the main arguments against.
     21680# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21681# Obviously, this has limits.
     21682
     21683
     21684
     21685# If we make it this far, we've verified the file and linked the function. Add
     21686# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21687# COIN_HAS_LBRY.
     21688
     21689    ADDLIBS="$SPXLIB $ADDLIBS"
    2156621690
    2156721691cat >>confdefs.h <<\_ACEOF
     
    2156921693_ACEOF
    2157021694
    21571 else
    21572   echo "$as_me:$LINENO: result: no" >&5
    21573 echo "${ECHO_T}no" >&6
    21574 fi
     21695  fi
     21696
     21697# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21698# automake conditional. These actions must occur unconditionally.
    2157521699
    2157621700
     
    2158821712 # ToDo
    2158921713
    21590 echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
     21714  echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
    2159121715echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
    2159221716
    2159321717# Check for header file directory
     21718
    2159421719
    2159521720# Check whether --with-xpress-incdir or --without-xpress-incdir was given.
     
    2159821723  XPRINCDIR=`cd $withval; pwd`
    2159921724fi;
     21725
    2160021726# Check for library directory
     21727
    2160121728
    2160221729# Check whether --with-xpress-lib or --without-xpress-lib was given.
     
    2160521732  XPRLIB=$withval
    2160621733fi;
     21734
    2160721735# Switch to disable library check if requested
    21608 # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
     21736
     21737  # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
    2160921738if test "${enable_xpress_libcheck+set}" = set; then
    2161021739  enableval="$enable_xpress_libcheck"
     
    2161421743fi;
    2161521744
    21616 if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
    21617   coin_has_xpr=true
    21618 else
    21619   coin_has_xpr=false
    21620 fi
    21621 
    21622 if test $coin_has_xpr = true; then
    21623 # Check either both arguments or none are given
    21624   if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
    21625     { { echo "$as_me:$LINENO: error: You need to specify both --with-xpress-incdir and --with-xpress-lib if you want to use library Xpress" >&5
    21626 echo "$as_me: error: You need to specify both --with-xpress-incdir and --with-xpress-lib if you want to use library Xpress" >&2;}
     21745# At this point, if we're going to use the library, both LBRYINCDIR and
     21746# LBRYLIB must be defined and not empty.
     21747
     21748  if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
     21749    if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
     21750      { { 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
     21751echo "$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;}
    2162721752   { (exit 1); exit 1; }; }
     21753    fi
     21754    coin_has_xpr=true
     21755    echo "$as_me:$LINENO: result: yes" >&5
     21756echo "${ECHO_T}yes" >&6
     21757  else
     21758    coin_has_xpr=false
     21759    echo "$as_me:$LINENO: result: no" >&5
     21760echo "${ECHO_T}no" >&6
    2162821761  fi
    21629   echo "$as_me:$LINENO: result: yes" >&5
    21630 echo "${ECHO_T}yes" >&6
    21631   # Check if the given header file is there
    21632   as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh`
     21762
     21763# If we have instructions for use, consider header and link checks.
     21764
     21765  if test $coin_has_xpr = true; then
     21766
     21767# If argument 3 (file) is given, check for the file. Typically this will be a
     21768# header file, but that's not assumed.
     21769
     21770    as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh`
    2163321771echo "$as_me:$LINENO: checking for $XPRINCDIR/xprs.h" >&5
    2163421772echo $ECHO_N "checking for $XPRINCDIR/xprs.h... $ECHO_C" >&6
     
    2165721795
    2165821796
    21659   # Check if the symbol is provided in the library
    21660   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21661   if test x"$xpress_libcheck" != xno; then
    21662                     coin_save_LIBS="$LIBS"
    21663                     LIBS="$XPRLIB $ADDLIBS"
    21664                     echo "$as_me:$LINENO: checking whether symbol XPRSsetintcontrol is available with XPR" >&5
    21665 echo $ECHO_N "checking whether symbol XPRSsetintcontrol is available with XPR... $ECHO_C" >&6
    21666                     ac_ext=c
     21797# Now see if we can link the function. There are arguments for and against
     21798# assuming argument 3 is a header file declaring the function. A correct
     21799# function declaration is the main argument in favour. Having to cope with
     21800# possible dependencies or other oddities are the main arguments against.
     21801# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21802# Obviously, this has limits.
     21803
     21804    if test x"$xpress_libcheck" != xno; then
     21805           coin_save_LIBS="$LIBS"
     21806           LIBS="$XPRLIB $ADDLIBS"
     21807           coin_XPR_link=no
     21808           ac_ext=c
    2166721809ac_cpp='$CPP $CPPFLAGS'
    2166821810ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2167021812ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2167121813
    21672 # ToDo find out what to do about extern "C"
    21673 #                    AC_TRY_LINK([extern "C" {void XPRSsetintcontrol();}],[XPRSsetintcontrol()],
    21674                     cat >conftest.$ac_ext <<_ACEOF
     21814           for fnm in XPRSsetintcontrol ; do
     21815             echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5
     21816echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6
     21817             cat >conftest.$ac_ext <<_ACEOF
    2167521818/* confdefs.h.  */
    2167621819_ACEOF
     
    2167821821cat >>conftest.$ac_ext <<_ACEOF
    2167921822/* end confdefs.h.  */
    21680 void XPRSsetintcontrol();
     21823
    2168121824int
    2168221825main ()
    2168321826{
    21684 XPRSsetintcontrol()
     21827$fnm()
    2168521828  ;
    2168621829  return 0;
     
    2171121854  echo "$as_me:$LINENO: result: yes" >&5
    2171221855echo "${ECHO_T}yes" >&6
     21856                  coin_XPR_link=yes
     21857                  break
    2171321858else
    2171421859  echo "$as_me: failed program was:" >&5
     
    2171721862echo "$as_me:$LINENO: result: no" >&5
    2171821863echo "${ECHO_T}no" >&6
    21719                                  { { echo "$as_me:$LINENO: error: Cannot find symbol XPRSsetintcontrol with XPR" >&5
    21720 echo "$as_me: error: Cannot find symbol XPRSsetintcontrol with XPR" >&2;}
    21721    { (exit 1); exit 1; }; }
    2172221864fi
    2172321865rm -f conftest.err conftest.$ac_objext \
    2172421866      conftest$ac_exeext conftest.$ac_ext
    21725                     ac_ext=c
     21867           done
     21868           ac_ext=c
    2172621869ac_cpp='$CPP $CPPFLAGS'
    2172721870ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2172921872ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2173021873
    21731                     LIBS="$coin_save_LIBS"
    21732                   fi
    21733 
    21734   ADDLIBS="$XPRLIB $ADDLIBS"
     21874           if test x"$coin_XPR_link" = xyes ; then
     21875             LIBS="$coin_save_LIBS"
     21876           else
     21877             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5
     21878echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;}
     21879   { (exit 1); exit 1; }; }
     21880           fi
     21881         fi
     21882
     21883
     21884# If we make it this far, we've verified the file and linked the function. Add
     21885# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21886# COIN_HAS_LBRY.
     21887
     21888    ADDLIBS="$XPRLIB $ADDLIBS"
    2173521889
    2173621890cat >>confdefs.h <<\_ACEOF
     
    2173821892_ACEOF
    2173921893
    21740 else
    21741   echo "$as_me:$LINENO: result: no" >&5
    21742 echo "${ECHO_T}no" >&6
    21743 fi
     21894  fi
     21895
     21896# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21897# automake conditional. These actions must occur unconditionally.
    2174421898
    2174521899
     
    2339223546  if test x"$coin_vpath_link_files" = x; then : ; else
    2339323547    lnkcmd=
    23394     if test "$enable_doscompile" = yes; then
     23548    if test "$enable_doscompile" = mingw; then
    2339523549      lnkcmd=cp
    2339623550    fi
Note: See TracChangeset for help on using the changeset viewer.