Ignore:
Timestamp:
Aug 8, 2007 10:31:23 PM (12 years ago)
Author:
andreasw
Message:

regenerated autotools files with latest stable/0.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.2/Cbc/configure

    r567 r726  
    11241124                          specify default solver for Cbc in lower case letters
    11251125                          (if not given, clp is assumed)
    1126   --with-cplex-incdir specify the directory with the header files for library
    1127                           Cplex
    1128   --with-cplex-lib specify the flags to link with the library Cplex
    1129   --with-glpk-incdir specify the directory with the header files for library
    1130                           Glpk
    1131   --with-glpk-lib specify the flags to link with the library Glpk
    1132   --with-fortmp-incdir specify the directory with the header files for library
    1133                           FortMP
    1134   --with-fortmp-lib specify the flags to link with the library FortMP
    1135   --with-mosek-incdir specify the directory with the header files for library
    1136                           Mosek
    1137   --with-mosek-lib specify the flags to link with the library Mosek
    1138   --with-osl-incdir specify the directory with the header files for library
    1139                           Osl
    1140   --with-osl-lib specify the flags to link with the library Osl
    1141   --with-soplex-incdir specify the directory with the header files for library
    1142                           Soplex
    1143   --with-soplex-lib specify the flags to link with the library Soplex
    1144   --with-xpress-incdir specify the directory with the header files for library
    1145                           Xpress
    1146   --with-xpress-lib specify the flags to link with the library Xpress
     1126  --with-cplex-incdir specify the header file directory for library Cplex
     1127  --with-cplex-lib specify the flags used to link with the library Cplex
     1128  --with-glpk-incdir specify the header file directory for library Glpk
     1129  --with-glpk-lib specify the flags used to link with the library Glpk
     1130  --with-fortmp-incdir specify the header file directory for library FortMP
     1131  --with-fortmp-lib specify the flags used to link with the library FortMP
     1132  --with-mosek-incdir specify the header file directory for library Mosek
     1133  --with-mosek-lib specify the flags used to link with the library Mosek
     1134  --with-osl-incdir specify the header file directory for library Osl
     1135  --with-osl-lib specify the flags used to link with the library Osl
     1136  --with-soplex-incdir specify the header file directory for library Soplex
     1137  --with-soplex-lib specify the flags used to link with the library Soplex
     1138  --with-xpress-incdir specify the header file directory for library Xpress
     1139  --with-xpress-lib specify the flags used to link with the library Xpress
    11471140  --with-asldir           specify path to AMPL solver directory (or BUILD for
    11481141                          compilation, or "no" for disabling AMPL)
     
    17461739  case "${enableval}" in
    17471740   yes) coin_debug_compile=true
    1748         enable_shared=no
     1741        if test "${enable_shared+set}" = set; then :; else
     1742          enable_shared=no
     1743        fi
    17491744        ;;
    17501745   no)  coin_debug_compile=false
     
    17911786if test "${with_cbc_verbosity+set}" = set; then
    17921787  withval="$with_cbc_verbosity"
    1793   coin_cbc_verbosity=$withval
     1788  if test "$withval" = yes; then
     1789                withval=1
     1790              fi
     1791              coin_cbc_verbosity=$withval
    17941792else
    17951793  coin_cbc_verbosity=0
     
    18051803if test "${with_cbc_checklevel+set}" = set; then
    18061804  withval="$with_cbc_checklevel"
    1807   coin_cbc_checklevel=$withval
     1805  if test "$withval" = yes; then
     1806                withval=1
     1807              fi
     1808              coin_cbc_checklevel=$withval
    18081809else
    18091810  coin_cbc_checklevel=0
     
    27352736          cl* | */cl* | CL* | */CL*)
    27362737            coin_opt_cflags='-MT -O2'
    2737             coin_add_cflags='-nologo -wd4996'
     2738            coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    27382739            coin_dbg_cflags='-MTd'
    27392740            ;;
     
    34683469fi
    34693470
     3471# It seems that we need to cleanup something here for the Windows
     3472case "$CXX" in
     3473  cl* | */cl* | CL* | */CL* )
     3474    sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
     3475    mv confdefs.hh confdefs.h
     3476    ;;
     3477esac
     3478
    34703479# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
    34713480case "$CXX" in
     
    35683577            # The MT and MTd options are mutually exclusive
    35693578            coin_opt_cxxflags='-MT -O2'
    3570             coin_add_cxxflags='-nologo -EHsc -GR -wd4996'
     3579            coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE'
    35713580            coin_dbg_cxxflags='-MTd'
    35723581            ;;
     
    49084917    correct_version='1.5.22'
    49094918    grep_version=`echo  $correct_version | sed -e 's/\\./\\\\\\./g'`
    4910     as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh`
    4911 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5
    4912 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6
    4913 if eval "test \"\${$as_ac_File+set}\" = set"; then
    4914   echo $ECHO_N "(cached) $ECHO_C" >&6
    4915 else
    4916   test "$cross_compiling" = yes &&
    4917   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    4918 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    4919    { (exit 1); exit 1; }; }
    4920 if test -r "$want_dir/libtool/ltmain.sh"; then
    4921   eval "$as_ac_File=yes"
    4922 else
    4923   eval "$as_ac_File=no"
    4924 fi
    4925 fi
    4926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    4927 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    4928 if test `eval echo '${'$as_ac_File'}'` = yes; then
     4919    if test -r $want_dir/libtool/ltmain.sh; then
    49294920  have_ltmain=yes
     4921  :
    49304922else
    49314923  have_ltmain=no
     4924  :
    49324925fi
    49334926
     
    49604953    want_dir=$AUTOTOOLS_DIR/share
    49614954  fi
    4962   as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh`
    4963 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5
    4964 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6
    4965 if eval "test \"\${$as_ac_File+set}\" = set"; then
    4966   echo $ECHO_N "(cached) $ECHO_C" >&6
    4967 else
    4968   test "$cross_compiling" = yes &&
    4969   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    4970 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    4971    { (exit 1); exit 1; }; }
    4972 if test -r "$want_dir/aclocal/libtool.m4"; then
    4973   eval "$as_ac_File=yes"
    4974 else
    4975   eval "$as_ac_File=no"
    4976 fi
    4977 fi
    4978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    4979 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    4980 if test `eval echo '${'$as_ac_File'}'` = yes; then
     4955  if test -r $want_dir/aclocal/libtool.m4; then
    49814956  LIBTOOLM4="$want_dir/aclocal/libtool.m4"
     4957  :
    49824958else
    49834959  { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5
    49844960echo "$as_me: error: I cannot find the libtool.m4 file." >&2;}
    49854961   { (exit 1); exit 1; }; }
     4962  :
    49864963fi
    49874964
     
    56695646*-*-irix6*)
    56705647  # Find out which ABI we are using.
    5671   echo '#line 5671 "configure"' > conftest.$ac_ext
     5648  echo '#line 5648 "configure"' > conftest.$ac_ext
    56725649  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    56735650  (eval $ac_compile) 2>&5
     
    68036780
    68046781# Provide some information about the compiler.
    6805 echo "$as_me:6805:" \
     6782echo "$as_me:6782:" \
    68066783     "checking for Fortran 77 compiler version" >&5
    68076784ac_compiler=`set X $ac_compile; echo $2`
     
    78707847   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    78717848   -e 's:$: $lt_compiler_flag:'`
    7872    (eval echo "\"\$as_me:7872: $lt_compile\"" >&5)
     7849   (eval echo "\"\$as_me:7849: $lt_compile\"" >&5)
    78737850   (eval "$lt_compile" 2>conftest.err)
    78747851   ac_status=$?
    78757852   cat conftest.err >&5
    7876    echo "$as_me:7876: \$? = $ac_status" >&5
     7853   echo "$as_me:7853: \$? = $ac_status" >&5
    78777854   if (exit $ac_status) && test -s "$ac_outfile"; then
    78787855     # The compiler can only warn and ignore the option if not recognized
     
    81388115   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81398116   -e 's:$: $lt_compiler_flag:'`
    8140    (eval echo "\"\$as_me:8140: $lt_compile\"" >&5)
     8117   (eval echo "\"\$as_me:8117: $lt_compile\"" >&5)
    81418118   (eval "$lt_compile" 2>conftest.err)
    81428119   ac_status=$?
    81438120   cat conftest.err >&5
    8144    echo "$as_me:8144: \$? = $ac_status" >&5
     8121   echo "$as_me:8121: \$? = $ac_status" >&5
    81458122   if (exit $ac_status) && test -s "$ac_outfile"; then
    81468123     # The compiler can only warn and ignore the option if not recognized
     
    82428219   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82438220   -e 's:$: $lt_compiler_flag:'`
    8244    (eval echo "\"\$as_me:8244: $lt_compile\"" >&5)
     8221   (eval echo "\"\$as_me:8221: $lt_compile\"" >&5)
    82458222   (eval "$lt_compile" 2>out/conftest.err)
    82468223   ac_status=$?
    82478224   cat out/conftest.err >&5
    8248    echo "$as_me:8248: \$? = $ac_status" >&5
     8225   echo "$as_me:8225: \$? = $ac_status" >&5
    82498226   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    82508227   then
     
    1058710564  lt_status=$lt_dlunknown
    1058810565  cat > conftest.$ac_ext <<EOF
    10589 #line 10589 "configure"
     10566#line 10566 "configure"
    1059010567#include "confdefs.h"
    1059110568
     
    1068710664  lt_status=$lt_dlunknown
    1068810665  cat > conftest.$ac_ext <<EOF
    10689 #line 10689 "configure"
     10666#line 10666 "configure"
    1069010667#include "confdefs.h"
    1069110668
     
    1303113008   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1303213009   -e 's:$: $lt_compiler_flag:'`
    13033    (eval echo "\"\$as_me:13033: $lt_compile\"" >&5)
     13010   (eval echo "\"\$as_me:13010: $lt_compile\"" >&5)
    1303413011   (eval "$lt_compile" 2>conftest.err)
    1303513012   ac_status=$?
    1303613013   cat conftest.err >&5
    13037    echo "$as_me:13037: \$? = $ac_status" >&5
     13014   echo "$as_me:13014: \$? = $ac_status" >&5
    1303813015   if (exit $ac_status) && test -s "$ac_outfile"; then
    1303913016     # The compiler can only warn and ignore the option if not recognized
     
    1313513112   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1313613113   -e 's:$: $lt_compiler_flag:'`
    13137    (eval echo "\"\$as_me:13137: $lt_compile\"" >&5)
     13114   (eval echo "\"\$as_me:13114: $lt_compile\"" >&5)
    1313813115   (eval "$lt_compile" 2>out/conftest.err)
    1313913116   ac_status=$?
    1314013117   cat out/conftest.err >&5
    13141    echo "$as_me:13141: \$? = $ac_status" >&5
     13118   echo "$as_me:13118: \$? = $ac_status" >&5
    1314213119   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1314313120   then
     
    1470514682   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1470614683   -e 's:$: $lt_compiler_flag:'`
    14707    (eval echo "\"\$as_me:14707: $lt_compile\"" >&5)
     14684   (eval echo "\"\$as_me:14684: $lt_compile\"" >&5)
    1470814685   (eval "$lt_compile" 2>conftest.err)
    1470914686   ac_status=$?
    1471014687   cat conftest.err >&5
    14711    echo "$as_me:14711: \$? = $ac_status" >&5
     14688   echo "$as_me:14688: \$? = $ac_status" >&5
    1471214689   if (exit $ac_status) && test -s "$ac_outfile"; then
    1471314690     # The compiler can only warn and ignore the option if not recognized
     
    1480914786   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1481014787   -e 's:$: $lt_compiler_flag:'`
    14811    (eval echo "\"\$as_me:14811: $lt_compile\"" >&5)
     14788   (eval echo "\"\$as_me:14788: $lt_compile\"" >&5)
    1481214789   (eval "$lt_compile" 2>out/conftest.err)
    1481314790   ac_status=$?
    1481414791   cat out/conftest.err >&5
    14815    echo "$as_me:14815: \$? = $ac_status" >&5
     14792   echo "$as_me:14792: \$? = $ac_status" >&5
    1481614793   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1481714794   then
     
    1701616993   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1701716994   -e 's:$: $lt_compiler_flag:'`
    17018    (eval echo "\"\$as_me:17018: $lt_compile\"" >&5)
     16995   (eval echo "\"\$as_me:16995: $lt_compile\"" >&5)
    1701916996   (eval "$lt_compile" 2>conftest.err)
    1702016997   ac_status=$?
    1702116998   cat conftest.err >&5
    17022    echo "$as_me:17022: \$? = $ac_status" >&5
     16999   echo "$as_me:16999: \$? = $ac_status" >&5
    1702317000   if (exit $ac_status) && test -s "$ac_outfile"; then
    1702417001     # The compiler can only warn and ignore the option if not recognized
     
    1728417261   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1728517262   -e 's:$: $lt_compiler_flag:'`
    17286    (eval echo "\"\$as_me:17286: $lt_compile\"" >&5)
     17263   (eval echo "\"\$as_me:17263: $lt_compile\"" >&5)
    1728717264   (eval "$lt_compile" 2>conftest.err)
    1728817265   ac_status=$?
    1728917266   cat conftest.err >&5
    17290    echo "$as_me:17290: \$? = $ac_status" >&5
     17267   echo "$as_me:17267: \$? = $ac_status" >&5
    1729117268   if (exit $ac_status) && test -s "$ac_outfile"; then
    1729217269     # The compiler can only warn and ignore the option if not recognized
     
    1738817365   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1738917366   -e 's:$: $lt_compiler_flag:'`
    17390    (eval echo "\"\$as_me:17390: $lt_compile\"" >&5)
     17367   (eval echo "\"\$as_me:17367: $lt_compile\"" >&5)
    1739117368   (eval "$lt_compile" 2>out/conftest.err)
    1739217369   ac_status=$?
    1739317370   cat out/conftest.err >&5
    17394    echo "$as_me:17394: \$? = $ac_status" >&5
     17371   echo "$as_me:17371: \$? = $ac_status" >&5
    1739517372   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1739617373   then
     
    2009520072  { echo "$as_me:$LINENO: Build is \"$build\"." >&5
    2009620073echo "$as_me: Build is \"$build\"." >&6;}
     20074  mydos2unix='| dos2unix'
    2009720075  case $build in
    2009820076    *-mingw*)
    2009920077      CYGPATH_W=echo
     20078      mydos2unix=
    2010020079      ;;
    2010120080  esac
    2010220081
    2010320082  case $build in
     20083    *x86_64-*)
     20084# Here we need to check if -m32 is specified.  If so, we need to correct sys_lib_search_path_spec
     20085      if test "$GCC" = yes && (echo $CXXFLAGS $CFLAGS $FFLAGS | $EGREP 'm32' >& /dev/null); then
     20086        { echo "$as_me:$LINENO: Applying patches to libtool for 32bit compilation" >&5
     20087echo "$as_me: Applying patches to libtool for 32bit compilation" >&6;}
     20088        sed -e 's|sys_lib_search_path_spec=".*"|sys_lib_search_path_spec="/lib /usr/lib"|' libtool > conftest.bla
     20089        mv conftest.bla libtool
     20090        chmod 755 libtool
     20091      fi
     20092      ;;
    2010420093    *-cygwin* | *-mingw*)
    2010520094    case "$CXX" in
     
    2011320102            -e 's%lib /OUT:%lib -OUT:%' \
    2011420103            -e "s%cygpath -w%$CYGPATH_W%" \
    20115             -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%' \
     20104            -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%' \
    2011620105            -e 's/$AR t/lib -nologo -list/' \
    2011720106            -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \
    20118             -e  's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \
     20107            -e 's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \
     20108            -e 's%old_archive_cmds="lib -OUT:\\$oldlib\\$oldobjs\\$old_deplibs"%old_archive_cmds="if test -r \\$oldlib; then bla=\\"\\$oldlib\\"; else bla=; fi; lib -OUT:\\$oldlib \\\\\\$bla\\$oldobjs\\$old_deplibs"%' \
    2011920109        libtool > conftest.bla
    2012020110
     
    2013420124        ;;
    2013520125    esac
     20126    ;;
     20127    *-darwin*)
     20128      { echo "$as_me:$LINENO: Applying patches to libtool for Darwin" >&5
     20129echo "$as_me: Applying patches to libtool for Darwin" >&6;}
     20130      sed -e 's/verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"/verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"/' \
     20131      libtool > conftest.bla
     20132
     20133      mv conftest.bla libtool
     20134      chmod 755 libtool
     20135      ;;
    2013620136  esac
    2013720137# This fi matches the commented `if test "x$LIBTOOL" = x;' up at the head of
     
    2074720747# Check which third party solvers are available ToDo!
    2074820748
    20749 echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
     20749  echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5
    2075020750echo $ECHO_N "checking if user provides library for Cplex... $ECHO_C" >&6
    2075120751
    2075220752# Check for header file directory
     20753
    2075320754
    2075420755# Check whether --with-cplex-incdir or --without-cplex-incdir was given.
     
    2075720758  CPXINCDIR=`cd $withval; pwd`
    2075820759fi;
     20760
    2075920761# Check for library directory
     20762
    2076020763
    2076120764# Check whether --with-cplex-lib or --without-cplex-lib was given.
     
    2076420767  CPXLIB=$withval
    2076520768fi;
     20769
    2076620770# Switch to disable library check if requested
    20767 # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given.
     20771
     20772  # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given.
    2076820773if test "${enable_cplex_libcheck+set}" = set; then
    2076920774  enableval="$enable_cplex_libcheck"
     
    2077320778fi;
    2077420779
    20775 if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then
    20776   coin_has_cpx=true
    20777 else
    20778   coin_has_cpx=false
    20779 fi
    20780 
    20781 if test $coin_has_cpx = true; then
    20782 # Check either both arguments or none are given
    20783   if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then
    20784     { { 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
    20785 echo "$as_me: error: You need to specify both --with-cplex-incdir and --with-cplex-lib if you want to use library Cplex" >&2;}
     20780# At this point, if we're going to use the library, both LBRYINCDIR and
     20781# LBRYLIB must be defined and not empty.
     20782
     20783  if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then
     20784    if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then
     20785      { { 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
     20786echo "$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;}
    2078620787   { (exit 1); exit 1; }; }
     20788    fi
     20789    coin_has_cpx=true
     20790    echo "$as_me:$LINENO: result: yes" >&5
     20791echo "${ECHO_T}yes" >&6
     20792  else
     20793    coin_has_cpx=false
     20794    echo "$as_me:$LINENO: result: no" >&5
     20795echo "${ECHO_T}no" >&6
    2078720796  fi
    20788   echo "$as_me:$LINENO: result: yes" >&5
    20789 echo "${ECHO_T}yes" >&6
    20790   # Check if the given header file is there
    20791   as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh`
    20792 echo "$as_me:$LINENO: checking for $CPXINCDIR/cplex.h" >&5
    20793 echo $ECHO_N "checking for $CPXINCDIR/cplex.h... $ECHO_C" >&6
    20794 if eval "test \"\${$as_ac_File+set}\" = set"; then
    20795   echo $ECHO_N "(cached) $ECHO_C" >&6
    20796 else
    20797   test "$cross_compiling" = yes &&
    20798   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    20799 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    20800    { (exit 1); exit 1; }; }
    20801 if test -r "$CPXINCDIR/cplex.h"; then
    20802   eval "$as_ac_File=yes"
    20803 else
    20804   eval "$as_ac_File=no"
    20805 fi
    20806 fi
    20807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    20808 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    20809 if test `eval echo '${'$as_ac_File'}'` = yes; then
     20797
     20798# If we have instructions for use, consider header and link checks.
     20799
     20800  if test $coin_has_cpx = true; then
     20801
     20802# If argument 3 (file) is given, check for the file. Typically this will be a
     20803# header file, but that's not assumed.
     20804
     20805    if test -r $CPXINCDIR/cplex.h; then
     20806
    2081020807  :
    2081120808else
     
    2081320810echo "$as_me: error: Cannot find file cplex.h in $CPXINCDIR" >&2;}
    2081420811   { (exit 1); exit 1; }; }
    20815 fi
    20816 
    20817 
    20818   # Check if the symbol is provided in the library
    20819   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    20820   if test x"$cplex_libcheck" != xno; then
    20821                     coin_save_LIBS="$LIBS"
    20822                     LIBS="$CPXLIB $ADDLIBS"
    20823                     echo "$as_me:$LINENO: checking whether symbol CPXgetstat is available with CPX" >&5
    20824 echo $ECHO_N "checking whether symbol CPXgetstat is available with CPX... $ECHO_C" >&6
    20825                     ac_ext=c
     20812  :
     20813fi
     20814
     20815
     20816# Now see if we can link the function. There are arguments for and against
     20817# assuming argument 3 is a header file declaring the function. A correct
     20818# function declaration is the main argument in favour. Having to cope with
     20819# possible dependencies or other oddities are the main arguments against.
     20820# Force the use of C as the best single choice amongst C++, C, and Fortran.
     20821# Obviously, this has limits.
     20822
     20823    if test x"$cplex_libcheck" != xno; then
     20824           coin_save_LIBS="$LIBS"
     20825           LIBS="$CPXLIB $ADDLIBS"
     20826           coin_CPX_link=no
     20827           ac_ext=c
    2082620828ac_cpp='$CPP $CPPFLAGS'
    2082720829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2082920831ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2083020832
    20831 # ToDo find out what to do about extern "C"
    20832 #                    AC_TRY_LINK([extern "C" {void CPXgetstat();}],[CPXgetstat()],
    20833                     cat >conftest.$ac_ext <<_ACEOF
     20833           for fnm in CPXgetstat ; do
     20834             echo "$as_me:$LINENO: checking whether symbol $fnm is available with CPX" >&5
     20835echo $ECHO_N "checking whether symbol $fnm is available with CPX... $ECHO_C" >&6
     20836             cat >conftest.$ac_ext <<_ACEOF
    2083420837/* confdefs.h.  */
    2083520838_ACEOF
     
    2083720840cat >>conftest.$ac_ext <<_ACEOF
    2083820841/* end confdefs.h.  */
    20839 void CPXgetstat();
     20842
    2084020843int
    2084120844main ()
    2084220845{
    20843 CPXgetstat()
     20846$fnm()
    2084420847  ;
    2084520848  return 0;
     
    2087020873  echo "$as_me:$LINENO: result: yes" >&5
    2087120874echo "${ECHO_T}yes" >&6
     20875                  coin_CPX_link=yes
     20876                  break
    2087220877else
    2087320878  echo "$as_me: failed program was:" >&5
     
    2087620881echo "$as_me:$LINENO: result: no" >&5
    2087720882echo "${ECHO_T}no" >&6
    20878                                  { { echo "$as_me:$LINENO: error: Cannot find symbol CPXgetstat with CPX" >&5
    20879 echo "$as_me: error: Cannot find symbol CPXgetstat with CPX" >&2;}
    20880    { (exit 1); exit 1; }; }
    2088120883fi
    2088220884rm -f conftest.err conftest.$ac_objext \
    2088320885      conftest$ac_exeext conftest.$ac_ext
    20884                     ac_ext=c
     20886           done
     20887           ac_ext=c
    2088520888ac_cpp='$CPP $CPPFLAGS'
    2088620889ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2088820891ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2088920892
    20890                     LIBS="$coin_save_LIBS"
    20891                   fi
    20892 
    20893   ADDLIBS="$CPXLIB $ADDLIBS"
     20893           if test x"$coin_CPX_link" = xyes ; then
     20894             LIBS="$coin_save_LIBS"
     20895           else
     20896             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) CPXgetstat with CPX" >&5
     20897echo "$as_me: error: Cannot find symbol(s) CPXgetstat with CPX" >&2;}
     20898   { (exit 1); exit 1; }; }
     20899           fi
     20900         fi
     20901
     20902
     20903# If we make it this far, we've verified the file and linked the function. Add
     20904# the necessary link flags to ADDLIBS and define the preprocessor symbol
     20905# COIN_HAS_LBRY.
     20906
     20907    ADDLIBS="$CPXLIB $ADDLIBS"
    2089420908
    2089520909cat >>confdefs.h <<\_ACEOF
     
    2089720911_ACEOF
    2089820912
    20899 else
    20900   echo "$as_me:$LINENO: result: no" >&5
    20901 echo "${ECHO_T}no" >&6
    20902 fi
     20913  fi
     20914
     20915# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     20916# automake conditional. These actions must occur unconditionally.
    2090320917
    2090420918
     
    2091620930
    2091720931
    20918 echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
     20932  echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5
    2091920933echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6
    2092020934
    2092120935# Check for header file directory
     20936
    2092220937
    2092320938# Check whether --with-glpk-incdir or --without-glpk-incdir was given.
     
    2092620941  GLPKINCDIR=`cd $withval; pwd`
    2092720942fi;
     20943
    2092820944# Check for library directory
     20945
    2092920946
    2093020947# Check whether --with-glpk-lib or --without-glpk-lib was given.
     
    2093320950  GLPKLIB=$withval
    2093420951fi;
     20952
    2093520953# Switch to disable library check if requested
    20936 # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
     20954
     20955  # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.
    2093720956if test "${enable_glpk_libcheck+set}" = set; then
    2093820957  enableval="$enable_glpk_libcheck"
     
    2094220961fi;
    2094320962
    20944 if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
    20945   coin_has_glpk=true
    20946 else
    20947   coin_has_glpk=false
    20948 fi
    20949 
    20950 if test $coin_has_glpk = true; then
    20951 # Check either both arguments or none are given
    20952   if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
    20953     { { 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
    20954 echo "$as_me: error: You need to specify both --with-glpk-incdir and --with-glpk-lib if you want to use library Glpk" >&2;}
     20963# At this point, if we're going to use the library, both LBRYINCDIR and
     20964# LBRYLIB must be defined and not empty.
     20965
     20966  if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then
     20967    if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then
     20968      { { 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
     20969echo "$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;}
    2095520970   { (exit 1); exit 1; }; }
     20971    fi
     20972    coin_has_glpk=true
     20973    echo "$as_me:$LINENO: result: yes" >&5
     20974echo "${ECHO_T}yes" >&6
     20975  else
     20976    coin_has_glpk=false
     20977    echo "$as_me:$LINENO: result: no" >&5
     20978echo "${ECHO_T}no" >&6
    2095620979  fi
    20957   echo "$as_me:$LINENO: result: yes" >&5
    20958 echo "${ECHO_T}yes" >&6
    20959   # Check if the given header file is there
    20960   as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh`
    20961 echo "$as_me:$LINENO: checking for $GLPKINCDIR/glpk.h" >&5
    20962 echo $ECHO_N "checking for $GLPKINCDIR/glpk.h... $ECHO_C" >&6
    20963 if eval "test \"\${$as_ac_File+set}\" = set"; then
    20964   echo $ECHO_N "(cached) $ECHO_C" >&6
    20965 else
    20966   test "$cross_compiling" = yes &&
    20967   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    20968 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    20969    { (exit 1); exit 1; }; }
    20970 if test -r "$GLPKINCDIR/glpk.h"; then
    20971   eval "$as_ac_File=yes"
    20972 else
    20973   eval "$as_ac_File=no"
    20974 fi
    20975 fi
    20976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    20977 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    20978 if test `eval echo '${'$as_ac_File'}'` = yes; then
     20980
     20981# If we have instructions for use, consider header and link checks.
     20982
     20983  if test $coin_has_glpk = true; then
     20984
     20985# If argument 3 (file) is given, check for the file. Typically this will be a
     20986# header file, but that's not assumed.
     20987
     20988    if test -r $GLPKINCDIR/glpk.h; then
     20989
    2097920990  :
    2098020991else
     
    2098220993echo "$as_me: error: Cannot find file glpk.h in $GLPKINCDIR" >&2;}
    2098320994   { (exit 1); exit 1; }; }
    20984 fi
    20985 
    20986 
    20987   # Check if the symbol is provided in the library
    20988   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    20989   if test x"$glpk_libcheck" != xno; then
    20990                     coin_save_LIBS="$LIBS"
    20991                     LIBS="$GLPKLIB $ADDLIBS"
    20992                     echo "$as_me:$LINENO: checking whether symbol glp_lpx_simplex is available with GLPK" >&5
    20993 echo $ECHO_N "checking whether symbol glp_lpx_simplex is available with GLPK... $ECHO_C" >&6
    20994                     ac_ext=c
     20995  :
     20996fi
     20997
     20998
     20999# Now see if we can link the function. There are arguments for and against
     21000# assuming argument 3 is a header file declaring the function. A correct
     21001# function declaration is the main argument in favour. Having to cope with
     21002# possible dependencies or other oddities are the main arguments against.
     21003# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21004# Obviously, this has limits.
     21005
     21006    if test x"$glpk_libcheck" != xno; then
     21007           coin_save_LIBS="$LIBS"
     21008           LIBS="$GLPKLIB $ADDLIBS"
     21009           coin_GLPK_link=no
     21010           ac_ext=c
    2099521011ac_cpp='$CPP $CPPFLAGS'
    2099621012ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2099821014ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2099921015
    21000 # ToDo find out what to do about extern "C"
    21001 #                    AC_TRY_LINK([extern "C" {void glp_lpx_simplex();}],[glp_lpx_simplex()],
    21002                     cat >conftest.$ac_ext <<_ACEOF
     21016           for fnm in glp_lpx_simplex ; do
     21017             echo "$as_me:$LINENO: checking whether symbol $fnm is available with GLPK" >&5
     21018echo $ECHO_N "checking whether symbol $fnm is available with GLPK... $ECHO_C" >&6
     21019             cat >conftest.$ac_ext <<_ACEOF
    2100321020/* confdefs.h.  */
    2100421021_ACEOF
     
    2100621023cat >>conftest.$ac_ext <<_ACEOF
    2100721024/* end confdefs.h.  */
    21008 void glp_lpx_simplex();
     21025
    2100921026int
    2101021027main ()
    2101121028{
    21012 glp_lpx_simplex()
     21029$fnm()
    2101321030  ;
    2101421031  return 0;
     
    2103921056  echo "$as_me:$LINENO: result: yes" >&5
    2104021057echo "${ECHO_T}yes" >&6
     21058                  coin_GLPK_link=yes
     21059                  break
    2104121060else
    2104221061  echo "$as_me: failed program was:" >&5
     
    2104521064echo "$as_me:$LINENO: result: no" >&5
    2104621065echo "${ECHO_T}no" >&6
    21047                                  { { echo "$as_me:$LINENO: error: Cannot find symbol glp_lpx_simplex with GLPK" >&5
    21048 echo "$as_me: error: Cannot find symbol glp_lpx_simplex with GLPK" >&2;}
    21049    { (exit 1); exit 1; }; }
    2105021066fi
    2105121067rm -f conftest.err conftest.$ac_objext \
    2105221068      conftest$ac_exeext conftest.$ac_ext
    21053                     ac_ext=c
     21069           done
     21070           ac_ext=c
    2105421071ac_cpp='$CPP $CPPFLAGS'
    2105521072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2105721074ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2105821075
    21059                     LIBS="$coin_save_LIBS"
    21060                   fi
    21061 
    21062   ADDLIBS="$GLPKLIB $ADDLIBS"
     21076           if test x"$coin_GLPK_link" = xyes ; then
     21077             LIBS="$coin_save_LIBS"
     21078           else
     21079             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&5
     21080echo "$as_me: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&2;}
     21081   { (exit 1); exit 1; }; }
     21082           fi
     21083         fi
     21084
     21085
     21086# If we make it this far, we've verified the file and linked the function. Add
     21087# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21088# COIN_HAS_LBRY.
     21089
     21090    ADDLIBS="$GLPKLIB $ADDLIBS"
    2106321091
    2106421092cat >>confdefs.h <<\_ACEOF
     
    2106621094_ACEOF
    2106721095
    21068 else
    21069   echo "$as_me:$LINENO: result: no" >&5
    21070 echo "${ECHO_T}no" >&6
    21071 fi
     21096  fi
     21097
     21098# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21099# automake conditional. These actions must occur unconditionally.
    2107221100
    2107321101
     
    2108521113
    2108621114
    21087 echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5
     21115  echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5
    2108821116echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6
    2108921117
    2109021118# Check for header file directory
     21119
    2109121120
    2109221121# Check whether --with-fortmp-incdir or --without-fortmp-incdir was given.
     
    2109521124  FMPINCDIR=`cd $withval; pwd`
    2109621125fi;
     21126
    2109721127# Check for library directory
     21128
    2109821129
    2109921130# Check whether --with-fortmp-lib or --without-fortmp-lib was given.
     
    2110221133  FMPLIB=$withval
    2110321134fi;
     21135
    2110421136# Switch to disable library check if requested
    21105 # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given.
     21137
     21138  # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given.
    2110621139if test "${enable_fortmp_libcheck+set}" = set; then
    2110721140  enableval="$enable_fortmp_libcheck"
     
    2111121144fi;
    2111221145
    21113 if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then
    21114   coin_has_fmp=true
    21115 else
    21116   coin_has_fmp=false
    21117 fi
    21118 
    21119 if test $coin_has_fmp = true; then
    21120 # Check either both arguments or none are given
    21121   if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then
    21122     { { echo "$as_me:$LINENO: error: You need to specify both --with-fortmp-incdir and --with-fortmp-lib if you want to use library FortMP" >&5
    21123 echo "$as_me: error: You need to specify both --with-fortmp-incdir and --with-fortmp-lib if you want to use library FortMP" >&2;}
     21146# At this point, if we're going to use the library, both LBRYINCDIR and
     21147# LBRYLIB must be defined and not empty.
     21148
     21149  if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then
     21150    if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then
     21151      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&5
     21152echo "$as_me: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&2;}
    2112421153   { (exit 1); exit 1; }; }
     21154    fi
     21155    coin_has_fmp=true
     21156    echo "$as_me:$LINENO: result: yes" >&5
     21157echo "${ECHO_T}yes" >&6
     21158  else
     21159    coin_has_fmp=false
     21160    echo "$as_me:$LINENO: result: no" >&5
     21161echo "${ECHO_T}no" >&6
    2112521162  fi
    21126   echo "$as_me:$LINENO: result: yes" >&5
    21127 echo "${ECHO_T}yes" >&6
    21128   # Check if the given header file is there
    21129 
    21130   # Check if the symbol is provided in the library
    21131   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21132 
    21133   ADDLIBS="$FMPLIB $ADDLIBS"
     21163
     21164# If we have instructions for use, consider header and link checks.
     21165
     21166  if test $coin_has_fmp = true; then
     21167
     21168# If argument 3 (file) is given, check for the file. Typically this will be a
     21169# header file, but that's not assumed.
     21170
     21171
     21172
     21173# Now see if we can link the function. There are arguments for and against
     21174# assuming argument 3 is a header file declaring the function. A correct
     21175# function declaration is the main argument in favour. Having to cope with
     21176# possible dependencies or other oddities are the main arguments against.
     21177# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21178# Obviously, this has limits.
     21179
     21180
     21181
     21182# If we make it this far, we've verified the file and linked the function. Add
     21183# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21184# COIN_HAS_LBRY.
     21185
     21186    ADDLIBS="$FMPLIB $ADDLIBS"
    2113421187
    2113521188cat >>confdefs.h <<\_ACEOF
     
    2113721190_ACEOF
    2113821191
    21139 else
    21140   echo "$as_me:$LINENO: result: no" >&5
    21141 echo "${ECHO_T}no" >&6
    21142 fi
     21192  fi
     21193
     21194# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21195# automake conditional. These actions must occur unconditionally.
    2114321196
    2114421197
     
    2115621209  #ToDo! is Fortran?
    2115721210
    21158 echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5
     21211  echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5
    2115921212echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6
    2116021213
    2116121214# Check for header file directory
     21215
    2116221216
    2116321217# Check whether --with-mosek-incdir or --without-mosek-incdir was given.
     
    2116621220  MSKINCDIR=`cd $withval; pwd`
    2116721221fi;
     21222
    2116821223# Check for library directory
     21224
    2116921225
    2117021226# Check whether --with-mosek-lib or --without-mosek-lib was given.
     
    2117321229  MSKLIB=$withval
    2117421230fi;
     21231
    2117521232# Switch to disable library check if requested
    21176 # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given.
     21233
     21234  # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given.
    2117721235if test "${enable_mosek_libcheck+set}" = set; then
    2117821236  enableval="$enable_mosek_libcheck"
     
    2118221240fi;
    2118321241
    21184 if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then
    21185   coin_has_msk=true
    21186 else
    21187   coin_has_msk=false
    21188 fi
    21189 
    21190 if test $coin_has_msk = true; then
    21191 # Check either both arguments or none are given
    21192   if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then
    21193     { { echo "$as_me:$LINENO: error: You need to specify both --with-mosek-incdir and --with-mosek-lib if you want to use library Mosek" >&5
    21194 echo "$as_me: error: You need to specify both --with-mosek-incdir and --with-mosek-lib if you want to use library Mosek" >&2;}
     21242# At this point, if we're going to use the library, both LBRYINCDIR and
     21243# LBRYLIB must be defined and not empty.
     21244
     21245  if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then
     21246    if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then
     21247      { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&5
     21248echo "$as_me: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&2;}
    2119521249   { (exit 1); exit 1; }; }
     21250    fi
     21251    coin_has_msk=true
     21252    echo "$as_me:$LINENO: result: yes" >&5
     21253echo "${ECHO_T}yes" >&6
     21254  else
     21255    coin_has_msk=false
     21256    echo "$as_me:$LINENO: result: no" >&5
     21257echo "${ECHO_T}no" >&6
    2119621258  fi
    21197   echo "$as_me:$LINENO: result: yes" >&5
    21198 echo "${ECHO_T}yes" >&6
    21199   # Check if the given header file is there
    21200   as_ac_File=`echo "ac_cv_file_$MSKINCDIR/mosekdl.h" | $as_tr_sh`
    21201 echo "$as_me:$LINENO: checking for $MSKINCDIR/mosekdl.h" >&5
    21202 echo $ECHO_N "checking for $MSKINCDIR/mosekdl.h... $ECHO_C" >&6
    21203 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21204   echo $ECHO_N "(cached) $ECHO_C" >&6
    21205 else
    21206   test "$cross_compiling" = yes &&
    21207   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21208 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21209    { (exit 1); exit 1; }; }
    21210 if test -r "$MSKINCDIR/mosekdl.h"; then
    21211   eval "$as_ac_File=yes"
    21212 else
    21213   eval "$as_ac_File=no"
    21214 fi
    21215 fi
    21216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21217 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21218 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21259
     21260# If we have instructions for use, consider header and link checks.
     21261
     21262  if test $coin_has_msk = true; then
     21263
     21264# If argument 3 (file) is given, check for the file. Typically this will be a
     21265# header file, but that's not assumed.
     21266
     21267    if test -r $MSKINCDIR/mosekdl.h; then
     21268
    2121921269  :
    2122021270else
     
    2122221272echo "$as_me: error: Cannot find file mosekdl.h in $MSKINCDIR" >&2;}
    2122321273   { (exit 1); exit 1; }; }
    21224 fi
    21225 
    21226 
    21227   # Check if the symbol is provided in the library
    21228   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21229   if test x"$mosek_libcheck" != xno; then
    21230                     coin_save_LIBS="$LIBS"
    21231                     LIBS="$MSKLIB $ADDLIBS"
    21232                     echo "$as_me:$LINENO: checking whether symbol MSK_openmosek is available with MSK" >&5
    21233 echo $ECHO_N "checking whether symbol MSK_openmosek is available with MSK... $ECHO_C" >&6
    21234                     ac_ext=c
     21274  :
     21275fi
     21276
     21277
     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"$mosek_libcheck" != xno; then
     21286           coin_save_LIBS="$LIBS"
     21287           LIBS="$MSKLIB $ADDLIBS"
     21288           coin_MSK_link=no
     21289           ac_ext=c
    2123521290ac_cpp='$CPP $CPPFLAGS'
    2123621291ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2123821293ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2123921294
    21240 # ToDo find out what to do about extern "C"
    21241 #                    AC_TRY_LINK([extern "C" {void MSK_openmosek();}],[MSK_openmosek()],
    21242                     cat >conftest.$ac_ext <<_ACEOF
     21295           for fnm in MSK_openmosek ; do
     21296             echo "$as_me:$LINENO: checking whether symbol $fnm is available with MSK" >&5
     21297echo $ECHO_N "checking whether symbol $fnm is available with MSK... $ECHO_C" >&6
     21298             cat >conftest.$ac_ext <<_ACEOF
    2124321299/* confdefs.h.  */
    2124421300_ACEOF
     
    2124621302cat >>conftest.$ac_ext <<_ACEOF
    2124721303/* end confdefs.h.  */
    21248 void MSK_openmosek();
     21304
    2124921305int
    2125021306main ()
    2125121307{
    21252 MSK_openmosek()
     21308$fnm()
    2125321309  ;
    2125421310  return 0;
     
    2127921335  echo "$as_me:$LINENO: result: yes" >&5
    2128021336echo "${ECHO_T}yes" >&6
     21337                  coin_MSK_link=yes
     21338                  break
    2128121339else
    2128221340  echo "$as_me: failed program was:" >&5
     
    2128521343echo "$as_me:$LINENO: result: no" >&5
    2128621344echo "${ECHO_T}no" >&6
    21287                                  { { echo "$as_me:$LINENO: error: Cannot find symbol MSK_openmosek with MSK" >&5
    21288 echo "$as_me: error: Cannot find symbol MSK_openmosek with MSK" >&2;}
    21289    { (exit 1); exit 1; }; }
    2129021345fi
    2129121346rm -f conftest.err conftest.$ac_objext \
    2129221347      conftest$ac_exeext conftest.$ac_ext
    21293                     ac_ext=c
     21348           done
     21349           ac_ext=c
    2129421350ac_cpp='$CPP $CPPFLAGS'
    2129521351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2129721353ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2129821354
    21299                     LIBS="$coin_save_LIBS"
    21300                   fi
    21301 
    21302   ADDLIBS="$MSKLIB $ADDLIBS"
     21355           if test x"$coin_MSK_link" = xyes ; then
     21356             LIBS="$coin_save_LIBS"
     21357           else
     21358             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) MSK_openmosek with MSK" >&5
     21359echo "$as_me: error: Cannot find symbol(s) MSK_openmosek with MSK" >&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="$MSKLIB $ADDLIBS"
    2130321370
    2130421371cat >>confdefs.h <<\_ACEOF
     
    2130621373_ACEOF
    2130721374
    21308 else
    21309   echo "$as_me:$LINENO: result: no" >&5
    21310 echo "${ECHO_T}no" >&6
    21311 fi
     21375  fi
     21376
     21377# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21378# automake conditional. These actions must occur unconditionally.
    2131221379
    2131321380
     
    2132521392
    2132621393
    21327 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
    2132821395echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6
    2132921396
    2133021397# Check for header file directory
     21398
    2133121399
    2133221400# Check whether --with-osl-incdir or --without-osl-incdir was given.
     
    2133521403  OSLINCDIR=`cd $withval; pwd`
    2133621404fi;
     21405
    2133721406# Check for library directory
     21407
    2133821408
    2133921409# Check whether --with-osl-lib or --without-osl-lib was given.
     
    2134221412  OSLLIB=$withval
    2134321413fi;
     21414
    2134421415# Switch to disable library check if requested
    21345 # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
     21416
     21417  # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given.
    2134621418if test "${enable_osl_libcheck+set}" = set; then
    2134721419  enableval="$enable_osl_libcheck"
     
    2135121423fi;
    2135221424
    21353 if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then
    21354   coin_has_osl=true
    21355 else
    21356   coin_has_osl=false
    21357 fi
    21358 
    21359 if test $coin_has_osl = true; then
    21360 # Check either both arguments or none are given
    21361   if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then
    21362     { { 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
    21363 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;}
    2136421432   { (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
    2136521441  fi
    21366   echo "$as_me:$LINENO: result: yes" >&5
    21367 echo "${ECHO_T}yes" >&6
    21368   # Check if the given header file is there
    21369   as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh`
    21370 echo "$as_me:$LINENO: checking for $OSLINCDIR/ekk_c_api.h" >&5
    21371 echo $ECHO_N "checking for $OSLINCDIR/ekk_c_api.h... $ECHO_C" >&6
    21372 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21373   echo $ECHO_N "(cached) $ECHO_C" >&6
    21374 else
    21375   test "$cross_compiling" = yes &&
    21376   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21377 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21378    { (exit 1); exit 1; }; }
    21379 if test -r "$OSLINCDIR/ekk_c_api.h"; then
    21380   eval "$as_ac_File=yes"
    21381 else
    21382   eval "$as_ac_File=no"
    21383 fi
    21384 fi
    21385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21386 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21387 if test `eval echo '${'$as_ac_File'}'` = yes; then
     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    if test -r $OSLINCDIR/ekk_c_api.h; then
     21451
    2138821452  :
    2138921453else
     
    2139121455echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;}
    2139221456   { (exit 1); exit 1; }; }
    21393 fi
    21394 
    21395 
    21396   # Check if the symbol is provided in the library
    21397   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21398   if test x"$osl_libcheck" != xno; then
    21399                     coin_save_LIBS="$LIBS"
    21400                     LIBS="$OSLLIB $ADDLIBS"
    21401                     echo "$as_me:$LINENO: checking whether symbol ekk_simplex is available with OSL" >&5
    21402 echo $ECHO_N "checking whether symbol ekk_simplex is available with OSL... $ECHO_C" >&6
    21403                     ac_ext=c
     21457  :
     21458fi
     21459
     21460
     21461# Now see if we can link the function. There are arguments for and against
     21462# assuming argument 3 is a header file declaring the function. A correct
     21463# function declaration is the main argument in favour. Having to cope with
     21464# possible dependencies or other oddities are the main arguments against.
     21465# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21466# Obviously, this has limits.
     21467
     21468    if test x"$osl_libcheck" != xno; then
     21469           coin_save_LIBS="$LIBS"
     21470           LIBS="$OSLLIB $ADDLIBS"
     21471           coin_OSL_link=no
     21472           ac_ext=c
    2140421473ac_cpp='$CPP $CPPFLAGS'
    2140521474ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2140721476ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2140821477
    21409 # ToDo find out what to do about extern "C"
    21410 #                    AC_TRY_LINK([extern "C" {void ekk_simplex();}],[ekk_simplex()],
    21411                     cat >conftest.$ac_ext <<_ACEOF
     21478           for fnm in ekk_simplex ; do
     21479             echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5
     21480echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6
     21481             cat >conftest.$ac_ext <<_ACEOF
    2141221482/* confdefs.h.  */
    2141321483_ACEOF
     
    2141521485cat >>conftest.$ac_ext <<_ACEOF
    2141621486/* end confdefs.h.  */
    21417 void ekk_simplex();
     21487
    2141821488int
    2141921489main ()
    2142021490{
    21421 ekk_simplex()
     21491$fnm()
    2142221492  ;
    2142321493  return 0;
     
    2144821518  echo "$as_me:$LINENO: result: yes" >&5
    2144921519echo "${ECHO_T}yes" >&6
     21520                  coin_OSL_link=yes
     21521                  break
    2145021522else
    2145121523  echo "$as_me: failed program was:" >&5
     
    2145421526echo "$as_me:$LINENO: result: no" >&5
    2145521527echo "${ECHO_T}no" >&6
    21456                                  { { echo "$as_me:$LINENO: error: Cannot find symbol ekk_simplex with OSL" >&5
    21457 echo "$as_me: error: Cannot find symbol ekk_simplex with OSL" >&2;}
    21458    { (exit 1); exit 1; }; }
    2145921528fi
    2146021529rm -f conftest.err conftest.$ac_objext \
    2146121530      conftest$ac_exeext conftest.$ac_ext
    21462                     ac_ext=c
     21531           done
     21532           ac_ext=c
    2146321533ac_cpp='$CPP $CPPFLAGS'
    2146421534ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2146621536ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2146721537
    21468                     LIBS="$coin_save_LIBS"
    21469                   fi
    21470 
    21471   ADDLIBS="$OSLLIB $ADDLIBS"
     21538           if test x"$coin_OSL_link" = xyes ; then
     21539             LIBS="$coin_save_LIBS"
     21540           else
     21541             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5
     21542echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;}
     21543   { (exit 1); exit 1; }; }
     21544           fi
     21545         fi
     21546
     21547
     21548# If we make it this far, we've verified the file and linked the function. Add
     21549# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21550# COIN_HAS_LBRY.
     21551
     21552    ADDLIBS="$OSLLIB $ADDLIBS"
    2147221553
    2147321554cat >>confdefs.h <<\_ACEOF
     
    2147521556_ACEOF
    2147621557
    21477 else
    21478   echo "$as_me:$LINENO: result: no" >&5
    21479 echo "${ECHO_T}no" >&6
    21480 fi
     21558  fi
     21559
     21560# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21561# automake conditional. These actions must occur unconditionally.
    2148121562
    2148221563
     
    2149421575
    2149521576
    21496 echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
     21577  echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5
    2149721578echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6
    2149821579
    2149921580# Check for header file directory
     21581
    2150021582
    2150121583# Check whether --with-soplex-incdir or --without-soplex-incdir was given.
     
    2150421586  SPXINCDIR=`cd $withval; pwd`
    2150521587fi;
     21588
    2150621589# Check for library directory
     21590
    2150721591
    2150821592# Check whether --with-soplex-lib or --without-soplex-lib was given.
     
    2151121595  SPXLIB=$withval
    2151221596fi;
     21597
    2151321598# Switch to disable library check if requested
    21514 # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
     21599
     21600  # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given.
    2151521601if test "${enable_soplex_libcheck+set}" = set; then
    2151621602  enableval="$enable_soplex_libcheck"
     
    2152021606fi;
    2152121607
    21522 if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
    21523   coin_has_spx=true
    21524 else
    21525   coin_has_spx=false
    21526 fi
    21527 
    21528 if test $coin_has_spx = true; then
    21529 # Check either both arguments or none are given
    21530   if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
    21531     { { 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
    21532 echo "$as_me: error: You need to specify both --with-soplex-incdir and --with-soplex-lib if you want to use library Soplex" >&2;}
     21608# At this point, if we're going to use the library, both LBRYINCDIR and
     21609# LBRYLIB must be defined and not empty.
     21610
     21611  if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then
     21612    if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then
     21613      { { 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
     21614echo "$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;}
    2153321615   { (exit 1); exit 1; }; }
     21616    fi
     21617    coin_has_spx=true
     21618    echo "$as_me:$LINENO: result: yes" >&5
     21619echo "${ECHO_T}yes" >&6
     21620  else
     21621    coin_has_spx=false
     21622    echo "$as_me:$LINENO: result: no" >&5
     21623echo "${ECHO_T}no" >&6
    2153421624  fi
    21535   echo "$as_me:$LINENO: result: yes" >&5
    21536 echo "${ECHO_T}yes" >&6
    21537   # Check if the given header file is there
    21538   as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh`
    21539 echo "$as_me:$LINENO: checking for $SPXINCDIR/spxsolver.h" >&5
    21540 echo $ECHO_N "checking for $SPXINCDIR/spxsolver.h... $ECHO_C" >&6
    21541 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21542   echo $ECHO_N "(cached) $ECHO_C" >&6
    21543 else
    21544   test "$cross_compiling" = yes &&
    21545   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21546 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21547    { (exit 1); exit 1; }; }
    21548 if test -r "$SPXINCDIR/spxsolver.h"; then
    21549   eval "$as_ac_File=yes"
    21550 else
    21551   eval "$as_ac_File=no"
    21552 fi
    21553 fi
    21554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21555 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21556 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21625
     21626# If we have instructions for use, consider header and link checks.
     21627
     21628  if test $coin_has_spx = true; then
     21629
     21630# If argument 3 (file) is given, check for the file. Typically this will be a
     21631# header file, but that's not assumed.
     21632
     21633    if test -r $SPXINCDIR/spxsolver.h; then
     21634
    2155721635  :
    2155821636else
     
    2156021638echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;}
    2156121639   { (exit 1); exit 1; }; }
    21562 fi
    21563 
    21564 
    21565   # Check if the symbol is provided in the library
    21566   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21567 
    21568   ADDLIBS="$SPXLIB $ADDLIBS"
     21640  :
     21641fi
     21642
     21643
     21644# Now see if we can link the function. There are arguments for and against
     21645# assuming argument 3 is a header file declaring the function. A correct
     21646# function declaration is the main argument in favour. Having to cope with
     21647# possible dependencies or other oddities are the main arguments against.
     21648# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21649# Obviously, this has limits.
     21650
     21651
     21652
     21653# If we make it this far, we've verified the file and linked the function. Add
     21654# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21655# COIN_HAS_LBRY.
     21656
     21657    ADDLIBS="$SPXLIB $ADDLIBS"
    2156921658
    2157021659cat >>confdefs.h <<\_ACEOF
     
    2157221661_ACEOF
    2157321662
    21574 else
    21575   echo "$as_me:$LINENO: result: no" >&5
    21576 echo "${ECHO_T}no" >&6
    21577 fi
     21663  fi
     21664
     21665# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21666# automake conditional. These actions must occur unconditionally.
    2157821667
    2157921668
     
    2159121680 # ToDo
    2159221681
    21593 echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
     21682  echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5
    2159421683echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6
    2159521684
    2159621685# Check for header file directory
     21686
    2159721687
    2159821688# Check whether --with-xpress-incdir or --without-xpress-incdir was given.
     
    2160121691  XPRINCDIR=`cd $withval; pwd`
    2160221692fi;
     21693
    2160321694# Check for library directory
     21695
    2160421696
    2160521697# Check whether --with-xpress-lib or --without-xpress-lib was given.
     
    2160821700  XPRLIB=$withval
    2160921701fi;
     21702
    2161021703# Switch to disable library check if requested
    21611 # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
     21704
     21705  # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given.
    2161221706if test "${enable_xpress_libcheck+set}" = set; then
    2161321707  enableval="$enable_xpress_libcheck"
     
    2161721711fi;
    2161821712
    21619 if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
    21620   coin_has_xpr=true
    21621 else
    21622   coin_has_xpr=false
    21623 fi
    21624 
    21625 if test $coin_has_xpr = true; then
    21626 # Check either both arguments or none are given
    21627   if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
    21628     { { 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
    21629 echo "$as_me: error: You need to specify both --with-xpress-incdir and --with-xpress-lib if you want to use library Xpress" >&2;}
     21713# At this point, if we're going to use the library, both LBRYINCDIR and
     21714# LBRYLIB must be defined and not empty.
     21715
     21716  if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then
     21717    if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then
     21718      { { 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
     21719echo "$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;}
    2163021720   { (exit 1); exit 1; }; }
     21721    fi
     21722    coin_has_xpr=true
     21723    echo "$as_me:$LINENO: result: yes" >&5
     21724echo "${ECHO_T}yes" >&6
     21725  else
     21726    coin_has_xpr=false
     21727    echo "$as_me:$LINENO: result: no" >&5
     21728echo "${ECHO_T}no" >&6
    2163121729  fi
    21632   echo "$as_me:$LINENO: result: yes" >&5
    21633 echo "${ECHO_T}yes" >&6
    21634   # Check if the given header file is there
    21635   as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh`
    21636 echo "$as_me:$LINENO: checking for $XPRINCDIR/xprs.h" >&5
    21637 echo $ECHO_N "checking for $XPRINCDIR/xprs.h... $ECHO_C" >&6
    21638 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21639   echo $ECHO_N "(cached) $ECHO_C" >&6
    21640 else
    21641   test "$cross_compiling" = yes &&
    21642   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21643 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21644    { (exit 1); exit 1; }; }
    21645 if test -r "$XPRINCDIR/xprs.h"; then
    21646   eval "$as_ac_File=yes"
    21647 else
    21648   eval "$as_ac_File=no"
    21649 fi
    21650 fi
    21651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21652 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21653 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21730
     21731# If we have instructions for use, consider header and link checks.
     21732
     21733  if test $coin_has_xpr = true; then
     21734
     21735# If argument 3 (file) is given, check for the file. Typically this will be a
     21736# header file, but that's not assumed.
     21737
     21738    if test -r $XPRINCDIR/xprs.h; then
     21739
    2165421740  :
    2165521741else
     
    2165721743echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;}
    2165821744   { (exit 1); exit 1; }; }
    21659 fi
    21660 
    21661 
    21662   # Check if the symbol is provided in the library
    21663   # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER
    21664   if test x"$xpress_libcheck" != xno; then
    21665                     coin_save_LIBS="$LIBS"
    21666                     LIBS="$XPRLIB $ADDLIBS"
    21667                     echo "$as_me:$LINENO: checking whether symbol XPRSsetintcontrol is available with XPR" >&5
    21668 echo $ECHO_N "checking whether symbol XPRSsetintcontrol is available with XPR... $ECHO_C" >&6
    21669                     ac_ext=c
     21745  :
     21746fi
     21747
     21748
     21749# Now see if we can link the function. There are arguments for and against
     21750# assuming argument 3 is a header file declaring the function. A correct
     21751# function declaration is the main argument in favour. Having to cope with
     21752# possible dependencies or other oddities are the main arguments against.
     21753# Force the use of C as the best single choice amongst C++, C, and Fortran.
     21754# Obviously, this has limits.
     21755
     21756    if test x"$xpress_libcheck" != xno; then
     21757           coin_save_LIBS="$LIBS"
     21758           LIBS="$XPRLIB $ADDLIBS"
     21759           coin_XPR_link=no
     21760           ac_ext=c
    2167021761ac_cpp='$CPP $CPPFLAGS'
    2167121762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2167321764ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2167421765
    21675 # ToDo find out what to do about extern "C"
    21676 #                    AC_TRY_LINK([extern "C" {void XPRSsetintcontrol();}],[XPRSsetintcontrol()],
    21677                     cat >conftest.$ac_ext <<_ACEOF
     21766           for fnm in XPRSsetintcontrol ; do
     21767             echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5
     21768echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6
     21769             cat >conftest.$ac_ext <<_ACEOF
    2167821770/* confdefs.h.  */
    2167921771_ACEOF
     
    2168121773cat >>conftest.$ac_ext <<_ACEOF
    2168221774/* end confdefs.h.  */
    21683 void XPRSsetintcontrol();
     21775
    2168421776int
    2168521777main ()
    2168621778{
    21687 XPRSsetintcontrol()
     21779$fnm()
    2168821780  ;
    2168921781  return 0;
     
    2171421806  echo "$as_me:$LINENO: result: yes" >&5
    2171521807echo "${ECHO_T}yes" >&6
     21808                  coin_XPR_link=yes
     21809                  break
    2171621810else
    2171721811  echo "$as_me: failed program was:" >&5
     
    2172021814echo "$as_me:$LINENO: result: no" >&5
    2172121815echo "${ECHO_T}no" >&6
    21722                                  { { echo "$as_me:$LINENO: error: Cannot find symbol XPRSsetintcontrol with XPR" >&5
    21723 echo "$as_me: error: Cannot find symbol XPRSsetintcontrol with XPR" >&2;}
    21724    { (exit 1); exit 1; }; }
    2172521816fi
    2172621817rm -f conftest.err conftest.$ac_objext \
    2172721818      conftest$ac_exeext conftest.$ac_ext
    21728                     ac_ext=c
     21819           done
     21820           ac_ext=c
    2172921821ac_cpp='$CPP $CPPFLAGS'
    2173021822ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    2173221824ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2173321825
    21734                     LIBS="$coin_save_LIBS"
    21735                   fi
    21736 
    21737   ADDLIBS="$XPRLIB $ADDLIBS"
     21826           if test x"$coin_XPR_link" = xyes ; then
     21827             LIBS="$coin_save_LIBS"
     21828           else
     21829             { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5
     21830echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;}
     21831   { (exit 1); exit 1; }; }
     21832           fi
     21833         fi
     21834
     21835
     21836# If we make it this far, we've verified the file and linked the function. Add
     21837# the necessary link flags to ADDLIBS and define the preprocessor symbol
     21838# COIN_HAS_LBRY.
     21839
     21840    ADDLIBS="$XPRLIB $ADDLIBS"
    2173821841
    2173921842cat >>confdefs.h <<\_ACEOF
     
    2174121844_ACEOF
    2174221845
    21743 else
    21744   echo "$as_me:$LINENO: result: no" >&5
    21745 echo "${ECHO_T}no" >&6
    21746 fi
     21846  fi
     21847
     21848# Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the
     21849# automake conditional. These actions must occur unconditionally.
    2174721850
    2174821851
     
    2176921872
    2177021873# Determine the name of the ASL library
    21771 case "$CXX" in
     21874case "$CC" in
    2177221875  cl* | */cl* | CL* | */CL*)
    2177321876    ampllib=amplsolv.lib ;;
     
    2178621889
    2178721890if test "$use_asldir" = BUILD; then
    21788   as_ac_File=`echo "ac_cv_file_$coin_aslobjdir/Makefile" | $as_tr_sh`
    21789 echo "$as_me:$LINENO: checking for $coin_aslobjdir/Makefile" >&5
    21790 echo $ECHO_N "checking for $coin_aslobjdir/Makefile... $ECHO_C" >&6
    21791 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21792   echo $ECHO_N "(cached) $ECHO_C" >&6
    21793 else
    21794   test "$cross_compiling" = yes &&
    21795   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21796 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21797    { (exit 1); exit 1; }; }
    21798 if test -r "$coin_aslobjdir/Makefile"; then
    21799   eval "$as_ac_File=yes"
    21800 else
    21801   eval "$as_ac_File=no"
    21802 fi
    21803 fi
    21804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21805 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21806 if test `eval echo '${'$as_ac_File'}'` = yes; then
    21807   :
    21808 else
    21809   { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5
     21891  if test "$PACKAGE_NAME" != ThirdPartyASL; then
     21892    # If we are configuring ThirdParty/ASL, don't check
     21893    if test -r $coin_aslobjdir/.MakeOk; then :; else
     21894      { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5
    2181021895echo "$as_me: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&2;}
    2181121896   { (exit 1); exit 1; }; }
    21812 fi
    21813 
     21897    fi
     21898  fi
    2181421899elif test -z "$use_asldir"; then
    2181521900 # try to find sources - if not given don't compile
    21816   as_ac_File=`echo "ac_cv_file_$coin_aslobjdir/Makefile" | $as_tr_sh`
    21817 echo "$as_me:$LINENO: checking for $coin_aslobjdir/Makefile" >&5
    21818 echo $ECHO_N "checking for $coin_aslobjdir/Makefile... $ECHO_C" >&6
    21819 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21820   echo $ECHO_N "(cached) $ECHO_C" >&6
    21821 else
    21822   test "$cross_compiling" = yes &&
    21823   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21824 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21825    { (exit 1); exit 1; }; }
    21826 if test -r "$coin_aslobjdir/Makefile"; then
    21827   eval "$as_ac_File=yes"
    21828 else
    21829   eval "$as_ac_File=no"
    21830 fi
    21831 fi
    21832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21833 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21834 if test `eval echo '${'$as_ac_File'}'` = yes; then
    21835   use_asldir=BUILD
    21836 else
    21837   use_asldir=no
    21838 fi
    21839 
     21901  if test "$PACKAGE_NAME" != ThirdPartyASL; then
     21902    if test -r $coin_aslobjdir/.MakeOk; then
     21903      use_asldir=BUILD
     21904    else
     21905      use_asldir=no
     21906    fi
     21907  else
     21908    use_asldir=no
     21909  fi
    2184021910elif test "$use_asldir" != "no"; then
    21841   as_ac_File=`echo "ac_cv_file_$use_asldir/$ampllib" | $as_tr_sh`
    21842 echo "$as_me:$LINENO: checking for $use_asldir/$ampllib" >&5
    21843 echo $ECHO_N "checking for $use_asldir/$ampllib... $ECHO_C" >&6
    21844 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21845   echo $ECHO_N "(cached) $ECHO_C" >&6
    21846 else
    21847   test "$cross_compiling" = yes &&
    21848   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21849 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21850    { (exit 1); exit 1; }; }
    21851 if test -r "$use_asldir/$ampllib"; then
    21852   eval "$as_ac_File=yes"
    21853 else
    21854   eval "$as_ac_File=no"
    21855 fi
    21856 fi
    21857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21858 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21859 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21911  if test -r $use_asldir/$ampllib; then
     21912
    2186021913  :
    2186121914else
     
    2186321916echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;}
    2186421917   { (exit 1); exit 1; }; }
    21865 fi
    21866 
    21867   as_ac_File=`echo "ac_cv_file_$use_asldir/asl.h" | $as_tr_sh`
    21868 echo "$as_me:$LINENO: checking for $use_asldir/asl.h" >&5
    21869 echo $ECHO_N "checking for $use_asldir/asl.h... $ECHO_C" >&6
    21870 if eval "test \"\${$as_ac_File+set}\" = set"; then
    21871   echo $ECHO_N "(cached) $ECHO_C" >&6
    21872 else
    21873   test "$cross_compiling" = yes &&
    21874   { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
    21875 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
    21876    { (exit 1); exit 1; }; }
    21877 if test -r "$use_asldir/asl.h"; then
    21878   eval "$as_ac_File=yes"
    21879 else
    21880   eval "$as_ac_File=no"
    21881 fi
    21882 fi
    21883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
    21884 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
    21885 if test `eval echo '${'$as_ac_File'}'` = yes; then
     21918  :
     21919fi
     21920
     21921  if test -r $use_asldir/asl.h; then
     21922
    2188621923  :
    2188721924else
     
    2188921926echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;}
    2189021927   { (exit 1); exit 1; }; }
     21928  :
    2189121929fi
    2189221930
     
    2206222100# Finally, we let configure write all the output...
    2206322101
    22064 FADDLIBS="$ADDLIBS"
    22065 if test x"$coin_need_flibs" = xyes; then
    22066   ADDLIBS="$ADDLIBS $FLIBS"
    22067 fi
    22068 
    22069 # library extension
    22070 
     22102
     22103
     22104
     22105echo "$as_me:$LINENO: checking which command should be used to link input files" >&5
     22106echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6
     22107coin_link_input_cmd="$LN_S"
     22108if test "$enable_doscompile" = mingw; then
     22109  coin_link_input_cmd=cp
     22110fi
    2207122111case "$CC" in
    2207222112  cl* | */cl* | CL* | */CL*)
    22073        LIBEXT=lib ;;
    22074     *) LIBEXT=a ;;
     22113    coin_link_input_cmd=cp ;;
    2207522114esac
    22076 
    22077 # Define VPATH_DISTCLEANFILES to be everything that needs to be
    22078 # cleaned for distclean in a vpath configuration
    22079 
    22080 VPATH_DISTCLEANFILES="$coin_vpath_link_files"
    22081 
    22082 cat >confcache <<\_ACEOF
     22115echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5
     22116echo "${ECHO_T}$coin_link_input_cmd" >&6
     22117
     22118
     22119
     22120if test x$coin_skip_ac_output != xyes; then
     22121
     22122  FADDLIBS="$ADDLIBS"
     22123  if test x"$coin_need_flibs" = xyes; then
     22124    ADDLIBS="$ADDLIBS $FLIBS"
     22125  fi
     22126
     22127  # library extension
     22128
     22129  case "$CC" in
     22130    cl* | */cl* | CL* | */CL*)
     22131         LIBEXT=lib ;;
     22132      *) LIBEXT=a ;;
     22133  esac
     22134
     22135  # Define VPATH_DISTCLEANFILES to be everything that needs to be
     22136  # cleaned for distclean in a vpath configuration
     22137
     22138  VPATH_DISTCLEANFILES="$coin_vpath_link_files"
     22139
     22140  # Take out subdirectories if their configuration concluded that they
     22141  # don't need to be compiled
     22142  if test x"$coin_ac_skip_subdirs" != x; then
     22143    new_subdirs=
     22144    for i in $subdirs; do
     22145      skipme=no
     22146      for j in $coin_ac_skip_subdirs; do
     22147        if test $i = $j; then
     22148          skipme=yes;
     22149        fi
     22150      done
     22151      if test $skipme = no; then
     22152        new_subdirs="$new_subdirs $i"
     22153      fi
     22154    done
     22155    subdirs="$new_subdirs"
     22156  fi
     22157
     22158  cat >confcache <<\_ACEOF
    2208322159# This file is a shell script that caches the results of configure
    2208422160# tests run on this system so they can be shared between configure
     
    2388723963
    2388823964
    23889 if test x"$coin_vpath_link_files" = x; then : ; else
    23890   lnkcmd=
    23891   if test "$enable_doscompile" = yes; then
    23892     lnkcmd=cp
    23893   fi
    23894   case "$CC" in
    23895     cl* | */cl* | CL* | */CL*)
    23896       lnkcmd=cp ;;
    23897   esac
    23898   if test "$lnkcmd" = cp; then
    23899     { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
     23965  if test x"$coin_vpath_link_files" = x; then : ; else
     23966    lnkcmd="$coin_link_input_cmd"
     23967    if test "$lnkcmd" = cp; then
     23968      { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
    2390023969echo "$as_me: Copying data files for VPATH configuration" >&6;}
    23901   else
    23902     echo "$as_me:$LINENO: checking whether ln -s works" >&5
    23903 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    23904 LN_S=$as_ln_s
    23905 if test "$LN_S" = "ln -s"; then
    23906   echo "$as_me:$LINENO: result: yes" >&5
    23907 echo "${ECHO_T}yes" >&6
    23908 else
    23909   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    23910 echo "${ECHO_T}no, using $LN_S" >&6
    23911 fi
    23912 
    23913     { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
     23970    else
     23971      { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
    2391423972echo "$as_me: Creating VPATH links for data files" >&6;}
    23915     lnkcmd="$LN_S"
    23916   fi
    23917   for file in $coin_vpath_link_files; do
    23918     dir=`(dirname "./$file") 2>/dev/null ||
     23973    fi
     23974    for file in $coin_vpath_link_files; do
     23975      dir=`(dirname "./$file") 2>/dev/null ||
    2391923976$as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    2392023977         X"./$file" : 'X\(//\)[^/]' \| \
     
    2392823985          /^X\(\/\).*/{ s//\1/; q; }
    2392923986          s/.*/./; q'`
    23930     if test -d $dir; then : ; else
    23931       { if $as_mkdir_p; then
     23987      if test -d $dir; then : ; else
     23988        { if $as_mkdir_p; then
    2393223989    mkdir -p $dir
    2393323990  else
     
    2395424011   { (exit 1); exit 1; }; }; }
    2395524012
    23956     fi
    23957     rm -f $file
    23958     $lnkcmd $abs_source_dir/$file $file
    23959   done
    23960 fi
    23961 
    23962 if test x$coin_projectdir = xyes; then
    23963   { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
     24013      fi
     24014      rm -f $file
     24015      $lnkcmd $abs_source_dir/$file $file
     24016    done
     24017  fi
     24018
     24019  if test x$coin_projectdir = xyes; then
     24020    { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
    2396424021echo "$as_me: Configuration of $PACKAGE_NAME successful" >&6;}
    23965 else
    23966   { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
     24022  else
     24023    { echo "$as_me:$LINENO: Main configuration of $PACKAGE_NAME successful" >&5
    2396724024echo "$as_me: Main configuration of $PACKAGE_NAME successful" >&6;}
    23968 fi
    23969 
     24025  fi
     24026else
     24027  { echo "$as_me:$LINENO: No configuration of $PACKAGE_NAME necessary" >&5
     24028echo "$as_me: No configuration of $PACKAGE_NAME necessary" >&6;}
     24029fi
     24030
     24031
Note: See TracChangeset for help on using the changeset viewer.