Changeset 791 for stable/1.1
- Timestamp:
- Sep 22, 2007 1:46:49 PM (14 years ago)
- Location:
- stable/1.1
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/1.1
- Property svn:externals
-
old new 1 MSVisualStudio https://projects.coin-or.org/svn/MSVisualStudio/stable/1.0/ExternalsDirs/Cbc2 BuildTools https://projects.coin-or.org/svn/BuildTools/stable/0.53 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.04 Data/Netlib https://projects.coin-or.org/svn/Data/stable/1.0/Netlib5 Data/Sample https://projects.coin-or.org/svn/Data/stable/1.0/Sample6 Data/miplib3 https://projects.coin-or.org/svn/Data/ stable/1.0/miplib37 CoinUtils https://projects.coin-or.org/svn/CoinUtils/stable/1.1/CoinUtils8 Cgl https://projects.coin-or.org/svn/Cgl/stable/0.5/Cgl9 Clp https://projects.coin-or.org/svn/Clp/stable/1.3/Clp10 Osi https://projects.coin-or.org/svn/Osi/stable/0.95/Osi11 Vol https://projects.coin-or.org/svn/Vol/stable/1.0/Vol1 MSVisualStudio https://projects.coin-or.org/svn/MSVisualStudio/releases/1.0.2/ExternalsDirs/Cbc 2 BuildTools https://projects.coin-or.org/svn/BuildTools/releases/0.5.15 3 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/releases/1.0.6 4 Data/Netlib https://projects.coin-or.org/svn/Data/releases/1.0.4/Netlib 5 Data/Sample https://projects.coin-or.org/svn/Data/releases/1.0.4/Sample 6 Data/miplib3 https://projects.coin-or.org/svn/Data/releases/1.0.4/miplib3 7 CoinUtils https://projects.coin-or.org/svn/CoinUtils/releases/1.1.0/CoinUtils 8 Cgl https://projects.coin-or.org/svn/Cgl/releases/0.5.1/Cgl 9 Clp https://projects.coin-or.org/svn/Clp/releases/1.3.4/Clp 10 Osi https://projects.coin-or.org/svn/Osi/releases/0.95.3/Osi 11 Vol https://projects.coin-or.org/svn/Vol/releases/1.0.0/Vol
-
- Property svn:externals
-
stable/1.1/Cbc/configure
r605 r791 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59 for Cbc 0.1.3 # Generated by GNU Autoconf 2.59 for Cbc 1.1.2. 4 4 # 5 5 # Report bugs to <coin-cbc@list.coin-or.org>. … … 430 430 PACKAGE_NAME='Cbc' 431 431 PACKAGE_TARNAME='cbc' 432 PACKAGE_VERSION=' 0.1'433 PACKAGE_STRING='Cbc 0.1'432 PACKAGE_VERSION='1.1.2' 433 PACKAGE_STRING='Cbc 1.1.2' 434 434 PACKAGE_BUGREPORT='coin-cbc@list.coin-or.org' 435 435 … … 1002 1002 # This message is too long to be a string in the A/UX 3.1 sh. 1003 1003 cat <<_ACEOF 1004 \`configure' configures Cbc 0.1to adapt to many kinds of systems.1004 \`configure' configures Cbc 1.1.2 to adapt to many kinds of systems. 1005 1005 1006 1006 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1068 1068 if test -n "$ac_init_help"; then 1069 1069 case $ac_init_help in 1070 short | recursive ) echo "Configuration of Cbc 0.1:";;1070 short | recursive ) echo "Configuration of Cbc 1.1.2:";; 1071 1071 esac 1072 1072 cat <<\_ACEOF … … 1124 1124 specify default solver for Cbc in lower case letters 1125 1125 (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 1147 1140 --with-asldir specify path to AMPL solver directory (or BUILD for 1148 1141 compilation, or "no" for disabling AMPL) … … 1274 1267 if $ac_init_version; then 1275 1268 cat <<\_ACEOF 1276 Cbc configure 0.11269 Cbc configure 1.1.2 1277 1270 generated by GNU Autoconf 2.59 1278 1271 … … 1294 1287 running configure, to aid debugging if configure makes a mistake. 1295 1288 1296 It was created by Cbc $as_me 0.1, which was1289 It was created by Cbc $as_me 1.1.2, which was 1297 1290 generated by GNU Autoconf 2.59. Invocation command line was 1298 1291 … … 1746 1739 case "${enableval}" in 1747 1740 yes) coin_debug_compile=true 1748 enable_shared=no 1741 if test "${enable_shared+set}" = set; then :; else 1742 enable_shared=no 1743 fi 1749 1744 ;; 1750 1745 no) coin_debug_compile=false … … 1852 1847 if test "$enable_doscompile" != no; then 1853 1848 case $build in 1854 *-cygwin* ) ;;1855 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin " >&51856 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin " >&2;}1849 *-cygwin* | *-mingw*) ;; 1850 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&5 1851 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&2;} 1857 1852 { (exit 1); exit 1; }; } ;; 1858 1853 esac … … 1862 1857 fi; 1863 1858 case "$enable_doscompile" in 1864 msvc|mingw|no) ;; 1859 mingw) 1860 case $build in 1861 *-mingw*) enable_doscompile=no ;; 1862 esac 1863 ;; 1864 msvc|no) ;; 1865 1865 yes) enable_doscompile=mingw ;; 1866 1866 *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile. … … 2741 2741 cl* | */cl* | CL* | */CL*) 2742 2742 coin_opt_cflags='-MT -O2' 2743 coin_add_cflags='-nologo -wd4996 '2743 coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE' 2744 2744 coin_dbg_cflags='-MTd' 2745 2745 ;; … … 2812 2812 xlc* | */xlc* | mpxlc* | */mpxlc*) 2813 2813 coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 2814 coin_add_cflags="-bmaxdata:0x80000000 "2814 coin_add_cflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029" 2815 2815 coin_dbg_cflags="-g" 2816 2816 ;; … … 3474 3474 fi 3475 3475 3476 # It seems that we need to cleanup something here for the Windows 3477 case "$CXX" in 3478 cl* | */cl* | CL* | */CL* ) 3479 sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh 3480 mv confdefs.hh confdefs.h 3481 ;; 3482 esac 3483 3476 3484 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 3477 3485 case "$CXX" in … … 3574 3582 # The MT and MTd options are mutually exclusive 3575 3583 coin_opt_cxxflags='-MT -O2' 3576 coin_add_cxxflags='-nologo -EHsc -GR -wd4996 '3584 coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE' 3577 3585 coin_dbg_cxxflags='-MTd' 3578 3586 ;; … … 3645 3653 xlC* | */xlC* | mpxlC* | */mpxlC*) 3646 3654 coin_opt_cxxflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 3647 coin_add_cxxflags="-bmaxdata:0x80000000 -qrtti=dyna "3655 coin_add_cxxflags="-bmaxdata:0x80000000 -qrtti=dyna -qsuppress=1500-036 -qsuppress=1500-029" 3648 3656 coin_dbg_cxxflags="-g" 3649 3657 ;; … … 4341 4349 # Define the identity of the package. 4342 4350 PACKAGE='cbc' 4343 VERSION=' 0.1'4351 VERSION='1.1.2' 4344 4352 4345 4353 … … 4914 4922 correct_version='1.5.22' 4915 4923 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 4916 as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh` 4917 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5 4918 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6 4919 if eval "test \"\${$as_ac_File+set}\" = set"; then 4920 echo $ECHO_N "(cached) $ECHO_C" >&6 4921 else 4922 test "$cross_compiling" = yes && 4923 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4924 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4925 { (exit 1); exit 1; }; } 4926 if test -r "$want_dir/libtool/ltmain.sh"; then 4927 eval "$as_ac_File=yes" 4928 else 4929 eval "$as_ac_File=no" 4930 fi 4931 fi 4932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 4933 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 4934 if test `eval echo '${'$as_ac_File'}'` = yes; then 4924 if test -r $want_dir/libtool/ltmain.sh; then 4935 4925 have_ltmain=yes 4926 : 4936 4927 else 4937 4928 have_ltmain=no 4929 : 4938 4930 fi 4939 4931 … … 4966 4958 want_dir=$AUTOTOOLS_DIR/share 4967 4959 fi 4968 as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh` 4969 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5 4970 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6 4971 if eval "test \"\${$as_ac_File+set}\" = set"; then 4972 echo $ECHO_N "(cached) $ECHO_C" >&6 4973 else 4974 test "$cross_compiling" = yes && 4975 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 4976 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 4977 { (exit 1); exit 1; }; } 4978 if test -r "$want_dir/aclocal/libtool.m4"; then 4979 eval "$as_ac_File=yes" 4980 else 4981 eval "$as_ac_File=no" 4982 fi 4983 fi 4984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 4985 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 4986 if test `eval echo '${'$as_ac_File'}'` = yes; then 4960 if test -r $want_dir/aclocal/libtool.m4; then 4987 4961 LIBTOOLM4="$want_dir/aclocal/libtool.m4" 4962 : 4988 4963 else 4989 4964 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 4990 4965 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 4991 4966 { (exit 1); exit 1; }; } 4967 : 4992 4968 fi 4993 4969 … … 5675 5651 *-*-irix6*) 5676 5652 # Find out which ABI we are using. 5677 echo '#line 56 77"configure"' > conftest.$ac_ext5653 echo '#line 5653 "configure"' > conftest.$ac_ext 5678 5654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5679 5655 (eval $ac_compile) 2>&5 … … 6809 6785 6810 6786 # Provide some information about the compiler. 6811 echo "$as_me:6 811:" \6787 echo "$as_me:6787:" \ 6812 6788 "checking for Fortran 77 compiler version" >&5 6813 6789 ac_compiler=`set X $ac_compile; echo $2` … … 7876 7852 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 7877 7853 -e 's:$: $lt_compiler_flag:'` 7878 (eval echo "\"\$as_me:78 78: $lt_compile\"" >&5)7854 (eval echo "\"\$as_me:7854: $lt_compile\"" >&5) 7879 7855 (eval "$lt_compile" 2>conftest.err) 7880 7856 ac_status=$? 7881 7857 cat conftest.err >&5 7882 echo "$as_me:78 82: \$? = $ac_status" >&57858 echo "$as_me:7858: \$? = $ac_status" >&5 7883 7859 if (exit $ac_status) && test -s "$ac_outfile"; then 7884 7860 # The compiler can only warn and ignore the option if not recognized … … 8144 8120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8145 8121 -e 's:$: $lt_compiler_flag:'` 8146 (eval echo "\"\$as_me:81 46: $lt_compile\"" >&5)8122 (eval echo "\"\$as_me:8122: $lt_compile\"" >&5) 8147 8123 (eval "$lt_compile" 2>conftest.err) 8148 8124 ac_status=$? 8149 8125 cat conftest.err >&5 8150 echo "$as_me:81 50: \$? = $ac_status" >&58126 echo "$as_me:8126: \$? = $ac_status" >&5 8151 8127 if (exit $ac_status) && test -s "$ac_outfile"; then 8152 8128 # The compiler can only warn and ignore the option if not recognized … … 8248 8224 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8249 8225 -e 's:$: $lt_compiler_flag:'` 8250 (eval echo "\"\$as_me:82 50: $lt_compile\"" >&5)8226 (eval echo "\"\$as_me:8226: $lt_compile\"" >&5) 8251 8227 (eval "$lt_compile" 2>out/conftest.err) 8252 8228 ac_status=$? 8253 8229 cat out/conftest.err >&5 8254 echo "$as_me:82 54: \$? = $ac_status" >&58230 echo "$as_me:8230: \$? = $ac_status" >&5 8255 8231 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8256 8232 then … … 10593 10569 lt_status=$lt_dlunknown 10594 10570 cat > conftest.$ac_ext <<EOF 10595 #line 105 95"configure"10571 #line 10571 "configure" 10596 10572 #include "confdefs.h" 10597 10573 … … 10693 10669 lt_status=$lt_dlunknown 10694 10670 cat > conftest.$ac_ext <<EOF 10695 #line 106 95"configure"10671 #line 10671 "configure" 10696 10672 #include "confdefs.h" 10697 10673 … … 13037 13013 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13038 13014 -e 's:$: $lt_compiler_flag:'` 13039 (eval echo "\"\$as_me:130 39: $lt_compile\"" >&5)13015 (eval echo "\"\$as_me:13015: $lt_compile\"" >&5) 13040 13016 (eval "$lt_compile" 2>conftest.err) 13041 13017 ac_status=$? 13042 13018 cat conftest.err >&5 13043 echo "$as_me:130 43: \$? = $ac_status" >&513019 echo "$as_me:13019: \$? = $ac_status" >&5 13044 13020 if (exit $ac_status) && test -s "$ac_outfile"; then 13045 13021 # The compiler can only warn and ignore the option if not recognized … … 13141 13117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13142 13118 -e 's:$: $lt_compiler_flag:'` 13143 (eval echo "\"\$as_me:131 43: $lt_compile\"" >&5)13119 (eval echo "\"\$as_me:13119: $lt_compile\"" >&5) 13144 13120 (eval "$lt_compile" 2>out/conftest.err) 13145 13121 ac_status=$? 13146 13122 cat out/conftest.err >&5 13147 echo "$as_me:131 47: \$? = $ac_status" >&513123 echo "$as_me:13123: \$? = $ac_status" >&5 13148 13124 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13149 13125 then … … 14711 14687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14712 14688 -e 's:$: $lt_compiler_flag:'` 14713 (eval echo "\"\$as_me:14 713: $lt_compile\"" >&5)14689 (eval echo "\"\$as_me:14689: $lt_compile\"" >&5) 14714 14690 (eval "$lt_compile" 2>conftest.err) 14715 14691 ac_status=$? 14716 14692 cat conftest.err >&5 14717 echo "$as_me:14 717: \$? = $ac_status" >&514693 echo "$as_me:14693: \$? = $ac_status" >&5 14718 14694 if (exit $ac_status) && test -s "$ac_outfile"; then 14719 14695 # The compiler can only warn and ignore the option if not recognized … … 14815 14791 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14816 14792 -e 's:$: $lt_compiler_flag:'` 14817 (eval echo "\"\$as_me:14 817: $lt_compile\"" >&5)14793 (eval echo "\"\$as_me:14793: $lt_compile\"" >&5) 14818 14794 (eval "$lt_compile" 2>out/conftest.err) 14819 14795 ac_status=$? 14820 14796 cat out/conftest.err >&5 14821 echo "$as_me:14 821: \$? = $ac_status" >&514797 echo "$as_me:14797: \$? = $ac_status" >&5 14822 14798 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14823 14799 then … … 17022 16998 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17023 16999 -e 's:$: $lt_compiler_flag:'` 17024 (eval echo "\"\$as_me:170 24: $lt_compile\"" >&5)17000 (eval echo "\"\$as_me:17000: $lt_compile\"" >&5) 17025 17001 (eval "$lt_compile" 2>conftest.err) 17026 17002 ac_status=$? 17027 17003 cat conftest.err >&5 17028 echo "$as_me:170 28: \$? = $ac_status" >&517004 echo "$as_me:17004: \$? = $ac_status" >&5 17029 17005 if (exit $ac_status) && test -s "$ac_outfile"; then 17030 17006 # The compiler can only warn and ignore the option if not recognized … … 17290 17266 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17291 17267 -e 's:$: $lt_compiler_flag:'` 17292 (eval echo "\"\$as_me:172 92: $lt_compile\"" >&5)17268 (eval echo "\"\$as_me:17268: $lt_compile\"" >&5) 17293 17269 (eval "$lt_compile" 2>conftest.err) 17294 17270 ac_status=$? 17295 17271 cat conftest.err >&5 17296 echo "$as_me:172 96: \$? = $ac_status" >&517272 echo "$as_me:17272: \$? = $ac_status" >&5 17297 17273 if (exit $ac_status) && test -s "$ac_outfile"; then 17298 17274 # The compiler can only warn and ignore the option if not recognized … … 17394 17370 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17395 17371 -e 's:$: $lt_compiler_flag:'` 17396 (eval echo "\"\$as_me:173 96: $lt_compile\"" >&5)17372 (eval echo "\"\$as_me:17372: $lt_compile\"" >&5) 17397 17373 (eval "$lt_compile" 2>out/conftest.err) 17398 17374 ac_status=$? 17399 17375 cat out/conftest.err >&5 17400 echo "$as_me:17 400: \$? = $ac_status" >&517376 echo "$as_me:17376: \$? = $ac_status" >&5 17401 17377 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17402 17378 then … … 20101 20077 { echo "$as_me:$LINENO: Build is \"$build\"." >&5 20102 20078 echo "$as_me: Build is \"$build\"." >&6;} 20079 mydos2unix='| dos2unix' 20103 20080 case $build in 20104 20081 *-mingw*) 20105 20082 CYGPATH_W=echo 20083 mydos2unix= 20106 20084 ;; 20107 20085 esac … … 20129 20107 -e 's%lib /OUT:%lib -OUT:%' \ 20130 20108 -e "s%cygpath -w%$CYGPATH_W%" \ 20131 -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%' \20109 -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%' \ 20132 20110 -e 's/$AR t/lib -nologo -list/' \ 20133 20111 -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \ … … 20774 20752 # Check which third party solvers are available ToDo! 20775 20753 20776 echo "$as_me:$LINENO: checking if user provides library for Cplex" >&520754 echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5 20777 20755 echo $ECHO_N "checking if user provides library for Cplex... $ECHO_C" >&6 20778 20756 20779 20757 # Check for header file directory 20758 20780 20759 20781 20760 # Check whether --with-cplex-incdir or --without-cplex-incdir was given. … … 20784 20763 CPXINCDIR=`cd $withval; pwd` 20785 20764 fi; 20765 20786 20766 # Check for library directory 20767 20787 20768 20788 20769 # Check whether --with-cplex-lib or --without-cplex-lib was given. … … 20791 20772 CPXLIB=$withval 20792 20773 fi; 20774 20793 20775 # Switch to disable library check if requested 20794 # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given. 20776 20777 # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given. 20795 20778 if test "${enable_cplex_libcheck+set}" = set; then 20796 20779 enableval="$enable_cplex_libcheck" … … 20800 20783 fi; 20801 20784 20802 if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then 20803 coin_has_cpx=true 20804 else 20805 coin_has_cpx=false 20806 fi 20807 20808 if test $coin_has_cpx = true; then 20809 # Check either both arguments or none are given 20810 if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then 20811 { { 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 20812 echo "$as_me: error: You need to specify both --with-cplex-incdir and --with-cplex-lib if you want to use library Cplex" >&2;} 20785 # At this point, if we're going to use the library, both LBRYINCDIR and 20786 # LBRYLIB must be defined and not empty. 20787 20788 if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then 20789 if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then 20790 { { 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 20791 echo "$as_me: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&2;} 20813 20792 { (exit 1); exit 1; }; } 20793 fi 20794 coin_has_cpx=true 20795 echo "$as_me:$LINENO: result: yes" >&5 20796 echo "${ECHO_T}yes" >&6 20797 else 20798 coin_has_cpx=false 20799 echo "$as_me:$LINENO: result: no" >&5 20800 echo "${ECHO_T}no" >&6 20814 20801 fi 20815 echo "$as_me:$LINENO: result: yes" >&5 20816 echo "${ECHO_T}yes" >&6 20817 # Check if the given header file is there 20818 as_ac_File=`echo "ac_cv_file_$CPXINCDIR/cplex.h" | $as_tr_sh` 20819 echo "$as_me:$LINENO: checking for $CPXINCDIR/cplex.h" >&5 20820 echo $ECHO_N "checking for $CPXINCDIR/cplex.h... $ECHO_C" >&6 20821 if eval "test \"\${$as_ac_File+set}\" = set"; then 20822 echo $ECHO_N "(cached) $ECHO_C" >&6 20823 else 20824 test "$cross_compiling" = yes && 20825 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 20826 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 20827 { (exit 1); exit 1; }; } 20828 if test -r "$CPXINCDIR/cplex.h"; then 20829 eval "$as_ac_File=yes" 20830 else 20831 eval "$as_ac_File=no" 20832 fi 20833 fi 20834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 20835 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 20836 if test `eval echo '${'$as_ac_File'}'` = yes; then 20802 20803 # If we have instructions for use, consider header and link checks. 20804 20805 if test $coin_has_cpx = true; then 20806 20807 # If argument 3 (file) is given, check for the file. Typically this will be a 20808 # header file, but that's not assumed. 20809 20810 if test -r $CPXINCDIR/cplex.h; then 20811 20837 20812 : 20838 20813 else … … 20840 20815 echo "$as_me: error: Cannot find file cplex.h in $CPXINCDIR" >&2;} 20841 20816 { (exit 1); exit 1; }; } 20842 fi 20843 20844 20845 # Check if the symbol is provided in the library 20846 # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER 20847 if test x"$cplex_libcheck" != xno; then 20848 coin_save_LIBS="$LIBS" 20849 LIBS="$CPXLIB $ADDLIBS" 20850 echo "$as_me:$LINENO: checking whether symbol CPXgetstat is available with CPX" >&5 20851 echo $ECHO_N "checking whether symbol CPXgetstat is available with CPX... $ECHO_C" >&6 20852 ac_ext=c 20817 : 20818 fi 20819 20820 20821 # Now see if we can link the function. There are arguments for and against 20822 # assuming argument 3 is a header file declaring the function. A correct 20823 # function declaration is the main argument in favour. Having to cope with 20824 # possible dependencies or other oddities are the main arguments against. 20825 # Force the use of C as the best single choice amongst C++, C, and Fortran. 20826 # Obviously, this has limits. 20827 20828 if test x"$cplex_libcheck" != xno; then 20829 coin_save_LIBS="$LIBS" 20830 LIBS="$CPXLIB $ADDLIBS" 20831 coin_CPX_link=no 20832 ac_ext=c 20853 20833 ac_cpp='$CPP $CPPFLAGS' 20854 20834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 20856 20836 ac_compiler_gnu=$ac_cv_c_compiler_gnu 20857 20837 20858 # ToDo find out what to do about extern "C" 20859 # AC_TRY_LINK([extern "C" {void CPXgetstat();}],[CPXgetstat()], 20860 cat >conftest.$ac_ext <<_ACEOF 20838 for fnm in CPXgetstat ; do 20839 echo "$as_me:$LINENO: checking whether symbol $fnm is available with CPX" >&5 20840 echo $ECHO_N "checking whether symbol $fnm is available with CPX... $ECHO_C" >&6 20841 cat >conftest.$ac_ext <<_ACEOF 20861 20842 /* confdefs.h. */ 20862 20843 _ACEOF … … 20864 20845 cat >>conftest.$ac_ext <<_ACEOF 20865 20846 /* end confdefs.h. */ 20866 void CPXgetstat(); 20847 20867 20848 int 20868 20849 main () 20869 20850 { 20870 CPXgetstat()20851 $fnm() 20871 20852 ; 20872 20853 return 0; … … 20897 20878 echo "$as_me:$LINENO: result: yes" >&5 20898 20879 echo "${ECHO_T}yes" >&6 20880 coin_CPX_link=yes 20881 break 20899 20882 else 20900 20883 echo "$as_me: failed program was:" >&5 … … 20903 20886 echo "$as_me:$LINENO: result: no" >&5 20904 20887 echo "${ECHO_T}no" >&6 20905 { { echo "$as_me:$LINENO: error: Cannot find symbol CPXgetstat with CPX" >&520906 echo "$as_me: error: Cannot find symbol CPXgetstat with CPX" >&2;}20907 { (exit 1); exit 1; }; }20908 20888 fi 20909 20889 rm -f conftest.err conftest.$ac_objext \ 20910 20890 conftest$ac_exeext conftest.$ac_ext 20911 ac_ext=c 20891 done 20892 ac_ext=c 20912 20893 ac_cpp='$CPP $CPPFLAGS' 20913 20894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 20915 20896 ac_compiler_gnu=$ac_cv_c_compiler_gnu 20916 20897 20917 LIBS="$coin_save_LIBS" 20918 fi 20919 20920 ADDLIBS="$CPXLIB $ADDLIBS" 20898 if test x"$coin_CPX_link" = xyes ; then 20899 LIBS="$coin_save_LIBS" 20900 else 20901 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) CPXgetstat with CPX" >&5 20902 echo "$as_me: error: Cannot find symbol(s) CPXgetstat with CPX" >&2;} 20903 { (exit 1); exit 1; }; } 20904 fi 20905 fi 20906 20907 20908 # If we make it this far, we've verified the file and linked the function. Add 20909 # the necessary link flags to ADDLIBS and define the preprocessor symbol 20910 # COIN_HAS_LBRY. 20911 20912 ADDLIBS="$CPXLIB $ADDLIBS" 20921 20913 20922 20914 cat >>confdefs.h <<\_ACEOF … … 20924 20916 _ACEOF 20925 20917 20926 else 20927 echo "$as_me:$LINENO: result: no" >&5 20928 echo "${ECHO_T}no" >&6 20929 fi 20918 fi 20919 20920 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 20921 # automake conditional. These actions must occur unconditionally. 20930 20922 20931 20923 … … 20943 20935 20944 20936 20945 echo "$as_me:$LINENO: checking if user provides library for Glpk" >&520937 echo "$as_me:$LINENO: checking if user provides library for Glpk" >&5 20946 20938 echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&6 20947 20939 20948 20940 # Check for header file directory 20941 20949 20942 20950 20943 # Check whether --with-glpk-incdir or --without-glpk-incdir was given. … … 20953 20946 GLPKINCDIR=`cd $withval; pwd` 20954 20947 fi; 20948 20955 20949 # Check for library directory 20950 20956 20951 20957 20952 # Check whether --with-glpk-lib or --without-glpk-lib was given. … … 20960 20955 GLPKLIB=$withval 20961 20956 fi; 20957 20962 20958 # Switch to disable library check if requested 20963 # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given. 20959 20960 # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given. 20964 20961 if test "${enable_glpk_libcheck+set}" = set; then 20965 20962 enableval="$enable_glpk_libcheck" … … 20969 20966 fi; 20970 20967 20971 if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then 20972 coin_has_glpk=true 20973 else 20974 coin_has_glpk=false 20975 fi 20976 20977 if test $coin_has_glpk = true; then 20978 # Check either both arguments or none are given 20979 if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then 20980 { { 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 20981 echo "$as_me: error: You need to specify both --with-glpk-incdir and --with-glpk-lib if you want to use library Glpk" >&2;} 20968 # At this point, if we're going to use the library, both LBRYINCDIR and 20969 # LBRYLIB must be defined and not empty. 20970 20971 if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then 20972 if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then 20973 { { 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 20974 echo "$as_me: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&2;} 20982 20975 { (exit 1); exit 1; }; } 20976 fi 20977 coin_has_glpk=true 20978 echo "$as_me:$LINENO: result: yes" >&5 20979 echo "${ECHO_T}yes" >&6 20980 else 20981 coin_has_glpk=false 20982 echo "$as_me:$LINENO: result: no" >&5 20983 echo "${ECHO_T}no" >&6 20983 20984 fi 20984 echo "$as_me:$LINENO: result: yes" >&5 20985 echo "${ECHO_T}yes" >&6 20986 # Check if the given header file is there 20987 as_ac_File=`echo "ac_cv_file_$GLPKINCDIR/glpk.h" | $as_tr_sh` 20988 echo "$as_me:$LINENO: checking for $GLPKINCDIR/glpk.h" >&5 20989 echo $ECHO_N "checking for $GLPKINCDIR/glpk.h... $ECHO_C" >&6 20990 if eval "test \"\${$as_ac_File+set}\" = set"; then 20991 echo $ECHO_N "(cached) $ECHO_C" >&6 20992 else 20993 test "$cross_compiling" = yes && 20994 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 20995 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 20996 { (exit 1); exit 1; }; } 20997 if test -r "$GLPKINCDIR/glpk.h"; then 20998 eval "$as_ac_File=yes" 20999 else 21000 eval "$as_ac_File=no" 21001 fi 21002 fi 21003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 21004 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 21005 if test `eval echo '${'$as_ac_File'}'` = yes; then 20985 20986 # If we have instructions for use, consider header and link checks. 20987 20988 if test $coin_has_glpk = true; then 20989 20990 # If argument 3 (file) is given, check for the file. Typically this will be a 20991 # header file, but that's not assumed. 20992 20993 if test -r $GLPKINCDIR/glpk.h; then 20994 21006 20995 : 21007 20996 else … … 21009 20998 echo "$as_me: error: Cannot find file glpk.h in $GLPKINCDIR" >&2;} 21010 20999 { (exit 1); exit 1; }; } 21011 fi 21012 21013 21014 # Check if the symbol is provided in the library 21015 # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER 21016 if test x"$glpk_libcheck" != xno; then 21017 coin_save_LIBS="$LIBS" 21018 LIBS="$GLPKLIB $ADDLIBS" 21019 echo "$as_me:$LINENO: checking whether symbol glp_lpx_simplex is available with GLPK" >&5 21020 echo $ECHO_N "checking whether symbol glp_lpx_simplex is available with GLPK... $ECHO_C" >&6 21021 ac_ext=c 21000 : 21001 fi 21002 21003 21004 # Now see if we can link the function. There are arguments for and against 21005 # assuming argument 3 is a header file declaring the function. A correct 21006 # function declaration is the main argument in favour. Having to cope with 21007 # possible dependencies or other oddities are the main arguments against. 21008 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21009 # Obviously, this has limits. 21010 21011 if test x"$glpk_libcheck" != xno; then 21012 coin_save_LIBS="$LIBS" 21013 LIBS="$GLPKLIB $ADDLIBS" 21014 coin_GLPK_link=no 21015 ac_ext=c 21022 21016 ac_cpp='$CPP $CPPFLAGS' 21023 21017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21025 21019 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21026 21020 21027 # ToDo find out what to do about extern "C" 21028 # AC_TRY_LINK([extern "C" {void glp_lpx_simplex();}],[glp_lpx_simplex()], 21029 cat >conftest.$ac_ext <<_ACEOF 21021 for fnm in glp_lpx_simplex ; do 21022 echo "$as_me:$LINENO: checking whether symbol $fnm is available with GLPK" >&5 21023 echo $ECHO_N "checking whether symbol $fnm is available with GLPK... $ECHO_C" >&6 21024 cat >conftest.$ac_ext <<_ACEOF 21030 21025 /* confdefs.h. */ 21031 21026 _ACEOF … … 21033 21028 cat >>conftest.$ac_ext <<_ACEOF 21034 21029 /* end confdefs.h. */ 21035 void glp_lpx_simplex(); 21030 21036 21031 int 21037 21032 main () 21038 21033 { 21039 glp_lpx_simplex()21034 $fnm() 21040 21035 ; 21041 21036 return 0; … … 21066 21061 echo "$as_me:$LINENO: result: yes" >&5 21067 21062 echo "${ECHO_T}yes" >&6 21063 coin_GLPK_link=yes 21064 break 21068 21065 else 21069 21066 echo "$as_me: failed program was:" >&5 … … 21072 21069 echo "$as_me:$LINENO: result: no" >&5 21073 21070 echo "${ECHO_T}no" >&6 21074 { { echo "$as_me:$LINENO: error: Cannot find symbol glp_lpx_simplex with GLPK" >&521075 echo "$as_me: error: Cannot find symbol glp_lpx_simplex with GLPK" >&2;}21076 { (exit 1); exit 1; }; }21077 21071 fi 21078 21072 rm -f conftest.err conftest.$ac_objext \ 21079 21073 conftest$ac_exeext conftest.$ac_ext 21080 ac_ext=c 21074 done 21075 ac_ext=c 21081 21076 ac_cpp='$CPP $CPPFLAGS' 21082 21077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21084 21079 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21085 21080 21086 LIBS="$coin_save_LIBS" 21087 fi 21088 21089 ADDLIBS="$GLPKLIB $ADDLIBS" 21081 if test x"$coin_GLPK_link" = xyes ; then 21082 LIBS="$coin_save_LIBS" 21083 else 21084 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&5 21085 echo "$as_me: error: Cannot find symbol(s) glp_lpx_simplex with GLPK" >&2;} 21086 { (exit 1); exit 1; }; } 21087 fi 21088 fi 21089 21090 21091 # If we make it this far, we've verified the file and linked the function. Add 21092 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21093 # COIN_HAS_LBRY. 21094 21095 ADDLIBS="$GLPKLIB $ADDLIBS" 21090 21096 21091 21097 cat >>confdefs.h <<\_ACEOF … … 21093 21099 _ACEOF 21094 21100 21095 else 21096 echo "$as_me:$LINENO: result: no" >&5 21097 echo "${ECHO_T}no" >&6 21098 fi 21101 fi 21102 21103 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21104 # automake conditional. These actions must occur unconditionally. 21099 21105 21100 21106 … … 21112 21118 21113 21119 21114 echo "$as_me:$LINENO: checking if user provides library for FortMP" >&521120 echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5 21115 21121 echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6 21116 21122 21117 21123 # Check for header file directory 21124 21118 21125 21119 21126 # Check whether --with-fortmp-incdir or --without-fortmp-incdir was given. … … 21122 21129 FMPINCDIR=`cd $withval; pwd` 21123 21130 fi; 21131 21124 21132 # Check for library directory 21133 21125 21134 21126 21135 # Check whether --with-fortmp-lib or --without-fortmp-lib was given. … … 21129 21138 FMPLIB=$withval 21130 21139 fi; 21140 21131 21141 # Switch to disable library check if requested 21132 # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given. 21142 21143 # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given. 21133 21144 if test "${enable_fortmp_libcheck+set}" = set; then 21134 21145 enableval="$enable_fortmp_libcheck" … … 21138 21149 fi; 21139 21150 21140 if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then 21141 coin_has_fmp=true 21142 else 21143 coin_has_fmp=false 21144 fi 21145 21146 if test $coin_has_fmp = true; then 21147 # Check either both arguments or none are given 21148 if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then 21149 { { 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 21150 echo "$as_me: error: You need to specify both --with-fortmp-incdir and --with-fortmp-lib if you want to use library FortMP" >&2;} 21151 # At this point, if we're going to use the library, both LBRYINCDIR and 21152 # LBRYLIB must be defined and not empty. 21153 21154 if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then 21155 if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then 21156 { { 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 21157 echo "$as_me: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&2;} 21151 21158 { (exit 1); exit 1; }; } 21159 fi 21160 coin_has_fmp=true 21161 echo "$as_me:$LINENO: result: yes" >&5 21162 echo "${ECHO_T}yes" >&6 21163 else 21164 coin_has_fmp=false 21165 echo "$as_me:$LINENO: result: no" >&5 21166 echo "${ECHO_T}no" >&6 21152 21167 fi 21153 echo "$as_me:$LINENO: result: yes" >&5 21154 echo "${ECHO_T}yes" >&6 21155 # Check if the given header file is there 21156 21157 # Check if the symbol is provided in the library 21158 # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER 21159 21160 ADDLIBS="$FMPLIB $ADDLIBS" 21168 21169 # If we have instructions for use, consider header and link checks. 21170 21171 if test $coin_has_fmp = true; then 21172 21173 # If argument 3 (file) is given, check for the file. Typically this will be a 21174 # header file, but that's not assumed. 21175 21176 21177 21178 # Now see if we can link the function. There are arguments for and against 21179 # assuming argument 3 is a header file declaring the function. A correct 21180 # function declaration is the main argument in favour. Having to cope with 21181 # possible dependencies or other oddities are the main arguments against. 21182 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21183 # Obviously, this has limits. 21184 21185 21186 21187 # If we make it this far, we've verified the file and linked the function. Add 21188 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21189 # COIN_HAS_LBRY. 21190 21191 ADDLIBS="$FMPLIB $ADDLIBS" 21161 21192 21162 21193 cat >>confdefs.h <<\_ACEOF … … 21164 21195 _ACEOF 21165 21196 21166 else 21167 echo "$as_me:$LINENO: result: no" >&5 21168 echo "${ECHO_T}no" >&6 21169 fi 21197 fi 21198 21199 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21200 # automake conditional. These actions must occur unconditionally. 21170 21201 21171 21202 … … 21183 21214 #ToDo! is Fortran? 21184 21215 21185 echo "$as_me:$LINENO: checking if user provides library for Mosek" >&521216 echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5 21186 21217 echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6 21187 21218 21188 21219 # Check for header file directory 21220 21189 21221 21190 21222 # Check whether --with-mosek-incdir or --without-mosek-incdir was given. … … 21193 21225 MSKINCDIR=`cd $withval; pwd` 21194 21226 fi; 21227 21195 21228 # Check for library directory 21229 21196 21230 21197 21231 # Check whether --with-mosek-lib or --without-mosek-lib was given. … … 21200 21234 MSKLIB=$withval 21201 21235 fi; 21236 21202 21237 # Switch to disable library check if requested 21203 # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given. 21238 21239 # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given. 21204 21240 if test "${enable_mosek_libcheck+set}" = set; then 21205 21241 enableval="$enable_mosek_libcheck" … … 21209 21245 fi; 21210 21246 21211 if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then 21212 coin_has_msk=true 21213 else 21214 coin_has_msk=false 21215 fi 21216 21217 if test $coin_has_msk = true; then 21218 # Check either both arguments or none are given 21219 if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then 21220 { { 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 21221 echo "$as_me: error: You need to specify both --with-mosek-incdir and --with-mosek-lib if you want to use library Mosek" >&2;} 21247 # At this point, if we're going to use the library, both LBRYINCDIR and 21248 # LBRYLIB must be defined and not empty. 21249 21250 if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then 21251 if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then 21252 { { 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 21253 echo "$as_me: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&2;} 21222 21254 { (exit 1); exit 1; }; } 21255 fi 21256 coin_has_msk=true 21257 echo "$as_me:$LINENO: result: yes" >&5 21258 echo "${ECHO_T}yes" >&6 21259 else 21260 coin_has_msk=false 21261 echo "$as_me:$LINENO: result: no" >&5 21262 echo "${ECHO_T}no" >&6 21223 21263 fi 21224 echo "$as_me:$LINENO: result: yes" >&5 21225 echo "${ECHO_T}yes" >&6 21226 # Check if the given header file is there 21227 as_ac_File=`echo "ac_cv_file_$MSKINCDIR/mosekdl.h" | $as_tr_sh` 21228 echo "$as_me:$LINENO: checking for $MSKINCDIR/mosekdl.h" >&5 21229 echo $ECHO_N "checking for $MSKINCDIR/mosekdl.h... $ECHO_C" >&6 21230 if eval "test \"\${$as_ac_File+set}\" = set"; then 21231 echo $ECHO_N "(cached) $ECHO_C" >&6 21232 else 21233 test "$cross_compiling" = yes && 21234 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 21235 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21236 { (exit 1); exit 1; }; } 21237 if test -r "$MSKINCDIR/mosekdl.h"; then 21238 eval "$as_ac_File=yes" 21239 else 21240 eval "$as_ac_File=no" 21241 fi 21242 fi 21243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 21244 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 21245 if test `eval echo '${'$as_ac_File'}'` = yes; then 21264 21265 # If we have instructions for use, consider header and link checks. 21266 21267 if test $coin_has_msk = true; then 21268 21269 # If argument 3 (file) is given, check for the file. Typically this will be a 21270 # header file, but that's not assumed. 21271 21272 if test -r $MSKINCDIR/mosekdl.h; then 21273 21246 21274 : 21247 21275 else … … 21249 21277 echo "$as_me: error: Cannot find file mosekdl.h in $MSKINCDIR" >&2;} 21250 21278 { (exit 1); exit 1; }; } 21251 fi 21252 21253 21254 # Check if the symbol is provided in the library 21255 # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER 21256 if test x"$mosek_libcheck" != xno; then 21257 coin_save_LIBS="$LIBS" 21258 LIBS="$MSKLIB $ADDLIBS" 21259 echo "$as_me:$LINENO: checking whether symbol MSK_openmosek is available with MSK" >&5 21260 echo $ECHO_N "checking whether symbol MSK_openmosek is available with MSK... $ECHO_C" >&6 21261 ac_ext=c 21279 : 21280 fi 21281 21282 21283 # Now see if we can link the function. There are arguments for and against 21284 # assuming argument 3 is a header file declaring the function. A correct 21285 # function declaration is the main argument in favour. Having to cope with 21286 # possible dependencies or other oddities are the main arguments against. 21287 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21288 # Obviously, this has limits. 21289 21290 if test x"$mosek_libcheck" != xno; then 21291 coin_save_LIBS="$LIBS" 21292 LIBS="$MSKLIB $ADDLIBS" 21293 coin_MSK_link=no 21294 ac_ext=c 21262 21295 ac_cpp='$CPP $CPPFLAGS' 21263 21296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21265 21298 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21266 21299 21267 # ToDo find out what to do about extern "C" 21268 # AC_TRY_LINK([extern "C" {void MSK_openmosek();}],[MSK_openmosek()], 21269 cat >conftest.$ac_ext <<_ACEOF 21300 for fnm in MSK_openmosek ; do 21301 echo "$as_me:$LINENO: checking whether symbol $fnm is available with MSK" >&5 21302 echo $ECHO_N "checking whether symbol $fnm is available with MSK... $ECHO_C" >&6 21303 cat >conftest.$ac_ext <<_ACEOF 21270 21304 /* confdefs.h. */ 21271 21305 _ACEOF … … 21273 21307 cat >>conftest.$ac_ext <<_ACEOF 21274 21308 /* end confdefs.h. */ 21275 void MSK_openmosek(); 21309 21276 21310 int 21277 21311 main () 21278 21312 { 21279 MSK_openmosek()21313 $fnm() 21280 21314 ; 21281 21315 return 0; … … 21306 21340 echo "$as_me:$LINENO: result: yes" >&5 21307 21341 echo "${ECHO_T}yes" >&6 21342 coin_MSK_link=yes 21343 break 21308 21344 else 21309 21345 echo "$as_me: failed program was:" >&5 … … 21312 21348 echo "$as_me:$LINENO: result: no" >&5 21313 21349 echo "${ECHO_T}no" >&6 21314 { { echo "$as_me:$LINENO: error: Cannot find symbol MSK_openmosek with MSK" >&521315 echo "$as_me: error: Cannot find symbol MSK_openmosek with MSK" >&2;}21316 { (exit 1); exit 1; }; }21317 21350 fi 21318 21351 rm -f conftest.err conftest.$ac_objext \ 21319 21352 conftest$ac_exeext conftest.$ac_ext 21320 ac_ext=c 21353 done 21354 ac_ext=c 21321 21355 ac_cpp='$CPP $CPPFLAGS' 21322 21356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21324 21358 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21325 21359 21326 LIBS="$coin_save_LIBS" 21327 fi 21328 21329 ADDLIBS="$MSKLIB $ADDLIBS" 21360 if test x"$coin_MSK_link" = xyes ; then 21361 LIBS="$coin_save_LIBS" 21362 else 21363 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) MSK_openmosek with MSK" >&5 21364 echo "$as_me: error: Cannot find symbol(s) MSK_openmosek with MSK" >&2;} 21365 { (exit 1); exit 1; }; } 21366 fi 21367 fi 21368 21369 21370 # If we make it this far, we've verified the file and linked the function. Add 21371 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21372 # COIN_HAS_LBRY. 21373 21374 ADDLIBS="$MSKLIB $ADDLIBS" 21330 21375 21331 21376 cat >>confdefs.h <<\_ACEOF … … 21333 21378 _ACEOF 21334 21379 21335 else 21336 echo "$as_me:$LINENO: result: no" >&5 21337 echo "${ECHO_T}no" >&6 21338 fi 21380 fi 21381 21382 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21383 # automake conditional. These actions must occur unconditionally. 21339 21384 21340 21385 … … 21352 21397 21353 21398 21354 echo "$as_me:$LINENO: checking if user provides library for Osl" >&521399 echo "$as_me:$LINENO: checking if user provides library for Osl" >&5 21355 21400 echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6 21356 21401 21357 21402 # Check for header file directory 21403 21358 21404 21359 21405 # Check whether --with-osl-incdir or --without-osl-incdir was given. … … 21362 21408 OSLINCDIR=`cd $withval; pwd` 21363 21409 fi; 21410 21364 21411 # Check for library directory 21412 21365 21413 21366 21414 # Check whether --with-osl-lib or --without-osl-lib was given. … … 21369 21417 OSLLIB=$withval 21370 21418 fi; 21419 21371 21420 # Switch to disable library check if requested 21372 # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given. 21421 21422 # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given. 21373 21423 if test "${enable_osl_libcheck+set}" = set; then 21374 21424 enableval="$enable_osl_libcheck" … … 21378 21428 fi; 21379 21429 21380 if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then 21381 coin_has_osl=true 21382 else 21383 coin_has_osl=false 21384 fi 21385 21386 if test $coin_has_osl = true; then 21387 # Check either both arguments or none are given 21388 if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then 21389 { { 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 21390 echo "$as_me: error: You need to specify both --with-osl-incdir and --with-osl-lib if you want to use library Osl" >&2;} 21430 # At this point, if we're going to use the library, both LBRYINCDIR and 21431 # LBRYLIB must be defined and not empty. 21432 21433 if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then 21434 if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then 21435 { { 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 21436 echo "$as_me: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&2;} 21391 21437 { (exit 1); exit 1; }; } 21438 fi 21439 coin_has_osl=true 21440 echo "$as_me:$LINENO: result: yes" >&5 21441 echo "${ECHO_T}yes" >&6 21442 else 21443 coin_has_osl=false 21444 echo "$as_me:$LINENO: result: no" >&5 21445 echo "${ECHO_T}no" >&6 21392 21446 fi 21393 echo "$as_me:$LINENO: result: yes" >&5 21394 echo "${ECHO_T}yes" >&6 21395 # Check if the given header file is there 21396 as_ac_File=`echo "ac_cv_file_$OSLINCDIR/ekk_c_api.h" | $as_tr_sh` 21397 echo "$as_me:$LINENO: checking for $OSLINCDIR/ekk_c_api.h" >&5 21398 echo $ECHO_N "checking for $OSLINCDIR/ekk_c_api.h... $ECHO_C" >&6 21399 if eval "test \"\${$as_ac_File+set}\" = set"; then 21400 echo $ECHO_N "(cached) $ECHO_C" >&6 21401 else 21402 test "$cross_compiling" = yes && 21403 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 21404 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21405 { (exit 1); exit 1; }; } 21406 if test -r "$OSLINCDIR/ekk_c_api.h"; then 21407 eval "$as_ac_File=yes" 21408 else 21409 eval "$as_ac_File=no" 21410 fi 21411 fi 21412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 21413 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 21414 if test `eval echo '${'$as_ac_File'}'` = yes; then 21447 21448 # If we have instructions for use, consider header and link checks. 21449 21450 if test $coin_has_osl = true; then 21451 21452 # If argument 3 (file) is given, check for the file. Typically this will be a 21453 # header file, but that's not assumed. 21454 21455 if test -r $OSLINCDIR/ekk_c_api.h; then 21456 21415 21457 : 21416 21458 else … … 21418 21460 echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;} 21419 21461 { (exit 1); exit 1; }; } 21420 fi 21421 21422 21423 # Check if the symbol is provided in the library 21424 # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER 21425 if test x"$osl_libcheck" != xno; then 21426 coin_save_LIBS="$LIBS" 21427 LIBS="$OSLLIB $ADDLIBS" 21428 echo "$as_me:$LINENO: checking whether symbol ekk_simplex is available with OSL" >&5 21429 echo $ECHO_N "checking whether symbol ekk_simplex is available with OSL... $ECHO_C" >&6 21430 ac_ext=c 21462 : 21463 fi 21464 21465 21466 # Now see if we can link the function. There are arguments for and against 21467 # assuming argument 3 is a header file declaring the function. A correct 21468 # function declaration is the main argument in favour. Having to cope with 21469 # possible dependencies or other oddities are the main arguments against. 21470 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21471 # Obviously, this has limits. 21472 21473 if test x"$osl_libcheck" != xno; then 21474 coin_save_LIBS="$LIBS" 21475 LIBS="$OSLLIB $ADDLIBS" 21476 coin_OSL_link=no 21477 ac_ext=c 21431 21478 ac_cpp='$CPP $CPPFLAGS' 21432 21479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21434 21481 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21435 21482 21436 # ToDo find out what to do about extern "C" 21437 # AC_TRY_LINK([extern "C" {void ekk_simplex();}],[ekk_simplex()], 21438 cat >conftest.$ac_ext <<_ACEOF 21483 for fnm in ekk_simplex ; do 21484 echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5 21485 echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6 21486 cat >conftest.$ac_ext <<_ACEOF 21439 21487 /* confdefs.h. */ 21440 21488 _ACEOF … … 21442 21490 cat >>conftest.$ac_ext <<_ACEOF 21443 21491 /* end confdefs.h. */ 21444 void ekk_simplex(); 21492 21445 21493 int 21446 21494 main () 21447 21495 { 21448 ekk_simplex()21496 $fnm() 21449 21497 ; 21450 21498 return 0; … … 21475 21523 echo "$as_me:$LINENO: result: yes" >&5 21476 21524 echo "${ECHO_T}yes" >&6 21525 coin_OSL_link=yes 21526 break 21477 21527 else 21478 21528 echo "$as_me: failed program was:" >&5 … … 21481 21531 echo "$as_me:$LINENO: result: no" >&5 21482 21532 echo "${ECHO_T}no" >&6 21483 { { echo "$as_me:$LINENO: error: Cannot find symbol ekk_simplex with OSL" >&521484 echo "$as_me: error: Cannot find symbol ekk_simplex with OSL" >&2;}21485 { (exit 1); exit 1; }; }21486 21533 fi 21487 21534 rm -f conftest.err conftest.$ac_objext \ 21488 21535 conftest$ac_exeext conftest.$ac_ext 21489 ac_ext=c 21536 done 21537 ac_ext=c 21490 21538 ac_cpp='$CPP $CPPFLAGS' 21491 21539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21493 21541 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21494 21542 21495 LIBS="$coin_save_LIBS" 21496 fi 21497 21498 ADDLIBS="$OSLLIB $ADDLIBS" 21543 if test x"$coin_OSL_link" = xyes ; then 21544 LIBS="$coin_save_LIBS" 21545 else 21546 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5 21547 echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;} 21548 { (exit 1); exit 1; }; } 21549 fi 21550 fi 21551 21552 21553 # If we make it this far, we've verified the file and linked the function. Add 21554 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21555 # COIN_HAS_LBRY. 21556 21557 ADDLIBS="$OSLLIB $ADDLIBS" 21499 21558 21500 21559 cat >>confdefs.h <<\_ACEOF … … 21502 21561 _ACEOF 21503 21562 21504 else 21505 echo "$as_me:$LINENO: result: no" >&5 21506 echo "${ECHO_T}no" >&6 21507 fi 21563 fi 21564 21565 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21566 # automake conditional. These actions must occur unconditionally. 21508 21567 21509 21568 … … 21521 21580 21522 21581 21523 echo "$as_me:$LINENO: checking if user provides library for Soplex" >&521582 echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5 21524 21583 echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6 21525 21584 21526 21585 # Check for header file directory 21586 21527 21587 21528 21588 # Check whether --with-soplex-incdir or --without-soplex-incdir was given. … … 21531 21591 SPXINCDIR=`cd $withval; pwd` 21532 21592 fi; 21593 21533 21594 # Check for library directory 21595 21534 21596 21535 21597 # Check whether --with-soplex-lib or --without-soplex-lib was given. … … 21538 21600 SPXLIB=$withval 21539 21601 fi; 21602 21540 21603 # Switch to disable library check if requested 21541 # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given. 21604 21605 # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given. 21542 21606 if test "${enable_soplex_libcheck+set}" = set; then 21543 21607 enableval="$enable_soplex_libcheck" … … 21547 21611 fi; 21548 21612 21549 if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then 21550 coin_has_spx=true 21551 else 21552 coin_has_spx=false 21553 fi 21554 21555 if test $coin_has_spx = true; then 21556 # Check either both arguments or none are given 21557 if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then 21558 { { 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 21559 echo "$as_me: error: You need to specify both --with-soplex-incdir and --with-soplex-lib if you want to use library Soplex" >&2;} 21613 # At this point, if we're going to use the library, both LBRYINCDIR and 21614 # LBRYLIB must be defined and not empty. 21615 21616 if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then 21617 if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then 21618 { { 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 21619 echo "$as_me: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&2;} 21560 21620 { (exit 1); exit 1; }; } 21621 fi 21622 coin_has_spx=true 21623 echo "$as_me:$LINENO: result: yes" >&5 21624 echo "${ECHO_T}yes" >&6 21625 else 21626 coin_has_spx=false 21627 echo "$as_me:$LINENO: result: no" >&5 21628 echo "${ECHO_T}no" >&6 21561 21629 fi 21562 echo "$as_me:$LINENO: result: yes" >&5 21563 echo "${ECHO_T}yes" >&6 21564 # Check if the given header file is there 21565 as_ac_File=`echo "ac_cv_file_$SPXINCDIR/spxsolver.h" | $as_tr_sh` 21566 echo "$as_me:$LINENO: checking for $SPXINCDIR/spxsolver.h" >&5 21567 echo $ECHO_N "checking for $SPXINCDIR/spxsolver.h... $ECHO_C" >&6 21568 if eval "test \"\${$as_ac_File+set}\" = set"; then 21569 echo $ECHO_N "(cached) $ECHO_C" >&6 21570 else 21571 test "$cross_compiling" = yes && 21572 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 21573 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21574 { (exit 1); exit 1; }; } 21575 if test -r "$SPXINCDIR/spxsolver.h"; then 21576 eval "$as_ac_File=yes" 21577 else 21578 eval "$as_ac_File=no" 21579 fi 21580 fi 21581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 21582 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 21583 if test `eval echo '${'$as_ac_File'}'` = yes; then 21630 21631 # If we have instructions for use, consider header and link checks. 21632 21633 if test $coin_has_spx = true; then 21634 21635 # If argument 3 (file) is given, check for the file. Typically this will be a 21636 # header file, but that's not assumed. 21637 21638 if test -r $SPXINCDIR/spxsolver.h; then 21639 21584 21640 : 21585 21641 else … … 21587 21643 echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;} 21588 21644 { (exit 1); exit 1; }; } 21589 fi 21590 21591 21592 # Check if the symbol is provided in the library 21593 # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER 21594 21595 ADDLIBS="$SPXLIB $ADDLIBS" 21645 : 21646 fi 21647 21648 21649 # Now see if we can link the function. There are arguments for and against 21650 # assuming argument 3 is a header file declaring the function. A correct 21651 # function declaration is the main argument in favour. Having to cope with 21652 # possible dependencies or other oddities are the main arguments against. 21653 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21654 # Obviously, this has limits. 21655 21656 21657 21658 # If we make it this far, we've verified the file and linked the function. Add 21659 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21660 # COIN_HAS_LBRY. 21661 21662 ADDLIBS="$SPXLIB $ADDLIBS" 21596 21663 21597 21664 cat >>confdefs.h <<\_ACEOF … … 21599 21666 _ACEOF 21600 21667 21601 else 21602 echo "$as_me:$LINENO: result: no" >&5 21603 echo "${ECHO_T}no" >&6 21604 fi 21668 fi 21669 21670 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21671 # automake conditional. These actions must occur unconditionally. 21605 21672 21606 21673 … … 21618 21685 # ToDo 21619 21686 21620 echo "$as_me:$LINENO: checking if user provides library for Xpress" >&521687 echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5 21621 21688 echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6 21622 21689 21623 21690 # Check for header file directory 21691 21624 21692 21625 21693 # Check whether --with-xpress-incdir or --without-xpress-incdir was given. … … 21628 21696 XPRINCDIR=`cd $withval; pwd` 21629 21697 fi; 21698 21630 21699 # Check for library directory 21700 21631 21701 21632 21702 # Check whether --with-xpress-lib or --without-xpress-lib was given. … … 21635 21705 XPRLIB=$withval 21636 21706 fi; 21707 21637 21708 # Switch to disable library check if requested 21638 # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given. 21709 21710 # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given. 21639 21711 if test "${enable_xpress_libcheck+set}" = set; then 21640 21712 enableval="$enable_xpress_libcheck" … … 21644 21716 fi; 21645 21717 21646 if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then 21647 coin_has_xpr=true 21648 else 21649 coin_has_xpr=false 21650 fi 21651 21652 if test $coin_has_xpr = true; then 21653 # Check either both arguments or none are given 21654 if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then 21655 { { 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 21656 echo "$as_me: error: You need to specify both --with-xpress-incdir and --with-xpress-lib if you want to use library Xpress" >&2;} 21718 # At this point, if we're going to use the library, both LBRYINCDIR and 21719 # LBRYLIB must be defined and not empty. 21720 21721 if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then 21722 if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then 21723 { { 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 21724 echo "$as_me: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&2;} 21657 21725 { (exit 1); exit 1; }; } 21726 fi 21727 coin_has_xpr=true 21728 echo "$as_me:$LINENO: result: yes" >&5 21729 echo "${ECHO_T}yes" >&6 21730 else 21731 coin_has_xpr=false 21732 echo "$as_me:$LINENO: result: no" >&5 21733 echo "${ECHO_T}no" >&6 21658 21734 fi 21659 echo "$as_me:$LINENO: result: yes" >&5 21660 echo "${ECHO_T}yes" >&6 21661 # Check if the given header file is there 21662 as_ac_File=`echo "ac_cv_file_$XPRINCDIR/xprs.h" | $as_tr_sh` 21663 echo "$as_me:$LINENO: checking for $XPRINCDIR/xprs.h" >&5 21664 echo $ECHO_N "checking for $XPRINCDIR/xprs.h... $ECHO_C" >&6 21665 if eval "test \"\${$as_ac_File+set}\" = set"; then 21666 echo $ECHO_N "(cached) $ECHO_C" >&6 21667 else 21668 test "$cross_compiling" = yes && 21669 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 21670 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21671 { (exit 1); exit 1; }; } 21672 if test -r "$XPRINCDIR/xprs.h"; then 21673 eval "$as_ac_File=yes" 21674 else 21675 eval "$as_ac_File=no" 21676 fi 21677 fi 21678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 21679 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 21680 if test `eval echo '${'$as_ac_File'}'` = yes; then 21735 21736 # If we have instructions for use, consider header and link checks. 21737 21738 if test $coin_has_xpr = true; then 21739 21740 # If argument 3 (file) is given, check for the file. Typically this will be a 21741 # header file, but that's not assumed. 21742 21743 if test -r $XPRINCDIR/xprs.h; then 21744 21681 21745 : 21682 21746 else … … 21684 21748 echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;} 21685 21749 { (exit 1); exit 1; }; } 21686 fi 21687 21688 21689 # Check if the symbol is provided in the library 21690 # ToDo: FOR NOW WE ASSUME THAT WE ARE USING THE C++ COMPILER 21691 if test x"$xpress_libcheck" != xno; then 21692 coin_save_LIBS="$LIBS" 21693 LIBS="$XPRLIB $ADDLIBS" 21694 echo "$as_me:$LINENO: checking whether symbol XPRSsetintcontrol is available with XPR" >&5 21695 echo $ECHO_N "checking whether symbol XPRSsetintcontrol is available with XPR... $ECHO_C" >&6 21696 ac_ext=c 21750 : 21751 fi 21752 21753 21754 # Now see if we can link the function. There are arguments for and against 21755 # assuming argument 3 is a header file declaring the function. A correct 21756 # function declaration is the main argument in favour. Having to cope with 21757 # possible dependencies or other oddities are the main arguments against. 21758 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21759 # Obviously, this has limits. 21760 21761 if test x"$xpress_libcheck" != xno; then 21762 coin_save_LIBS="$LIBS" 21763 LIBS="$XPRLIB $ADDLIBS" 21764 coin_XPR_link=no 21765 ac_ext=c 21697 21766 ac_cpp='$CPP $CPPFLAGS' 21698 21767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21700 21769 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21701 21770 21702 # ToDo find out what to do about extern "C" 21703 # AC_TRY_LINK([extern "C" {void XPRSsetintcontrol();}],[XPRSsetintcontrol()], 21704 cat >conftest.$ac_ext <<_ACEOF 21771 for fnm in XPRSsetintcontrol ; do 21772 echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5 21773 echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6 21774 cat >conftest.$ac_ext <<_ACEOF 21705 21775 /* confdefs.h. */ 21706 21776 _ACEOF … … 21708 21778 cat >>conftest.$ac_ext <<_ACEOF 21709 21779 /* end confdefs.h. */ 21710 void XPRSsetintcontrol(); 21780 21711 21781 int 21712 21782 main () 21713 21783 { 21714 XPRSsetintcontrol()21784 $fnm() 21715 21785 ; 21716 21786 return 0; … … 21741 21811 echo "$as_me:$LINENO: result: yes" >&5 21742 21812 echo "${ECHO_T}yes" >&6 21813 coin_XPR_link=yes 21814 break 21743 21815 else 21744 21816 echo "$as_me: failed program was:" >&5 … … 21747 21819 echo "$as_me:$LINENO: result: no" >&5 21748 21820 echo "${ECHO_T}no" >&6 21749 { { echo "$as_me:$LINENO: error: Cannot find symbol XPRSsetintcontrol with XPR" >&521750 echo "$as_me: error: Cannot find symbol XPRSsetintcontrol with XPR" >&2;}21751 { (exit 1); exit 1; }; }21752 21821 fi 21753 21822 rm -f conftest.err conftest.$ac_objext \ 21754 21823 conftest$ac_exeext conftest.$ac_ext 21755 ac_ext=c 21824 done 21825 ac_ext=c 21756 21826 ac_cpp='$CPP $CPPFLAGS' 21757 21827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' … … 21759 21829 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21760 21830 21761 LIBS="$coin_save_LIBS" 21762 fi 21763 21764 ADDLIBS="$XPRLIB $ADDLIBS" 21831 if test x"$coin_XPR_link" = xyes ; then 21832 LIBS="$coin_save_LIBS" 21833 else 21834 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5 21835 echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;} 21836 { (exit 1); exit 1; }; } 21837 fi 21838 fi 21839 21840 21841 # If we make it this far, we've verified the file and linked the function. Add 21842 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21843 # COIN_HAS_LBRY. 21844 21845 ADDLIBS="$XPRLIB $ADDLIBS" 21765 21846 21766 21847 cat >>confdefs.h <<\_ACEOF … … 21768 21849 _ACEOF 21769 21850 21770 else 21771 echo "$as_me:$LINENO: result: no" >&5 21772 echo "${ECHO_T}no" >&6 21773 fi 21851 fi 21852 21853 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21854 # automake conditional. These actions must occur unconditionally. 21774 21855 21775 21856 … … 21833 21914 fi 21834 21915 elif test "$use_asldir" != "no"; then 21835 as_ac_File=`echo "ac_cv_file_$use_asldir/$ampllib" | $as_tr_sh` 21836 echo "$as_me:$LINENO: checking for $use_asldir/$ampllib" >&5 21837 echo $ECHO_N "checking for $use_asldir/$ampllib... $ECHO_C" >&6 21838 if eval "test \"\${$as_ac_File+set}\" = set"; then 21839 echo $ECHO_N "(cached) $ECHO_C" >&6 21840 else 21841 test "$cross_compiling" = yes && 21842 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 21843 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21844 { (exit 1); exit 1; }; } 21845 if test -r "$use_asldir/$ampllib"; then 21846 eval "$as_ac_File=yes" 21847 else 21848 eval "$as_ac_File=no" 21849 fi 21850 fi 21851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 21852 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 21853 if test `eval echo '${'$as_ac_File'}'` = yes; then 21916 if test -r $use_asldir/$ampllib; then 21917 21854 21918 : 21855 21919 else … … 21857 21921 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;} 21858 21922 { (exit 1); exit 1; }; } 21859 fi 21860 21861 as_ac_File=`echo "ac_cv_file_$use_asldir/asl.h" | $as_tr_sh` 21862 echo "$as_me:$LINENO: checking for $use_asldir/asl.h" >&5 21863 echo $ECHO_N "checking for $use_asldir/asl.h... $ECHO_C" >&6 21864 if eval "test \"\${$as_ac_File+set}\" = set"; then 21865 echo $ECHO_N "(cached) $ECHO_C" >&6 21866 else 21867 test "$cross_compiling" = yes && 21868 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 21869 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 21870 { (exit 1); exit 1; }; } 21871 if test -r "$use_asldir/asl.h"; then 21872 eval "$as_ac_File=yes" 21873 else 21874 eval "$as_ac_File=no" 21875 fi 21876 fi 21877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 21878 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 21879 if test `eval echo '${'$as_ac_File'}'` = yes; then 21923 : 21924 fi 21925 21926 if test -r $use_asldir/asl.h; then 21927 21880 21928 : 21881 21929 else … … 21883 21931 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;} 21884 21932 { (exit 1); exit 1; }; } 21933 : 21885 21934 fi 21886 21935 … … 22055 22104 22056 22105 # Finally, we let configure write all the output... 22106 22107 22108 22109 22110 echo "$as_me:$LINENO: checking which command should be used to link input files" >&5 22111 echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6 22112 coin_link_input_cmd="$LN_S" 22113 if test "$enable_doscompile" = mingw; then 22114 coin_link_input_cmd=cp 22115 fi 22116 case "$CC" in 22117 cl* | */cl* | CL* | */CL*) 22118 coin_link_input_cmd=cp ;; 22119 esac 22120 echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5 22121 echo "${ECHO_T}$coin_link_input_cmd" >&6 22122 22123 22057 22124 22058 22125 if test x$coin_skip_ac_output != xyes; then … … 22610 22677 cat >&5 <<_CSEOF 22611 22678 22612 This file was extended by Cbc $as_me 0.1, which was22679 This file was extended by Cbc $as_me 1.1.2, which was 22613 22680 generated by GNU Autoconf 2.59. Invocation command line was 22614 22681 … … 22676 22743 cat >>$CONFIG_STATUS <<_ACEOF 22677 22744 ac_cs_version="\\ 22678 Cbc config.status 0.122745 Cbc config.status 1.1.2 22679 22746 configured by $0, generated by GNU Autoconf 2.59, 22680 22747 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 23902 23969 23903 23970 if test x"$coin_vpath_link_files" = x; then : ; else 23904 lnkcmd= 23905 if test "$enable_doscompile" = yes; then 23906 lnkcmd=cp 23907 fi 23908 case "$CC" in 23909 cl* | */cl* | CL* | */CL*) 23910 lnkcmd=cp ;; 23911 esac 23971 lnkcmd="$coin_link_input_cmd" 23912 23972 if test "$lnkcmd" = cp; then 23913 23973 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5 23914 23974 echo "$as_me: Copying data files for VPATH configuration" >&6;} 23915 23975 else 23916 echo "$as_me:$LINENO: checking whether ln -s works" >&523917 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&623918 LN_S=$as_ln_s23919 if test "$LN_S" = "ln -s"; then23920 echo "$as_me:$LINENO: result: yes" >&523921 echo "${ECHO_T}yes" >&623922 else23923 echo "$as_me:$LINENO: result: no, using $LN_S" >&523924 echo "${ECHO_T}no, using $LN_S" >&623925 fi23926 23927 23976 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5 23928 23977 echo "$as_me: Creating VPATH links for data files" >&6;} 23929 lnkcmd="$LN_S"23930 23978 fi 23931 23979 for file in $coin_vpath_link_files; do -
stable/1.1/Cbc/configure.ac
r405 r791 13 13 AC_PREREQ(2.59) 14 14 15 AC_INIT([Cbc],[ 0.1],[coin-cbc@list.coin-or.org])15 AC_INIT([Cbc],[1.1.2],[coin-cbc@list.coin-or.org]) 16 16 17 17 AC_COPYRIGHT([ -
stable/1.1/Cbc/inc/config_cbc.h.in
r405 r791 26 26 #undef COIN_HAS_COINUTILS 27 27 28 /* Define to 1 if the Cplex package is used*/28 /* Define to 1 if the Cplex package is available */ 29 29 #undef COIN_HAS_CPX 30 30 … … 32 32 #undef COIN_HAS_DYLP 33 33 34 /* Define to 1 if the FortMP package is used*/34 /* Define to 1 if the FortMP package is available */ 35 35 #undef COIN_HAS_FMP 36 36 37 /* Define to 1 if the Glpk package is used*/37 /* Define to 1 if the Glpk package is available */ 38 38 #undef COIN_HAS_GLPK 39 39 40 /* Define to 1 if the Mosek package is used*/40 /* Define to 1 if the Mosek package is available */ 41 41 #undef COIN_HAS_MSK 42 42 … … 44 44 #undef COIN_HAS_OSI 45 45 46 /* Define to 1 if the Osl package is used*/46 /* Define to 1 if the Osl package is available */ 47 47 #undef COIN_HAS_OSL 48 48 49 /* Define to 1 if the Soplex package is used*/49 /* Define to 1 if the Soplex package is available */ 50 50 #undef COIN_HAS_SPX 51 51 … … 56 56 #undef COIN_HAS_VOL 57 57 58 /* Define to 1 if the Xpress package is used*/58 /* Define to 1 if the Xpress package is available */ 59 59 #undef COIN_HAS_XPR 60 60 -
stable/1.1/Externals
r790 r791 1 MSVisualStudio https://projects.coin-or.org/svn/MSVisualStudio/stable/1.0/ExternalsDirs/Cbc2 BuildTools https://projects.coin-or.org/svn/BuildTools/stable/0.53 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.04 Data/Netlib https://projects.coin-or.org/svn/Data/stable/1.0/Netlib5 Data/Sample https://projects.coin-or.org/svn/Data/stable/1.0/Sample6 Data/miplib3 https://projects.coin-or.org/svn/Data/ stable/1.0/miplib37 CoinUtils https://projects.coin-or.org/svn/CoinUtils/stable/1.1/CoinUtils8 Cgl https://projects.coin-or.org/svn/Cgl/stable/0.5/Cgl9 Clp https://projects.coin-or.org/svn/Clp/stable/1.3/Clp10 Osi https://projects.coin-or.org/svn/Osi/stable/0.95/Osi11 Vol https://projects.coin-or.org/svn/Vol/stable/1.0/Vol1 MSVisualStudio https://projects.coin-or.org/svn/MSVisualStudio/releases/1.0.2/ExternalsDirs/Cbc 2 BuildTools https://projects.coin-or.org/svn/BuildTools/releases/0.5.15 3 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/releases/1.0.6 4 Data/Netlib https://projects.coin-or.org/svn/Data/releases/1.0.4/Netlib 5 Data/Sample https://projects.coin-or.org/svn/Data/releases/1.0.4/Sample 6 Data/miplib3 https://projects.coin-or.org/svn/Data/releases/1.0.4/miplib3 7 CoinUtils https://projects.coin-or.org/svn/CoinUtils/releases/1.1.0/CoinUtils 8 Cgl https://projects.coin-or.org/svn/Cgl/releases/0.5.1/Cgl 9 Clp https://projects.coin-or.org/svn/Clp/releases/1.3.4/Clp 10 Osi https://projects.coin-or.org/svn/Osi/releases/0.95.3/Osi 11 Vol https://projects.coin-or.org/svn/Vol/releases/1.0.0/Vol -
stable/1.1/config.guess
r341 r791 5 5 # Inc. 6 6 7 timestamp='200 6-05-13'7 timestamp='2007-05-17' 8 8 9 9 # This file is free software; you can redistribute it and/or modify it … … 162 162 sh3el) machine=shl-unknown ;; 163 163 sh3eb) machine=sh-unknown ;; 164 sh5el) machine=sh5le-unknown ;; 164 165 *) machine=${UNAME_MACHINE_ARCH}-unknown ;; 165 166 esac … … 212 213 exit ;; 213 214 macppc:MirBSD:*:*) 214 echo powerp pc-unknown-mirbsd${UNAME_RELEASE}215 echo powerpc-unknown-mirbsd${UNAME_RELEASE} 215 216 exit ;; 216 217 *:MirBSD:*:*) … … 330 331 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 331 332 exit ;; 332 i86pc:SunOS:5.*:* )333 i86pc:SunOS:5.*:* | ix86xen:SunOS:5.*:*) 333 334 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 334 335 exit ;; … … 781 782 echo ${UNAME_MACHINE}-pc-cygwin 782 783 exit ;; 783 i*:MINGW*:*)784 *:MINGW*:*) 784 785 echo ${UNAME_MACHINE}-pc-mingw32 785 786 exit ;; … … 791 792 echo ${UNAME_MACHINE}-pc-pw32 792 793 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 ;; 799 803 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 800 804 echo i${UNAME_MACHINE}-pc-mks … … 830 834 exit ;; 831 835 arm*:Linux:*:*) 836 echo ${UNAME_MACHINE}-unknown-linux-gnu 837 exit ;; 838 avr32*:Linux:*:*) 832 839 echo ${UNAME_MACHINE}-unknown-linux-gnu 833 840 exit ;; … … 947 954 x86_64:Linux:*:*) 948 955 echo x86_64-unknown-linux-gnu 956 exit ;; 957 xtensa:Linux:*:*) 958 echo xtensa-unknown-linux-gnu 949 959 exit ;; 950 960 i*86:Linux:*:*) … … 1206 1216 echo sx6-nec-superux${UNAME_RELEASE} 1207 1217 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 ;; 1208 1227 Power*:Rhapsody:*:*) 1209 1228 echo powerpc-apple-rhapsody${UNAME_RELEASE} -
stable/1.1/config.sub
r341 r791 5 5 # Inc. 6 6 7 timestamp='200 6-05-13'7 timestamp='2007-04-29' 8 8 9 9 # This file is (in principle) common to ALL GNU software. … … 242 242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 243 243 | 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 \ 245 245 | bfin \ 246 246 | c4x | clipper \ 247 247 | d10v | d30v | dlx | dsp16xx \ 248 | f r30 | frv \248 | fido | fr30 | frv \ 249 249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 250 250 | i370 | i860 | i960 | ia64 \ 251 251 | ip2k | iq2000 \ 252 252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 253 | maxq | mb | microblaze | mcore \253 | maxq | mb | microblaze | mcore | mep \ 254 254 | mips | mipsbe | mipseb | mipsel | mipsle \ 255 255 | mips16 \ … … 277 277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 278 278 | pyramid \ 279 | score \ 279 280 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 280 281 | sh64 | sh64le \ … … 285 286 | v850 | v850e \ 286 287 | we32k \ 287 | x86 | x scale | xscalee[bl] | xstormy16 | xtensa \288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 288 289 | z8k) 289 290 basic_machine=$basic_machine-unknown … … 318 319 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 319 320 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 320 | avr-* \321 | avr-* | avr32-* \ 321 322 | bfin-* | bs2000-* \ 322 323 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ … … 324 325 | d10v-* | d30v-* | dlx-* \ 325 326 | elxsi-* \ 326 | f30[01]-* | f700-* | f r30-* | frv-* | fx80-* \327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 327 328 | h8300-* | h8500-* \ 328 329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ … … 368 369 | v850-* | v850e-* | vax-* \ 369 370 | we32k-* \ 370 | x86-* | x86_64-* | x ps100-* | xscale-* | xscalee[bl]-* \371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 371 372 | xstormy16-* | xtensa-* \ 372 373 | ymp-* \ … … 682 683 basic_machine=i386-pc 683 684 os=-mingw32 685 ;; 686 mingw32ce) 687 basic_machine=arm-unknown 688 os=-mingw32ce 684 689 ;; 685 690 miniframe) … … 910 915 basic_machine=mipsisa64sb1el-unknown 911 916 ;; 917 sde) 918 basic_machine=mipsisa32-sde 919 os=-elf 920 ;; 912 921 sei) 913 922 basic_machine=mips-sei … … 920 929 basic_machine=sh-hitachi 921 930 os=-hms 931 ;; 932 sh5el) 933 basic_machine=sh5le-unknown 922 934 ;; 923 935 sh64) … … 1215 1227 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1216 1228 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1217 | -skyos* | -haiku* | -rdos* )1229 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1218 1230 # Remember, each alternative MUST END IN *, to match a version number. 1219 1231 ;; … … 1367 1379 1368 1380 case $basic_machine in 1381 score-*) 1382 os=-elf 1383 ;; 1369 1384 spu-*) 1370 1385 os=-elf … … 1406 1421 m68*-cisco) 1407 1422 os=-aout 1423 ;; 1424 mep-*) 1425 os=-elf 1408 1426 ;; 1409 1427 mips*-cisco) -
stable/1.1/configure
r630 r791 2 2 # From configure.ac 0.9. 3 3 # Guess values for system-dependent variables and create Makefiles. 4 # Generated by GNU Autoconf 2.59 for Cbc 0.1.4 # Generated by GNU Autoconf 2.59 for Cbc 1.1.2. 5 5 # 6 6 # Report bugs to <coin-cbc@lists.coin-or.org>. … … 431 431 PACKAGE_NAME='Cbc' 432 432 PACKAGE_TARNAME='cbc' 433 PACKAGE_VERSION=' 0.1'434 PACKAGE_STRING='Cbc 0.1'433 PACKAGE_VERSION='1.1.2' 434 PACKAGE_STRING='Cbc 1.1.2' 435 435 PACKAGE_BUGREPORT='coin-cbc@lists.coin-or.org' 436 436 … … 1033 1033 # This message is too long to be a string in the A/UX 3.1 sh. 1034 1034 cat <<_ACEOF 1035 \`configure' configures Cbc 0.1to adapt to many kinds of systems.1035 \`configure' configures Cbc 1.1.2 to adapt to many kinds of systems. 1036 1036 1037 1037 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1099 1099 if test -n "$ac_init_help"; then 1100 1100 case $ac_init_help in 1101 short | recursive ) echo "Configuration of Cbc 0.1:";;1101 short | recursive ) echo "Configuration of Cbc 1.1.2:";; 1102 1102 esac 1103 1103 cat <<\_ACEOF … … 1266 1266 if $ac_init_version; then 1267 1267 cat <<\_ACEOF 1268 Cbc configure 0.11268 Cbc configure 1.1.2 1269 1269 generated by GNU Autoconf 2.59 1270 1270 … … 1286 1286 running configure, to aid debugging if configure makes a mistake. 1287 1287 1288 It was created by Cbc $as_me 0.1, which was1288 It was created by Cbc $as_me 1.1.2, which was 1289 1289 generated by GNU Autoconf 2.59. Invocation command line was 1290 1290 … … 1709 1709 case "${enableval}" in 1710 1710 yes) coin_debug_compile=true 1711 enable_shared=no 1711 if test "${enable_shared+set}" = set; then :; else 1712 enable_shared=no 1713 fi 1712 1714 ;; 1713 1715 no) coin_debug_compile=false … … 1758 1760 if test "$enable_doscompile" != no; then 1759 1761 case $build in 1760 *-cygwin* ) ;;1761 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin " >&51762 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin " >&2;}1762 *-cygwin* | *-mingw*) ;; 1763 *) { { echo "$as_me:$LINENO: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&5 1764 echo "$as_me: error: --enable-doscompile option makes sense only under Cygwin or MinGW" >&2;} 1763 1765 { (exit 1); exit 1; }; } ;; 1764 1766 esac … … 1768 1770 fi; 1769 1771 case "$enable_doscompile" in 1770 msvc|mingw|no) ;; 1772 mingw) 1773 case $build in 1774 *-mingw*) enable_doscompile=no ;; 1775 esac 1776 ;; 1777 msvc|no) ;; 1771 1778 yes) enable_doscompile=mingw ;; 1772 1779 *) { { echo "$as_me:$LINENO: error: Invalid value $enable_doscompile for --enable-doscompile. … … 2647 2654 cl* | */cl* | CL* | */CL*) 2648 2655 coin_opt_cflags='-MT -O2' 2649 coin_add_cflags='-nologo -wd4996 '2656 coin_add_cflags='-nologo -wd4996 -D_CRT_SECURE_NO_DEPRECATE' 2650 2657 coin_dbg_cflags='-MTd' 2651 2658 ;; … … 2718 2725 xlc* | */xlc* | mpxlc* | */mpxlc*) 2719 2726 coin_opt_cflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 2720 coin_add_cflags="-bmaxdata:0x80000000 "2727 coin_add_cflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029" 2721 2728 coin_dbg_cflags="-g" 2722 2729 ;; … … 3382 3389 fi 3383 3390 3391 # It seems that we need to cleanup something here for the Windows 3392 case "$CXX" in 3393 cl* | */cl* | CL* | */CL* ) 3394 sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh 3395 mv confdefs.hh confdefs.h 3396 ;; 3397 esac 3398 3384 3399 # Autoconf incorrectly concludes that cl recognises -g. It doesn't. 3385 3400 case "$CXX" in … … 3482 3497 # The MT and MTd options are mutually exclusive 3483 3498 coin_opt_cxxflags='-MT -O2' 3484 coin_add_cxxflags='-nologo -EHsc -GR -wd4996 '3499 coin_add_cxxflags='-nologo -EHsc -GR -wd4996 -D_CRT_SECURE_NO_DEPRECATE' 3485 3500 coin_dbg_cxxflags='-MTd' 3486 3501 ;; … … 3553 3568 xlC* | */xlC* | mpxlC* | */mpxlC*) 3554 3569 coin_opt_cxxflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 3555 coin_add_cxxflags="-bmaxdata:0x80000000 -qrtti=dyna "3570 coin_add_cxxflags="-bmaxdata:0x80000000 -qrtti=dyna -qsuppress=1500-036 -qsuppress=1500-029" 3556 3571 coin_dbg_cxxflags="-g" 3557 3572 ;; … … 4004 4019 4005 4020 # Provide some information about the compiler. 4006 echo "$as_me:40 06:" \4021 echo "$as_me:4021:" \ 4007 4022 "checking for Fortran 77 compiler version" >&5 4008 4023 ac_compiler=`set X $ac_compile; echo $2` … … 4286 4301 xlf* | */xlf* | mpxlf* | */mpxlf* ) 4287 4302 coin_opt_fflags="-O3 -qarch=auto -qcache=auto -qtune=auto -qmaxmem=-1" 4288 coin_add_fflags="-bmaxdata:0x80000000 "4303 coin_add_fflags="-bmaxdata:0x80000000 -qsuppress=1500-036 -qsuppress=1500-029" 4289 4304 coin_dbg_fflags="-g -C" 4290 4305 ;; … … 4947 4962 # Define the identity of the package. 4948 4963 PACKAGE='cbc' 4949 VERSION=' 0.1'4964 VERSION='1.1.2' 4950 4965 4951 4966 … … 5520 5535 correct_version='1.5.22' 5521 5536 grep_version=`echo $correct_version | sed -e 's/\\./\\\\\\./g'` 5522 as_ac_File=`echo "ac_cv_file_$want_dir/libtool/ltmain.sh" | $as_tr_sh` 5523 echo "$as_me:$LINENO: checking for $want_dir/libtool/ltmain.sh" >&5 5524 echo $ECHO_N "checking for $want_dir/libtool/ltmain.sh... $ECHO_C" >&6 5525 if eval "test \"\${$as_ac_File+set}\" = set"; then 5526 echo $ECHO_N "(cached) $ECHO_C" >&6 5527 else 5528 test "$cross_compiling" = yes && 5529 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 5530 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 5531 { (exit 1); exit 1; }; } 5532 if test -r "$want_dir/libtool/ltmain.sh"; then 5533 eval "$as_ac_File=yes" 5534 else 5535 eval "$as_ac_File=no" 5536 fi 5537 fi 5538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 5539 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 5540 if test `eval echo '${'$as_ac_File'}'` = yes; then 5537 if test -r $want_dir/libtool/ltmain.sh; then 5541 5538 have_ltmain=yes 5539 : 5542 5540 else 5543 5541 have_ltmain=no 5542 : 5544 5543 fi 5545 5544 … … 5572 5571 want_dir=$AUTOTOOLS_DIR/share 5573 5572 fi 5574 as_ac_File=`echo "ac_cv_file_$want_dir/aclocal/libtool.m4" | $as_tr_sh` 5575 echo "$as_me:$LINENO: checking for $want_dir/aclocal/libtool.m4" >&5 5576 echo $ECHO_N "checking for $want_dir/aclocal/libtool.m4... $ECHO_C" >&6 5577 if eval "test \"\${$as_ac_File+set}\" = set"; then 5578 echo $ECHO_N "(cached) $ECHO_C" >&6 5579 else 5580 test "$cross_compiling" = yes && 5581 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 5582 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 5583 { (exit 1); exit 1; }; } 5584 if test -r "$want_dir/aclocal/libtool.m4"; then 5585 eval "$as_ac_File=yes" 5586 else 5587 eval "$as_ac_File=no" 5588 fi 5589 fi 5590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5 5591 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 5592 if test `eval echo '${'$as_ac_File'}'` = yes; then 5573 if test -r $want_dir/aclocal/libtool.m4; then 5593 5574 LIBTOOLM4="$want_dir/aclocal/libtool.m4" 5575 : 5594 5576 else 5595 5577 { { echo "$as_me:$LINENO: error: I cannot find the libtool.m4 file." >&5 5596 5578 echo "$as_me: error: I cannot find the libtool.m4 file." >&2;} 5597 5579 { (exit 1); exit 1; }; } 5580 : 5598 5581 fi 5599 5582 … … 6281 6264 *-*-irix6*) 6282 6265 # Find out which ABI we are using. 6283 echo '#line 62 83"configure"' > conftest.$ac_ext6266 echo '#line 6266 "configure"' > conftest.$ac_ext 6284 6267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6285 6268 (eval $ac_compile) 2>&5 … … 8245 8228 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8246 8229 -e 's:$: $lt_compiler_flag:'` 8247 (eval echo "\"\$as_me:82 47: $lt_compile\"" >&5)8230 (eval echo "\"\$as_me:8230: $lt_compile\"" >&5) 8248 8231 (eval "$lt_compile" 2>conftest.err) 8249 8232 ac_status=$? 8250 8233 cat conftest.err >&5 8251 echo "$as_me:82 51: \$? = $ac_status" >&58234 echo "$as_me:8234: \$? = $ac_status" >&5 8252 8235 if (exit $ac_status) && test -s "$ac_outfile"; then 8253 8236 # The compiler can only warn and ignore the option if not recognized … … 8513 8496 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8514 8497 -e 's:$: $lt_compiler_flag:'` 8515 (eval echo "\"\$as_me:8 515: $lt_compile\"" >&5)8498 (eval echo "\"\$as_me:8498: $lt_compile\"" >&5) 8516 8499 (eval "$lt_compile" 2>conftest.err) 8517 8500 ac_status=$? 8518 8501 cat conftest.err >&5 8519 echo "$as_me:85 19: \$? = $ac_status" >&58502 echo "$as_me:8502: \$? = $ac_status" >&5 8520 8503 if (exit $ac_status) && test -s "$ac_outfile"; then 8521 8504 # The compiler can only warn and ignore the option if not recognized … … 8617 8600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8618 8601 -e 's:$: $lt_compiler_flag:'` 8619 (eval echo "\"\$as_me:86 19: $lt_compile\"" >&5)8602 (eval echo "\"\$as_me:8602: $lt_compile\"" >&5) 8620 8603 (eval "$lt_compile" 2>out/conftest.err) 8621 8604 ac_status=$? 8622 8605 cat out/conftest.err >&5 8623 echo "$as_me:86 23: \$? = $ac_status" >&58606 echo "$as_me:8606: \$? = $ac_status" >&5 8624 8607 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8625 8608 then … … 10962 10945 lt_status=$lt_dlunknown 10963 10946 cat > conftest.$ac_ext <<EOF 10964 #line 109 64"configure"10947 #line 10947 "configure" 10965 10948 #include "confdefs.h" 10966 10949 … … 11062 11045 lt_status=$lt_dlunknown 11063 11046 cat > conftest.$ac_ext <<EOF 11064 #line 110 64"configure"11047 #line 11047 "configure" 11065 11048 #include "confdefs.h" 11066 11049 … … 13406 13389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13407 13390 -e 's:$: $lt_compiler_flag:'` 13408 (eval echo "\"\$as_me:13 408: $lt_compile\"" >&5)13391 (eval echo "\"\$as_me:13391: $lt_compile\"" >&5) 13409 13392 (eval "$lt_compile" 2>conftest.err) 13410 13393 ac_status=$? 13411 13394 cat conftest.err >&5 13412 echo "$as_me:13 412: \$? = $ac_status" >&513395 echo "$as_me:13395: \$? = $ac_status" >&5 13413 13396 if (exit $ac_status) && test -s "$ac_outfile"; then 13414 13397 # The compiler can only warn and ignore the option if not recognized … … 13510 13493 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13511 13494 -e 's:$: $lt_compiler_flag:'` 13512 (eval echo "\"\$as_me:13 512: $lt_compile\"" >&5)13495 (eval echo "\"\$as_me:13495: $lt_compile\"" >&5) 13513 13496 (eval "$lt_compile" 2>out/conftest.err) 13514 13497 ac_status=$? 13515 13498 cat out/conftest.err >&5 13516 echo "$as_me:13 516: \$? = $ac_status" >&513499 echo "$as_me:13499: \$? = $ac_status" >&5 13517 13500 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13518 13501 then … … 15080 15063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15081 15064 -e 's:$: $lt_compiler_flag:'` 15082 (eval echo "\"\$as_me:150 82: $lt_compile\"" >&5)15065 (eval echo "\"\$as_me:15065: $lt_compile\"" >&5) 15083 15066 (eval "$lt_compile" 2>conftest.err) 15084 15067 ac_status=$? 15085 15068 cat conftest.err >&5 15086 echo "$as_me:150 86: \$? = $ac_status" >&515069 echo "$as_me:15069: \$? = $ac_status" >&5 15087 15070 if (exit $ac_status) && test -s "$ac_outfile"; then 15088 15071 # The compiler can only warn and ignore the option if not recognized … … 15184 15167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15185 15168 -e 's:$: $lt_compiler_flag:'` 15186 (eval echo "\"\$as_me:151 86: $lt_compile\"" >&5)15169 (eval echo "\"\$as_me:15169: $lt_compile\"" >&5) 15187 15170 (eval "$lt_compile" 2>out/conftest.err) 15188 15171 ac_status=$? 15189 15172 cat out/conftest.err >&5 15190 echo "$as_me:151 90: \$? = $ac_status" >&515173 echo "$as_me:15173: \$? = $ac_status" >&5 15191 15174 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15192 15175 then … … 17391 17374 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17392 17375 -e 's:$: $lt_compiler_flag:'` 17393 (eval echo "\"\$as_me:173 93: $lt_compile\"" >&5)17376 (eval echo "\"\$as_me:17376: $lt_compile\"" >&5) 17394 17377 (eval "$lt_compile" 2>conftest.err) 17395 17378 ac_status=$? 17396 17379 cat conftest.err >&5 17397 echo "$as_me:173 97: \$? = $ac_status" >&517380 echo "$as_me:17380: \$? = $ac_status" >&5 17398 17381 if (exit $ac_status) && test -s "$ac_outfile"; then 17399 17382 # The compiler can only warn and ignore the option if not recognized … … 17659 17642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17660 17643 -e 's:$: $lt_compiler_flag:'` 17661 (eval echo "\"\$as_me:176 61: $lt_compile\"" >&5)17644 (eval echo "\"\$as_me:17644: $lt_compile\"" >&5) 17662 17645 (eval "$lt_compile" 2>conftest.err) 17663 17646 ac_status=$? 17664 17647 cat conftest.err >&5 17665 echo "$as_me:176 65: \$? = $ac_status" >&517648 echo "$as_me:17648: \$? = $ac_status" >&5 17666 17649 if (exit $ac_status) && test -s "$ac_outfile"; then 17667 17650 # The compiler can only warn and ignore the option if not recognized … … 17763 17746 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17764 17747 -e 's:$: $lt_compiler_flag:'` 17765 (eval echo "\"\$as_me:177 65: $lt_compile\"" >&5)17748 (eval echo "\"\$as_me:17748: $lt_compile\"" >&5) 17766 17749 (eval "$lt_compile" 2>out/conftest.err) 17767 17750 ac_status=$? 17768 17751 cat out/conftest.err >&5 17769 echo "$as_me:177 69: \$? = $ac_status" >&517752 echo "$as_me:17752: \$? = $ac_status" >&5 17770 17753 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17771 17754 then … … 21038 21021 # Finally, we let configure write all the output... 21039 21022 21023 21024 21025 21026 echo "$as_me:$LINENO: checking which command should be used to link input files" >&5 21027 echo $ECHO_N "checking which command should be used to link input files... $ECHO_C" >&6 21028 coin_link_input_cmd="$LN_S" 21029 if test "$enable_doscompile" = mingw; then 21030 coin_link_input_cmd=cp 21031 fi 21032 case "$CC" in 21033 cl* | */cl* | CL* | */CL*) 21034 coin_link_input_cmd=cp ;; 21035 esac 21036 echo "$as_me:$LINENO: result: $coin_link_input_cmd" >&5 21037 echo "${ECHO_T}$coin_link_input_cmd" >&6 21038 21039 21040 21040 21041 if test x$coin_skip_ac_output != xyes; then 21041 21042 … … 21504 21505 cat >&5 <<_CSEOF 21505 21506 21506 This file was extended by Cbc $as_me 0.1, which was21507 This file was extended by Cbc $as_me 1.1.2, which was 21507 21508 generated by GNU Autoconf 2.59. Invocation command line was 21508 21509 … … 21562 21563 cat >>$CONFIG_STATUS <<_ACEOF 21563 21564 ac_cs_version="\\ 21564 Cbc config.status 0.121565 Cbc config.status 1.1.2 21565 21566 configured by $0, generated by GNU Autoconf 2.59, 21566 21567 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 22511 22512 22512 22513 if test x"$coin_vpath_link_files" = x; then : ; else 22513 lnkcmd= 22514 if test "$enable_doscompile" = mingw; then 22515 lnkcmd=cp 22516 fi 22517 case "$CC" in 22518 cl* | */cl* | CL* | */CL*) 22519 lnkcmd=cp ;; 22520 esac 22514 lnkcmd="$coin_link_input_cmd" 22521 22515 if test "$lnkcmd" = cp; then 22522 22516 { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5 22523 22517 echo "$as_me: Copying data files for VPATH configuration" >&6;} 22524 22518 else 22525 echo "$as_me:$LINENO: checking whether ln -s works" >&522526 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&622527 LN_S=$as_ln_s22528 if test "$LN_S" = "ln -s"; then22529 echo "$as_me:$LINENO: result: yes" >&522530 echo "${ECHO_T}yes" >&622531 else22532 echo "$as_me:$LINENO: result: no, using $LN_S" >&522533 echo "${ECHO_T}no, using $LN_S" >&622534 fi22535 22536 22519 { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5 22537 22520 echo "$as_me: Creating VPATH links for data files" >&6;} 22538 lnkcmd="$LN_S"22539 22521 fi 22540 22522 for file in $coin_vpath_link_files; do -
stable/1.1/configure.ac
r528 r791 13 13 AC_PREREQ(2.59) 14 14 15 AC_INIT([Cbc],[ 0.1],[coin-cbc@lists.coin-or.org])15 AC_INIT([Cbc],[1.1.2],[coin-cbc@lists.coin-or.org]) 16 16 17 17 AC_COPYRIGHT([
Note: See TracChangeset
for help on using the changeset viewer.