Changeset 1675 for stable/2.7/configure
- Timestamp:
- Jun 19, 2011 1:23:14 PM (10 years ago)
- Location:
- stable/2.7
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable/2.7
- Property svn:externals
-
old new 1 BuildTools https://projects.coin-or.org/svn/BuildTools/stable/0.7 2 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.2 3 ThirdParty/Blas https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.2 4 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.3 5 ThirdParty/Glpk https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.8 6 Data/Sample https://projects.coin-or.org/svn/Data/Sample/stable/1.2 7 CoinUtils https://projects.coin-or.org/svn/CoinUtils/stable/2.8/CoinUtils 8 Cgl https://projects.coin-or.org/svn/Cgl/stable/0.57/Cgl 9 Clp https://projects.coin-or.org/svn/Clp/stable/1.14/Clp 10 Osi https://projects.coin-or.org/svn/Osi/stable/0.105/Osi 1 BuildTools https://projects.coin-or.org/svn/BuildTools/stable/0.7 2 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.2 3 ThirdParty/Blas https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.2 4 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.3 5 ThirdParty/Glpk https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.8 6 ThirdParty/Metis https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/stable/1.2 7 ThirdParty/Mumps https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/stable/1.4 8 Data/Sample https://projects.coin-or.org/svn/Data/Sample/stable/1.2 9 Data/miplib3 https://projects.coin-or.org/svn/Data/miplib3/stable/1.2 10 CoinUtils https://projects.coin-or.org/svn/CoinUtils/stable/2.8/CoinUtils 11 Cgl https://projects.coin-or.org/svn/Cgl/stable/0.57/Cgl 12 Clp https://projects.coin-or.org/svn/Clp/stable/1.14/Clp 13 Osi https://projects.coin-or.org/svn/Osi/stable/0.105/Osi
-
- Property svn:mergeinfo changed
/trunk (added) merged: 1578,1582-1587,1589-1600,1603-1614,1620-1626,1631-1633,1635-1636,1638-1646,1650-1652,1654-1658,1660-1663,1665-1671,1673-1674
- Property svn:externals
-
stable/2.7/configure
r1576 r1675 478 478 ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack" 479 479 ac_subdirs_all="$ac_subdirs_all ThirdParty/Glpk" 480 ac_subdirs_all="$ac_subdirs_all ThirdParty/Metis" 481 ac_subdirs_all="$ac_subdirs_all ThirdParty/Mumps" 480 482 ac_subdirs_all="$ac_subdirs_all Data/Sample" 481 483 ac_subdirs_all="$ac_subdirs_all Data/Netlib" … … 488 490 ac_subdirs_all="$ac_subdirs_all Cgl" 489 491 ac_subdirs_all="$ac_subdirs_all Cbc" 490 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os C OIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLEDCOIN_SKIP_PROJECTS subdirs coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'492 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 EGREP LN_S INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_SKIP_PROJECTS subdirs coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS' 491 493 ac_subst_files='' 492 494 … … 1025 1027 ac_cv_env_CXXCPP_set=${CXXCPP+set} 1026 1028 ac_cv_env_CXXCPP_value=$CXXCPP 1027 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}1028 ac_env_PKG_CONFIG_value=$PKG_CONFIG1029 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}1030 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG1031 1029 ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set} 1032 1030 ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS … … 1115 1113 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1116 1114 --enable-debug compile all projects with debug options tests 1115 (implies --disable-shared) 1117 1116 --enable-doscompile Under Cygwin, compile so that executables run under 1118 1117 DOS. Set to mingw to use gcc/g++/ld with … … 1131 1130 optimize for fast installation [default=yes] 1132 1131 --disable-libtool-lock avoid locking (might break parallel builds) 1133 --enable-pkg-config use pkg-config if available (default is yes)1134 1132 1135 1133 Optional Packages: … … 1141 1139 --with-tags[=TAGS] 1142 1140 include additional configurations [automatic] 1143 --with-coin-instdir prefix of installation directory for precompiled 1144 COIN packages 1141 1145 1142 --with-asl-lib linker flags for using project ASL 1146 1143 --with-asl-incdir directory with header files for using project ASL … … 1149 1146 --with-blas-incdir directory with header files for using project Blas 1150 1147 --with-blas-datadir directory with data files for using project Blas 1151 --with-blas specify BLAS library (or BUILD for compilation) 1148 --with-blas specify BLAS library (or BUILD to enforce use of 1149 ThirdParty/Blas) 1152 1150 --with-lapack-lib linker flags for using project Lapack 1153 1151 --with-lapack-incdir directory with header files for using project Lapack 1154 1152 --with-lapack-datadir directory with data files for using project Lapack 1155 --with-lapack specify LAPACK library (or BUILD for compilation) 1153 --with-lapack specify LAPACK library (or BUILD to enforce use of 1154 ThirdParty/Lapack) 1156 1155 --with-glpk-lib linker flags for using project Glpk 1157 1156 --with-glpk-incdir directory with header files for using project Glpk 1158 1157 --with-glpk-datadir directory with data files for using project Glpk 1158 --with-metis-lib linker flags for using project Metis 1159 --with-metis-incdir directory with header files for using project Metis 1160 --with-metis-datadir directory with data files for using project Metis 1161 --with-mumps-lib linker flags for using project Mumps 1162 --with-mumps-incdir directory with header files for using project Mumps 1163 --with-mumps-datadir directory with data files for using project Mumps 1159 1164 --with-sample-lib linker flags for using project Sample 1160 1165 --with-sample-incdir directory with header files for using project Sample … … 1223 1228 CPP C preprocessor 1224 1229 CXXCPP C++ preprocessor 1225 PKG_CONFIG path to pkg-config utility1226 1230 COIN_SKIP_PROJECTS 1227 1231 Set to the subdirectories of projects that should be skipped in … … 1873 1877 esac 1874 1878 fi 1875 1876 # add automake conditional so we can recognize cl compiler in makefile1877 coin_cc_is_cl=false1878 if test x"$CXX" != x; then1879 case "$CXX" in1880 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)1881 coin_cc_is_cl=true1882 ;;1883 esac1884 fi1885 1886 1887 if test $coin_cc_is_cl = true; then1888 COIN_CC_IS_CL_TRUE=1889 COIN_CC_IS_CL_FALSE='#'1890 else1891 COIN_CC_IS_CL_TRUE='#'1892 COIN_CC_IS_CL_FALSE=1893 fi1894 1895 1879 1896 1880 … … 2712 2696 CFLAGS="$save_cflags" 2713 2697 2698 # add automake conditional so we can recognize cl compiler in makefile 2699 coin_cc_is_cl=false 2700 case "$CC" in 2701 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 2702 coin_cc_is_cl=true 2703 ;; 2704 esac 2705 2706 2707 if test $coin_cc_is_cl = true; then 2708 COIN_CC_IS_CL_TRUE= 2709 COIN_CC_IS_CL_FALSE='#' 2710 else 2711 COIN_CC_IS_CL_TRUE='#' 2712 COIN_CC_IS_CL_FALSE= 2713 fi 2714 2715 2714 2716 # Check if a project specific CFLAGS variable has been set 2715 2717 if test x$COIN_PRJCT != x; then … … 2734 2736 coin_opt_cflags="-O3" 2735 2737 coin_add_cflags="-pipe" 2736 coin_dbg_cflags="-g "2737 coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas "2738 coin_dbg_cflags="-g -O0" 2739 coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long" 2738 2740 case $build in 2739 2741 *-darwin*) … … 2999 3001 fi ;; 3000 3002 esac 3003 3004 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include 3005 if test x$COIN_PRJCT != x; then 3006 CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD" 3007 fi 3001 3008 3002 3009 # Try if CFLAGS works … … 3663 3670 coin_opt_cxxflags="-O3" 3664 3671 coin_add_cxxflags="-pipe" 3665 coin_dbg_cxxflags="-g "3666 coin_warn_cxxflags="-W implicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas"3672 coin_dbg_cxxflags="-g -O0" 3673 coin_warn_cxxflags="-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long" 3667 3674 case $build in 3668 3675 *-darwin*) … … 3941 3948 esac 3942 3949 3950 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include 3951 if test x$COIN_PRJCT != x; then 3952 CXXFLAGS="$CXXFLAGS -D${COIN_PRJCT}_BUILD" 3953 fi 3954 3943 3955 # Try if CXXFLAGS works 3944 3956 save_CXXFLAGS="$CXXFLAGS" … … 4090 4102 coin_f77_comps="ifort fl32 compile_f2c" 4091 4103 else 4092 coin_f77_comps="gfortran g77 ifortfl32 compile_f2c"4104 coin_f77_comps="gfortran ifort g95 g77 fl32 compile_f2c" 4093 4105 fi ;; 4094 4106 *-*-solaris*) 4095 coin_f77_comps="f95 f90 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;4107 coin_f77_comps="f95 f90 g95 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;; 4096 4108 *-linux-gnu*) 4097 coin_f77_comps="gfortran fort77 f77 g77 pgf90 pgf77 ifortifc frt af77 xlf_r" ;;4098 *) coin_f77_comps="xlf_r fort77 gfortran f77 g77 pgf90 pgf77 ifortifc frt af77" ;;4109 coin_f77_comps="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77 xlf_r" ;; 4110 *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;; 4099 4111 esac 4100 4112 … … 4132 4144 { echo "$as_me:$LINENO: Trying to determine Fortran compiler name" >&5 4133 4145 echo "$as_me: Trying to determine Fortran compiler name" >&6;} 4134 for ac_prog in $coin_f77_comps 4135 do 4136 # Extract the first word of "$ac_prog", so it can be a program name with args. 4137 set dummy $ac_prog; ac_word=$2 4146 if test -n "$ac_tool_prefix"; then 4147 for ac_prog in $coin_f77_comps 4148 do 4149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4138 4151 echo "$as_me:$LINENO: checking for $ac_word" >&5 4139 4152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 … … 4151 4164 for ac_exec_ext in '' $ac_executable_extensions; do 4152 4165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4153 ac_cv_prog_F77="$ac_ prog"4166 ac_cv_prog_F77="$ac_tool_prefix$ac_prog" 4154 4167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4155 4168 break 2 … … 4169 4182 fi 4170 4183 4171 test -n "$F77" && break 4184 test -n "$F77" && break 4185 done 4186 fi 4187 if test -z "$F77"; then 4188 ac_ct_F77=$F77 4189 for ac_prog in $coin_f77_comps 4190 do 4191 # Extract the first word of "$ac_prog", so it can be a program name with args. 4192 set dummy $ac_prog; ac_word=$2 4193 echo "$as_me:$LINENO: checking for $ac_word" >&5 4194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4195 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then 4196 echo $ECHO_N "(cached) $ECHO_C" >&6 4197 else 4198 if test -n "$ac_ct_F77"; then 4199 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. 4200 else 4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4202 for as_dir in $PATH 4203 do 4204 IFS=$as_save_IFS 4205 test -z "$as_dir" && as_dir=. 4206 for ac_exec_ext in '' $ac_executable_extensions; do 4207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4208 ac_cv_prog_ac_ct_F77="$ac_prog" 4209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4210 break 2 4211 fi 4172 4212 done 4173 test -n "$F77" || F77="unavailable" 4213 done 4214 4215 fi 4216 fi 4217 ac_ct_F77=$ac_cv_prog_ac_ct_F77 4218 if test -n "$ac_ct_F77"; then 4219 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 4220 echo "${ECHO_T}$ac_ct_F77" >&6 4221 else 4222 echo "$as_me:$LINENO: result: no" >&5 4223 echo "${ECHO_T}no" >&6 4224 fi 4225 4226 test -n "$ac_ct_F77" && break 4227 done 4228 test -n "$ac_ct_F77" || ac_ct_F77="unavailable" 4229 4230 F77=$ac_ct_F77 4231 fi 4174 4232 4175 4233 … … 4267 4325 4268 4326 # Provide some information about the compiler. 4269 echo "$as_me:4 269:" \4327 echo "$as_me:4327:" \ 4270 4328 "checking for Fortran 77 compiler version" >&5 4271 4329 ac_compiler=`set X $ac_compile; echo $2` … … 4435 4493 coin_opt_fflags="-O3" 4436 4494 coin_add_fflags="-pipe" 4437 coin_dbg_fflags="-g "4495 coin_dbg_fflags="-g -O0" 4438 4496 case $enable_doscompile in 4439 4497 mingw) … … 4874 4932 4875 4933 4934 echo "$as_me:$LINENO: checking whether ln -s works" >&5 4935 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4936 LN_S=$as_ln_s 4937 if test "$LN_S" = "ln -s"; then 4938 echo "$as_me:$LINENO: result: yes" >&5 4939 echo "${ECHO_T}yes" >&6 4940 else 4941 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4942 echo "${ECHO_T}no, using $LN_S" >&6 4943 fi 4944 4876 4945 am__api_version="1.9" 4877 4946 # Find a good install program. We prefer a C program (faster), … … 5203 5272 5204 5273 5274 5205 5275 # AC_MSG_NOTICE([Beginning automake initialisation.]) 5206 5276 # Stuff for automake … … 5845 5915 5846 5916 5847 # Check if we have an Externals file5848 if test -r $srcdir/ Externals; then5917 # Check if we have an Dependencies file 5918 if test -r $srcdir/Dependencies; then 5849 5919 coin_have_externals=yes 5850 5920 fi … … 5919 5989 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5 5920 5990 echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 5921 { (exit 1); exit 1; }; }5991 { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; } 5922 5992 fi 5923 5993 fi 5924 5994 fi 5925 5995 5996 5997 # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools 5998 if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then 5999 $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools" 6000 fi 5926 6001 5927 6002 # The following variable is set to the name of the directory where … … 6291 6366 NM="$lt_cv_path_NM" 6292 6367 6293 echo "$as_me:$LINENO: checking whether ln -s works" >&56294 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&66295 LN_S=$as_ln_s6296 if test "$LN_S" = "ln -s"; then6297 echo "$as_me:$LINENO: result: yes" >&56298 echo "${ECHO_T}yes" >&66299 else6300 echo "$as_me:$LINENO: result: no, using $LN_S" >&56301 echo "${ECHO_T}no, using $LN_S" >&66302 fi6303 6304 6368 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 6305 6369 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 … … 6527 6591 *-*-irix6*) 6528 6592 # Find out which ABI we are using. 6529 echo '#line 65 29"configure"' > conftest.$ac_ext6593 echo '#line 6593 "configure"' > conftest.$ac_ext 6530 6594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 6531 6595 (eval $ac_compile) 2>&5 … … 8491 8555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8492 8556 -e 's:$: $lt_compiler_flag:'` 8493 (eval echo "\"\$as_me:8 493: $lt_compile\"" >&5)8557 (eval echo "\"\$as_me:8557: $lt_compile\"" >&5) 8494 8558 (eval "$lt_compile" 2>conftest.err) 8495 8559 ac_status=$? 8496 8560 cat conftest.err >&5 8497 echo "$as_me:8 497: \$? = $ac_status" >&58561 echo "$as_me:8561: \$? = $ac_status" >&5 8498 8562 if (exit $ac_status) && test -s "$ac_outfile"; then 8499 8563 # The compiler can only warn and ignore the option if not recognized … … 8759 8823 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8760 8824 -e 's:$: $lt_compiler_flag:'` 8761 (eval echo "\"\$as_me:8 761: $lt_compile\"" >&5)8825 (eval echo "\"\$as_me:8825: $lt_compile\"" >&5) 8762 8826 (eval "$lt_compile" 2>conftest.err) 8763 8827 ac_status=$? 8764 8828 cat conftest.err >&5 8765 echo "$as_me:8 765: \$? = $ac_status" >&58829 echo "$as_me:8829: \$? = $ac_status" >&5 8766 8830 if (exit $ac_status) && test -s "$ac_outfile"; then 8767 8831 # The compiler can only warn and ignore the option if not recognized … … 8863 8927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8864 8928 -e 's:$: $lt_compiler_flag:'` 8865 (eval echo "\"\$as_me:8 865: $lt_compile\"" >&5)8929 (eval echo "\"\$as_me:8929: $lt_compile\"" >&5) 8866 8930 (eval "$lt_compile" 2>out/conftest.err) 8867 8931 ac_status=$? 8868 8932 cat out/conftest.err >&5 8869 echo "$as_me:8 869: \$? = $ac_status" >&58933 echo "$as_me:8933: \$? = $ac_status" >&5 8870 8934 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8871 8935 then … … 11208 11272 lt_status=$lt_dlunknown 11209 11273 cat > conftest.$ac_ext <<EOF 11210 #line 112 10"configure"11274 #line 11274 "configure" 11211 11275 #include "confdefs.h" 11212 11276 … … 11308 11372 lt_status=$lt_dlunknown 11309 11373 cat > conftest.$ac_ext <<EOF 11310 #line 113 10"configure"11374 #line 11374 "configure" 11311 11375 #include "confdefs.h" 11312 11376 … … 13652 13716 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13653 13717 -e 's:$: $lt_compiler_flag:'` 13654 (eval echo "\"\$as_me:13 654: $lt_compile\"" >&5)13718 (eval echo "\"\$as_me:13718: $lt_compile\"" >&5) 13655 13719 (eval "$lt_compile" 2>conftest.err) 13656 13720 ac_status=$? 13657 13721 cat conftest.err >&5 13658 echo "$as_me:13 658: \$? = $ac_status" >&513722 echo "$as_me:13722: \$? = $ac_status" >&5 13659 13723 if (exit $ac_status) && test -s "$ac_outfile"; then 13660 13724 # The compiler can only warn and ignore the option if not recognized … … 13756 13820 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13757 13821 -e 's:$: $lt_compiler_flag:'` 13758 (eval echo "\"\$as_me:13 758: $lt_compile\"" >&5)13822 (eval echo "\"\$as_me:13822: $lt_compile\"" >&5) 13759 13823 (eval "$lt_compile" 2>out/conftest.err) 13760 13824 ac_status=$? 13761 13825 cat out/conftest.err >&5 13762 echo "$as_me:13 762: \$? = $ac_status" >&513826 echo "$as_me:13826: \$? = $ac_status" >&5 13763 13827 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13764 13828 then … … 15326 15390 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15327 15391 -e 's:$: $lt_compiler_flag:'` 15328 (eval echo "\"\$as_me:153 28: $lt_compile\"" >&5)15392 (eval echo "\"\$as_me:15392: $lt_compile\"" >&5) 15329 15393 (eval "$lt_compile" 2>conftest.err) 15330 15394 ac_status=$? 15331 15395 cat conftest.err >&5 15332 echo "$as_me:153 32: \$? = $ac_status" >&515396 echo "$as_me:15396: \$? = $ac_status" >&5 15333 15397 if (exit $ac_status) && test -s "$ac_outfile"; then 15334 15398 # The compiler can only warn and ignore the option if not recognized … … 15430 15494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15431 15495 -e 's:$: $lt_compiler_flag:'` 15432 (eval echo "\"\$as_me:154 32: $lt_compile\"" >&5)15496 (eval echo "\"\$as_me:15496: $lt_compile\"" >&5) 15433 15497 (eval "$lt_compile" 2>out/conftest.err) 15434 15498 ac_status=$? 15435 15499 cat out/conftest.err >&5 15436 echo "$as_me:15 436: \$? = $ac_status" >&515500 echo "$as_me:15500: \$? = $ac_status" >&5 15437 15501 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15438 15502 then … … 17637 17701 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17638 17702 -e 's:$: $lt_compiler_flag:'` 17639 (eval echo "\"\$as_me:17 639: $lt_compile\"" >&5)17703 (eval echo "\"\$as_me:17703: $lt_compile\"" >&5) 17640 17704 (eval "$lt_compile" 2>conftest.err) 17641 17705 ac_status=$? 17642 17706 cat conftest.err >&5 17643 echo "$as_me:17 643: \$? = $ac_status" >&517707 echo "$as_me:17707: \$? = $ac_status" >&5 17644 17708 if (exit $ac_status) && test -s "$ac_outfile"; then 17645 17709 # The compiler can only warn and ignore the option if not recognized … … 17905 17969 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17906 17970 -e 's:$: $lt_compiler_flag:'` 17907 (eval echo "\"\$as_me:179 07: $lt_compile\"" >&5)17971 (eval echo "\"\$as_me:17971: $lt_compile\"" >&5) 17908 17972 (eval "$lt_compile" 2>conftest.err) 17909 17973 ac_status=$? 17910 17974 cat conftest.err >&5 17911 echo "$as_me:179 11: \$? = $ac_status" >&517975 echo "$as_me:17975: \$? = $ac_status" >&5 17912 17976 if (exit $ac_status) && test -s "$ac_outfile"; then 17913 17977 # The compiler can only warn and ignore the option if not recognized … … 18009 18073 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18010 18074 -e 's:$: $lt_compiler_flag:'` 18011 (eval echo "\"\$as_me:180 11: $lt_compile\"" >&5)18075 (eval echo "\"\$as_me:18075: $lt_compile\"" >&5) 18012 18076 (eval "$lt_compile" 2>out/conftest.err) 18013 18077 ac_status=$? 18014 18078 cat out/conftest.err >&5 18015 echo "$as_me:180 15: \$? = $ac_status" >&518079 echo "$as_me:18079: \$? = $ac_status" >&5 18016 18080 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18017 18081 then … … 20918 20982 20919 20983 20920 20921 # Check whether --enable-pkg-config or --disable-pkg-config was given. 20922 if test "${enable_pkg_config+set}" = set; then 20923 enableval="$enable_pkg_config" 20924 use_pkgconfig="$enableval" 20925 else 20926 use_pkgconfig=yes 20927 fi; 20928 20929 if test $use_pkgconfig = yes ; then 20930 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20931 if test -n "$ac_tool_prefix"; then 20932 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20933 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20934 echo "$as_me:$LINENO: checking for $ac_word" >&5 20935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 20936 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 20937 echo $ECHO_N "(cached) $ECHO_C" >&6 20938 else 20939 case $PKG_CONFIG in 20940 [\\/]* | ?:[\\/]*) 20941 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20942 ;; 20943 *) 20944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20945 for as_dir in $PATH 20946 do 20947 IFS=$as_save_IFS 20948 test -z "$as_dir" && as_dir=. 20949 for ac_exec_ext in '' $ac_executable_extensions; do 20950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20951 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20953 break 2 20954 fi 20955 done 20956 done 20957 20958 ;; 20959 esac 20960 fi 20961 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20962 20963 if test -n "$PKG_CONFIG"; then 20964 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 20965 echo "${ECHO_T}$PKG_CONFIG" >&6 20966 else 20967 echo "$as_me:$LINENO: result: no" >&5 20968 echo "${ECHO_T}no" >&6 20969 fi 20970 20971 fi 20972 if test -z "$ac_cv_path_PKG_CONFIG"; then 20973 ac_pt_PKG_CONFIG=$PKG_CONFIG 20974 # Extract the first word of "pkg-config", so it can be a program name with args. 20975 set dummy pkg-config; ac_word=$2 20976 echo "$as_me:$LINENO: checking for $ac_word" >&5 20977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 20978 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 20979 echo $ECHO_N "(cached) $ECHO_C" >&6 20980 else 20981 case $ac_pt_PKG_CONFIG in 20982 [\\/]* | ?:[\\/]*) 20983 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20984 ;; 20985 *) 20986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20987 for as_dir in $PATH 20988 do 20989 IFS=$as_save_IFS 20990 test -z "$as_dir" && as_dir=. 20991 for ac_exec_ext in '' $ac_executable_extensions; do 20992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20993 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20995 break 2 20996 fi 20997 done 20998 done 20999 21000 ;; 21001 esac 21002 fi 21003 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 21004 21005 if test -n "$ac_pt_PKG_CONFIG"; then 21006 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 21007 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 21008 else 21009 echo "$as_me:$LINENO: result: no" >&5 21010 echo "${ECHO_T}no" >&6 21011 fi 21012 21013 PKG_CONFIG=$ac_pt_PKG_CONFIG 21014 else 21015 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 21016 fi 21017 21018 fi 21019 if test -n "$PKG_CONFIG"; then 21020 _pkg_min_version=0.9.0 21021 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 21022 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 21023 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 21024 echo "$as_me:$LINENO: result: yes" >&5 21025 echo "${ECHO_T}yes" >&6 21026 else 21027 echo "$as_me:$LINENO: result: no" >&5 21028 echo "${ECHO_T}no" >&6 21029 PKG_CONFIG="" 21030 fi 21031 fi 21032 21033 # check if pkg-config supports the short-errors flag 21034 if test -n "$PKG_CONFIG" && \ 21035 $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21036 pkg_short_errors=" --short-errors " 21037 else 21038 pkg_short_errors="" 21039 fi 21040 fi 21041 21042 21043 21044 if test -n "$PKG_CONFIG"; then 21045 COIN_HAS_PKGCONFIG_TRUE= 21046 COIN_HAS_PKGCONFIG_FALSE='#' 21047 else 21048 COIN_HAS_PKGCONFIG_TRUE='#' 21049 COIN_HAS_PKGCONFIG_FALSE= 21050 fi 21051 21052 21053 21054 # assemble pkg-config search path for installed projects 21055 COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21056 21057 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 21058 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21059 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21060 if test "x${prefix}" = xNONE ; then 21061 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 21062 else 21063 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 21064 fi 21065 21066 21067 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21068 if test "${with_coin_instdir+set}" = set; then 21069 withval="$with_coin_instdir" 21070 if test -d "$withval"; then : ; else 21071 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21072 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21073 { (exit 1); exit 1; }; } 21074 fi 21075 COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 21076 21077 fi; 21078 21079 21080 21081 # assemble additional pkg-config search paths for uninstalled projects 21082 if test x$coin_projectdir = xyes ; then 21083 # if we are in a project setup, then in a classic setup, we want to find uninstalled projects 21084 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21085 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21086 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 21087 COIN_PKG_CONFIG_PATH_UNINSTALLED= 21088 if test -e ../coin_subdirs.txt ; then 21089 for i in `cat ../coin_subdirs.txt` ; do 21090 if test -d ../$i ; then 21091 COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}" 21092 fi 21093 if test -d ../$i/pkgconfig ; then 21094 COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}" 21095 fi 21096 done 21097 fi 21098 21099 if test -e ../../coin_subdirs.txt ; then 21100 for i in `cat ../../coin_subdirs.txt` ; do 21101 if test -d ../../$i ; then 21102 COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}" 21103 fi 21104 if test -d ../../$i/pkgconfig ; then 21105 COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}" 21106 fi 21107 done 21108 fi 21109 21110 21111 fi 21112 21113 21114 21115 echo "$as_me:$LINENO: checking whether project ASL is available" >&5 21116 echo $ECHO_N "checking whether project ASL is available... $ECHO_C" >&6 20984 echo "$as_me:$LINENO: checking whether source of project ASL is available and should be compiled" >&5 20985 echo $ECHO_N "checking whether source of project ASL is available and should be compiled... $ECHO_C" >&6 21117 20986 21118 20987 coin_has_asl=notGiven 21119 coin_ have_project_dir=no20988 coin_reason= 21120 20989 21121 20990 # check if user wants to skip project in any case … … 21124 20993 for dir in $COIN_SKIP_PROJECTS; do 21125 20994 if test $dir = "ASL"; then 21126 coin_has_asl=skipping 20995 coin_has_asl="no" 20996 coin_reason="ASL has been specified in COIN_SKIP_PROJECTS" 21127 20997 fi 20998 21128 20999 if test $dir = "ThirdParty/ASL"; then 21129 coin_has_asl=skipping 21000 coin_has_asl="no" 21001 coin_reason="ThirdParty/ASL has been specified in COIN_SKIP_PROJECTS" 21130 21002 fi 21131 21003 done 21132 21004 fi 21133 21005 21134 if test $coin_has_asl != skipping; then 21135 if test $PACKAGE_TARNAME = asl; then 21136 coin_has_asl=yes 21137 coin_have_project_dir=yes 21138 fi 21139 21006 if test "$coin_has_asl" != no; then 21007 21008 # Check whether --with-m4_tolower(ASL) or --without-m4_tolower(ASL) was given. 21009 if test "${with_asl+set}" = set; then 21010 withval="$with_asl" 21011 if test "$withval" = no ; then 21012 coin_has_asl="no" 21013 coin_reason="--without-asl has been specified" 21014 fi 21015 21016 fi; 21017 fi 21018 21019 if test "$coin_has_asl" != no; then 21140 21020 21141 21021 # Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given. 21142 21022 if test "${with_asl_lib+set}" = set; then 21143 21023 withval="$with_asl_lib" 21144 coin_has_asl="yes, via --with-asl-lib" 21024 if test "$withval" = no ; then 21025 coin_has_asl="no" 21026 coin_reason="--without-asl-lib has been specified" 21027 else 21028 coin_has_asl="no" 21029 coin_reason="--with-asl-lib has been specified" 21030 fi 21145 21031 fi; 21146 21032 fi 21033 21034 if test "$coin_has_asl" != no; then 21147 21035 21148 21036 # Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given. 21149 21037 if test "${with_asl_incdir+set}" = set; then 21150 21038 withval="$with_asl_incdir" 21151 coin_has_asl="yes, via --with-asl-incdir" 21039 if test "$withval" = no ; then 21040 coin_has_asl="no" 21041 coin_reason="--without-asl-incdir has been specified" 21042 else 21043 coin_has_asl="no" 21044 coin_reason="--with-asl-incdir has been specified" 21045 fi 21152 21046 fi; 21153 21047 fi 21048 21049 if test "$coin_has_asl" != no; then 21154 21050 21155 21051 # Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given. 21156 21052 if test "${with_asl_datadir+set}" = set; then 21157 21053 withval="$with_asl_datadir" 21158 coin_has_asl="yes, via --with-asl-datadir" 21054 if test "$withval" = no ; then 21055 coin_has_asl="no" 21056 coin_reason="--without-asl-datadir has been specified" 21057 else 21058 coin_has_asl="no" 21059 coin_reason="--with-asl-datadir has been specified" 21060 fi 21159 21061 fi; 21160 21161 21162 21163 21164 21165 fi 21062 fi 21063 21064 21065 21066 21166 21067 21167 21068 # check if project is available in present directory 21168 21069 if test "$coin_has_asl" = notGiven; then 21070 coin_has_asl=no 21169 21071 if test -d $srcdir/ThirdParty/ASL; then 21072 coin_reason="source in ThirdParty/ASL" 21170 21073 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21171 21074 # If none of the files in the third argument is available, then we consider the project directory as non-existing. … … 21173 21076 for i in $srcdir/ThirdParty/ASL/solvers/asl.h; do 21174 21077 if test -r $i; then 21175 coin_have_project_dir=yes 21078 coin_has_asl="yes" 21079 else 21080 coin_has_asl="no" 21081 coin_reason="source file $i not available" 21082 break 21176 21083 fi 21177 21084 done 21178 21085 21179 if test $coin_have_project_dir = yes; then 21180 coin_has_asl="yes, source in ThirdParty/ASL" 21181 fi 21182 fi 21183 fi 21184 21185 # check for project by using pkg-config, if pkg-config is available 21186 if test "$coin_has_asl" = notGiven; then 21187 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21188 if test -n "$PKG_CONFIG" ; then 21189 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21190 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21191 21192 if test -n "$PKG_CONFIG" ; then 21193 if $PKG_CONFIG --exists "coinasl"; then 21194 COINASL_VERSION=`$PKG_CONFIG --modversion "coinasl" 2>/dev/null` 21195 coin_has_asl="yes, found installed version $COINASL_VERSION" 21196 else 21197 COINASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinasl"` 21198 21199 fi 21200 else 21201 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&5 21202 echo "$as_me: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&2;} 21203 { (exit 1); exit 1; }; } 21204 fi 21205 21206 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21207 export PKG_CONFIG_PATH 21208 fi 21209 fi 21210 21211 if test "$coin_has_asl" = notGiven; then 21212 echo "$as_me:$LINENO: result: not given" >&5 21213 echo "${ECHO_T}not given" >&6 21214 21215 else 21086 fi 21087 fi 21088 21089 if test -z "$coin_reason" ; then 21216 21090 echo "$as_me:$LINENO: result: $coin_has_asl" >&5 21217 21091 echo "${ECHO_T}$coin_has_asl" >&6 21218 fi 21219 21220 echo "$ as_me:$LINENO: checking whether project ThirdParty/ASL needs to be configured" >&521221 echo $ECHO_N "checking whether project ThirdParty/ASL needs to be configured... $ECHO_C" >&6 21222 if test "$coin_have_project_dir" = yes ; then 21223 21092 else 21093 echo "$as_me:$LINENO: result: $coin_has_asl, $coin_reason" >&5 21094 echo "${ECHO_T}$coin_has_asl, $coin_reason" >&6 21095 fi 21096 21097 if test "$coin_has_asl" = yes ; then 21224 21098 if test -r $srcdir/ThirdParty/ASL/configure; then 21225 21099 coin_subdirs="$coin_subdirs ThirdParty/ASL" 21226 echo "$as_me:$LINENO: result: yes" >&521227 echo "${ECHO_T}yes" >&621228 21100 21229 21101 21230 21102 subdirs="$subdirs ThirdParty/ASL" 21231 21103 21232 else 21233 echo "$as_me:$LINENO: result: no" >&5 21234 echo "${ECHO_T}no" >&6 21235 fi 21236 else 21237 echo "$as_me:$LINENO: result: no" >&5 21238 echo "${ECHO_T}no" >&6 21239 fi 21240 21241 21242 echo "$as_me:$LINENO: checking whether project Blas is available" >&5 21243 echo $ECHO_N "checking whether project Blas is available... $ECHO_C" >&6 21104 fi 21105 fi 21106 21107 21108 echo "$as_me:$LINENO: checking whether source of project Blas is available and should be compiled" >&5 21109 echo $ECHO_N "checking whether source of project Blas is available and should be compiled... $ECHO_C" >&6 21244 21110 21245 21111 coin_has_blas=notGiven 21246 coin_ have_project_dir=no21112 coin_reason= 21247 21113 21248 21114 # check if user wants to skip project in any case … … 21251 21117 for dir in $COIN_SKIP_PROJECTS; do 21252 21118 if test $dir = "Blas"; then 21253 coin_has_blas=skipping 21119 coin_has_blas="no" 21120 coin_reason="Blas has been specified in COIN_SKIP_PROJECTS" 21254 21121 fi 21122 21255 21123 if test $dir = "ThirdParty/Blas"; then 21256 coin_has_blas=skipping 21124 coin_has_blas="no" 21125 coin_reason="ThirdParty/Blas has been specified in COIN_SKIP_PROJECTS" 21257 21126 fi 21258 21127 done 21259 21128 fi 21260 21129 21261 if test $coin_has_blas != skipping; then 21262 if test $PACKAGE_TARNAME = blas; then 21263 coin_has_blas=yes 21264 coin_have_project_dir=yes 21265 fi 21266 21130 if test "$coin_has_blas" != no; then 21131 21132 # Check whether --with-m4_tolower(Blas) or --without-m4_tolower(Blas) was given. 21133 if test "${with_blas+set}" = set; then 21134 withval="$with_blas" 21135 if test "$withval" = no ; then 21136 coin_has_blas="no" 21137 coin_reason="--without-blas has been specified" 21138 fi 21139 21140 fi; 21141 fi 21142 21143 if test "$coin_has_blas" != no; then 21267 21144 21268 21145 # Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given. 21269 21146 if test "${with_blas_lib+set}" = set; then 21270 21147 withval="$with_blas_lib" 21271 coin_has_blas="yes, via --with-blas-lib" 21148 if test "$withval" = no ; then 21149 coin_has_blas="no" 21150 coin_reason="--without-blas-lib has been specified" 21151 else 21152 coin_has_blas="no" 21153 coin_reason="--with-blas-lib has been specified" 21154 fi 21272 21155 fi; 21273 21156 fi 21157 21158 if test "$coin_has_blas" != no; then 21274 21159 21275 21160 # Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given. 21276 21161 if test "${with_blas_incdir+set}" = set; then 21277 21162 withval="$with_blas_incdir" 21278 coin_has_blas="yes, via --with-blas-incdir" 21163 if test "$withval" = no ; then 21164 coin_has_blas="no" 21165 coin_reason="--without-blas-incdir has been specified" 21166 else 21167 coin_has_blas="no" 21168 coin_reason="--with-blas-incdir has been specified" 21169 fi 21279 21170 fi; 21280 21171 fi 21172 21173 if test "$coin_has_blas" != no; then 21281 21174 21282 21175 # Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given. 21283 21176 if test "${with_blas_datadir+set}" = set; then 21284 21177 withval="$with_blas_datadir" 21285 coin_has_blas="yes, via --with-blas-datadir" 21178 if test "$withval" = no ; then 21179 coin_has_blas="no" 21180 coin_reason="--without-blas-datadir has been specified" 21181 else 21182 coin_has_blas="no" 21183 coin_reason="--with-blas-datadir has been specified" 21184 fi 21286 21185 fi; 21287 21288 21186 fi 21187 21188 21189 if test $coin_has_blas != no; then 21289 21190 #--with-blas can overwrite --with-blas-lib, and can be set to BUILD to enforce building blas 21290 21191 … … 21292 21193 if test "${with_blas+set}" = set; then 21293 21194 withval="$with_blas" 21294 if test x"$withval" = "xBUILD" ; then 21295 coin_has_blas=notGiven 21296 else 21297 coin_has_blas="yes, via --with-blas" 21195 if test x"$withval" = "xno" ; then 21196 coin_has_blas="no" 21197 coin_reason="--without-blas has been specified" 21198 elif test x"$withval" != "xBUILD" ; then 21199 coin_has_blas="no" 21200 coin_reason="--with-blas has been specified" 21298 21201 fi 21299 21202 fi; 21300 21301 21302 21303 fi 21203 fi 21204 21205 21206 21304 21207 21305 21208 # check if project is available in present directory 21306 21209 if test "$coin_has_blas" = notGiven; then 21210 coin_has_blas=no 21307 21211 if test -d $srcdir/ThirdParty/Blas; then 21212 coin_reason="source in ThirdParty/Blas" 21308 21213 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21309 21214 # If none of the files in the third argument is available, then we consider the project directory as non-existing. … … 21311 21216 for i in $srcdir/ThirdParty/Blas/daxpy.f; do 21312 21217 if test -r $i; then 21313 coin_have_project_dir=yes 21218 coin_has_blas="yes" 21219 else 21220 coin_has_blas="no" 21221 coin_reason="source file $i not available" 21222 break 21314 21223 fi 21315 21224 done 21316 21225 21317 if test $coin_have_project_dir = yes; then 21318 coin_has_blas="yes, source in ThirdParty/Blas" 21319 fi 21320 fi 21321 fi 21322 21323 # check for project by using pkg-config, if pkg-config is available 21324 if test "$coin_has_blas" = notGiven; then 21325 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21326 if test -n "$PKG_CONFIG" ; then 21327 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21328 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21329 21330 if test -n "$PKG_CONFIG" ; then 21331 if $PKG_CONFIG --exists "coinblas"; then 21332 COINBLAS_VERSION=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null` 21333 coin_has_blas="yes, found installed version $COINBLAS_VERSION" 21334 else 21335 COINBLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"` 21336 21337 fi 21338 else 21339 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5 21340 echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;} 21341 { (exit 1); exit 1; }; } 21342 fi 21343 21344 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21345 export PKG_CONFIG_PATH 21346 fi 21347 fi 21348 21349 if test "$coin_has_blas" = notGiven; then 21350 echo "$as_me:$LINENO: result: no (but will check for system blas later)" >&5 21351 echo "${ECHO_T}no (but will check for system blas later)" >&6 21352 else 21226 fi 21227 fi 21228 21229 if test -z "$coin_reason" ; then 21353 21230 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 21354 21231 echo "${ECHO_T}$coin_has_blas" >&6 21355 fi 21356 21357 echo "$ as_me:$LINENO: checking whether project ThirdParty/Blas needs to be configured" >&521358 echo $ECHO_N "checking whether project ThirdParty/Blas needs to be configured... $ECHO_C" >&6 21359 if test "$coin_have_project_dir" = yes ; then 21360 21232 else 21233 echo "$as_me:$LINENO: result: $coin_has_blas, $coin_reason" >&5 21234 echo "${ECHO_T}$coin_has_blas, $coin_reason" >&6 21235 fi 21236 21237 if test "$coin_has_blas" = yes ; then 21361 21238 if test -r $srcdir/ThirdParty/Blas/configure; then 21362 21239 coin_subdirs="$coin_subdirs ThirdParty/Blas" 21363 echo "$as_me:$LINENO: result: yes" >&521364 echo "${ECHO_T}yes" >&621365 21240 21366 21241 21367 21242 subdirs="$subdirs ThirdParty/Blas" 21368 21243 21369 else 21370 echo "$as_me:$LINENO: result: no" >&5 21371 echo "${ECHO_T}no" >&6 21372 fi 21373 else 21374 echo "$as_me:$LINENO: result: no" >&5 21375 echo "${ECHO_T}no" >&6 21376 fi 21377 21378 21379 echo "$as_me:$LINENO: checking whether project Lapack is available" >&5 21380 echo $ECHO_N "checking whether project Lapack is available... $ECHO_C" >&6 21244 fi 21245 fi 21246 21247 21248 echo "$as_me:$LINENO: checking whether source of project Lapack is available and should be compiled" >&5 21249 echo $ECHO_N "checking whether source of project Lapack is available and should be compiled... $ECHO_C" >&6 21381 21250 21382 21251 coin_has_lapack=notGiven 21383 coin_ have_project_dir=no21252 coin_reason= 21384 21253 21385 21254 # check if user wants to skip project in any case … … 21388 21257 for dir in $COIN_SKIP_PROJECTS; do 21389 21258 if test $dir = "Lapack"; then 21390 coin_has_lapack=skipping 21259 coin_has_lapack="no" 21260 coin_reason="Lapack has been specified in COIN_SKIP_PROJECTS" 21391 21261 fi 21262 21392 21263 if test $dir = "ThirdParty/Lapack"; then 21393 coin_has_lapack=skipping 21264 coin_has_lapack="no" 21265 coin_reason="ThirdParty/Lapack has been specified in COIN_SKIP_PROJECTS" 21394 21266 fi 21395 21267 done 21396 21268 fi 21397 21269 21398 if test $coin_has_lapack != skipping; then 21399 if test $PACKAGE_TARNAME = lapack; then 21400 coin_has_lapack=yes 21401 coin_have_project_dir=yes 21402 fi 21403 21270 if test "$coin_has_lapack" != no; then 21271 21272 # Check whether --with-m4_tolower(Lapack) or --without-m4_tolower(Lapack) was given. 21273 if test "${with_lapack+set}" = set; then 21274 withval="$with_lapack" 21275 if test "$withval" = no ; then 21276 coin_has_lapack="no" 21277 coin_reason="--without-lapack has been specified" 21278 fi 21279 21280 fi; 21281 fi 21282 21283 if test "$coin_has_lapack" != no; then 21404 21284 21405 21285 # Check whether --with-m4_tolower(Lapack)-lib or --without-m4_tolower(Lapack)-lib was given. 21406 21286 if test "${with_lapack_lib+set}" = set; then 21407 21287 withval="$with_lapack_lib" 21408 coin_has_lapack="yes, via --with-lapack-lib" 21288 if test "$withval" = no ; then 21289 coin_has_lapack="no" 21290 coin_reason="--without-lapack-lib has been specified" 21291 else 21292 coin_has_lapack="no" 21293 coin_reason="--with-lapack-lib has been specified" 21294 fi 21409 21295 fi; 21410 21296 fi 21297 21298 if test "$coin_has_lapack" != no; then 21411 21299 21412 21300 # Check whether --with-m4_tolower(Lapack)-incdir or --without-m4_tolower(Lapack)-incdir was given. 21413 21301 if test "${with_lapack_incdir+set}" = set; then 21414 21302 withval="$with_lapack_incdir" 21415 coin_has_lapack="yes, via --with-lapack-incdir" 21303 if test "$withval" = no ; then 21304 coin_has_lapack="no" 21305 coin_reason="--without-lapack-incdir has been specified" 21306 else 21307 coin_has_lapack="no" 21308 coin_reason="--with-lapack-incdir has been specified" 21309 fi 21416 21310 fi; 21417 21311 fi 21312 21313 if test "$coin_has_lapack" != no; then 21418 21314 21419 21315 # Check whether --with-m4_tolower(Lapack)-datadir or --without-m4_tolower(Lapack)-datadir was given. 21420 21316 if test "${with_lapack_datadir+set}" = set; then 21421 21317 withval="$with_lapack_datadir" 21422 coin_has_lapack="yes, via --with-lapack-datadir" 21318 if test "$withval" = no ; then 21319 coin_has_lapack="no" 21320 coin_reason="--without-lapack-datadir has been specified" 21321 else 21322 coin_has_lapack="no" 21323 coin_reason="--with-lapack-datadir has been specified" 21324 fi 21423 21325 fi; 21424 21425 21426 21427 21326 fi 21327 21328 21329 21330 21331 if test $coin_has_lapack != skipping; then 21428 21332 #--with-lapack can overwrite --with-lapack-lib, and can be set to BUILD to enforce building lapack 21429 21333 … … 21431 21335 if test "${with_lapack+set}" = set; then 21432 21336 withval="$with_lapack" 21433 if test x"$withval" = "xBUILD" ; then 21434 coin_has_lapack=notGiven 21435 else 21436 coin_has_lapack="yes, via --with-lapack" 21337 if test x"$withval" = "xno" ; then 21338 coin_has_lapack="no" 21339 coin_reason="--without-lapack has been specified" 21340 elif test x"$withval" != "xBUILD" ; then 21341 coin_has_lapack="no" 21342 coin_reason="--with-lapack has been specified" 21437 21343 fi 21438 21344 fi; 21439 21440 fi 21345 fi 21346 21441 21347 21442 21348 # check if project is available in present directory 21443 21349 if test "$coin_has_lapack" = notGiven; then 21350 coin_has_lapack=no 21444 21351 if test -d $srcdir/ThirdParty/Lapack; then 21352 coin_reason="source in ThirdParty/Lapack" 21445 21353 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21446 21354 # If none of the files in the third argument is available, then we consider the project directory as non-existing. … … 21448 21356 for i in $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; do 21449 21357 if test -r $i; then 21450 coin_have_project_dir=yes 21358 coin_has_lapack="yes" 21359 else 21360 coin_has_lapack="no" 21361 coin_reason="source file $i not available" 21362 break 21451 21363 fi 21452 21364 done 21453 21365 21454 if test $coin_have_project_dir = yes; then 21455 coin_has_lapack="yes, source in ThirdParty/Lapack" 21456 fi 21457 fi 21458 fi 21459 21460 # check for project by using pkg-config, if pkg-config is available 21461 if test "$coin_has_lapack" = notGiven; then 21462 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21463 if test -n "$PKG_CONFIG" ; then 21464 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21465 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21466 21467 if test -n "$PKG_CONFIG" ; then 21468 if $PKG_CONFIG --exists "coinlapack"; then 21469 COINLAPACK_VERSION=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null` 21470 coin_has_lapack="yes, found installed version $COINLAPACK_VERSION" 21471 else 21472 COINLAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"` 21473 21474 fi 21475 else 21476 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5 21477 echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;} 21478 { (exit 1); exit 1; }; } 21479 fi 21480 21481 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21482 export PKG_CONFIG_PATH 21483 fi 21484 fi 21485 21486 if test "$coin_has_lapack" = notGiven; then 21487 echo "$as_me:$LINENO: result: no (but will check for system lapack later)" >&5 21488 echo "${ECHO_T}no (but will check for system lapack later)" >&6 21489 else 21366 fi 21367 fi 21368 21369 if test -z "$coin_reason" ; then 21490 21370 echo "$as_me:$LINENO: result: $coin_has_lapack" >&5 21491 21371 echo "${ECHO_T}$coin_has_lapack" >&6 21492 fi 21493 21494 echo "$ as_me:$LINENO: checking whether project ThirdParty/Lapack needs to be configured" >&521495 echo $ECHO_N "checking whether project ThirdParty/Lapack needs to be configured... $ECHO_C" >&6 21496 if test "$coin_have_project_dir" = yes ; then 21497 21372 else 21373 echo "$as_me:$LINENO: result: $coin_has_lapack, $coin_reason" >&5 21374 echo "${ECHO_T}$coin_has_lapack, $coin_reason" >&6 21375 fi 21376 21377 if test "$coin_has_lapack" = yes ; then 21498 21378 if test -r $srcdir/ThirdParty/Lapack/configure; then 21499 21379 coin_subdirs="$coin_subdirs ThirdParty/Lapack" 21500 echo "$as_me:$LINENO: result: yes" >&521501 echo "${ECHO_T}yes" >&621502 21380 21503 21381 21504 21382 subdirs="$subdirs ThirdParty/Lapack" 21505 21383 21506 else 21507 echo "$as_me:$LINENO: result: no" >&5 21508 echo "${ECHO_T}no" >&6 21509 fi 21510 else 21511 echo "$as_me:$LINENO: result: no" >&5 21512 echo "${ECHO_T}no" >&6 21513 fi 21514 21515 21516 echo "$as_me:$LINENO: checking whether project Glpk is available" >&5 21517 echo $ECHO_N "checking whether project Glpk is available... $ECHO_C" >&6 21384 fi 21385 fi 21386 21387 21388 echo "$as_me:$LINENO: checking whether source of project Glpk is available and should be compiled" >&5 21389 echo $ECHO_N "checking whether source of project Glpk is available and should be compiled... $ECHO_C" >&6 21518 21390 21519 21391 coin_has_glpk=notGiven 21520 coin_ have_project_dir=no21392 coin_reason= 21521 21393 21522 21394 # check if user wants to skip project in any case … … 21525 21397 for dir in $COIN_SKIP_PROJECTS; do 21526 21398 if test $dir = "Glpk"; then 21527 coin_has_glpk=skipping 21399 coin_has_glpk="no" 21400 coin_reason="Glpk has been specified in COIN_SKIP_PROJECTS" 21528 21401 fi 21402 21529 21403 if test $dir = "ThirdParty/Glpk"; then 21530 coin_has_glpk=skipping 21404 coin_has_glpk="no" 21405 coin_reason="ThirdParty/Glpk has been specified in COIN_SKIP_PROJECTS" 21531 21406 fi 21532 21407 done 21533 21408 fi 21534 21409 21535 if test $coin_has_glpk != skipping; then 21536 if test $PACKAGE_TARNAME = glpk; then 21537 coin_has_glpk=yes 21538 coin_have_project_dir=yes 21539 fi 21540 21410 if test "$coin_has_glpk" != no; then 21411 21412 # Check whether --with-m4_tolower(Glpk) or --without-m4_tolower(Glpk) was given. 21413 if test "${with_glpk+set}" = set; then 21414 withval="$with_glpk" 21415 if test "$withval" = no ; then 21416 coin_has_glpk="no" 21417 coin_reason="--without-glpk has been specified" 21418 fi 21419 21420 fi; 21421 fi 21422 21423 if test "$coin_has_glpk" != no; then 21541 21424 21542 21425 # Check whether --with-m4_tolower(Glpk)-lib or --without-m4_tolower(Glpk)-lib was given. 21543 21426 if test "${with_glpk_lib+set}" = set; then 21544 21427 withval="$with_glpk_lib" 21545 coin_has_glpk="yes, via --with-glpk-lib" 21428 if test "$withval" = no ; then 21429 coin_has_glpk="no" 21430 coin_reason="--without-glpk-lib has been specified" 21431 else 21432 coin_has_glpk="no" 21433 coin_reason="--with-glpk-lib has been specified" 21434 fi 21546 21435 fi; 21547 21436 fi 21437 21438 if test "$coin_has_glpk" != no; then 21548 21439 21549 21440 # Check whether --with-m4_tolower(Glpk)-incdir or --without-m4_tolower(Glpk)-incdir was given. 21550 21441 if test "${with_glpk_incdir+set}" = set; then 21551 21442 withval="$with_glpk_incdir" 21552 coin_has_glpk="yes, via --with-glpk-incdir" 21443 if test "$withval" = no ; then 21444 coin_has_glpk="no" 21445 coin_reason="--without-glpk-incdir has been specified" 21446 else 21447 coin_has_glpk="no" 21448 coin_reason="--with-glpk-incdir has been specified" 21449 fi 21553 21450 fi; 21554 21451 fi 21452 21453 if test "$coin_has_glpk" != no; then 21555 21454 21556 21455 # Check whether --with-m4_tolower(Glpk)-datadir or --without-m4_tolower(Glpk)-datadir was given. 21557 21456 if test "${with_glpk_datadir+set}" = set; then 21558 21457 withval="$with_glpk_datadir" 21559 coin_has_glpk="yes, via --with-glpk-datadir" 21458 if test "$withval" = no ; then 21459 coin_has_glpk="no" 21460 coin_reason="--without-glpk-datadir has been specified" 21461 else 21462 coin_has_glpk="no" 21463 coin_reason="--with-glpk-datadir has been specified" 21464 fi 21560 21465 fi; 21561 21562 21563 21564 21565 21566 fi 21466 fi 21467 21468 21469 21470 21567 21471 21568 21472 # check if project is available in present directory 21569 21473 if test "$coin_has_glpk" = notGiven; then 21474 coin_has_glpk=no 21570 21475 if test -d $srcdir/ThirdParty/Glpk; then 21476 coin_reason="source in ThirdParty/Glpk" 21571 21477 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21572 21478 # If none of the files in the third argument is available, then we consider the project directory as non-existing. … … 21574 21480 for i in $srcdir/ThirdParty/Glpk/glpk/include/glpk.h; do 21575 21481 if test -r $i; then 21576 coin_have_project_dir=yes 21482 coin_has_glpk="yes" 21483 else 21484 coin_has_glpk="no" 21485 coin_reason="source file $i not available" 21486 break 21577 21487 fi 21578 21488 done 21579 21489 21580 if test $coin_have_project_dir = yes; then 21581 coin_has_glpk="yes, source in ThirdParty/Glpk" 21582 fi 21583 fi 21584 fi 21585 21586 # check for project by using pkg-config, if pkg-config is available 21587 if test "$coin_has_glpk" = notGiven; then 21588 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21589 if test -n "$PKG_CONFIG" ; then 21590 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21591 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21592 21593 if test -n "$PKG_CONFIG" ; then 21594 if $PKG_CONFIG --exists "coinglpk"; then 21595 COINGLPK_VERSION=`$PKG_CONFIG --modversion "coinglpk" 2>/dev/null` 21596 coin_has_glpk="yes, found installed version $COINGLPK_VERSION" 21597 else 21598 COINGLPK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinglpk"` 21599 21600 fi 21601 else 21602 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&5 21603 echo "$as_me: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&2;} 21604 { (exit 1); exit 1; }; } 21605 fi 21606 21607 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21608 export PKG_CONFIG_PATH 21609 fi 21610 fi 21611 21612 if test "$coin_has_glpk" = notGiven; then 21613 echo "$as_me:$LINENO: result: not given" >&5 21614 echo "${ECHO_T}not given" >&6 21615 21616 else 21490 fi 21491 fi 21492 21493 if test -z "$coin_reason" ; then 21617 21494 echo "$as_me:$LINENO: result: $coin_has_glpk" >&5 21618 21495 echo "${ECHO_T}$coin_has_glpk" >&6 21619 fi 21620 21621 echo "$ as_me:$LINENO: checking whether project ThirdParty/Glpk needs to be configured" >&521622 echo $ECHO_N "checking whether project ThirdParty/Glpk needs to be configured... $ECHO_C" >&6 21623 if test "$coin_have_project_dir" = yes ; then 21624 21496 else 21497 echo "$as_me:$LINENO: result: $coin_has_glpk, $coin_reason" >&5 21498 echo "${ECHO_T}$coin_has_glpk, $coin_reason" >&6 21499 fi 21500 21501 if test "$coin_has_glpk" = yes ; then 21625 21502 if test -r $srcdir/ThirdParty/Glpk/configure; then 21626 21503 coin_subdirs="$coin_subdirs ThirdParty/Glpk" 21627 echo "$as_me:$LINENO: result: yes" >&521628 echo "${ECHO_T}yes" >&621629 21504 21630 21505 21631 21506 subdirs="$subdirs ThirdParty/Glpk" 21632 21507 21633 else 21634 echo "$as_me:$LINENO: result: no" >&5 21635 echo "${ECHO_T}no" >&6 21636 fi 21637 else 21638 echo "$as_me:$LINENO: result: no" >&5 21639 echo "${ECHO_T}no" >&6 21640 fi 21641 21642 21643 echo "$as_me:$LINENO: checking whether project Sample is available" >&5 21644 echo $ECHO_N "checking whether project Sample is available... $ECHO_C" >&6 21508 fi 21509 fi 21510 21511 21512 echo "$as_me:$LINENO: checking whether source of project Metis is available and should be compiled" >&5 21513 echo $ECHO_N "checking whether source of project Metis is available and should be compiled... $ECHO_C" >&6 21514 21515 coin_has_metis=notGiven 21516 coin_reason= 21517 21518 # check if user wants to skip project in any case 21519 21520 if test x"$COIN_SKIP_PROJECTS" != x; then 21521 for dir in $COIN_SKIP_PROJECTS; do 21522 if test $dir = "Metis"; then 21523 coin_has_metis="no" 21524 coin_reason="Metis has been specified in COIN_SKIP_PROJECTS" 21525 fi 21526 21527 if test $dir = "ThirdParty/Metis"; then 21528 coin_has_metis="no" 21529 coin_reason="ThirdParty/Metis has been specified in COIN_SKIP_PROJECTS" 21530 fi 21531 done 21532 fi 21533 21534 if test "$coin_has_metis" != no; then 21535 21536 # Check whether --with-m4_tolower(Metis) or --without-m4_tolower(Metis) was given. 21537 if test "${with_metis+set}" = set; then 21538 withval="$with_metis" 21539 if test "$withval" = no ; then 21540 coin_has_metis="no" 21541 coin_reason="--without-metis has been specified" 21542 fi 21543 21544 fi; 21545 fi 21546 21547 if test "$coin_has_metis" != no; then 21548 21549 # Check whether --with-m4_tolower(Metis)-lib or --without-m4_tolower(Metis)-lib was given. 21550 if test "${with_metis_lib+set}" = set; then 21551 withval="$with_metis_lib" 21552 if test "$withval" = no ; then 21553 coin_has_metis="no" 21554 coin_reason="--without-metis-lib has been specified" 21555 else 21556 coin_has_metis="no" 21557 coin_reason="--with-metis-lib has been specified" 21558 fi 21559 fi; 21560 fi 21561 21562 if test "$coin_has_metis" != no; then 21563 21564 # Check whether --with-m4_tolower(Metis)-incdir or --without-m4_tolower(Metis)-incdir was given. 21565 if test "${with_metis_incdir+set}" = set; then 21566 withval="$with_metis_incdir" 21567 if test "$withval" = no ; then 21568 coin_has_metis="no" 21569 coin_reason="--without-metis-incdir has been specified" 21570 else 21571 coin_has_metis="no" 21572 coin_reason="--with-metis-incdir has been specified" 21573 fi 21574 fi; 21575 fi 21576 21577 if test "$coin_has_metis" != no; then 21578 21579 # Check whether --with-m4_tolower(Metis)-datadir or --without-m4_tolower(Metis)-datadir was given. 21580 if test "${with_metis_datadir+set}" = set; then 21581 withval="$with_metis_datadir" 21582 if test "$withval" = no ; then 21583 coin_has_metis="no" 21584 coin_reason="--without-metis-datadir has been specified" 21585 else 21586 coin_has_metis="no" 21587 coin_reason="--with-metis-datadir has been specified" 21588 fi 21589 fi; 21590 fi 21591 21592 21593 21594 21595 21596 # check if project is available in present directory 21597 if test "$coin_has_metis" = notGiven; then 21598 coin_has_metis=no 21599 if test -d $srcdir/ThirdParty/Metis; then 21600 coin_reason="source in ThirdParty/Metis" 21601 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21602 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21603 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21604 for i in $srcdir/ThirdParty/Metis/metis-4.0/Lib/balance.c; do 21605 if test -r $i; then 21606 coin_has_metis="yes" 21607 else 21608 coin_has_metis="no" 21609 coin_reason="source file $i not available" 21610 break 21611 fi 21612 done 21613 21614 fi 21615 fi 21616 21617 if test -z "$coin_reason" ; then 21618 echo "$as_me:$LINENO: result: $coin_has_metis" >&5 21619 echo "${ECHO_T}$coin_has_metis" >&6 21620 else 21621 echo "$as_me:$LINENO: result: $coin_has_metis, $coin_reason" >&5 21622 echo "${ECHO_T}$coin_has_metis, $coin_reason" >&6 21623 fi 21624 21625 if test "$coin_has_metis" = yes ; then 21626 if test -r $srcdir/ThirdParty/Metis/configure; then 21627 coin_subdirs="$coin_subdirs ThirdParty/Metis" 21628 21629 21630 subdirs="$subdirs ThirdParty/Metis" 21631 21632 fi 21633 fi 21634 21635 21636 echo "$as_me:$LINENO: checking whether source of project Mumps is available and should be compiled" >&5 21637 echo $ECHO_N "checking whether source of project Mumps is available and should be compiled... $ECHO_C" >&6 21638 21639 coin_has_mumps=notGiven 21640 coin_reason= 21641 21642 # check if user wants to skip project in any case 21643 21644 if test x"$COIN_SKIP_PROJECTS" != x; then 21645 for dir in $COIN_SKIP_PROJECTS; do 21646 if test $dir = "Mumps"; then 21647 coin_has_mumps="no" 21648 coin_reason="Mumps has been specified in COIN_SKIP_PROJECTS" 21649 fi 21650 21651 if test $dir = "ThirdParty/Mumps"; then 21652 coin_has_mumps="no" 21653 coin_reason="ThirdParty/Mumps has been specified in COIN_SKIP_PROJECTS" 21654 fi 21655 done 21656 fi 21657 21658 if test "$coin_has_mumps" != no; then 21659 21660 # Check whether --with-m4_tolower(Mumps) or --without-m4_tolower(Mumps) was given. 21661 if test "${with_mumps+set}" = set; then 21662 withval="$with_mumps" 21663 if test "$withval" = no ; then 21664 coin_has_mumps="no" 21665 coin_reason="--without-mumps has been specified" 21666 fi 21667 21668 fi; 21669 fi 21670 21671 if test "$coin_has_mumps" != no; then 21672 21673 # Check whether --with-m4_tolower(Mumps)-lib or --without-m4_tolower(Mumps)-lib was given. 21674 if test "${with_mumps_lib+set}" = set; then 21675 withval="$with_mumps_lib" 21676 if test "$withval" = no ; then 21677 coin_has_mumps="no" 21678 coin_reason="--without-mumps-lib has been specified" 21679 else 21680 coin_has_mumps="no" 21681 coin_reason="--with-mumps-lib has been specified" 21682 fi 21683 fi; 21684 fi 21685 21686 if test "$coin_has_mumps" != no; then 21687 21688 # Check whether --with-m4_tolower(Mumps)-incdir or --without-m4_tolower(Mumps)-incdir was given. 21689 if test "${with_mumps_incdir+set}" = set; then 21690 withval="$with_mumps_incdir" 21691 if test "$withval" = no ; then 21692 coin_has_mumps="no" 21693 coin_reason="--without-mumps-incdir has been specified" 21694 else 21695 coin_has_mumps="no" 21696 coin_reason="--with-mumps-incdir has been specified" 21697 fi 21698 fi; 21699 fi 21700 21701 if test "$coin_has_mumps" != no; then 21702 21703 # Check whether --with-m4_tolower(Mumps)-datadir or --without-m4_tolower(Mumps)-datadir was given. 21704 if test "${with_mumps_datadir+set}" = set; then 21705 withval="$with_mumps_datadir" 21706 if test "$withval" = no ; then 21707 coin_has_mumps="no" 21708 coin_reason="--without-mumps-datadir has been specified" 21709 else 21710 coin_has_mumps="no" 21711 coin_reason="--with-mumps-datadir has been specified" 21712 fi 21713 fi; 21714 fi 21715 21716 21717 21718 21719 21720 # check if project is available in present directory 21721 if test "$coin_has_mumps" = notGiven; then 21722 coin_has_mumps=no 21723 if test -d $srcdir/ThirdParty/Mumps; then 21724 coin_reason="source in ThirdParty/Mumps" 21725 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21726 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21727 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21728 for i in $srcdir/ThirdParty/Mumps/MUMPS/src/dmumps_part1.F; do 21729 if test -r $i; then 21730 coin_has_mumps="yes" 21731 else 21732 coin_has_mumps="no" 21733 coin_reason="source file $i not available" 21734 break 21735 fi 21736 done 21737 21738 fi 21739 fi 21740 21741 if test -z "$coin_reason" ; then 21742 echo "$as_me:$LINENO: result: $coin_has_mumps" >&5 21743 echo "${ECHO_T}$coin_has_mumps" >&6 21744 else 21745 echo "$as_me:$LINENO: result: $coin_has_mumps, $coin_reason" >&5 21746 echo "${ECHO_T}$coin_has_mumps, $coin_reason" >&6 21747 fi 21748 21749 if test "$coin_has_mumps" = yes ; then 21750 if test -r $srcdir/ThirdParty/Mumps/configure; then 21751 coin_subdirs="$coin_subdirs ThirdParty/Mumps" 21752 21753 21754 subdirs="$subdirs ThirdParty/Mumps" 21755 21756 fi 21757 fi 21758 21759 21760 echo "$as_me:$LINENO: checking whether source of project Sample is available and should be compiled" >&5 21761 echo $ECHO_N "checking whether source of project Sample is available and should be compiled... $ECHO_C" >&6 21645 21762 21646 21763 coin_has_sample=notGiven 21647 coin_ have_project_dir=no21764 coin_reason= 21648 21765 21649 21766 # check if user wants to skip project in any case … … 21652 21769 for dir in $COIN_SKIP_PROJECTS; do 21653 21770 if test $dir = "Sample"; then 21654 coin_has_sample=skipping 21771 coin_has_sample="no" 21772 coin_reason="Sample has been specified in COIN_SKIP_PROJECTS" 21655 21773 fi 21774 21656 21775 if test $dir = "Data/Sample"; then 21657 coin_has_sample=skipping 21776 coin_has_sample="no" 21777 coin_reason="Data/Sample has been specified in COIN_SKIP_PROJECTS" 21658 21778 fi 21659 21779 done 21660 21780 fi 21661 21781 21662 if test $coin_has_sample != skipping; then 21663 if test $PACKAGE_TARNAME = sample; then 21664 coin_has_sample=yes 21665 coin_have_project_dir=yes 21666 fi 21667 21782 if test "$coin_has_sample" != no; then 21783 21784 # Check whether --with-m4_tolower(Sample) or --without-m4_tolower(Sample) was given. 21785 if test "${with_sample+set}" = set; then 21786 withval="$with_sample" 21787 if test "$withval" = no ; then 21788 coin_has_sample="no" 21789 coin_reason="--without-sample has been specified" 21790 fi 21791 21792 fi; 21793 fi 21794 21795 if test "$coin_has_sample" != no; then 21668 21796 21669 21797 # Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given. 21670 21798 if test "${with_sample_lib+set}" = set; then 21671 21799 withval="$with_sample_lib" 21672 coin_has_sample="yes, via --with-sample-lib" 21800 if test "$withval" = no ; then 21801 coin_has_sample="no" 21802 coin_reason="--without-sample-lib has been specified" 21803 else 21804 coin_has_sample="no" 21805 coin_reason="--with-sample-lib has been specified" 21806 fi 21673 21807 fi; 21674 21808 fi 21809 21810 if test "$coin_has_sample" != no; then 21675 21811 21676 21812 # Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given. 21677 21813 if test "${with_sample_incdir+set}" = set; then 21678 21814 withval="$with_sample_incdir" 21679 coin_has_sample="yes, via --with-sample-incdir" 21815 if test "$withval" = no ; then 21816 coin_has_sample="no" 21817 coin_reason="--without-sample-incdir has been specified" 21818 else 21819 coin_has_sample="no" 21820 coin_reason="--with-sample-incdir has been specified" 21821 fi 21680 21822 fi; 21681 21823 fi 21824 21825 if test "$coin_has_sample" != no; then 21682 21826 21683 21827 # Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given. 21684 21828 if test "${with_sample_datadir+set}" = set; then 21685 21829 withval="$with_sample_datadir" 21686 coin_has_sample="yes, via --with-sample-datadir" 21830 if test "$withval" = no ; then 21831 coin_has_sample="no" 21832 coin_reason="--without-sample-datadir has been specified" 21833 else 21834 coin_has_sample="no" 21835 coin_reason="--with-sample-datadir has been specified" 21836 fi 21687 21837 fi; 21688 21689 21690 21691 21692 21693 fi 21838 fi 21839 21840 21841 21842 21694 21843 21695 21844 # check if project is available in present directory 21696 21845 if test "$coin_has_sample" = notGiven; then 21846 coin_has_sample=no 21697 21847 if test -d $srcdir/Data/Sample; then 21848 coin_reason="source in Data/Sample" 21698 21849 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21699 21850 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21700 21851 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21701 coin_have_project_dir=yes 21702 21703 if test $coin_have_project_dir = yes; then 21704 coin_has_sample="yes, source in Data/Sample" 21705 fi 21706 fi 21707 fi 21708 21709 # check for project by using pkg-config, if pkg-config is available 21710 if test "$coin_has_sample" = notGiven; then 21711 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21712 if test -n "$PKG_CONFIG" ; then 21713 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21714 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21715 21716 if test -n "$PKG_CONFIG" ; then 21717 if $PKG_CONFIG --exists "coindatasample"; then 21718 COINDATASAMPLE_VERSION=`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null` 21719 coin_has_sample="yes, found installed version $COINDATASAMPLE_VERSION" 21720 else 21721 COINDATASAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatasample"` 21722 21723 fi 21724 else 21725 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&5 21726 echo "$as_me: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&2;} 21727 { (exit 1); exit 1; }; } 21728 fi 21729 21730 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21731 export PKG_CONFIG_PATH 21732 fi 21733 fi 21734 21735 if test "$coin_has_sample" = notGiven; then 21736 echo "$as_me:$LINENO: result: not given" >&5 21737 echo "${ECHO_T}not given" >&6 21738 21739 else 21852 coin_has_sample="yes" 21853 21854 fi 21855 fi 21856 21857 if test -z "$coin_reason" ; then 21740 21858 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 21741 21859 echo "${ECHO_T}$coin_has_sample" >&6 21742 fi 21743 21744 echo "$ as_me:$LINENO: checking whether project Data/Sample needs to be configured" >&521745 echo $ECHO_N "checking whether project Data/Sample needs to be configured... $ECHO_C" >&6 21746 if test "$coin_have_project_dir" = yes ; then 21747 21860 else 21861 echo "$as_me:$LINENO: result: $coin_has_sample, $coin_reason" >&5 21862 echo "${ECHO_T}$coin_has_sample, $coin_reason" >&6 21863 fi 21864 21865 if test "$coin_has_sample" = yes ; then 21748 21866 if test -r $srcdir/Data/Sample/configure; then 21749 21867 coin_subdirs="$coin_subdirs Data/Sample" 21750 echo "$as_me:$LINENO: result: yes" >&521751 echo "${ECHO_T}yes" >&621752 21868 21753 21869 21754 21870 subdirs="$subdirs Data/Sample" 21755 21871 21756 else 21757 echo "$as_me:$LINENO: result: no" >&5 21758 echo "${ECHO_T}no" >&6 21759 fi 21760 else 21761 echo "$as_me:$LINENO: result: no" >&5 21762 echo "${ECHO_T}no" >&6 21763 fi 21764 21765 21766 echo "$as_me:$LINENO: checking whether project Netlib is available" >&5 21767 echo $ECHO_N "checking whether project Netlib is available... $ECHO_C" >&6 21872 fi 21873 fi 21874 21875 21876 echo "$as_me:$LINENO: checking whether source of project Netlib is available and should be compiled" >&5 21877 echo $ECHO_N "checking whether source of project Netlib is available and should be compiled... $ECHO_C" >&6 21768 21878 21769 21879 coin_has_netlib=notGiven 21770 coin_ have_project_dir=no21880 coin_reason= 21771 21881 21772 21882 # check if user wants to skip project in any case … … 21775 21885 for dir in $COIN_SKIP_PROJECTS; do 21776 21886 if test $dir = "Netlib"; then 21777 coin_has_netlib=skipping 21887 coin_has_netlib="no" 21888 coin_reason="Netlib has been specified in COIN_SKIP_PROJECTS" 21778 21889 fi 21890 21779 21891 if test $dir = "Data/Netlib"; then 21780 coin_has_netlib=skipping 21892 coin_has_netlib="no" 21893 coin_reason="Data/Netlib has been specified in COIN_SKIP_PROJECTS" 21781 21894 fi 21782 21895 done 21783 21896 fi 21784 21897 21785 if test $coin_has_netlib != skipping; then 21786 if test $PACKAGE_TARNAME = netlib; then 21787 coin_has_netlib=yes 21788 coin_have_project_dir=yes 21789 fi 21790 21898 if test "$coin_has_netlib" != no; then 21899 21900 # Check whether --with-m4_tolower(Netlib) or --without-m4_tolower(Netlib) was given. 21901 if test "${with_netlib+set}" = set; then 21902 withval="$with_netlib" 21903 if test "$withval" = no ; then 21904 coin_has_netlib="no" 21905 coin_reason="--without-netlib has been specified" 21906 fi 21907 21908 fi; 21909 fi 21910 21911 if test "$coin_has_netlib" != no; then 21791 21912 21792 21913 # Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given. 21793 21914 if test "${with_netlib_lib+set}" = set; then 21794 21915 withval="$with_netlib_lib" 21795 coin_has_netlib="yes, via --with-netlib-lib" 21916 if test "$withval" = no ; then 21917 coin_has_netlib="no" 21918 coin_reason="--without-netlib-lib has been specified" 21919 else 21920 coin_has_netlib="no" 21921 coin_reason="--with-netlib-lib has been specified" 21922 fi 21796 21923 fi; 21797 21924 fi 21925 21926 if test "$coin_has_netlib" != no; then 21798 21927 21799 21928 # Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given. 21800 21929 if test "${with_netlib_incdir+set}" = set; then 21801 21930 withval="$with_netlib_incdir" 21802 coin_has_netlib="yes, via --with-netlib-incdir" 21931 if test "$withval" = no ; then 21932 coin_has_netlib="no" 21933 coin_reason="--without-netlib-incdir has been specified" 21934 else 21935 coin_has_netlib="no" 21936 coin_reason="--with-netlib-incdir has been specified" 21937 fi 21803 21938 fi; 21804 21939 fi 21940 21941 if test "$coin_has_netlib" != no; then 21805 21942 21806 21943 # Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given. 21807 21944 if test "${with_netlib_datadir+set}" = set; then 21808 21945 withval="$with_netlib_datadir" 21809 coin_has_netlib="yes, via --with-netlib-datadir" 21946 if test "$withval" = no ; then 21947 coin_has_netlib="no" 21948 coin_reason="--without-netlib-datadir has been specified" 21949 else 21950 coin_has_netlib="no" 21951 coin_reason="--with-netlib-datadir has been specified" 21952 fi 21810 21953 fi; 21811 21812 21813 21814 21815 21816 fi 21954 fi 21955 21956 21957 21958 21817 21959 21818 21960 # check if project is available in present directory 21819 21961 if test "$coin_has_netlib" = notGiven; then 21962 coin_has_netlib=no 21820 21963 if test -d $srcdir/Data/Netlib; then 21964 coin_reason="source in Data/Netlib" 21821 21965 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21822 21966 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21823 21967 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21824 coin_have_project_dir=yes 21825 21826 if test $coin_have_project_dir = yes; then 21827 coin_has_netlib="yes, source in Data/Netlib" 21828 fi 21829 fi 21830 fi 21831 21832 # check for project by using pkg-config, if pkg-config is available 21833 if test "$coin_has_netlib" = notGiven; then 21834 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21835 if test -n "$PKG_CONFIG" ; then 21836 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21837 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21838 21839 if test -n "$PKG_CONFIG" ; then 21840 if $PKG_CONFIG --exists "coindatanetlib"; then 21841 COINDATANETLIB_VERSION=`$PKG_CONFIG --modversion "coindatanetlib" 2>/dev/null` 21842 coin_has_netlib="yes, found installed version $COINDATANETLIB_VERSION" 21843 else 21844 COINDATANETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatanetlib"` 21845 21846 fi 21847 else 21848 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&5 21849 echo "$as_me: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&2;} 21850 { (exit 1); exit 1; }; } 21851 fi 21852 21853 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21854 export PKG_CONFIG_PATH 21855 fi 21856 fi 21857 21858 if test "$coin_has_netlib" = notGiven; then 21859 echo "$as_me:$LINENO: result: not given" >&5 21860 echo "${ECHO_T}not given" >&6 21861 21862 else 21968 coin_has_netlib="yes" 21969 21970 fi 21971 fi 21972 21973 if test -z "$coin_reason" ; then 21863 21974 echo "$as_me:$LINENO: result: $coin_has_netlib" >&5 21864 21975 echo "${ECHO_T}$coin_has_netlib" >&6 21865 fi 21866 21867 echo "$ as_me:$LINENO: checking whether project Data/Netlib needs to be configured" >&521868 echo $ECHO_N "checking whether project Data/Netlib needs to be configured... $ECHO_C" >&6 21869 if test "$coin_have_project_dir" = yes ; then 21870 21976 else 21977 echo "$as_me:$LINENO: result: $coin_has_netlib, $coin_reason" >&5 21978 echo "${ECHO_T}$coin_has_netlib, $coin_reason" >&6 21979 fi 21980 21981 if test "$coin_has_netlib" = yes ; then 21871 21982 if test -r $srcdir/Data/Netlib/configure; then 21872 21983 coin_subdirs="$coin_subdirs Data/Netlib" 21873 echo "$as_me:$LINENO: result: yes" >&521874 echo "${ECHO_T}yes" >&621875 21984 21876 21985 21877 21986 subdirs="$subdirs Data/Netlib" 21878 21987 21879 else 21880 echo "$as_me:$LINENO: result: no" >&5 21881 echo "${ECHO_T}no" >&6 21882 fi 21883 else 21884 echo "$as_me:$LINENO: result: no" >&5 21885 echo "${ECHO_T}no" >&6 21886 fi 21887 21888 21889 echo "$as_me:$LINENO: checking whether project miplib3 is available" >&5 21890 echo $ECHO_N "checking whether project miplib3 is available... $ECHO_C" >&6 21988 fi 21989 fi 21990 21991 21992 echo "$as_me:$LINENO: checking whether source of project miplib3 is available and should be compiled" >&5 21993 echo $ECHO_N "checking whether source of project miplib3 is available and should be compiled... $ECHO_C" >&6 21891 21994 21892 21995 coin_has_miplib3=notGiven 21893 coin_ have_project_dir=no21996 coin_reason= 21894 21997 21895 21998 # check if user wants to skip project in any case … … 21898 22001 for dir in $COIN_SKIP_PROJECTS; do 21899 22002 if test $dir = "miplib3"; then 21900 coin_has_miplib3=skipping 22003 coin_has_miplib3="no" 22004 coin_reason="miplib3 has been specified in COIN_SKIP_PROJECTS" 21901 22005 fi 22006 21902 22007 if test $dir = "Data/miplib3"; then 21903 coin_has_miplib3=skipping 22008 coin_has_miplib3="no" 22009 coin_reason="Data/miplib3 has been specified in COIN_SKIP_PROJECTS" 21904 22010 fi 21905 22011 done 21906 22012 fi 21907 22013 21908 if test $coin_has_miplib3 != skipping; then 21909 if test $PACKAGE_TARNAME = miplib3; then 21910 coin_has_miplib3=yes 21911 coin_have_project_dir=yes 21912 fi 21913 22014 if test "$coin_has_miplib3" != no; then 22015 22016 # Check whether --with-m4_tolower(miplib3) or --without-m4_tolower(miplib3) was given. 22017 if test "${with_miplib3+set}" = set; then 22018 withval="$with_miplib3" 22019 if test "$withval" = no ; then 22020 coin_has_miplib3="no" 22021 coin_reason="--without-miplib3 has been specified" 22022 fi 22023 22024 fi; 22025 fi 22026 22027 if test "$coin_has_miplib3" != no; then 21914 22028 21915 22029 # Check whether --with-m4_tolower(miplib3)-lib or --without-m4_tolower(miplib3)-lib was given. 21916 22030 if test "${with_miplib3_lib+set}" = set; then 21917 22031 withval="$with_miplib3_lib" 21918 coin_has_miplib3="yes, via --with-miplib3-lib" 22032 if test "$withval" = no ; then 22033 coin_has_miplib3="no" 22034 coin_reason="--without-miplib3-lib has been specified" 22035 else 22036 coin_has_miplib3="no" 22037 coin_reason="--with-miplib3-lib has been specified" 22038 fi 21919 22039 fi; 21920 22040 fi 22041 22042 if test "$coin_has_miplib3" != no; then 21921 22043 21922 22044 # Check whether --with-m4_tolower(miplib3)-incdir or --without-m4_tolower(miplib3)-incdir was given. 21923 22045 if test "${with_miplib3_incdir+set}" = set; then 21924 22046 withval="$with_miplib3_incdir" 21925 coin_has_miplib3="yes, via --with-miplib3-incdir" 22047 if test "$withval" = no ; then 22048 coin_has_miplib3="no" 22049 coin_reason="--without-miplib3-incdir has been specified" 22050 else 22051 coin_has_miplib3="no" 22052 coin_reason="--with-miplib3-incdir has been specified" 22053 fi 21926 22054 fi; 21927 22055 fi 22056 22057 if test "$coin_has_miplib3" != no; then 21928 22058 21929 22059 # Check whether --with-m4_tolower(miplib3)-datadir or --without-m4_tolower(miplib3)-datadir was given. 21930 22060 if test "${with_miplib3_datadir+set}" = set; then 21931 22061 withval="$with_miplib3_datadir" 21932 coin_has_miplib3="yes, via --with-miplib3-datadir" 22062 if test "$withval" = no ; then 22063 coin_has_miplib3="no" 22064 coin_reason="--without-miplib3-datadir has been specified" 22065 else 22066 coin_has_miplib3="no" 22067 coin_reason="--with-miplib3-datadir has been specified" 22068 fi 21933 22069 fi; 21934 21935 21936 21937 21938 21939 fi 22070 fi 22071 22072 22073 22074 21940 22075 21941 22076 # check if project is available in present directory 21942 22077 if test "$coin_has_miplib3" = notGiven; then 22078 coin_has_miplib3=no 21943 22079 if test -d $srcdir/Data/miplib3; then 22080 coin_reason="source in Data/miplib3" 21944 22081 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21945 22082 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21946 22083 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21947 coin_have_project_dir=yes 21948 21949 if test $coin_have_project_dir = yes; then 21950 coin_has_miplib3="yes, source in Data/miplib3" 21951 fi 21952 fi 21953 fi 21954 21955 # check for project by using pkg-config, if pkg-config is available 21956 if test "$coin_has_miplib3" = notGiven; then 21957 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21958 if test -n "$PKG_CONFIG" ; then 21959 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21960 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21961 21962 if test -n "$PKG_CONFIG" ; then 21963 if $PKG_CONFIG --exists "coindatamiplib3"; then 21964 COINDATAMIPLIB3_VERSION=`$PKG_CONFIG --modversion "coindatamiplib3" 2>/dev/null` 21965 coin_has_miplib3="yes, found installed version $COINDATAMIPLIB3_VERSION" 21966 else 21967 COINDATAMIPLIB3_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatamiplib3"` 21968 21969 fi 21970 else 21971 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatamiplib3 without pkg-config\"" >&5 21972 echo "$as_me: error: \"Cannot check for existance of module coindatamiplib3 without pkg-config\"" >&2;} 21973 { (exit 1); exit 1; }; } 21974 fi 21975 21976 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21977 export PKG_CONFIG_PATH 21978 fi 21979 fi 21980 21981 if test "$coin_has_miplib3" = notGiven; then 21982 echo "$as_me:$LINENO: result: not given" >&5 21983 echo "${ECHO_T}not given" >&6 21984 21985 else 22084 coin_has_miplib3="yes" 22085 22086 fi 22087 fi 22088 22089 if test -z "$coin_reason" ; then 21986 22090 echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5 21987 22091 echo "${ECHO_T}$coin_has_miplib3" >&6 21988 fi 21989 21990 echo "$ as_me:$LINENO: checking whether project Data/miplib3 needs to be configured" >&521991 echo $ECHO_N "checking whether project Data/miplib3 needs to be configured... $ECHO_C" >&6 21992 if test "$coin_have_project_dir" = yes ; then 21993 22092 else 22093 echo "$as_me:$LINENO: result: $coin_has_miplib3, $coin_reason" >&5 22094 echo "${ECHO_T}$coin_has_miplib3, $coin_reason" >&6 22095 fi 22096 22097 if test "$coin_has_miplib3" = yes ; then 21994 22098 if test -r $srcdir/Data/miplib3/configure; then 21995 22099 coin_subdirs="$coin_subdirs Data/miplib3" 21996 echo "$as_me:$LINENO: result: yes" >&521997 echo "${ECHO_T}yes" >&621998 22100 21999 22101 22000 22102 subdirs="$subdirs Data/miplib3" 22001 22103 22002 else 22003 echo "$as_me:$LINENO: result: no" >&5 22004 echo "${ECHO_T}no" >&6 22005 fi 22006 else 22007 echo "$as_me:$LINENO: result: no" >&5 22008 echo "${ECHO_T}no" >&6 22009 fi 22010 22011 22012 echo "$as_me:$LINENO: checking whether project CoinUtils is available" >&5 22013 echo $ECHO_N "checking whether project CoinUtils is available... $ECHO_C" >&6 22104 fi 22105 fi 22106 22107 22108 echo "$as_me:$LINENO: checking whether source of project CoinUtils is available and should be compiled" >&5 22109 echo $ECHO_N "checking whether source of project CoinUtils is available and should be compiled... $ECHO_C" >&6 22014 22110 22015 22111 coin_has_coinutils=notGiven 22016 coin_ have_project_dir=no22112 coin_reason= 22017 22113 22018 22114 # check if user wants to skip project in any case … … 22021 22117 for dir in $COIN_SKIP_PROJECTS; do 22022 22118 if test $dir = "CoinUtils"; then 22023 coin_has_coinutils=skipping 22119 coin_has_coinutils="no" 22120 coin_reason="CoinUtils has been specified in COIN_SKIP_PROJECTS" 22024 22121 fi 22025 if test $dir = "/CoinUtils"; then 22026 coin_has_coinutils=skipping 22027 fi 22122 22028 22123 done 22029 22124 fi 22030 22125 22031 if test $coin_has_coinutils != skipping; then 22032 if test $PACKAGE_TARNAME = coinutils; then 22033 coin_has_coinutils=yes 22034 coin_have_project_dir=yes 22035 fi 22036 22126 if test "$coin_has_coinutils" != no; then 22127 22128 # Check whether --with-m4_tolower(CoinUtils) or --without-m4_tolower(CoinUtils) was given. 22129 if test "${with_coinutils+set}" = set; then 22130 withval="$with_coinutils" 22131 if test "$withval" = no ; then 22132 coin_has_coinutils="no" 22133 coin_reason="--without-coinutils has been specified" 22134 fi 22135 22136 fi; 22137 fi 22138 22139 if test "$coin_has_coinutils" != no; then 22037 22140 22038 22141 # Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given. 22039 22142 if test "${with_coinutils_lib+set}" = set; then 22040 22143 withval="$with_coinutils_lib" 22041 coin_has_coinutils="yes, via --with-coinutils-lib" 22144 if test "$withval" = no ; then 22145 coin_has_coinutils="no" 22146 coin_reason="--without-coinutils-lib has been specified" 22147 else 22148 coin_has_coinutils="no" 22149 coin_reason="--with-coinutils-lib has been specified" 22150 fi 22042 22151 fi; 22043 22152 fi 22153 22154 if test "$coin_has_coinutils" != no; then 22044 22155 22045 22156 # Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given. 22046 22157 if test "${with_coinutils_incdir+set}" = set; then 22047 22158 withval="$with_coinutils_incdir" 22048 coin_has_coinutils="yes, via --with-coinutils-incdir" 22159 if test "$withval" = no ; then 22160 coin_has_coinutils="no" 22161 coin_reason="--without-coinutils-incdir has been specified" 22162 else 22163 coin_has_coinutils="no" 22164 coin_reason="--with-coinutils-incdir has been specified" 22165 fi 22049 22166 fi; 22050 22167 fi 22168 22169 if test "$coin_has_coinutils" != no; then 22051 22170 22052 22171 # Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given. 22053 22172 if test "${with_coinutils_datadir+set}" = set; then 22054 22173 withval="$with_coinutils_datadir" 22055 coin_has_coinutils="yes, via --with-coinutils-datadir" 22174 if test "$withval" = no ; then 22175 coin_has_coinutils="no" 22176 coin_reason="--without-coinutils-datadir has been specified" 22177 else 22178 coin_has_coinutils="no" 22179 coin_reason="--with-coinutils-datadir has been specified" 22180 fi 22056 22181 fi; 22057 22058 22059 22060 22061 22062 fi 22182 fi 22183 22184 22185 22186 22063 22187 22064 22188 # check if project is available in present directory 22065 22189 if test "$coin_has_coinutils" = notGiven; then 22066 if test -d $srcdir//CoinUtils; then 22190 coin_has_coinutils=no 22191 if test -d $srcdir/CoinUtils; then 22192 coin_reason="source in CoinUtils" 22067 22193 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 22068 22194 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 22069 22195 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 22070 coin_have_project_dir=yes 22071 22072 if test $coin_have_project_dir = yes; then 22073 coin_has_coinutils="yes, source in CoinUtils" 22074 fi 22075 fi 22076 fi 22077 22078 # check for project by using pkg-config, if pkg-config is available 22079 if test "$coin_has_coinutils" = notGiven; then 22080 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 22081 if test -n "$PKG_CONFIG" ; then 22082 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22083 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 22084 22085 if test -n "$PKG_CONFIG" ; then 22086 if $PKG_CONFIG --exists "coinutils"; then 22087 COINUTILS_VERSION=`$PKG_CONFIG --modversion "coinutils" 2>/dev/null` 22088 coin_has_coinutils="yes, found installed version $COINUTILS_VERSION" 22089 else 22090 COINUTILS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinutils"` 22091 22092 fi 22093 else 22094 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&5 22095 echo "$as_me: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&2;} 22096 { (exit 1); exit 1; }; } 22097 fi 22098 22099 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22100 export PKG_CONFIG_PATH 22101 fi 22102 fi 22103 22104 if test "$coin_has_coinutils" = notGiven; then 22105 echo "$as_me:$LINENO: result: not given" >&5 22106 echo "${ECHO_T}not given" >&6 22107 22108 else 22196 coin_has_coinutils="yes" 22197 22198 fi 22199 fi 22200 22201 if test -z "$coin_reason" ; then 22109 22202 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5 22110 22203 echo "${ECHO_T}$coin_has_coinutils" >&6 22111 fi 22112 22113 echo "$ as_me:$LINENO: checking whether project CoinUtils needs to be configured" >&522114 echo $ECHO_N "checking whether project CoinUtils needs to be configured... $ECHO_C" >&6 22115 if test "$coin_have_project_dir" = yes ; then 22116 22204 else 22205 echo "$as_me:$LINENO: result: $coin_has_coinutils, $coin_reason" >&5 22206 echo "${ECHO_T}$coin_has_coinutils, $coin_reason" >&6 22207 fi 22208 22209 if test "$coin_has_coinutils" = yes ; then 22117 22210 if test -r $srcdir/CoinUtils/configure; then 22118 22211 coin_subdirs="$coin_subdirs CoinUtils" 22119 echo "$as_me:$LINENO: result: yes" >&522120 echo "${ECHO_T}yes" >&622121 22212 22122 22213 22123 22214 subdirs="$subdirs CoinUtils" 22124 22215 22125 else 22126 echo "$as_me:$LINENO: result: no" >&5 22127 echo "${ECHO_T}no" >&6 22128 fi 22129 else 22130 echo "$as_me:$LINENO: result: no" >&5 22131 echo "${ECHO_T}no" >&6 22132 fi 22133 22134 22135 echo "$as_me:$LINENO: checking whether project Osi is available" >&5 22136 echo $ECHO_N "checking whether project Osi is available... $ECHO_C" >&6 22216 fi 22217 fi 22218 22219 22220 echo "$as_me:$LINENO: checking whether source of project Osi is available and should be compiled" >&5 22221 echo $ECHO_N "checking whether source of project Osi is available and should be compiled... $ECHO_C" >&6 22137 22222 22138 22223 coin_has_osi=notGiven 22139 coin_ have_project_dir=no22224 coin_reason= 22140 22225 22141 22226 # check if user wants to skip project in any case … … 22144 22229 for dir in $COIN_SKIP_PROJECTS; do 22145 22230 if test $dir = "Osi"; then 22146 coin_has_osi=skipping 22231 coin_has_osi="no" 22232 coin_reason="Osi has been specified in COIN_SKIP_PROJECTS" 22147 22233 fi 22148 if test $dir = "/Osi"; then 22149 coin_has_osi=skipping 22150 fi 22234 22151 22235 done 22152 22236 fi 22153 22237 22154 if test $coin_has_osi != skipping; then 22155 if test $PACKAGE_TARNAME = osi; then 22156 coin_has_osi=yes 22157 coin_have_project_dir=yes 22158 fi 22159 22238 if test "$coin_has_osi" != no; then 22239 22240 # Check whether --with-m4_tolower(Osi) or --without-m4_tolower(Osi) was given. 22241 if test "${with_osi+set}" = set; then 22242 withval="$with_osi" 22243 if test "$withval" = no ; then 22244 coin_has_osi="no" 22245 coin_reason="--without-osi has been specified" 22246 fi 22247 22248 fi; 22249 fi 22250 22251 if test "$coin_has_osi" != no; then 22160 22252 22161 22253 # Check whether --with-m4_tolower(Osi)-lib or --without-m4_tolower(Osi)-lib was given. 22162 22254 if test "${with_osi_lib+set}" = set; then 22163 22255 withval="$with_osi_lib" 22164 coin_has_osi="yes, via --with-osi-lib" 22256 if test "$withval" = no ; then 22257 coin_has_osi="no" 22258 coin_reason="--without-osi-lib has been specified" 22259 else 22260 coin_has_osi="no" 22261 coin_reason="--with-osi-lib has been specified" 22262 fi 22165 22263 fi; 22166 22264 fi 22265 22266 if test "$coin_has_osi" != no; then 22167 22267 22168 22268 # Check whether --with-m4_tolower(Osi)-incdir or --without-m4_tolower(Osi)-incdir was given. 22169 22269 if test "${with_osi_incdir+set}" = set; then 22170 22270 withval="$with_osi_incdir" 22171 coin_has_osi="yes, via --with-osi-incdir" 22271 if test "$withval" = no ; then 22272 coin_has_osi="no" 22273 coin_reason="--without-osi-incdir has been specified" 22274 else 22275 coin_has_osi="no" 22276 coin_reason="--with-osi-incdir has been specified" 22277 fi 22172 22278 fi; 22173 22279 fi 22280 22281 if test "$coin_has_osi" != no; then 22174 22282 22175 22283 # Check whether --with-m4_tolower(Osi)-datadir or --without-m4_tolower(Osi)-datadir was given. 22176 22284 if test "${with_osi_datadir+set}" = set; then 22177 22285 withval="$with_osi_datadir" 22178 coin_has_osi="yes, via --with-osi-datadir" 22286 if test "$withval" = no ; then 22287 coin_has_osi="no" 22288 coin_reason="--without-osi-datadir has been specified" 22289 else 22290 coin_has_osi="no" 22291 coin_reason="--with-osi-datadir has been specified" 22292 fi 22179 22293 fi; 22180 22181 22182 22183 22184 22185 fi 22294 fi 22295 22296 22297 22298 22186 22299 22187 22300 # check if project is available in present directory 22188 22301 if test "$coin_has_osi" = notGiven; then 22189 if test -d $srcdir//Osi; then 22302 coin_has_osi=no 22303 if test -d $srcdir/Osi; then 22304 coin_reason="source in Osi" 22190 22305 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 22191 22306 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 22192 22307 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 22193 coin_have_project_dir=yes 22194 22195 if test $coin_have_project_dir = yes; then 22196 coin_has_osi="yes, source in Osi" 22197 fi 22198 fi 22199 fi 22200 22201 # check for project by using pkg-config, if pkg-config is available 22202 if test "$coin_has_osi" = notGiven; then 22203 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 22204 if test -n "$PKG_CONFIG" ; then 22205 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22206 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 22207 22208 if test -n "$PKG_CONFIG" ; then 22209 if $PKG_CONFIG --exists "osi"; then 22210 OSI_VERSION=`$PKG_CONFIG --modversion "osi" 2>/dev/null` 22211 coin_has_osi="yes, found installed version $OSI_VERSION" 22212 else 22213 OSI_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "osi"` 22214 22215 fi 22216 else 22217 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Osi without pkg-config\"" >&5 22218 echo "$as_me: error: \"Cannot check for existance of module Osi without pkg-config\"" >&2;} 22219 { (exit 1); exit 1; }; } 22220 fi 22221 22222 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22223 export PKG_CONFIG_PATH 22224 fi 22225 fi 22226 22227 if test "$coin_has_osi" = notGiven; then 22228 echo "$as_me:$LINENO: result: not given" >&5 22229 echo "${ECHO_T}not given" >&6 22230 22231 else 22308 coin_has_osi="yes" 22309 22310 fi 22311 fi 22312 22313 if test -z "$coin_reason" ; then 22232 22314 echo "$as_me:$LINENO: result: $coin_has_osi" >&5 22233 22315 echo "${ECHO_T}$coin_has_osi" >&6 22234 fi 22235 22236 echo "$ as_me:$LINENO: checking whether project Osi needs to be configured" >&522237 echo $ECHO_N "checking whether project Osi needs to be configured... $ECHO_C" >&6 22238 if test "$coin_have_project_dir" = yes ; then 22239 22316 else 22317 echo "$as_me:$LINENO: result: $coin_has_osi, $coin_reason" >&5 22318 echo "${ECHO_T}$coin_has_osi, $coin_reason" >&6 22319 fi 22320 22321 if test "$coin_has_osi" = yes ; then 22240 22322 if test -r $srcdir/Osi/configure; then 22241 22323 coin_subdirs="$coin_subdirs Osi" 22242 echo "$as_me:$LINENO: result: yes" >&522243 echo "${ECHO_T}yes" >&622244 22324 22245 22325 22246 22326 subdirs="$subdirs Osi" 22247 22327 22248 else 22249 echo "$as_me:$LINENO: result: no" >&5 22250 echo "${ECHO_T}no" >&6 22251 fi 22252 else 22253 echo "$as_me:$LINENO: result: no" >&5 22254 echo "${ECHO_T}no" >&6 22255 fi 22256 22257 22258 echo "$as_me:$LINENO: checking whether project Clp is available" >&5 22259 echo $ECHO_N "checking whether project Clp is available... $ECHO_C" >&6 22328 fi 22329 fi 22330 22331 22332 echo "$as_me:$LINENO: checking whether source of project Clp is available and should be compiled" >&5 22333 echo $ECHO_N "checking whether source of project Clp is available and should be compiled... $ECHO_C" >&6 22260 22334 22261 22335 coin_has_clp=notGiven 22262 coin_ have_project_dir=no22336 coin_reason= 22263 22337 22264 22338 # check if user wants to skip project in any case … … 22267 22341 for dir in $COIN_SKIP_PROJECTS; do 22268 22342 if test $dir = "Clp"; then 22269 coin_has_clp=skipping 22343 coin_has_clp="no" 22344 coin_reason="Clp has been specified in COIN_SKIP_PROJECTS" 22270 22345 fi 22271 if test $dir = "/Clp"; then 22272 coin_has_clp=skipping 22273 fi 22346 22274 22347 done 22275 22348 fi 22276 22349 22277 if test $coin_has_clp != skipping; then 22278 if test $PACKAGE_TARNAME = clp; then 22279 coin_has_clp=yes 22280 coin_have_project_dir=yes 22281 fi 22282 22350 if test "$coin_has_clp" != no; then 22351 22352 # Check whether --with-m4_tolower(Clp) or --without-m4_tolower(Clp) was given. 22353 if test "${with_clp+set}" = set; then 22354 withval="$with_clp" 22355 if test "$withval" = no ; then 22356 coin_has_clp="no" 22357 coin_reason="--without-clp has been specified" 22358 fi 22359 22360 fi; 22361 fi 22362 22363 if test "$coin_has_clp" != no; then 22283 22364 22284 22365 # Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given. 22285 22366 if test "${with_clp_lib+set}" = set; then 22286 22367 withval="$with_clp_lib" 22287 coin_has_clp="yes, via --with-clp-lib" 22368 if test "$withval" = no ; then 22369 coin_has_clp="no" 22370 coin_reason="--without-clp-lib has been specified" 22371 else 22372 coin_has_clp="no" 22373 coin_reason="--with-clp-lib has been specified" 22374 fi 22288 22375 fi; 22289 22376 fi 22377 22378 if test "$coin_has_clp" != no; then 22290 22379 22291 22380 # Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given. 22292 22381 if test "${with_clp_incdir+set}" = set; then 22293 22382 withval="$with_clp_incdir" 22294 coin_has_clp="yes, via --with-clp-incdir" 22383 if test "$withval" = no ; then 22384 coin_has_clp="no" 22385 coin_reason="--without-clp-incdir has been specified" 22386 else 22387 coin_has_clp="no" 22388 coin_reason="--with-clp-incdir has been specified" 22389 fi 22295 22390 fi; 22296 22391 fi 22392 22393 if test "$coin_has_clp" != no; then 22297 22394 22298 22395 # Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given. 22299 22396 if test "${with_clp_datadir+set}" = set; then 22300 22397 withval="$with_clp_datadir" 22301 coin_has_clp="yes, via --with-clp-datadir" 22398 if test "$withval" = no ; then 22399 coin_has_clp="no" 22400 coin_reason="--without-clp-datadir has been specified" 22401 else 22402 coin_has_clp="no" 22403 coin_reason="--with-clp-datadir has been specified" 22404 fi 22302 22405 fi; 22303 22304 22305 22306 22307 22308 fi 22406 fi 22407 22408 22409 22410 22309 22411 22310 22412 # check if project is available in present directory 22311 22413 if test "$coin_has_clp" = notGiven; then 22312 if test -d $srcdir//Clp; then 22414 coin_has_clp=no 22415 if test -d $srcdir/Clp; then 22416 coin_reason="source in Clp" 22313 22417 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 22314 22418 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 22315 22419 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 22316 coin_have_project_dir=yes 22317 22318 if test $coin_have_project_dir = yes; then 22319 coin_has_clp="yes, source in Clp" 22320 fi 22321 fi 22322 fi 22323 22324 # check for project by using pkg-config, if pkg-config is available 22325 if test "$coin_has_clp" = notGiven; then 22326 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 22327 if test -n "$PKG_CONFIG" ; then 22328 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22329 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 22330 22331 if test -n "$PKG_CONFIG" ; then 22332 if $PKG_CONFIG --exists "clp"; then 22333 CLP_VERSION=`$PKG_CONFIG --modversion "clp" 2>/dev/null` 22334 coin_has_clp="yes, found installed version $CLP_VERSION" 22335 else 22336 CLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "clp"` 22337 22338 fi 22339 else 22340 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Clp without pkg-config\"" >&5 22341 echo "$as_me: error: \"Cannot check for existance of module Clp without pkg-config\"" >&2;} 22342 { (exit 1); exit 1; }; } 22343 fi 22344 22345 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22346 export PKG_CONFIG_PATH 22347 fi 22348 fi 22349 22350 if test "$coin_has_clp" = notGiven; then 22351 echo "$as_me:$LINENO: result: not given" >&5 22352 echo "${ECHO_T}not given" >&6 22353 22354 else 22420 coin_has_clp="yes" 22421 22422 fi 22423 fi 22424 22425 if test -z "$coin_reason" ; then 22355 22426 echo "$as_me:$LINENO: result: $coin_has_clp" >&5 22356 22427 echo "${ECHO_T}$coin_has_clp" >&6 22357 fi 22358 22359 echo "$ as_me:$LINENO: checking whether project Clp needs to be configured" >&522360 echo $ECHO_N "checking whether project Clp needs to be configured... $ECHO_C" >&6 22361 if test "$coin_have_project_dir" = yes ; then 22362 22428 else 22429 echo "$as_me:$LINENO: result: $coin_has_clp, $coin_reason" >&5 22430 echo "${ECHO_T}$coin_has_clp, $coin_reason" >&6 22431 fi 22432 22433 if test "$coin_has_clp" = yes ; then 22363 22434 if test -r $srcdir/Clp/configure; then 22364 22435 coin_subdirs="$coin_subdirs Clp" 22365 echo "$as_me:$LINENO: result: yes" >&522366 echo "${ECHO_T}yes" >&622367 22436 22368 22437 22369 22438 subdirs="$subdirs Clp" 22370 22439 22371 else 22372 echo "$as_me:$LINENO: result: no" >&5 22373 echo "${ECHO_T}no" >&6 22374 fi 22375 else 22376 echo "$as_me:$LINENO: result: no" >&5 22377 echo "${ECHO_T}no" >&6 22378 fi 22379 22380 22381 echo "$as_me:$LINENO: checking whether project DyLP is available" >&5 22382 echo $ECHO_N "checking whether project DyLP is available... $ECHO_C" >&6 22440 fi 22441 fi 22442 22443 22444 echo "$as_me:$LINENO: checking whether source of project DyLP is available and should be compiled" >&5 22445 echo $ECHO_N "checking whether source of project DyLP is available and should be compiled... $ECHO_C" >&6 22383 22446 22384 22447 coin_has_dylp=notGiven 22385 coin_ have_project_dir=no22448 coin_reason= 22386 22449 22387 22450 # check if user wants to skip project in any case … … 22390 22453 for dir in $COIN_SKIP_PROJECTS; do 22391 22454 if test $dir = "DyLP"; then 22392 coin_has_dylp=skipping 22455 coin_has_dylp="no" 22456 coin_reason="DyLP has been specified in COIN_SKIP_PROJECTS" 22393 22457 fi 22394 if test $dir = "/DyLP"; then 22395 coin_has_dylp=skipping 22396 fi 22458 22397 22459 done 22398 22460 fi 22399 22461 22400 if test $coin_has_dylp != skipping; then 22401 if test $PACKAGE_TARNAME = dylp; then 22402 coin_has_dylp=yes 22403 coin_have_project_dir=yes 22404 fi 22405 22462 if test "$coin_has_dylp" != no; then 22463 22464 # Check whether --with-m4_tolower(DyLP) or --without-m4_tolower(DyLP) was given. 22465 if test "${with_dylp+set}" = set; then 22466 withval="$with_dylp" 22467 if test "$withval" = no ; then 22468 coin_has_dylp="no" 22469 coin_reason="--without-dylp has been specified" 22470 fi 22471 22472 fi; 22473 fi 22474 22475 if test "$coin_has_dylp" != no; then 22406 22476 22407 22477 # Check whether --with-m4_tolower(DyLP)-lib or --without-m4_tolower(DyLP)-lib was given. 22408 22478 if test "${with_dylp_lib+set}" = set; then 22409 22479 withval="$with_dylp_lib" 22410 coin_has_dylp="yes, via --with-dylp-lib" 22480 if test "$withval" = no ; then 22481 coin_has_dylp="no" 22482 coin_reason="--without-dylp-lib has been specified" 22483 else 22484 coin_has_dylp="no" 22485 coin_reason="--with-dylp-lib has been specified" 22486 fi 22411 22487 fi; 22412 22488 fi 22489 22490 if test "$coin_has_dylp" != no; then 22413 22491 22414 22492 # Check whether --with-m4_tolower(DyLP)-incdir or --without-m4_tolower(DyLP)-incdir was given. 22415 22493 if test "${with_dylp_incdir+set}" = set; then 22416 22494 withval="$with_dylp_incdir" 22417 coin_has_dylp="yes, via --with-dylp-incdir" 22495 if test "$withval" = no ; then 22496 coin_has_dylp="no" 22497 coin_reason="--without-dylp-incdir has been specified" 22498 else 22499 coin_has_dylp="no" 22500 coin_reason="--with-dylp-incdir has been specified" 22501 fi 22418 22502 fi; 22419 22503 fi 22504 22505 if test "$coin_has_dylp" != no; then 22420 22506 22421 22507 # Check whether --with-m4_tolower(DyLP)-datadir or --without-m4_tolower(DyLP)-datadir was given. 22422 22508 if test "${with_dylp_datadir+set}" = set; then 22423 22509 withval="$with_dylp_datadir" 22424 coin_has_dylp="yes, via --with-dylp-datadir" 22510 if test "$withval" = no ; then 22511 coin_has_dylp="no" 22512 coin_reason="--without-dylp-datadir has been specified" 22513 else 22514 coin_has_dylp="no" 22515 coin_reason="--with-dylp-datadir has been specified" 22516 fi 22425 22517 fi; 22426 22427 22428 22429 22430 22431 fi 22518 fi 22519 22520 22521 22522 22432 22523 22433 22524 # check if project is available in present directory 22434 22525 if test "$coin_has_dylp" = notGiven; then 22435 if test -d $srcdir//DyLP; then 22526 coin_has_dylp=no 22527 if test -d $srcdir/DyLP; then 22528 coin_reason="source in DyLP" 22436 22529 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 22437 22530 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 22438 22531 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 22439 coin_have_project_dir=yes 22440 22441 if test $coin_have_project_dir = yes; then 22442 coin_has_dylp="yes, source in DyLP" 22443 fi 22444 fi 22445 fi 22446 22447 # check for project by using pkg-config, if pkg-config is available 22448 if test "$coin_has_dylp" = notGiven; then 22449 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 22450 if test -n "$PKG_CONFIG" ; then 22451 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22452 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 22453 22454 if test -n "$PKG_CONFIG" ; then 22455 if $PKG_CONFIG --exists "dylp"; then 22456 DYLP_VERSION=`$PKG_CONFIG --modversion "dylp" 2>/dev/null` 22457 coin_has_dylp="yes, found installed version $DYLP_VERSION" 22458 else 22459 DYLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "dylp"` 22460 22461 fi 22462 else 22463 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&5 22464 echo "$as_me: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&2;} 22465 { (exit 1); exit 1; }; } 22466 fi 22467 22468 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22469 export PKG_CONFIG_PATH 22470 fi 22471 fi 22472 22473 if test "$coin_has_dylp" = notGiven; then 22474 echo "$as_me:$LINENO: result: not given" >&5 22475 echo "${ECHO_T}not given" >&6 22476 22477 else 22532 coin_has_dylp="yes" 22533 22534 fi 22535 fi 22536 22537 if test -z "$coin_reason" ; then 22478 22538 echo "$as_me:$LINENO: result: $coin_has_dylp" >&5 22479 22539 echo "${ECHO_T}$coin_has_dylp" >&6 22480 fi 22481 22482 echo "$ as_me:$LINENO: checking whether project DyLP needs to be configured" >&522483 echo $ECHO_N "checking whether project DyLP needs to be configured... $ECHO_C" >&6 22484 if test "$coin_have_project_dir" = yes ; then 22485 22540 else 22541 echo "$as_me:$LINENO: result: $coin_has_dylp, $coin_reason" >&5 22542 echo "${ECHO_T}$coin_has_dylp, $coin_reason" >&6 22543 fi 22544 22545 if test "$coin_has_dylp" = yes ; then 22486 22546 if test -r $srcdir/DyLP/configure; then 22487 22547 coin_subdirs="$coin_subdirs DyLP" 22488 echo "$as_me:$LINENO: result: yes" >&522489 echo "${ECHO_T}yes" >&622490 22548 22491 22549 22492 22550 subdirs="$subdirs DyLP" 22493 22551 22494 else 22495 echo "$as_me:$LINENO: result: no" >&5 22496 echo "${ECHO_T}no" >&6 22497 fi 22498 else 22499 echo "$as_me:$LINENO: result: no" >&5 22500 echo "${ECHO_T}no" >&6 22501 fi 22502 22503 22504 echo "$as_me:$LINENO: checking whether project Vol is available" >&5 22505 echo $ECHO_N "checking whether project Vol is available... $ECHO_C" >&6 22552 fi 22553 fi 22554 22555 22556 echo "$as_me:$LINENO: checking whether source of project Vol is available and should be compiled" >&5 22557 echo $ECHO_N "checking whether source of project Vol is available and should be compiled... $ECHO_C" >&6 22506 22558 22507 22559 coin_has_vol=notGiven 22508 coin_ have_project_dir=no22560 coin_reason= 22509 22561 22510 22562 # check if user wants to skip project in any case … … 22513 22565 for dir in $COIN_SKIP_PROJECTS; do 22514 22566 if test $dir = "Vol"; then 22515 coin_has_vol=skipping 22567 coin_has_vol="no" 22568 coin_reason="Vol has been specified in COIN_SKIP_PROJECTS" 22516 22569 fi 22517 if test $dir = "/Vol"; then 22518 coin_has_vol=skipping 22519 fi 22570 22520 22571 done 22521 22572 fi 22522 22573 22523 if test $coin_has_vol != skipping; then 22524 if test $PACKAGE_TARNAME = vol; then 22525 coin_has_vol=yes 22526 coin_have_project_dir=yes 22527 fi 22528 22574 if test "$coin_has_vol" != no; then 22575 22576 # Check whether --with-m4_tolower(Vol) or --without-m4_tolower(Vol) was given. 22577 if test "${with_vol+set}" = set; then 22578 withval="$with_vol" 22579 if test "$withval" = no ; then 22580 coin_has_vol="no" 22581 coin_reason="--without-vol has been specified" 22582 fi 22583 22584 fi; 22585 fi 22586 22587 if test "$coin_has_vol" != no; then 22529 22588 22530 22589 # Check whether --with-m4_tolower(Vol)-lib or --without-m4_tolower(Vol)-lib was given. 22531 22590 if test "${with_vol_lib+set}" = set; then 22532 22591 withval="$with_vol_lib" 22533 coin_has_vol="yes, via --with-vol-lib" 22592 if test "$withval" = no ; then 22593 coin_has_vol="no" 22594 coin_reason="--without-vol-lib has been specified" 22595 else 22596 coin_has_vol="no" 22597 coin_reason="--with-vol-lib has been specified" 22598 fi 22534 22599 fi; 22535 22600 fi 22601 22602 if test "$coin_has_vol" != no; then 22536 22603 22537 22604 # Check whether --with-m4_tolower(Vol)-incdir or --without-m4_tolower(Vol)-incdir was given. 22538 22605 if test "${with_vol_incdir+set}" = set; then 22539 22606 withval="$with_vol_incdir" 22540 coin_has_vol="yes, via --with-vol-incdir" 22607 if test "$withval" = no ; then 22608 coin_has_vol="no" 22609 coin_reason="--without-vol-incdir has been specified" 22610 else 22611 coin_has_vol="no" 22612 coin_reason="--with-vol-incdir has been specified" 22613 fi 22541 22614 fi; 22542 22615 fi 22616 22617 if test "$coin_has_vol" != no; then 22543 22618 22544 22619 # Check whether --with-m4_tolower(Vol)-datadir or --without-m4_tolower(Vol)-datadir was given. 22545 22620 if test "${with_vol_datadir+set}" = set; then 22546 22621 withval="$with_vol_datadir" 22547 coin_has_vol="yes, via --with-vol-datadir" 22622 if test "$withval" = no ; then 22623 coin_has_vol="no" 22624 coin_reason="--without-vol-datadir has been specified" 22625 else 22626 coin_has_vol="no" 22627 coin_reason="--with-vol-datadir has been specified" 22628 fi 22548 22629 fi; 22549 22550 22551 22552 22553 22554 fi 22630 fi 22631 22632 22633 22634 22555 22635 22556 22636 # check if project is available in present directory 22557 22637 if test "$coin_has_vol" = notGiven; then 22558 if test -d $srcdir//Vol; then 22638 coin_has_vol=no 22639 if test -d $srcdir/Vol; then 22640 coin_reason="source in Vol" 22559 22641 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 22560 22642 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 22561 22643 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 22562 coin_have_project_dir=yes 22563 22564 if test $coin_have_project_dir = yes; then 22565 coin_has_vol="yes, source in Vol" 22566 fi 22567 fi 22568 fi 22569 22570 # check for project by using pkg-config, if pkg-config is available 22571 if test "$coin_has_vol" = notGiven; then 22572 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 22573 if test -n "$PKG_CONFIG" ; then 22574 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22575 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 22576 22577 if test -n "$PKG_CONFIG" ; then 22578 if $PKG_CONFIG --exists "vol"; then 22579 VOL_VERSION=`$PKG_CONFIG --modversion "vol" 2>/dev/null` 22580 coin_has_vol="yes, found installed version $VOL_VERSION" 22581 else 22582 VOL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "vol"` 22583 22584 fi 22585 else 22586 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Vol without pkg-config\"" >&5 22587 echo "$as_me: error: \"Cannot check for existance of module Vol without pkg-config\"" >&2;} 22588 { (exit 1); exit 1; }; } 22589 fi 22590 22591 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22592 export PKG_CONFIG_PATH 22593 fi 22594 fi 22595 22596 if test "$coin_has_vol" = notGiven; then 22597 echo "$as_me:$LINENO: result: not given" >&5 22598 echo "${ECHO_T}not given" >&6 22599 22600 else 22644 coin_has_vol="yes" 22645 22646 fi 22647 fi 22648 22649 if test -z "$coin_reason" ; then 22601 22650 echo "$as_me:$LINENO: result: $coin_has_vol" >&5 22602 22651 echo "${ECHO_T}$coin_has_vol" >&6 22603 fi 22604 22605 echo "$ as_me:$LINENO: checking whether project Vol needs to be configured" >&522606 echo $ECHO_N "checking whether project Vol needs to be configured... $ECHO_C" >&6 22607 if test "$coin_have_project_dir" = yes ; then 22608 22652 else 22653 echo "$as_me:$LINENO: result: $coin_has_vol, $coin_reason" >&5 22654 echo "${ECHO_T}$coin_has_vol, $coin_reason" >&6 22655 fi 22656 22657 if test "$coin_has_vol" = yes ; then 22609 22658 if test -r $srcdir/Vol/configure; then 22610 22659 coin_subdirs="$coin_subdirs Vol" 22611 echo "$as_me:$LINENO: result: yes" >&522612 echo "${ECHO_T}yes" >&622613 22660 22614 22661 22615 22662 subdirs="$subdirs Vol" 22616 22663 22617 else 22618 echo "$as_me:$LINENO: result: no" >&5 22619 echo "${ECHO_T}no" >&6 22620 fi 22621 else 22622 echo "$as_me:$LINENO: result: no" >&5 22623 echo "${ECHO_T}no" >&6 22624 fi 22625 22626 22627 echo "$as_me:$LINENO: checking whether project Cgl is available" >&5 22628 echo $ECHO_N "checking whether project Cgl is available... $ECHO_C" >&6 22664 fi 22665 fi 22666 22667 22668 echo "$as_me:$LINENO: checking whether source of project Cgl is available and should be compiled" >&5 22669 echo $ECHO_N "checking whether source of project Cgl is available and should be compiled... $ECHO_C" >&6 22629 22670 22630 22671 coin_has_cgl=notGiven 22631 coin_ have_project_dir=no22672 coin_reason= 22632 22673 22633 22674 # check if user wants to skip project in any case … … 22636 22677 for dir in $COIN_SKIP_PROJECTS; do 22637 22678 if test $dir = "Cgl"; then 22638 coin_has_cgl=skipping 22679 coin_has_cgl="no" 22680 coin_reason="Cgl has been specified in COIN_SKIP_PROJECTS" 22639 22681 fi 22640 if test $dir = "/Cgl"; then 22641 coin_has_cgl=skipping 22642 fi 22682 22643 22683 done 22644 22684 fi 22645 22685 22646 if test $coin_has_cgl != skipping; then 22647 if test $PACKAGE_TARNAME = cgl; then 22648 coin_has_cgl=yes 22649 coin_have_project_dir=yes 22650 fi 22651 22686 if test "$coin_has_cgl" != no; then 22687 22688 # Check whether --with-m4_tolower(Cgl) or --without-m4_tolower(Cgl) was given. 22689 if test "${with_cgl+set}" = set; then 22690 withval="$with_cgl" 22691 if test "$withval" = no ; then 22692 coin_has_cgl="no" 22693 coin_reason="--without-cgl has been specified" 22694 fi 22695 22696 fi; 22697 fi 22698 22699 if test "$coin_has_cgl" != no; then 22652 22700 22653 22701 # Check whether --with-m4_tolower(Cgl)-lib or --without-m4_tolower(Cgl)-lib was given. 22654 22702 if test "${with_cgl_lib+set}" = set; then 22655 22703 withval="$with_cgl_lib" 22656 coin_has_cgl="yes, via --with-cgl-lib" 22704 if test "$withval" = no ; then 22705 coin_has_cgl="no" 22706 coin_reason="--without-cgl-lib has been specified" 22707 else 22708 coin_has_cgl="no" 22709 coin_reason="--with-cgl-lib has been specified" 22710 fi 22657 22711 fi; 22658 22712 fi 22713 22714 if test "$coin_has_cgl" != no; then 22659 22715 22660 22716 # Check whether --with-m4_tolower(Cgl)-incdir or --without-m4_tolower(Cgl)-incdir was given. 22661 22717 if test "${with_cgl_incdir+set}" = set; then 22662 22718 withval="$with_cgl_incdir" 22663 coin_has_cgl="yes, via --with-cgl-incdir" 22719 if test "$withval" = no ; then 22720 coin_has_cgl="no" 22721 coin_reason="--without-cgl-incdir has been specified" 22722 else 22723 coin_has_cgl="no" 22724 coin_reason="--with-cgl-incdir has been specified" 22725 fi 22664 22726 fi; 22665 22727 fi 22728 22729 if test "$coin_has_cgl" != no; then 22666 22730 22667 22731 # Check whether --with-m4_tolower(Cgl)-datadir or --without-m4_tolower(Cgl)-datadir was given. 22668 22732 if test "${with_cgl_datadir+set}" = set; then 22669 22733 withval="$with_cgl_datadir" 22670 coin_has_cgl="yes, via --with-cgl-datadir" 22734 if test "$withval" = no ; then 22735 coin_has_cgl="no" 22736 coin_reason="--without-cgl-datadir has been specified" 22737 else 22738 coin_has_cgl="no" 22739 coin_reason="--with-cgl-datadir has been specified" 22740 fi 22671 22741 fi; 22672 22673 22674 22675 22676 22677 fi 22742 fi 22743 22744 22745 22746 22678 22747 22679 22748 # check if project is available in present directory 22680 22749 if test "$coin_has_cgl" = notGiven; then 22681 if test -d $srcdir//Cgl; then 22750 coin_has_cgl=no 22751 if test -d $srcdir/Cgl; then 22752 coin_reason="source in Cgl" 22682 22753 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 22683 22754 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 22684 22755 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 22685 coin_have_project_dir=yes 22686 22687 if test $coin_have_project_dir = yes; then 22688 coin_has_cgl="yes, source in Cgl" 22689 fi 22690 fi 22691 fi 22692 22693 # check for project by using pkg-config, if pkg-config is available 22694 if test "$coin_has_cgl" = notGiven; then 22695 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 22696 if test -n "$PKG_CONFIG" ; then 22697 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22698 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 22699 22700 if test -n "$PKG_CONFIG" ; then 22701 if $PKG_CONFIG --exists "cgl"; then 22702 CGL_VERSION=`$PKG_CONFIG --modversion "cgl" 2>/dev/null` 22703 coin_has_cgl="yes, found installed version $CGL_VERSION" 22704 else 22705 CGL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "cgl"` 22706 22707 fi 22708 else 22709 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cgl without pkg-config\"" >&5 22710 echo "$as_me: error: \"Cannot check for existance of module Cgl without pkg-config\"" >&2;} 22711 { (exit 1); exit 1; }; } 22712 fi 22713 22714 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22715 export PKG_CONFIG_PATH 22716 fi 22717 fi 22718 22719 if test "$coin_has_cgl" = notGiven; then 22720 echo "$as_me:$LINENO: result: not given" >&5 22721 echo "${ECHO_T}not given" >&6 22722 22723 else 22756 coin_has_cgl="yes" 22757 22758 fi 22759 fi 22760 22761 if test -z "$coin_reason" ; then 22724 22762 echo "$as_me:$LINENO: result: $coin_has_cgl" >&5 22725 22763 echo "${ECHO_T}$coin_has_cgl" >&6 22726 fi 22727 22728 echo "$ as_me:$LINENO: checking whether project Cgl needs to be configured" >&522729 echo $ECHO_N "checking whether project Cgl needs to be configured... $ECHO_C" >&6 22730 if test "$coin_have_project_dir" = yes ; then 22731 22764 else 22765 echo "$as_me:$LINENO: result: $coin_has_cgl, $coin_reason" >&5 22766 echo "${ECHO_T}$coin_has_cgl, $coin_reason" >&6 22767 fi 22768 22769 if test "$coin_has_cgl" = yes ; then 22732 22770 if test -r $srcdir/Cgl/configure; then 22733 22771 coin_subdirs="$coin_subdirs Cgl" 22734 echo "$as_me:$LINENO: result: yes" >&522735 echo "${ECHO_T}yes" >&622736 22772 22737 22773 22738 22774 subdirs="$subdirs Cgl" 22739 22775 22740 else 22741 echo "$as_me:$LINENO: result: no" >&5 22742 echo "${ECHO_T}no" >&6 22743 fi 22744 else 22745 echo "$as_me:$LINENO: result: no" >&5 22746 echo "${ECHO_T}no" >&6 22747 fi 22748 22749 22750 echo "$as_me:$LINENO: checking whether project Cbc is available" >&5 22751 echo $ECHO_N "checking whether project Cbc is available... $ECHO_C" >&6 22776 fi 22777 fi 22778 22779 22780 echo "$as_me:$LINENO: checking whether source of project Cbc is available and should be compiled" >&5 22781 echo $ECHO_N "checking whether source of project Cbc is available and should be compiled... $ECHO_C" >&6 22752 22782 22753 22783 coin_has_cbc=notGiven 22754 coin_ have_project_dir=no22784 coin_reason= 22755 22785 22756 22786 # check if user wants to skip project in any case … … 22759 22789 for dir in $COIN_SKIP_PROJECTS; do 22760 22790 if test $dir = "Cbc"; then 22761 coin_has_cbc=skipping 22791 coin_has_cbc="no" 22792 coin_reason="Cbc has been specified in COIN_SKIP_PROJECTS" 22762 22793 fi 22763 if test $dir = "/Cbc"; then 22764 coin_has_cbc=skipping 22765 fi 22794 22766 22795 done 22767 22796 fi 22768 22797 22769 if test $coin_has_cbc != skipping; then 22770 if test $PACKAGE_TARNAME = cbc; then 22771 coin_has_cbc=yes 22772 coin_have_project_dir=yes 22773 fi 22774 22798 if test "$coin_has_cbc" != no; then 22799 22800 # Check whether --with-m4_tolower(Cbc) or --without-m4_tolower(Cbc) was given. 22801 if test "${with_cbc+set}" = set; then 22802 withval="$with_cbc" 22803 if test "$withval" = no ; then 22804 coin_has_cbc="no" 22805 coin_reason="--without-cbc has been specified" 22806 fi 22807 22808 fi; 22809 fi 22810 22811 if test "$coin_has_cbc" != no; then 22775 22812 22776 22813 # Check whether --with-m4_tolower(Cbc)-lib or --without-m4_tolower(Cbc)-lib was given. 22777 22814 if test "${with_cbc_lib+set}" = set; then 22778 22815 withval="$with_cbc_lib" 22779 coin_has_cbc="yes, via --with-cbc-lib" 22816 if test "$withval" = no ; then 22817 coin_has_cbc="no" 22818 coin_reason="--without-cbc-lib has been specified" 22819 else 22820 coin_has_cbc="no" 22821 coin_reason="--with-cbc-lib has been specified" 22822 fi 22780 22823 fi; 22781 22824 fi 22825 22826 if test "$coin_has_cbc" != no; then 22782 22827 22783 22828 # Check whether --with-m4_tolower(Cbc)-incdir or --without-m4_tolower(Cbc)-incdir was given. 22784 22829 if test "${with_cbc_incdir+set}" = set; then 22785 22830 withval="$with_cbc_incdir" 22786 coin_has_cbc="yes, via --with-cbc-incdir" 22831 if test "$withval" = no ; then 22832 coin_has_cbc="no" 22833 coin_reason="--without-cbc-incdir has been specified" 22834 else 22835 coin_has_cbc="no" 22836 coin_reason="--with-cbc-incdir has been specified" 22837 fi 22787 22838 fi; 22788 22839 fi 22840 22841 if test "$coin_has_cbc" != no; then 22789 22842 22790 22843 # Check whether --with-m4_tolower(Cbc)-datadir or --without-m4_tolower(Cbc)-datadir was given. 22791 22844 if test "${with_cbc_datadir+set}" = set; then 22792 22845 withval="$with_cbc_datadir" 22793 coin_has_cbc="yes, via --with-cbc-datadir" 22846 if test "$withval" = no ; then 22847 coin_has_cbc="no" 22848 coin_reason="--without-cbc-datadir has been specified" 22849 else 22850 coin_has_cbc="no" 22851 coin_reason="--with-cbc-datadir has been specified" 22852 fi 22794 22853 fi; 22795 22796 22797 22798 22799 22800 fi 22854 fi 22855 22856 22857 22858 22801 22859 22802 22860 # check if project is available in present directory 22803 22861 if test "$coin_has_cbc" = notGiven; then 22804 if test -d $srcdir//Cbc; then 22862 coin_has_cbc=no 22863 if test -d $srcdir/Cbc; then 22864 coin_reason="source in Cbc" 22805 22865 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 22806 22866 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 22807 22867 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 22808 coin_have_project_dir=yes 22809 22810 if test $coin_have_project_dir = yes; then 22811 coin_has_cbc="yes, source in Cbc" 22812 fi 22813 fi 22814 fi 22815 22816 # check for project by using pkg-config, if pkg-config is available 22817 if test "$coin_has_cbc" = notGiven; then 22818 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 22819 if test -n "$PKG_CONFIG" ; then 22820 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22821 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 22822 22823 if test -n "$PKG_CONFIG" ; then 22824 if $PKG_CONFIG --exists "cbc"; then 22825 CBC_VERSION=`$PKG_CONFIG --modversion "cbc" 2>/dev/null` 22826 coin_has_cbc="yes, found installed version $CBC_VERSION" 22827 else 22828 CBC_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "cbc"` 22829 22830 fi 22831 else 22832 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cbc without pkg-config\"" >&5 22833 echo "$as_me: error: \"Cannot check for existance of module Cbc without pkg-config\"" >&2;} 22834 { (exit 1); exit 1; }; } 22835 fi 22836 22837 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22838 export PKG_CONFIG_PATH 22839 fi 22840 fi 22841 22842 if test "$coin_has_cbc" = notGiven; then 22843 echo "$as_me:$LINENO: result: not given" >&5 22844 echo "${ECHO_T}not given" >&6 22845 22846 else 22868 coin_has_cbc="yes" 22869 22870 fi 22871 fi 22872 22873 if test -z "$coin_reason" ; then 22847 22874 echo "$as_me:$LINENO: result: $coin_has_cbc" >&5 22848 22875 echo "${ECHO_T}$coin_has_cbc" >&6 22849 fi 22850 22851 echo "$ as_me:$LINENO: checking whether project Cbc needs to be configured" >&522852 echo $ECHO_N "checking whether project Cbc needs to be configured... $ECHO_C" >&6 22853 if test "$coin_have_project_dir" = yes ; then 22854 22876 else 22877 echo "$as_me:$LINENO: result: $coin_has_cbc, $coin_reason" >&5 22878 echo "${ECHO_T}$coin_has_cbc, $coin_reason" >&6 22879 fi 22880 22881 if test "$coin_has_cbc" = yes ; then 22855 22882 if test -r $srcdir/Cbc/configure; then 22856 22883 coin_subdirs="$coin_subdirs Cbc" 22857 echo "$as_me:$LINENO: result: yes" >&522858 echo "${ECHO_T}yes" >&622859 22884 22860 22885 22861 22886 subdirs="$subdirs Cbc" 22862 22887 22863 else 22864 echo "$as_me:$LINENO: result: no" >&5 22865 echo "${ECHO_T}no" >&6 22866 fi 22867 else 22868 echo "$as_me:$LINENO: result: no" >&5 22869 echo "${ECHO_T}no" >&6 22888 fi 22870 22889 fi 22871 22890 … … 23116 23135 fi 23117 23136 23137 # On AIX, the default sed cannot deal with somewhat long sed commands executed by config.status. 23138 # So we reduce the hardcoded number of commands given to sed from 48 to 5 in config.status, hoping this will suffice. 23139 23140 23118 23141 cat >confcache <<\_ACEOF 23119 23142 # This file is a shell script that caches the results of configure … … 23284 23307 Usually this means the macro was only invoked conditionally." >&5 23285 23308 echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined. 23286 Usually this means the macro was only invoked conditionally." >&2;}23287 { (exit 1); exit 1; }; }23288 fi23289 if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then23290 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.23291 Usually this means the macro was only invoked conditionally." >&523292 echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.23293 23309 Usually this means the macro was only invoked conditionally." >&2;} 23294 23310 { (exit 1); exit 1; }; } … … 23824 23840 s,@build_vendor@,$build_vendor,;t t 23825 23841 s,@build_os@,$build_os,;t t 23826 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t23827 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t23828 23842 s,@CDEFS@,$CDEFS,;t t 23829 23843 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t … … 23838 23852 s,@EXEEXT@,$EXEEXT,;t t 23839 23853 s,@OBJEXT@,$OBJEXT,;t t 23854 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t 23855 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t 23840 23856 s,@MPICC@,$MPICC,;t t 23841 23857 s,@CXXDEFS@,$CXXDEFS,;t t … … 23853 23869 s,@OPT_FFLAGS@,$OPT_FFLAGS,;t t 23854 23870 s,@F77@,$F77,;t t 23871 s,@ac_ct_F77@,$ac_ct_F77,;t t 23855 23872 s,@FFLAGS@,$FFLAGS,;t t 23856 s,@ac_ct_F77@,$ac_ct_F77,;t t23857 23873 s,@MPIF77@,$MPIF77,;t t 23858 23874 s,@EGREP@,$EGREP,;t t 23875 s,@LN_S@,$LN_S,;t t 23859 23876 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 23860 23877 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t … … 23910 23927 s,@host_vendor@,$host_vendor,;t t 23911 23928 s,@host_os@,$host_os,;t t 23912 s,@LN_S@,$LN_S,;t t23913 23929 s,@ECHO@,$ECHO,;t t 23914 23930 s,@AR@,$AR,;t t … … 23923 23939 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 23924 23940 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 23925 s,@PKG_CONFIG@,$PKG_CONFIG,;t t23926 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t23927 s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t23928 s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t23929 s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t23930 s,@COIN_PKG_CONFIG_PATH_UNINSTALLED@,$COIN_PKG_CONFIG_PATH_UNINSTALLED,;t t23931 23941 s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t 23932 23942 s,@subdirs@,$subdirs,;t t … … 24391 24401 24392 24402 24403 case $build in 24404 *-aix*) 24405 { echo "$as_me:$LINENO: patching config.status to reduce ac_max_sed_lines to 5" >&5 24406 echo "$as_me: patching config.status to reduce ac_max_sed_lines to 5" >&6;} 24407 sed -e 's/ac_max_sed_lines=48/ac_max_sed_lines=5/g' config.status > config.status.tmp 24408 mv config.status.tmp config.status 24409 ;; 24410 esac 24411 24412 24393 24413 # configure is writing to config.log, and then calls config.status. 24394 24414 # config.status does its own redirection, appending to config.log. … … 24644 24664 fi 24645 24665 24666 { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5 24667 echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;} 24646 24668 if test x$coin_projectdir = xyes; then 24647 24669 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
Note: See TracChangeset
for help on using the changeset viewer.