Changeset 1675 for stable/2.7/Cbc/configure
- Timestamp:
- Jun 19, 2011 1:23:14 PM (10 years ago)
- Location:
- stable/2.7
- Files:
-
- 3 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/Cbc
- Property svn:mergeinfo changed
/trunk/Cbc (added) merged: 1578,1582-1587,1589-1600,1603-1608,1610-1614,1620-1626,1631-1633,1635-1636,1638-1646,1650-1652,1654-1658,1660-1663,1665-1671,1673-1674
- Property svn:mergeinfo changed
-
stable/2.7/Cbc/configure
r1576 r1675 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59 for Cbc 2.7.3 # Generated by GNU Autoconf 2.59 for Cbc trunk. 4 4 # 5 5 # Report bugs to <cbc@lists.coin-or.org>. … … 430 430 PACKAGE_NAME='Cbc' 431 431 PACKAGE_TARNAME='cbc' 432 PACKAGE_VERSION=' 2.7'433 PACKAGE_STRING='Cbc 2.7'432 PACKAGE_VERSION='trunk' 433 PACKAGE_STRING='Cbc trunk' 434 434 PACKAGE_BUGREPORT='cbc@lists.coin-or.org' 435 435 … … 473 473 #endif" 474 474 475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CBC_SVN_REV 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 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_SECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA COINDEPEND_DEPENDENCIES COINDEPEND_LIBS_INSTALLED COINDEPEND_CFLAGS_INSTALLED COINDEPEND_DATA_INSTALLED CBCLIB_CFLAGS CBCLIB_LIBS CBCLIB_PCLIBS CBCLIB_PCREQUIRES CBCLIB_DEPENDENCIES CBCLIB_CFLAGS_INSTALLED CBCLIB_LIBS_INSTALLED CBCGENERIC_CFLAGS CBCGENERIC_LIBS CBCGENERIC_PCLIBS CBCGENERIC_PCREQUIRES CBCGENERIC_DEPENDENCIES CBCGENERIC_CFLAGS_INSTALLED CBCGENERIC_LIBS_INSTALLED COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA CLP_DEPENDENCIES CLP_LIBS_INSTALLED CLP_CFLAGS_INSTALLED CLP_DATA_INSTALLED COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA OSITESTS_DEPENDENCIES OSITESTS_LIBS_INSTALLED OSITESTS_CFLAGS_INSTALLED OSITESTS_DATA_INSTALLED COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA SAMPLE_DEPENDENCIES SAMPLE_LIBS_INSTALLED SAMPLE_CFLAGS_INSTALLED SAMPLE_DATA_INSTALLED COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA NETLIB_DEPENDENCIES NETLIB_LIBS_INSTALLED NETLIB_CFLAGS_INSTALLED NETLIB_DATA_INSTALLED COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE MIPLIB3_LIBS MIPLIB3_CFLAGS MIPLIB3_DATA MIPLIB3_DEPENDENCIES MIPLIB3_LIBS_INSTALLED MIPLIB3_CFLAGS_INSTALLED MIPLIB3_DATA_INSTALLED COIN_HAS_MIPLIB3_TRUE COIN_HAS_MIPLIB3_FALSE DYLP_LIBS DYLP_CFLAGS DYLP_DATA DYLP_DEPENDENCIES DYLP_LIBS_INSTALLED DYLP_CFLAGS_INSTALLED DYLP_DATA_INSTALLED COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE VOL_LIBS VOL_CFLAGS VOL_DATA VOL_DEPENDENCIES VOL_LIBS_INSTALLED VOL_CFLAGS_INSTALLED VOL_DATA_INSTALLED COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA CPX_DEPENDENCIES CPX_LIBS_INSTALLED CPX_CFLAGS_INSTALLED CPX_DATA_INSTALLED COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA GLPK_DEPENDENCIES GLPK_LIBS_INSTALLED GLPK_CFLAGS_INSTALLED GLPK_DATA_INSTALLED COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GRB_LIBS GRB_CFLAGS GRB_DATA GRB_DEPENDENCIES GRB_LIBS_INSTALLED GRB_CFLAGS_INSTALLED GRB_DATA_INSTALLED COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA MSK_DEPENDENCIES MSK_LIBS_INSTALLED MSK_CFLAGS_INSTALLED MSK_DATA_INSTALLED COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE SPX_LIBS SPX_CFLAGS SPX_DATA SPX_DEPENDENCIES SPX_LIBS_INSTALLED SPX_CFLAGS_INSTALLED SPX_DATA_INSTALLED COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA XPR_DEPENDENCIES XPR_LIBS_INSTALLED XPR_CFLAGS_INSTALLED XPR_DATA_INSTALLED COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA ASL_DEPENDENCIES ASL_LIBS_INSTALLED ASL_CFLAGS_INSTALLED ASL_DATA_INSTALLED COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SPX_TRUE OSICBC_DFLT_SOLVER_SPX_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CBC_SVN_REV 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 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 F77 FFLAGS ac_ct_F77 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_UNINSTALLED COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA COINDEPEND_DEPENDENCIES COINDEPEND_LIBS_INSTALLED COINDEPEND_CFLAGS_INSTALLED COINDEPEND_DATA_INSTALLED CBCLIB_CFLAGS CBCLIB_LIBS CBCLIB_PCLIBS CBCLIB_PCREQUIRES CBCLIB_DEPENDENCIES CBCLIB_CFLAGS_INSTALLED CBCLIB_LIBS_INSTALLED CBCGENERIC_CFLAGS CBCGENERIC_LIBS CBCGENERIC_PCLIBS CBCGENERIC_PCREQUIRES CBCGENERIC_DEPENDENCIES CBCGENERIC_CFLAGS_INSTALLED CBCGENERIC_LIBS_INSTALLED COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA CLP_DEPENDENCIES CLP_LIBS_INSTALLED CLP_CFLAGS_INSTALLED CLP_DATA_INSTALLED COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA OSITESTS_DEPENDENCIES OSITESTS_LIBS_INSTALLED OSITESTS_CFLAGS_INSTALLED OSITESTS_DATA_INSTALLED COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA SAMPLE_DEPENDENCIES SAMPLE_LIBS_INSTALLED SAMPLE_CFLAGS_INSTALLED SAMPLE_DATA_INSTALLED COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA NETLIB_DEPENDENCIES NETLIB_LIBS_INSTALLED NETLIB_CFLAGS_INSTALLED NETLIB_DATA_INSTALLED COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE MIPLIB3_LIBS MIPLIB3_CFLAGS MIPLIB3_DATA MIPLIB3_DEPENDENCIES MIPLIB3_LIBS_INSTALLED MIPLIB3_CFLAGS_INSTALLED MIPLIB3_DATA_INSTALLED COIN_HAS_MIPLIB3_TRUE COIN_HAS_MIPLIB3_FALSE DYLP_LIBS DYLP_CFLAGS DYLP_DATA DYLP_DEPENDENCIES DYLP_LIBS_INSTALLED DYLP_CFLAGS_INSTALLED DYLP_DATA_INSTALLED COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE VOL_LIBS VOL_CFLAGS VOL_DATA VOL_DEPENDENCIES VOL_LIBS_INSTALLED VOL_CFLAGS_INSTALLED VOL_DATA_INSTALLED COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA CPX_DEPENDENCIES CPX_LIBS_INSTALLED CPX_CFLAGS_INSTALLED CPX_DATA_INSTALLED COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA GLPK_DEPENDENCIES GLPK_LIBS_INSTALLED GLPK_CFLAGS_INSTALLED GLPK_DATA_INSTALLED COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GRB_LIBS GRB_CFLAGS GRB_DATA GRB_DEPENDENCIES GRB_LIBS_INSTALLED GRB_CFLAGS_INSTALLED GRB_DATA_INSTALLED COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA MSK_DEPENDENCIES MSK_LIBS_INSTALLED MSK_CFLAGS_INSTALLED MSK_DATA_INSTALLED COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE SPX_LIBS SPX_CFLAGS SPX_DATA SPX_DEPENDENCIES SPX_LIBS_INSTALLED SPX_CFLAGS_INSTALLED SPX_DATA_INSTALLED COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA XPR_DEPENDENCIES XPR_LIBS_INSTALLED XPR_CFLAGS_INSTALLED XPR_DATA_INSTALLED COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA ASL_DEPENDENCIES ASL_LIBS_INSTALLED ASL_CFLAGS_INSTALLED ASL_DATA_INSTALLED COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SPX_TRUE OSICBC_DFLT_SOLVER_SPX_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1006 1006 # This message is too long to be a string in the A/UX 3.1 sh. 1007 1007 cat <<_ACEOF 1008 \`configure' configures Cbc 2.7to adapt to many kinds of systems.1008 \`configure' configures Cbc trunk to adapt to many kinds of systems. 1009 1009 1010 1010 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1072 1072 if test -n "$ac_init_help"; then 1073 1073 case $ac_init_help in 1074 short | recursive ) echo "Configuration of Cbc 2.7:";;1074 short | recursive ) echo "Configuration of Cbc trunk:";; 1075 1075 esac 1076 1076 cat <<\_ACEOF … … 1080 1080 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1081 1081 --enable-debug compile all projects with debug options tests 1082 --enable-debug-cbc compile this project (Cbc) with debug options 1082 (implies --disable-shared) 1083 --enable-debug-cbc compile project Cbc with debug compiler flags 1083 1084 --enable-doscompile Under Cygwin, compile so that executables run under 1084 1085 DOS. Set to mingw to use gcc/g++/ld with … … 1097 1098 optimize for fast installation [default=yes] 1098 1099 --disable-libtool-lock avoid locking (might break parallel builds) 1099 --enable-pkg-config use pkg-config if available (default is yes) 1100 --disable-pkg-config disable use of pkg-config (if available) 1101 --disable-interpackage-dependencies 1102 disables deduction of Makefile dependencies from 1103 package linker flags 1100 1104 --enable-cbc-parallel enables compilation of the SMP version of Cbc 1101 1105 … … 1112 1116 --with-coin-instdir prefix of installation directory for precompiled 1113 1117 COIN packages 1118 1114 1119 --with-coindepend-lib linker flags for using package CoinDepend 1115 1120 --with-coindepend-incdir … … 1298 1303 if $ac_init_version; then 1299 1304 cat <<\_ACEOF 1300 Cbc configure 2.71305 Cbc configure trunk 1301 1306 generated by GNU Autoconf 2.59 1302 1307 … … 1318 1323 running configure, to aid debugging if configure makes a mistake. 1319 1324 1320 It was created by Cbc $as_me 2.7, which was1325 It was created by Cbc $as_me trunk, which was 1321 1326 generated by GNU Autoconf 2.59. Invocation command line was 1322 1327 … … 1755 1760 coin_projectdir=yes 1756 1761 1757 # Set the project's version number 1758 if test "xCbc" != x; then 1762 # Set the project's version numbers 1763 1759 1764 1760 1765 cat >>confdefs.h <<_ACEOF … … 1762 1767 _ACEOF 1763 1768 1764 fi 1765 1766 # Set the project's SVN revision number. The complicated sed expression 1767 # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up 1768 # as a single number. 1769 # Extract the first word of "svnversion", so it can be a program name with args. 1769 1770 coin_majorver=`echo $PACKAGE_VERSION | sed -n -e 's/^\([0-9]*\).*/\1/gp'` 1771 coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'` 1772 coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'` 1773 if test "x$coin_majorver" = x ; then coin_majorver=9999 ; fi 1774 if test "x$coin_minorver" = x ; then coin_minorver=9999 ; fi 1775 if test "x$coin_releasever" = x ; then coin_releasever=9999 ; fi 1776 1777 cat >>confdefs.h <<_ACEOF 1778 #define CBC_VERSION_MAJOR $coin_majorver 1779 _ACEOF 1780 1781 1782 cat >>confdefs.h <<_ACEOF 1783 #define CBC_VERSION_MINOR $coin_minorver 1784 _ACEOF 1785 1786 1787 cat >>confdefs.h <<_ACEOF 1788 #define CBC_VERSION_RELEASE $coin_releasever 1789 _ACEOF 1790 1791 1792 # We use the following variable to have a string with the upper case 1793 # version of the project name 1794 COIN_PRJCT=CBC 1795 1796 # Set the project's SVN revision number. The complicated sed expression 1797 # (made worse by quadrigraphs) ensures that things like 4123:4168MS end up 1798 # as a single number. 1799 # Extract the first word of "svnversion", so it can be a program name with args. 1770 1800 set dummy svnversion; ac_word=$2 1771 1801 echo "$as_me:$LINENO: checking for $ac_word" >&5 … … 1803 1833 fi 1804 1834 1805 if test "x$have_svnversion" = xyes && test "xCbc" != x; then1806 1807 svn_rev_tmp=`cd $srcdir/$coin_has_cbc ; svnversion`1808 CBC_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'`1809 if test $CBC_SVN_REV != exported; then1835 if test "x$have_svnversion" = xyes; then 1836 1837 svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null` 1838 if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x; then 1839 CBC_SVN_REV=`echo $svn_rev_tmp | sed -n -e 's/^[0-9]*://' -e 's/\([0-9]\)[^0-9]*$/\1/p'` 1810 1840 1811 1841 cat >>confdefs.h <<_ACEOF … … 1813 1843 _ACEOF 1814 1844 1845 fi 1815 1846 fi 1816 fi 1847 1848 1817 1849 1818 1850 # Capture libtool library version, if given. 1851 1819 1852 1820 1853 … … 1850 1883 case "${enableval}" in 1851 1884 yes) coin_debug_compile=true 1852 enable_shared=no1853 1885 ;; 1854 1886 no) coin_debug_compile=false … … 1905 1937 #define COIN_CBC_CHECKLEVEL $coin_cbc_checklevel 1906 1938 _ACEOF 1907 1908 1909 # We use the following variable to have a string with the upper case1910 # version of the project name1911 COIN_PRJCT=CBC1912 1939 1913 1940 … … 1990 2017 esac 1991 2018 fi 1992 1993 # add automake conditional so we can recognize cl compiler in makefile1994 coin_cc_is_cl=false1995 if test x"$CXX" != x; then1996 case "$CXX" in1997 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)1998 coin_cc_is_cl=true1999 ;;2000 esac2001 fi2002 2003 2004 if test $coin_cc_is_cl = true; then2005 COIN_CC_IS_CL_TRUE=2006 COIN_CC_IS_CL_FALSE='#'2007 else2008 COIN_CC_IS_CL_TRUE='#'2009 COIN_CC_IS_CL_FALSE=2010 fi2011 2012 2019 2013 2020 … … 2829 2836 CFLAGS="$save_cflags" 2830 2837 2838 # add automake conditional so we can recognize cl compiler in makefile 2839 coin_cc_is_cl=false 2840 case "$CC" in 2841 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 2842 coin_cc_is_cl=true 2843 ;; 2844 esac 2845 2846 2847 if test $coin_cc_is_cl = true; then 2848 COIN_CC_IS_CL_TRUE= 2849 COIN_CC_IS_CL_FALSE='#' 2850 else 2851 COIN_CC_IS_CL_TRUE='#' 2852 COIN_CC_IS_CL_FALSE= 2853 fi 2854 2855 2831 2856 # Check if a project specific CFLAGS variable has been set 2832 2857 if test x$COIN_PRJCT != x; then … … 2851 2876 coin_opt_cflags="-O3" 2852 2877 coin_add_cflags="-pipe" 2853 coin_dbg_cflags="-g "2854 coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas "2878 coin_dbg_cflags="-g -O0" 2879 coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long" 2855 2880 case $build in 2856 2881 *-darwin*) … … 3116 3141 fi ;; 3117 3142 esac 3143 3144 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include 3145 if test x$COIN_PRJCT != x; then 3146 CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD" 3147 fi 3118 3148 3119 3149 # Try if CFLAGS works … … 3778 3808 coin_opt_cxxflags="-O3" 3779 3809 coin_add_cxxflags="-pipe" 3780 coin_dbg_cxxflags="-g "3781 coin_warn_cxxflags="-W implicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas"3810 coin_dbg_cxxflags="-g -O0" 3811 coin_warn_cxxflags="-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long" 3782 3812 case $build in 3783 3813 *-darwin*) … … 4056 4086 esac 4057 4087 4088 # add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include 4089 if test x$COIN_PRJCT != x; then 4090 CXXFLAGS="$CXXFLAGS -D${COIN_PRJCT}_BUILD" 4091 fi 4092 4058 4093 # Try if CXXFLAGS works 4059 4094 save_CXXFLAGS="$CXXFLAGS" … … 4287 4322 EGREP=$ac_cv_prog_egrep 4288 4323 4324 4325 echo "$as_me:$LINENO: checking whether ln -s works" >&5 4326 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 4327 LN_S=$as_ln_s 4328 if test "$LN_S" = "ln -s"; then 4329 echo "$as_me:$LINENO: result: yes" >&5 4330 echo "${ECHO_T}yes" >&6 4331 else 4332 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 4333 echo "${ECHO_T}no, using $LN_S" >&6 4334 fi 4289 4335 4290 4336 am__api_version="1.9" … … 4617 4663 4618 4664 4665 4619 4666 # AC_MSG_NOTICE([Beginning automake initialisation.]) 4620 4667 # Stuff for automake … … 4639 4686 # Define the identity of the package. 4640 4687 PACKAGE='cbc' 4641 VERSION=' 2.7'4688 VERSION='trunk' 4642 4689 4643 4690 … … 5259 5306 5260 5307 5261 # Check if we have an Externals file5262 if test -r $srcdir/ Externals; then5308 # Check if we have an Dependencies file 5309 if test -r $srcdir/Dependencies; then 5263 5310 coin_have_externals=yes 5264 5311 fi … … 5333 5380 { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5 5334 5381 echo "$as_me: error: Cannot find the BuildTools directory" >&2;} 5335 { (exit 1); exit 1; }; }5382 { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; } 5336 5383 fi 5337 5384 fi 5338 5385 fi 5339 5386 5387 5388 # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools 5389 if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then 5390 $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools" 5391 fi 5340 5392 5341 5393 # The following variable is set to the name of the directory where … … 5705 5757 NM="$lt_cv_path_NM" 5706 5758 5707 echo "$as_me:$LINENO: checking whether ln -s works" >&55708 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&65709 LN_S=$as_ln_s5710 if test "$LN_S" = "ln -s"; then5711 echo "$as_me:$LINENO: result: yes" >&55712 echo "${ECHO_T}yes" >&65713 else5714 echo "$as_me:$LINENO: result: no, using $LN_S" >&55715 echo "${ECHO_T}no, using $LN_S" >&65716 fi5717 5718 5759 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 5719 5760 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 … … 5941 5982 *-*-irix6*) 5942 5983 # Find out which ABI we are using. 5943 echo '#line 59 43"configure"' > conftest.$ac_ext5984 echo '#line 5984 "configure"' > conftest.$ac_ext 5944 5985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5945 5986 (eval $ac_compile) 2>&5 … … 7075 7116 7076 7117 # Provide some information about the compiler. 7077 echo "$as_me:7 077:" \7118 echo "$as_me:7118:" \ 7078 7119 "checking for Fortran 77 compiler version" >&5 7079 7120 ac_compiler=`set X $ac_compile; echo $2` … … 8142 8183 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8143 8184 -e 's:$: $lt_compiler_flag:'` 8144 (eval echo "\"\$as_me:81 44: $lt_compile\"" >&5)8185 (eval echo "\"\$as_me:8185: $lt_compile\"" >&5) 8145 8186 (eval "$lt_compile" 2>conftest.err) 8146 8187 ac_status=$? 8147 8188 cat conftest.err >&5 8148 echo "$as_me:81 48: \$? = $ac_status" >&58189 echo "$as_me:8189: \$? = $ac_status" >&5 8149 8190 if (exit $ac_status) && test -s "$ac_outfile"; then 8150 8191 # The compiler can only warn and ignore the option if not recognized … … 8410 8451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8411 8452 -e 's:$: $lt_compiler_flag:'` 8412 (eval echo "\"\$as_me:84 12: $lt_compile\"" >&5)8453 (eval echo "\"\$as_me:8453: $lt_compile\"" >&5) 8413 8454 (eval "$lt_compile" 2>conftest.err) 8414 8455 ac_status=$? 8415 8456 cat conftest.err >&5 8416 echo "$as_me:84 16: \$? = $ac_status" >&58457 echo "$as_me:8457: \$? = $ac_status" >&5 8417 8458 if (exit $ac_status) && test -s "$ac_outfile"; then 8418 8459 # The compiler can only warn and ignore the option if not recognized … … 8514 8555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8515 8556 -e 's:$: $lt_compiler_flag:'` 8516 (eval echo "\"\$as_me:85 16: $lt_compile\"" >&5)8557 (eval echo "\"\$as_me:8557: $lt_compile\"" >&5) 8517 8558 (eval "$lt_compile" 2>out/conftest.err) 8518 8559 ac_status=$? 8519 8560 cat out/conftest.err >&5 8520 echo "$as_me:85 20: \$? = $ac_status" >&58561 echo "$as_me:8561: \$? = $ac_status" >&5 8521 8562 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8522 8563 then … … 10859 10900 lt_status=$lt_dlunknown 10860 10901 cat > conftest.$ac_ext <<EOF 10861 #line 10 861"configure"10902 #line 10902 "configure" 10862 10903 #include "confdefs.h" 10863 10904 … … 10959 11000 lt_status=$lt_dlunknown 10960 11001 cat > conftest.$ac_ext <<EOF 10961 #line 1 0961"configure"11002 #line 11002 "configure" 10962 11003 #include "confdefs.h" 10963 11004 … … 13303 13344 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13304 13345 -e 's:$: $lt_compiler_flag:'` 13305 (eval echo "\"\$as_me:133 05: $lt_compile\"" >&5)13346 (eval echo "\"\$as_me:13346: $lt_compile\"" >&5) 13306 13347 (eval "$lt_compile" 2>conftest.err) 13307 13348 ac_status=$? 13308 13349 cat conftest.err >&5 13309 echo "$as_me:133 09: \$? = $ac_status" >&513350 echo "$as_me:13350: \$? = $ac_status" >&5 13310 13351 if (exit $ac_status) && test -s "$ac_outfile"; then 13311 13352 # The compiler can only warn and ignore the option if not recognized … … 13407 13448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13408 13449 -e 's:$: $lt_compiler_flag:'` 13409 (eval echo "\"\$as_me:134 09: $lt_compile\"" >&5)13450 (eval echo "\"\$as_me:13450: $lt_compile\"" >&5) 13410 13451 (eval "$lt_compile" 2>out/conftest.err) 13411 13452 ac_status=$? 13412 13453 cat out/conftest.err >&5 13413 echo "$as_me:134 13: \$? = $ac_status" >&513454 echo "$as_me:13454: \$? = $ac_status" >&5 13414 13455 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13415 13456 then … … 14977 15018 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14978 15019 -e 's:$: $lt_compiler_flag:'` 14979 (eval echo "\"\$as_me:1 4979: $lt_compile\"" >&5)15020 (eval echo "\"\$as_me:15020: $lt_compile\"" >&5) 14980 15021 (eval "$lt_compile" 2>conftest.err) 14981 15022 ac_status=$? 14982 15023 cat conftest.err >&5 14983 echo "$as_me:1 4983: \$? = $ac_status" >&515024 echo "$as_me:15024: \$? = $ac_status" >&5 14984 15025 if (exit $ac_status) && test -s "$ac_outfile"; then 14985 15026 # The compiler can only warn and ignore the option if not recognized … … 15081 15122 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15082 15123 -e 's:$: $lt_compiler_flag:'` 15083 (eval echo "\"\$as_me:15 083: $lt_compile\"" >&5)15124 (eval echo "\"\$as_me:15124: $lt_compile\"" >&5) 15084 15125 (eval "$lt_compile" 2>out/conftest.err) 15085 15126 ac_status=$? 15086 15127 cat out/conftest.err >&5 15087 echo "$as_me:15 087: \$? = $ac_status" >&515128 echo "$as_me:15128: \$? = $ac_status" >&5 15088 15129 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15089 15130 then … … 17288 17329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17289 17330 -e 's:$: $lt_compiler_flag:'` 17290 (eval echo "\"\$as_me:17 290: $lt_compile\"" >&5)17331 (eval echo "\"\$as_me:17331: $lt_compile\"" >&5) 17291 17332 (eval "$lt_compile" 2>conftest.err) 17292 17333 ac_status=$? 17293 17334 cat conftest.err >&5 17294 echo "$as_me:17 294: \$? = $ac_status" >&517335 echo "$as_me:17335: \$? = $ac_status" >&5 17295 17336 if (exit $ac_status) && test -s "$ac_outfile"; then 17296 17337 # The compiler can only warn and ignore the option if not recognized … … 17556 17597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17557 17598 -e 's:$: $lt_compiler_flag:'` 17558 (eval echo "\"\$as_me:175 58: $lt_compile\"" >&5)17599 (eval echo "\"\$as_me:17599: $lt_compile\"" >&5) 17559 17600 (eval "$lt_compile" 2>conftest.err) 17560 17601 ac_status=$? 17561 17602 cat conftest.err >&5 17562 echo "$as_me:17 562: \$? = $ac_status" >&517603 echo "$as_me:17603: \$? = $ac_status" >&5 17563 17604 if (exit $ac_status) && test -s "$ac_outfile"; then 17564 17605 # The compiler can only warn and ignore the option if not recognized … … 17660 17701 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17661 17702 -e 's:$: $lt_compiler_flag:'` 17662 (eval echo "\"\$as_me:17 662: $lt_compile\"" >&5)17703 (eval echo "\"\$as_me:17703: $lt_compile\"" >&5) 17663 17704 (eval "$lt_compile" 2>out/conftest.err) 17664 17705 ac_status=$? 17665 17706 cat out/conftest.err >&5 17666 echo "$as_me:17 666: \$? = $ac_status" >&517707 echo "$as_me:17707: \$? = $ac_status" >&5 17667 17708 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17668 17709 then … … 20667 20708 fi 20668 20709 if test -n "$PKG_CONFIG"; then 20669 _pkg_min_version=0. 9.020710 _pkg_min_version=0.16.0 20670 20711 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 20671 20712 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 … … 20708 20749 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20709 20750 if test "x${prefix}" = xNONE ; then 20710 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${ COIN_PKG_CONFIG_PATH}"20711 else 20712 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${ COIN_PKG_CONFIG_PATH}"20751 COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${ac_default_prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20752 else 20753 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${prefix}/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20713 20754 fi 20714 20755 … … 20722 20763 { (exit 1); exit 1; }; } 20723 20764 fi 20724 COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$ {COIN_PKG_CONFIG_PATH}"20765 COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/share/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20725 20766 20726 20767 fi; … … 20760 20801 fi 20761 20802 20803 if test -n "$PKG_CONFIG" && test x$coin_cc_is_cl = xtrue; then 20804 { echo "$as_me:$LINENO: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&5 20805 echo "$as_me: WARNING: Using pkg-config together with MS or Intel Compiler on Windows is not support by example Makefiles. Consider using --disable-pkg-config." >&2;} 20806 fi 20807 20762 20808 20763 20809 … … 20776 20822 fi 20777 20823 20824 if test "$coin_has_coindepend" != skipping; then 20825 20826 # Check whether --with-m4_tolower(CoinDepend) or --without-m4_tolower(CoinDepend) was given. 20827 if test "${with_coindepend+set}" = set; then 20828 withval="$with_coindepend" 20829 if test "$withval" = no ; then 20830 coin_has_coindepend=skipping 20831 fi 20832 20833 fi; 20834 fi 20835 20778 20836 COINDEPEND_LIBS= 20779 20837 COINDEPEND_CFLAGS= 20780 20838 COINDEPEND_DATA= 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 #check if user provided LIBS, CFLAGS, or DATA for module 20839 COINDEPEND_DEPENDENCIES= 20840 COINDEPEND_PCLIBS= 20841 COINDEPEND_PCREQUIRES= 20842 COINDEPEND_DATA= 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 20807 20869 if test $coin_has_coindepend != skipping; then 20808 20809 20870 20810 20871 # Check whether --with-m4_tolower(CoinDepend)-lib or --without-m4_tolower(CoinDepend)-lib was given. 20811 20872 if test "${with_coindepend_lib+set}" = set; then 20812 20873 withval="$with_coindepend_lib" 20813 coin_has_coindepend=yes 20874 if test "$withval" = no ; then 20875 coin_has_coindepend=skipping 20876 else 20877 coin_has_coindepend=yes 20814 20878 COINDEPEND_LIBS="$withval" 20879 COINDEPEND_PCLIBS="$withval" 20815 20880 20816 20881 CBCLIB_PCLIBS="$withval $CBCLIB_PCLIBS" … … 20820 20885 CBCGENERIC_LIBS="$withval $CBCGENERIC_LIBS" 20821 20886 20887 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 20888 if test -z "$PKG_CONFIG" ; then 20889 COINDEPEND_LIBS_INSTALLED="$withval" 20890 CBCLIB_LIBS_INSTALLED="$withval $CBCLIB_LIBS_INSTALLED"CBCGENERIC_LIBS_INSTALLED="$withval $CBCGENERIC_LIBS_INSTALLED" 20891 fi 20892 fi 20822 20893 20823 20894 fi; 20824 20895 fi 20896 20897 if test $coin_has_coindepend != skipping; then 20825 20898 20826 20899 # Check whether --with-m4_tolower(CoinDepend)-incdir or --without-m4_tolower(CoinDepend)-incdir was given. 20827 20900 if test "${with_coindepend_incdir+set}" = set; then 20828 20901 withval="$with_coindepend_incdir" 20829 coin_has_coindepend=yes 20830 COINDEPEND_CFLAGS="-I`${CYGPATH_W} $withval`" 20831 CBCLIB_CFLAGS="$withval $CBCLIB_CFLAGS" 20832 CBCGENERIC_CFLAGS="$withval $CBCGENERIC_CFLAGS" 20833 20902 if test "$withval" = no ; then 20903 coin_has_coindepend=skipping 20904 else 20905 coin_has_coindepend=yes 20906 COINDEPEND_CFLAGS="-I`${CYGPATH_W} $withval`" 20907 CBCLIB_CFLAGS="-I`${CYGPATH_W} $withval` $CBCLIB_CFLAGS"CBCGENERIC_CFLAGS="-I`${CYGPATH_W} $withval` $CBCGENERIC_CFLAGS" 20908 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 20909 if test -z "$PKG_CONFIG" ; then 20910 COINDEPEND_CFLAGS_INSTALLED="$COINDEPEND_CFLAGS" 20911 CBCLIB_CFLAGS_INSTALLED="$COINDEPEND_CFLAGS $CBCLIB_CFLAGS_INSTALLED"CBCGENERIC_CFLAGS_INSTALLED="$COINDEPEND_CFLAGS $CBCGENERIC_CFLAGS_INSTALLED" 20912 fi 20913 fi 20834 20914 20835 20915 fi; 20836 20916 fi 20917 20918 if test $coin_has_coindepend != skipping; then 20837 20919 20838 20920 # Check whether --with-m4_tolower(CoinDepend)-datadir or --without-m4_tolower(CoinDepend)-datadir was given. 20839 20921 if test "${with_coindepend_datadir+set}" = set; then 20840 20922 withval="$with_coindepend_datadir" 20841 coin_has_coindepend=yes 20842 COINDEPEND_DATA="$withval" 20923 if test "$withval" = no ; then 20924 coin_has_coindepend=skipping 20925 else 20926 coin_has_coindepend=yes 20927 COINDEPEND_DATA="$withval" 20928 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 20929 if test -z "$PKG_CONFIG" ; then 20930 COINDEPEND_DATA_INSTALLED="$withval" 20931 fi 20932 fi 20933 20843 20934 fi; 20844 20935 fi … … 20858 20949 if test -n "$PKG_CONFIG" ; then 20859 20950 if $PKG_CONFIG --exists "cgl osi coinutils"; then 20860 COINDEPEND_VERSIONS="`$PKG_CONFIG --modversion "cgl osi coinutils" 2>/dev/null | tr '\n' ' '`"20951 COINDEPEND_VERSIONS="`$PKG_CONFIG --modversion "cgl osi coinutils" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 20861 20952 cflags=`$PKG_CONFIG --cflags "cgl osi coinutils" 2>/dev/null` 20862 20953 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 20880 20971 COINDEPEND_LIBS=`echo " $COINDEPEND_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 20881 20972 fi 20973 COINDEPEND_PCREQUIRES="cgl osi coinutils" 20882 20974 20883 20975 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in CbcLib CbcGeneric … … 20927 21019 COINDEPEND_DATA= 20928 21020 COINDEPEND_DATA_INSTALLED= 20929 20930 # initial list of dependencies is "cgl osi coinutils", but we need to filter out version number specifications (= x, <= x, >= x) 21021 COINDEPEND_PCLIBS= 21022 COINDEPEND_PCREQUIRES= 21023 21024 # initial list of dependencies is "cgl osi coinutils", but we need to filter out version number specifications (= x, <= x, >= x, != x) 20931 21025 projtoprocess="cgl osi coinutils" 20932 21026 … … 20967 21061 # add projrequires to the front of the list of projects that have to be processed next 20968 21062 # at the same time, remove $proj from this list 20969 projtoprocess= ${projtoprocess/$proj/$projrequires}21063 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 20970 21064 20971 21065 # read DATA from $pcfile, if _DATA is still empty … … 21035 21129 # replace "Cflags:" by "echo projcflags=" 21036 21130 # remove every line starting with <some word>: 21037 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`21131 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 21038 21132 21039 21133 # set projcflags and projlibs variables by running $pcfilemod 21134 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 21040 21135 projcflags= 21041 21136 projlibs= 21137 IFS="$save_IFS" 21042 21138 eval `sh -c "$pcfilemod"` 21139 IFS=":" 21043 21140 21044 21141 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 21080 21177 # replace "Cflags:" by "echo projcflags=" 21081 21178 # remove every line starting with <some word>: 21082 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`21179 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 21083 21180 21084 21181 # set projcflags and projlibs variables by running $pcfilemod 21182 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 21085 21183 projcflags= 21086 21184 projlibs= 21185 IFS="$save_IFS" 21087 21186 eval `sh -c "$pcfilemod"` 21187 IFS=":" 21088 21188 21089 21189 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 21116 21216 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 21117 21217 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 21118 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and21119 # everything of the form "- lname" by "libname.lib"21218 # everything of the form "-lname" by "libname.lib", and 21219 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 21120 21220 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 21121 21221 then 21122 21222 COINDEPEND_LIBS=`echo " $COINDEPEND_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 21123 COINDEPEND_LIBS_INSTALLED=`echo " $COINDEPEND_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`21223 COINDEPEND_LIBS_INSTALLED=`echo " $COINDEPEND_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 21124 21224 fi 21125 21225 21226 COINDEPEND_PCREQUIRES="cgl osi coinutils" 21126 21227 21127 21228 CBCLIB_PCREQUIRES="cgl osi coinutils $CBCLIB_PCREQUIRES" … … 21168 21269 21169 21270 21170 # construct dependencies variables from LIBS variables 21171 # we add an extra space in LIBS so we can substitute out everything starting with " -" 21172 # before, substitute out everything of the form -framework xxx as used on Mac 21173 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 21174 COINDEPEND_DEPENDENCIES=`echo " $COINDEPEND_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21175 21176 CBCLIB_DEPENDENCIES=`echo " $CBCLIB_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21177 21178 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21179 21271 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 21272 if test "${enable_interpackage_dependencies+set}" = set; then 21273 enableval="$enable_interpackage_dependencies" 21274 21275 else 21276 enable_interpackage_dependencies=yes 21277 fi; 21278 21279 if test $enable_interpackage_dependencies = yes ; then 21280 # construct dependencies variables from LIBS variables 21281 # we add an extra space in LIBS so we can substitute out everything starting with " -" 21282 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 21283 # then remove everything of the form -xxx 21284 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 21285 COINDEPEND_DEPENDENCIES=`echo " $COINDEPEND_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21286 21287 CBCLIB_DEPENDENCIES=`echo " $CBCLIB_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21288 21289 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21290 21291 fi 21180 21292 21181 21293 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 21196 21308 echo "$as_me: CoinDepend DATA is $COINDEPEND_DATA" >&6;} 21197 21309 fi 21198 if test -n "$COINDEPEND_CFLAGS" ; then 21199 { echo "$as_me:$LINENO: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&5 21200 echo "$as_me: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&6;} 21310 if test -n "$COINDEPEND_PCLIBS" ; then 21311 { echo "$as_me:$LINENO: CoinDepend PCLIBS are $COINDEPEND_PCLIBS" >&5 21312 echo "$as_me: CoinDepend PCLIBS are $COINDEPEND_PCLIBS" >&6;} 21313 fi 21314 if test -n "$COINDEPEND_PCREQUIRES" ; then 21315 { echo "$as_me:$LINENO: CoinDepend PCREQUIRES are $COINDEPEND_PCREQUIRES" >&5 21316 echo "$as_me: CoinDepend PCREQUIRES are $COINDEPEND_PCREQUIRES" >&6;} 21201 21317 fi 21202 21318 … … 21255 21371 fi 21256 21372 21373 if test "$coin_has_clp" != skipping; then 21374 21375 # Check whether --with-m4_tolower(Clp) or --without-m4_tolower(Clp) was given. 21376 if test "${with_clp+set}" = set; then 21377 withval="$with_clp" 21378 if test "$withval" = no ; then 21379 coin_has_clp=skipping 21380 fi 21381 21382 fi; 21383 fi 21384 21257 21385 CLP_LIBS= 21258 21386 CLP_CFLAGS= 21259 21387 CLP_DATA= 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 #check if user provided LIBS, CFLAGS, or DATA for module 21388 CLP_DEPENDENCIES= 21389 CLP_PCLIBS= 21390 CLP_PCREQUIRES= 21391 CLP_DATA= 21392 21393 21394 21395 21396 21397 21398 21399 21400 21401 21402 21403 21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 21286 21418 if test $coin_has_clp != skipping; then 21287 21288 21419 21289 21420 # Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given. 21290 21421 if test "${with_clp_lib+set}" = set; then 21291 21422 withval="$with_clp_lib" 21292 coin_has_clp=yes 21423 if test "$withval" = no ; then 21424 coin_has_clp=skipping 21425 else 21426 coin_has_clp=yes 21293 21427 CLP_LIBS="$withval" 21428 CLP_PCLIBS="$withval" 21294 21429 21295 21430 CBCLIB_PCLIBS="$withval $CBCLIB_PCLIBS" … … 21299 21434 CBCGENERIC_LIBS="$withval $CBCGENERIC_LIBS" 21300 21435 21436 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 21437 if test -z "$PKG_CONFIG" ; then 21438 CLP_LIBS_INSTALLED="$withval" 21439 CBCLIB_LIBS_INSTALLED="$withval $CBCLIB_LIBS_INSTALLED"CBCGENERIC_LIBS_INSTALLED="$withval $CBCGENERIC_LIBS_INSTALLED" 21440 fi 21441 fi 21301 21442 21302 21443 fi; 21303 21444 fi 21445 21446 if test $coin_has_clp != skipping; then 21304 21447 21305 21448 # Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given. 21306 21449 if test "${with_clp_incdir+set}" = set; then 21307 21450 withval="$with_clp_incdir" 21308 coin_has_clp=yes 21309 CLP_CFLAGS="-I`${CYGPATH_W} $withval`" 21310 CBCLIB_CFLAGS="$withval $CBCLIB_CFLAGS" 21311 CBCGENERIC_CFLAGS="$withval $CBCGENERIC_CFLAGS" 21312 21451 if test "$withval" = no ; then 21452 coin_has_clp=skipping 21453 else 21454 coin_has_clp=yes 21455 CLP_CFLAGS="-I`${CYGPATH_W} $withval`" 21456 CBCLIB_CFLAGS="-I`${CYGPATH_W} $withval` $CBCLIB_CFLAGS"CBCGENERIC_CFLAGS="-I`${CYGPATH_W} $withval` $CBCGENERIC_CFLAGS" 21457 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 21458 if test -z "$PKG_CONFIG" ; then 21459 CLP_CFLAGS_INSTALLED="$CLP_CFLAGS" 21460 CBCLIB_CFLAGS_INSTALLED="$CLP_CFLAGS $CBCLIB_CFLAGS_INSTALLED"CBCGENERIC_CFLAGS_INSTALLED="$CLP_CFLAGS $CBCGENERIC_CFLAGS_INSTALLED" 21461 fi 21462 fi 21313 21463 21314 21464 fi; 21315 21465 fi 21466 21467 if test $coin_has_clp != skipping; then 21316 21468 21317 21469 # Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given. 21318 21470 if test "${with_clp_datadir+set}" = set; then 21319 21471 withval="$with_clp_datadir" 21320 coin_has_clp=yes 21321 CLP_DATA="$withval" 21472 if test "$withval" = no ; then 21473 coin_has_clp=skipping 21474 else 21475 coin_has_clp=yes 21476 CLP_DATA="$withval" 21477 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 21478 if test -z "$PKG_CONFIG" ; then 21479 CLP_DATA_INSTALLED="$withval" 21480 fi 21481 fi 21482 21322 21483 fi; 21323 21484 fi … … 21337 21498 if test -n "$PKG_CONFIG" ; then 21338 21499 if $PKG_CONFIG --exists "osi-clp"; then 21339 CLP_VERSIONS="`$PKG_CONFIG --modversion "osi-clp" 2>/dev/null | tr '\n' ' '`"21500 CLP_VERSIONS="`$PKG_CONFIG --modversion "osi-clp" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 21340 21501 cflags=`$PKG_CONFIG --cflags "osi-clp" 2>/dev/null` 21341 21502 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 21359 21520 CLP_LIBS=`echo " $CLP_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 21360 21521 fi 21522 CLP_PCREQUIRES="osi-clp" 21361 21523 21362 21524 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in CbcLib CbcGeneric … … 21406 21568 CLP_DATA= 21407 21569 CLP_DATA_INSTALLED= 21408 21409 # initial list of dependencies is "osi-clp", but we need to filter out version number specifications (= x, <= x, >= x) 21570 CLP_PCLIBS= 21571 CLP_PCREQUIRES= 21572 21573 # initial list of dependencies is "osi-clp", but we need to filter out version number specifications (= x, <= x, >= x, != x) 21410 21574 projtoprocess="osi-clp" 21411 21575 … … 21446 21610 # add projrequires to the front of the list of projects that have to be processed next 21447 21611 # at the same time, remove $proj from this list 21448 projtoprocess= ${projtoprocess/$proj/$projrequires}21612 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 21449 21613 21450 21614 # read DATA from $pcfile, if _DATA is still empty … … 21514 21678 # replace "Cflags:" by "echo projcflags=" 21515 21679 # remove every line starting with <some word>: 21516 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`21680 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 21517 21681 21518 21682 # set projcflags and projlibs variables by running $pcfilemod 21683 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 21519 21684 projcflags= 21520 21685 projlibs= 21686 IFS="$save_IFS" 21521 21687 eval `sh -c "$pcfilemod"` 21688 IFS=":" 21522 21689 21523 21690 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 21559 21726 # replace "Cflags:" by "echo projcflags=" 21560 21727 # remove every line starting with <some word>: 21561 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`21728 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 21562 21729 21563 21730 # set projcflags and projlibs variables by running $pcfilemod 21731 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 21564 21732 projcflags= 21565 21733 projlibs= 21734 IFS="$save_IFS" 21566 21735 eval `sh -c "$pcfilemod"` 21736 IFS=":" 21567 21737 21568 21738 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 21595 21765 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 21596 21766 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 21597 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and21598 # everything of the form "- lname" by "libname.lib"21767 # everything of the form "-lname" by "libname.lib", and 21768 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 21599 21769 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 21600 21770 then 21601 21771 CLP_LIBS=`echo " $CLP_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 21602 CLP_LIBS_INSTALLED=`echo " $CLP_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`21772 CLP_LIBS_INSTALLED=`echo " $CLP_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 21603 21773 fi 21604 21774 21775 CLP_PCREQUIRES="osi-clp" 21605 21776 21606 21777 CBCLIB_PCREQUIRES="osi-clp $CBCLIB_PCREQUIRES" … … 21647 21818 21648 21819 21649 # construct dependencies variables from LIBS variables 21650 # we add an extra space in LIBS so we can substitute out everything starting with " -" 21651 # before, substitute out everything of the form -framework xxx as used on Mac 21652 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 21653 CLP_DEPENDENCIES=`echo " $CLP_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21654 21655 CBCLIB_DEPENDENCIES=`echo " $CBCLIB_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21656 21657 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21658 21820 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 21821 if test "${enable_interpackage_dependencies+set}" = set; then 21822 enableval="$enable_interpackage_dependencies" 21823 21824 else 21825 enable_interpackage_dependencies=yes 21826 fi; 21827 21828 if test $enable_interpackage_dependencies = yes ; then 21829 # construct dependencies variables from LIBS variables 21830 # we add an extra space in LIBS so we can substitute out everything starting with " -" 21831 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 21832 # then remove everything of the form -xxx 21833 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 21834 CLP_DEPENDENCIES=`echo " $CLP_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21835 21836 CBCLIB_DEPENDENCIES=`echo " $CBCLIB_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21837 21838 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 21839 21840 fi 21659 21841 21660 21842 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 21675 21857 echo "$as_me: Clp DATA is $CLP_DATA" >&6;} 21676 21858 fi 21677 if test -n "$CLP_CFLAGS" ; then 21678 { echo "$as_me:$LINENO: Clp CFLAGS are $CLP_CFLAGS" >&5 21679 echo "$as_me: Clp CFLAGS are $CLP_CFLAGS" >&6;} 21859 if test -n "$CLP_PCLIBS" ; then 21860 { echo "$as_me:$LINENO: Clp PCLIBS are $CLP_PCLIBS" >&5 21861 echo "$as_me: Clp PCLIBS are $CLP_PCLIBS" >&6;} 21862 fi 21863 if test -n "$CLP_PCREQUIRES" ; then 21864 { echo "$as_me:$LINENO: Clp PCREQUIRES are $CLP_PCREQUIRES" >&5 21865 echo "$as_me: Clp PCREQUIRES are $CLP_PCREQUIRES" >&6;} 21680 21866 fi 21681 21867 … … 21734 21920 fi 21735 21921 21922 if test "$coin_has_ositests" != skipping; then 21923 21924 # Check whether --with-m4_tolower(OsiTests) or --without-m4_tolower(OsiTests) was given. 21925 if test "${with_ositests+set}" = set; then 21926 withval="$with_ositests" 21927 if test "$withval" = no ; then 21928 coin_has_ositests=skipping 21929 fi 21930 21931 fi; 21932 fi 21933 21736 21934 OSITESTS_LIBS= 21737 21935 OSITESTS_CFLAGS= 21738 21936 OSITESTS_DATA= 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 #check if user provided LIBS, CFLAGS, or DATA for module 21937 OSITESTS_DEPENDENCIES= 21938 OSITESTS_PCLIBS= 21939 OSITESTS_PCREQUIRES= 21940 OSITESTS_DATA= 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 21749 21951 if test $coin_has_ositests != skipping; then 21750 21751 21952 21752 21953 # Check whether --with-m4_tolower(OsiTests)-lib or --without-m4_tolower(OsiTests)-lib was given. 21753 21954 if test "${with_ositests_lib+set}" = set; then 21754 21955 withval="$with_ositests_lib" 21755 coin_has_ositests=yes 21956 if test "$withval" = no ; then 21957 coin_has_ositests=skipping 21958 else 21959 coin_has_ositests=yes 21756 21960 OSITESTS_LIBS="$withval" 21757 21961 OSITESTS_PCLIBS="$withval" 21962 21963 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 21964 if test -z "$PKG_CONFIG" ; then 21965 OSITESTS_LIBS_INSTALLED="$withval" 21966 21967 fi 21968 fi 21758 21969 21759 21970 fi; 21760 21971 fi 21972 21973 if test $coin_has_ositests != skipping; then 21761 21974 21762 21975 # Check whether --with-m4_tolower(OsiTests)-incdir or --without-m4_tolower(OsiTests)-incdir was given. 21763 21976 if test "${with_ositests_incdir+set}" = set; then 21764 21977 withval="$with_ositests_incdir" 21765 coin_has_ositests=yes 21766 OSITESTS_CFLAGS="-I`${CYGPATH_W} $withval`" 21767 21978 if test "$withval" = no ; then 21979 coin_has_ositests=skipping 21980 else 21981 coin_has_ositests=yes 21982 OSITESTS_CFLAGS="-I`${CYGPATH_W} $withval`" 21983 21984 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 21985 if test -z "$PKG_CONFIG" ; then 21986 OSITESTS_CFLAGS_INSTALLED="$OSITESTS_CFLAGS" 21987 21988 fi 21989 fi 21768 21990 21769 21991 fi; 21770 21992 fi 21993 21994 if test $coin_has_ositests != skipping; then 21771 21995 21772 21996 # Check whether --with-m4_tolower(OsiTests)-datadir or --without-m4_tolower(OsiTests)-datadir was given. 21773 21997 if test "${with_ositests_datadir+set}" = set; then 21774 21998 withval="$with_ositests_datadir" 21775 coin_has_ositests=yes 21776 OSITESTS_DATA="$withval" 21999 if test "$withval" = no ; then 22000 coin_has_ositests=skipping 22001 else 22002 coin_has_ositests=yes 22003 OSITESTS_DATA="$withval" 22004 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 22005 if test -z "$PKG_CONFIG" ; then 22006 OSITESTS_DATA_INSTALLED="$withval" 22007 fi 22008 fi 22009 21777 22010 fi; 21778 22011 fi … … 21792 22025 if test -n "$PKG_CONFIG" ; then 21793 22026 if $PKG_CONFIG --exists "osi-unittests"; then 21794 OSITESTS_VERSIONS="`$PKG_CONFIG --modversion "osi-unittests" 2>/dev/null | tr '\n' ' '`"22027 OSITESTS_VERSIONS="`$PKG_CONFIG --modversion "osi-unittests" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 21795 22028 cflags=`$PKG_CONFIG --cflags "osi-unittests" 2>/dev/null` 21796 22029 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 21814 22047 OSITESTS_LIBS=`echo " $OSITESTS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 21815 22048 fi 22049 OSITESTS_PCREQUIRES="osi-unittests" 21816 22050 21817 22051 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 21853 22087 OSITESTS_DATA= 21854 22088 OSITESTS_DATA_INSTALLED= 21855 21856 # initial list of dependencies is "osi-unittests", but we need to filter out version number specifications (= x, <= x, >= x) 22089 OSITESTS_PCLIBS= 22090 OSITESTS_PCREQUIRES= 22091 22092 # initial list of dependencies is "osi-unittests", but we need to filter out version number specifications (= x, <= x, >= x, != x) 21857 22093 projtoprocess="osi-unittests" 21858 22094 … … 21893 22129 # add projrequires to the front of the list of projects that have to be processed next 21894 22130 # at the same time, remove $proj from this list 21895 projtoprocess= ${projtoprocess/$proj/$projrequires}22131 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 21896 22132 21897 22133 # read DATA from $pcfile, if _DATA is still empty … … 21961 22197 # replace "Cflags:" by "echo projcflags=" 21962 22198 # remove every line starting with <some word>: 21963 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`22199 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 21964 22200 21965 22201 # set projcflags and projlibs variables by running $pcfilemod 22202 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 21966 22203 projcflags= 21967 22204 projlibs= 22205 IFS="$save_IFS" 21968 22206 eval `sh -c "$pcfilemod"` 22207 IFS=":" 21969 22208 21970 22209 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 22006 22245 # replace "Cflags:" by "echo projcflags=" 22007 22246 # remove every line starting with <some word>: 22008 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`22247 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 22009 22248 22010 22249 # set projcflags and projlibs variables by running $pcfilemod 22250 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 22011 22251 projcflags= 22012 22252 projlibs= 22253 IFS="$save_IFS" 22013 22254 eval `sh -c "$pcfilemod"` 22255 IFS=":" 22014 22256 22015 22257 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 22042 22284 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 22043 22285 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 22044 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and22045 # everything of the form "- lname" by "libname.lib"22286 # everything of the form "-lname" by "libname.lib", and 22287 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 22046 22288 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 22047 22289 then 22048 22290 OSITESTS_LIBS=`echo " $OSITESTS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 22049 OSITESTS_LIBS_INSTALLED=`echo " $OSITESTS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`22291 OSITESTS_LIBS_INSTALLED=`echo " $OSITESTS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 22050 22292 fi 22051 22293 22294 OSITESTS_PCREQUIRES="osi-unittests" 22052 22295 22053 22296 … … 22082 22325 22083 22326 22084 # construct dependencies variables from LIBS variables 22085 # we add an extra space in LIBS so we can substitute out everything starting with " -" 22086 # before, substitute out everything of the form -framework xxx as used on Mac 22087 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 22088 OSITESTS_DEPENDENCIES=`echo " $OSITESTS_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 22089 22327 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 22328 if test "${enable_interpackage_dependencies+set}" = set; then 22329 enableval="$enable_interpackage_dependencies" 22330 22331 else 22332 enable_interpackage_dependencies=yes 22333 fi; 22334 22335 if test $enable_interpackage_dependencies = yes ; then 22336 # construct dependencies variables from LIBS variables 22337 # we add an extra space in LIBS so we can substitute out everything starting with " -" 22338 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 22339 # then remove everything of the form -xxx 22340 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 22341 OSITESTS_DEPENDENCIES=`echo " $OSITESTS_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 22342 22343 fi 22090 22344 22091 22345 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 22106 22360 echo "$as_me: OsiTests DATA is $OSITESTS_DATA" >&6;} 22107 22361 fi 22108 if test -n "$OSITESTS_CFLAGS" ; then 22109 { echo "$as_me:$LINENO: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&5 22110 echo "$as_me: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&6;} 22362 if test -n "$OSITESTS_PCLIBS" ; then 22363 { echo "$as_me:$LINENO: OsiTests PCLIBS are $OSITESTS_PCLIBS" >&5 22364 echo "$as_me: OsiTests PCLIBS are $OSITESTS_PCLIBS" >&6;} 22365 fi 22366 if test -n "$OSITESTS_PCREQUIRES" ; then 22367 { echo "$as_me:$LINENO: OsiTests PCREQUIRES are $OSITESTS_PCREQUIRES" >&5 22368 echo "$as_me: OsiTests PCREQUIRES are $OSITESTS_PCREQUIRES" >&6;} 22111 22369 fi 22112 22370 … … 22143 22401 fi 22144 22402 22403 if test "$coin_has_sample" != skipping; then 22404 22405 # Check whether --with-m4_tolower(Sample) or --without-m4_tolower(Sample) was given. 22406 if test "${with_sample+set}" = set; then 22407 withval="$with_sample" 22408 if test "$withval" = no ; then 22409 coin_has_sample=skipping 22410 fi 22411 22412 fi; 22413 fi 22414 22145 22415 SAMPLE_LIBS= 22146 22416 SAMPLE_CFLAGS= 22147 22417 SAMPLE_DATA= 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 #check if user provided LIBS, CFLAGS, or DATA for module 22418 SAMPLE_DEPENDENCIES= 22419 SAMPLE_PCLIBS= 22420 SAMPLE_PCREQUIRES= 22421 SAMPLE_DATA= 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 22158 22432 if test $coin_has_sample != skipping; then 22159 22160 22433 22161 22434 # Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given. 22162 22435 if test "${with_sample_lib+set}" = set; then 22163 22436 withval="$with_sample_lib" 22164 coin_has_sample=yes 22437 if test "$withval" = no ; then 22438 coin_has_sample=skipping 22439 else 22440 coin_has_sample=yes 22165 22441 SAMPLE_LIBS="$withval" 22166 22442 SAMPLE_PCLIBS="$withval" 22443 22444 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 22445 if test -z "$PKG_CONFIG" ; then 22446 SAMPLE_LIBS_INSTALLED="$withval" 22447 22448 fi 22449 fi 22167 22450 22168 22451 fi; 22169 22452 fi 22453 22454 if test $coin_has_sample != skipping; then 22170 22455 22171 22456 # Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given. 22172 22457 if test "${with_sample_incdir+set}" = set; then 22173 22458 withval="$with_sample_incdir" 22174 coin_has_sample=yes 22175 SAMPLE_CFLAGS="-I`${CYGPATH_W} $withval`" 22176 22459 if test "$withval" = no ; then 22460 coin_has_sample=skipping 22461 else 22462 coin_has_sample=yes 22463 SAMPLE_CFLAGS="-I`${CYGPATH_W} $withval`" 22464 22465 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 22466 if test -z "$PKG_CONFIG" ; then 22467 SAMPLE_CFLAGS_INSTALLED="$SAMPLE_CFLAGS" 22468 22469 fi 22470 fi 22177 22471 22178 22472 fi; 22179 22473 fi 22474 22475 if test $coin_has_sample != skipping; then 22180 22476 22181 22477 # Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given. 22182 22478 if test "${with_sample_datadir+set}" = set; then 22183 22479 withval="$with_sample_datadir" 22184 coin_has_sample=yes 22185 SAMPLE_DATA="$withval" 22480 if test "$withval" = no ; then 22481 coin_has_sample=skipping 22482 else 22483 coin_has_sample=yes 22484 SAMPLE_DATA="$withval" 22485 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 22486 if test -z "$PKG_CONFIG" ; then 22487 SAMPLE_DATA_INSTALLED="$withval" 22488 fi 22489 fi 22490 22186 22491 fi; 22187 22492 fi … … 22201 22506 if test -n "$PKG_CONFIG" ; then 22202 22507 if $PKG_CONFIG --exists "coindatasample"; then 22203 SAMPLE_VERSIONS="`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null | tr '\n' ' '`"22508 SAMPLE_VERSIONS="`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 22204 22509 cflags=`$PKG_CONFIG --cflags "coindatasample" 2>/dev/null` 22205 22510 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 22223 22528 SAMPLE_LIBS=`echo " $SAMPLE_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 22224 22529 fi 22530 SAMPLE_PCREQUIRES="coindatasample" 22225 22531 22226 22532 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 22262 22568 SAMPLE_DATA= 22263 22569 SAMPLE_DATA_INSTALLED= 22264 22265 # initial list of dependencies is "coindatasample", but we need to filter out version number specifications (= x, <= x, >= x) 22570 SAMPLE_PCLIBS= 22571 SAMPLE_PCREQUIRES= 22572 22573 # initial list of dependencies is "coindatasample", but we need to filter out version number specifications (= x, <= x, >= x, != x) 22266 22574 projtoprocess="coindatasample" 22267 22575 … … 22302 22610 # add projrequires to the front of the list of projects that have to be processed next 22303 22611 # at the same time, remove $proj from this list 22304 projtoprocess= ${projtoprocess/$proj/$projrequires}22612 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 22305 22613 22306 22614 # read DATA from $pcfile, if _DATA is still empty … … 22370 22678 # replace "Cflags:" by "echo projcflags=" 22371 22679 # remove every line starting with <some word>: 22372 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`22680 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 22373 22681 22374 22682 # set projcflags and projlibs variables by running $pcfilemod 22683 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 22375 22684 projcflags= 22376 22685 projlibs= 22686 IFS="$save_IFS" 22377 22687 eval `sh -c "$pcfilemod"` 22688 IFS=":" 22378 22689 22379 22690 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 22415 22726 # replace "Cflags:" by "echo projcflags=" 22416 22727 # remove every line starting with <some word>: 22417 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`22728 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 22418 22729 22419 22730 # set projcflags and projlibs variables by running $pcfilemod 22731 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 22420 22732 projcflags= 22421 22733 projlibs= 22734 IFS="$save_IFS" 22422 22735 eval `sh -c "$pcfilemod"` 22736 IFS=":" 22423 22737 22424 22738 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 22451 22765 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 22452 22766 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 22453 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and22454 # everything of the form "- lname" by "libname.lib"22767 # everything of the form "-lname" by "libname.lib", and 22768 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 22455 22769 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 22456 22770 then 22457 22771 SAMPLE_LIBS=`echo " $SAMPLE_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 22458 SAMPLE_LIBS_INSTALLED=`echo " $SAMPLE_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`22772 SAMPLE_LIBS_INSTALLED=`echo " $SAMPLE_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 22459 22773 fi 22460 22774 22775 SAMPLE_PCREQUIRES="coindatasample" 22461 22776 22462 22777 … … 22491 22806 22492 22807 22493 # construct dependencies variables from LIBS variables 22494 # we add an extra space in LIBS so we can substitute out everything starting with " -" 22495 # before, substitute out everything of the form -framework xxx as used on Mac 22496 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 22497 SAMPLE_DEPENDENCIES=`echo " $SAMPLE_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 22498 22808 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 22809 if test "${enable_interpackage_dependencies+set}" = set; then 22810 enableval="$enable_interpackage_dependencies" 22811 22812 else 22813 enable_interpackage_dependencies=yes 22814 fi; 22815 22816 if test $enable_interpackage_dependencies = yes ; then 22817 # construct dependencies variables from LIBS variables 22818 # we add an extra space in LIBS so we can substitute out everything starting with " -" 22819 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 22820 # then remove everything of the form -xxx 22821 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 22822 SAMPLE_DEPENDENCIES=`echo " $SAMPLE_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 22823 22824 fi 22499 22825 22500 22826 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 22515 22841 echo "$as_me: Sample DATA is $SAMPLE_DATA" >&6;} 22516 22842 fi 22517 if test -n "$SAMPLE_CFLAGS" ; then 22518 { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5 22519 echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;} 22843 if test -n "$SAMPLE_PCLIBS" ; then 22844 { echo "$as_me:$LINENO: Sample PCLIBS are $SAMPLE_PCLIBS" >&5 22845 echo "$as_me: Sample PCLIBS are $SAMPLE_PCLIBS" >&6;} 22846 fi 22847 if test -n "$SAMPLE_PCREQUIRES" ; then 22848 { echo "$as_me:$LINENO: Sample PCREQUIRES are $SAMPLE_PCREQUIRES" >&5 22849 echo "$as_me: Sample PCREQUIRES are $SAMPLE_PCREQUIRES" >&6;} 22520 22850 fi 22521 22851 … … 22552 22882 fi 22553 22883 22884 if test "$coin_has_netlib" != skipping; then 22885 22886 # Check whether --with-m4_tolower(Netlib) or --without-m4_tolower(Netlib) was given. 22887 if test "${with_netlib+set}" = set; then 22888 withval="$with_netlib" 22889 if test "$withval" = no ; then 22890 coin_has_netlib=skipping 22891 fi 22892 22893 fi; 22894 fi 22895 22554 22896 NETLIB_LIBS= 22555 22897 NETLIB_CFLAGS= 22556 22898 NETLIB_DATA= 22557 22558 22559 22560 22561 22562 22563 22564 22565 22566 #check if user provided LIBS, CFLAGS, or DATA for module 22899 NETLIB_DEPENDENCIES= 22900 NETLIB_PCLIBS= 22901 NETLIB_PCREQUIRES= 22902 NETLIB_DATA= 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 22567 22913 if test $coin_has_netlib != skipping; then 22568 22569 22914 22570 22915 # Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given. 22571 22916 if test "${with_netlib_lib+set}" = set; then 22572 22917 withval="$with_netlib_lib" 22573 coin_has_netlib=yes 22918 if test "$withval" = no ; then 22919 coin_has_netlib=skipping 22920 else 22921 coin_has_netlib=yes 22574 22922 NETLIB_LIBS="$withval" 22575 22923 NETLIB_PCLIBS="$withval" 22924 22925 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 22926 if test -z "$PKG_CONFIG" ; then 22927 NETLIB_LIBS_INSTALLED="$withval" 22928 22929 fi 22930 fi 22576 22931 22577 22932 fi; 22578 22933 fi 22934 22935 if test $coin_has_netlib != skipping; then 22579 22936 22580 22937 # Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given. 22581 22938 if test "${with_netlib_incdir+set}" = set; then 22582 22939 withval="$with_netlib_incdir" 22583 coin_has_netlib=yes 22584 NETLIB_CFLAGS="-I`${CYGPATH_W} $withval`" 22585 22940 if test "$withval" = no ; then 22941 coin_has_netlib=skipping 22942 else 22943 coin_has_netlib=yes 22944 NETLIB_CFLAGS="-I`${CYGPATH_W} $withval`" 22945 22946 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 22947 if test -z "$PKG_CONFIG" ; then 22948 NETLIB_CFLAGS_INSTALLED="$NETLIB_CFLAGS" 22949 22950 fi 22951 fi 22586 22952 22587 22953 fi; 22588 22954 fi 22955 22956 if test $coin_has_netlib != skipping; then 22589 22957 22590 22958 # Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given. 22591 22959 if test "${with_netlib_datadir+set}" = set; then 22592 22960 withval="$with_netlib_datadir" 22593 coin_has_netlib=yes 22594 NETLIB_DATA="$withval" 22961 if test "$withval" = no ; then 22962 coin_has_netlib=skipping 22963 else 22964 coin_has_netlib=yes 22965 NETLIB_DATA="$withval" 22966 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 22967 if test -z "$PKG_CONFIG" ; then 22968 NETLIB_DATA_INSTALLED="$withval" 22969 fi 22970 fi 22971 22595 22972 fi; 22596 22973 fi … … 22610 22987 if test -n "$PKG_CONFIG" ; then 22611 22988 if $PKG_CONFIG --exists "coindatanetlib"; then 22612 NETLIB_VERSIONS="`$PKG_CONFIG --modversion "coindatanetlib" 2>/dev/null | tr '\n' ' '`"22989 NETLIB_VERSIONS="`$PKG_CONFIG --modversion "coindatanetlib" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 22613 22990 cflags=`$PKG_CONFIG --cflags "coindatanetlib" 2>/dev/null` 22614 22991 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 22632 23009 NETLIB_LIBS=`echo " $NETLIB_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 22633 23010 fi 23011 NETLIB_PCREQUIRES="coindatanetlib" 22634 23012 22635 23013 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 22671 23049 NETLIB_DATA= 22672 23050 NETLIB_DATA_INSTALLED= 22673 22674 # initial list of dependencies is "coindatanetlib", but we need to filter out version number specifications (= x, <= x, >= x) 23051 NETLIB_PCLIBS= 23052 NETLIB_PCREQUIRES= 23053 23054 # initial list of dependencies is "coindatanetlib", but we need to filter out version number specifications (= x, <= x, >= x, != x) 22675 23055 projtoprocess="coindatanetlib" 22676 23056 … … 22711 23091 # add projrequires to the front of the list of projects that have to be processed next 22712 23092 # at the same time, remove $proj from this list 22713 projtoprocess= ${projtoprocess/$proj/$projrequires}23093 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 22714 23094 22715 23095 # read DATA from $pcfile, if _DATA is still empty … … 22779 23159 # replace "Cflags:" by "echo projcflags=" 22780 23160 # remove every line starting with <some word>: 22781 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`23161 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 22782 23162 22783 23163 # set projcflags and projlibs variables by running $pcfilemod 23164 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 22784 23165 projcflags= 22785 23166 projlibs= 23167 IFS="$save_IFS" 22786 23168 eval `sh -c "$pcfilemod"` 23169 IFS=":" 22787 23170 22788 23171 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 22824 23207 # replace "Cflags:" by "echo projcflags=" 22825 23208 # remove every line starting with <some word>: 22826 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`23209 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 22827 23210 22828 23211 # set projcflags and projlibs variables by running $pcfilemod 23212 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 22829 23213 projcflags= 22830 23214 projlibs= 23215 IFS="$save_IFS" 22831 23216 eval `sh -c "$pcfilemod"` 23217 IFS=":" 22832 23218 22833 23219 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 22860 23246 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 22861 23247 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 22862 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and22863 # everything of the form "- lname" by "libname.lib"23248 # everything of the form "-lname" by "libname.lib", and 23249 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 22864 23250 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 22865 23251 then 22866 23252 NETLIB_LIBS=`echo " $NETLIB_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 22867 NETLIB_LIBS_INSTALLED=`echo " $NETLIB_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`23253 NETLIB_LIBS_INSTALLED=`echo " $NETLIB_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 22868 23254 fi 22869 23255 23256 NETLIB_PCREQUIRES="coindatanetlib" 22870 23257 22871 23258 … … 22900 23287 22901 23288 22902 # construct dependencies variables from LIBS variables 22903 # we add an extra space in LIBS so we can substitute out everything starting with " -" 22904 # before, substitute out everything of the form -framework xxx as used on Mac 22905 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 22906 NETLIB_DEPENDENCIES=`echo " $NETLIB_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 22907 23289 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 23290 if test "${enable_interpackage_dependencies+set}" = set; then 23291 enableval="$enable_interpackage_dependencies" 23292 23293 else 23294 enable_interpackage_dependencies=yes 23295 fi; 23296 23297 if test $enable_interpackage_dependencies = yes ; then 23298 # construct dependencies variables from LIBS variables 23299 # we add an extra space in LIBS so we can substitute out everything starting with " -" 23300 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 23301 # then remove everything of the form -xxx 23302 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 23303 NETLIB_DEPENDENCIES=`echo " $NETLIB_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 23304 23305 fi 22908 23306 22909 23307 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 22924 23322 echo "$as_me: Netlib DATA is $NETLIB_DATA" >&6;} 22925 23323 fi 22926 if test -n "$NETLIB_CFLAGS" ; then 22927 { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5 22928 echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;} 23324 if test -n "$NETLIB_PCLIBS" ; then 23325 { echo "$as_me:$LINENO: Netlib PCLIBS are $NETLIB_PCLIBS" >&5 23326 echo "$as_me: Netlib PCLIBS are $NETLIB_PCLIBS" >&6;} 23327 fi 23328 if test -n "$NETLIB_PCREQUIRES" ; then 23329 { echo "$as_me:$LINENO: Netlib PCREQUIRES are $NETLIB_PCREQUIRES" >&5 23330 echo "$as_me: Netlib PCREQUIRES are $NETLIB_PCREQUIRES" >&6;} 22929 23331 fi 22930 23332 … … 22961 23363 fi 22962 23364 23365 if test "$coin_has_miplib3" != skipping; then 23366 23367 # Check whether --with-m4_tolower(Miplib3) or --without-m4_tolower(Miplib3) was given. 23368 if test "${with_miplib3+set}" = set; then 23369 withval="$with_miplib3" 23370 if test "$withval" = no ; then 23371 coin_has_miplib3=skipping 23372 fi 23373 23374 fi; 23375 fi 23376 22963 23377 MIPLIB3_LIBS= 22964 23378 MIPLIB3_CFLAGS= 22965 23379 MIPLIB3_DATA= 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 #check if user provided LIBS, CFLAGS, or DATA for module 23380 MIPLIB3_DEPENDENCIES= 23381 MIPLIB3_PCLIBS= 23382 MIPLIB3_PCREQUIRES= 23383 MIPLIB3_DATA= 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 22976 23394 if test $coin_has_miplib3 != skipping; then 22977 22978 23395 22979 23396 # Check whether --with-m4_tolower(Miplib3)-lib or --without-m4_tolower(Miplib3)-lib was given. 22980 23397 if test "${with_miplib3_lib+set}" = set; then 22981 23398 withval="$with_miplib3_lib" 22982 coin_has_miplib3=yes 23399 if test "$withval" = no ; then 23400 coin_has_miplib3=skipping 23401 else 23402 coin_has_miplib3=yes 22983 23403 MIPLIB3_LIBS="$withval" 22984 23404 MIPLIB3_PCLIBS="$withval" 23405 23406 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 23407 if test -z "$PKG_CONFIG" ; then 23408 MIPLIB3_LIBS_INSTALLED="$withval" 23409 23410 fi 23411 fi 22985 23412 22986 23413 fi; 22987 23414 fi 23415 23416 if test $coin_has_miplib3 != skipping; then 22988 23417 22989 23418 # Check whether --with-m4_tolower(Miplib3)-incdir or --without-m4_tolower(Miplib3)-incdir was given. 22990 23419 if test "${with_miplib3_incdir+set}" = set; then 22991 23420 withval="$with_miplib3_incdir" 22992 coin_has_miplib3=yes 22993 MIPLIB3_CFLAGS="-I`${CYGPATH_W} $withval`" 22994 23421 if test "$withval" = no ; then 23422 coin_has_miplib3=skipping 23423 else 23424 coin_has_miplib3=yes 23425 MIPLIB3_CFLAGS="-I`${CYGPATH_W} $withval`" 23426 23427 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 23428 if test -z "$PKG_CONFIG" ; then 23429 MIPLIB3_CFLAGS_INSTALLED="$MIPLIB3_CFLAGS" 23430 23431 fi 23432 fi 22995 23433 22996 23434 fi; 22997 23435 fi 23436 23437 if test $coin_has_miplib3 != skipping; then 22998 23438 22999 23439 # Check whether --with-m4_tolower(Miplib3)-datadir or --without-m4_tolower(Miplib3)-datadir was given. 23000 23440 if test "${with_miplib3_datadir+set}" = set; then 23001 23441 withval="$with_miplib3_datadir" 23002 coin_has_miplib3=yes 23003 MIPLIB3_DATA="$withval" 23442 if test "$withval" = no ; then 23443 coin_has_miplib3=skipping 23444 else 23445 coin_has_miplib3=yes 23446 MIPLIB3_DATA="$withval" 23447 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 23448 if test -z "$PKG_CONFIG" ; then 23449 MIPLIB3_DATA_INSTALLED="$withval" 23450 fi 23451 fi 23452 23004 23453 fi; 23005 23454 fi … … 23019 23468 if test -n "$PKG_CONFIG" ; then 23020 23469 if $PKG_CONFIG --exists "coindatamiplib3"; then 23021 MIPLIB3_VERSIONS="`$PKG_CONFIG --modversion "coindatamiplib3" 2>/dev/null | tr '\n' ' '`"23470 MIPLIB3_VERSIONS="`$PKG_CONFIG --modversion "coindatamiplib3" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 23022 23471 cflags=`$PKG_CONFIG --cflags "coindatamiplib3" 2>/dev/null` 23023 23472 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 23041 23490 MIPLIB3_LIBS=`echo " $MIPLIB3_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 23042 23491 fi 23492 MIPLIB3_PCREQUIRES="coindatamiplib3" 23043 23493 23044 23494 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 23080 23530 MIPLIB3_DATA= 23081 23531 MIPLIB3_DATA_INSTALLED= 23082 23083 # initial list of dependencies is "coindatamiplib3", but we need to filter out version number specifications (= x, <= x, >= x) 23532 MIPLIB3_PCLIBS= 23533 MIPLIB3_PCREQUIRES= 23534 23535 # initial list of dependencies is "coindatamiplib3", but we need to filter out version number specifications (= x, <= x, >= x, != x) 23084 23536 projtoprocess="coindatamiplib3" 23085 23537 … … 23120 23572 # add projrequires to the front of the list of projects that have to be processed next 23121 23573 # at the same time, remove $proj from this list 23122 projtoprocess= ${projtoprocess/$proj/$projrequires}23574 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 23123 23575 23124 23576 # read DATA from $pcfile, if _DATA is still empty … … 23188 23640 # replace "Cflags:" by "echo projcflags=" 23189 23641 # remove every line starting with <some word>: 23190 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`23642 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 23191 23643 23192 23644 # set projcflags and projlibs variables by running $pcfilemod 23645 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 23193 23646 projcflags= 23194 23647 projlibs= 23648 IFS="$save_IFS" 23195 23649 eval `sh -c "$pcfilemod"` 23650 IFS=":" 23196 23651 23197 23652 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 23233 23688 # replace "Cflags:" by "echo projcflags=" 23234 23689 # remove every line starting with <some word>: 23235 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`23690 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 23236 23691 23237 23692 # set projcflags and projlibs variables by running $pcfilemod 23693 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 23238 23694 projcflags= 23239 23695 projlibs= 23696 IFS="$save_IFS" 23240 23697 eval `sh -c "$pcfilemod"` 23698 IFS=":" 23241 23699 23242 23700 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 23269 23727 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 23270 23728 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 23271 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and23272 # everything of the form "- lname" by "libname.lib"23729 # everything of the form "-lname" by "libname.lib", and 23730 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 23273 23731 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 23274 23732 then 23275 23733 MIPLIB3_LIBS=`echo " $MIPLIB3_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 23276 MIPLIB3_LIBS_INSTALLED=`echo " $MIPLIB3_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`23734 MIPLIB3_LIBS_INSTALLED=`echo " $MIPLIB3_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 23277 23735 fi 23278 23736 23737 MIPLIB3_PCREQUIRES="coindatamiplib3" 23279 23738 23280 23739 … … 23309 23768 23310 23769 23311 # construct dependencies variables from LIBS variables 23312 # we add an extra space in LIBS so we can substitute out everything starting with " -" 23313 # before, substitute out everything of the form -framework xxx as used on Mac 23314 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 23315 MIPLIB3_DEPENDENCIES=`echo " $MIPLIB3_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 23316 23770 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 23771 if test "${enable_interpackage_dependencies+set}" = set; then 23772 enableval="$enable_interpackage_dependencies" 23773 23774 else 23775 enable_interpackage_dependencies=yes 23776 fi; 23777 23778 if test $enable_interpackage_dependencies = yes ; then 23779 # construct dependencies variables from LIBS variables 23780 # we add an extra space in LIBS so we can substitute out everything starting with " -" 23781 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 23782 # then remove everything of the form -xxx 23783 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 23784 MIPLIB3_DEPENDENCIES=`echo " $MIPLIB3_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 23785 23786 fi 23317 23787 23318 23788 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 23333 23803 echo "$as_me: Miplib3 DATA is $MIPLIB3_DATA" >&6;} 23334 23804 fi 23335 if test -n "$MIPLIB3_CFLAGS" ; then 23336 { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5 23337 echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;} 23805 if test -n "$MIPLIB3_PCLIBS" ; then 23806 { echo "$as_me:$LINENO: Miplib3 PCLIBS are $MIPLIB3_PCLIBS" >&5 23807 echo "$as_me: Miplib3 PCLIBS are $MIPLIB3_PCLIBS" >&6;} 23808 fi 23809 if test -n "$MIPLIB3_PCREQUIRES" ; then 23810 { echo "$as_me:$LINENO: Miplib3 PCREQUIRES are $MIPLIB3_PCREQUIRES" >&5 23811 echo "$as_me: Miplib3 PCREQUIRES are $MIPLIB3_PCREQUIRES" >&6;} 23338 23812 fi 23339 23813 … … 23353 23827 fi 23354 23828 23829 23830 23831 23832 # Cbc really should make these tests; right now it assumes far too much about 23833 # its environment. Needed for cbc-generic. 23834 23835 23836 ac_ext=cc 23837 ac_cpp='$CXXCPP $CPPFLAGS' 23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 23841 23842 #if test x"" = x; then 23843 # hdr="#include <cmath>" 23844 #else 23845 # hdr="" 23846 #fi 23847 #AC_CHECK_HEADERS([cmath],[],[],[$hdr]) 23848 23849 for ac_header in cmath 23850 do 23851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 23852 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23853 echo "$as_me:$LINENO: checking for $ac_header" >&5 23854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23855 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23856 echo $ECHO_N "(cached) $ECHO_C" >&6 23857 fi 23858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23859 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23860 else 23861 # Is the header compilable? 23862 echo "$as_me:$LINENO: checking $ac_header usability" >&5 23863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 23864 cat >conftest.$ac_ext <<_ACEOF 23865 /* confdefs.h. */ 23866 _ACEOF 23867 cat confdefs.h >>conftest.$ac_ext 23868 cat >>conftest.$ac_ext <<_ACEOF 23869 /* end confdefs.h. */ 23870 $ac_includes_default 23871 #include <$ac_header> 23872 _ACEOF 23873 rm -f conftest.$ac_objext 23874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 23875 (eval $ac_compile) 2>conftest.er1 23876 ac_status=$? 23877 grep -v '^ *+' conftest.er1 >conftest.err 23878 rm -f conftest.er1 23879 cat conftest.err >&5 23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23881 (exit $ac_status); } && 23882 { ac_try='test -z "$ac_cxx_werror_flag" 23883 || test ! -s conftest.err' 23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23885 (eval $ac_try) 2>&5 23886 ac_status=$? 23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23888 (exit $ac_status); }; } && 23889 { ac_try='test -s conftest.$ac_objext' 23890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 23891 (eval $ac_try) 2>&5 23892 ac_status=$? 23893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23894 (exit $ac_status); }; }; then 23895 ac_header_compiler=yes 23896 else 23897 echo "$as_me: failed program was:" >&5 23898 sed 's/^/| /' conftest.$ac_ext >&5 23899 23900 ac_header_compiler=no 23901 fi 23902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 23903 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 23904 echo "${ECHO_T}$ac_header_compiler" >&6 23905 23906 # Is the header present? 23907 echo "$as_me:$LINENO: checking $ac_header presence" >&5 23908 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 23909 cat >conftest.$ac_ext <<_ACEOF 23910 /* confdefs.h. */ 23911 _ACEOF 23912 cat confdefs.h >>conftest.$ac_ext 23913 cat >>conftest.$ac_ext <<_ACEOF 23914 /* end confdefs.h. */ 23915 #include <$ac_header> 23916 _ACEOF 23917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 23918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 23919 ac_status=$? 23920 grep -v '^ *+' conftest.er1 >conftest.err 23921 rm -f conftest.er1 23922 cat conftest.err >&5 23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23924 (exit $ac_status); } >/dev/null; then 23925 if test -s conftest.err; then 23926 ac_cpp_err=$ac_cxx_preproc_warn_flag 23927 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 23928 else 23929 ac_cpp_err= 23930 fi 23931 else 23932 ac_cpp_err=yes 23933 fi 23934 if test -z "$ac_cpp_err"; then 23935 ac_header_preproc=yes 23936 else 23937 echo "$as_me: failed program was:" >&5 23938 sed 's/^/| /' conftest.$ac_ext >&5 23939 23940 ac_header_preproc=no 23941 fi 23942 rm -f conftest.err conftest.$ac_ext 23943 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 23944 echo "${ECHO_T}$ac_header_preproc" >&6 23945 23946 # So? What about this header? 23947 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 23948 yes:no: ) 23949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 23950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 23951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 23952 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 23953 ac_header_preproc=yes 23954 ;; 23955 no:yes:* ) 23956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 23957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 23958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 23959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 23960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 23961 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 23962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 23963 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 23964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 23965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 23966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 23967 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 23968 ( 23969 cat <<\_ASBOX 23970 ## ------------------------------------ ## 23971 ## Report this to cbc@lists.coin-or.org ## 23972 ## ------------------------------------ ## 23973 _ASBOX 23974 ) | 23975 sed "s/^/$as_me: WARNING: /" >&2 23976 ;; 23977 esac 23978 echo "$as_me:$LINENO: checking for $ac_header" >&5 23979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 23980 if eval "test \"\${$as_ac_Header+set}\" = set"; then 23981 echo $ECHO_N "(cached) $ECHO_C" >&6 23982 else 23983 eval "$as_ac_Header=\$ac_header_preproc" 23984 fi 23985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 23986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 23987 23988 fi 23989 if test `eval echo '${'$as_ac_Header'}'` = yes; then 23990 cat >>confdefs.h <<_ACEOF 23991 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 23992 _ACEOF 23993 23994 fi 23995 23996 done 23997 23998 23999 if test "$ac_cv_header_cmath" != "yes"; then 24000 #if test x"" = x; then 24001 # hdr="#include <math.h>" 24002 #else 24003 # hdr="" 24004 #fi 24005 #AC_CHECK_HEADERS([math.h],[],[],[$hdr]) 24006 24007 for ac_header in math.h 24008 do 24009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24010 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24011 echo "$as_me:$LINENO: checking for $ac_header" >&5 24012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24013 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24014 echo $ECHO_N "(cached) $ECHO_C" >&6 24015 fi 24016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24018 else 24019 # Is the header compilable? 24020 echo "$as_me:$LINENO: checking $ac_header usability" >&5 24021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24022 cat >conftest.$ac_ext <<_ACEOF 24023 /* confdefs.h. */ 24024 _ACEOF 24025 cat confdefs.h >>conftest.$ac_ext 24026 cat >>conftest.$ac_ext <<_ACEOF 24027 /* end confdefs.h. */ 24028 $ac_includes_default 24029 #include <$ac_header> 24030 _ACEOF 24031 rm -f conftest.$ac_objext 24032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24033 (eval $ac_compile) 2>conftest.er1 24034 ac_status=$? 24035 grep -v '^ *+' conftest.er1 >conftest.err 24036 rm -f conftest.er1 24037 cat conftest.err >&5 24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24039 (exit $ac_status); } && 24040 { ac_try='test -z "$ac_cxx_werror_flag" 24041 || test ! -s conftest.err' 24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24043 (eval $ac_try) 2>&5 24044 ac_status=$? 24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24046 (exit $ac_status); }; } && 24047 { ac_try='test -s conftest.$ac_objext' 24048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24049 (eval $ac_try) 2>&5 24050 ac_status=$? 24051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24052 (exit $ac_status); }; }; then 24053 ac_header_compiler=yes 24054 else 24055 echo "$as_me: failed program was:" >&5 24056 sed 's/^/| /' conftest.$ac_ext >&5 24057 24058 ac_header_compiler=no 24059 fi 24060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24062 echo "${ECHO_T}$ac_header_compiler" >&6 24063 24064 # Is the header present? 24065 echo "$as_me:$LINENO: checking $ac_header presence" >&5 24066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24067 cat >conftest.$ac_ext <<_ACEOF 24068 /* confdefs.h. */ 24069 _ACEOF 24070 cat confdefs.h >>conftest.$ac_ext 24071 cat >>conftest.$ac_ext <<_ACEOF 24072 /* end confdefs.h. */ 24073 #include <$ac_header> 24074 _ACEOF 24075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24077 ac_status=$? 24078 grep -v '^ *+' conftest.er1 >conftest.err 24079 rm -f conftest.er1 24080 cat conftest.err >&5 24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24082 (exit $ac_status); } >/dev/null; then 24083 if test -s conftest.err; then 24084 ac_cpp_err=$ac_cxx_preproc_warn_flag 24085 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 24086 else 24087 ac_cpp_err= 24088 fi 24089 else 24090 ac_cpp_err=yes 24091 fi 24092 if test -z "$ac_cpp_err"; then 24093 ac_header_preproc=yes 24094 else 24095 echo "$as_me: failed program was:" >&5 24096 sed 's/^/| /' conftest.$ac_ext >&5 24097 24098 ac_header_preproc=no 24099 fi 24100 rm -f conftest.err conftest.$ac_ext 24101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24102 echo "${ECHO_T}$ac_header_preproc" >&6 24103 24104 # So? What about this header? 24105 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 24106 yes:no: ) 24107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24111 ac_header_preproc=yes 24112 ;; 24113 no:yes:* ) 24114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24126 ( 24127 cat <<\_ASBOX 24128 ## ------------------------------------ ## 24129 ## Report this to cbc@lists.coin-or.org ## 24130 ## ------------------------------------ ## 24131 _ASBOX 24132 ) | 24133 sed "s/^/$as_me: WARNING: /" >&2 24134 ;; 24135 esac 24136 echo "$as_me:$LINENO: checking for $ac_header" >&5 24137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24138 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24139 echo $ECHO_N "(cached) $ECHO_C" >&6 24140 else 24141 eval "$as_ac_Header=\$ac_header_preproc" 24142 fi 24143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24145 24146 fi 24147 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24148 cat >>confdefs.h <<_ACEOF 24149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24150 _ACEOF 24151 24152 fi 24153 24154 done 24155 24156 24157 fi 24158 ac_ext=c 24159 ac_cpp='$CPP $CPPFLAGS' 24160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24162 ac_compiler_gnu=$ac_cv_c_compiler_gnu 24163 24164 24165 ac_ext=cc 24166 ac_cpp='$CXXCPP $CPPFLAGS' 24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24170 24171 #if test x"" = x; then 24172 # hdr="#include <cfloat>" 24173 #else 24174 # hdr="" 24175 #fi 24176 #AC_CHECK_HEADERS([cfloat],[],[],[$hdr]) 24177 24178 for ac_header in cfloat 24179 do 24180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24181 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24182 echo "$as_me:$LINENO: checking for $ac_header" >&5 24183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24184 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24185 echo $ECHO_N "(cached) $ECHO_C" >&6 24186 fi 24187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24189 else 24190 # Is the header compilable? 24191 echo "$as_me:$LINENO: checking $ac_header usability" >&5 24192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24193 cat >conftest.$ac_ext <<_ACEOF 24194 /* confdefs.h. */ 24195 _ACEOF 24196 cat confdefs.h >>conftest.$ac_ext 24197 cat >>conftest.$ac_ext <<_ACEOF 24198 /* end confdefs.h. */ 24199 $ac_includes_default 24200 #include <$ac_header> 24201 _ACEOF 24202 rm -f conftest.$ac_objext 24203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24204 (eval $ac_compile) 2>conftest.er1 24205 ac_status=$? 24206 grep -v '^ *+' conftest.er1 >conftest.err 24207 rm -f conftest.er1 24208 cat conftest.err >&5 24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24210 (exit $ac_status); } && 24211 { ac_try='test -z "$ac_cxx_werror_flag" 24212 || test ! -s conftest.err' 24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24214 (eval $ac_try) 2>&5 24215 ac_status=$? 24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24217 (exit $ac_status); }; } && 24218 { ac_try='test -s conftest.$ac_objext' 24219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24220 (eval $ac_try) 2>&5 24221 ac_status=$? 24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24223 (exit $ac_status); }; }; then 24224 ac_header_compiler=yes 24225 else 24226 echo "$as_me: failed program was:" >&5 24227 sed 's/^/| /' conftest.$ac_ext >&5 24228 24229 ac_header_compiler=no 24230 fi 24231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24233 echo "${ECHO_T}$ac_header_compiler" >&6 24234 24235 # Is the header present? 24236 echo "$as_me:$LINENO: checking $ac_header presence" >&5 24237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24238 cat >conftest.$ac_ext <<_ACEOF 24239 /* confdefs.h. */ 24240 _ACEOF 24241 cat confdefs.h >>conftest.$ac_ext 24242 cat >>conftest.$ac_ext <<_ACEOF 24243 /* end confdefs.h. */ 24244 #include <$ac_header> 24245 _ACEOF 24246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24248 ac_status=$? 24249 grep -v '^ *+' conftest.er1 >conftest.err 24250 rm -f conftest.er1 24251 cat conftest.err >&5 24252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24253 (exit $ac_status); } >/dev/null; then 24254 if test -s conftest.err; then 24255 ac_cpp_err=$ac_cxx_preproc_warn_flag 24256 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 24257 else 24258 ac_cpp_err= 24259 fi 24260 else 24261 ac_cpp_err=yes 24262 fi 24263 if test -z "$ac_cpp_err"; then 24264 ac_header_preproc=yes 24265 else 24266 echo "$as_me: failed program was:" >&5 24267 sed 's/^/| /' conftest.$ac_ext >&5 24268 24269 ac_header_preproc=no 24270 fi 24271 rm -f conftest.err conftest.$ac_ext 24272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24273 echo "${ECHO_T}$ac_header_preproc" >&6 24274 24275 # So? What about this header? 24276 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 24277 yes:no: ) 24278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24282 ac_header_preproc=yes 24283 ;; 24284 no:yes:* ) 24285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24289 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24291 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24292 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24295 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24297 ( 24298 cat <<\_ASBOX 24299 ## ------------------------------------ ## 24300 ## Report this to cbc@lists.coin-or.org ## 24301 ## ------------------------------------ ## 24302 _ASBOX 24303 ) | 24304 sed "s/^/$as_me: WARNING: /" >&2 24305 ;; 24306 esac 24307 echo "$as_me:$LINENO: checking for $ac_header" >&5 24308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24309 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24310 echo $ECHO_N "(cached) $ECHO_C" >&6 24311 else 24312 eval "$as_ac_Header=\$ac_header_preproc" 24313 fi 24314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24316 24317 fi 24318 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24319 cat >>confdefs.h <<_ACEOF 24320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24321 _ACEOF 24322 24323 fi 24324 24325 done 24326 24327 24328 if test "$ac_cv_header_cfloat" != "yes"; then 24329 #if test x"" = x; then 24330 # hdr="#include <float.h>" 24331 #else 24332 # hdr="" 24333 #fi 24334 #AC_CHECK_HEADERS([float.h],[],[],[$hdr]) 24335 24336 for ac_header in float.h 24337 do 24338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24339 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24340 echo "$as_me:$LINENO: checking for $ac_header" >&5 24341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24342 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24343 echo $ECHO_N "(cached) $ECHO_C" >&6 24344 fi 24345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24347 else 24348 # Is the header compilable? 24349 echo "$as_me:$LINENO: checking $ac_header usability" >&5 24350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24351 cat >conftest.$ac_ext <<_ACEOF 24352 /* confdefs.h. */ 24353 _ACEOF 24354 cat confdefs.h >>conftest.$ac_ext 24355 cat >>conftest.$ac_ext <<_ACEOF 24356 /* end confdefs.h. */ 24357 $ac_includes_default 24358 #include <$ac_header> 24359 _ACEOF 24360 rm -f conftest.$ac_objext 24361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24362 (eval $ac_compile) 2>conftest.er1 24363 ac_status=$? 24364 grep -v '^ *+' conftest.er1 >conftest.err 24365 rm -f conftest.er1 24366 cat conftest.err >&5 24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24368 (exit $ac_status); } && 24369 { ac_try='test -z "$ac_cxx_werror_flag" 24370 || test ! -s conftest.err' 24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24372 (eval $ac_try) 2>&5 24373 ac_status=$? 24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24375 (exit $ac_status); }; } && 24376 { ac_try='test -s conftest.$ac_objext' 24377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24378 (eval $ac_try) 2>&5 24379 ac_status=$? 24380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24381 (exit $ac_status); }; }; then 24382 ac_header_compiler=yes 24383 else 24384 echo "$as_me: failed program was:" >&5 24385 sed 's/^/| /' conftest.$ac_ext >&5 24386 24387 ac_header_compiler=no 24388 fi 24389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24391 echo "${ECHO_T}$ac_header_compiler" >&6 24392 24393 # Is the header present? 24394 echo "$as_me:$LINENO: checking $ac_header presence" >&5 24395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24396 cat >conftest.$ac_ext <<_ACEOF 24397 /* confdefs.h. */ 24398 _ACEOF 24399 cat confdefs.h >>conftest.$ac_ext 24400 cat >>conftest.$ac_ext <<_ACEOF 24401 /* end confdefs.h. */ 24402 #include <$ac_header> 24403 _ACEOF 24404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24406 ac_status=$? 24407 grep -v '^ *+' conftest.er1 >conftest.err 24408 rm -f conftest.er1 24409 cat conftest.err >&5 24410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24411 (exit $ac_status); } >/dev/null; then 24412 if test -s conftest.err; then 24413 ac_cpp_err=$ac_cxx_preproc_warn_flag 24414 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 24415 else 24416 ac_cpp_err= 24417 fi 24418 else 24419 ac_cpp_err=yes 24420 fi 24421 if test -z "$ac_cpp_err"; then 24422 ac_header_preproc=yes 24423 else 24424 echo "$as_me: failed program was:" >&5 24425 sed 's/^/| /' conftest.$ac_ext >&5 24426 24427 ac_header_preproc=no 24428 fi 24429 rm -f conftest.err conftest.$ac_ext 24430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24431 echo "${ECHO_T}$ac_header_preproc" >&6 24432 24433 # So? What about this header? 24434 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 24435 yes:no: ) 24436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24440 ac_header_preproc=yes 24441 ;; 24442 no:yes:* ) 24443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24455 ( 24456 cat <<\_ASBOX 24457 ## ------------------------------------ ## 24458 ## Report this to cbc@lists.coin-or.org ## 24459 ## ------------------------------------ ## 24460 _ASBOX 24461 ) | 24462 sed "s/^/$as_me: WARNING: /" >&2 24463 ;; 24464 esac 24465 echo "$as_me:$LINENO: checking for $ac_header" >&5 24466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24467 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24468 echo $ECHO_N "(cached) $ECHO_C" >&6 24469 else 24470 eval "$as_ac_Header=\$ac_header_preproc" 24471 fi 24472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24474 24475 fi 24476 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24477 cat >>confdefs.h <<_ACEOF 24478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24479 _ACEOF 24480 24481 fi 24482 24483 done 24484 24485 24486 fi 24487 ac_ext=c 24488 ac_cpp='$CPP $CPPFLAGS' 24489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24491 ac_compiler_gnu=$ac_cv_c_compiler_gnu 24492 24493 24494 ac_ext=cc 24495 ac_cpp='$CXXCPP $CPPFLAGS' 24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 24499 24500 #if test x"" = x; then 24501 # hdr="#include <cieeefp>" 24502 #else 24503 # hdr="" 24504 #fi 24505 #AC_CHECK_HEADERS([cieeefp],[],[],[$hdr]) 24506 24507 for ac_header in cieeefp 24508 do 24509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24510 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24511 echo "$as_me:$LINENO: checking for $ac_header" >&5 24512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24513 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24514 echo $ECHO_N "(cached) $ECHO_C" >&6 24515 fi 24516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24518 else 24519 # Is the header compilable? 24520 echo "$as_me:$LINENO: checking $ac_header usability" >&5 24521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24522 cat >conftest.$ac_ext <<_ACEOF 24523 /* confdefs.h. */ 24524 _ACEOF 24525 cat confdefs.h >>conftest.$ac_ext 24526 cat >>conftest.$ac_ext <<_ACEOF 24527 /* end confdefs.h. */ 24528 $ac_includes_default 24529 #include <$ac_header> 24530 _ACEOF 24531 rm -f conftest.$ac_objext 24532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24533 (eval $ac_compile) 2>conftest.er1 24534 ac_status=$? 24535 grep -v '^ *+' conftest.er1 >conftest.err 24536 rm -f conftest.er1 24537 cat conftest.err >&5 24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24539 (exit $ac_status); } && 24540 { ac_try='test -z "$ac_cxx_werror_flag" 24541 || test ! -s conftest.err' 24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24543 (eval $ac_try) 2>&5 24544 ac_status=$? 24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24546 (exit $ac_status); }; } && 24547 { ac_try='test -s conftest.$ac_objext' 24548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24549 (eval $ac_try) 2>&5 24550 ac_status=$? 24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24552 (exit $ac_status); }; }; then 24553 ac_header_compiler=yes 24554 else 24555 echo "$as_me: failed program was:" >&5 24556 sed 's/^/| /' conftest.$ac_ext >&5 24557 24558 ac_header_compiler=no 24559 fi 24560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24562 echo "${ECHO_T}$ac_header_compiler" >&6 24563 24564 # Is the header present? 24565 echo "$as_me:$LINENO: checking $ac_header presence" >&5 24566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24567 cat >conftest.$ac_ext <<_ACEOF 24568 /* confdefs.h. */ 24569 _ACEOF 24570 cat confdefs.h >>conftest.$ac_ext 24571 cat >>conftest.$ac_ext <<_ACEOF 24572 /* end confdefs.h. */ 24573 #include <$ac_header> 24574 _ACEOF 24575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24577 ac_status=$? 24578 grep -v '^ *+' conftest.er1 >conftest.err 24579 rm -f conftest.er1 24580 cat conftest.err >&5 24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24582 (exit $ac_status); } >/dev/null; then 24583 if test -s conftest.err; then 24584 ac_cpp_err=$ac_cxx_preproc_warn_flag 24585 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 24586 else 24587 ac_cpp_err= 24588 fi 24589 else 24590 ac_cpp_err=yes 24591 fi 24592 if test -z "$ac_cpp_err"; then 24593 ac_header_preproc=yes 24594 else 24595 echo "$as_me: failed program was:" >&5 24596 sed 's/^/| /' conftest.$ac_ext >&5 24597 24598 ac_header_preproc=no 24599 fi 24600 rm -f conftest.err conftest.$ac_ext 24601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24602 echo "${ECHO_T}$ac_header_preproc" >&6 24603 24604 # So? What about this header? 24605 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 24606 yes:no: ) 24607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24611 ac_header_preproc=yes 24612 ;; 24613 no:yes:* ) 24614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24626 ( 24627 cat <<\_ASBOX 24628 ## ------------------------------------ ## 24629 ## Report this to cbc@lists.coin-or.org ## 24630 ## ------------------------------------ ## 24631 _ASBOX 24632 ) | 24633 sed "s/^/$as_me: WARNING: /" >&2 24634 ;; 24635 esac 24636 echo "$as_me:$LINENO: checking for $ac_header" >&5 24637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24638 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24639 echo $ECHO_N "(cached) $ECHO_C" >&6 24640 else 24641 eval "$as_ac_Header=\$ac_header_preproc" 24642 fi 24643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24645 24646 fi 24647 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24648 cat >>confdefs.h <<_ACEOF 24649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24650 _ACEOF 24651 24652 fi 24653 24654 done 24655 24656 24657 if test "$ac_cv_header_cieeefp" != "yes"; then 24658 #if test x"" = x; then 24659 # hdr="#include <ieeefp.h>" 24660 #else 24661 # hdr="" 24662 #fi 24663 #AC_CHECK_HEADERS([ieeefp.h],[],[],[$hdr]) 24664 24665 for ac_header in ieeefp.h 24666 do 24667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 24668 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24669 echo "$as_me:$LINENO: checking for $ac_header" >&5 24670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24671 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24672 echo $ECHO_N "(cached) $ECHO_C" >&6 24673 fi 24674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24676 else 24677 # Is the header compilable? 24678 echo "$as_me:$LINENO: checking $ac_header usability" >&5 24679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 24680 cat >conftest.$ac_ext <<_ACEOF 24681 /* confdefs.h. */ 24682 _ACEOF 24683 cat confdefs.h >>conftest.$ac_ext 24684 cat >>conftest.$ac_ext <<_ACEOF 24685 /* end confdefs.h. */ 24686 $ac_includes_default 24687 #include <$ac_header> 24688 _ACEOF 24689 rm -f conftest.$ac_objext 24690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 24691 (eval $ac_compile) 2>conftest.er1 24692 ac_status=$? 24693 grep -v '^ *+' conftest.er1 >conftest.err 24694 rm -f conftest.er1 24695 cat conftest.err >&5 24696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24697 (exit $ac_status); } && 24698 { ac_try='test -z "$ac_cxx_werror_flag" 24699 || test ! -s conftest.err' 24700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24701 (eval $ac_try) 2>&5 24702 ac_status=$? 24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24704 (exit $ac_status); }; } && 24705 { ac_try='test -s conftest.$ac_objext' 24706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 24707 (eval $ac_try) 2>&5 24708 ac_status=$? 24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24710 (exit $ac_status); }; }; then 24711 ac_header_compiler=yes 24712 else 24713 echo "$as_me: failed program was:" >&5 24714 sed 's/^/| /' conftest.$ac_ext >&5 24715 24716 ac_header_compiler=no 24717 fi 24718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 24719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 24720 echo "${ECHO_T}$ac_header_compiler" >&6 24721 24722 # Is the header present? 24723 echo "$as_me:$LINENO: checking $ac_header presence" >&5 24724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 24725 cat >conftest.$ac_ext <<_ACEOF 24726 /* confdefs.h. */ 24727 _ACEOF 24728 cat confdefs.h >>conftest.$ac_ext 24729 cat >>conftest.$ac_ext <<_ACEOF 24730 /* end confdefs.h. */ 24731 #include <$ac_header> 24732 _ACEOF 24733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 24734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 24735 ac_status=$? 24736 grep -v '^ *+' conftest.er1 >conftest.err 24737 rm -f conftest.er1 24738 cat conftest.err >&5 24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24740 (exit $ac_status); } >/dev/null; then 24741 if test -s conftest.err; then 24742 ac_cpp_err=$ac_cxx_preproc_warn_flag 24743 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag 24744 else 24745 ac_cpp_err= 24746 fi 24747 else 24748 ac_cpp_err=yes 24749 fi 24750 if test -z "$ac_cpp_err"; then 24751 ac_header_preproc=yes 24752 else 24753 echo "$as_me: failed program was:" >&5 24754 sed 's/^/| /' conftest.$ac_ext >&5 24755 24756 ac_header_preproc=no 24757 fi 24758 rm -f conftest.err conftest.$ac_ext 24759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 24760 echo "${ECHO_T}$ac_header_preproc" >&6 24761 24762 # So? What about this header? 24763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 24764 yes:no: ) 24765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 24766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 24767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 24768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 24769 ac_header_preproc=yes 24770 ;; 24771 no:yes:* ) 24772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 24773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 24774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 24775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 24776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 24777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 24778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 24779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 24780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 24781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 24782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 24783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 24784 ( 24785 cat <<\_ASBOX 24786 ## ------------------------------------ ## 24787 ## Report this to cbc@lists.coin-or.org ## 24788 ## ------------------------------------ ## 24789 _ASBOX 24790 ) | 24791 sed "s/^/$as_me: WARNING: /" >&2 24792 ;; 24793 esac 24794 echo "$as_me:$LINENO: checking for $ac_header" >&5 24795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 24796 if eval "test \"\${$as_ac_Header+set}\" = set"; then 24797 echo $ECHO_N "(cached) $ECHO_C" >&6 24798 else 24799 eval "$as_ac_Header=\$ac_header_preproc" 24800 fi 24801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 24802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 24803 24804 fi 24805 if test `eval echo '${'$as_ac_Header'}'` = yes; then 24806 cat >>confdefs.h <<_ACEOF 24807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 24808 _ACEOF 24809 24810 fi 24811 24812 done 24813 24814 24815 fi 24816 ac_ext=c 24817 ac_cpp='$CPP $CPPFLAGS' 24818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 24819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 24820 ac_compiler_gnu=$ac_cv_c_compiler_gnu 23355 24821 23356 24822 … … 23376 24842 fi 23377 24843 24844 if test "$coin_has_dylp" != skipping; then 24845 24846 # Check whether --with-m4_tolower(DyLP) or --without-m4_tolower(DyLP) was given. 24847 if test "${with_dylp+set}" = set; then 24848 withval="$with_dylp" 24849 if test "$withval" = no ; then 24850 coin_has_dylp=skipping 24851 fi 24852 24853 fi; 24854 fi 24855 23378 24856 DYLP_LIBS= 23379 24857 DYLP_CFLAGS= 23380 24858 DYLP_DATA= 23381 23382 23383 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 #check if user provided LIBS, CFLAGS, or DATA for module 24859 DYLP_DEPENDENCIES= 24860 DYLP_PCLIBS= 24861 DYLP_PCREQUIRES= 24862 DYLP_DATA= 24863 24864 24865 24866 24867 24868 24869 24870 24871 24872 24873 24874 24875 24876 24877 24878 24879 24880 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 23399 24881 if test $coin_has_dylp != skipping; then 23400 23401 24882 23402 24883 # Check whether --with-m4_tolower(DyLP)-lib or --without-m4_tolower(DyLP)-lib was given. 23403 24884 if test "${with_dylp_lib+set}" = set; then 23404 24885 withval="$with_dylp_lib" 23405 coin_has_dylp=yes 24886 if test "$withval" = no ; then 24887 coin_has_dylp=skipping 24888 else 24889 coin_has_dylp=yes 23406 24890 DYLP_LIBS="$withval" 24891 DYLP_PCLIBS="$withval" 23407 24892 23408 24893 CBCGENERIC_PCLIBS="$withval $CBCGENERIC_PCLIBS" 23409 24894 CBCGENERIC_LIBS="$withval $CBCGENERIC_LIBS" 23410 24895 24896 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 24897 if test -z "$PKG_CONFIG" ; then 24898 DYLP_LIBS_INSTALLED="$withval" 24899 CBCGENERIC_LIBS_INSTALLED="$withval $CBCGENERIC_LIBS_INSTALLED" 24900 fi 24901 fi 23411 24902 23412 24903 fi; 23413 24904 fi 24905 24906 if test $coin_has_dylp != skipping; then 23414 24907 23415 24908 # Check whether --with-m4_tolower(DyLP)-incdir or --without-m4_tolower(DyLP)-incdir was given. 23416 24909 if test "${with_dylp_incdir+set}" = set; then 23417 24910 withval="$with_dylp_incdir" 23418 coin_has_dylp=yes 23419 DYLP_CFLAGS="-I`${CYGPATH_W} $withval`" 23420 CBCGENERIC_CFLAGS="$withval $CBCGENERIC_CFLAGS" 23421 24911 if test "$withval" = no ; then 24912 coin_has_dylp=skipping 24913 else 24914 coin_has_dylp=yes 24915 DYLP_CFLAGS="-I`${CYGPATH_W} $withval`" 24916 CBCGENERIC_CFLAGS="-I`${CYGPATH_W} $withval` $CBCGENERIC_CFLAGS" 24917 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 24918 if test -z "$PKG_CONFIG" ; then 24919 DYLP_CFLAGS_INSTALLED="$DYLP_CFLAGS" 24920 CBCGENERIC_CFLAGS_INSTALLED="$DYLP_CFLAGS $CBCGENERIC_CFLAGS_INSTALLED" 24921 fi 24922 fi 23422 24923 23423 24924 fi; 23424 24925 fi 24926 24927 if test $coin_has_dylp != skipping; then 23425 24928 23426 24929 # Check whether --with-m4_tolower(DyLP)-datadir or --without-m4_tolower(DyLP)-datadir was given. 23427 24930 if test "${with_dylp_datadir+set}" = set; then 23428 24931 withval="$with_dylp_datadir" 23429 coin_has_dylp=yes 23430 DYLP_DATA="$withval" 24932 if test "$withval" = no ; then 24933 coin_has_dylp=skipping 24934 else 24935 coin_has_dylp=yes 24936 DYLP_DATA="$withval" 24937 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 24938 if test -z "$PKG_CONFIG" ; then 24939 DYLP_DATA_INSTALLED="$withval" 24940 fi 24941 fi 24942 23431 24943 fi; 23432 24944 fi … … 23446 24958 if test -n "$PKG_CONFIG" ; then 23447 24959 if $PKG_CONFIG --exists "osi-dylp"; then 23448 DYLP_VERSIONS="`$PKG_CONFIG --modversion "osi-dylp" 2>/dev/null | tr '\n' ' '`"24960 DYLP_VERSIONS="`$PKG_CONFIG --modversion "osi-dylp" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 23449 24961 cflags=`$PKG_CONFIG --cflags "osi-dylp" 2>/dev/null` 23450 24962 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 23468 24980 DYLP_LIBS=`echo " $DYLP_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 23469 24981 fi 24982 DYLP_PCREQUIRES="osi-dylp" 23470 24983 23471 24984 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in CbcGeneric … … 23511 25024 DYLP_DATA= 23512 25025 DYLP_DATA_INSTALLED= 23513 23514 # initial list of dependencies is "osi-dylp", but we need to filter out version number specifications (= x, <= x, >= x) 25026 DYLP_PCLIBS= 25027 DYLP_PCREQUIRES= 25028 25029 # initial list of dependencies is "osi-dylp", but we need to filter out version number specifications (= x, <= x, >= x, != x) 23515 25030 projtoprocess="osi-dylp" 23516 25031 … … 23551 25066 # add projrequires to the front of the list of projects that have to be processed next 23552 25067 # at the same time, remove $proj from this list 23553 projtoprocess= ${projtoprocess/$proj/$projrequires}25068 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 23554 25069 23555 25070 # read DATA from $pcfile, if _DATA is still empty … … 23619 25134 # replace "Cflags:" by "echo projcflags=" 23620 25135 # remove every line starting with <some word>: 23621 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`25136 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 23622 25137 23623 25138 # set projcflags and projlibs variables by running $pcfilemod 25139 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 23624 25140 projcflags= 23625 25141 projlibs= 25142 IFS="$save_IFS" 23626 25143 eval `sh -c "$pcfilemod"` 25144 IFS=":" 23627 25145 23628 25146 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 23664 25182 # replace "Cflags:" by "echo projcflags=" 23665 25183 # remove every line starting with <some word>: 23666 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`25184 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 23667 25185 23668 25186 # set projcflags and projlibs variables by running $pcfilemod 25187 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 23669 25188 projcflags= 23670 25189 projlibs= 25190 IFS="$save_IFS" 23671 25191 eval `sh -c "$pcfilemod"` 25192 IFS=":" 23672 25193 23673 25194 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 23700 25221 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 23701 25222 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 23702 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and23703 # everything of the form "- lname" by "libname.lib"25223 # everything of the form "-lname" by "libname.lib", and 25224 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 23704 25225 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 23705 25226 then 23706 25227 DYLP_LIBS=`echo " $DYLP_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 23707 DYLP_LIBS_INSTALLED=`echo " $DYLP_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`25228 DYLP_LIBS_INSTALLED=`echo " $DYLP_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 23708 25229 fi 23709 25230 25231 DYLP_PCREQUIRES="osi-dylp" 23710 25232 23711 25233 CBCGENERIC_PCREQUIRES="osi-dylp $CBCGENERIC_PCREQUIRES" … … 23746 25268 23747 25269 23748 # construct dependencies variables from LIBS variables 23749 # we add an extra space in LIBS so we can substitute out everything starting with " -" 23750 # before, substitute out everything of the form -framework xxx as used on Mac 23751 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 23752 DYLP_DEPENDENCIES=`echo " $DYLP_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 23753 23754 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 23755 25270 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 25271 if test "${enable_interpackage_dependencies+set}" = set; then 25272 enableval="$enable_interpackage_dependencies" 25273 25274 else 25275 enable_interpackage_dependencies=yes 25276 fi; 25277 25278 if test $enable_interpackage_dependencies = yes ; then 25279 # construct dependencies variables from LIBS variables 25280 # we add an extra space in LIBS so we can substitute out everything starting with " -" 25281 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 25282 # then remove everything of the form -xxx 25283 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 25284 DYLP_DEPENDENCIES=`echo " $DYLP_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25285 25286 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25287 25288 fi 23756 25289 23757 25290 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 23772 25305 echo "$as_me: DyLP DATA is $DYLP_DATA" >&6;} 23773 25306 fi 23774 if test -n "$DYLP_CFLAGS" ; then 23775 { echo "$as_me:$LINENO: DyLP CFLAGS are $DYLP_CFLAGS" >&5 23776 echo "$as_me: DyLP CFLAGS are $DYLP_CFLAGS" >&6;} 25307 if test -n "$DYLP_PCLIBS" ; then 25308 { echo "$as_me:$LINENO: DyLP PCLIBS are $DYLP_PCLIBS" >&5 25309 echo "$as_me: DyLP PCLIBS are $DYLP_PCLIBS" >&6;} 25310 fi 25311 if test -n "$DYLP_PCREQUIRES" ; then 25312 { echo "$as_me:$LINENO: DyLP PCREQUIRES are $DYLP_PCREQUIRES" >&5 25313 echo "$as_me: DyLP PCREQUIRES are $DYLP_PCREQUIRES" >&6;} 23777 25314 fi 23778 25315 … … 23816 25353 fi 23817 25354 25355 if test "$coin_has_vol" != skipping; then 25356 25357 # Check whether --with-m4_tolower(Vol) or --without-m4_tolower(Vol) was given. 25358 if test "${with_vol+set}" = set; then 25359 withval="$with_vol" 25360 if test "$withval" = no ; then 25361 coin_has_vol=skipping 25362 fi 25363 25364 fi; 25365 fi 25366 23818 25367 VOL_LIBS= 23819 25368 VOL_CFLAGS= 23820 25369 VOL_DATA= 23821 23822 23823 23824 23825 23826 23827 23828 23829 23830 #check if user provided LIBS, CFLAGS, or DATA for module 25370 VOL_DEPENDENCIES= 25371 VOL_PCLIBS= 25372 VOL_PCREQUIRES= 25373 VOL_DATA= 25374 25375 25376 25377 25378 25379 25380 25381 25382 25383 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 23831 25384 if test $coin_has_vol != skipping; then 23832 23833 25385 23834 25386 # Check whether --with-m4_tolower(Vol)-lib or --without-m4_tolower(Vol)-lib was given. 23835 25387 if test "${with_vol_lib+set}" = set; then 23836 25388 withval="$with_vol_lib" 23837 coin_has_vol=yes 25389 if test "$withval" = no ; then 25390 coin_has_vol=skipping 25391 else 25392 coin_has_vol=yes 23838 25393 VOL_LIBS="$withval" 23839 25394 VOL_PCLIBS="$withval" 25395 25396 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25397 if test -z "$PKG_CONFIG" ; then 25398 VOL_LIBS_INSTALLED="$withval" 25399 25400 fi 25401 fi 23840 25402 23841 25403 fi; 23842 25404 fi 25405 25406 if test $coin_has_vol != skipping; then 23843 25407 23844 25408 # Check whether --with-m4_tolower(Vol)-incdir or --without-m4_tolower(Vol)-incdir was given. 23845 25409 if test "${with_vol_incdir+set}" = set; then 23846 25410 withval="$with_vol_incdir" 23847 coin_has_vol=yes 23848 VOL_CFLAGS="-I`${CYGPATH_W} $withval`" 23849 25411 if test "$withval" = no ; then 25412 coin_has_vol=skipping 25413 else 25414 coin_has_vol=yes 25415 VOL_CFLAGS="-I`${CYGPATH_W} $withval`" 25416 25417 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25418 if test -z "$PKG_CONFIG" ; then 25419 VOL_CFLAGS_INSTALLED="$VOL_CFLAGS" 25420 25421 fi 25422 fi 23850 25423 23851 25424 fi; 23852 25425 fi 25426 25427 if test $coin_has_vol != skipping; then 23853 25428 23854 25429 # Check whether --with-m4_tolower(Vol)-datadir or --without-m4_tolower(Vol)-datadir was given. 23855 25430 if test "${with_vol_datadir+set}" = set; then 23856 25431 withval="$with_vol_datadir" 23857 coin_has_vol=yes 23858 VOL_DATA="$withval" 25432 if test "$withval" = no ; then 25433 coin_has_vol=skipping 25434 else 25435 coin_has_vol=yes 25436 VOL_DATA="$withval" 25437 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25438 if test -z "$PKG_CONFIG" ; then 25439 VOL_DATA_INSTALLED="$withval" 25440 fi 25441 fi 25442 23859 25443 fi; 23860 25444 fi … … 23874 25458 if test -n "$PKG_CONFIG" ; then 23875 25459 if $PKG_CONFIG --exists "osi-vol"; then 23876 VOL_VERSIONS="`$PKG_CONFIG --modversion "osi-vol" 2>/dev/null | tr '\n' ' '`"25460 VOL_VERSIONS="`$PKG_CONFIG --modversion "osi-vol" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 23877 25461 cflags=`$PKG_CONFIG --cflags "osi-vol" 2>/dev/null` 23878 25462 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 23896 25480 VOL_LIBS=`echo " $VOL_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 23897 25481 fi 25482 VOL_PCREQUIRES="osi-vol" 23898 25483 23899 25484 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 23935 25520 VOL_DATA= 23936 25521 VOL_DATA_INSTALLED= 23937 23938 # initial list of dependencies is "osi-vol", but we need to filter out version number specifications (= x, <= x, >= x) 25522 VOL_PCLIBS= 25523 VOL_PCREQUIRES= 25524 25525 # initial list of dependencies is "osi-vol", but we need to filter out version number specifications (= x, <= x, >= x, != x) 23939 25526 projtoprocess="osi-vol" 23940 25527 … … 23975 25562 # add projrequires to the front of the list of projects that have to be processed next 23976 25563 # at the same time, remove $proj from this list 23977 projtoprocess= ${projtoprocess/$proj/$projrequires}25564 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 23978 25565 23979 25566 # read DATA from $pcfile, if _DATA is still empty … … 24043 25630 # replace "Cflags:" by "echo projcflags=" 24044 25631 # remove every line starting with <some word>: 24045 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`25632 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 24046 25633 24047 25634 # set projcflags and projlibs variables by running $pcfilemod 25635 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 24048 25636 projcflags= 24049 25637 projlibs= 25638 IFS="$save_IFS" 24050 25639 eval `sh -c "$pcfilemod"` 25640 IFS=":" 24051 25641 24052 25642 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 24088 25678 # replace "Cflags:" by "echo projcflags=" 24089 25679 # remove every line starting with <some word>: 24090 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`25680 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 24091 25681 24092 25682 # set projcflags and projlibs variables by running $pcfilemod 25683 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 24093 25684 projcflags= 24094 25685 projlibs= 25686 IFS="$save_IFS" 24095 25687 eval `sh -c "$pcfilemod"` 25688 IFS=":" 24096 25689 24097 25690 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 24124 25717 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 24125 25718 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 24126 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and24127 # everything of the form "- lname" by "libname.lib"25719 # everything of the form "-lname" by "libname.lib", and 25720 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 24128 25721 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 24129 25722 then 24130 25723 VOL_LIBS=`echo " $VOL_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 24131 VOL_LIBS_INSTALLED=`echo " $VOL_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`25724 VOL_LIBS_INSTALLED=`echo " $VOL_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 24132 25725 fi 24133 25726 25727 VOL_PCREQUIRES="osi-vol" 24134 25728 24135 25729 … … 24164 25758 24165 25759 24166 # construct dependencies variables from LIBS variables 24167 # we add an extra space in LIBS so we can substitute out everything starting with " -" 24168 # before, substitute out everything of the form -framework xxx as used on Mac 24169 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 24170 VOL_DEPENDENCIES=`echo " $VOL_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 24171 25760 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 25761 if test "${enable_interpackage_dependencies+set}" = set; then 25762 enableval="$enable_interpackage_dependencies" 25763 25764 else 25765 enable_interpackage_dependencies=yes 25766 fi; 25767 25768 if test $enable_interpackage_dependencies = yes ; then 25769 # construct dependencies variables from LIBS variables 25770 # we add an extra space in LIBS so we can substitute out everything starting with " -" 25771 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 25772 # then remove everything of the form -xxx 25773 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 25774 VOL_DEPENDENCIES=`echo " $VOL_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25775 25776 fi 24172 25777 24173 25778 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 24188 25793 echo "$as_me: Vol DATA is $VOL_DATA" >&6;} 24189 25794 fi 24190 if test -n "$VOL_CFLAGS" ; then 24191 { echo "$as_me:$LINENO: Vol CFLAGS are $VOL_CFLAGS" >&5 24192 echo "$as_me: Vol CFLAGS are $VOL_CFLAGS" >&6;} 25795 if test -n "$VOL_PCLIBS" ; then 25796 { echo "$as_me:$LINENO: Vol PCLIBS are $VOL_PCLIBS" >&5 25797 echo "$as_me: Vol PCLIBS are $VOL_PCLIBS" >&6;} 25798 fi 25799 if test -n "$VOL_PCREQUIRES" ; then 25800 { echo "$as_me:$LINENO: Vol PCREQUIRES are $VOL_PCREQUIRES" >&5 25801 echo "$as_me: Vol PCREQUIRES are $VOL_PCREQUIRES" >&6;} 24193 25802 fi 24194 25803 … … 24225 25834 fi 24226 25835 25836 if test "$coin_has_cpx" != skipping; then 25837 25838 # Check whether --with-m4_tolower(Cpx) or --without-m4_tolower(Cpx) was given. 25839 if test "${with_cpx+set}" = set; then 25840 withval="$with_cpx" 25841 if test "$withval" = no ; then 25842 coin_has_cpx=skipping 25843 fi 25844 25845 fi; 25846 fi 25847 24227 25848 CPX_LIBS= 24228 25849 CPX_CFLAGS= 24229 25850 CPX_DATA= 24230 24231 24232 24233 24234 24235 24236 24237 24238 24239 24240 24241 24242 24243 24244 24245 24246 24247 24248 24249 24250 24251 24252 24253 24254 24255 #check if user provided LIBS, CFLAGS, or DATA for module 25851 CPX_DEPENDENCIES= 25852 CPX_PCLIBS= 25853 CPX_PCREQUIRES= 25854 CPX_DATA= 25855 25856 25857 25858 25859 25860 25861 25862 25863 25864 25865 25866 25867 25868 25869 25870 25871 25872 25873 25874 25875 25876 25877 25878 25879 25880 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 24256 25881 if test $coin_has_cpx != skipping; then 24257 24258 25882 24259 25883 # Check whether --with-m4_tolower(Cpx)-lib or --without-m4_tolower(Cpx)-lib was given. 24260 25884 if test "${with_cpx_lib+set}" = set; then 24261 25885 withval="$with_cpx_lib" 24262 coin_has_cpx=yes 25886 if test "$withval" = no ; then 25887 coin_has_cpx=skipping 25888 else 25889 coin_has_cpx=yes 24263 25890 CPX_LIBS="$withval" 25891 CPX_PCLIBS="$withval" 24264 25892 24265 25893 CBCLIB_PCLIBS="$withval $CBCLIB_PCLIBS" … … 24269 25897 CBCGENERIC_LIBS="$withval $CBCGENERIC_LIBS" 24270 25898 25899 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25900 if test -z "$PKG_CONFIG" ; then 25901 CPX_LIBS_INSTALLED="$withval" 25902 CBCLIB_LIBS_INSTALLED="$withval $CBCLIB_LIBS_INSTALLED"CBCGENERIC_LIBS_INSTALLED="$withval $CBCGENERIC_LIBS_INSTALLED" 25903 fi 25904 fi 24271 25905 24272 25906 fi; 24273 25907 fi 25908 25909 if test $coin_has_cpx != skipping; then 24274 25910 24275 25911 # Check whether --with-m4_tolower(Cpx)-incdir or --without-m4_tolower(Cpx)-incdir was given. 24276 25912 if test "${with_cpx_incdir+set}" = set; then 24277 25913 withval="$with_cpx_incdir" 24278 coin_has_cpx=yes 24279 CPX_CFLAGS="-I`${CYGPATH_W} $withval`" 24280 CBCLIB_CFLAGS="$withval $CBCLIB_CFLAGS" 24281 CBCGENERIC_CFLAGS="$withval $CBCGENERIC_CFLAGS" 24282 25914 if test "$withval" = no ; then 25915 coin_has_cpx=skipping 25916 else 25917 coin_has_cpx=yes 25918 CPX_CFLAGS="-I`${CYGPATH_W} $withval`" 25919 CBCLIB_CFLAGS="-I`${CYGPATH_W} $withval` $CBCLIB_CFLAGS"CBCGENERIC_CFLAGS="-I`${CYGPATH_W} $withval` $CBCGENERIC_CFLAGS" 25920 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25921 if test -z "$PKG_CONFIG" ; then 25922 CPX_CFLAGS_INSTALLED="$CPX_CFLAGS" 25923 CBCLIB_CFLAGS_INSTALLED="$CPX_CFLAGS $CBCLIB_CFLAGS_INSTALLED"CBCGENERIC_CFLAGS_INSTALLED="$CPX_CFLAGS $CBCGENERIC_CFLAGS_INSTALLED" 25924 fi 25925 fi 24283 25926 24284 25927 fi; 24285 25928 fi 25929 25930 if test $coin_has_cpx != skipping; then 24286 25931 24287 25932 # Check whether --with-m4_tolower(Cpx)-datadir or --without-m4_tolower(Cpx)-datadir was given. 24288 25933 if test "${with_cpx_datadir+set}" = set; then 24289 25934 withval="$with_cpx_datadir" 24290 coin_has_cpx=yes 24291 CPX_DATA="$withval" 25935 if test "$withval" = no ; then 25936 coin_has_cpx=skipping 25937 else 25938 coin_has_cpx=yes 25939 CPX_DATA="$withval" 25940 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 25941 if test -z "$PKG_CONFIG" ; then 25942 CPX_DATA_INSTALLED="$withval" 25943 fi 25944 fi 25945 24292 25946 fi; 24293 25947 fi … … 24307 25961 if test -n "$PKG_CONFIG" ; then 24308 25962 if $PKG_CONFIG --exists "osi-cplex"; then 24309 CPX_VERSIONS="`$PKG_CONFIG --modversion "osi-cplex" 2>/dev/null | tr '\n' ' '`"25963 CPX_VERSIONS="`$PKG_CONFIG --modversion "osi-cplex" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 24310 25964 cflags=`$PKG_CONFIG --cflags "osi-cplex" 2>/dev/null` 24311 25965 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 24329 25983 CPX_LIBS=`echo " $CPX_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 24330 25984 fi 25985 CPX_PCREQUIRES="osi-cplex" 24331 25986 24332 25987 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in CbcLib CbcGeneric … … 24376 26031 CPX_DATA= 24377 26032 CPX_DATA_INSTALLED= 24378 24379 # initial list of dependencies is "osi-cplex", but we need to filter out version number specifications (= x, <= x, >= x) 26033 CPX_PCLIBS= 26034 CPX_PCREQUIRES= 26035 26036 # initial list of dependencies is "osi-cplex", but we need to filter out version number specifications (= x, <= x, >= x, != x) 24380 26037 projtoprocess="osi-cplex" 24381 26038 … … 24416 26073 # add projrequires to the front of the list of projects that have to be processed next 24417 26074 # at the same time, remove $proj from this list 24418 projtoprocess= ${projtoprocess/$proj/$projrequires}26075 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 24419 26076 24420 26077 # read DATA from $pcfile, if _DATA is still empty … … 24484 26141 # replace "Cflags:" by "echo projcflags=" 24485 26142 # remove every line starting with <some word>: 24486 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`26143 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 24487 26144 24488 26145 # set projcflags and projlibs variables by running $pcfilemod 26146 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 24489 26147 projcflags= 24490 26148 projlibs= 26149 IFS="$save_IFS" 24491 26150 eval `sh -c "$pcfilemod"` 26151 IFS=":" 24492 26152 24493 26153 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 24529 26189 # replace "Cflags:" by "echo projcflags=" 24530 26190 # remove every line starting with <some word>: 24531 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`26191 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 24532 26192 24533 26193 # set projcflags and projlibs variables by running $pcfilemod 26194 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 24534 26195 projcflags= 24535 26196 projlibs= 26197 IFS="$save_IFS" 24536 26198 eval `sh -c "$pcfilemod"` 26199 IFS=":" 24537 26200 24538 26201 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 24565 26228 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 24566 26229 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 24567 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and24568 # everything of the form "- lname" by "libname.lib"26230 # everything of the form "-lname" by "libname.lib", and 26231 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 24569 26232 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 24570 26233 then 24571 26234 CPX_LIBS=`echo " $CPX_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 24572 CPX_LIBS_INSTALLED=`echo " $CPX_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`26235 CPX_LIBS_INSTALLED=`echo " $CPX_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 24573 26236 fi 24574 26237 26238 CPX_PCREQUIRES="osi-cplex" 24575 26239 24576 26240 CBCLIB_PCREQUIRES="osi-cplex $CBCLIB_PCREQUIRES" … … 24617 26281 24618 26282 24619 # construct dependencies variables from LIBS variables 24620 # we add an extra space in LIBS so we can substitute out everything starting with " -" 24621 # before, substitute out everything of the form -framework xxx as used on Mac 24622 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 24623 CPX_DEPENDENCIES=`echo " $CPX_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 24624 24625 CBCLIB_DEPENDENCIES=`echo " $CBCLIB_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 24626 24627 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 24628 26283 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 26284 if test "${enable_interpackage_dependencies+set}" = set; then 26285 enableval="$enable_interpackage_dependencies" 26286 26287 else 26288 enable_interpackage_dependencies=yes 26289 fi; 26290 26291 if test $enable_interpackage_dependencies = yes ; then 26292 # construct dependencies variables from LIBS variables 26293 # we add an extra space in LIBS so we can substitute out everything starting with " -" 26294 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 26295 # then remove everything of the form -xxx 26296 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 26297 CPX_DEPENDENCIES=`echo " $CPX_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26298 26299 CBCLIB_DEPENDENCIES=`echo " $CBCLIB_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26300 26301 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26302 26303 fi 24629 26304 24630 26305 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 24645 26320 echo "$as_me: Cpx DATA is $CPX_DATA" >&6;} 24646 26321 fi 24647 if test -n "$CPX_CFLAGS" ; then 24648 { echo "$as_me:$LINENO: Cpx CFLAGS are $CPX_CFLAGS" >&5 24649 echo "$as_me: Cpx CFLAGS are $CPX_CFLAGS" >&6;} 26322 if test -n "$CPX_PCLIBS" ; then 26323 { echo "$as_me:$LINENO: Cpx PCLIBS are $CPX_PCLIBS" >&5 26324 echo "$as_me: Cpx PCLIBS are $CPX_PCLIBS" >&6;} 26325 fi 26326 if test -n "$CPX_PCREQUIRES" ; then 26327 { echo "$as_me:$LINENO: Cpx PCREQUIRES are $CPX_PCREQUIRES" >&5 26328 echo "$as_me: Cpx PCREQUIRES are $CPX_PCREQUIRES" >&6;} 24650 26329 fi 24651 26330 … … 24696 26375 fi 24697 26376 26377 if test "$coin_has_glpk" != skipping; then 26378 26379 # Check whether --with-m4_tolower(Glpk) or --without-m4_tolower(Glpk) was given. 26380 if test "${with_glpk+set}" = set; then 26381 withval="$with_glpk" 26382 if test "$withval" = no ; then 26383 coin_has_glpk=skipping 26384 fi 26385 26386 fi; 26387 fi 26388 24698 26389 GLPK_LIBS= 24699 26390 GLPK_CFLAGS= 24700 26391 GLPK_DATA= 24701 24702 24703 24704 24705 24706 24707 24708 24709 24710 24711 24712 24713 24714 24715 24716 24717 24718 #check if user provided LIBS, CFLAGS, or DATA for module 26392 GLPK_DEPENDENCIES= 26393 GLPK_PCLIBS= 26394 GLPK_PCREQUIRES= 26395 GLPK_DATA= 26396 26397 26398 26399 26400 26401 26402 26403 26404 26405 26406 26407 26408 26409 26410 26411 26412 26413 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 24719 26414 if test $coin_has_glpk != skipping; then 24720 24721 26415 24722 26416 # Check whether --with-m4_tolower(Glpk)-lib or --without-m4_tolower(Glpk)-lib was given. 24723 26417 if test "${with_glpk_lib+set}" = set; then 24724 26418 withval="$with_glpk_lib" 24725 coin_has_glpk=yes 26419 if test "$withval" = no ; then 26420 coin_has_glpk=skipping 26421 else 26422 coin_has_glpk=yes 24726 26423 GLPK_LIBS="$withval" 26424 GLPK_PCLIBS="$withval" 24727 26425 24728 26426 CBCGENERIC_PCLIBS="$withval $CBCGENERIC_PCLIBS" 24729 26427 CBCGENERIC_LIBS="$withval $CBCGENERIC_LIBS" 24730 26428 26429 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 26430 if test -z "$PKG_CONFIG" ; then 26431 GLPK_LIBS_INSTALLED="$withval" 26432 CBCGENERIC_LIBS_INSTALLED="$withval $CBCGENERIC_LIBS_INSTALLED" 26433 fi 26434 fi 24731 26435 24732 26436 fi; 24733 26437 fi 26438 26439 if test $coin_has_glpk != skipping; then 24734 26440 24735 26441 # Check whether --with-m4_tolower(Glpk)-incdir or --without-m4_tolower(Glpk)-incdir was given. 24736 26442 if test "${with_glpk_incdir+set}" = set; then 24737 26443 withval="$with_glpk_incdir" 24738 coin_has_glpk=yes 24739 GLPK_CFLAGS="-I`${CYGPATH_W} $withval`" 24740 CBCGENERIC_CFLAGS="$withval $CBCGENERIC_CFLAGS" 24741 26444 if test "$withval" = no ; then 26445 coin_has_glpk=skipping 26446 else 26447 coin_has_glpk=yes 26448 GLPK_CFLAGS="-I`${CYGPATH_W} $withval`" 26449 CBCGENERIC_CFLAGS="-I`${CYGPATH_W} $withval` $CBCGENERIC_CFLAGS" 26450 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 26451 if test -z "$PKG_CONFIG" ; then 26452 GLPK_CFLAGS_INSTALLED="$GLPK_CFLAGS" 26453 CBCGENERIC_CFLAGS_INSTALLED="$GLPK_CFLAGS $CBCGENERIC_CFLAGS_INSTALLED" 26454 fi 26455 fi 24742 26456 24743 26457 fi; 24744 26458 fi 26459 26460 if test $coin_has_glpk != skipping; then 24745 26461 24746 26462 # Check whether --with-m4_tolower(Glpk)-datadir or --without-m4_tolower(Glpk)-datadir was given. 24747 26463 if test "${with_glpk_datadir+set}" = set; then 24748 26464 withval="$with_glpk_datadir" 24749 coin_has_glpk=yes 24750 GLPK_DATA="$withval" 26465 if test "$withval" = no ; then 26466 coin_has_glpk=skipping 26467 else 26468 coin_has_glpk=yes 26469 GLPK_DATA="$withval" 26470 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 26471 if test -z "$PKG_CONFIG" ; then 26472 GLPK_DATA_INSTALLED="$withval" 26473 fi 26474 fi 26475 24751 26476 fi; 24752 26477 fi … … 24766 26491 if test -n "$PKG_CONFIG" ; then 24767 26492 if $PKG_CONFIG --exists "osi-glpk"; then 24768 GLPK_VERSIONS="`$PKG_CONFIG --modversion "osi-glpk" 2>/dev/null | tr '\n' ' '`"26493 GLPK_VERSIONS="`$PKG_CONFIG --modversion "osi-glpk" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 24769 26494 cflags=`$PKG_CONFIG --cflags "osi-glpk" 2>/dev/null` 24770 26495 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 24788 26513 GLPK_LIBS=`echo " $GLPK_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 24789 26514 fi 26515 GLPK_PCREQUIRES="osi-glpk" 24790 26516 24791 26517 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in CbcGeneric … … 24831 26557 GLPK_DATA= 24832 26558 GLPK_DATA_INSTALLED= 24833 24834 # initial list of dependencies is "osi-glpk", but we need to filter out version number specifications (= x, <= x, >= x) 26559 GLPK_PCLIBS= 26560 GLPK_PCREQUIRES= 26561 26562 # initial list of dependencies is "osi-glpk", but we need to filter out version number specifications (= x, <= x, >= x, != x) 24835 26563 projtoprocess="osi-glpk" 24836 26564 … … 24871 26599 # add projrequires to the front of the list of projects that have to be processed next 24872 26600 # at the same time, remove $proj from this list 24873 projtoprocess= ${projtoprocess/$proj/$projrequires}26601 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 24874 26602 24875 26603 # read DATA from $pcfile, if _DATA is still empty … … 24939 26667 # replace "Cflags:" by "echo projcflags=" 24940 26668 # remove every line starting with <some word>: 24941 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`26669 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 24942 26670 24943 26671 # set projcflags and projlibs variables by running $pcfilemod 26672 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 24944 26673 projcflags= 24945 26674 projlibs= 26675 IFS="$save_IFS" 24946 26676 eval `sh -c "$pcfilemod"` 26677 IFS=":" 24947 26678 24948 26679 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 24984 26715 # replace "Cflags:" by "echo projcflags=" 24985 26716 # remove every line starting with <some word>: 24986 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`26717 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 24987 26718 24988 26719 # set projcflags and projlibs variables by running $pcfilemod 26720 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 24989 26721 projcflags= 24990 26722 projlibs= 26723 IFS="$save_IFS" 24991 26724 eval `sh -c "$pcfilemod"` 26725 IFS=":" 24992 26726 24993 26727 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 25020 26754 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 25021 26755 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 25022 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and25023 # everything of the form "- lname" by "libname.lib"26756 # everything of the form "-lname" by "libname.lib", and 26757 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 25024 26758 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 25025 26759 then 25026 26760 GLPK_LIBS=`echo " $GLPK_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 25027 GLPK_LIBS_INSTALLED=`echo " $GLPK_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`26761 GLPK_LIBS_INSTALLED=`echo " $GLPK_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 25028 26762 fi 25029 26763 26764 GLPK_PCREQUIRES="osi-glpk" 25030 26765 25031 26766 CBCGENERIC_PCREQUIRES="osi-glpk $CBCGENERIC_PCREQUIRES" … … 25066 26801 25067 26802 25068 # construct dependencies variables from LIBS variables 25069 # we add an extra space in LIBS so we can substitute out everything starting with " -" 25070 # before, substitute out everything of the form -framework xxx as used on Mac 25071 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 25072 GLPK_DEPENDENCIES=`echo " $GLPK_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25073 25074 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25075 26803 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 26804 if test "${enable_interpackage_dependencies+set}" = set; then 26805 enableval="$enable_interpackage_dependencies" 26806 26807 else 26808 enable_interpackage_dependencies=yes 26809 fi; 26810 26811 if test $enable_interpackage_dependencies = yes ; then 26812 # construct dependencies variables from LIBS variables 26813 # we add an extra space in LIBS so we can substitute out everything starting with " -" 26814 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 26815 # then remove everything of the form -xxx 26816 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 26817 GLPK_DEPENDENCIES=`echo " $GLPK_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26818 26819 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26820 26821 fi 25076 26822 25077 26823 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 25092 26838 echo "$as_me: Glpk DATA is $GLPK_DATA" >&6;} 25093 26839 fi 25094 if test -n "$GLPK_CFLAGS" ; then 25095 { echo "$as_me:$LINENO: Glpk CFLAGS are $GLPK_CFLAGS" >&5 25096 echo "$as_me: Glpk CFLAGS are $GLPK_CFLAGS" >&6;} 26840 if test -n "$GLPK_PCLIBS" ; then 26841 { echo "$as_me:$LINENO: Glpk PCLIBS are $GLPK_PCLIBS" >&5 26842 echo "$as_me: Glpk PCLIBS are $GLPK_PCLIBS" >&6;} 26843 fi 26844 if test -n "$GLPK_PCREQUIRES" ; then 26845 { echo "$as_me:$LINENO: Glpk PCREQUIRES are $GLPK_PCREQUIRES" >&5 26846 echo "$as_me: Glpk PCREQUIRES are $GLPK_PCREQUIRES" >&6;} 25097 26847 fi 25098 26848 … … 25136 26886 fi 25137 26887 26888 if test "$coin_has_grb" != skipping; then 26889 26890 # Check whether --with-m4_tolower(Grb) or --without-m4_tolower(Grb) was given. 26891 if test "${with_grb+set}" = set; then 26892 withval="$with_grb" 26893 if test "$withval" = no ; then 26894 coin_has_grb=skipping 26895 fi 26896 26897 fi; 26898 fi 26899 25138 26900 GRB_LIBS= 25139 26901 GRB_CFLAGS= 25140 26902 GRB_DATA= 25141 25142 25143 25144 25145 25146 25147 25148 25149 25150 #check if user provided LIBS, CFLAGS, or DATA for module 26903 GRB_DEPENDENCIES= 26904 GRB_PCLIBS= 26905 GRB_PCREQUIRES= 26906 GRB_DATA= 26907 26908 26909 26910 26911 26912 26913 26914 26915 26916 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 25151 26917 if test $coin_has_grb != skipping; then 25152 25153 26918 25154 26919 # Check whether --with-m4_tolower(Grb)-lib or --without-m4_tolower(Grb)-lib was given. 25155 26920 if test "${with_grb_lib+set}" = set; then 25156 26921 withval="$with_grb_lib" 25157 coin_has_grb=yes 26922 if test "$withval" = no ; then 26923 coin_has_grb=skipping 26924 else 26925 coin_has_grb=yes 25158 26926 GRB_LIBS="$withval" 25159 26927 GRB_PCLIBS="$withval" 26928 26929 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 26930 if test -z "$PKG_CONFIG" ; then 26931 GRB_LIBS_INSTALLED="$withval" 26932 26933 fi 26934 fi 25160 26935 25161 26936 fi; 25162 26937 fi 26938 26939 if test $coin_has_grb != skipping; then 25163 26940 25164 26941 # Check whether --with-m4_tolower(Grb)-incdir or --without-m4_tolower(Grb)-incdir was given. 25165 26942 if test "${with_grb_incdir+set}" = set; then 25166 26943 withval="$with_grb_incdir" 25167 coin_has_grb=yes 25168 GRB_CFLAGS="-I`${CYGPATH_W} $withval`" 25169 26944 if test "$withval" = no ; then 26945 coin_has_grb=skipping 26946 else 26947 coin_has_grb=yes 26948 GRB_CFLAGS="-I`${CYGPATH_W} $withval`" 26949 26950 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 26951 if test -z "$PKG_CONFIG" ; then 26952 GRB_CFLAGS_INSTALLED="$GRB_CFLAGS" 26953 26954 fi 26955 fi 25170 26956 25171 26957 fi; 25172 26958 fi 26959 26960 if test $coin_has_grb != skipping; then 25173 26961 25174 26962 # Check whether --with-m4_tolower(Grb)-datadir or --without-m4_tolower(Grb)-datadir was given. 25175 26963 if test "${with_grb_datadir+set}" = set; then 25176 26964 withval="$with_grb_datadir" 25177 coin_has_grb=yes 25178 GRB_DATA="$withval" 26965 if test "$withval" = no ; then 26966 coin_has_grb=skipping 26967 else 26968 coin_has_grb=yes 26969 GRB_DATA="$withval" 26970 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 26971 if test -z "$PKG_CONFIG" ; then 26972 GRB_DATA_INSTALLED="$withval" 26973 fi 26974 fi 26975 25179 26976 fi; 25180 26977 fi … … 25194 26991 if test -n "$PKG_CONFIG" ; then 25195 26992 if $PKG_CONFIG --exists "osi-gurobi"; then 25196 GRB_VERSIONS="`$PKG_CONFIG --modversion "osi-gurobi" 2>/dev/null | tr '\n' ' '`"26993 GRB_VERSIONS="`$PKG_CONFIG --modversion "osi-gurobi" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 25197 26994 cflags=`$PKG_CONFIG --cflags "osi-gurobi" 2>/dev/null` 25198 26995 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 25216 27013 GRB_LIBS=`echo " $GRB_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 25217 27014 fi 27015 GRB_PCREQUIRES="osi-gurobi" 25218 27016 25219 27017 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 25255 27053 GRB_DATA= 25256 27054 GRB_DATA_INSTALLED= 25257 25258 # initial list of dependencies is "osi-gurobi", but we need to filter out version number specifications (= x, <= x, >= x) 27055 GRB_PCLIBS= 27056 GRB_PCREQUIRES= 27057 27058 # initial list of dependencies is "osi-gurobi", but we need to filter out version number specifications (= x, <= x, >= x, != x) 25259 27059 projtoprocess="osi-gurobi" 25260 27060 … … 25295 27095 # add projrequires to the front of the list of projects that have to be processed next 25296 27096 # at the same time, remove $proj from this list 25297 projtoprocess= ${projtoprocess/$proj/$projrequires}27097 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 25298 27098 25299 27099 # read DATA from $pcfile, if _DATA is still empty … … 25363 27163 # replace "Cflags:" by "echo projcflags=" 25364 27164 # remove every line starting with <some word>: 25365 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`27165 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 25366 27166 25367 27167 # set projcflags and projlibs variables by running $pcfilemod 27168 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 25368 27169 projcflags= 25369 27170 projlibs= 27171 IFS="$save_IFS" 25370 27172 eval `sh -c "$pcfilemod"` 27173 IFS=":" 25371 27174 25372 27175 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 25408 27211 # replace "Cflags:" by "echo projcflags=" 25409 27212 # remove every line starting with <some word>: 25410 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`27213 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 25411 27214 25412 27215 # set projcflags and projlibs variables by running $pcfilemod 27216 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 25413 27217 projcflags= 25414 27218 projlibs= 27219 IFS="$save_IFS" 25415 27220 eval `sh -c "$pcfilemod"` 27221 IFS=":" 25416 27222 25417 27223 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 25444 27250 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 25445 27251 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 25446 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and25447 # everything of the form "- lname" by "libname.lib"27252 # everything of the form "-lname" by "libname.lib", and 27253 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 25448 27254 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 25449 27255 then 25450 27256 GRB_LIBS=`echo " $GRB_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 25451 GRB_LIBS_INSTALLED=`echo " $GRB_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`27257 GRB_LIBS_INSTALLED=`echo " $GRB_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 25452 27258 fi 25453 27259 27260 GRB_PCREQUIRES="osi-gurobi" 25454 27261 25455 27262 … … 25484 27291 25485 27292 25486 # construct dependencies variables from LIBS variables 25487 # we add an extra space in LIBS so we can substitute out everything starting with " -" 25488 # before, substitute out everything of the form -framework xxx as used on Mac 25489 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 25490 GRB_DEPENDENCIES=`echo " $GRB_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25491 27293 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 27294 if test "${enable_interpackage_dependencies+set}" = set; then 27295 enableval="$enable_interpackage_dependencies" 27296 27297 else 27298 enable_interpackage_dependencies=yes 27299 fi; 27300 27301 if test $enable_interpackage_dependencies = yes ; then 27302 # construct dependencies variables from LIBS variables 27303 # we add an extra space in LIBS so we can substitute out everything starting with " -" 27304 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 27305 # then remove everything of the form -xxx 27306 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 27307 GRB_DEPENDENCIES=`echo " $GRB_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 27308 27309 fi 25492 27310 25493 27311 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 25508 27326 echo "$as_me: Grb DATA is $GRB_DATA" >&6;} 25509 27327 fi 25510 if test -n "$GRB_CFLAGS" ; then 25511 { echo "$as_me:$LINENO: Grb CFLAGS are $GRB_CFLAGS" >&5 25512 echo "$as_me: Grb CFLAGS are $GRB_CFLAGS" >&6;} 27328 if test -n "$GRB_PCLIBS" ; then 27329 { echo "$as_me:$LINENO: Grb PCLIBS are $GRB_PCLIBS" >&5 27330 echo "$as_me: Grb PCLIBS are $GRB_PCLIBS" >&6;} 27331 fi 27332 if test -n "$GRB_PCREQUIRES" ; then 27333 { echo "$as_me:$LINENO: Grb PCREQUIRES are $GRB_PCREQUIRES" >&5 27334 echo "$as_me: Grb PCREQUIRES are $GRB_PCREQUIRES" >&6;} 25513 27335 fi 25514 27336 … … 25545 27367 fi 25546 27368 27369 if test "$coin_has_msk" != skipping; then 27370 27371 # Check whether --with-m4_tolower(Msk) or --without-m4_tolower(Msk) was given. 27372 if test "${with_msk+set}" = set; then 27373 withval="$with_msk" 27374 if test "$withval" = no ; then 27375 coin_has_msk=skipping 27376 fi 27377 27378 fi; 27379 fi 27380 25547 27381 MSK_LIBS= 25548 27382 MSK_CFLAGS= 25549 27383 MSK_DATA= 25550 25551 25552 25553 25554 25555 25556 25557 25558 25559 25560 25561 25562 25563 25564 25565 25566 25567 #check if user provided LIBS, CFLAGS, or DATA for module 27384 MSK_DEPENDENCIES= 27385 MSK_PCLIBS= 27386 MSK_PCREQUIRES= 27387 MSK_DATA= 27388 27389 27390 27391 27392 27393 27394 27395 27396 27397 27398 27399 27400 27401 27402 27403 27404 27405 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 25568 27406 if test $coin_has_msk != skipping; then 25569 25570 27407 25571 27408 # Check whether --with-m4_tolower(Msk)-lib or --without-m4_tolower(Msk)-lib was given. 25572 27409 if test "${with_msk_lib+set}" = set; then 25573 27410 withval="$with_msk_lib" 25574 coin_has_msk=yes 27411 if test "$withval" = no ; then 27412 coin_has_msk=skipping 27413 else 27414 coin_has_msk=yes 25575 27415 MSK_LIBS="$withval" 27416 MSK_PCLIBS="$withval" 25576 27417 25577 27418 CBCGENERIC_PCLIBS="$withval $CBCGENERIC_PCLIBS" 25578 27419 CBCGENERIC_LIBS="$withval $CBCGENERIC_LIBS" 25579 27420 27421 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 27422 if test -z "$PKG_CONFIG" ; then 27423 MSK_LIBS_INSTALLED="$withval" 27424 CBCGENERIC_LIBS_INSTALLED="$withval $CBCGENERIC_LIBS_INSTALLED" 27425 fi 27426 fi 25580 27427 25581 27428 fi; 25582 27429 fi 27430 27431 if test $coin_has_msk != skipping; then 25583 27432 25584 27433 # Check whether --with-m4_tolower(Msk)-incdir or --without-m4_tolower(Msk)-incdir was given. 25585 27434 if test "${with_msk_incdir+set}" = set; then 25586 27435 withval="$with_msk_incdir" 25587 coin_has_msk=yes 25588 MSK_CFLAGS="-I`${CYGPATH_W} $withval`" 25589 CBCGENERIC_CFLAGS="$withval $CBCGENERIC_CFLAGS" 25590 27436 if test "$withval" = no ; then 27437 coin_has_msk=skipping 27438 else 27439 coin_has_msk=yes 27440 MSK_CFLAGS="-I`${CYGPATH_W} $withval`" 27441 CBCGENERIC_CFLAGS="-I`${CYGPATH_W} $withval` $CBCGENERIC_CFLAGS" 27442 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 27443 if test -z "$PKG_CONFIG" ; then 27444 MSK_CFLAGS_INSTALLED="$MSK_CFLAGS" 27445 CBCGENERIC_CFLAGS_INSTALLED="$MSK_CFLAGS $CBCGENERIC_CFLAGS_INSTALLED" 27446 fi 27447 fi 25591 27448 25592 27449 fi; 25593 27450 fi 27451 27452 if test $coin_has_msk != skipping; then 25594 27453 25595 27454 # Check whether --with-m4_tolower(Msk)-datadir or --without-m4_tolower(Msk)-datadir was given. 25596 27455 if test "${with_msk_datadir+set}" = set; then 25597 27456 withval="$with_msk_datadir" 25598 coin_has_msk=yes 25599 MSK_DATA="$withval" 27457 if test "$withval" = no ; then 27458 coin_has_msk=skipping 27459 else 27460 coin_has_msk=yes 27461 MSK_DATA="$withval" 27462 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 27463 if test -z "$PKG_CONFIG" ; then 27464 MSK_DATA_INSTALLED="$withval" 27465 fi 27466 fi 27467 25600 27468 fi; 25601 27469 fi … … 25615 27483 if test -n "$PKG_CONFIG" ; then 25616 27484 if $PKG_CONFIG --exists "osi-mosek"; then 25617 MSK_VERSIONS="`$PKG_CONFIG --modversion "osi-mosek" 2>/dev/null | tr '\n' ' '`"27485 MSK_VERSIONS="`$PKG_CONFIG --modversion "osi-mosek" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 25618 27486 cflags=`$PKG_CONFIG --cflags "osi-mosek" 2>/dev/null` 25619 27487 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 25637 27505 MSK_LIBS=`echo " $MSK_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 25638 27506 fi 27507 MSK_PCREQUIRES="osi-mosek" 25639 27508 25640 27509 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in CbcGeneric … … 25680 27549 MSK_DATA= 25681 27550 MSK_DATA_INSTALLED= 25682 25683 # initial list of dependencies is "osi-mosek", but we need to filter out version number specifications (= x, <= x, >= x) 27551 MSK_PCLIBS= 27552 MSK_PCREQUIRES= 27553 27554 # initial list of dependencies is "osi-mosek", but we need to filter out version number specifications (= x, <= x, >= x, != x) 25684 27555 projtoprocess="osi-mosek" 25685 27556 … … 25720 27591 # add projrequires to the front of the list of projects that have to be processed next 25721 27592 # at the same time, remove $proj from this list 25722 projtoprocess= ${projtoprocess/$proj/$projrequires}27593 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 25723 27594 25724 27595 # read DATA from $pcfile, if _DATA is still empty … … 25788 27659 # replace "Cflags:" by "echo projcflags=" 25789 27660 # remove every line starting with <some word>: 25790 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`27661 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 25791 27662 25792 27663 # set projcflags and projlibs variables by running $pcfilemod 27664 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 25793 27665 projcflags= 25794 27666 projlibs= 27667 IFS="$save_IFS" 25795 27668 eval `sh -c "$pcfilemod"` 27669 IFS=":" 25796 27670 25797 27671 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 25833 27707 # replace "Cflags:" by "echo projcflags=" 25834 27708 # remove every line starting with <some word>: 25835 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`27709 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 25836 27710 25837 27711 # set projcflags and projlibs variables by running $pcfilemod 27712 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 25838 27713 projcflags= 25839 27714 projlibs= 27715 IFS="$save_IFS" 25840 27716 eval `sh -c "$pcfilemod"` 27717 IFS=":" 25841 27718 25842 27719 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 25869 27746 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 25870 27747 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 25871 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and25872 # everything of the form "- lname" by "libname.lib"27748 # everything of the form "-lname" by "libname.lib", and 27749 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 25873 27750 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 25874 27751 then 25875 27752 MSK_LIBS=`echo " $MSK_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 25876 MSK_LIBS_INSTALLED=`echo " $MSK_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`27753 MSK_LIBS_INSTALLED=`echo " $MSK_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 25877 27754 fi 25878 27755 27756 MSK_PCREQUIRES="osi-mosek" 25879 27757 25880 27758 CBCGENERIC_PCREQUIRES="osi-mosek $CBCGENERIC_PCREQUIRES" … … 25915 27793 25916 27794 25917 # construct dependencies variables from LIBS variables 25918 # we add an extra space in LIBS so we can substitute out everything starting with " -" 25919 # before, substitute out everything of the form -framework xxx as used on Mac 25920 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 25921 MSK_DEPENDENCIES=`echo " $MSK_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25922 25923 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 25924 27795 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 27796 if test "${enable_interpackage_dependencies+set}" = set; then 27797 enableval="$enable_interpackage_dependencies" 27798 27799 else 27800 enable_interpackage_dependencies=yes 27801 fi; 27802 27803 if test $enable_interpackage_dependencies = yes ; then 27804 # construct dependencies variables from LIBS variables 27805 # we add an extra space in LIBS so we can substitute out everything starting with " -" 27806 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 27807 # then remove everything of the form -xxx 27808 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 27809 MSK_DEPENDENCIES=`echo " $MSK_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 27810 27811 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 27812 27813 fi 25925 27814 25926 27815 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 25941 27830 echo "$as_me: Msk DATA is $MSK_DATA" >&6;} 25942 27831 fi 25943 if test -n "$MSK_CFLAGS" ; then 25944 { echo "$as_me:$LINENO: Msk CFLAGS are $MSK_CFLAGS" >&5 25945 echo "$as_me: Msk CFLAGS are $MSK_CFLAGS" >&6;} 27832 if test -n "$MSK_PCLIBS" ; then 27833 { echo "$as_me:$LINENO: Msk PCLIBS are $MSK_PCLIBS" >&5 27834 echo "$as_me: Msk PCLIBS are $MSK_PCLIBS" >&6;} 27835 fi 27836 if test -n "$MSK_PCREQUIRES" ; then 27837 { echo "$as_me:$LINENO: Msk PCREQUIRES are $MSK_PCREQUIRES" >&5 27838 echo "$as_me: Msk PCREQUIRES are $MSK_PCREQUIRES" >&6;} 25946 27839 fi 25947 27840 … … 25985 27878 fi 25986 27879 27880 if test "$coin_has_spx" != skipping; then 27881 27882 # Check whether --with-m4_tolower(Spx) or --without-m4_tolower(Spx) was given. 27883 if test "${with_spx+set}" = set; then 27884 withval="$with_spx" 27885 if test "$withval" = no ; then 27886 coin_has_spx=skipping 27887 fi 27888 27889 fi; 27890 fi 27891 25987 27892 SPX_LIBS= 25988 27893 SPX_CFLAGS= 25989 27894 SPX_DATA= 25990 25991 25992 25993 25994 25995 25996 25997 25998 25999 26000 26001 26002 26003 26004 26005 26006 26007 #check if user provided LIBS, CFLAGS, or DATA for module 27895 SPX_DEPENDENCIES= 27896 SPX_PCLIBS= 27897 SPX_PCREQUIRES= 27898 SPX_DATA= 27899 27900 27901 27902 27903 27904 27905 27906 27907 27908 27909 27910 27911 27912 27913 27914 27915 27916 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 26008 27917 if test $coin_has_spx != skipping; then 26009 26010 27918 26011 27919 # Check whether --with-m4_tolower(Spx)-lib or --without-m4_tolower(Spx)-lib was given. 26012 27920 if test "${with_spx_lib+set}" = set; then 26013 27921 withval="$with_spx_lib" 26014 coin_has_spx=yes 27922 if test "$withval" = no ; then 27923 coin_has_spx=skipping 27924 else 27925 coin_has_spx=yes 26015 27926 SPX_LIBS="$withval" 27927 SPX_PCLIBS="$withval" 26016 27928 26017 27929 CBCGENERIC_PCLIBS="$withval $CBCGENERIC_PCLIBS" 26018 27930 CBCGENERIC_LIBS="$withval $CBCGENERIC_LIBS" 26019 27931 27932 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 27933 if test -z "$PKG_CONFIG" ; then 27934 SPX_LIBS_INSTALLED="$withval" 27935 CBCGENERIC_LIBS_INSTALLED="$withval $CBCGENERIC_LIBS_INSTALLED" 27936 fi 27937 fi 26020 27938 26021 27939 fi; 26022 27940 fi 27941 27942 if test $coin_has_spx != skipping; then 26023 27943 26024 27944 # Check whether --with-m4_tolower(Spx)-incdir or --without-m4_tolower(Spx)-incdir was given. 26025 27945 if test "${with_spx_incdir+set}" = set; then 26026 27946 withval="$with_spx_incdir" 26027 coin_has_spx=yes 26028 SPX_CFLAGS="-I`${CYGPATH_W} $withval`" 26029 CBCGENERIC_CFLAGS="$withval $CBCGENERIC_CFLAGS" 26030 27947 if test "$withval" = no ; then 27948 coin_has_spx=skipping 27949 else 27950 coin_has_spx=yes 27951 SPX_CFLAGS="-I`${CYGPATH_W} $withval`" 27952 CBCGENERIC_CFLAGS="-I`${CYGPATH_W} $withval` $CBCGENERIC_CFLAGS" 27953 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 27954 if test -z "$PKG_CONFIG" ; then 27955 SPX_CFLAGS_INSTALLED="$SPX_CFLAGS" 27956 CBCGENERIC_CFLAGS_INSTALLED="$SPX_CFLAGS $CBCGENERIC_CFLAGS_INSTALLED" 27957 fi 27958 fi 26031 27959 26032 27960 fi; 26033 27961 fi 27962 27963 if test $coin_has_spx != skipping; then 26034 27964 26035 27965 # Check whether --with-m4_tolower(Spx)-datadir or --without-m4_tolower(Spx)-datadir was given. 26036 27966 if test "${with_spx_datadir+set}" = set; then 26037 27967 withval="$with_spx_datadir" 26038 coin_has_spx=yes 26039 SPX_DATA="$withval" 27968 if test "$withval" = no ; then 27969 coin_has_spx=skipping 27970 else 27971 coin_has_spx=yes 27972 SPX_DATA="$withval" 27973 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 27974 if test -z "$PKG_CONFIG" ; then 27975 SPX_DATA_INSTALLED="$withval" 27976 fi 27977 fi 27978 26040 27979 fi; 26041 27980 fi … … 26055 27994 if test -n "$PKG_CONFIG" ; then 26056 27995 if $PKG_CONFIG --exists "osi-soplex"; then 26057 SPX_VERSIONS="`$PKG_CONFIG --modversion "osi-soplex" 2>/dev/null | tr '\n' ' '`"27996 SPX_VERSIONS="`$PKG_CONFIG --modversion "osi-soplex" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 26058 27997 cflags=`$PKG_CONFIG --cflags "osi-soplex" 2>/dev/null` 26059 27998 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 26077 28016 SPX_LIBS=`echo " $SPX_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 26078 28017 fi 28018 SPX_PCREQUIRES="osi-soplex" 26079 28019 26080 28020 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in CbcGeneric … … 26120 28060 SPX_DATA= 26121 28061 SPX_DATA_INSTALLED= 26122 26123 # initial list of dependencies is "osi-soplex", but we need to filter out version number specifications (= x, <= x, >= x) 28062 SPX_PCLIBS= 28063 SPX_PCREQUIRES= 28064 28065 # initial list of dependencies is "osi-soplex", but we need to filter out version number specifications (= x, <= x, >= x, != x) 26124 28066 projtoprocess="osi-soplex" 26125 28067 … … 26160 28102 # add projrequires to the front of the list of projects that have to be processed next 26161 28103 # at the same time, remove $proj from this list 26162 projtoprocess= ${projtoprocess/$proj/$projrequires}28104 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 26163 28105 26164 28106 # read DATA from $pcfile, if _DATA is still empty … … 26228 28170 # replace "Cflags:" by "echo projcflags=" 26229 28171 # remove every line starting with <some word>: 26230 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`28172 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 26231 28173 26232 28174 # set projcflags and projlibs variables by running $pcfilemod 28175 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 26233 28176 projcflags= 26234 28177 projlibs= 28178 IFS="$save_IFS" 26235 28179 eval `sh -c "$pcfilemod"` 28180 IFS=":" 26236 28181 26237 28182 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 26273 28218 # replace "Cflags:" by "echo projcflags=" 26274 28219 # remove every line starting with <some word>: 26275 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`28220 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 26276 28221 26277 28222 # set projcflags and projlibs variables by running $pcfilemod 28223 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 26278 28224 projcflags= 26279 28225 projlibs= 28226 IFS="$save_IFS" 26280 28227 eval `sh -c "$pcfilemod"` 28228 IFS=":" 26281 28229 26282 28230 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 26309 28257 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 26310 28258 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 26311 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and26312 # everything of the form "- lname" by "libname.lib"28259 # everything of the form "-lname" by "libname.lib", and 28260 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 26313 28261 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 26314 28262 then 26315 28263 SPX_LIBS=`echo " $SPX_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 26316 SPX_LIBS_INSTALLED=`echo " $SPX_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`28264 SPX_LIBS_INSTALLED=`echo " $SPX_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 26317 28265 fi 26318 28266 28267 SPX_PCREQUIRES="osi-soplex" 26319 28268 26320 28269 CBCGENERIC_PCREQUIRES="osi-soplex $CBCGENERIC_PCREQUIRES" … … 26355 28304 26356 28305 26357 # construct dependencies variables from LIBS variables 26358 # we add an extra space in LIBS so we can substitute out everything starting with " -" 26359 # before, substitute out everything of the form -framework xxx as used on Mac 26360 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 26361 SPX_DEPENDENCIES=`echo " $SPX_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26362 26363 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26364 28306 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 28307 if test "${enable_interpackage_dependencies+set}" = set; then 28308 enableval="$enable_interpackage_dependencies" 28309 28310 else 28311 enable_interpackage_dependencies=yes 28312 fi; 28313 28314 if test $enable_interpackage_dependencies = yes ; then 28315 # construct dependencies variables from LIBS variables 28316 # we add an extra space in LIBS so we can substitute out everything starting with " -" 28317 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 28318 # then remove everything of the form -xxx 28319 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 28320 SPX_DEPENDENCIES=`echo " $SPX_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 28321 28322 CBCGENERIC_DEPENDENCIES=`echo " $CBCGENERIC_LIBS " | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 28323 28324 fi 26365 28325 26366 28326 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 26381 28341 echo "$as_me: Spx DATA is $SPX_DATA" >&6;} 26382 28342 fi 26383 if test -n "$SPX_CFLAGS" ; then 26384 { echo "$as_me:$LINENO: Spx CFLAGS are $SPX_CFLAGS" >&5 26385 echo "$as_me: Spx CFLAGS are $SPX_CFLAGS" >&6;} 28343 if test -n "$SPX_PCLIBS" ; then 28344 { echo "$as_me:$LINENO: Spx PCLIBS are $SPX_PCLIBS" >&5 28345 echo "$as_me: Spx PCLIBS are $SPX_PCLIBS" >&6;} 28346 fi 28347 if test -n "$SPX_PCREQUIRES" ; then 28348 { echo "$as_me:$LINENO: Spx PCREQUIRES are $SPX_PCREQUIRES" >&5 28349 echo "$as_me: Spx PCREQUIRES are $SPX_PCREQUIRES" >&6;} 26386 28350 fi 26387 28351 … … 26425 28389 fi 26426 28390 28391 if test "$coin_has_xpr" != skipping; then 28392 28393 # Check whether --with-m4_tolower(Xpr) or --without-m4_tolower(Xpr) was given. 28394 if test "${with_xpr+set}" = set; then 28395 withval="$with_xpr" 28396 if test "$withval" = no ; then 28397 coin_has_xpr=skipping 28398 fi 28399 28400 fi; 28401 fi 28402 26427 28403 XPR_LIBS= 26428 28404 XPR_CFLAGS= 26429 28405 XPR_DATA= 26430 26431 26432 26433 26434 26435 26436 26437 26438 26439 #check if user provided LIBS, CFLAGS, or DATA for module 28406 XPR_DEPENDENCIES= 28407 XPR_PCLIBS= 28408 XPR_PCREQUIRES= 28409 XPR_DATA= 28410 28411 28412 28413 28414 28415 28416 28417 28418 28419 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 26440 28420 if test $coin_has_xpr != skipping; then 26441 26442 28421 26443 28422 # Check whether --with-m4_tolower(Xpr)-lib or --without-m4_tolower(Xpr)-lib was given. 26444 28423 if test "${with_xpr_lib+set}" = set; then 26445 28424 withval="$with_xpr_lib" 26446 coin_has_xpr=yes 28425 if test "$withval" = no ; then 28426 coin_has_xpr=skipping 28427 else 28428 coin_has_xpr=yes 26447 28429 XPR_LIBS="$withval" 26448 28430 XPR_PCLIBS="$withval" 28431 28432 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 28433 if test -z "$PKG_CONFIG" ; then 28434 XPR_LIBS_INSTALLED="$withval" 28435 28436 fi 28437 fi 26449 28438 26450 28439 fi; 26451 28440 fi 28441 28442 if test $coin_has_xpr != skipping; then 26452 28443 26453 28444 # Check whether --with-m4_tolower(Xpr)-incdir or --without-m4_tolower(Xpr)-incdir was given. 26454 28445 if test "${with_xpr_incdir+set}" = set; then 26455 28446 withval="$with_xpr_incdir" 26456 coin_has_xpr=yes 26457 XPR_CFLAGS="-I`${CYGPATH_W} $withval`" 26458 28447 if test "$withval" = no ; then 28448 coin_has_xpr=skipping 28449 else 28450 coin_has_xpr=yes 28451 XPR_CFLAGS="-I`${CYGPATH_W} $withval`" 28452 28453 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 28454 if test -z "$PKG_CONFIG" ; then 28455 XPR_CFLAGS_INSTALLED="$XPR_CFLAGS" 28456 28457 fi 28458 fi 26459 28459 26460 28460 fi; 26461 28461 fi 28462 28463 if test $coin_has_xpr != skipping; then 26462 28464 26463 28465 # Check whether --with-m4_tolower(Xpr)-datadir or --without-m4_tolower(Xpr)-datadir was given. 26464 28466 if test "${with_xpr_datadir+set}" = set; then 26465 28467 withval="$with_xpr_datadir" 26466 coin_has_xpr=yes 26467 XPR_DATA="$withval" 28468 if test "$withval" = no ; then 28469 coin_has_xpr=skipping 28470 else 28471 coin_has_xpr=yes 28472 XPR_DATA="$withval" 28473 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 28474 if test -z "$PKG_CONFIG" ; then 28475 XPR_DATA_INSTALLED="$withval" 28476 fi 28477 fi 28478 26468 28479 fi; 26469 28480 fi … … 26483 28494 if test -n "$PKG_CONFIG" ; then 26484 28495 if $PKG_CONFIG --exists "osi-xpress"; then 26485 XPR_VERSIONS="`$PKG_CONFIG --modversion "osi-xpress" 2>/dev/null | tr '\n' ' '`"28496 XPR_VERSIONS="`$PKG_CONFIG --modversion "osi-xpress" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 26486 28497 cflags=`$PKG_CONFIG --cflags "osi-xpress" 2>/dev/null` 26487 28498 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 26505 28516 XPR_LIBS=`echo " $XPR_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 26506 28517 fi 28518 XPR_PCREQUIRES="osi-xpress" 26507 28519 26508 28520 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 26544 28556 XPR_DATA= 26545 28557 XPR_DATA_INSTALLED= 26546 26547 # initial list of dependencies is "osi-xpress", but we need to filter out version number specifications (= x, <= x, >= x) 28558 XPR_PCLIBS= 28559 XPR_PCREQUIRES= 28560 28561 # initial list of dependencies is "osi-xpress", but we need to filter out version number specifications (= x, <= x, >= x, != x) 26548 28562 projtoprocess="osi-xpress" 26549 28563 … … 26584 28598 # add projrequires to the front of the list of projects that have to be processed next 26585 28599 # at the same time, remove $proj from this list 26586 projtoprocess= ${projtoprocess/$proj/$projrequires}28600 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 26587 28601 26588 28602 # read DATA from $pcfile, if _DATA is still empty … … 26652 28666 # replace "Cflags:" by "echo projcflags=" 26653 28667 # remove every line starting with <some word>: 26654 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`28668 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 26655 28669 26656 28670 # set projcflags and projlibs variables by running $pcfilemod 28671 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 26657 28672 projcflags= 26658 28673 projlibs= 28674 IFS="$save_IFS" 26659 28675 eval `sh -c "$pcfilemod"` 28676 IFS=":" 26660 28677 26661 28678 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 26697 28714 # replace "Cflags:" by "echo projcflags=" 26698 28715 # remove every line starting with <some word>: 26699 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`28716 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 26700 28717 26701 28718 # set projcflags and projlibs variables by running $pcfilemod 28719 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 26702 28720 projcflags= 26703 28721 projlibs= 28722 IFS="$save_IFS" 26704 28723 eval `sh -c "$pcfilemod"` 28724 IFS=":" 26705 28725 26706 28726 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 26733 28753 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 26734 28754 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 26735 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and26736 # everything of the form "- lname" by "libname.lib"28755 # everything of the form "-lname" by "libname.lib", and 28756 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 26737 28757 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 26738 28758 then 26739 28759 XPR_LIBS=`echo " $XPR_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 26740 XPR_LIBS_INSTALLED=`echo " $XPR_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`28760 XPR_LIBS_INSTALLED=`echo " $XPR_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 26741 28761 fi 26742 28762 28763 XPR_PCREQUIRES="osi-xpress" 26743 28764 26744 28765 … … 26773 28794 26774 28795 26775 # construct dependencies variables from LIBS variables 26776 # we add an extra space in LIBS so we can substitute out everything starting with " -" 26777 # before, substitute out everything of the form -framework xxx as used on Mac 26778 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 26779 XPR_DEPENDENCIES=`echo " $XPR_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 26780 28796 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 28797 if test "${enable_interpackage_dependencies+set}" = set; then 28798 enableval="$enable_interpackage_dependencies" 28799 28800 else 28801 enable_interpackage_dependencies=yes 28802 fi; 28803 28804 if test $enable_interpackage_dependencies = yes ; then 28805 # construct dependencies variables from LIBS variables 28806 # we add an extra space in LIBS so we can substitute out everything starting with " -" 28807 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 28808 # then remove everything of the form -xxx 28809 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 28810 XPR_DEPENDENCIES=`echo " $XPR_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 28811 28812 fi 26781 28813 26782 28814 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 26797 28829 echo "$as_me: Xpr DATA is $XPR_DATA" >&6;} 26798 28830 fi 26799 if test -n "$XPR_CFLAGS" ; then 26800 { echo "$as_me:$LINENO: Xpr CFLAGS are $XPR_CFLAGS" >&5 26801 echo "$as_me: Xpr CFLAGS are $XPR_CFLAGS" >&6;} 28831 if test -n "$XPR_PCLIBS" ; then 28832 { echo "$as_me:$LINENO: Xpr PCLIBS are $XPR_PCLIBS" >&5 28833 echo "$as_me: Xpr PCLIBS are $XPR_PCLIBS" >&6;} 28834 fi 28835 if test -n "$XPR_PCREQUIRES" ; then 28836 { echo "$as_me:$LINENO: Xpr PCREQUIRES are $XPR_PCREQUIRES" >&5 28837 echo "$as_me: Xpr PCREQUIRES are $XPR_PCREQUIRES" >&6;} 26802 28838 fi 26803 28839 … … 26840 28876 fi 26841 28877 28878 if test "$coin_has_asl" != skipping; then 28879 28880 # Check whether --with-m4_tolower(ASL) or --without-m4_tolower(ASL) was given. 28881 if test "${with_asl+set}" = set; then 28882 withval="$with_asl" 28883 if test "$withval" = no ; then 28884 coin_has_asl=skipping 28885 fi 28886 28887 fi; 28888 fi 28889 26842 28890 ASL_LIBS= 26843 28891 ASL_CFLAGS= 26844 28892 ASL_DATA= 26845 26846 26847 26848 26849 26850 26851 26852 26853 26854 #check if user provided LIBS, CFLAGS, or DATA for module 28893 ASL_DEPENDENCIES= 28894 ASL_PCLIBS= 28895 ASL_PCREQUIRES= 28896 ASL_DATA= 28897 28898 28899 28900 28901 28902 28903 28904 28905 28906 #check if user provided LIBS, CFLAGS, or DATA for package or disables use of package 26855 28907 if test $coin_has_asl != skipping; then 26856 26857 28908 26858 28909 # Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given. 26859 28910 if test "${with_asl_lib+set}" = set; then 26860 28911 withval="$with_asl_lib" 26861 coin_has_asl=yes 28912 if test "$withval" = no ; then 28913 coin_has_asl=skipping 28914 else 28915 coin_has_asl=yes 26862 28916 ASL_LIBS="$withval" 26863 28917 ASL_PCLIBS="$withval" 28918 28919 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 28920 if test -z "$PKG_CONFIG" ; then 28921 ASL_LIBS_INSTALLED="$withval" 28922 28923 fi 28924 fi 26864 28925 26865 28926 fi; 26866 28927 fi 28928 28929 if test $coin_has_asl != skipping; then 26867 28930 26868 28931 # Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given. 26869 28932 if test "${with_asl_incdir+set}" = set; then 26870 28933 withval="$with_asl_incdir" 26871 coin_has_asl=yes 26872 ASL_CFLAGS="-I`${CYGPATH_W} $withval`" 26873 28934 if test "$withval" = no ; then 28935 coin_has_asl=skipping 28936 else 28937 coin_has_asl=yes 28938 ASL_CFLAGS="-I`${CYGPATH_W} $withval`" 28939 28940 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 28941 if test -z "$PKG_CONFIG" ; then 28942 ASL_CFLAGS_INSTALLED="$ASL_CFLAGS" 28943 28944 fi 28945 fi 26874 28946 26875 28947 fi; 26876 28948 fi 28949 28950 if test $coin_has_asl != skipping; then 26877 28951 26878 28952 # Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given. 26879 28953 if test "${with_asl_datadir+set}" = set; then 26880 28954 withval="$with_asl_datadir" 26881 coin_has_asl=yes 26882 ASL_DATA="$withval" 28955 if test "$withval" = no ; then 28956 coin_has_asl=skipping 28957 else 28958 coin_has_asl=yes 28959 ASL_DATA="$withval" 28960 # if project flags are given by user and we build without pkg-config, then we need to setup the _INSTALLED variables 28961 if test -z "$PKG_CONFIG" ; then 28962 ASL_DATA_INSTALLED="$withval" 28963 fi 28964 fi 28965 26883 28966 fi; 26884 28967 fi … … 26898 28981 if test -n "$PKG_CONFIG" ; then 26899 28982 if $PKG_CONFIG --exists "coinasl"; then 26900 ASL_VERSIONS="`$PKG_CONFIG --modversion "coinasl" 2>/dev/null | tr '\n' ' '`"28983 ASL_VERSIONS="`$PKG_CONFIG --modversion "coinasl" 2>/dev/null | sed -n -e "1h;2,\\$H;\\${g;s/\n/ /g;p}"`" 26901 28984 cflags=`$PKG_CONFIG --cflags "coinasl" 2>/dev/null` 26902 28985 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files … … 26920 29003 ASL_LIBS=`echo " $ASL_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 26921 29004 fi 29005 ASL_PCREQUIRES="coinasl" 26922 29006 26923 29007 # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in … … 26959 29043 ASL_DATA= 26960 29044 ASL_DATA_INSTALLED= 26961 26962 # initial list of dependencies is "coinasl", but we need to filter out version number specifications (= x, <= x, >= x) 29045 ASL_PCLIBS= 29046 ASL_PCREQUIRES= 29047 29048 # initial list of dependencies is "coinasl", but we need to filter out version number specifications (= x, <= x, >= x, != x) 26963 29049 projtoprocess="coinasl" 26964 29050 … … 26999 29085 # add projrequires to the front of the list of projects that have to be processed next 27000 29086 # at the same time, remove $proj from this list 27001 projtoprocess= ${projtoprocess/$proj/$projrequires}29087 projtoprocess=`echo $projtoprocess | sed -e "s/$proj/$projrequires/"` 27002 29088 27003 29089 # read DATA from $pcfile, if _DATA is still empty … … 27067 29153 # replace "Cflags:" by "echo projcflags=" 27068 29154 # remove every line starting with <some word>: 27069 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`29155 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 27070 29156 27071 29157 # set projcflags and projlibs variables by running $pcfilemod 29158 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 27072 29159 projcflags= 27073 29160 projlibs= 29161 IFS="$save_IFS" 27074 29162 eval `sh -c "$pcfilemod"` 29163 IFS=":" 27075 29164 27076 29165 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 27112 29201 # replace "Cflags:" by "echo projcflags=" 27113 29202 # remove every line starting with <some word>: 27114 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/ [a-zA-Z]:/d' $pcfile`29203 pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/^[a-zA-Z]*:/d' $pcfile` 27115 29204 27116 29205 # set projcflags and projlibs variables by running $pcfilemod 29206 # under mingw, the current IFS seem to make the : in the paths of the gfortran libs go away, so we temporarily set IFS back to its default 27117 29207 projcflags= 27118 29208 projlibs= 29209 IFS="$save_IFS" 27119 29210 eval `sh -c "$pcfilemod"` 29211 IFS=":" 27120 29212 27121 29213 # add CYGPATH_W cludge into include flags and set CFLAGS variable … … 27148 29240 # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl), 27149 29241 # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`", 27150 # everything of the form "- Lpath" by "/libpath:`$(CYGPATH_W) path`, and27151 # everything of the form "- lname" by "libname.lib"29242 # everything of the form "-lname" by "libname.lib", and 29243 # everything of the form "-Lpath" by "-libpath:`$(CYGPATH_W) path` 27152 29244 if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ; 27153 29245 then 27154 29246 ASL_LIBS=`echo " $ASL_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'` 27155 ASL_LIBS_INSTALLED=`echo " $ASL_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ - L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`29247 ASL_LIBS_INSTALLED=`echo " $ASL_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g' -e 's/ -L\([^ ]*\)/ -libpath:\`$(CYGPATH_W) \1\`/g'` 27156 29248 fi 27157 29249 29250 ASL_PCREQUIRES="coinasl" 27158 29251 27159 29252 … … 27188 29281 27189 29282 27190 # construct dependencies variables from LIBS variables 27191 # we add an extra space in LIBS so we can substitute out everything starting with " -" 27192 # before, substitute out everything of the form -framework xxx as used on Mac 27193 # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl) 27194 ASL_DEPENDENCIES=`echo " $ASL_LIBS" | sed -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 27195 29283 # Check whether --enable-interpackage-dependencies or --disable-interpackage-dependencies was given. 29284 if test "${enable_interpackage_dependencies+set}" = set; then 29285 enableval="$enable_interpackage_dependencies" 29286 29287 else 29288 enable_interpackage_dependencies=yes 29289 fi; 29290 29291 if test $enable_interpackage_dependencies = yes ; then 29292 # construct dependencies variables from LIBS variables 29293 # we add an extra space in LIBS so we can substitute out everything starting with " -" 29294 # remove everything of the form -framework xxx as used on Mac and mklxxx as used on Windows 29295 # then remove everything of the form -xxx 29296 # also remove everything of the form `xxx`yyy (may have been added for cygwin/cl) 29297 ASL_DEPENDENCIES=`echo " $ASL_LIBS" | sed -e 's/ mkl[^ ]*//g' -e 's/ -framework *[^ ]*//g' -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'` 29298 29299 fi 27196 29300 27197 29301 if test 1 = 0 ; then #change this test to enable a bit of debugging output … … 27212 29316 echo "$as_me: ASL DATA is $ASL_DATA" >&6;} 27213 29317 fi 27214 if test -n "$ASL_CFLAGS" ; then 27215 { echo "$as_me:$LINENO: ASL CFLAGS are $ASL_CFLAGS" >&5 27216 echo "$as_me: ASL CFLAGS are $ASL_CFLAGS" >&6;} 29318 if test -n "$ASL_PCLIBS" ; then 29319 { echo "$as_me:$LINENO: ASL PCLIBS are $ASL_PCLIBS" >&5 29320 echo "$as_me: ASL PCLIBS are $ASL_PCLIBS" >&6;} 29321 fi 29322 if test -n "$ASL_PCREQUIRES" ; then 29323 { echo "$as_me:$LINENO: ASL PCREQUIRES are $ASL_PCREQUIRES" >&5 29324 echo "$as_me: ASL PCREQUIRES are $ASL_PCREQUIRES" >&6;} 27217 29325 fi 27218 29326 … … 27950 30058 27951 30059 # Here put the location and name of the configuration header file 27952 ac_config_headers="$ac_config_headers inc/config_cbc.h"30060 ac_config_headers="$ac_config_headers src/config.h src/config_cbc.h" 27953 30061 27954 30062 … … 28015 30123 28016 30124 fi 30125 30126 # On AIX, the default sed cannot deal with somewhat long sed commands executed by config.status. 30127 # So we reduce the hardcoded number of commands given to sed from 48 to 5 in config.status, hoping this will suffice. 30128 28017 30129 28018 30130 cat >confcache <<\_ACEOF … … 28728 30840 cat >&5 <<_CSEOF 28729 30841 28730 This file was extended by Cbc $as_me 2.7, which was30842 This file was extended by Cbc $as_me trunk, which was 28731 30843 generated by GNU Autoconf 2.59. Invocation command line was 28732 30844 … … 28791 30903 cat >>$CONFIG_STATUS <<_ACEOF 28792 30904 ac_cs_version="\\ 28793 Cbc config.status 2.730905 Cbc config.status trunk 28794 30906 configured by $0, generated by GNU Autoconf 2.59, 28795 30907 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 28912 31024 "doxydoc/doxygen.conf" ) CONFIG_FILES="$CONFIG_FILES doxydoc/doxygen.conf" ;; 28913 31025 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 28914 "inc/config_cbc.h" ) CONFIG_HEADERS="$CONFIG_HEADERS inc/config_cbc.h" ;; 31026 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;; 31027 "src/config_cbc.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config_cbc.h" ;; 28915 31028 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 28916 31029 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} … … 29006 31119 s,@have_svnversion@,$have_svnversion,;t t 29007 31120 s,@CBC_SVN_REV@,$CBC_SVN_REV,;t t 29008 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t29009 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t29010 31121 s,@CDEFS@,$CDEFS,;t t 29011 31122 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t … … 29020 31131 s,@EXEEXT@,$EXEEXT,;t t 29021 31132 s,@OBJEXT@,$OBJEXT,;t t 31133 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t 31134 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t 29022 31135 s,@MPICC@,$MPICC,;t t 29023 31136 s,@CXXDEFS@,$CXXDEFS,;t t … … 29032 31145 s,@MPICXX@,$MPICXX,;t t 29033 31146 s,@EGREP@,$EGREP,;t t 31147 s,@LN_S@,$LN_S,;t t 29034 31148 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 29035 31149 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t … … 29085 31199 s,@host_vendor@,$host_vendor,;t t 29086 31200 s,@host_os@,$host_os,;t t 29087 s,@LN_S@,$LN_S,;t t29088 31201 s,@ECHO@,$ECHO,;t t 29089 31202 s,@AR@,$AR,;t t … … 29983 32096 29984 32097 32098 case $build in 32099 *-aix*) 32100 { echo "$as_me:$LINENO: patching config.status to reduce ac_max_sed_lines to 5" >&5 32101 echo "$as_me: patching config.status to reduce ac_max_sed_lines to 5" >&6;} 32102 sed -e 's/ac_max_sed_lines=48/ac_max_sed_lines=5/g' config.status > config.status.tmp 32103 mv config.status.tmp config.status 32104 ;; 32105 esac 32106 32107 29985 32108 # configure is writing to config.log, and then calls config.status. 29986 32109 # config.status does its own redirection, appending to config.log. … … 30059 32182 fi 30060 32183 32184 { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5 32185 echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;} 30061 32186 if test x$coin_projectdir = xyes; then 30062 32187 { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
Note: See TracChangeset
for help on using the changeset viewer.