Changeset 1437 for branches/split/Cbc
- Timestamp:
- Mar 7, 2010 2:51:39 PM (11 years ago)
- Location:
- branches/split
- Files:
-
- 2 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/split
- Property svn:externals
-
old new 1 BuildTools https://projects.coin-or.org/svn/BuildTools/stable/0.5 2 ThirdParty/ASL https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.0 3 ThirdParty/Blas https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.0 4 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.0 5 ThirdParty/Glpk https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.5 6 Data/Sample https://projects.coin-or.org/svn/Data/stable/1.0/Sample 7 Data/miplib3 https://projects.coin-or.org/svn/Data/stable/1.0/miplib3 8 CoinUtils https://projects.coin-or.org/svn/CoinUtils/stable/2.6/CoinUtils 9 Cgl https://projects.coin-or.org/svn/Cgl/trunk/Cgl 10 Clp https://projects.coin-or.org/svn/Clp/trunk/Clp 11 Osi https://projects.coin-or.org/svn/Osi/stable/0.101/Osi 12 Vol https://projects.coin-or.org/svn/Vol/stable/1.1/Vol 1 BuildTools https://projects.coin-or.org/svn/BuildTools/branches/split 2 #Data/miplib3 https://projects.coin-or.org/svn/Data/stable/1.0/miplib3
-
- Property svn:externals
-
branches/split/Cbc/Makefile.am
r876 r1437 107 107 if test -r test/Makefile; then cd test; $(MAKE) distclean; fi 108 108 109 install-exec-local: install-doc 110 111 uninstall-local: uninstall-doc 112 109 113 .PHONY: test unitTest 110 114 … … 113 117 ######################################################################## 114 118 115 addlibs file = cbc_addlibs.txt116 addlibs dir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/119 addlibsdir = $(datadir)/coin/doc/Cbc 120 addlibs_DATA = cbc_addlibs.txt 117 121 118 install-exec-local: install-doc 119 $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile) 120 121 uninstall-local: uninstall-doc 122 rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile) 122 pkgconfiglibdir = $(libdir)/pkgconfig 123 pkgconfiglib_DATA = cbc.pc 123 124 124 125 ######################################################################## -
branches/split/Cbc/Makefile.in
r1204 r1437 30 30 # Documentation installation # 31 31 ######################################################################## 32 32 33 srcdir = @srcdir@ 33 34 top_srcdir = @top_srcdir@ … … 62 63 $(srcdir)/../ltmain.sh $(srcdir)/../missing \ 63 64 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 65 $(srcdir)/cbc-uninstalled.pc.in $(srcdir)/cbc.pc.in \ 64 66 $(srcdir)/cbc_addlibs.txt.in $(top_srcdir)/configure \ 65 67 $(top_srcdir)/examples/Makefile.in \ … … 77 79 mkinstalldirs = $(install_sh) -d 78 80 CONFIG_HEADER = $(top_builddir)/inc/config_cbc.h 79 CONFIG_CLEAN_FILES = examples/Makefile cbc_addlibs.txt 81 CONFIG_CLEAN_FILES = examples/Makefile cbc_addlibs.txt cbc.pc \ 82 cbc-uninstalled.pc 80 83 SOURCES = 81 84 DIST_SOURCES = … … 86 89 pdf-recursive ps-recursive uninstall-info-recursive \ 87 90 uninstall-recursive 91 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 92 am__vpath_adj = case $$p in \ 93 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 94 *) f=$$p;; \ 95 esac; 96 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 97 am__installdirs = "$(DESTDIR)$(addlibsdir)" \ 98 "$(DESTDIR)$(pkgconfiglibdir)" 99 addlibsDATA_INSTALL = $(INSTALL_DATA) 100 pkgconfiglibDATA_INSTALL = $(INSTALL_DATA) 101 DATA = $(addlibs_DATA) $(pkgconfiglib_DATA) 88 102 ETAGS = etags 89 103 CTAGS = ctags … … 100 114 distuninstallcheck_listfiles = find . -type f -print 101 115 distcleancheck_listfiles = find . -type f -print 116 ABSBUILDDIR = @ABSBUILDDIR@ 102 117 ACLOCAL = @ACLOCAL@ 103 118 ADDLIBS = @ADDLIBS@ … … 110 125 AMTAR = @AMTAR@ 111 126 AR = @AR@ 112 ASLLIB = @ASLLIB@ 113 ASL_CPPFLAGS = @ASL_CPPFLAGS@ 127 ASL_CFLAGS = @ASL_CFLAGS@ 128 ASL_DATA = @ASL_DATA@ 129 ASL_LIBS = @ASL_LIBS@ 114 130 AUTOCONF = @AUTOCONF@ 115 131 AUTOHEADER = @AUTOHEADER@ … … 118 134 AWK = @AWK@ 119 135 BUILDTOOLSDIR = @BUILDTOOLSDIR@ 120 CBCDOCDIR = @CBCDOCDIR@121 CBCOBJDIR = @CBCOBJDIR@122 CBCSRCDIR = @CBCSRCDIR@123 136 CBC_BUILD_CBC_GENERIC_FALSE = @CBC_BUILD_CBC_GENERIC_FALSE@ 124 137 CBC_BUILD_CBC_GENERIC_TRUE = @CBC_BUILD_CBC_GENERIC_TRUE@ … … 127 140 CDEFS = @CDEFS@ 128 141 CFLAGS = @CFLAGS@ 129 CGLDOCDIR = @CGLDOCDIR@ 130 CGLOBJDIR = @CGLOBJDIR@ 131 CGLSRCDIR = @CGLSRCDIR@ 132 CLPDOCDIR = @CLPDOCDIR@ 133 CLPOBJDIR = @CLPOBJDIR@ 134 CLPSRCDIR = @CLPSRCDIR@ 135 COINUTILSDOCDIR = @COINUTILSDOCDIR@ 136 COINUTILSOBJDIR = @COINUTILSOBJDIR@ 137 COINUTILSSRCDIR = @COINUTILSSRCDIR@ 138 COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@ 139 COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@ 142 CLP_CFLAGS = @CLP_CFLAGS@ 143 CLP_DATA = @CLP_DATA@ 144 CLP_LIBS = @CLP_LIBS@ 145 COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@ 146 COINDEPEND_DATA = @COINDEPEND_DATA@ 147 COINDEPEND_LIBS = @COINDEPEND_LIBS@ 140 148 COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@ 141 149 COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@ 142 COIN_HAS_CBC_FALSE = @COIN_HAS_CBC_FALSE@143 COIN_HAS_CBC_TRUE = @COIN_HAS_CBC_TRUE@144 COIN_HAS_CGL_FALSE = @COIN_HAS_CGL_FALSE@145 COIN_HAS_CGL_TRUE = @COIN_HAS_CGL_TRUE@146 150 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@ 147 151 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@ 148 COIN_HAS_COIN UTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@149 COIN_HAS_COIN UTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@152 COIN_HAS_COINDEPEND_FALSE = @COIN_HAS_COINDEPEND_FALSE@ 153 COIN_HAS_COINDEPEND_TRUE = @COIN_HAS_COINDEPEND_TRUE@ 150 154 COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@ 151 155 COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@ 152 156 COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@ 153 157 COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@ 154 COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@155 COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@156 158 COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@ 157 159 COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@ 160 COIN_HAS_MIPLIB3_FALSE = @COIN_HAS_MIPLIB3_FALSE@ 161 COIN_HAS_MIPLIB3_TRUE = @COIN_HAS_MIPLIB3_TRUE@ 158 162 COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@ 159 163 COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@ 160 COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@ 161 COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@ 162 COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@ 163 COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@ 164 COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@ 165 COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@ 166 COIN_HAS_SYMPHONY_FALSE = @COIN_HAS_SYMPHONY_FALSE@ 167 COIN_HAS_SYMPHONY_TRUE = @COIN_HAS_SYMPHONY_TRUE@ 164 COIN_HAS_NETLIB_FALSE = @COIN_HAS_NETLIB_FALSE@ 165 COIN_HAS_NETLIB_TRUE = @COIN_HAS_NETLIB_TRUE@ 166 COIN_HAS_OSITESTS_FALSE = @COIN_HAS_OSITESTS_FALSE@ 167 COIN_HAS_OSITESTS_TRUE = @COIN_HAS_OSITESTS_TRUE@ 168 COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@ 169 COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@ 168 170 COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@ 169 171 COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@ … … 172 174 CPP = @CPP@ 173 175 CPPFLAGS = @CPPFLAGS@ 174 CPXDOCDIR = @CPXDOCDIR@ 175 CPXINCDIR = @CPXINCDIR@ 176 CPXLIB = @CPXLIB@ 177 CPXOBJDIR = @CPXOBJDIR@ 178 CPXSRCDIR = @CPXSRCDIR@ 176 CPX_CFLAGS = @CPX_CFLAGS@ 177 CPX_DATA = @CPX_DATA@ 178 CPX_LIBS = @CPX_LIBS@ 179 179 CXX = @CXX@ 180 180 CXXCPP = @CXXCPP@ … … 187 187 DEFS = @DEFS@ 188 188 DEPDIR = @DEPDIR@ 189 DYLP DOCDIR = @DYLPDOCDIR@190 DYLP OBJDIR = @DYLPOBJDIR@191 DYLP SRCDIR = @DYLPSRCDIR@189 DYLP_CFLAGS = @DYLP_CFLAGS@ 190 DYLP_DATA = @DYLP_DATA@ 191 DYLP_LIBS = @DYLP_LIBS@ 192 192 ECHO = @ECHO@ 193 193 ECHO_C = @ECHO_C@ … … 199 199 FADDLIBS = @FADDLIBS@ 200 200 FFLAGS = @FFLAGS@ 201 FMPINCDIR = @FMPINCDIR@ 202 FMPLIB = @FMPLIB@ 203 GLPKINCDIR = @GLPKINCDIR@ 204 GLPKLIB = @GLPKLIB@ 205 GLPKOBJDIR = @GLPKOBJDIR@ 201 GLPK_CFLAGS = @GLPK_CFLAGS@ 202 GLPK_DATA = @GLPK_DATA@ 203 GLPK_LIBS = @GLPK_LIBS@ 206 204 HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@ 207 205 HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@ … … 223 221 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 224 222 MAKEINFO = @MAKEINFO@ 223 MIPLIB3_CFLAGS = @MIPLIB3_CFLAGS@ 224 MIPLIB3_DATA = @MIPLIB3_DATA@ 225 MIPLIB3_LIBS = @MIPLIB3_LIBS@ 225 226 MPICC = @MPICC@ 226 227 MPICXX = @MPICXX@ 227 MSKINCDIR = @MSKINCDIR@ 228 MSKLIB = @MSKLIB@ 228 MSK_CFLAGS = @MSK_CFLAGS@ 229 MSK_DATA = @MSK_DATA@ 230 MSK_LIBS = @MSK_LIBS@ 231 NETLIB_CFLAGS = @NETLIB_CFLAGS@ 232 NETLIB_DATA = @NETLIB_DATA@ 233 NETLIB_LIBS = @NETLIB_LIBS@ 229 234 OBJEXT = @OBJEXT@ 230 235 OPT_CFLAGS = @OPT_CFLAGS@ 231 236 OPT_CXXFLAGS = @OPT_CXXFLAGS@ 232 OSIDOCDIR = @OSIDOCDIR@ 233 OSIOBJDIR = @OSIOBJDIR@ 234 OSISRCDIR = @OSISRCDIR@ 235 OSLINCDIR = @OSLINCDIR@ 236 OSLLIB = @OSLLIB@ 237 OSITESTS_CFLAGS = @OSITESTS_CFLAGS@ 238 OSITESTS_DATA = @OSITESTS_DATA@ 239 OSITESTS_LIBS = @OSITESTS_LIBS@ 237 240 PACKAGE = @PACKAGE@ 238 241 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ … … 242 245 PACKAGE_VERSION = @PACKAGE_VERSION@ 243 246 PATH_SEPARATOR = @PATH_SEPARATOR@ 247 PKG_CONFIG = @PKG_CONFIG@ 244 248 RANLIB = @RANLIB@ 249 REQUIREDPACKAGES = @REQUIREDPACKAGES@ 245 250 RPATH_FLAGS = @RPATH_FLAGS@ 251 SAMPLE_CFLAGS = @SAMPLE_CFLAGS@ 252 SAMPLE_DATA = @SAMPLE_DATA@ 253 SAMPLE_LIBS = @SAMPLE_LIBS@ 246 254 SET_MAKE = @SET_MAKE@ 247 255 SHELL = @SHELL@ 248 SPXINCDIR = @SPXINCDIR@249 SPXLIB = @SPXLIB@250 256 STRIP = @STRIP@ 251 SYMPHONYDOCDIR = @SYMPHONYDOCDIR@252 SYMPHONYOBJDIR = @SYMPHONYOBJDIR@253 SYMPHONYSRCDIR = @SYMPHONYSRCDIR@254 257 VERSION = @VERSION@ 255 VOL DOCDIR = @VOLDOCDIR@256 VOL OBJDIR = @VOLOBJDIR@257 VOL SRCDIR = @VOLSRCDIR@258 VOL_CFLAGS = @VOL_CFLAGS@ 259 VOL_DATA = @VOL_DATA@ 260 VOL_LIBS = @VOL_LIBS@ 258 261 VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@ 259 XPRINCDIR = @XPRINCDIR@ 260 XPRLIB = @XPRLIB@ 262 XPR_CFLAGS = @XPR_CFLAGS@ 263 XPR_DATA = @XPR_DATA@ 264 XPR_LIBS = @XPR_LIBS@ 261 265 abs_bin_dir = @abs_bin_dir@ 262 266 abs_include_dir = @abs_include_dir@ … … 271 275 ac_ct_STRIP = @ac_ct_STRIP@ 272 276 ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@ 277 ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ 273 278 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 274 279 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ … … 353 358 # Installation of the addlibs file # 354 359 ######################################################################## 355 addlibsfile = cbc_addlibs.txt 356 addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/ 360 addlibsdir = $(datadir)/coin/doc/Cbc 361 addlibs_DATA = cbc_addlibs.txt 362 pkgconfiglibdir = $(libdir)/pkgconfig 363 pkgconfiglib_DATA = cbc.pc 357 364 358 365 ######################################################################## … … 363 370 DISTCLEANFILES = $(am__append_3) $(VPATH_DISTCLEANFILES) 364 371 DocFiles = README AUTHORS LICENSE 365 DocInstallDir = $( prefix)/share/doc/coin/$(PACKAGE_NAME)372 DocInstallDir = $(datadir)/coin/doc/$(PACKAGE_NAME) 366 373 all: all-recursive 367 374 … … 421 428 cbc_addlibs.txt: $(top_builddir)/config.status $(srcdir)/cbc_addlibs.txt.in 422 429 cd $(top_builddir) && $(SHELL) ./config.status $@ 430 cbc.pc: $(top_builddir)/config.status $(srcdir)/cbc.pc.in 431 cd $(top_builddir) && $(SHELL) ./config.status $@ 432 cbc-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/cbc-uninstalled.pc.in 433 cd $(top_builddir) && $(SHELL) ./config.status $@ 423 434 424 435 mostlyclean-libtool: … … 431 442 -rm -f libtool 432 443 uninstall-info-am: 444 install-addlibsDATA: $(addlibs_DATA) 445 @$(NORMAL_INSTALL) 446 test -z "$(addlibsdir)" || $(mkdir_p) "$(DESTDIR)$(addlibsdir)" 447 @list='$(addlibs_DATA)'; for p in $$list; do \ 448 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 449 f=$(am__strip_dir) \ 450 echo " $(addlibsDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(addlibsdir)/$$f'"; \ 451 $(addlibsDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(addlibsdir)/$$f"; \ 452 done 453 454 uninstall-addlibsDATA: 455 @$(NORMAL_UNINSTALL) 456 @list='$(addlibs_DATA)'; for p in $$list; do \ 457 f=$(am__strip_dir) \ 458 echo " rm -f '$(DESTDIR)$(addlibsdir)/$$f'"; \ 459 rm -f "$(DESTDIR)$(addlibsdir)/$$f"; \ 460 done 461 install-pkgconfiglibDATA: $(pkgconfiglib_DATA) 462 @$(NORMAL_INSTALL) 463 test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)" 464 @list='$(pkgconfiglib_DATA)'; for p in $$list; do \ 465 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 466 f=$(am__strip_dir) \ 467 echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \ 468 $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \ 469 done 470 471 uninstall-pkgconfiglibDATA: 472 @$(NORMAL_UNINSTALL) 473 @list='$(pkgconfiglib_DATA)'; for p in $$list; do \ 474 f=$(am__strip_dir) \ 475 echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \ 476 rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \ 477 done 433 478 434 479 # This directory's subdirectories are mostly independent; you can cd … … 708 753 check-am: all-am 709 754 check: check-recursive 710 all-am: Makefile 755 all-am: Makefile $(DATA) 711 756 installdirs: installdirs-recursive 712 757 installdirs-am: 758 for dir in "$(DESTDIR)$(addlibsdir)" "$(DESTDIR)$(pkgconfiglibdir)"; do \ 759 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 760 done 713 761 install: install-recursive 714 762 install-exec: install-exec-recursive … … 756 804 info-am: 757 805 758 install-data-am: 806 install-data-am: install-addlibsDATA install-pkgconfiglibDATA 759 807 760 808 install-exec-am: install-exec-local … … 784 832 ps-am: 785 833 786 uninstall-am: uninstall-info-am uninstall-local 834 uninstall-am: uninstall-addlibsDATA uninstall-info-am uninstall-local \ 835 uninstall-pkgconfiglibDATA 787 836 788 837 uninstall-info: uninstall-info-recursive … … 795 844 distclean-local distclean-recursive distclean-tags \ 796 845 distcleancheck distdir distuninstallcheck dvi dvi-am html \ 797 html-am info info-am install install-a m install-data\798 install-data -am install-exec install-exec-am \846 html-am info info-am install install-addlibsDATA install-am \ 847 install-data install-data-am install-exec install-exec-am \ 799 848 install-exec-local install-info install-info-am install-man \ 800 install-strip installcheck installcheck-am installdirs \ 801 installdirs-am maintainer-clean maintainer-clean-generic \ 802 maintainer-clean-recursive mostlyclean mostlyclean-generic \ 803 mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ 804 tags tags-recursive uninstall uninstall-am uninstall-info-am \ 805 uninstall-local 849 install-pkgconfiglibDATA install-strip installcheck \ 850 installcheck-am installdirs installdirs-am maintainer-clean \ 851 maintainer-clean-generic maintainer-clean-recursive \ 852 mostlyclean mostlyclean-generic mostlyclean-libtool \ 853 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ 854 uninstall uninstall-addlibsDATA uninstall-am uninstall-info-am \ 855 uninstall-local uninstall-pkgconfiglibDATA 806 856 807 857 … … 821 871 if test -r test/Makefile; then cd test; $(MAKE) distclean; fi 822 872 873 install-exec-local: install-doc 874 875 uninstall-local: uninstall-doc 876 823 877 .PHONY: test unitTest 824 825 install-exec-local: install-doc826 $(install_sh_DATA) $(addlibsfile) $(DESTDIR)$(addlibsdir)/$(addlibsfile)827 828 uninstall-local: uninstall-doc829 rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)830 878 831 879 install-doc: $(DocFiles) -
branches/split/Cbc/configure
r1433 r1437 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.5devel.3 # Generated by GNU Autoconf 2.59 for Cbc split. 4 4 # 5 # Report bugs to <c oin-cbc@list.coin-or.org>.5 # Report bugs to <cbc@list.coin-or.org>. 6 6 # 7 7 # Copyright (C) 2003 Free Software Foundation, Inc. … … 430 430 PACKAGE_NAME='Cbc' 431 431 PACKAGE_TARNAME='cbc' 432 PACKAGE_VERSION=' 2.5devel'433 PACKAGE_STRING='Cbc 2.5devel'434 PACKAGE_BUGREPORT='c oin-cbc@list.coin-or.org'432 PACKAGE_VERSION='split' 433 PACKAGE_STRING='Cbc split' 434 PACKAGE_BUGREPORT='cbc@list.coin-or.org' 435 435 436 436 ac_unique_file="src/CbcTree.hpp" … … 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_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 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_S 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 CBCSRCDIR CBCOBJDIR CBCDOCDIR COIN_HAS_CBC_TRUE COIN_HAS_CBC_FALSE CGLSRCDIR CGLOBJDIR CGLDOCDIR COIN_HAS_CGL_TRUE COIN_HAS_CGL_FALSE CLPSRCDIR CLPOBJDIR CLPDOCDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COINUTILSSRCDIR COINUTILSOBJDIR COINUTILSDOCDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE DYLPSRCDIR DYLPOBJDIR DYLPDOCDIR COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE OSISRCDIR OSIOBJDIR OSIDOCDIR COIN_HAS_OSI_TRUE COIN_HAS_OSI_FALSE VOLSRCDIR VOLOBJDIR VOLDOCDIR COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE SYMPHONYSRCDIR SYMPHONYOBJDIR SYMPHONYDOCDIR COIN_HAS_SYMPHONY_TRUE COIN_HAS_SYMPHONY_FALSE CPXSRCDIR CPXOBJDIR CPXDOCDIR COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE CPXINCDIR CPXLIB FMPINCDIR FMPLIB COIN_HAS_FMP_TRUE COIN_HAS_FMP_FALSE MSKINCDIR MSKLIB COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE OSLINCDIR OSLLIB COIN_HAS_OSL_TRUE COIN_HAS_OSL_FALSE SPXINCDIR SPXLIB COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPRINCDIR XPRLIB COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE GLPKINCDIR GLPKLIB COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GLPKOBJDIR COIN_BUILD_GLPK_TRUE COIN_BUILD_GLPK_FALSE ASLLIB ASL_CPPFLAGS COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE LIBEXT VPATH_DISTCLEANFILESLIBOBJS 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 ADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_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 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_S 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 COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA REQUIREDPACKAGES COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE DYLP_LIBS DYLP_CFLAGS DYLP_DATA COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE VOL_LIBS VOL_CFLAGS VOL_DATA COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE MIPLIB3_LIBS MIPLIB3_CFLAGS MIPLIB3_DATA COIN_HAS_MIPLIB3_TRUE COIN_HAS_MIPLIB3_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 994 994 ac_cv_env_FFLAGS_set=${FFLAGS+set} 995 995 ac_cv_env_FFLAGS_value=$FFLAGS 996 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 997 ac_env_PKG_CONFIG_value=$PKG_CONFIG 998 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 999 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 996 1000 997 1001 # … … 1002 1006 # This message is too long to be a string in the A/UX 3.1 sh. 1003 1007 cat <<_ACEOF 1004 \`configure' configures Cbc 2.5develto adapt to many kinds of systems.1008 \`configure' configures Cbc split to adapt to many kinds of systems. 1005 1009 1006 1010 Usage: $0 [OPTION]... [VAR=VALUE]... … … 1068 1072 if test -n "$ac_init_help"; then 1069 1073 case $ac_init_help in 1070 short | recursive ) echo "Configuration of Cbc 2.5devel:";;1074 short | recursive ) echo "Configuration of Cbc split:";; 1071 1075 esac 1072 1076 cat <<\_ACEOF … … 1093 1097 optimize for fast installation [default=yes] 1094 1098 --disable-libtool-lock avoid locking (might break parallel builds) 1095 --enable-cplex-libcheck use disable-cplex-libcheck to skip the 1096 link check at configuration time 1097 --enable-fortmp-libcheck 1098 use disable-fortmp-libcheck to skip the 1099 link check at configuration time 1100 --enable-mosek-libcheck use disable-mosek-libcheck to skip the 1101 link check at configuration time 1102 --enable-osl-libcheck use disable-osl-libcheck to skip the link 1103 check at configuration time 1104 --enable-soplex-libcheck 1105 use disable-soplex-libcheck to skip the 1106 link check at configuration time 1107 --enable-xpress-libcheck 1108 use disable-xpress-libcheck to skip the 1109 link check at configuration time 1110 --enable-glpk-libcheck use disable-glpk-libcheck to skip the 1111 link check at configuration time 1099 --enable-pkg-config use pkg-config if available (default is yes) 1112 1100 --enable-cbc-parallel enables compilation of the SMP version of Cbc 1113 1101 … … 1122 1110 --with-tags[=TAGS] 1123 1111 include additional configurations [automatic] 1124 --with-cplex-incdir specify the header file directory for library Cplex 1125 --with-cplex-lib specify the flags used to link with the library Cplex 1126 --with-fortmp-incdir specify the header file directory for library FortMP 1127 --with-fortmp-lib specify the flags used to link with the library FortMP 1128 --with-mosek-incdir specify the header file directory for library Mosek 1129 --with-mosek-lib specify the flags used to link with the library Mosek 1130 --with-osl-incdir specify the header file directory for library Osl 1131 --with-osl-lib specify the flags used to link with the library Osl 1132 --with-soplex-incdir specify the header file directory for library Soplex 1133 --with-soplex-lib specify the flags used to link with the library Soplex 1134 --with-xpress-incdir specify the header file directory for library Xpress 1135 --with-xpress-lib specify the flags used to link with the library Xpress 1136 --with-glpk-incdir specify the header file directory for library Glpk 1137 --with-glpk-lib specify the flags used to link with the library Glpk 1138 --with-asldir specify path to AMPL solver directory (or BUILD for 1139 compilation, or "no" for disabling AMPL) 1112 --with-coindepend-lib linker flags for using module CoinDepend 1113 --with-coindepend-incdir 1114 directory with header files for using module 1115 CoinDepend 1116 --with-coindepend-datadir 1117 directory with data files for using module 1118 CoinDepend 1119 --with-coin-instdir prefix of installation directory for precompiled 1120 COIN packages 1121 --with-clp-lib linker flags for using module Clp 1122 --with-clp-incdir directory with header files for using module Clp 1123 --with-clp-datadir directory with data files for using module Clp 1124 --with-dylp-lib linker flags for using module DyLP 1125 --with-dylp-incdir directory with header files for using module DyLP 1126 --with-dylp-datadir directory with data files for using module DyLP 1127 --with-vol-lib linker flags for using module Vol 1128 --with-vol-incdir directory with header files for using module Vol 1129 --with-vol-datadir directory with data files for using module Vol 1130 --with-ositests-lib linker flags for using module OsiTests 1131 --with-ositests-incdir directory with header files for using module OsiTests 1132 --with-ositests-datadir directory with data files for using module OsiTests 1133 --with-sample-lib linker flags for using module Sample 1134 --with-sample-incdir directory with header files for using module Sample 1135 --with-sample-datadir directory with data files for using module Sample 1136 --with-netlib-lib linker flags for using module Netlib 1137 --with-netlib-incdir directory with header files for using module Netlib 1138 --with-netlib-datadir directory with data files for using module Netlib 1139 --with-miplib3-lib linker flags for using module Miplib3 1140 --with-miplib3-incdir directory with header files for using module Miplib3 1141 --with-miplib3-datadir directory with data files for using module Miplib3 1142 --with-cpx-lib linker flags for using module Cpx 1143 --with-cpx-incdir directory with header files for using module Cpx 1144 --with-cpx-datadir directory with data files for using module Cpx 1145 --with-glpk-lib linker flags for using module Glpk 1146 --with-glpk-incdir directory with header files for using module Glpk 1147 --with-glpk-datadir directory with data files for using module Glpk 1148 --with-msk-lib linker flags for using module Msk 1149 --with-msk-incdir directory with header files for using module Msk 1150 --with-msk-datadir directory with data files for using module Msk 1151 --with-xpr-lib linker flags for using module Xpr 1152 --with-xpr-incdir directory with header files for using module Xpr 1153 --with-xpr-datadir directory with data files for using module Xpr 1154 --with-asl-lib linker flags for using module ASL 1155 --with-asl-incdir directory with header files for using module ASL 1156 --with-asl-datadir directory with data files for using module ASL 1140 1157 --with-cbc-generic specify whether to build cbc-generic (default: no) 1141 1158 --with-cbc-generic-solver … … 1169 1186 F77 Fortran 77 compiler command 1170 1187 FFLAGS Fortran 77 compiler flags 1188 PKG_CONFIG path to pkg-config utility 1171 1189 1172 1190 Use these variables to override the choices made by `configure' or to help 1173 1191 it to find libraries and programs with nonstandard names/locations. 1174 1192 1175 Report bugs to <c oin-cbc@list.coin-or.org>.1193 Report bugs to <cbc@list.coin-or.org>. 1176 1194 _ACEOF 1177 1195 fi … … 1269 1287 if $ac_init_version; then 1270 1288 cat <<\_ACEOF 1271 Cbc configure 2.5devel1289 Cbc configure split 1272 1290 generated by GNU Autoconf 2.59 1273 1291 … … 1289 1307 running configure, to aid debugging if configure makes a mistake. 1290 1308 1291 It was created by Cbc $as_me 2.5devel, which was1309 It was created by Cbc $as_me split, which was 1292 1310 generated by GNU Autoconf 2.59. Invocation command line was 1293 1311 … … 1733 1751 # that we are in a project main directory 1734 1752 coin_projectdir=yes 1753 1754 # Check if a library version is set for libtool 1755 1735 1756 1736 1757 … … 4517 4538 # Define the identity of the package. 4518 4539 PACKAGE='cbc' 4519 VERSION=' 2.5devel'4540 VERSION='split' 4520 4541 4521 4542 … … 5819 5840 *-*-irix6*) 5820 5841 # Find out which ABI we are using. 5821 echo '#line 58 21"configure"' > conftest.$ac_ext5842 echo '#line 5842 "configure"' > conftest.$ac_ext 5822 5843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5823 5844 (eval $ac_compile) 2>&5 … … 6596 6617 ( 6597 6618 cat <<\_ASBOX 6598 ## ----------------------------------- -----##6599 ## Report this to c oin-cbc@list.coin-or.org ##6600 ## ----------------------------------- -----##6619 ## ----------------------------------- ## 6620 ## Report this to cbc@list.coin-or.org ## 6621 ## ----------------------------------- ## 6601 6622 _ASBOX 6602 6623 ) | … … 6953 6974 6954 6975 # Provide some information about the compiler. 6955 echo "$as_me:69 55:" \6976 echo "$as_me:6976:" \ 6956 6977 "checking for Fortran 77 compiler version" >&5 6957 6978 ac_compiler=`set X $ac_compile; echo $2` … … 8020 8041 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8021 8042 -e 's:$: $lt_compiler_flag:'` 8022 (eval echo "\"\$as_me:80 22: $lt_compile\"" >&5)8043 (eval echo "\"\$as_me:8043: $lt_compile\"" >&5) 8023 8044 (eval "$lt_compile" 2>conftest.err) 8024 8045 ac_status=$? 8025 8046 cat conftest.err >&5 8026 echo "$as_me:80 26: \$? = $ac_status" >&58047 echo "$as_me:8047: \$? = $ac_status" >&5 8027 8048 if (exit $ac_status) && test -s "$ac_outfile"; then 8028 8049 # The compiler can only warn and ignore the option if not recognized … … 8288 8309 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8289 8310 -e 's:$: $lt_compiler_flag:'` 8290 (eval echo "\"\$as_me:8 290: $lt_compile\"" >&5)8311 (eval echo "\"\$as_me:8311: $lt_compile\"" >&5) 8291 8312 (eval "$lt_compile" 2>conftest.err) 8292 8313 ac_status=$? 8293 8314 cat conftest.err >&5 8294 echo "$as_me:8 294: \$? = $ac_status" >&58315 echo "$as_me:8315: \$? = $ac_status" >&5 8295 8316 if (exit $ac_status) && test -s "$ac_outfile"; then 8296 8317 # The compiler can only warn and ignore the option if not recognized … … 8392 8413 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 8393 8414 -e 's:$: $lt_compiler_flag:'` 8394 (eval echo "\"\$as_me:8 394: $lt_compile\"" >&5)8415 (eval echo "\"\$as_me:8415: $lt_compile\"" >&5) 8395 8416 (eval "$lt_compile" 2>out/conftest.err) 8396 8417 ac_status=$? 8397 8418 cat out/conftest.err >&5 8398 echo "$as_me:8 398: \$? = $ac_status" >&58419 echo "$as_me:8419: \$? = $ac_status" >&5 8399 8420 if (exit $ac_status) && test -s out/conftest2.$ac_objext 8400 8421 then … … 10737 10758 lt_status=$lt_dlunknown 10738 10759 cat > conftest.$ac_ext <<EOF 10739 #line 107 39"configure"10760 #line 10760 "configure" 10740 10761 #include "confdefs.h" 10741 10762 … … 10837 10858 lt_status=$lt_dlunknown 10838 10859 cat > conftest.$ac_ext <<EOF 10839 #line 108 39"configure"10860 #line 10860 "configure" 10840 10861 #include "confdefs.h" 10841 10862 … … 13181 13202 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13182 13203 -e 's:$: $lt_compiler_flag:'` 13183 (eval echo "\"\$as_me:13 183: $lt_compile\"" >&5)13204 (eval echo "\"\$as_me:13204: $lt_compile\"" >&5) 13184 13205 (eval "$lt_compile" 2>conftest.err) 13185 13206 ac_status=$? 13186 13207 cat conftest.err >&5 13187 echo "$as_me:13 187: \$? = $ac_status" >&513208 echo "$as_me:13208: \$? = $ac_status" >&5 13188 13209 if (exit $ac_status) && test -s "$ac_outfile"; then 13189 13210 # The compiler can only warn and ignore the option if not recognized … … 13285 13306 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 13286 13307 -e 's:$: $lt_compiler_flag:'` 13287 (eval echo "\"\$as_me:13 287: $lt_compile\"" >&5)13308 (eval echo "\"\$as_me:13308: $lt_compile\"" >&5) 13288 13309 (eval "$lt_compile" 2>out/conftest.err) 13289 13310 ac_status=$? 13290 13311 cat out/conftest.err >&5 13291 echo "$as_me:13 291: \$? = $ac_status" >&513312 echo "$as_me:13312: \$? = $ac_status" >&5 13292 13313 if (exit $ac_status) && test -s out/conftest2.$ac_objext 13293 13314 then … … 14855 14876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14856 14877 -e 's:$: $lt_compiler_flag:'` 14857 (eval echo "\"\$as_me:148 57: $lt_compile\"" >&5)14878 (eval echo "\"\$as_me:14878: $lt_compile\"" >&5) 14858 14879 (eval "$lt_compile" 2>conftest.err) 14859 14880 ac_status=$? 14860 14881 cat conftest.err >&5 14861 echo "$as_me:148 61: \$? = $ac_status" >&514882 echo "$as_me:14882: \$? = $ac_status" >&5 14862 14883 if (exit $ac_status) && test -s "$ac_outfile"; then 14863 14884 # The compiler can only warn and ignore the option if not recognized … … 14959 14980 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14960 14981 -e 's:$: $lt_compiler_flag:'` 14961 (eval echo "\"\$as_me:149 61: $lt_compile\"" >&5)14982 (eval echo "\"\$as_me:14982: $lt_compile\"" >&5) 14962 14983 (eval "$lt_compile" 2>out/conftest.err) 14963 14984 ac_status=$? 14964 14985 cat out/conftest.err >&5 14965 echo "$as_me:149 65: \$? = $ac_status" >&514986 echo "$as_me:14986: \$? = $ac_status" >&5 14966 14987 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14967 14988 then … … 17166 17187 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17167 17188 -e 's:$: $lt_compiler_flag:'` 17168 (eval echo "\"\$as_me:171 68: $lt_compile\"" >&5)17189 (eval echo "\"\$as_me:17189: $lt_compile\"" >&5) 17169 17190 (eval "$lt_compile" 2>conftest.err) 17170 17191 ac_status=$? 17171 17192 cat conftest.err >&5 17172 echo "$as_me:171 72: \$? = $ac_status" >&517193 echo "$as_me:17193: \$? = $ac_status" >&5 17173 17194 if (exit $ac_status) && test -s "$ac_outfile"; then 17174 17195 # The compiler can only warn and ignore the option if not recognized … … 17434 17455 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17435 17456 -e 's:$: $lt_compiler_flag:'` 17436 (eval echo "\"\$as_me:174 36: $lt_compile\"" >&5)17457 (eval echo "\"\$as_me:17457: $lt_compile\"" >&5) 17437 17458 (eval "$lt_compile" 2>conftest.err) 17438 17459 ac_status=$? 17439 17460 cat conftest.err >&5 17440 echo "$as_me:174 40: \$? = $ac_status" >&517461 echo "$as_me:17461: \$? = $ac_status" >&5 17441 17462 if (exit $ac_status) && test -s "$ac_outfile"; then 17442 17463 # The compiler can only warn and ignore the option if not recognized … … 17538 17559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 17539 17560 -e 's:$: $lt_compiler_flag:'` 17540 (eval echo "\"\$as_me:175 40: $lt_compile\"" >&5)17561 (eval echo "\"\$as_me:17561: $lt_compile\"" >&5) 17541 17562 (eval "$lt_compile" 2>out/conftest.err) 17542 17563 ac_status=$? 17543 17564 cat out/conftest.err >&5 17544 echo "$as_me:175 44: \$? = $ac_status" >&517565 echo "$as_me:17565: \$? = $ac_status" >&5 17545 17566 if (exit $ac_status) && test -s out/conftest2.$ac_objext 17546 17567 then … … 20423 20444 LT_LDFLAGS= 20424 20445 20446 # Check if we want to set the library version 20447 echo "$as_me:$LINENO: checking if library version is set" >&5 20448 echo $ECHO_N "checking if library version is set... $ECHO_C" >&6 20449 if test x"$coin_libversion" != x; then 20450 LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion" 20451 echo "$as_me:$LINENO: result: $coin_libversion" >&5 20452 echo "${ECHO_T}$coin_libversion" >&6 20453 else 20454 echo "$as_me:$LINENO: result: no" >&5 20455 echo "${ECHO_T}no" >&6 20456 fi 20457 20458 20425 20459 20426 20460 #END … … 20431 20465 ############################################################################# 20432 20466 20433 echo "$as_me:$LINENO: checking for COIN project Cbc" >&5 20434 echo $ECHO_N "checking for COIN project Cbc... $ECHO_C" >&6 20435 20436 # First check, if the sub-project is actually available (ToDo: allow 20437 # other locations) 20438 20439 coin_has_cbc=unavailable 20467 20468 20469 # Check whether --enable-pkg-config or --disable-pkg-config was given. 20470 if test "${enable_pkg_config+set}" = set; then 20471 enableval="$enable_pkg_config" 20472 use_pkgconfig="$enableval" 20473 else 20474 use_pkgconfig=yes 20475 fi; 20476 20477 if test $use_pkgconfig = yes ; then 20478 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20479 if test -n "$ac_tool_prefix"; then 20480 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20481 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20482 echo "$as_me:$LINENO: checking for $ac_word" >&5 20483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 20484 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 20485 echo $ECHO_N "(cached) $ECHO_C" >&6 20486 else 20487 case $PKG_CONFIG in 20488 [\\/]* | ?:[\\/]*) 20489 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20490 ;; 20491 *) 20492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20493 for as_dir in $PATH 20494 do 20495 IFS=$as_save_IFS 20496 test -z "$as_dir" && as_dir=. 20497 for ac_exec_ext in '' $ac_executable_extensions; do 20498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20499 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20501 break 2 20502 fi 20503 done 20504 done 20505 20506 ;; 20507 esac 20508 fi 20509 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20510 20511 if test -n "$PKG_CONFIG"; then 20512 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 20513 echo "${ECHO_T}$PKG_CONFIG" >&6 20514 else 20515 echo "$as_me:$LINENO: result: no" >&5 20516 echo "${ECHO_T}no" >&6 20517 fi 20518 20519 fi 20520 if test -z "$ac_cv_path_PKG_CONFIG"; then 20521 ac_pt_PKG_CONFIG=$PKG_CONFIG 20522 # Extract the first word of "pkg-config", so it can be a program name with args. 20523 set dummy pkg-config; ac_word=$2 20524 echo "$as_me:$LINENO: checking for $ac_word" >&5 20525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 20526 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 20527 echo $ECHO_N "(cached) $ECHO_C" >&6 20528 else 20529 case $ac_pt_PKG_CONFIG in 20530 [\\/]* | ?:[\\/]*) 20531 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20532 ;; 20533 *) 20534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20535 for as_dir in $PATH 20536 do 20537 IFS=$as_save_IFS 20538 test -z "$as_dir" && as_dir=. 20539 for ac_exec_ext in '' $ac_executable_extensions; do 20540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20541 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 20543 break 2 20544 fi 20545 done 20546 done 20547 20548 ;; 20549 esac 20550 fi 20551 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20552 20553 if test -n "$ac_pt_PKG_CONFIG"; then 20554 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 20555 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 20556 else 20557 echo "$as_me:$LINENO: result: no" >&5 20558 echo "${ECHO_T}no" >&6 20559 fi 20560 20561 PKG_CONFIG=$ac_pt_PKG_CONFIG 20562 else 20563 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20564 fi 20565 20566 fi 20567 if test -n "$PKG_CONFIG"; then 20568 _pkg_min_version=0.9.0 20569 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 20570 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 20571 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20572 echo "$as_me:$LINENO: result: yes" >&5 20573 echo "${ECHO_T}yes" >&6 20574 else 20575 echo "$as_me:$LINENO: result: no" >&5 20576 echo "${ECHO_T}no" >&6 20577 PKG_CONFIG="" 20578 fi 20579 fi 20580 20581 # check if pkg-config supports the short-errors flag 20582 if test -n "$PKG_CONFIG" && \ 20583 $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20584 pkg_short_errors=" --short-errors " 20585 else 20586 pkg_short_errors="" 20587 fi 20588 fi 20589 20590 20591 echo "$as_me:$LINENO: checking for COIN module CoinDepend" >&5 20592 echo $ECHO_N "checking for COIN module CoinDepend... $ECHO_C" >&6 20593 20594 coin_has_coindepend=notGiven 20595 20596 # check if user wants to skip module in any case 20440 20597 if test x"$COIN_SKIP_PROJECTS" != x; then 20441 20598 for dir in $COIN_SKIP_PROJECTS; do 20442 if test $dir = Cbc; then20443 coin_has_c bc=skipping20599 if test $dir = "CoinDepend"; then 20600 coin_has_coindepend=skipping 20444 20601 fi 20445 20602 done 20446 20603 fi 20447 20604 20448 if test $coin_has_cbc != skipping; then 20449 if test $PACKAGE_TARNAME = cbc; then 20450 coin_has_cbc=. 20605 COINDEPEND_LIBS= 20606 COINDEPEND_CFLAGS= 20607 COINDEPEND_DATA= 20608 20609 20610 20611 20612 20613 required=1 20614 20615 # execute third argument that can be used to overwrite flags like 'required' 20616 20617 20618 #check if user provided LIBS, CFLAGS, and DATA for module 20619 if test $coin_has_coindepend != skipping; then 20620 20621 20622 # Check whether --with-m4_tolower(CoinDepend)-lib or --without-m4_tolower(CoinDepend)-lib was given. 20623 if test "${with_coindepend_lib+set}" = set; then 20624 withval="$with_coindepend_lib" 20625 coin_has_coindepend=yes 20626 COINDEPEND_LIBS="$withval" 20627 if test $required = 1; then 20628 ADDLIBS="$ADDLIBS $withval" 20629 fi 20630 20631 fi; 20632 20633 20634 # Check whether --with-m4_tolower(CoinDepend)-incdir or --without-m4_tolower(CoinDepend)-incdir was given. 20635 if test "${with_coindepend_incdir+set}" = set; then 20636 withval="$with_coindepend_incdir" 20637 coin_has_coindepend=yes 20638 COINDEPEND_CFLAGS="-I`${CYGPATH_W} $withval`" 20639 fi; 20640 20641 20642 # Check whether --with-m4_tolower(CoinDepend)-datadir or --without-m4_tolower(CoinDepend)-datadir was given. 20643 if test "${with_coindepend_datadir+set}" = set; then 20644 withval="$with_coindepend_datadir" 20645 coin_has_coindepend=yes 20646 COINDEPEND_DATA="$withval" 20647 fi; 20648 fi 20649 20650 if test $coin_has_coindepend = notGiven; then 20651 if test -n "$PKG_CONFIG" ; then 20652 # assemble search path for pkg-config 20653 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 20654 20655 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 20656 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 20657 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20658 if test -d "${prefix}"; then 20659 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 20660 fi 20661 20662 20663 # Check whether --with-coin-instdir or --without-coin-instdir was given. 20664 if test "${with_coin_instdir+set}" = set; then 20665 withval="$with_coin_instdir" 20666 if test -d "$withval"; then : ; else 20667 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 20668 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 20669 { (exit 1); exit 1; }; } 20670 fi 20671 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 20672 20673 fi; 20674 20675 # in a classic setup, we want to find uninstalled projects 20676 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 20677 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 20678 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 20679 if test -e ../coin_subdirs.txt ; then 20680 for i in `cat ../coin_subdirs.txt` ; do 20681 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 20682 done 20683 fi 20684 20685 if test -e ../../coin_subdirs.txt ; then 20686 for i in `cat ../../coin_subdirs.txt` ; do 20687 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 20688 done 20689 fi 20690 20691 # let pkg-config do it's magic 20692 # need to export variable to be sure that the following pkg-config gets these values 20693 export PKG_CONFIG_PATH 20694 20695 20696 20697 if test -n "$PKG_CONFIG" ; then 20698 if $PKG_CONFIG --exists "coinutils = split osi cgl"; then 20699 COINDEPEND_VERSIONS="`$PKG_CONFIG --modversion coinutils = split osi cgl 2>/dev/null`" 20700 cflags=`$PKG_CONFIG --cflags "coinutils = split osi cgl" 2>/dev/null` 20701 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 20702 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 20703 # but only do this if is not trivial 20704 if test "$CYGPATH_W" != "echo" ; then 20705 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 20706 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 20707 fi 20708 COINDEPEND_CFLAGS="$cflags" 20709 COINDEPEND_LIBS=`$PKG_CONFIG --libs "coinutils = split osi cgl" 2>/dev/null` 20710 COINDEPEND_DATA=`$PKG_CONFIG --variable=datadir "coinutils = split osi cgl" 2>/dev/null` 20711 coin_has_coindepend=yes 20712 echo "$as_me:$LINENO: result: yes: $COINDEPEND_VERSIONS" >&5 20713 echo "${ECHO_T}yes: $COINDEPEND_VERSIONS" >&6 20714 if test $required = 1; then 20715 REQUIREDPACKAGES="$REQUIREDPACKAGES coinutils = split osi cgl" 20716 fi 20717 20718 20451 20719 else 20452 if test -d $srcdir/../Cbc; then 20453 coin_has_cbc=../Cbc 20454 fi 20455 fi 20456 fi 20457 20458 if test $coin_has_cbc != unavailable && 20459 test $coin_has_cbc != skipping; then 20460 # Set the #define if the component is available 20720 COINDEPEND_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coinutils = split osi cgl` 20721 coin_has_coindepend=notGiven 20722 echo "$as_me:$LINENO: result: not given: $COINDEPEND_PKG_ERRORS" >&5 20723 echo "${ECHO_T}not given: $COINDEPEND_PKG_ERRORS" >&6 20724 20725 fi 20726 else 20727 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinDepend without pkg-config\"" >&5 20728 echo "$as_me: error: \"Cannot check for existance of module CoinDepend without pkg-config\"" >&2;} 20729 { (exit 1); exit 1; }; } 20730 fi 20731 20732 20733 20734 20735 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 20736 else 20737 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 20738 echo "${ECHO_T}skipped check via pkg-config" >&6 20739 fi 20740 20741 else 20742 echo "$as_me:$LINENO: result: $coin_has_coindepend" >&5 20743 echo "${ECHO_T}$coin_has_coindepend" >&6 20744 fi 20745 20746 if test $coin_has_coindepend != skipping && 20747 test $coin_has_coindepend != notGiven ; then 20748 if test -n "$COINDEPEND_CFLAGS" ; then 20749 { echo "$as_me:$LINENO: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&5 20750 echo "$as_me: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&6;} 20751 fi 20752 if test -n "$COINDEPEND_LIBS" ; then 20753 { echo "$as_me:$LINENO: CoinDepend LIBS are $COINDEPEND_LIBS" >&5 20754 echo "$as_me: CoinDepend LIBS are $COINDEPEND_LIBS" >&6;} 20755 fi 20756 if test -n "$COINDEPEND_DATA" ; then 20757 { echo "$as_me:$LINENO: CoinDepend DATA is $COINDEPEND_DATA" >&5 20758 echo "$as_me: CoinDepend DATA is $COINDEPEND_DATA" >&6;} 20759 fi 20461 20760 20462 20761 cat >>confdefs.h <<\_ACEOF 20463 #define COIN_HAS_C BC120762 #define COIN_HAS_COINDEPEND 1 20464 20763 _ACEOF 20465 20764 20466 20467 # Set the variables for source and object code location 20468 20469 CBCSRCDIR=`cd $srcdir/$coin_has_cbc; pwd` 20470 20471 CBCOBJDIR=`pwd`/$coin_has_cbc 20472 20473 CBCDOCDIR=$abs_lib_dir/../share/doc/coin/Cbc 20474 fi 20475 20476 # Define the Makefile conditional 20477 20478 20479 if test $coin_has_cbc != unavailable && 20480 test $coin_has_cbc != skipping; then 20481 COIN_HAS_CBC_TRUE= 20482 COIN_HAS_CBC_FALSE='#' 20483 else 20484 COIN_HAS_CBC_TRUE='#' 20485 COIN_HAS_CBC_FALSE= 20486 fi 20487 20488 echo "$as_me:$LINENO: result: $coin_has_cbc" >&5 20489 echo "${ECHO_T}$coin_has_cbc" >&6 20490 20491 echo "$as_me:$LINENO: checking for COIN project Cgl" >&5 20492 echo $ECHO_N "checking for COIN project Cgl... $ECHO_C" >&6 20493 20494 # First check, if the sub-project is actually available (ToDo: allow 20495 # other locations) 20496 20497 coin_has_cgl=unavailable 20765 fi 20766 20767 # Define the Makefile conditional 20768 20769 20770 if test $coin_has_coindepend != notGiven && 20771 test $coin_has_coindepend != skipping; then 20772 COIN_HAS_COINDEPEND_TRUE= 20773 COIN_HAS_COINDEPEND_FALSE='#' 20774 else 20775 COIN_HAS_COINDEPEND_TRUE='#' 20776 COIN_HAS_COINDEPEND_FALSE= 20777 fi 20778 20779 20780 20781 20782 echo "$as_me:$LINENO: checking for COIN module Clp" >&5 20783 echo $ECHO_N "checking for COIN module Clp... $ECHO_C" >&6 20784 20785 coin_has_clp=notGiven 20786 20787 # check if user wants to skip module in any case 20498 20788 if test x"$COIN_SKIP_PROJECTS" != x; then 20499 20789 for dir in $COIN_SKIP_PROJECTS; do 20500 if test $dir = Cgl; then 20501 coin_has_cgl=skipping 20502 fi 20503 done 20504 fi 20505 20506 if test $coin_has_cgl != skipping; then 20507 if test $PACKAGE_TARNAME = cgl; then 20508 coin_has_cgl=. 20509 else 20510 if test -d $srcdir/../Cgl; then 20511 coin_has_cgl=../Cgl 20512 fi 20513 fi 20514 fi 20515 20516 if test $coin_has_cgl != unavailable && 20517 test $coin_has_cgl != skipping; then 20518 # Set the #define if the component is available 20519 20520 cat >>confdefs.h <<\_ACEOF 20521 #define COIN_HAS_CGL 1 20522 _ACEOF 20523 20524 20525 # Set the variables for source and object code location 20526 20527 CGLSRCDIR=`cd $srcdir/$coin_has_cgl; pwd` 20528 20529 CGLOBJDIR=`pwd`/$coin_has_cgl 20530 20531 CGLDOCDIR=$abs_lib_dir/../share/doc/coin/Cgl 20532 fi 20533 20534 # Define the Makefile conditional 20535 20536 20537 if test $coin_has_cgl != unavailable && 20538 test $coin_has_cgl != skipping; then 20539 COIN_HAS_CGL_TRUE= 20540 COIN_HAS_CGL_FALSE='#' 20541 else 20542 COIN_HAS_CGL_TRUE='#' 20543 COIN_HAS_CGL_FALSE= 20544 fi 20545 20546 echo "$as_me:$LINENO: result: $coin_has_cgl" >&5 20547 echo "${ECHO_T}$coin_has_cgl" >&6 20548 20549 echo "$as_me:$LINENO: checking for COIN project Clp" >&5 20550 echo $ECHO_N "checking for COIN project Clp... $ECHO_C" >&6 20551 20552 # First check, if the sub-project is actually available (ToDo: allow 20553 # other locations) 20554 20555 coin_has_clp=unavailable 20556 if test x"$COIN_SKIP_PROJECTS" != x; then 20557 for dir in $COIN_SKIP_PROJECTS; do 20558 if test $dir = Clp; then 20790 if test $dir = "Clp"; then 20559 20791 coin_has_clp=skipping 20560 20792 fi … … 20562 20794 fi 20563 20795 20796 CLP_LIBS= 20797 CLP_CFLAGS= 20798 CLP_DATA= 20799 20800 20801 20802 20803 20804 required=1 20805 20806 # execute third argument that can be used to overwrite flags like 'required' 20807 20808 20809 #check if user provided LIBS, CFLAGS, and DATA for module 20564 20810 if test $coin_has_clp != skipping; then 20565 if test $PACKAGE_TARNAME = clp; then 20566 coin_has_clp=. 20811 20812 20813 # Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given. 20814 if test "${with_clp_lib+set}" = set; then 20815 withval="$with_clp_lib" 20816 coin_has_clp=yes 20817 CLP_LIBS="$withval" 20818 if test $required = 1; then 20819 ADDLIBS="$ADDLIBS $withval" 20820 fi 20821 20822 fi; 20823 20824 20825 # Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given. 20826 if test "${with_clp_incdir+set}" = set; then 20827 withval="$with_clp_incdir" 20828 coin_has_clp=yes 20829 CLP_CFLAGS="-I`${CYGPATH_W} $withval`" 20830 fi; 20831 20832 20833 # Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given. 20834 if test "${with_clp_datadir+set}" = set; then 20835 withval="$with_clp_datadir" 20836 coin_has_clp=yes 20837 CLP_DATA="$withval" 20838 fi; 20839 fi 20840 20841 if test $coin_has_clp = notGiven; then 20842 if test -n "$PKG_CONFIG" ; then 20843 # assemble search path for pkg-config 20844 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 20845 20846 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 20847 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 20848 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20849 if test -d "${prefix}"; then 20850 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 20851 fi 20852 20853 20854 # Check whether --with-coin-instdir or --without-coin-instdir was given. 20855 if test "${with_coin_instdir+set}" = set; then 20856 withval="$with_coin_instdir" 20857 if test -d "$withval"; then : ; else 20858 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 20859 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 20860 { (exit 1); exit 1; }; } 20861 fi 20862 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 20863 20864 fi; 20865 20866 # in a classic setup, we want to find uninstalled projects 20867 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 20868 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 20869 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 20870 if test -e ../coin_subdirs.txt ; then 20871 for i in `cat ../coin_subdirs.txt` ; do 20872 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 20873 done 20874 fi 20875 20876 if test -e ../../coin_subdirs.txt ; then 20877 for i in `cat ../../coin_subdirs.txt` ; do 20878 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 20879 done 20880 fi 20881 20882 # let pkg-config do it's magic 20883 # need to export variable to be sure that the following pkg-config gets these values 20884 export PKG_CONFIG_PATH 20885 20886 20887 20888 if test -n "$PKG_CONFIG" ; then 20889 if $PKG_CONFIG --exists "osi-clp"; then 20890 CLP_VERSIONS="`$PKG_CONFIG --modversion osi-clp 2>/dev/null`" 20891 cflags=`$PKG_CONFIG --cflags "osi-clp" 2>/dev/null` 20892 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 20893 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 20894 # but only do this if is not trivial 20895 if test "$CYGPATH_W" != "echo" ; then 20896 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 20897 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 20898 fi 20899 CLP_CFLAGS="$cflags" 20900 CLP_LIBS=`$PKG_CONFIG --libs "osi-clp" 2>/dev/null` 20901 CLP_DATA=`$PKG_CONFIG --variable=datadir "osi-clp" 2>/dev/null` 20902 coin_has_clp=yes 20903 echo "$as_me:$LINENO: result: yes: $CLP_VERSIONS" >&5 20904 echo "${ECHO_T}yes: $CLP_VERSIONS" >&6 20905 if test $required = 1; then 20906 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-clp" 20907 fi 20908 20909 20567 20910 else 20568 if test -d $srcdir/../Clp; then 20569 coin_has_clp=../Clp 20570 fi 20571 fi 20572 fi 20573 20574 if test $coin_has_clp != unavailable && 20575 test $coin_has_clp != skipping; then 20576 # Set the #define if the component is available 20911 CLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-clp` 20912 coin_has_clp=notGiven 20913 echo "$as_me:$LINENO: result: not given: $CLP_PKG_ERRORS" >&5 20914 echo "${ECHO_T}not given: $CLP_PKG_ERRORS" >&6 20915 20916 fi 20917 else 20918 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Clp without pkg-config\"" >&5 20919 echo "$as_me: error: \"Cannot check for existance of module Clp without pkg-config\"" >&2;} 20920 { (exit 1); exit 1; }; } 20921 fi 20922 20923 20924 20925 20926 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 20927 else 20928 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 20929 echo "${ECHO_T}skipped check via pkg-config" >&6 20930 fi 20931 20932 else 20933 echo "$as_me:$LINENO: result: $coin_has_clp" >&5 20934 echo "${ECHO_T}$coin_has_clp" >&6 20935 fi 20936 20937 if test $coin_has_clp != skipping && 20938 test $coin_has_clp != notGiven ; then 20939 if test -n "$CLP_CFLAGS" ; then 20940 { echo "$as_me:$LINENO: Clp CFLAGS are $CLP_CFLAGS" >&5 20941 echo "$as_me: Clp CFLAGS are $CLP_CFLAGS" >&6;} 20942 fi 20943 if test -n "$CLP_LIBS" ; then 20944 { echo "$as_me:$LINENO: Clp LIBS are $CLP_LIBS" >&5 20945 echo "$as_me: Clp LIBS are $CLP_LIBS" >&6;} 20946 fi 20947 if test -n "$CLP_DATA" ; then 20948 { echo "$as_me:$LINENO: Clp DATA is $CLP_DATA" >&5 20949 echo "$as_me: Clp DATA is $CLP_DATA" >&6;} 20950 fi 20577 20951 20578 20952 cat >>confdefs.h <<\_ACEOF … … 20580 20954 _ACEOF 20581 20955 20582 20583 # Set the variables for source and object code location 20584 20585 CLPSRCDIR=`cd $srcdir/$coin_has_clp; pwd` 20586 20587 CLPOBJDIR=`pwd`/$coin_has_clp 20588 20589 CLPDOCDIR=$abs_lib_dir/../share/doc/coin/Clp 20590 fi 20591 20592 # Define the Makefile conditional 20593 20594 20595 if test $coin_has_clp != unavailable && 20956 fi 20957 20958 # Define the Makefile conditional 20959 20960 20961 if test $coin_has_clp != notGiven && 20596 20962 test $coin_has_clp != skipping; then 20597 20963 COIN_HAS_CLP_TRUE= … … 20602 20968 fi 20603 20969 20604 echo "$as_me:$LINENO: result: $coin_has_clp" >&5 20605 echo "${ECHO_T}$coin_has_clp" >&6 20606 20607 echo "$as_me:$LINENO: checking for COIN project CoinUtils" >&5 20608 echo $ECHO_N "checking for COIN project CoinUtils... $ECHO_C" >&6 20609 20610 # First check, if the sub-project is actually available (ToDo: allow 20611 # other locations) 20612 20613 coin_has_coinutils=unavailable 20970 20971 20972 20973 echo "$as_me:$LINENO: checking for COIN module DyLP" >&5 20974 echo $ECHO_N "checking for COIN module DyLP... $ECHO_C" >&6 20975 20976 coin_has_dylp=notGiven 20977 20978 # check if user wants to skip module in any case 20614 20979 if test x"$COIN_SKIP_PROJECTS" != x; then 20615 20980 for dir in $COIN_SKIP_PROJECTS; do 20616 if test $dir = CoinUtils; then 20617 coin_has_coinutils=skipping 20618 fi 20619 done 20620 fi 20621 20622 if test $coin_has_coinutils != skipping; then 20623 if test $PACKAGE_TARNAME = coinutils; then 20624 coin_has_coinutils=. 20625 else 20626 if test -d $srcdir/../CoinUtils; then 20627 coin_has_coinutils=../CoinUtils 20628 fi 20629 fi 20630 fi 20631 20632 if test $coin_has_coinutils != unavailable && 20633 test $coin_has_coinutils != skipping; then 20634 # Set the #define if the component is available 20635 20636 cat >>confdefs.h <<\_ACEOF 20637 #define COIN_HAS_COINUTILS 1 20638 _ACEOF 20639 20640 20641 # Set the variables for source and object code location 20642 20643 COINUTILSSRCDIR=`cd $srcdir/$coin_has_coinutils; pwd` 20644 20645 COINUTILSOBJDIR=`pwd`/$coin_has_coinutils 20646 20647 COINUTILSDOCDIR=$abs_lib_dir/../share/doc/coin/CoinUtils 20648 fi 20649 20650 # Define the Makefile conditional 20651 20652 20653 if test $coin_has_coinutils != unavailable && 20654 test $coin_has_coinutils != skipping; then 20655 COIN_HAS_COINUTILS_TRUE= 20656 COIN_HAS_COINUTILS_FALSE='#' 20657 else 20658 COIN_HAS_COINUTILS_TRUE='#' 20659 COIN_HAS_COINUTILS_FALSE= 20660 fi 20661 20662 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5 20663 echo "${ECHO_T}$coin_has_coinutils" >&6 20664 20665 echo "$as_me:$LINENO: checking for COIN project DyLP" >&5 20666 echo $ECHO_N "checking for COIN project DyLP... $ECHO_C" >&6 20667 20668 # First check, if the sub-project is actually available (ToDo: allow 20669 # other locations) 20670 20671 coin_has_dylp=unavailable 20672 if test x"$COIN_SKIP_PROJECTS" != x; then 20673 for dir in $COIN_SKIP_PROJECTS; do 20674 if test $dir = DyLP; then 20981 if test $dir = "DyLP"; then 20675 20982 coin_has_dylp=skipping 20676 20983 fi … … 20678 20985 fi 20679 20986 20987 DYLP_LIBS= 20988 DYLP_CFLAGS= 20989 DYLP_DATA= 20990 20991 20992 20993 20994 20995 required=1 20996 20997 # execute third argument that can be used to overwrite flags like 'required' 20998 20999 21000 #check if user provided LIBS, CFLAGS, and DATA for module 20680 21001 if test $coin_has_dylp != skipping; then 20681 if test $PACKAGE_TARNAME = dylp; then 20682 coin_has_dylp=. 21002 21003 21004 # Check whether --with-m4_tolower(DyLP)-lib or --without-m4_tolower(DyLP)-lib was given. 21005 if test "${with_dylp_lib+set}" = set; then 21006 withval="$with_dylp_lib" 21007 coin_has_dylp=yes 21008 DYLP_LIBS="$withval" 21009 if test $required = 1; then 21010 ADDLIBS="$ADDLIBS $withval" 21011 fi 21012 21013 fi; 21014 21015 21016 # Check whether --with-m4_tolower(DyLP)-incdir or --without-m4_tolower(DyLP)-incdir was given. 21017 if test "${with_dylp_incdir+set}" = set; then 21018 withval="$with_dylp_incdir" 21019 coin_has_dylp=yes 21020 DYLP_CFLAGS="-I`${CYGPATH_W} $withval`" 21021 fi; 21022 21023 21024 # Check whether --with-m4_tolower(DyLP)-datadir or --without-m4_tolower(DyLP)-datadir was given. 21025 if test "${with_dylp_datadir+set}" = set; then 21026 withval="$with_dylp_datadir" 21027 coin_has_dylp=yes 21028 DYLP_DATA="$withval" 21029 fi; 21030 fi 21031 21032 if test $coin_has_dylp = notGiven; then 21033 if test -n "$PKG_CONFIG" ; then 21034 # assemble search path for pkg-config 21035 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21036 21037 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 21038 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21039 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21040 if test -d "${prefix}"; then 21041 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21042 fi 21043 21044 21045 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21046 if test "${with_coin_instdir+set}" = set; then 21047 withval="$with_coin_instdir" 21048 if test -d "$withval"; then : ; else 21049 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21050 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21051 { (exit 1); exit 1; }; } 21052 fi 21053 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21054 21055 fi; 21056 21057 # in a classic setup, we want to find uninstalled projects 21058 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21059 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21060 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 21061 if test -e ../coin_subdirs.txt ; then 21062 for i in `cat ../coin_subdirs.txt` ; do 21063 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21064 done 21065 fi 21066 21067 if test -e ../../coin_subdirs.txt ; then 21068 for i in `cat ../../coin_subdirs.txt` ; do 21069 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21070 done 21071 fi 21072 21073 # let pkg-config do it's magic 21074 # need to export variable to be sure that the following pkg-config gets these values 21075 export PKG_CONFIG_PATH 21076 21077 21078 21079 if test -n "$PKG_CONFIG" ; then 21080 if $PKG_CONFIG --exists "osi-dylp"; then 21081 DYLP_VERSIONS="`$PKG_CONFIG --modversion osi-dylp 2>/dev/null`" 21082 cflags=`$PKG_CONFIG --cflags "osi-dylp" 2>/dev/null` 21083 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 21084 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 21085 # but only do this if is not trivial 21086 if test "$CYGPATH_W" != "echo" ; then 21087 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 21088 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21089 fi 21090 DYLP_CFLAGS="$cflags" 21091 DYLP_LIBS=`$PKG_CONFIG --libs "osi-dylp" 2>/dev/null` 21092 DYLP_DATA=`$PKG_CONFIG --variable=datadir "osi-dylp" 2>/dev/null` 21093 coin_has_dylp=yes 21094 echo "$as_me:$LINENO: result: yes: $DYLP_VERSIONS" >&5 21095 echo "${ECHO_T}yes: $DYLP_VERSIONS" >&6 21096 if test $required = 1; then 21097 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-dylp" 21098 fi 21099 21100 20683 21101 else 20684 if test -d $srcdir/../DyLP; then 20685 coin_has_dylp=../DyLP 20686 fi 20687 fi 20688 fi 20689 20690 if test $coin_has_dylp != unavailable && 20691 test $coin_has_dylp != skipping; then 20692 # Set the #define if the component is available 21102 DYLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-dylp` 21103 coin_has_dylp=notGiven 21104 echo "$as_me:$LINENO: result: not given: $DYLP_PKG_ERRORS" >&5 21105 echo "${ECHO_T}not given: $DYLP_PKG_ERRORS" >&6 21106 21107 fi 21108 else 21109 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&5 21110 echo "$as_me: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&2;} 21111 { (exit 1); exit 1; }; } 21112 fi 21113 21114 21115 21116 21117 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21118 else 21119 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21120 echo "${ECHO_T}skipped check via pkg-config" >&6 21121 fi 21122 21123 else 21124 echo "$as_me:$LINENO: result: $coin_has_dylp" >&5 21125 echo "${ECHO_T}$coin_has_dylp" >&6 21126 fi 21127 21128 if test $coin_has_dylp != skipping && 21129 test $coin_has_dylp != notGiven ; then 21130 if test -n "$DYLP_CFLAGS" ; then 21131 { echo "$as_me:$LINENO: DyLP CFLAGS are $DYLP_CFLAGS" >&5 21132 echo "$as_me: DyLP CFLAGS are $DYLP_CFLAGS" >&6;} 21133 fi 21134 if test -n "$DYLP_LIBS" ; then 21135 { echo "$as_me:$LINENO: DyLP LIBS are $DYLP_LIBS" >&5 21136 echo "$as_me: DyLP LIBS are $DYLP_LIBS" >&6;} 21137 fi 21138 if test -n "$DYLP_DATA" ; then 21139 { echo "$as_me:$LINENO: DyLP DATA is $DYLP_DATA" >&5 21140 echo "$as_me: DyLP DATA is $DYLP_DATA" >&6;} 21141 fi 20693 21142 20694 21143 cat >>confdefs.h <<\_ACEOF … … 20696 21145 _ACEOF 20697 21146 20698 20699 # Set the variables for source and object code location 20700 20701 DYLPSRCDIR=`cd $srcdir/$coin_has_dylp; pwd` 20702 20703 DYLPOBJDIR=`pwd`/$coin_has_dylp 20704 20705 DYLPDOCDIR=$abs_lib_dir/../share/doc/coin/DyLP 20706 fi 20707 20708 # Define the Makefile conditional 20709 20710 20711 if test $coin_has_dylp != unavailable && 21147 fi 21148 21149 # Define the Makefile conditional 21150 21151 21152 if test $coin_has_dylp != notGiven && 20712 21153 test $coin_has_dylp != skipping; then 20713 21154 COIN_HAS_DYLP_TRUE= … … 20718 21159 fi 20719 21160 20720 echo "$as_me:$LINENO: result: $coin_has_dylp" >&5 20721 echo "${ECHO_T}$coin_has_dylp" >&6 20722 20723 echo "$as_me:$LINENO: checking for COIN project Osi" >&5 20724 echo $ECHO_N "checking for COIN project Osi... $ECHO_C" >&6 20725 20726 # First check, if the sub-project is actually available (ToDo: allow 20727 # other locations) 20728 20729 coin_has_osi=unavailable 21161 21162 21163 21164 echo "$as_me:$LINENO: checking for COIN module Vol" >&5 21165 echo $ECHO_N "checking for COIN module Vol... $ECHO_C" >&6 21166 21167 coin_has_vol=notGiven 21168 21169 # check if user wants to skip module in any case 20730 21170 if test x"$COIN_SKIP_PROJECTS" != x; then 20731 21171 for dir in $COIN_SKIP_PROJECTS; do 20732 if test $dir = Osi; then 20733 coin_has_osi=skipping 20734 fi 20735 done 20736 fi 20737 20738 if test $coin_has_osi != skipping; then 20739 if test $PACKAGE_TARNAME = osi; then 20740 coin_has_osi=. 20741 else 20742 if test -d $srcdir/../Osi; then 20743 coin_has_osi=../Osi 20744 fi 20745 fi 20746 fi 20747 20748 if test $coin_has_osi != unavailable && 20749 test $coin_has_osi != skipping; then 20750 # Set the #define if the component is available 20751 20752 cat >>confdefs.h <<\_ACEOF 20753 #define COIN_HAS_OSI 1 20754 _ACEOF 20755 20756 20757 # Set the variables for source and object code location 20758 20759 OSISRCDIR=`cd $srcdir/$coin_has_osi; pwd` 20760 20761 OSIOBJDIR=`pwd`/$coin_has_osi 20762 20763 OSIDOCDIR=$abs_lib_dir/../share/doc/coin/Osi 20764 fi 20765 20766 # Define the Makefile conditional 20767 20768 20769 if test $coin_has_osi != unavailable && 20770 test $coin_has_osi != skipping; then 20771 COIN_HAS_OSI_TRUE= 20772 COIN_HAS_OSI_FALSE='#' 20773 else 20774 COIN_HAS_OSI_TRUE='#' 20775 COIN_HAS_OSI_FALSE= 20776 fi 20777 20778 echo "$as_me:$LINENO: result: $coin_has_osi" >&5 20779 echo "${ECHO_T}$coin_has_osi" >&6 20780 20781 echo "$as_me:$LINENO: checking for COIN project Vol" >&5 20782 echo $ECHO_N "checking for COIN project Vol... $ECHO_C" >&6 20783 20784 # First check, if the sub-project is actually available (ToDo: allow 20785 # other locations) 20786 20787 coin_has_vol=unavailable 20788 if test x"$COIN_SKIP_PROJECTS" != x; then 20789 for dir in $COIN_SKIP_PROJECTS; do 20790 if test $dir = Vol; then 21172 if test $dir = "Vol"; then 20791 21173 coin_has_vol=skipping 20792 21174 fi … … 20794 21176 fi 20795 21177 21178 VOL_LIBS= 21179 VOL_CFLAGS= 21180 VOL_DATA= 21181 21182 21183 21184 21185 21186 required=1 21187 21188 # execute third argument that can be used to overwrite flags like 'required' 21189 21190 21191 #check if user provided LIBS, CFLAGS, and DATA for module 20796 21192 if test $coin_has_vol != skipping; then 20797 if test $PACKAGE_TARNAME = vol; then 20798 coin_has_vol=. 21193 21194 21195 # Check whether --with-m4_tolower(Vol)-lib or --without-m4_tolower(Vol)-lib was given. 21196 if test "${with_vol_lib+set}" = set; then 21197 withval="$with_vol_lib" 21198 coin_has_vol=yes 21199 VOL_LIBS="$withval" 21200 if test $required = 1; then 21201 ADDLIBS="$ADDLIBS $withval" 21202 fi 21203 21204 fi; 21205 21206 21207 # Check whether --with-m4_tolower(Vol)-incdir or --without-m4_tolower(Vol)-incdir was given. 21208 if test "${with_vol_incdir+set}" = set; then 21209 withval="$with_vol_incdir" 21210 coin_has_vol=yes 21211 VOL_CFLAGS="-I`${CYGPATH_W} $withval`" 21212 fi; 21213 21214 21215 # Check whether --with-m4_tolower(Vol)-datadir or --without-m4_tolower(Vol)-datadir was given. 21216 if test "${with_vol_datadir+set}" = set; then 21217 withval="$with_vol_datadir" 21218 coin_has_vol=yes 21219 VOL_DATA="$withval" 21220 fi; 21221 fi 21222 21223 if test $coin_has_vol = notGiven; then 21224 if test -n "$PKG_CONFIG" ; then 21225 # assemble search path for pkg-config 21226 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21227 21228 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 21229 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21230 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21231 if test -d "${prefix}"; then 21232 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21233 fi 21234 21235 21236 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21237 if test "${with_coin_instdir+set}" = set; then 21238 withval="$with_coin_instdir" 21239 if test -d "$withval"; then : ; else 21240 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21241 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21242 { (exit 1); exit 1; }; } 21243 fi 21244 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21245 21246 fi; 21247 21248 # in a classic setup, we want to find uninstalled projects 21249 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21250 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21251 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 21252 if test -e ../coin_subdirs.txt ; then 21253 for i in `cat ../coin_subdirs.txt` ; do 21254 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21255 done 21256 fi 21257 21258 if test -e ../../coin_subdirs.txt ; then 21259 for i in `cat ../../coin_subdirs.txt` ; do 21260 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21261 done 21262 fi 21263 21264 # let pkg-config do it's magic 21265 # need to export variable to be sure that the following pkg-config gets these values 21266 export PKG_CONFIG_PATH 21267 21268 21269 21270 if test -n "$PKG_CONFIG" ; then 21271 if $PKG_CONFIG --exists "osi-vol"; then 21272 VOL_VERSIONS="`$PKG_CONFIG --modversion osi-vol 2>/dev/null`" 21273 cflags=`$PKG_CONFIG --cflags "osi-vol" 2>/dev/null` 21274 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 21275 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 21276 # but only do this if is not trivial 21277 if test "$CYGPATH_W" != "echo" ; then 21278 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 21279 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21280 fi 21281 VOL_CFLAGS="$cflags" 21282 VOL_LIBS=`$PKG_CONFIG --libs "osi-vol" 2>/dev/null` 21283 VOL_DATA=`$PKG_CONFIG --variable=datadir "osi-vol" 2>/dev/null` 21284 coin_has_vol=yes 21285 echo "$as_me:$LINENO: result: yes: $VOL_VERSIONS" >&5 21286 echo "${ECHO_T}yes: $VOL_VERSIONS" >&6 21287 if test $required = 1; then 21288 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-vol" 21289 fi 21290 21291 20799 21292 else 20800 if test -d $srcdir/../Vol; then 20801 coin_has_vol=../Vol 20802 fi 20803 fi 20804 fi 20805 20806 if test $coin_has_vol != unavailable && 20807 test $coin_has_vol != skipping; then 20808 # Set the #define if the component is available 21293 VOL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-vol` 21294 coin_has_vol=notGiven 21295 echo "$as_me:$LINENO: result: not given: $VOL_PKG_ERRORS" >&5 21296 echo "${ECHO_T}not given: $VOL_PKG_ERRORS" >&6 21297 21298 fi 21299 else 21300 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Vol without pkg-config\"" >&5 21301 echo "$as_me: error: \"Cannot check for existance of module Vol without pkg-config\"" >&2;} 21302 { (exit 1); exit 1; }; } 21303 fi 21304 21305 21306 21307 21308 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21309 else 21310 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21311 echo "${ECHO_T}skipped check via pkg-config" >&6 21312 fi 21313 21314 else 21315 echo "$as_me:$LINENO: result: $coin_has_vol" >&5 21316 echo "${ECHO_T}$coin_has_vol" >&6 21317 fi 21318 21319 if test $coin_has_vol != skipping && 21320 test $coin_has_vol != notGiven ; then 21321 if test -n "$VOL_CFLAGS" ; then 21322 { echo "$as_me:$LINENO: Vol CFLAGS are $VOL_CFLAGS" >&5 21323 echo "$as_me: Vol CFLAGS are $VOL_CFLAGS" >&6;} 21324 fi 21325 if test -n "$VOL_LIBS" ; then 21326 { echo "$as_me:$LINENO: Vol LIBS are $VOL_LIBS" >&5 21327 echo "$as_me: Vol LIBS are $VOL_LIBS" >&6;} 21328 fi 21329 if test -n "$VOL_DATA" ; then 21330 { echo "$as_me:$LINENO: Vol DATA is $VOL_DATA" >&5 21331 echo "$as_me: Vol DATA is $VOL_DATA" >&6;} 21332 fi 20809 21333 20810 21334 cat >>confdefs.h <<\_ACEOF … … 20812 21336 _ACEOF 20813 21337 20814 20815 # Set the variables for source and object code location 20816 20817 VOLSRCDIR=`cd $srcdir/$coin_has_vol; pwd` 20818 20819 VOLOBJDIR=`pwd`/$coin_has_vol 20820 20821 VOLDOCDIR=$abs_lib_dir/../share/doc/coin/Vol 20822 fi 20823 20824 # Define the Makefile conditional 20825 20826 20827 if test $coin_has_vol != unavailable && 21338 fi 21339 21340 # Define the Makefile conditional 21341 21342 21343 if test $coin_has_vol != notGiven && 20828 21344 test $coin_has_vol != skipping; then 20829 21345 COIN_HAS_VOL_TRUE= … … 20834 21350 fi 20835 21351 20836 echo "$as_me:$LINENO: result: $coin_has_vol" >&5 20837 echo "${ECHO_T}$coin_has_vol" >&6 20838 20839 echo "$as_me:$LINENO: checking for COIN project SYMPHONY" >&5 20840 echo $ECHO_N "checking for COIN project SYMPHONY... $ECHO_C" >&6 20841 20842 # First check, if the sub-project is actually available (ToDo: allow 20843 # other locations) 20844 20845 coin_has_symphony=unavailable 21352 21353 21354 21355 echo "$as_me:$LINENO: checking for COIN module OsiTests" >&5 21356 echo $ECHO_N "checking for COIN module OsiTests... $ECHO_C" >&6 21357 21358 coin_has_ositests=notGiven 21359 21360 # check if user wants to skip module in any case 20846 21361 if test x"$COIN_SKIP_PROJECTS" != x; then 20847 21362 for dir in $COIN_SKIP_PROJECTS; do 20848 if test $dir = SYMPHONY; then20849 coin_has_ symphony=skipping21363 if test $dir = "OsiTests"; then 21364 coin_has_ositests=skipping 20850 21365 fi 20851 21366 done 20852 21367 fi 20853 21368 20854 if test $coin_has_symphony != skipping; then 20855 if test $PACKAGE_TARNAME = symphony; then 20856 coin_has_symphony=. 21369 OSITESTS_LIBS= 21370 OSITESTS_CFLAGS= 21371 OSITESTS_DATA= 21372 21373 21374 21375 21376 21377 required=1 21378 21379 # execute third argument that can be used to overwrite flags like 'required' 21380 required=0 21381 21382 #check if user provided LIBS, CFLAGS, and DATA for module 21383 if test $coin_has_ositests != skipping; then 21384 21385 21386 # Check whether --with-m4_tolower(OsiTests)-lib or --without-m4_tolower(OsiTests)-lib was given. 21387 if test "${with_ositests_lib+set}" = set; then 21388 withval="$with_ositests_lib" 21389 coin_has_ositests=yes 21390 OSITESTS_LIBS="$withval" 21391 if test $required = 1; then 21392 ADDLIBS="$ADDLIBS $withval" 21393 fi 21394 21395 fi; 21396 21397 21398 # Check whether --with-m4_tolower(OsiTests)-incdir or --without-m4_tolower(OsiTests)-incdir was given. 21399 if test "${with_ositests_incdir+set}" = set; then 21400 withval="$with_ositests_incdir" 21401 coin_has_ositests=yes 21402 OSITESTS_CFLAGS="-I`${CYGPATH_W} $withval`" 21403 fi; 21404 21405 21406 # Check whether --with-m4_tolower(OsiTests)-datadir or --without-m4_tolower(OsiTests)-datadir was given. 21407 if test "${with_ositests_datadir+set}" = set; then 21408 withval="$with_ositests_datadir" 21409 coin_has_ositests=yes 21410 OSITESTS_DATA="$withval" 21411 fi; 21412 fi 21413 21414 if test $coin_has_ositests = notGiven; then 21415 if test -n "$PKG_CONFIG" ; then 21416 # assemble search path for pkg-config 21417 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21418 21419 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 21420 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21421 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21422 if test -d "${prefix}"; then 21423 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21424 fi 21425 21426 21427 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21428 if test "${with_coin_instdir+set}" = set; then 21429 withval="$with_coin_instdir" 21430 if test -d "$withval"; then : ; else 21431 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21432 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21433 { (exit 1); exit 1; }; } 21434 fi 21435 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21436 21437 fi; 21438 21439 # in a classic setup, we want to find uninstalled projects 21440 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21441 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21442 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 21443 if test -e ../coin_subdirs.txt ; then 21444 for i in `cat ../coin_subdirs.txt` ; do 21445 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21446 done 21447 fi 21448 21449 if test -e ../../coin_subdirs.txt ; then 21450 for i in `cat ../../coin_subdirs.txt` ; do 21451 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21452 done 21453 fi 21454 21455 # let pkg-config do it's magic 21456 # need to export variable to be sure that the following pkg-config gets these values 21457 export PKG_CONFIG_PATH 21458 21459 21460 21461 if test -n "$PKG_CONFIG" ; then 21462 if $PKG_CONFIG --exists "osi-unittests"; then 21463 OSITESTS_VERSIONS="`$PKG_CONFIG --modversion osi-unittests 2>/dev/null`" 21464 cflags=`$PKG_CONFIG --cflags "osi-unittests" 2>/dev/null` 21465 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 21466 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 21467 # but only do this if is not trivial 21468 if test "$CYGPATH_W" != "echo" ; then 21469 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 21470 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21471 fi 21472 OSITESTS_CFLAGS="$cflags" 21473 OSITESTS_LIBS=`$PKG_CONFIG --libs "osi-unittests" 2>/dev/null` 21474 OSITESTS_DATA=`$PKG_CONFIG --variable=datadir "osi-unittests" 2>/dev/null` 21475 coin_has_ositests=yes 21476 echo "$as_me:$LINENO: result: yes: $OSITESTS_VERSIONS" >&5 21477 echo "${ECHO_T}yes: $OSITESTS_VERSIONS" >&6 21478 if test $required = 1; then 21479 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-unittests" 21480 fi 21481 21482 20857 21483 else 20858 if test -d $srcdir/../SYMPHONY; then 20859 coin_has_symphony=../SYMPHONY 20860 fi 20861 fi 20862 fi 20863 20864 if test $coin_has_symphony != unavailable && 20865 test $coin_has_symphony != skipping; then 20866 # Set the #define if the component is available 21484 OSITESTS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-unittests` 21485 coin_has_ositests=notGiven 21486 echo "$as_me:$LINENO: result: not given: $OSITESTS_PKG_ERRORS" >&5 21487 echo "${ECHO_T}not given: $OSITESTS_PKG_ERRORS" >&6 21488 21489 fi 21490 else 21491 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&5 21492 echo "$as_me: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&2;} 21493 { (exit 1); exit 1; }; } 21494 fi 21495 21496 21497 21498 21499 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21500 else 21501 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21502 echo "${ECHO_T}skipped check via pkg-config" >&6 21503 fi 21504 21505 else 21506 echo "$as_me:$LINENO: result: $coin_has_ositests" >&5 21507 echo "${ECHO_T}$coin_has_ositests" >&6 21508 fi 21509 21510 if test $coin_has_ositests != skipping && 21511 test $coin_has_ositests != notGiven ; then 21512 if test -n "$OSITESTS_CFLAGS" ; then 21513 { echo "$as_me:$LINENO: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&5 21514 echo "$as_me: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&6;} 21515 fi 21516 if test -n "$OSITESTS_LIBS" ; then 21517 { echo "$as_me:$LINENO: OsiTests LIBS are $OSITESTS_LIBS" >&5 21518 echo "$as_me: OsiTests LIBS are $OSITESTS_LIBS" >&6;} 21519 fi 21520 if test -n "$OSITESTS_DATA" ; then 21521 { echo "$as_me:$LINENO: OsiTests DATA is $OSITESTS_DATA" >&5 21522 echo "$as_me: OsiTests DATA is $OSITESTS_DATA" >&6;} 21523 fi 20867 21524 20868 21525 cat >>confdefs.h <<\_ACEOF 20869 #define COIN_HAS_ SYMPHONY121526 #define COIN_HAS_OSITESTS 1 20870 21527 _ACEOF 20871 21528 20872 20873 # Set the variables for source and object code location 20874 20875 SYMPHONYSRCDIR=`cd $srcdir/$coin_has_symphony; pwd` 20876 20877 SYMPHONYOBJDIR=`pwd`/$coin_has_symphony 20878 20879 SYMPHONYDOCDIR=$abs_lib_dir/../share/doc/coin/SYMPHONY 20880 fi 20881 20882 # Define the Makefile conditional 20883 20884 20885 if test $coin_has_symphony != unavailable && 20886 test $coin_has_symphony != skipping; then 20887 COIN_HAS_SYMPHONY_TRUE= 20888 COIN_HAS_SYMPHONY_FALSE='#' 20889 else 20890 COIN_HAS_SYMPHONY_TRUE='#' 20891 COIN_HAS_SYMPHONY_FALSE= 20892 fi 20893 20894 echo "$as_me:$LINENO: result: $coin_has_symphony" >&5 20895 echo "${ECHO_T}$coin_has_symphony" >&6 20896 20897 echo "$as_me:$LINENO: checking for COIN project Cpx" >&5 20898 echo $ECHO_N "checking for COIN project Cpx... $ECHO_C" >&6 20899 20900 # First check, if the sub-project is actually available (ToDo: allow 20901 # other locations) 20902 20903 coin_has_cpx=unavailable 21529 fi 21530 21531 # Define the Makefile conditional 21532 21533 21534 if test $coin_has_ositests != notGiven && 21535 test $coin_has_ositests != skipping; then 21536 COIN_HAS_OSITESTS_TRUE= 21537 COIN_HAS_OSITESTS_FALSE='#' 21538 else 21539 COIN_HAS_OSITESTS_TRUE='#' 21540 COIN_HAS_OSITESTS_FALSE= 21541 fi 21542 21543 21544 21545 21546 echo "$as_me:$LINENO: checking for COIN module Sample" >&5 21547 echo $ECHO_N "checking for COIN module Sample... $ECHO_C" >&6 21548 21549 coin_has_sample=notGiven 21550 21551 # check if user wants to skip module in any case 20904 21552 if test x"$COIN_SKIP_PROJECTS" != x; then 20905 21553 for dir in $COIN_SKIP_PROJECTS; do 20906 if test $dir = Cpx; then 21554 if test $dir = "Sample"; then 21555 coin_has_sample=skipping 21556 fi 21557 done 21558 fi 21559 21560 SAMPLE_LIBS= 21561 SAMPLE_CFLAGS= 21562 SAMPLE_DATA= 21563 21564 21565 21566 21567 21568 required=1 21569 21570 # execute third argument that can be used to overwrite flags like 'required' 21571 required=0 21572 21573 #check if user provided LIBS, CFLAGS, and DATA for module 21574 if test $coin_has_sample != skipping; then 21575 21576 21577 # Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given. 21578 if test "${with_sample_lib+set}" = set; then 21579 withval="$with_sample_lib" 21580 coin_has_sample=yes 21581 SAMPLE_LIBS="$withval" 21582 if test $required = 1; then 21583 ADDLIBS="$ADDLIBS $withval" 21584 fi 21585 21586 fi; 21587 21588 21589 # Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given. 21590 if test "${with_sample_incdir+set}" = set; then 21591 withval="$with_sample_incdir" 21592 coin_has_sample=yes 21593 SAMPLE_CFLAGS="-I`${CYGPATH_W} $withval`" 21594 fi; 21595 21596 21597 # Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given. 21598 if test "${with_sample_datadir+set}" = set; then 21599 withval="$with_sample_datadir" 21600 coin_has_sample=yes 21601 SAMPLE_DATA="$withval" 21602 fi; 21603 fi 21604 21605 if test $coin_has_sample = notGiven; then 21606 if test -n "$PKG_CONFIG" ; then 21607 # assemble search path for pkg-config 21608 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21609 21610 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 21611 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21612 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21613 if test -d "${prefix}"; then 21614 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21615 fi 21616 21617 21618 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21619 if test "${with_coin_instdir+set}" = set; then 21620 withval="$with_coin_instdir" 21621 if test -d "$withval"; then : ; else 21622 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21623 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21624 { (exit 1); exit 1; }; } 21625 fi 21626 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21627 21628 fi; 21629 21630 # in a classic setup, we want to find uninstalled projects 21631 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21632 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21633 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 21634 if test -e ../coin_subdirs.txt ; then 21635 for i in `cat ../coin_subdirs.txt` ; do 21636 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21637 done 21638 fi 21639 21640 if test -e ../../coin_subdirs.txt ; then 21641 for i in `cat ../../coin_subdirs.txt` ; do 21642 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21643 done 21644 fi 21645 21646 # let pkg-config do it's magic 21647 # need to export variable to be sure that the following pkg-config gets these values 21648 export PKG_CONFIG_PATH 21649 21650 21651 21652 if test -n "$PKG_CONFIG" ; then 21653 if $PKG_CONFIG --exists "coindatasample"; then 21654 SAMPLE_VERSIONS="`$PKG_CONFIG --modversion coindatasample 2>/dev/null`" 21655 cflags=`$PKG_CONFIG --cflags "coindatasample" 2>/dev/null` 21656 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 21657 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 21658 # but only do this if is not trivial 21659 if test "$CYGPATH_W" != "echo" ; then 21660 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 21661 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21662 fi 21663 SAMPLE_CFLAGS="$cflags" 21664 SAMPLE_LIBS=`$PKG_CONFIG --libs "coindatasample" 2>/dev/null` 21665 SAMPLE_DATA=`$PKG_CONFIG --variable=datadir "coindatasample" 2>/dev/null` 21666 coin_has_sample=yes 21667 echo "$as_me:$LINENO: result: yes: $SAMPLE_VERSIONS" >&5 21668 echo "${ECHO_T}yes: $SAMPLE_VERSIONS" >&6 21669 if test $required = 1; then 21670 REQUIREDPACKAGES="$REQUIREDPACKAGES coindatasample" 21671 fi 21672 21673 21674 else 21675 SAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatasample` 21676 coin_has_sample=notGiven 21677 echo "$as_me:$LINENO: result: not given: $SAMPLE_PKG_ERRORS" >&5 21678 echo "${ECHO_T}not given: $SAMPLE_PKG_ERRORS" >&6 21679 21680 fi 21681 else 21682 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Sample without pkg-config\"" >&5 21683 echo "$as_me: error: \"Cannot check for existance of module Sample without pkg-config\"" >&2;} 21684 { (exit 1); exit 1; }; } 21685 fi 21686 21687 21688 21689 21690 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21691 else 21692 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21693 echo "${ECHO_T}skipped check via pkg-config" >&6 21694 fi 21695 21696 else 21697 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 21698 echo "${ECHO_T}$coin_has_sample" >&6 21699 fi 21700 21701 if test $coin_has_sample != skipping && 21702 test $coin_has_sample != notGiven ; then 21703 if test -n "$SAMPLE_CFLAGS" ; then 21704 { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5 21705 echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;} 21706 fi 21707 if test -n "$SAMPLE_LIBS" ; then 21708 { echo "$as_me:$LINENO: Sample LIBS are $SAMPLE_LIBS" >&5 21709 echo "$as_me: Sample LIBS are $SAMPLE_LIBS" >&6;} 21710 fi 21711 if test -n "$SAMPLE_DATA" ; then 21712 { echo "$as_me:$LINENO: Sample DATA is $SAMPLE_DATA" >&5 21713 echo "$as_me: Sample DATA is $SAMPLE_DATA" >&6;} 21714 fi 21715 21716 cat >>confdefs.h <<\_ACEOF 21717 #define COIN_HAS_SAMPLE 1 21718 _ACEOF 21719 21720 fi 21721 21722 # Define the Makefile conditional 21723 21724 21725 if test $coin_has_sample != notGiven && 21726 test $coin_has_sample != skipping; then 21727 COIN_HAS_SAMPLE_TRUE= 21728 COIN_HAS_SAMPLE_FALSE='#' 21729 else 21730 COIN_HAS_SAMPLE_TRUE='#' 21731 COIN_HAS_SAMPLE_FALSE= 21732 fi 21733 21734 21735 21736 21737 echo "$as_me:$LINENO: checking for COIN module Netlib" >&5 21738 echo $ECHO_N "checking for COIN module Netlib... $ECHO_C" >&6 21739 21740 coin_has_netlib=notGiven 21741 21742 # check if user wants to skip module in any case 21743 if test x"$COIN_SKIP_PROJECTS" != x; then 21744 for dir in $COIN_SKIP_PROJECTS; do 21745 if test $dir = "Netlib"; then 21746 coin_has_netlib=skipping 21747 fi 21748 done 21749 fi 21750 21751 NETLIB_LIBS= 21752 NETLIB_CFLAGS= 21753 NETLIB_DATA= 21754 21755 21756 21757 21758 21759 required=1 21760 21761 # execute third argument that can be used to overwrite flags like 'required' 21762 required=0 21763 21764 #check if user provided LIBS, CFLAGS, and DATA for module 21765 if test $coin_has_netlib != skipping; then 21766 21767 21768 # Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given. 21769 if test "${with_netlib_lib+set}" = set; then 21770 withval="$with_netlib_lib" 21771 coin_has_netlib=yes 21772 NETLIB_LIBS="$withval" 21773 if test $required = 1; then 21774 ADDLIBS="$ADDLIBS $withval" 21775 fi 21776 21777 fi; 21778 21779 21780 # Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given. 21781 if test "${with_netlib_incdir+set}" = set; then 21782 withval="$with_netlib_incdir" 21783 coin_has_netlib=yes 21784 NETLIB_CFLAGS="-I`${CYGPATH_W} $withval`" 21785 fi; 21786 21787 21788 # Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given. 21789 if test "${with_netlib_datadir+set}" = set; then 21790 withval="$with_netlib_datadir" 21791 coin_has_netlib=yes 21792 NETLIB_DATA="$withval" 21793 fi; 21794 fi 21795 21796 if test $coin_has_netlib = notGiven; then 21797 if test -n "$PKG_CONFIG" ; then 21798 # assemble search path for pkg-config 21799 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21800 21801 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 21802 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21803 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21804 if test -d "${prefix}"; then 21805 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21806 fi 21807 21808 21809 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21810 if test "${with_coin_instdir+set}" = set; then 21811 withval="$with_coin_instdir" 21812 if test -d "$withval"; then : ; else 21813 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21814 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21815 { (exit 1); exit 1; }; } 21816 fi 21817 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21818 21819 fi; 21820 21821 # in a classic setup, we want to find uninstalled projects 21822 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21823 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21824 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 21825 if test -e ../coin_subdirs.txt ; then 21826 for i in `cat ../coin_subdirs.txt` ; do 21827 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21828 done 21829 fi 21830 21831 if test -e ../../coin_subdirs.txt ; then 21832 for i in `cat ../../coin_subdirs.txt` ; do 21833 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21834 done 21835 fi 21836 21837 # let pkg-config do it's magic 21838 # need to export variable to be sure that the following pkg-config gets these values 21839 export PKG_CONFIG_PATH 21840 21841 21842 21843 if test -n "$PKG_CONFIG" ; then 21844 if $PKG_CONFIG --exists "coindatanetlib"; then 21845 NETLIB_VERSIONS="`$PKG_CONFIG --modversion coindatanetlib 2>/dev/null`" 21846 cflags=`$PKG_CONFIG --cflags "coindatanetlib" 2>/dev/null` 21847 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 21848 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 21849 # but only do this if is not trivial 21850 if test "$CYGPATH_W" != "echo" ; then 21851 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 21852 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 21853 fi 21854 NETLIB_CFLAGS="$cflags" 21855 NETLIB_LIBS=`$PKG_CONFIG --libs "coindatanetlib" 2>/dev/null` 21856 NETLIB_DATA=`$PKG_CONFIG --variable=datadir "coindatanetlib" 2>/dev/null` 21857 coin_has_netlib=yes 21858 echo "$as_me:$LINENO: result: yes: $NETLIB_VERSIONS" >&5 21859 echo "${ECHO_T}yes: $NETLIB_VERSIONS" >&6 21860 if test $required = 1; then 21861 REQUIREDPACKAGES="$REQUIREDPACKAGES coindatanetlib" 21862 fi 21863 21864 21865 else 21866 NETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatanetlib` 21867 coin_has_netlib=notGiven 21868 echo "$as_me:$LINENO: result: not given: $NETLIB_PKG_ERRORS" >&5 21869 echo "${ECHO_T}not given: $NETLIB_PKG_ERRORS" >&6 21870 21871 fi 21872 else 21873 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&5 21874 echo "$as_me: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&2;} 21875 { (exit 1); exit 1; }; } 21876 fi 21877 21878 21879 21880 21881 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21882 else 21883 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21884 echo "${ECHO_T}skipped check via pkg-config" >&6 21885 fi 21886 21887 else 21888 echo "$as_me:$LINENO: result: $coin_has_netlib" >&5 21889 echo "${ECHO_T}$coin_has_netlib" >&6 21890 fi 21891 21892 if test $coin_has_netlib != skipping && 21893 test $coin_has_netlib != notGiven ; then 21894 if test -n "$NETLIB_CFLAGS" ; then 21895 { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5 21896 echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;} 21897 fi 21898 if test -n "$NETLIB_LIBS" ; then 21899 { echo "$as_me:$LINENO: Netlib LIBS are $NETLIB_LIBS" >&5 21900 echo "$as_me: Netlib LIBS are $NETLIB_LIBS" >&6;} 21901 fi 21902 if test -n "$NETLIB_DATA" ; then 21903 { echo "$as_me:$LINENO: Netlib DATA is $NETLIB_DATA" >&5 21904 echo "$as_me: Netlib DATA is $NETLIB_DATA" >&6;} 21905 fi 21906 21907 cat >>confdefs.h <<\_ACEOF 21908 #define COIN_HAS_NETLIB 1 21909 _ACEOF 21910 21911 fi 21912 21913 # Define the Makefile conditional 21914 21915 21916 if test $coin_has_netlib != notGiven && 21917 test $coin_has_netlib != skipping; then 21918 COIN_HAS_NETLIB_TRUE= 21919 COIN_HAS_NETLIB_FALSE='#' 21920 else 21921 COIN_HAS_NETLIB_TRUE='#' 21922 COIN_HAS_NETLIB_FALSE= 21923 fi 21924 21925 21926 21927 21928 echo "$as_me:$LINENO: checking for COIN module Miplib3" >&5 21929 echo $ECHO_N "checking for COIN module Miplib3... $ECHO_C" >&6 21930 21931 coin_has_miplib3=notGiven 21932 21933 # check if user wants to skip module in any case 21934 if test x"$COIN_SKIP_PROJECTS" != x; then 21935 for dir in $COIN_SKIP_PROJECTS; do 21936 if test $dir = "Miplib3"; then 21937 coin_has_miplib3=skipping 21938 fi 21939 done 21940 fi 21941 21942 MIPLIB3_LIBS= 21943 MIPLIB3_CFLAGS= 21944 MIPLIB3_DATA= 21945 21946 21947 21948 21949 21950 required=1 21951 21952 # execute third argument that can be used to overwrite flags like 'required' 21953 required=0 21954 21955 #check if user provided LIBS, CFLAGS, and DATA for module 21956 if test $coin_has_miplib3 != skipping; then 21957 21958 21959 # Check whether --with-m4_tolower(Miplib3)-lib or --without-m4_tolower(Miplib3)-lib was given. 21960 if test "${with_miplib3_lib+set}" = set; then 21961 withval="$with_miplib3_lib" 21962 coin_has_miplib3=yes 21963 MIPLIB3_LIBS="$withval" 21964 if test $required = 1; then 21965 ADDLIBS="$ADDLIBS $withval" 21966 fi 21967 21968 fi; 21969 21970 21971 # Check whether --with-m4_tolower(Miplib3)-incdir or --without-m4_tolower(Miplib3)-incdir was given. 21972 if test "${with_miplib3_incdir+set}" = set; then 21973 withval="$with_miplib3_incdir" 21974 coin_has_miplib3=yes 21975 MIPLIB3_CFLAGS="-I`${CYGPATH_W} $withval`" 21976 fi; 21977 21978 21979 # Check whether --with-m4_tolower(Miplib3)-datadir or --without-m4_tolower(Miplib3)-datadir was given. 21980 if test "${with_miplib3_datadir+set}" = set; then 21981 withval="$with_miplib3_datadir" 21982 coin_has_miplib3=yes 21983 MIPLIB3_DATA="$withval" 21984 fi; 21985 fi 21986 21987 if test $coin_has_miplib3 = notGiven; then 21988 if test -n "$PKG_CONFIG" ; then 21989 # assemble search path for pkg-config 21990 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21991 21992 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 21993 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21994 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21995 if test -d "${prefix}"; then 21996 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21997 fi 21998 21999 22000 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22001 if test "${with_coin_instdir+set}" = set; then 22002 withval="$with_coin_instdir" 22003 if test -d "$withval"; then : ; else 22004 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22005 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 22006 { (exit 1); exit 1; }; } 22007 fi 22008 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22009 22010 fi; 22011 22012 # in a classic setup, we want to find uninstalled projects 22013 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22014 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22015 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 22016 if test -e ../coin_subdirs.txt ; then 22017 for i in `cat ../coin_subdirs.txt` ; do 22018 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22019 done 22020 fi 22021 22022 if test -e ../../coin_subdirs.txt ; then 22023 for i in `cat ../../coin_subdirs.txt` ; do 22024 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22025 done 22026 fi 22027 22028 # let pkg-config do it's magic 22029 # need to export variable to be sure that the following pkg-config gets these values 22030 export PKG_CONFIG_PATH 22031 22032 22033 22034 if test -n "$PKG_CONFIG" ; then 22035 if $PKG_CONFIG --exists "coindatamiplib3"; then 22036 MIPLIB3_VERSIONS="`$PKG_CONFIG --modversion coindatamiplib3 2>/dev/null`" 22037 cflags=`$PKG_CONFIG --cflags "coindatamiplib3" 2>/dev/null` 22038 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 22039 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 22040 # but only do this if is not trivial 22041 if test "$CYGPATH_W" != "echo" ; then 22042 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 22043 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22044 fi 22045 MIPLIB3_CFLAGS="$cflags" 22046 MIPLIB3_LIBS=`$PKG_CONFIG --libs "coindatamiplib3" 2>/dev/null` 22047 MIPLIB3_DATA=`$PKG_CONFIG --variable=datadir "coindatamiplib3" 2>/dev/null` 22048 coin_has_miplib3=yes 22049 echo "$as_me:$LINENO: result: yes: $MIPLIB3_VERSIONS" >&5 22050 echo "${ECHO_T}yes: $MIPLIB3_VERSIONS" >&6 22051 if test $required = 1; then 22052 REQUIREDPACKAGES="$REQUIREDPACKAGES coindatamiplib3" 22053 fi 22054 22055 22056 else 22057 MIPLIB3_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatamiplib3` 22058 coin_has_miplib3=notGiven 22059 echo "$as_me:$LINENO: result: not given: $MIPLIB3_PKG_ERRORS" >&5 22060 echo "${ECHO_T}not given: $MIPLIB3_PKG_ERRORS" >&6 22061 22062 fi 22063 else 22064 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&5 22065 echo "$as_me: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&2;} 22066 { (exit 1); exit 1; }; } 22067 fi 22068 22069 22070 22071 22072 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22073 else 22074 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22075 echo "${ECHO_T}skipped check via pkg-config" >&6 22076 fi 22077 22078 else 22079 echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5 22080 echo "${ECHO_T}$coin_has_miplib3" >&6 22081 fi 22082 22083 if test $coin_has_miplib3 != skipping && 22084 test $coin_has_miplib3 != notGiven ; then 22085 if test -n "$MIPLIB3_CFLAGS" ; then 22086 { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5 22087 echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;} 22088 fi 22089 if test -n "$MIPLIB3_LIBS" ; then 22090 { echo "$as_me:$LINENO: Miplib3 LIBS are $MIPLIB3_LIBS" >&5 22091 echo "$as_me: Miplib3 LIBS are $MIPLIB3_LIBS" >&6;} 22092 fi 22093 if test -n "$MIPLIB3_DATA" ; then 22094 { echo "$as_me:$LINENO: Miplib3 DATA is $MIPLIB3_DATA" >&5 22095 echo "$as_me: Miplib3 DATA is $MIPLIB3_DATA" >&6;} 22096 fi 22097 22098 cat >>confdefs.h <<\_ACEOF 22099 #define COIN_HAS_MIPLIB3 1 22100 _ACEOF 22101 22102 fi 22103 22104 # Define the Makefile conditional 22105 22106 22107 if test $coin_has_miplib3 != notGiven && 22108 test $coin_has_miplib3 != skipping; then 22109 COIN_HAS_MIPLIB3_TRUE= 22110 COIN_HAS_MIPLIB3_FALSE='#' 22111 else 22112 COIN_HAS_MIPLIB3_TRUE='#' 22113 COIN_HAS_MIPLIB3_FALSE= 22114 fi 22115 22116 22117 22118 22119 #TODO! fallbacks! 22120 22121 ############################################################################# 22122 # Third party solvers # 22123 ############################################################################# 22124 22125 # Check which third party solvers are available 22126 22127 echo "$as_me:$LINENO: checking for COIN module Cpx" >&5 22128 echo $ECHO_N "checking for COIN module Cpx... $ECHO_C" >&6 22129 22130 coin_has_cpx=notGiven 22131 22132 # check if user wants to skip module in any case 22133 if test x"$COIN_SKIP_PROJECTS" != x; then 22134 for dir in $COIN_SKIP_PROJECTS; do 22135 if test $dir = "Cpx"; then 20907 22136 coin_has_cpx=skipping 20908 22137 fi … … 20910 22139 fi 20911 22140 22141 CPX_LIBS= 22142 CPX_CFLAGS= 22143 CPX_DATA= 22144 22145 22146 22147 22148 22149 required=1 22150 22151 # execute third argument that can be used to overwrite flags like 'required' 22152 22153 22154 #check if user provided LIBS, CFLAGS, and DATA for module 20912 22155 if test $coin_has_cpx != skipping; then 20913 if test $PACKAGE_TARNAME = cpx; then 20914 coin_has_cpx=. 22156 22157 22158 # Check whether --with-m4_tolower(Cpx)-lib or --without-m4_tolower(Cpx)-lib was given. 22159 if test "${with_cpx_lib+set}" = set; then 22160 withval="$with_cpx_lib" 22161 coin_has_cpx=yes 22162 CPX_LIBS="$withval" 22163 if test $required = 1; then 22164 ADDLIBS="$ADDLIBS $withval" 22165 fi 22166 22167 fi; 22168 22169 22170 # Check whether --with-m4_tolower(Cpx)-incdir or --without-m4_tolower(Cpx)-incdir was given. 22171 if test "${with_cpx_incdir+set}" = set; then 22172 withval="$with_cpx_incdir" 22173 coin_has_cpx=yes 22174 CPX_CFLAGS="-I`${CYGPATH_W} $withval`" 22175 fi; 22176 22177 22178 # Check whether --with-m4_tolower(Cpx)-datadir or --without-m4_tolower(Cpx)-datadir was given. 22179 if test "${with_cpx_datadir+set}" = set; then 22180 withval="$with_cpx_datadir" 22181 coin_has_cpx=yes 22182 CPX_DATA="$withval" 22183 fi; 22184 fi 22185 22186 if test $coin_has_cpx = notGiven; then 22187 if test -n "$PKG_CONFIG" ; then 22188 # assemble search path for pkg-config 22189 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22190 22191 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 22192 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22193 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22194 if test -d "${prefix}"; then 22195 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22196 fi 22197 22198 22199 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22200 if test "${with_coin_instdir+set}" = set; then 22201 withval="$with_coin_instdir" 22202 if test -d "$withval"; then : ; else 22203 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22204 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 22205 { (exit 1); exit 1; }; } 22206 fi 22207 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22208 22209 fi; 22210 22211 # in a classic setup, we want to find uninstalled projects 22212 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22213 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22214 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 22215 if test -e ../coin_subdirs.txt ; then 22216 for i in `cat ../coin_subdirs.txt` ; do 22217 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22218 done 22219 fi 22220 22221 if test -e ../../coin_subdirs.txt ; then 22222 for i in `cat ../../coin_subdirs.txt` ; do 22223 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22224 done 22225 fi 22226 22227 # let pkg-config do it's magic 22228 # need to export variable to be sure that the following pkg-config gets these values 22229 export PKG_CONFIG_PATH 22230 22231 22232 22233 if test -n "$PKG_CONFIG" ; then 22234 if $PKG_CONFIG --exists "osi-cplex"; then 22235 CPX_VERSIONS="`$PKG_CONFIG --modversion osi-cplex 2>/dev/null`" 22236 cflags=`$PKG_CONFIG --cflags "osi-cplex" 2>/dev/null` 22237 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 22238 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 22239 # but only do this if is not trivial 22240 if test "$CYGPATH_W" != "echo" ; then 22241 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 22242 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22243 fi 22244 CPX_CFLAGS="$cflags" 22245 CPX_LIBS=`$PKG_CONFIG --libs "osi-cplex" 2>/dev/null` 22246 CPX_DATA=`$PKG_CONFIG --variable=datadir "osi-cplex" 2>/dev/null` 22247 coin_has_cpx=yes 22248 echo "$as_me:$LINENO: result: yes: $CPX_VERSIONS" >&5 22249 echo "${ECHO_T}yes: $CPX_VERSIONS" >&6 22250 if test $required = 1; then 22251 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-cplex" 22252 fi 22253 22254 20915 22255 else 20916 if test -d $srcdir/../Cpx; then 20917 coin_has_cpx=../Cpx 20918 fi 20919 fi 20920 fi 20921 20922 if test $coin_has_cpx != unavailable && 20923 test $coin_has_cpx != skipping; then 20924 # Set the #define if the component is available 22256 CPX_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-cplex` 22257 coin_has_cpx=notGiven 22258 echo "$as_me:$LINENO: result: not given: $CPX_PKG_ERRORS" >&5 22259 echo "${ECHO_T}not given: $CPX_PKG_ERRORS" >&6 22260 22261 fi 22262 else 22263 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cpx without pkg-config\"" >&5 22264 echo "$as_me: error: \"Cannot check for existance of module Cpx without pkg-config\"" >&2;} 22265 { (exit 1); exit 1; }; } 22266 fi 22267 22268 22269 22270 22271 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22272 else 22273 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22274 echo "${ECHO_T}skipped check via pkg-config" >&6 22275 fi 22276 22277 else 22278 echo "$as_me:$LINENO: result: $coin_has_cpx" >&5 22279 echo "${ECHO_T}$coin_has_cpx" >&6 22280 fi 22281 22282 if test $coin_has_cpx != skipping && 22283 test $coin_has_cpx != notGiven ; then 22284 if test -n "$CPX_CFLAGS" ; then 22285 { echo "$as_me:$LINENO: Cpx CFLAGS are $CPX_CFLAGS" >&5 22286 echo "$as_me: Cpx CFLAGS are $CPX_CFLAGS" >&6;} 22287 fi 22288 if test -n "$CPX_LIBS" ; then 22289 { echo "$as_me:$LINENO: Cpx LIBS are $CPX_LIBS" >&5 22290 echo "$as_me: Cpx LIBS are $CPX_LIBS" >&6;} 22291 fi 22292 if test -n "$CPX_DATA" ; then 22293 { echo "$as_me:$LINENO: Cpx DATA is $CPX_DATA" >&5 22294 echo "$as_me: Cpx DATA is $CPX_DATA" >&6;} 22295 fi 20925 22296 20926 22297 cat >>confdefs.h <<\_ACEOF … … 20928 22299 _ACEOF 20929 22300 20930 20931 # Set the variables for source and object code location 20932 20933 CPXSRCDIR=`cd $srcdir/$coin_has_cpx; pwd` 20934 20935 CPXOBJDIR=`pwd`/$coin_has_cpx 20936 20937 CPXDOCDIR=$abs_lib_dir/../share/doc/coin/Cpx 20938 fi 20939 20940 # Define the Makefile conditional 20941 20942 20943 if test $coin_has_cpx != unavailable && 22301 fi 22302 22303 # Define the Makefile conditional 22304 22305 22306 if test $coin_has_cpx != notGiven && 20944 22307 test $coin_has_cpx != skipping; then 20945 22308 COIN_HAS_CPX_TRUE= … … 20950 22313 fi 20951 22314 20952 echo "$as_me:$LINENO: result: $coin_has_cpx" >&5 20953 echo "${ECHO_T}$coin_has_cpx" >&6 20954 20955 20956 ############################################################################# 20957 # Third party solvers # 20958 ############################################################################# 20959 20960 # Check which third party solvers are available ToDo! 20961 20962 echo "$as_me:$LINENO: checking if user provides library for Cplex" >&5 20963 echo $ECHO_N "checking if user provides library for Cplex... $ECHO_C" >&6 20964 20965 # Check for header file directory 20966 20967 20968 # Check whether --with-cplex-incdir or --without-cplex-incdir was given. 20969 if test "${with_cplex_incdir+set}" = set; then 20970 withval="$with_cplex_incdir" 20971 CPXINCDIR=`cd $withval; pwd` 22315 22316 22317 22318 echo "$as_me:$LINENO: checking for COIN module Glpk" >&5 22319 echo $ECHO_N "checking for COIN module Glpk... $ECHO_C" >&6 22320 22321 coin_has_glpk=notGiven 22322 22323 # check if user wants to skip module in any case 22324 if test x"$COIN_SKIP_PROJECTS" != x; then 22325 for dir in $COIN_SKIP_PROJECTS; do 22326 if test $dir = "Glpk"; then 22327 coin_has_glpk=skipping 22328 fi 22329 done 22330 fi 22331 22332 GLPK_LIBS= 22333 GLPK_CFLAGS= 22334 GLPK_DATA= 22335 22336 22337 22338 22339 22340 required=1 22341 22342 # execute third argument that can be used to overwrite flags like 'required' 22343 22344 22345 #check if user provided LIBS, CFLAGS, and DATA for module 22346 if test $coin_has_glpk != skipping; then 22347 22348 22349 # Check whether --with-m4_tolower(Glpk)-lib or --without-m4_tolower(Glpk)-lib was given. 22350 if test "${with_glpk_lib+set}" = set; then 22351 withval="$with_glpk_lib" 22352 coin_has_glpk=yes 22353 GLPK_LIBS="$withval" 22354 if test $required = 1; then 22355 ADDLIBS="$ADDLIBS $withval" 22356 fi 22357 20972 22358 fi; 20973 22359 20974 # Check for library directory 20975 20976 20977 # Check whether --with-cplex-lib or --without-cplex-lib was given. 20978 if test "${with_cplex_lib+set}" = set; then 20979 withval="$with_cplex_lib" 20980 CPXLIB=$withval 22360 22361 # Check whether --with-m4_tolower(Glpk)-incdir or --without-m4_tolower(Glpk)-incdir was given. 22362 if test "${with_glpk_incdir+set}" = set; then 22363 withval="$with_glpk_incdir" 22364 coin_has_glpk=yes 22365 GLPK_CFLAGS="-I`${CYGPATH_W} $withval`" 20981 22366 fi; 20982 22367 20983 # Switch to disable library check if requested 20984 20985 # Check whether --enable-cplex-libcheck or --disable-cplex-libcheck was given. 20986 if test "${enable_cplex_libcheck+set}" = set; then 20987 enableval="$enable_cplex_libcheck" 20988 cplex_libcheck=$enableval 20989 else 20990 cplex_libcheck=yes 22368 22369 # Check whether --with-m4_tolower(Glpk)-datadir or --without-m4_tolower(Glpk)-datadir was given. 22370 if test "${with_glpk_datadir+set}" = set; then 22371 withval="$with_glpk_datadir" 22372 coin_has_glpk=yes 22373 GLPK_DATA="$withval" 20991 22374 fi; 20992 20993 # At this point, if we're going to use the library, both LBRYINCDIR and 20994 # LBRYLIB must be defined and not empty. 20995 20996 if test x"$CPXINCDIR" != x || test x"$CPXLIB" != x; then 20997 if test x"$CPXINCDIR" = x || test x"$CPXLIB" = x; then 20998 { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&5 20999 echo "$as_me: error: You need to specify both an include directory and link flags to use library Cplex. Use --with-cplex-incdir of environment variable $CPXINCDIR to specify the include directory. Use --with-cplex-lib or environment variable $CPXLIB to specify link flags." >&2;} 22375 fi 22376 22377 if test $coin_has_glpk = notGiven; then 22378 if test -n "$PKG_CONFIG" ; then 22379 # assemble search path for pkg-config 22380 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22381 22382 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 22383 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22384 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22385 if test -d "${prefix}"; then 22386 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22387 fi 22388 22389 22390 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22391 if test "${with_coin_instdir+set}" = set; then 22392 withval="$with_coin_instdir" 22393 if test -d "$withval"; then : ; else 22394 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22395 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21000 22396 { (exit 1); exit 1; }; } 22397 fi 22398 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22399 22400 fi; 22401 22402 # in a classic setup, we want to find uninstalled projects 22403 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22404 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22405 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 22406 if test -e ../coin_subdirs.txt ; then 22407 for i in `cat ../coin_subdirs.txt` ; do 22408 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22409 done 21001 22410 fi 21002 coin_has_cpx=true 21003 echo "$as_me:$LINENO: result: yes" >&5 21004 echo "${ECHO_T}yes" >&6 22411 22412 if test -e ../../coin_subdirs.txt ; then 22413 for i in `cat ../../coin_subdirs.txt` ; do 22414 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22415 done 22416 fi 22417 22418 # let pkg-config do it's magic 22419 # need to export variable to be sure that the following pkg-config gets these values 22420 export PKG_CONFIG_PATH 22421 22422 22423 22424 if test -n "$PKG_CONFIG" ; then 22425 if $PKG_CONFIG --exists "osi-glpk"; then 22426 GLPK_VERSIONS="`$PKG_CONFIG --modversion osi-glpk 2>/dev/null`" 22427 cflags=`$PKG_CONFIG --cflags "osi-glpk" 2>/dev/null` 22428 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 22429 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 22430 # but only do this if is not trivial 22431 if test "$CYGPATH_W" != "echo" ; then 22432 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 22433 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22434 fi 22435 GLPK_CFLAGS="$cflags" 22436 GLPK_LIBS=`$PKG_CONFIG --libs "osi-glpk" 2>/dev/null` 22437 GLPK_DATA=`$PKG_CONFIG --variable=datadir "osi-glpk" 2>/dev/null` 22438 coin_has_glpk=yes 22439 echo "$as_me:$LINENO: result: yes: $GLPK_VERSIONS" >&5 22440 echo "${ECHO_T}yes: $GLPK_VERSIONS" >&6 22441 if test $required = 1; then 22442 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-glpk" 22443 fi 22444 22445 21005 22446 else 21006 coin_has_cpx=false 21007 echo "$as_me:$LINENO: result: no" >&5 21008 echo "${ECHO_T}no" >&6 21009 fi 21010 21011 # If we have instructions for use, consider header and link checks. 21012 21013 if test $coin_has_cpx = true; then 21014 21015 # If argument 3 (file) is given, check for the file. Typically this will be a 21016 # header file, but that's not assumed. 21017 21018 if test -r $CPXINCDIR/cplex.h; then 21019 21020 : 21021 else 21022 { { echo "$as_me:$LINENO: error: Cannot find file cplex.h in $CPXINCDIR" >&5 21023 echo "$as_me: error: Cannot find file cplex.h in $CPXINCDIR" >&2;} 22447 GLPK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-glpk` 22448 coin_has_glpk=notGiven 22449 echo "$as_me:$LINENO: result: not given: $GLPK_PKG_ERRORS" >&5 22450 echo "${ECHO_T}not given: $GLPK_PKG_ERRORS" >&6 22451 22452 fi 22453 else 22454 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Glpk without pkg-config\"" >&5 22455 echo "$as_me: error: \"Cannot check for existance of module Glpk without pkg-config\"" >&2;} 21024 22456 { (exit 1); exit 1; }; } 21025 : 21026 fi 21027 21028 21029 # Now see if we can link the function. There are arguments for and against 21030 # assuming argument 3 is a header file declaring the function. A correct 21031 # function declaration is the main argument in favour. Having to cope with 21032 # possible dependencies or other oddities are the main arguments against. 21033 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21034 # Obviously, this has limits. 21035 21036 if test x"$cplex_libcheck" != xno; then 21037 coin_save_LIBS="$LIBS" 21038 LIBS="$CPXLIB $ADDLIBS" 21039 coin_CPX_link=no 21040 ac_ext=c 21041 ac_cpp='$CPP $CPPFLAGS' 21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21045 21046 for fnm in CPXgetstat ; do 21047 echo "$as_me:$LINENO: checking whether symbol $fnm is available with CPX" >&5 21048 echo $ECHO_N "checking whether symbol $fnm is available with CPX... $ECHO_C" >&6 21049 cat >conftest.$ac_ext <<_ACEOF 21050 /* confdefs.h. */ 22457 fi 22458 22459 22460 22461 22462 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22463 else 22464 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22465 echo "${ECHO_T}skipped check via pkg-config" >&6 22466 fi 22467 22468 else 22469 echo "$as_me:$LINENO: result: $coin_has_glpk" >&5 22470 echo "${ECHO_T}$coin_has_glpk" >&6 22471 fi 22472 22473 if test $coin_has_glpk != skipping && 22474 test $coin_has_glpk != notGiven ; then 22475 if test -n "$GLPK_CFLAGS" ; then 22476 { echo "$as_me:$LINENO: Glpk CFLAGS are $GLPK_CFLAGS" >&5 22477 echo "$as_me: Glpk CFLAGS are $GLPK_CFLAGS" >&6;} 22478 fi 22479 if test -n "$GLPK_LIBS" ; then 22480 { echo "$as_me:$LINENO: Glpk LIBS are $GLPK_LIBS" >&5 22481 echo "$as_me: Glpk LIBS are $GLPK_LIBS" >&6;} 22482 fi 22483 if test -n "$GLPK_DATA" ; then 22484 { echo "$as_me:$LINENO: Glpk DATA is $GLPK_DATA" >&5 22485 echo "$as_me: Glpk DATA is $GLPK_DATA" >&6;} 22486 fi 22487 22488 cat >>confdefs.h <<\_ACEOF 22489 #define COIN_HAS_GLPK 1 21051 22490 _ACEOF 21052 cat confdefs.h >>conftest.$ac_ext 21053 cat >>conftest.$ac_ext <<_ACEOF 21054 /* end confdefs.h. */ 21055 21056 int 21057 main () 21058 { 21059 $fnm() 21060 ; 21061 return 0; 21062 } 21063 _ACEOF 21064 rm -f conftest.$ac_objext conftest$ac_exeext 21065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21066 (eval $ac_link) 2>conftest.er1 21067 ac_status=$? 21068 grep -v '^ *+' conftest.er1 >conftest.err 21069 rm -f conftest.er1 21070 cat conftest.err >&5 21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21072 (exit $ac_status); } && 21073 { ac_try='test -z "$ac_c_werror_flag" 21074 || test ! -s conftest.err' 21075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21076 (eval $ac_try) 2>&5 21077 ac_status=$? 21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21079 (exit $ac_status); }; } && 21080 { ac_try='test -s conftest$ac_exeext' 21081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21082 (eval $ac_try) 2>&5 21083 ac_status=$? 21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21085 (exit $ac_status); }; }; then 21086 echo "$as_me:$LINENO: result: yes" >&5 21087 echo "${ECHO_T}yes" >&6 21088 coin_CPX_link=yes 21089 break 21090 else 21091 echo "$as_me: failed program was:" >&5 21092 sed 's/^/| /' conftest.$ac_ext >&5 21093 21094 echo "$as_me:$LINENO: result: no" >&5 21095 echo "${ECHO_T}no" >&6 21096 fi 21097 rm -f conftest.err conftest.$ac_objext \ 21098 conftest$ac_exeext conftest.$ac_ext 21099 done 21100 ac_ext=c 21101 ac_cpp='$CPP $CPPFLAGS' 21102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21104 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21105 21106 if test x"$coin_CPX_link" = xyes ; then 21107 LIBS="$coin_save_LIBS" 21108 else 21109 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) CPXgetstat with CPX" >&5 21110 echo "$as_me: error: Cannot find symbol(s) CPXgetstat with CPX" >&2;} 22491 22492 fi 22493 22494 # Define the Makefile conditional 22495 22496 22497 if test $coin_has_glpk != notGiven && 22498 test $coin_has_glpk != skipping; then 22499 COIN_HAS_GLPK_TRUE= 22500 COIN_HAS_GLPK_FALSE='#' 22501 else 22502 COIN_HAS_GLPK_TRUE='#' 22503 COIN_HAS_GLPK_FALSE= 22504 fi 22505 22506 22507 22508 #AC_COIN_HAS_MODULE(Grb, [osi-gurobi]) 22509 22510 echo "$as_me:$LINENO: checking for COIN module Msk" >&5 22511 echo $ECHO_N "checking for COIN module Msk... $ECHO_C" >&6 22512 22513 coin_has_msk=notGiven 22514 22515 # check if user wants to skip module in any case 22516 if test x"$COIN_SKIP_PROJECTS" != x; then 22517 for dir in $COIN_SKIP_PROJECTS; do 22518 if test $dir = "Msk"; then 22519 coin_has_msk=skipping 22520 fi 22521 done 22522 fi 22523 22524 MSK_LIBS= 22525 MSK_CFLAGS= 22526 MSK_DATA= 22527 22528 22529 22530 22531 22532 required=1 22533 22534 # execute third argument that can be used to overwrite flags like 'required' 22535 22536 22537 #check if user provided LIBS, CFLAGS, and DATA for module 22538 if test $coin_has_msk != skipping; then 22539 22540 22541 # Check whether --with-m4_tolower(Msk)-lib or --without-m4_tolower(Msk)-lib was given. 22542 if test "${with_msk_lib+set}" = set; then 22543 withval="$with_msk_lib" 22544 coin_has_msk=yes 22545 MSK_LIBS="$withval" 22546 if test $required = 1; then 22547 ADDLIBS="$ADDLIBS $withval" 22548 fi 22549 22550 fi; 22551 22552 22553 # Check whether --with-m4_tolower(Msk)-incdir or --without-m4_tolower(Msk)-incdir was given. 22554 if test "${with_msk_incdir+set}" = set; then 22555 withval="$with_msk_incdir" 22556 coin_has_msk=yes 22557 MSK_CFLAGS="-I`${CYGPATH_W} $withval`" 22558 fi; 22559 22560 22561 # Check whether --with-m4_tolower(Msk)-datadir or --without-m4_tolower(Msk)-datadir was given. 22562 if test "${with_msk_datadir+set}" = set; then 22563 withval="$with_msk_datadir" 22564 coin_has_msk=yes 22565 MSK_DATA="$withval" 22566 fi; 22567 fi 22568 22569 if test $coin_has_msk = notGiven; then 22570 if test -n "$PKG_CONFIG" ; then 22571 # assemble search path for pkg-config 22572 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22573 22574 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 22575 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22576 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22577 if test -d "${prefix}"; then 22578 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22579 fi 22580 22581 22582 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22583 if test "${with_coin_instdir+set}" = set; then 22584 withval="$with_coin_instdir" 22585 if test -d "$withval"; then : ; else 22586 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22587 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21111 22588 { (exit 1); exit 1; }; } 21112 fi 21113 fi 21114 21115 21116 # If we make it this far, we've verified the file and linked the function. Add 21117 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21118 # COIN_HAS_LBRY. 21119 21120 ADDLIBS="$CPXLIB $ADDLIBS" 21121 21122 cat >>confdefs.h <<\_ACEOF 21123 #define COIN_HAS_CPX 1 21124 _ACEOF 21125 21126 fi 21127 21128 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21129 # automake conditional. These actions must occur unconditionally. 21130 21131 21132 21133 21134 21135 if test $coin_has_cpx = true; then 21136 COIN_HAS_CPX_TRUE= 21137 COIN_HAS_CPX_FALSE='#' 21138 else 21139 COIN_HAS_CPX_TRUE='#' 21140 COIN_HAS_CPX_FALSE= 21141 fi 21142 21143 21144 21145 echo "$as_me:$LINENO: checking if user provides library for FortMP" >&5 21146 echo $ECHO_N "checking if user provides library for FortMP... $ECHO_C" >&6 21147 21148 # Check for header file directory 21149 21150 21151 # Check whether --with-fortmp-incdir or --without-fortmp-incdir was given. 21152 if test "${with_fortmp_incdir+set}" = set; then 21153 withval="$with_fortmp_incdir" 21154 FMPINCDIR=`cd $withval; pwd` 22589 fi 22590 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22591 21155 22592 fi; 21156 22593 21157 # Check for library directory 21158 21159 21160 # Check whether --with-fortmp-lib or --without-fortmp-lib was given. 21161 if test "${with_fortmp_lib+set}" = set; then 21162 withval="$with_fortmp_lib" 21163 FMPLIB=$withval 21164 fi; 21165 21166 # Switch to disable library check if requested 21167 21168 # Check whether --enable-fortmp-libcheck or --disable-fortmp-libcheck was given. 21169 if test "${enable_fortmp_libcheck+set}" = set; then 21170 enableval="$enable_fortmp_libcheck" 21171 fortmp_libcheck=$enableval 21172 else 21173 fortmp_libcheck=yes 21174 fi; 21175 21176 # At this point, if we're going to use the library, both LBRYINCDIR and 21177 # LBRYLIB must be defined and not empty. 21178 21179 if test x"$FMPINCDIR" != x || test x"$FMPLIB" != x; then 21180 if test x"$FMPINCDIR" = x || test x"$FMPLIB" = x; then 21181 { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&5 21182 echo "$as_me: error: You need to specify both an include directory and link flags to use library FortMP. Use --with-fortmp-incdir of environment variable $FMPINCDIR to specify the include directory. Use --with-fortmp-lib or environment variable $FMPLIB to specify link flags." >&2;} 22594 # in a classic setup, we want to find uninstalled projects 22595 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22596 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22597 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 22598 if test -e ../coin_subdirs.txt ; then 22599 for i in `cat ../coin_subdirs.txt` ; do 22600 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22601 done 22602 fi 22603 22604 if test -e ../../coin_subdirs.txt ; then 22605 for i in `cat ../../coin_subdirs.txt` ; do 22606 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22607 done 22608 fi 22609 22610 # let pkg-config do it's magic 22611 # need to export variable to be sure that the following pkg-config gets these values 22612 export PKG_CONFIG_PATH 22613 22614 22615 22616 if test -n "$PKG_CONFIG" ; then 22617 if $PKG_CONFIG --exists "osi-mosek"; then 22618 MSK_VERSIONS="`$PKG_CONFIG --modversion osi-mosek 2>/dev/null`" 22619 cflags=`$PKG_CONFIG --cflags "osi-mosek" 2>/dev/null` 22620 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 22621 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 22622 # but only do this if is not trivial 22623 if test "$CYGPATH_W" != "echo" ; then 22624 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 22625 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22626 fi 22627 MSK_CFLAGS="$cflags" 22628 MSK_LIBS=`$PKG_CONFIG --libs "osi-mosek" 2>/dev/null` 22629 MSK_DATA=`$PKG_CONFIG --variable=datadir "osi-mosek" 2>/dev/null` 22630 coin_has_msk=yes 22631 echo "$as_me:$LINENO: result: yes: $MSK_VERSIONS" >&5 22632 echo "${ECHO_T}yes: $MSK_VERSIONS" >&6 22633 if test $required = 1; then 22634 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-mosek" 22635 fi 22636 22637 22638 else 22639 MSK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-mosek` 22640 coin_has_msk=notGiven 22641 echo "$as_me:$LINENO: result: not given: $MSK_PKG_ERRORS" >&5 22642 echo "${ECHO_T}not given: $MSK_PKG_ERRORS" >&6 22643 22644 fi 22645 else 22646 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Msk without pkg-config\"" >&5 22647 echo "$as_me: error: \"Cannot check for existance of module Msk without pkg-config\"" >&2;} 21183 22648 { (exit 1); exit 1; }; } 21184 fi 21185 coin_has_fmp=true 21186 echo "$as_me:$LINENO: result: yes" >&5 21187 echo "${ECHO_T}yes" >&6 22649 fi 22650 22651 22652 22653 22654 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21188 22655 else 21189 coin_has_fmp=false 21190 echo "$as_me:$LINENO: result: no" >&5 21191 echo "${ECHO_T}no" >&6 21192 fi 21193 21194 # If we have instructions for use, consider header and link checks. 21195 21196 if test $coin_has_fmp = true; then 21197 21198 # If argument 3 (file) is given, check for the file. Typically this will be a 21199 # header file, but that's not assumed. 21200 21201 21202 21203 # Now see if we can link the function. There are arguments for and against 21204 # assuming argument 3 is a header file declaring the function. A correct 21205 # function declaration is the main argument in favour. Having to cope with 21206 # possible dependencies or other oddities are the main arguments against. 21207 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21208 # Obviously, this has limits. 21209 21210 21211 21212 # If we make it this far, we've verified the file and linked the function. Add 21213 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21214 # COIN_HAS_LBRY. 21215 21216 ADDLIBS="$FMPLIB $ADDLIBS" 21217 21218 cat >>confdefs.h <<\_ACEOF 21219 #define COIN_HAS_FMP 1 21220 _ACEOF 21221 21222 fi 21223 21224 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21225 # automake conditional. These actions must occur unconditionally. 21226 21227 21228 21229 21230 21231 if test $coin_has_fmp = true; then 21232 COIN_HAS_FMP_TRUE= 21233 COIN_HAS_FMP_FALSE='#' 21234 else 21235 COIN_HAS_FMP_TRUE='#' 21236 COIN_HAS_FMP_FALSE= 21237 fi 21238 21239 #ToDo! is Fortran? 21240 21241 echo "$as_me:$LINENO: checking if user provides library for Mosek" >&5 21242 echo $ECHO_N "checking if user provides library for Mosek... $ECHO_C" >&6 21243 21244 # Check for header file directory 21245 21246 21247 # Check whether --with-mosek-incdir or --without-mosek-incdir was given. 21248 if test "${with_mosek_incdir+set}" = set; then 21249 withval="$with_mosek_incdir" 21250 MSKINCDIR=`cd $withval; pwd` 21251 fi; 21252 21253 # Check for library directory 21254 21255 21256 # Check whether --with-mosek-lib or --without-mosek-lib was given. 21257 if test "${with_mosek_lib+set}" = set; then 21258 withval="$with_mosek_lib" 21259 MSKLIB=$withval 21260 fi; 21261 21262 # Switch to disable library check if requested 21263 21264 # Check whether --enable-mosek-libcheck or --disable-mosek-libcheck was given. 21265 if test "${enable_mosek_libcheck+set}" = set; then 21266 enableval="$enable_mosek_libcheck" 21267 mosek_libcheck=$enableval 21268 else 21269 mosek_libcheck=yes 21270 fi; 21271 21272 # At this point, if we're going to use the library, both LBRYINCDIR and 21273 # LBRYLIB must be defined and not empty. 21274 21275 if test x"$MSKINCDIR" != x || test x"$MSKLIB" != x; then 21276 if test x"$MSKINCDIR" = x || test x"$MSKLIB" = x; then 21277 { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&5 21278 echo "$as_me: error: You need to specify both an include directory and link flags to use library Mosek. Use --with-mosek-incdir of environment variable $MSKINCDIR to specify the include directory. Use --with-mosek-lib or environment variable $MSKLIB to specify link flags." >&2;} 21279 { (exit 1); exit 1; }; } 21280 fi 21281 coin_has_msk=true 21282 echo "$as_me:$LINENO: result: yes" >&5 21283 echo "${ECHO_T}yes" >&6 21284 else 21285 coin_has_msk=false 21286 echo "$as_me:$LINENO: result: no" >&5 21287 echo "${ECHO_T}no" >&6 21288 fi 21289 21290 # If we have instructions for use, consider header and link checks. 21291 21292 if test $coin_has_msk = true; then 21293 21294 # If argument 3 (file) is given, check for the file. Typically this will be a 21295 # header file, but that's not assumed. 21296 21297 if test -r $MSKINCDIR/mosek.h; then 21298 21299 : 21300 else 21301 { { echo "$as_me:$LINENO: error: Cannot find file mosek.h in $MSKINCDIR" >&5 21302 echo "$as_me: error: Cannot find file mosek.h in $MSKINCDIR" >&2;} 21303 { (exit 1); exit 1; }; } 21304 : 21305 fi 21306 21307 21308 # Now see if we can link the function. There are arguments for and against 21309 # assuming argument 3 is a header file declaring the function. A correct 21310 # function declaration is the main argument in favour. Having to cope with 21311 # possible dependencies or other oddities are the main arguments against. 21312 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21313 # Obviously, this has limits. 21314 21315 if test x"$mosek_libcheck" != xno; then 21316 coin_save_LIBS="$LIBS" 21317 LIBS="$MSKLIB $ADDLIBS" 21318 coin_MSK_link=no 21319 ac_ext=c 21320 ac_cpp='$CPP $CPPFLAGS' 21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21324 21325 for fnm in MSK_openmosek ; do 21326 echo "$as_me:$LINENO: checking whether symbol $fnm is available with MSK" >&5 21327 echo $ECHO_N "checking whether symbol $fnm is available with MSK... $ECHO_C" >&6 21328 cat >conftest.$ac_ext <<_ACEOF 21329 /* confdefs.h. */ 21330 _ACEOF 21331 cat confdefs.h >>conftest.$ac_ext 21332 cat >>conftest.$ac_ext <<_ACEOF 21333 /* end confdefs.h. */ 21334 21335 int 21336 main () 21337 { 21338 $fnm() 21339 ; 21340 return 0; 21341 } 21342 _ACEOF 21343 rm -f conftest.$ac_objext conftest$ac_exeext 21344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21345 (eval $ac_link) 2>conftest.er1 21346 ac_status=$? 21347 grep -v '^ *+' conftest.er1 >conftest.err 21348 rm -f conftest.er1 21349 cat conftest.err >&5 21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21351 (exit $ac_status); } && 21352 { ac_try='test -z "$ac_c_werror_flag" 21353 || test ! -s conftest.err' 21354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21355 (eval $ac_try) 2>&5 21356 ac_status=$? 21357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21358 (exit $ac_status); }; } && 21359 { ac_try='test -s conftest$ac_exeext' 21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21361 (eval $ac_try) 2>&5 21362 ac_status=$? 21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21364 (exit $ac_status); }; }; then 21365 echo "$as_me:$LINENO: result: yes" >&5 21366 echo "${ECHO_T}yes" >&6 21367 coin_MSK_link=yes 21368 break 21369 else 21370 echo "$as_me: failed program was:" >&5 21371 sed 's/^/| /' conftest.$ac_ext >&5 21372 21373 echo "$as_me:$LINENO: result: no" >&5 21374 echo "${ECHO_T}no" >&6 21375 fi 21376 rm -f conftest.err conftest.$ac_objext \ 21377 conftest$ac_exeext conftest.$ac_ext 21378 done 21379 ac_ext=c 21380 ac_cpp='$CPP $CPPFLAGS' 21381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21383 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21384 21385 if test x"$coin_MSK_link" = xyes ; then 21386 LIBS="$coin_save_LIBS" 21387 else 21388 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) MSK_openmosek with MSK" >&5 21389 echo "$as_me: error: Cannot find symbol(s) MSK_openmosek with MSK" >&2;} 21390 { (exit 1); exit 1; }; } 21391 fi 21392 fi 21393 21394 21395 # If we make it this far, we've verified the file and linked the function. Add 21396 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21397 # COIN_HAS_LBRY. 21398 21399 ADDLIBS="$MSKLIB $ADDLIBS" 22656 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22657 echo "${ECHO_T}skipped check via pkg-config" >&6 22658 fi 22659 22660 else 22661 echo "$as_me:$LINENO: result: $coin_has_msk" >&5 22662 echo "${ECHO_T}$coin_has_msk" >&6 22663 fi 22664 22665 if test $coin_has_msk != skipping && 22666 test $coin_has_msk != notGiven ; then 22667 if test -n "$MSK_CFLAGS" ; then 22668 { echo "$as_me:$LINENO: Msk CFLAGS are $MSK_CFLAGS" >&5 22669 echo "$as_me: Msk CFLAGS are $MSK_CFLAGS" >&6;} 22670 fi 22671 if test -n "$MSK_LIBS" ; then 22672 { echo "$as_me:$LINENO: Msk LIBS are $MSK_LIBS" >&5 22673 echo "$as_me: Msk LIBS are $MSK_LIBS" >&6;} 22674 fi 22675 if test -n "$MSK_DATA" ; then 22676 { echo "$as_me:$LINENO: Msk DATA is $MSK_DATA" >&5 22677 echo "$as_me: Msk DATA is $MSK_DATA" >&6;} 22678 fi 21400 22679 21401 22680 cat >>confdefs.h <<\_ACEOF … … 21403 22682 _ACEOF 21404 22683 21405 fi 21406 21407 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21408 # automake conditional. These actions must occur unconditionally. 21409 21410 21411 21412 21413 21414 if test $coin_has_msk = true; then 22684 fi 22685 22686 # Define the Makefile conditional 22687 22688 22689 if test $coin_has_msk != notGiven && 22690 test $coin_has_msk != skipping; then 21415 22691 COIN_HAS_MSK_TRUE= 21416 22692 COIN_HAS_MSK_FALSE='#' … … 21422 22698 21423 22699 21424 echo "$as_me:$LINENO: checking if user provides library for Osl" >&5 21425 echo $ECHO_N "checking if user provides library for Osl... $ECHO_C" >&6 21426 21427 # Check for header file directory 21428 21429 21430 # Check whether --with-osl-incdir or --without-osl-incdir was given. 21431 if test "${with_osl_incdir+set}" = set; then 21432 withval="$with_osl_incdir" 21433 OSLINCDIR=`cd $withval; pwd` 22700 #AC_COIN_HAS_MODULE(Spx, [osi-soplex]) 22701 22702 echo "$as_me:$LINENO: checking for COIN module Xpr" >&5 22703 echo $ECHO_N "checking for COIN module Xpr... $ECHO_C" >&6 22704 22705 coin_has_xpr=notGiven 22706 22707 # check if user wants to skip module in any case 22708 if test x"$COIN_SKIP_PROJECTS" != x; then 22709 for dir in $COIN_SKIP_PROJECTS; do 22710 if test $dir = "Xpr"; then 22711 coin_has_xpr=skipping 22712 fi 22713 done 22714 fi 22715 22716 XPR_LIBS= 22717 XPR_CFLAGS= 22718 XPR_DATA= 22719 22720 22721 22722 22723 22724 required=1 22725 22726 # execute third argument that can be used to overwrite flags like 'required' 22727 22728 22729 #check if user provided LIBS, CFLAGS, and DATA for module 22730 if test $coin_has_xpr != skipping; then 22731 22732 22733 # Check whether --with-m4_tolower(Xpr)-lib or --without-m4_tolower(Xpr)-lib was given. 22734 if test "${with_xpr_lib+set}" = set; then 22735 withval="$with_xpr_lib" 22736 coin_has_xpr=yes 22737 XPR_LIBS="$withval" 22738 if test $required = 1; then 22739 ADDLIBS="$ADDLIBS $withval" 22740 fi 22741 21434 22742 fi; 21435 22743 21436 # Check for library directory 21437 21438 21439 # Check whether --with-osl-lib or --without-osl-lib was given. 21440 if test "${with_osl_lib+set}" = set; then 21441 withval="$with_osl_lib" 21442 OSLLIB=$withval 22744 22745 # Check whether --with-m4_tolower(Xpr)-incdir or --without-m4_tolower(Xpr)-incdir was given. 22746 if test "${with_xpr_incdir+set}" = set; then 22747 withval="$with_xpr_incdir" 22748 coin_has_xpr=yes 22749 XPR_CFLAGS="-I`${CYGPATH_W} $withval`" 21443 22750 fi; 21444 22751 21445 # Switch to disable library check if requested 21446 21447 # Check whether --enable-osl-libcheck or --disable-osl-libcheck was given. 21448 if test "${enable_osl_libcheck+set}" = set; then 21449 enableval="$enable_osl_libcheck" 21450 osl_libcheck=$enableval 21451 else 21452 osl_libcheck=yes 22752 22753 # Check whether --with-m4_tolower(Xpr)-datadir or --without-m4_tolower(Xpr)-datadir was given. 22754 if test "${with_xpr_datadir+set}" = set; then 22755 withval="$with_xpr_datadir" 22756 coin_has_xpr=yes 22757 XPR_DATA="$withval" 21453 22758 fi; 21454 21455 # At this point, if we're going to use the library, both LBRYINCDIR and 21456 # LBRYLIB must be defined and not empty. 21457 21458 if test x"$OSLINCDIR" != x || test x"$OSLLIB" != x; then 21459 if test x"$OSLINCDIR" = x || test x"$OSLLIB" = x; then 21460 { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&5 21461 echo "$as_me: error: You need to specify both an include directory and link flags to use library Osl. Use --with-osl-incdir of environment variable $OSLINCDIR to specify the include directory. Use --with-osl-lib or environment variable $OSLLIB to specify link flags." >&2;} 22759 fi 22760 22761 if test $coin_has_xpr = notGiven; then 22762 if test -n "$PKG_CONFIG" ; then 22763 # assemble search path for pkg-config 22764 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22765 22766 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 22767 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22768 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22769 if test -d "${prefix}"; then 22770 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22771 fi 22772 22773 22774 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22775 if test "${with_coin_instdir+set}" = set; then 22776 withval="$with_coin_instdir" 22777 if test -d "$withval"; then : ; else 22778 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22779 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21462 22780 { (exit 1); exit 1; }; } 22781 fi 22782 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22783 22784 fi; 22785 22786 # in a classic setup, we want to find uninstalled projects 22787 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22788 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22789 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 22790 if test -e ../coin_subdirs.txt ; then 22791 for i in `cat ../coin_subdirs.txt` ; do 22792 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22793 done 21463 22794 fi 21464 coin_has_osl=true 21465 echo "$as_me:$LINENO: result: yes" >&5 21466 echo "${ECHO_T}yes" >&6 22795 22796 if test -e ../../coin_subdirs.txt ; then 22797 for i in `cat ../../coin_subdirs.txt` ; do 22798 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22799 done 22800 fi 22801 22802 # let pkg-config do it's magic 22803 # need to export variable to be sure that the following pkg-config gets these values 22804 export PKG_CONFIG_PATH 22805 22806 22807 22808 if test -n "$PKG_CONFIG" ; then 22809 if $PKG_CONFIG --exists "osi-xpress"; then 22810 XPR_VERSIONS="`$PKG_CONFIG --modversion osi-xpress 2>/dev/null`" 22811 cflags=`$PKG_CONFIG --cflags "osi-xpress" 2>/dev/null` 22812 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 22813 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 22814 # but only do this if is not trivial 22815 if test "$CYGPATH_W" != "echo" ; then 22816 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 22817 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 22818 fi 22819 XPR_CFLAGS="$cflags" 22820 XPR_LIBS=`$PKG_CONFIG --libs "osi-xpress" 2>/dev/null` 22821 XPR_DATA=`$PKG_CONFIG --variable=datadir "osi-xpress" 2>/dev/null` 22822 coin_has_xpr=yes 22823 echo "$as_me:$LINENO: result: yes: $XPR_VERSIONS" >&5 22824 echo "${ECHO_T}yes: $XPR_VERSIONS" >&6 22825 if test $required = 1; then 22826 REQUIREDPACKAGES="$REQUIREDPACKAGES osi-xpress" 22827 fi 22828 22829 21467 22830 else 21468 coin_has_osl=false 21469 echo "$as_me:$LINENO: result: no" >&5 21470 echo "${ECHO_T}no" >&6 21471 fi 21472 21473 # If we have instructions for use, consider header and link checks. 21474 21475 if test $coin_has_osl = true; then 21476 21477 # If argument 3 (file) is given, check for the file. Typically this will be a 21478 # header file, but that's not assumed. 21479 21480 if test -r $OSLINCDIR/ekk_c_api.h; then 21481 21482 : 21483 else 21484 { { echo "$as_me:$LINENO: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&5 21485 echo "$as_me: error: Cannot find file ekk_c_api.h in $OSLINCDIR" >&2;} 22831 XPR_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-xpress` 22832 coin_has_xpr=notGiven 22833 echo "$as_me:$LINENO: result: not given: $XPR_PKG_ERRORS" >&5 22834 echo "${ECHO_T}not given: $XPR_PKG_ERRORS" >&6 22835 22836 fi 22837 else 22838 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Xpr without pkg-config\"" >&5 22839 echo "$as_me: error: \"Cannot check for existance of module Xpr without pkg-config\"" >&2;} 21486 22840 { (exit 1); exit 1; }; } 21487 : 21488 fi 21489 21490 21491 # Now see if we can link the function. There are arguments for and against 21492 # assuming argument 3 is a header file declaring the function. A correct 21493 # function declaration is the main argument in favour. Having to cope with 21494 # possible dependencies or other oddities are the main arguments against. 21495 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21496 # Obviously, this has limits. 21497 21498 if test x"$osl_libcheck" != xno; then 21499 coin_save_LIBS="$LIBS" 21500 LIBS="$OSLLIB $ADDLIBS" 21501 coin_OSL_link=no 21502 ac_ext=c 21503 ac_cpp='$CPP $CPPFLAGS' 21504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21506 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21507 21508 for fnm in ekk_simplex ; do 21509 echo "$as_me:$LINENO: checking whether symbol $fnm is available with OSL" >&5 21510 echo $ECHO_N "checking whether symbol $fnm is available with OSL... $ECHO_C" >&6 21511 cat >conftest.$ac_ext <<_ACEOF 21512 /* confdefs.h. */ 21513 _ACEOF 21514 cat confdefs.h >>conftest.$ac_ext 21515 cat >>conftest.$ac_ext <<_ACEOF 21516 /* end confdefs.h. */ 21517 21518 int 21519 main () 21520 { 21521 $fnm() 21522 ; 21523 return 0; 21524 } 21525 _ACEOF 21526 rm -f conftest.$ac_objext conftest$ac_exeext 21527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21528 (eval $ac_link) 2>conftest.er1 21529 ac_status=$? 21530 grep -v '^ *+' conftest.er1 >conftest.err 21531 rm -f conftest.er1 21532 cat conftest.err >&5 21533 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21534 (exit $ac_status); } && 21535 { ac_try='test -z "$ac_c_werror_flag" 21536 || test ! -s conftest.err' 21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21538 (eval $ac_try) 2>&5 21539 ac_status=$? 21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21541 (exit $ac_status); }; } && 21542 { ac_try='test -s conftest$ac_exeext' 21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21544 (eval $ac_try) 2>&5 21545 ac_status=$? 21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21547 (exit $ac_status); }; }; then 21548 echo "$as_me:$LINENO: result: yes" >&5 21549 echo "${ECHO_T}yes" >&6 21550 coin_OSL_link=yes 21551 break 21552 else 21553 echo "$as_me: failed program was:" >&5 21554 sed 's/^/| /' conftest.$ac_ext >&5 21555 21556 echo "$as_me:$LINENO: result: no" >&5 21557 echo "${ECHO_T}no" >&6 21558 fi 21559 rm -f conftest.err conftest.$ac_objext \ 21560 conftest$ac_exeext conftest.$ac_ext 21561 done 21562 ac_ext=c 21563 ac_cpp='$CPP $CPPFLAGS' 21564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21566 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21567 21568 if test x"$coin_OSL_link" = xyes ; then 21569 LIBS="$coin_save_LIBS" 21570 else 21571 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) ekk_simplex with OSL" >&5 21572 echo "$as_me: error: Cannot find symbol(s) ekk_simplex with OSL" >&2;} 21573 { (exit 1); exit 1; }; } 21574 fi 21575 fi 21576 21577 21578 # If we make it this far, we've verified the file and linked the function. Add 21579 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21580 # COIN_HAS_LBRY. 21581 21582 ADDLIBS="$OSLLIB $ADDLIBS" 21583 21584 cat >>confdefs.h <<\_ACEOF 21585 #define COIN_HAS_OSL 1 21586 _ACEOF 21587 21588 fi 21589 21590 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21591 # automake conditional. These actions must occur unconditionally. 21592 21593 21594 21595 21596 21597 if test $coin_has_osl = true; then 21598 COIN_HAS_OSL_TRUE= 21599 COIN_HAS_OSL_FALSE='#' 21600 else 21601 COIN_HAS_OSL_TRUE='#' 21602 COIN_HAS_OSL_FALSE= 21603 fi 21604 21605 21606 21607 echo "$as_me:$LINENO: checking if user provides library for Soplex" >&5 21608 echo $ECHO_N "checking if user provides library for Soplex... $ECHO_C" >&6 21609 21610 # Check for header file directory 21611 21612 21613 # Check whether --with-soplex-incdir or --without-soplex-incdir was given. 21614 if test "${with_soplex_incdir+set}" = set; then 21615 withval="$with_soplex_incdir" 21616 SPXINCDIR=`cd $withval; pwd` 21617 fi; 21618 21619 # Check for library directory 21620 21621 21622 # Check whether --with-soplex-lib or --without-soplex-lib was given. 21623 if test "${with_soplex_lib+set}" = set; then 21624 withval="$with_soplex_lib" 21625 SPXLIB=$withval 21626 fi; 21627 21628 # Switch to disable library check if requested 21629 21630 # Check whether --enable-soplex-libcheck or --disable-soplex-libcheck was given. 21631 if test "${enable_soplex_libcheck+set}" = set; then 21632 enableval="$enable_soplex_libcheck" 21633 soplex_libcheck=$enableval 21634 else 21635 soplex_libcheck=yes 21636 fi; 21637 21638 # At this point, if we're going to use the library, both LBRYINCDIR and 21639 # LBRYLIB must be defined and not empty. 21640 21641 if test x"$SPXINCDIR" != x || test x"$SPXLIB" != x; then 21642 if test x"$SPXINCDIR" = x || test x"$SPXLIB" = x; then 21643 { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&5 21644 echo "$as_me: error: You need to specify both an include directory and link flags to use library Soplex. Use --with-soplex-incdir of environment variable $SPXINCDIR to specify the include directory. Use --with-soplex-lib or environment variable $SPXLIB to specify link flags." >&2;} 21645 { (exit 1); exit 1; }; } 21646 fi 21647 coin_has_spx=true 21648 echo "$as_me:$LINENO: result: yes" >&5 21649 echo "${ECHO_T}yes" >&6 22841 fi 22842 22843 22844 22845 22846 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21650 22847 else 21651 coin_has_spx=false 21652 echo "$as_me:$LINENO: result: no" >&5 21653 echo "${ECHO_T}no" >&6 21654 fi 21655 21656 # If we have instructions for use, consider header and link checks. 21657 21658 if test $coin_has_spx = true; then 21659 21660 # If argument 3 (file) is given, check for the file. Typically this will be a 21661 # header file, but that's not assumed. 21662 21663 if test -r $SPXINCDIR/spxsolver.h; then 21664 21665 : 21666 else 21667 { { echo "$as_me:$LINENO: error: Cannot find file spxsolver.h in $SPXINCDIR" >&5 21668 echo "$as_me: error: Cannot find file spxsolver.h in $SPXINCDIR" >&2;} 21669 { (exit 1); exit 1; }; } 21670 : 21671 fi 21672 21673 21674 # Now see if we can link the function. There are arguments for and against 21675 # assuming argument 3 is a header file declaring the function. A correct 21676 # function declaration is the main argument in favour. Having to cope with 21677 # possible dependencies or other oddities are the main arguments against. 21678 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21679 # Obviously, this has limits. 21680 21681 21682 21683 # If we make it this far, we've verified the file and linked the function. Add 21684 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21685 # COIN_HAS_LBRY. 21686 21687 ADDLIBS="$SPXLIB $ADDLIBS" 21688 21689 cat >>confdefs.h <<\_ACEOF 21690 #define COIN_HAS_SPX 1 21691 _ACEOF 21692 21693 fi 21694 21695 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21696 # automake conditional. These actions must occur unconditionally. 21697 21698 21699 21700 21701 21702 if test $coin_has_spx = true; then 21703 COIN_HAS_SPX_TRUE= 21704 COIN_HAS_SPX_FALSE='#' 21705 else 21706 COIN_HAS_SPX_TRUE='#' 21707 COIN_HAS_SPX_FALSE= 21708 fi 21709 21710 # ToDo 21711 21712 echo "$as_me:$LINENO: checking if user provides library for Xpress" >&5 21713 echo $ECHO_N "checking if user provides library for Xpress... $ECHO_C" >&6 21714 21715 # Check for header file directory 21716 21717 21718 # Check whether --with-xpress-incdir or --without-xpress-incdir was given. 21719 if test "${with_xpress_incdir+set}" = set; then 21720 withval="$with_xpress_incdir" 21721 XPRINCDIR=`cd $withval; pwd` 21722 fi; 21723 21724 # Check for library directory 21725 21726 21727 # Check whether --with-xpress-lib or --without-xpress-lib was given. 21728 if test "${with_xpress_lib+set}" = set; then 21729 withval="$with_xpress_lib" 21730 XPRLIB=$withval 21731 fi; 21732 21733 # Switch to disable library check if requested 21734 21735 # Check whether --enable-xpress-libcheck or --disable-xpress-libcheck was given. 21736 if test "${enable_xpress_libcheck+set}" = set; then 21737 enableval="$enable_xpress_libcheck" 21738 xpress_libcheck=$enableval 21739 else 21740 xpress_libcheck=yes 21741 fi; 21742 21743 # At this point, if we're going to use the library, both LBRYINCDIR and 21744 # LBRYLIB must be defined and not empty. 21745 21746 if test x"$XPRINCDIR" != x || test x"$XPRLIB" != x; then 21747 if test x"$XPRINCDIR" = x || test x"$XPRLIB" = x; then 21748 { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&5 21749 echo "$as_me: error: You need to specify both an include directory and link flags to use library Xpress. Use --with-xpress-incdir of environment variable $XPRINCDIR to specify the include directory. Use --with-xpress-lib or environment variable $XPRLIB to specify link flags." >&2;} 21750 { (exit 1); exit 1; }; } 21751 fi 21752 coin_has_xpr=true 21753 echo "$as_me:$LINENO: result: yes" >&5 21754 echo "${ECHO_T}yes" >&6 21755 else 21756 coin_has_xpr=false 21757 echo "$as_me:$LINENO: result: no" >&5 21758 echo "${ECHO_T}no" >&6 21759 fi 21760 21761 # If we have instructions for use, consider header and link checks. 21762 21763 if test $coin_has_xpr = true; then 21764 21765 # If argument 3 (file) is given, check for the file. Typically this will be a 21766 # header file, but that's not assumed. 21767 21768 if test -r $XPRINCDIR/xprs.h; then 21769 21770 : 21771 else 21772 { { echo "$as_me:$LINENO: error: Cannot find file xprs.h in $XPRINCDIR" >&5 21773 echo "$as_me: error: Cannot find file xprs.h in $XPRINCDIR" >&2;} 21774 { (exit 1); exit 1; }; } 21775 : 21776 fi 21777 21778 21779 # Now see if we can link the function. There are arguments for and against 21780 # assuming argument 3 is a header file declaring the function. A correct 21781 # function declaration is the main argument in favour. Having to cope with 21782 # possible dependencies or other oddities are the main arguments against. 21783 # Force the use of C as the best single choice amongst C++, C, and Fortran. 21784 # Obviously, this has limits. 21785 21786 if test x"$xpress_libcheck" != xno; then 21787 coin_save_LIBS="$LIBS" 21788 LIBS="$XPRLIB $ADDLIBS" 21789 coin_XPR_link=no 21790 ac_ext=c 21791 ac_cpp='$CPP $CPPFLAGS' 21792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21794 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21795 21796 for fnm in XPRSsetintcontrol ; do 21797 echo "$as_me:$LINENO: checking whether symbol $fnm is available with XPR" >&5 21798 echo $ECHO_N "checking whether symbol $fnm is available with XPR... $ECHO_C" >&6 21799 cat >conftest.$ac_ext <<_ACEOF 21800 /* confdefs.h. */ 21801 _ACEOF 21802 cat confdefs.h >>conftest.$ac_ext 21803 cat >>conftest.$ac_ext <<_ACEOF 21804 /* end confdefs.h. */ 21805 21806 int 21807 main () 21808 { 21809 $fnm() 21810 ; 21811 return 0; 21812 } 21813 _ACEOF 21814 rm -f conftest.$ac_objext conftest$ac_exeext 21815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 21816 (eval $ac_link) 2>conftest.er1 21817 ac_status=$? 21818 grep -v '^ *+' conftest.er1 >conftest.err 21819 rm -f conftest.er1 21820 cat conftest.err >&5 21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21822 (exit $ac_status); } && 21823 { ac_try='test -z "$ac_c_werror_flag" 21824 || test ! -s conftest.err' 21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21826 (eval $ac_try) 2>&5 21827 ac_status=$? 21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21829 (exit $ac_status); }; } && 21830 { ac_try='test -s conftest$ac_exeext' 21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 21832 (eval $ac_try) 2>&5 21833 ac_status=$? 21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21835 (exit $ac_status); }; }; then 21836 echo "$as_me:$LINENO: result: yes" >&5 21837 echo "${ECHO_T}yes" >&6 21838 coin_XPR_link=yes 21839 break 21840 else 21841 echo "$as_me: failed program was:" >&5 21842 sed 's/^/| /' conftest.$ac_ext >&5 21843 21844 echo "$as_me:$LINENO: result: no" >&5 21845 echo "${ECHO_T}no" >&6 21846 fi 21847 rm -f conftest.err conftest.$ac_objext \ 21848 conftest$ac_exeext conftest.$ac_ext 21849 done 21850 ac_ext=c 21851 ac_cpp='$CPP $CPPFLAGS' 21852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 21853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 21854 ac_compiler_gnu=$ac_cv_c_compiler_gnu 21855 21856 if test x"$coin_XPR_link" = xyes ; then 21857 LIBS="$coin_save_LIBS" 21858 else 21859 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&5 21860 echo "$as_me: error: Cannot find symbol(s) XPRSsetintcontrol with XPR" >&2;} 21861 { (exit 1); exit 1; }; } 21862 fi 21863 fi 21864 21865 21866 # If we make it this far, we've verified the file and linked the function. Add 21867 # the necessary link flags to ADDLIBS and define the preprocessor symbol 21868 # COIN_HAS_LBRY. 21869 21870 ADDLIBS="$XPRLIB $ADDLIBS" 22848 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22849 echo "${ECHO_T}skipped check via pkg-config" >&6 22850 fi 22851 22852 else 22853 echo "$as_me:$LINENO: result: $coin_has_xpr" >&5 22854 echo "${ECHO_T}$coin_has_xpr" >&6 22855 fi 22856 22857 if test $coin_has_xpr != skipping && 22858 test $coin_has_xpr != notGiven ; then 22859 if test -n "$XPR_CFLAGS" ; then 22860 { echo "$as_me:$LINENO: Xpr CFLAGS are $XPR_CFLAGS" >&5 22861 echo "$as_me: Xpr CFLAGS are $XPR_CFLAGS" >&6;} 22862 fi 22863 if test -n "$XPR_LIBS" ; then 22864 { echo "$as_me:$LINENO: Xpr LIBS are $XPR_LIBS" >&5 22865 echo "$as_me: Xpr LIBS are $XPR_LIBS" >&6;} 22866 fi 22867 if test -n "$XPR_DATA" ; then 22868 { echo "$as_me:$LINENO: Xpr DATA is $XPR_DATA" >&5 22869 echo "$as_me: Xpr DATA is $XPR_DATA" >&6;} 22870 fi 21871 22871 21872 22872 cat >>confdefs.h <<\_ACEOF … … 21874 22874 _ACEOF 21875 22875 21876 fi 21877 21878 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the 21879 # automake conditional. These actions must occur unconditionally. 21880 21881 21882 21883 21884 21885 if test $coin_has_xpr = true; then 22876 fi 22877 22878 # Define the Makefile conditional 22879 22880 22881 if test $coin_has_xpr != notGiven && 22882 test $coin_has_xpr != skipping; then 21886 22883 COIN_HAS_XPR_TRUE= 21887 22884 COIN_HAS_XPR_FALSE='#' … … 21889 22886 COIN_HAS_XPR_TRUE='#' 21890 22887 COIN_HAS_XPR_FALSE= 21891 fi21892 21893 21894 21895 21896 if test "$PACKAGE_NAME" = ThirdPartyGlpk; then21897 coin_glpkobjdir=../Glpk21898 else21899 coin_glpkobjdir=../ThirdParty/Glpk21900 fi21901 coin_glpksrcdir=$abs_source_dir/$coin_glpkobjdir21902 21903 use_thirdpartyglpk=no21904 21905 # Check for the requested component. If the user specified an external glpk21906 # library don't force a ThirdParty build, let the error propagate.21907 21908 21909 echo "$as_me:$LINENO: checking if user provides library for Glpk" >&521910 echo $ECHO_N "checking if user provides library for Glpk... $ECHO_C" >&621911 21912 # Check for header file directory21913 21914 21915 # Check whether --with-glpk-incdir or --without-glpk-incdir was given.21916 if test "${with_glpk_incdir+set}" = set; then21917 withval="$with_glpk_incdir"21918 GLPKINCDIR=`cd $withval; pwd`21919 fi;21920 21921 # Check for library directory21922 21923 21924 # Check whether --with-glpk-lib or --without-glpk-lib was given.21925 if test "${with_glpk_lib+set}" = set; then21926 withval="$with_glpk_lib"21927 GLPKLIB=$withval21928 fi;21929 21930 # Switch to disable library check if requested21931 21932 # Check whether --enable-glpk-libcheck or --disable-glpk-libcheck was given.21933 if test "${enable_glpk_libcheck+set}" = set; then21934 enableval="$enable_glpk_libcheck"21935 glpk_libcheck=$enableval21936 else21937 glpk_libcheck=yes21938 fi;21939 21940 # At this point, if we're going to use the library, both LBRYINCDIR and21941 # LBRYLIB must be defined and not empty.21942 21943 if test x"$GLPKINCDIR" != x || test x"$GLPKLIB" != x; then21944 if test x"$GLPKINCDIR" = x || test x"$GLPKLIB" = x; then21945 { { echo "$as_me:$LINENO: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&521946 echo "$as_me: error: You need to specify both an include directory and link flags to use library Glpk. Use --with-glpk-incdir of environment variable $GLPKINCDIR to specify the include directory. Use --with-glpk-lib or environment variable $GLPKLIB to specify link flags." >&2;}21947 { (exit 1); exit 1; }; }21948 fi21949 coin_has_glpk=true21950 echo "$as_me:$LINENO: result: yes" >&521951 echo "${ECHO_T}yes" >&621952 else21953 coin_has_glpk=false21954 echo "$as_me:$LINENO: result: no" >&521955 echo "${ECHO_T}no" >&621956 fi21957 21958 # If we have instructions for use, consider header and link checks.21959 21960 if test $coin_has_glpk = true; then21961 21962 # If argument 3 (file) is given, check for the file. Typically this will be a21963 # header file, but that's not assumed.21964 21965 if test -r $GLPKINCDIR/glpk.h; then21966 21967 :21968 else21969 { { echo "$as_me:$LINENO: error: Cannot find file glpk.h in $GLPKINCDIR" >&521970 echo "$as_me: error: Cannot find file glpk.h in $GLPKINCDIR" >&2;}21971 { (exit 1); exit 1; }; }21972 :21973 fi21974 21975 21976 # Now see if we can link the function. There are arguments for and against21977 # assuming argument 3 is a header file declaring the function. A correct21978 # function declaration is the main argument in favour. Having to cope with21979 # possible dependencies or other oddities are the main arguments against.21980 # Force the use of C as the best single choice amongst C++, C, and Fortran.21981 # Obviously, this has limits.21982 21983 if test x"$glpk_libcheck" != xno; then21984 coin_save_LIBS="$LIBS"21985 LIBS="$GLPKLIB $ADDLIBS"21986 coin_GLPK_link=no21987 ac_ext=c21988 ac_cpp='$CPP $CPPFLAGS'21989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'21990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'21991 ac_compiler_gnu=$ac_cv_c_compiler_gnu21992 21993 for fnm in _glp_lpx_simplex glp_lpx_simplex ; do21994 echo "$as_me:$LINENO: checking whether symbol $fnm is available with GLPK" >&521995 echo $ECHO_N "checking whether symbol $fnm is available with GLPK... $ECHO_C" >&621996 cat >conftest.$ac_ext <<_ACEOF21997 /* confdefs.h. */21998 _ACEOF21999 cat confdefs.h >>conftest.$ac_ext22000 cat >>conftest.$ac_ext <<_ACEOF22001 /* end confdefs.h. */22002 22003 int22004 main ()22005 {22006 $fnm()22007 ;22008 return 0;22009 }22010 _ACEOF22011 rm -f conftest.$ac_objext conftest$ac_exeext22012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&522013 (eval $ac_link) 2>conftest.er122014 ac_status=$?22015 grep -v '^ *+' conftest.er1 >conftest.err22016 rm -f conftest.er122017 cat conftest.err >&522018 echo "$as_me:$LINENO: \$? = $ac_status" >&522019 (exit $ac_status); } &&22020 { ac_try='test -z "$ac_c_werror_flag"22021 || test ! -s conftest.err'22022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&522023 (eval $ac_try) 2>&522024 ac_status=$?22025 echo "$as_me:$LINENO: \$? = $ac_status" >&522026 (exit $ac_status); }; } &&22027 { ac_try='test -s conftest$ac_exeext'22028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&522029 (eval $ac_try) 2>&522030 ac_status=$?22031 echo "$as_me:$LINENO: \$? = $ac_status" >&522032 (exit $ac_status); }; }; then22033 echo "$as_me:$LINENO: result: yes" >&522034 echo "${ECHO_T}yes" >&622035 coin_GLPK_link=yes22036 break22037 else22038 echo "$as_me: failed program was:" >&522039 sed 's/^/| /' conftest.$ac_ext >&522040 22041 echo "$as_me:$LINENO: result: no" >&522042 echo "${ECHO_T}no" >&622043 fi22044 rm -f conftest.err conftest.$ac_objext \22045 conftest$ac_exeext conftest.$ac_ext22046 done22047 ac_ext=c22048 ac_cpp='$CPP $CPPFLAGS'22049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'22050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'22051 ac_compiler_gnu=$ac_cv_c_compiler_gnu22052 22053 if test x"$coin_GLPK_link" = xyes ; then22054 LIBS="$coin_save_LIBS"22055 else22056 { { echo "$as_me:$LINENO: error: Cannot find symbol(s) _glp_lpx_simplex glp_lpx_simplex with GLPK" >&522057 echo "$as_me: error: Cannot find symbol(s) _glp_lpx_simplex glp_lpx_simplex with GLPK" >&2;}22058 { (exit 1); exit 1; }; }22059 fi22060 fi22061 22062 22063 # If we make it this far, we've verified the file and linked the function. Add22064 # the necessary link flags to ADDLIBS and define the preprocessor symbol22065 # COIN_HAS_LBRY.22066 22067 ADDLIBS="$GLPKLIB $ADDLIBS"22068 22069 cat >>confdefs.h <<\_ACEOF22070 #define COIN_HAS_GLPK 122071 _ACEOF22072 22073 fi22074 22075 # Arrange for configure to substitute LBRYINCDIR and LBRYLIB and create the22076 # automake conditional. These actions must occur unconditionally.22077 22078 22079 22080 22081 22082 if test $coin_has_glpk = true; then22083 COIN_HAS_GLPK_TRUE=22084 COIN_HAS_GLPK_FALSE='#'22085 else22086 COIN_HAS_GLPK_TRUE='#'22087 COIN_HAS_GLPK_FALSE=22088 fi22089 22090 22091 if test x"$coin_has_glpk" = xfalse && test x"$GLPKLIB" = x ; then22092 use_thirdpartyglpk=try22093 fi22094 22095 22096 # If the user has supplied an external library, use it. Otherwise, consider22097 # a build in ThirdParty/Glpk. If we build, assume we get both glpk and gmpl.22098 22099 if test x"$use_thirdpartyglpk" = xtry ; then22100 MAKEOKFILE=.MakeOk22101 # Check if the Glpk's ThirdParty project has been configured22102 if test "$PACKAGE_NAME" != ThirdPartyGlpk; then22103 if test -r $coin_glpkobjdir/.MakeOk; then22104 use_thirdpartyglpk=build22105 else22106 use_thirdpartyglpk=no22107 fi22108 else22109 use_thirdpartyglpk=build22110 fi22111 22112 # If we're building, set the library and include directory variables, create a22113 # preprocessor symbol, define a variable that says we're using glpk/gmpl, and22114 # another to indicate a link check is a bad idea (hard to do before the library22115 # exists).22116 22117 if test x"$use_thirdpartyglpk" = xbuild ; then22118 GLPKINCDIR="$coin_glpksrcdir/glpk/include"22119 22120 22121 cat >>confdefs.h <<\_ACEOF22122 #define COIN_HAS_GLPK 122123 _ACEOF22124 22125 coin_has_glpk=true22126 glpk_libcheck=no22127 GLPKOBJDIR=`cd $coin_glpkobjdir; pwd`22128 22129 { echo "$as_me:$LINENO: Using Glpk in ThirdParty/Glpk" >&522130 echo "$as_me: Using Glpk in ThirdParty/Glpk" >&6;}22131 fi22132 fi22133 22134 # Define the necessary automake conditionals.22135 22136 22137 22138 if test x"$coin_has_glpk" = xtrue; then22139 COIN_HAS_GLPK_TRUE=22140 COIN_HAS_GLPK_FALSE='#'22141 else22142 COIN_HAS_GLPK_TRUE='#'22143 COIN_HAS_GLPK_FALSE=22144 fi22145 22146 22147 22148 if test x"$use_thirdpartyglpk" = xbuild; then22149 COIN_BUILD_GLPK_TRUE=22150 COIN_BUILD_GLPK_FALSE='#'22151 else22152 COIN_BUILD_GLPK_TRUE='#'22153 COIN_BUILD_GLPK_FALSE=22154 22888 fi 22155 22889 … … 22162 22896 22163 22897 # Ampl Solver library 22164 coin_aslobjdir=../ThirdParty/ASL 22165 coin_aslsrcdir=$srcdir/$coin_aslobjdir 22166 22167 # Determine the name of the ASL library 22168 case "$CC" in 22169 cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*) 22170 ampllib=amplsolv.lib ;; 22171 *) 22172 ampllib=amplsolver.a ;; 22173 esac 22174 22175 22176 # Check whether --with-asldir or --without-asldir was given. 22177 if test "${with_asldir+set}" = set; then 22178 withval="$with_asldir" 22179 use_asldir=$withval 22180 else 22181 use_asldir= 22898 22899 echo "$as_me:$LINENO: checking for COIN module ASL" >&5 22900 echo $ECHO_N "checking for COIN module ASL... $ECHO_C" >&6 22901 22902 coin_has_asl=notGiven 22903 22904 # check if user wants to skip module in any case 22905 if test x"$COIN_SKIP_PROJECTS" != x; then 22906 for dir in $COIN_SKIP_PROJECTS; do 22907 if test $dir = "ASL"; then 22908 coin_has_asl=skipping 22909 fi 22910 done 22911 fi 22912 22913 ASL_LIBS= 22914 ASL_CFLAGS= 22915 ASL_DATA= 22916 22917 22918 22919 22920 22921 required=1 22922 22923 # execute third argument that can be used to overwrite flags like 'required' 22924 required=0 22925 22926 #check if user provided LIBS, CFLAGS, and DATA for module 22927 if test $coin_has_asl != skipping; then 22928 22929 22930 # Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given. 22931 if test "${with_asl_lib+set}" = set; then 22932 withval="$with_asl_lib" 22933 coin_has_asl=yes 22934 ASL_LIBS="$withval" 22935 if test $required = 1; then 22936 ADDLIBS="$ADDLIBS $withval" 22937 fi 22938 22182 22939 fi; 22183 22940 22184 if test "$use_asldir" = BUILD; then 22185 if test "$PACKAGE_NAME" != ThirdPartyASL; then 22186 # If we are configuring ThirdParty/ASL, don't check 22187 if test -r $coin_aslobjdir/.MakeOk; then :; else 22188 { { echo "$as_me:$LINENO: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&5 22189 echo "$as_me: error: option \"BUILD\" specified for asldir, but directory is not configure (sources missing?)" >&2;} 22941 22942 # Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given. 22943 if test "${with_asl_incdir+set}" = set; then 22944 withval="$with_asl_incdir" 22945 coin_has_asl=yes 22946 ASL_CFLAGS="-I`${CYGPATH_W} $withval`" 22947 fi; 22948 22949 22950 # Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given. 22951 if test "${with_asl_datadir+set}" = set; then 22952 withval="$with_asl_datadir" 22953 coin_has_asl=yes 22954 ASL_DATA="$withval" 22955 fi; 22956 fi 22957 22958 if test $coin_has_asl = notGiven; then 22959 if test -n "$PKG_CONFIG" ; then 22960 # assemble search path for pkg-config 22961 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22962 22963 # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there 22964 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22965 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22966 if test -d "${prefix}"; then 22967 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22968 fi 22969 22970 22971 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22972 if test "${with_coin_instdir+set}" = set; then 22973 withval="$with_coin_instdir" 22974 if test -d "$withval"; then : ; else 22975 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22976 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 22190 22977 { (exit 1); exit 1; }; } 22978 fi 22979 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22980 22981 fi; 22982 22983 # in a classic setup, we want to find uninstalled projects 22984 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22985 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22986 # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data) 22987 if test -e ../coin_subdirs.txt ; then 22988 for i in `cat ../coin_subdirs.txt` ; do 22989 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22990 done 22191 22991 fi 22192 fi 22193 elif test -z "$use_asldir"; then 22194 # try to find sources - if not given don't compile 22195 if test "$PACKAGE_NAME" != ThirdPartyASL; then 22196 if test -r $coin_aslobjdir/.MakeOk; then 22197 use_asldir=BUILD 22198 else 22199 use_asldir=no 22992 22993 if test -e ../../coin_subdirs.txt ; then 22994 for i in `cat ../../coin_subdirs.txt` ; do 22995 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22996 done 22200 22997 fi 22998 22999 # let pkg-config do it's magic 23000 # need to export variable to be sure that the following pkg-config gets these values 23001 export PKG_CONFIG_PATH 23002 23003 23004 23005 if test -n "$PKG_CONFIG" ; then 23006 if $PKG_CONFIG --exists "coinasl"; then 23007 ASL_VERSIONS="`$PKG_CONFIG --modversion coinasl 2>/dev/null`" 23008 cflags=`$PKG_CONFIG --cflags "coinasl" 2>/dev/null` 23009 # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files 23010 # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's 23011 # but only do this if is not trivial 23012 if test "$CYGPATH_W" != "echo" ; then 23013 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 23014 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 23015 fi 23016 ASL_CFLAGS="$cflags" 23017 ASL_LIBS=`$PKG_CONFIG --libs "coinasl" 2>/dev/null` 23018 ASL_DATA=`$PKG_CONFIG --variable=datadir "coinasl" 2>/dev/null` 23019 coin_has_asl=yes 23020 echo "$as_me:$LINENO: result: yes: $ASL_VERSIONS" >&5 23021 echo "${ECHO_T}yes: $ASL_VERSIONS" >&6 23022 if test $required = 1; then 23023 REQUIREDPACKAGES="$REQUIREDPACKAGES coinasl" 23024 fi 23025 23026 22201 23027 else 22202 use_asldir=no22203 fi22204 elif test "$use_asldir" != "no"; then 22205 if test -r $use_asldir/$ampllib; then 22206 22207 :22208 else 22209 { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but library missing" >&522210 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but library missing" >&2;}23028 ASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coinasl` 23029 coin_has_asl=notGiven 23030 echo "$as_me:$LINENO: result: not given: $ASL_PKG_ERRORS" >&5 23031 echo "${ECHO_T}not given: $ASL_PKG_ERRORS" >&6 23032 23033 fi 23034 else 23035 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module ASL without pkg-config\"" >&5 23036 echo "$as_me: error: \"Cannot check for existance of module ASL without pkg-config\"" >&2;} 22211 23037 { (exit 1); exit 1; }; } 22212 : 22213 fi 22214 22215 if test -r $use_asldir/asl.h; then 22216 22217 : 22218 else 22219 { { echo "$as_me:$LINENO: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&5 22220 echo "$as_me: error: ASL directory \"$use_asldir\" specified, but header files are missing" >&2;} 22221 { (exit 1); exit 1; }; } 22222 : 22223 fi 22224 22225 use_asldir=`cd $use_asldir; pwd` 22226 case $build in 22227 *-cygwin*) use_asldir=`cygpath -w $use_asldir | sed -e sX\\\\\\\\X/Xg` ;; 22228 esac 22229 fi 22230 22231 # Variable containing ASL library (including full path) 22232 22233 # Variable containing flags for including ASL header files 22234 22235 22236 if test "$use_asldir" = BUILD; then 22237 coin_aslobjdir=`cd $coin_aslobjdir; pwd` 22238 ASLLIB=`$CYGPATH_W $coin_aslobjdir/$ampllib | sed -e sX\\\\\\\\X/Xg` 22239 coin_aslsrcdir=`cd $coin_aslsrcdir; pwd` 22240 ASL_CPPFLAGS="-I"`$CYGPATH_W $coin_aslobjdir | sed -e sX\\\\\\\\X/Xg`" -I"`$CYGPATH_W $coin_aslsrcdir/solvers | sed -e sX\\\\\\\\X/Xg` 22241 elif test "$use_asldir" != no; then 22242 ASLLIB=`$CYGPATH_W $use_asldir/$ampllib | sed -e sX\\\\\\\\X/Xg` 22243 ASL_CPPFLAGS="-I"`$CYGPATH_W $use_asldir | sed -e sX\\\\\\\\X/Xg` 22244 fi 22245 22246 if test "$use_asldir" != no; then 22247 ac_ext=c 22248 ac_cpp='$CPP $CPPFLAGS' 22249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22251 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22252 22253 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 22254 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 22255 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 22256 echo $ECHO_N "(cached) $ECHO_C" >&6 22257 else 22258 ac_check_lib_save_LIBS=$LIBS 22259 LIBS="-ldl $LIBS" 22260 cat >conftest.$ac_ext <<_ACEOF 22261 /* confdefs.h. */ 22262 _ACEOF 22263 cat confdefs.h >>conftest.$ac_ext 22264 cat >>conftest.$ac_ext <<_ACEOF 22265 /* end confdefs.h. */ 22266 22267 /* Override any gcc2 internal prototype to avoid an error. */ 22268 #ifdef __cplusplus 22269 extern "C" 22270 #endif 22271 /* We use char because int might match the return type of a gcc2 22272 builtin and then its argument prototype would still apply. */ 22273 char dlopen (); 22274 int 22275 main () 22276 { 22277 dlopen (); 22278 ; 22279 return 0; 22280 } 22281 _ACEOF 22282 rm -f conftest.$ac_objext conftest$ac_exeext 22283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 22284 (eval $ac_link) 2>conftest.er1 22285 ac_status=$? 22286 grep -v '^ *+' conftest.er1 >conftest.err 22287 rm -f conftest.er1 22288 cat conftest.err >&5 22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22290 (exit $ac_status); } && 22291 { ac_try='test -z "$ac_c_werror_flag" 22292 || test ! -s conftest.err' 22293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22294 (eval $ac_try) 2>&5 22295 ac_status=$? 22296 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22297 (exit $ac_status); }; } && 22298 { ac_try='test -s conftest$ac_exeext' 22299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 22300 (eval $ac_try) 2>&5 22301 ac_status=$? 22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22303 (exit $ac_status); }; }; then 22304 ac_cv_lib_dl_dlopen=yes 22305 else 22306 echo "$as_me: failed program was:" >&5 22307 sed 's/^/| /' conftest.$ac_ext >&5 22308 22309 ac_cv_lib_dl_dlopen=no 22310 fi 22311 rm -f conftest.err conftest.$ac_objext \ 22312 conftest$ac_exeext conftest.$ac_ext 22313 LIBS=$ac_check_lib_save_LIBS 22314 fi 22315 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 22316 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 22317 if test $ac_cv_lib_dl_dlopen = yes; then 22318 ASLLIB="$ASLLIB -ldl" 22319 fi 22320 22321 coin_has_asl=yes 23038 fi 23039 23040 23041 23042 23043 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 23044 else 23045 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 23046 echo "${ECHO_T}skipped check via pkg-config" >&6 23047 fi 23048 23049 else 23050 echo "$as_me:$LINENO: result: $coin_has_asl" >&5 23051 echo "${ECHO_T}$coin_has_asl" >&6 23052 fi 23053 23054 if test $coin_has_asl != skipping && 23055 test $coin_has_asl != notGiven ; then 23056 if test -n "$ASL_CFLAGS" ; then 23057 { echo "$as_me:$LINENO: ASL CFLAGS are $ASL_CFLAGS" >&5 23058 echo "$as_me: ASL CFLAGS are $ASL_CFLAGS" >&6;} 23059 fi 23060 if test -n "$ASL_LIBS" ; then 23061 { echo "$as_me:$LINENO: ASL LIBS are $ASL_LIBS" >&5 23062 echo "$as_me: ASL LIBS are $ASL_LIBS" >&6;} 23063 fi 23064 if test -n "$ASL_DATA" ; then 23065 { echo "$as_me:$LINENO: ASL DATA is $ASL_DATA" >&5 23066 echo "$as_me: ASL DATA is $ASL_DATA" >&6;} 23067 fi 22322 23068 22323 23069 cat >>confdefs.h <<\_ACEOF … … 22325 23071 _ACEOF 22326 23072 22327 ac_ext=c 22328 ac_cpp='$CPP $CPPFLAGS' 22329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 22330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 22331 ac_compiler_gnu=$ac_cv_c_compiler_gnu 22332 22333 else 22334 coin_has_asl=no 22335 fi 22336 22337 22338 if test $coin_has_asl = yes; then 23073 fi 23074 23075 # Define the Makefile conditional 23076 23077 23078 if test $coin_has_asl != notGiven && 23079 test $coin_has_asl != skipping; then 22339 23080 COIN_HAS_ASL_TRUE= 22340 23081 COIN_HAS_ASL_FALSE='#' … … 22343 23084 COIN_HAS_ASL_FALSE= 22344 23085 fi 23086 22345 23087 22346 23088 … … 22626 23368 # Here list all the files that configure should create (except for the 22627 23369 # configuration header file) 22628 ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile test/Makefile cbc_addlibs.txt"23370 ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile test/Makefile cbc_addlibs.txt cbc.pc cbc-uninstalled.pc" 22629 23371 22630 23372 … … 22691 23433 fi 22692 23434 23435 # need to come before AC_OUTPUT 23436 if test x$coin_projectdir != xyes; then 23437 # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects 23438 echo $coin_subdirs > coin_subdirs.txt 23439 else 23440 # substitute for OBJDIR, needed to setup .pc file for uninstalled project 23441 ABSBUILDDIR="`pwd`" 23442 23443 fi 23444 22693 23445 cat >confcache <<\_ACEOF 22694 23446 # This file is a shell script that caches the results of configure … … 22824 23576 { (exit 1); exit 1; }; } 22825 23577 fi 22826 if test -z "${COIN_HAS_C BC_TRUE}" && test -z "${COIN_HAS_CBC_FALSE}"; then22827 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_C BC\" was never defined.23578 if test -z "${COIN_HAS_COINDEPEND_TRUE}" && test -z "${COIN_HAS_COINDEPEND_FALSE}"; then 23579 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINDEPEND\" was never defined. 22828 23580 Usually this means the macro was only invoked conditionally." >&5 22829 echo "$as_me: error: conditional \"COIN_HAS_CBC\" was never defined. 22830 Usually this means the macro was only invoked conditionally." >&2;} 22831 { (exit 1); exit 1; }; } 22832 fi 22833 if test -z "${COIN_HAS_CGL_TRUE}" && test -z "${COIN_HAS_CGL_FALSE}"; then 22834 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CGL\" was never defined. 22835 Usually this means the macro was only invoked conditionally." >&5 22836 echo "$as_me: error: conditional \"COIN_HAS_CGL\" was never defined. 23581 echo "$as_me: error: conditional \"COIN_HAS_COINDEPEND\" was never defined. 22837 23582 Usually this means the macro was only invoked conditionally." >&2;} 22838 23583 { (exit 1); exit 1; }; } … … 22845 23590 { (exit 1); exit 1; }; } 22846 23591 fi 22847 if test -z "${COIN_HAS_COINUTILS_TRUE}" && test -z "${COIN_HAS_COINUTILS_FALSE}"; then22848 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINUTILS\" was never defined.22849 Usually this means the macro was only invoked conditionally." >&522850 echo "$as_me: error: conditional \"COIN_HAS_COINUTILS\" was never defined.22851 Usually this means the macro was only invoked conditionally." >&2;}22852 { (exit 1); exit 1; }; }22853 fi22854 23592 if test -z "${COIN_HAS_DYLP_TRUE}" && test -z "${COIN_HAS_DYLP_FALSE}"; then 22855 23593 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_DYLP\" was never defined. … … 22859 23597 { (exit 1); exit 1; }; } 22860 23598 fi 22861 if test -z "${COIN_HAS_OSI_TRUE}" && test -z "${COIN_HAS_OSI_FALSE}"; then22862 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSI\" was never defined.22863 Usually this means the macro was only invoked conditionally." >&522864 echo "$as_me: error: conditional \"COIN_HAS_OSI\" was never defined.22865 Usually this means the macro was only invoked conditionally." >&2;}22866 { (exit 1); exit 1; }; }22867 fi22868 23599 if test -z "${COIN_HAS_VOL_TRUE}" && test -z "${COIN_HAS_VOL_FALSE}"; then 22869 23600 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_VOL\" was never defined. … … 22873 23604 { (exit 1); exit 1; }; } 22874 23605 fi 22875 if test -z "${COIN_HAS_ SYMPHONY_TRUE}" && test -z "${COIN_HAS_SYMPHONY_FALSE}"; then22876 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ SYMPHONY\" was never defined.23606 if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then 23607 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined. 22877 23608 Usually this means the macro was only invoked conditionally." >&5 22878 echo "$as_me: error: conditional \"COIN_HAS_SYMPHONY\" was never defined. 23609 echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined. 23610 Usually this means the macro was only invoked conditionally." >&2;} 23611 { (exit 1); exit 1; }; } 23612 fi 23613 if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then 23614 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined. 23615 Usually this means the macro was only invoked conditionally." >&5 23616 echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined. 23617 Usually this means the macro was only invoked conditionally." >&2;} 23618 { (exit 1); exit 1; }; } 23619 fi 23620 if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then 23621 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined. 23622 Usually this means the macro was only invoked conditionally." >&5 23623 echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined. 23624 Usually this means the macro was only invoked conditionally." >&2;} 23625 { (exit 1); exit 1; }; } 23626 fi 23627 if test -z "${COIN_HAS_MIPLIB3_TRUE}" && test -z "${COIN_HAS_MIPLIB3_FALSE}"; then 23628 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MIPLIB3\" was never defined. 23629 Usually this means the macro was only invoked conditionally." >&5 23630 echo "$as_me: error: conditional \"COIN_HAS_MIPLIB3\" was never defined. 22879 23631 Usually this means the macro was only invoked conditionally." >&2;} 22880 23632 { (exit 1); exit 1; }; } … … 22887 23639 { (exit 1); exit 1; }; } 22888 23640 fi 22889 if test -z "${COIN_HAS_ CPX_TRUE}" && test -z "${COIN_HAS_CPX_FALSE}"; then22890 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ CPX\" was never defined.23641 if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then 23642 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined. 22891 23643 Usually this means the macro was only invoked conditionally." >&5 22892 echo "$as_me: error: conditional \"COIN_HAS_CPX\" was never defined. 22893 Usually this means the macro was only invoked conditionally." >&2;} 22894 { (exit 1); exit 1; }; } 22895 fi 22896 if test -z "${COIN_HAS_FMP_TRUE}" && test -z "${COIN_HAS_FMP_FALSE}"; then 22897 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_FMP\" was never defined. 22898 Usually this means the macro was only invoked conditionally." >&5 22899 echo "$as_me: error: conditional \"COIN_HAS_FMP\" was never defined. 23644 echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined. 22900 23645 Usually this means the macro was only invoked conditionally." >&2;} 22901 23646 { (exit 1); exit 1; }; } … … 22908 23653 { (exit 1); exit 1; }; } 22909 23654 fi 22910 if test -z "${COIN_HAS_OSL_TRUE}" && test -z "${COIN_HAS_OSL_FALSE}"; then22911 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSL\" was never defined.22912 Usually this means the macro was only invoked conditionally." >&522913 echo "$as_me: error: conditional \"COIN_HAS_OSL\" was never defined.22914 Usually this means the macro was only invoked conditionally." >&2;}22915 { (exit 1); exit 1; }; }22916 fi22917 if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then22918 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.22919 Usually this means the macro was only invoked conditionally." >&522920 echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.22921 Usually this means the macro was only invoked conditionally." >&2;}22922 { (exit 1); exit 1; }; }22923 fi22924 23655 if test -z "${COIN_HAS_XPR_TRUE}" && test -z "${COIN_HAS_XPR_FALSE}"; then 22925 23656 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_XPR\" was never defined. 22926 23657 Usually this means the macro was only invoked conditionally." >&5 22927 23658 echo "$as_me: error: conditional \"COIN_HAS_XPR\" was never defined. 22928 Usually this means the macro was only invoked conditionally." >&2;}22929 { (exit 1); exit 1; }; }22930 fi22931 if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then22932 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.22933 Usually this means the macro was only invoked conditionally." >&522934 echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.22935 Usually this means the macro was only invoked conditionally." >&2;}22936 { (exit 1); exit 1; }; }22937 fi22938 if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then22939 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.22940 Usually this means the macro was only invoked conditionally." >&522941 echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.22942 Usually this means the macro was only invoked conditionally." >&2;}22943 { (exit 1); exit 1; }; }22944 fi22945 if test -z "${COIN_BUILD_GLPK_TRUE}" && test -z "${COIN_BUILD_GLPK_FALSE}"; then22946 { { echo "$as_me:$LINENO: error: conditional \"COIN_BUILD_GLPK\" was never defined.22947 Usually this means the macro was only invoked conditionally." >&522948 echo "$as_me: error: conditional \"COIN_BUILD_GLPK\" was never defined.22949 23659 Usually this means the macro was only invoked conditionally." >&2;} 22950 23660 { (exit 1); exit 1; }; } … … 23235 23945 cat >&5 <<_CSEOF 23236 23946 23237 This file was extended by Cbc $as_me 2.5devel, which was23947 This file was extended by Cbc $as_me split, which was 23238 23948 generated by GNU Autoconf 2.59. Invocation command line was 23239 23949 … … 23298 24008 cat >>$CONFIG_STATUS <<_ACEOF 23299 24009 ac_cs_version="\\ 23300 Cbc config.status 2.5devel24010 Cbc config.status split 23301 24011 configured by $0, generated by GNU Autoconf 2.59, 23302 24012 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" … … 23413 24123 "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 23414 24124 "cbc_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES cbc_addlibs.txt" ;; 24125 "cbc.pc" ) CONFIG_FILES="$CONFIG_FILES cbc.pc" ;; 24126 "cbc-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES cbc-uninstalled.pc" ;; 23415 24127 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 23416 24128 "inc/config_cbc.h" ) CONFIG_HEADERS="$CONFIG_HEADERS inc/config_cbc.h" ;; … … 23599 24311 s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t 23600 24312 s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t 23601 s,@CBCSRCDIR@,$CBCSRCDIR,;t t 23602 s,@CBCOBJDIR@,$CBCOBJDIR,;t t 23603 s,@CBCDOCDIR@,$CBCDOCDIR,;t t 23604 s,@COIN_HAS_CBC_TRUE@,$COIN_HAS_CBC_TRUE,;t t 23605 s,@COIN_HAS_CBC_FALSE@,$COIN_HAS_CBC_FALSE,;t t 23606 s,@CGLSRCDIR@,$CGLSRCDIR,;t t 23607 s,@CGLOBJDIR@,$CGLOBJDIR,;t t 23608 s,@CGLDOCDIR@,$CGLDOCDIR,;t t 23609 s,@COIN_HAS_CGL_TRUE@,$COIN_HAS_CGL_TRUE,;t t 23610 s,@COIN_HAS_CGL_FALSE@,$COIN_HAS_CGL_FALSE,;t t 23611 s,@CLPSRCDIR@,$CLPSRCDIR,;t t 23612 s,@CLPOBJDIR@,$CLPOBJDIR,;t t 23613 s,@CLPDOCDIR@,$CLPDOCDIR,;t t 24313 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 24314 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 24315 s,@COINDEPEND_LIBS@,$COINDEPEND_LIBS,;t t 24316 s,@COINDEPEND_CFLAGS@,$COINDEPEND_CFLAGS,;t t 24317 s,@COINDEPEND_DATA@,$COINDEPEND_DATA,;t t 24318 s,@REQUIREDPACKAGES@,$REQUIREDPACKAGES,;t t 24319 s,@COIN_HAS_COINDEPEND_TRUE@,$COIN_HAS_COINDEPEND_TRUE,;t t 24320 s,@COIN_HAS_COINDEPEND_FALSE@,$COIN_HAS_COINDEPEND_FALSE,;t t 24321 s,@CLP_LIBS@,$CLP_LIBS,;t t 24322 s,@CLP_CFLAGS@,$CLP_CFLAGS,;t t 24323 s,@CLP_DATA@,$CLP_DATA,;t t 23614 24324 s,@COIN_HAS_CLP_TRUE@,$COIN_HAS_CLP_TRUE,;t t 23615 24325 s,@COIN_HAS_CLP_FALSE@,$COIN_HAS_CLP_FALSE,;t t 23616 s,@COINUTILSSRCDIR@,$COINUTILSSRCDIR,;t t 23617 s,@COINUTILSOBJDIR@,$COINUTILSOBJDIR,;t t 23618 s,@COINUTILSDOCDIR@,$COINUTILSDOCDIR,;t t 23619 s,@COIN_HAS_COINUTILS_TRUE@,$COIN_HAS_COINUTILS_TRUE,;t t 23620 s,@COIN_HAS_COINUTILS_FALSE@,$COIN_HAS_COINUTILS_FALSE,;t t 23621 s,@DYLPSRCDIR@,$DYLPSRCDIR,;t t 23622 s,@DYLPOBJDIR@,$DYLPOBJDIR,;t t 23623 s,@DYLPDOCDIR@,$DYLPDOCDIR,;t t 24326 s,@DYLP_LIBS@,$DYLP_LIBS,;t t 24327 s,@DYLP_CFLAGS@,$DYLP_CFLAGS,;t t 24328 s,@DYLP_DATA@,$DYLP_DATA,;t t 23624 24329 s,@COIN_HAS_DYLP_TRUE@,$COIN_HAS_DYLP_TRUE,;t t 23625 24330 s,@COIN_HAS_DYLP_FALSE@,$COIN_HAS_DYLP_FALSE,;t t 23626 s,@OSISRCDIR@,$OSISRCDIR,;t t 23627 s,@OSIOBJDIR@,$OSIOBJDIR,;t t 23628 s,@OSIDOCDIR@,$OSIDOCDIR,;t t 23629 s,@COIN_HAS_OSI_TRUE@,$COIN_HAS_OSI_TRUE,;t t 23630 s,@COIN_HAS_OSI_FALSE@,$COIN_HAS_OSI_FALSE,;t t 23631 s,@VOLSRCDIR@,$VOLSRCDIR,;t t 23632 s,@VOLOBJDIR@,$VOLOBJDIR,;t t 23633 s,@VOLDOCDIR@,$VOLDOCDIR,;t t 24331 s,@VOL_LIBS@,$VOL_LIBS,;t t 24332 s,@VOL_CFLAGS@,$VOL_CFLAGS,;t t 24333 s,@VOL_DATA@,$VOL_DATA,;t t 23634 24334 s,@COIN_HAS_VOL_TRUE@,$COIN_HAS_VOL_TRUE,;t t 23635 24335 s,@COIN_HAS_VOL_FALSE@,$COIN_HAS_VOL_FALSE,;t t 23636 s,@SYMPHONYSRCDIR@,$SYMPHONYSRCDIR,;t t 23637 s,@SYMPHONYOBJDIR@,$SYMPHONYOBJDIR,;t t 23638 s,@SYMPHONYDOCDIR@,$SYMPHONYDOCDIR,;t t 23639 s,@COIN_HAS_SYMPHONY_TRUE@,$COIN_HAS_SYMPHONY_TRUE,;t t 23640 s,@COIN_HAS_SYMPHONY_FALSE@,$COIN_HAS_SYMPHONY_FALSE,;t t 23641 s,@CPXSRCDIR@,$CPXSRCDIR,;t t 23642 s,@CPXOBJDIR@,$CPXOBJDIR,;t t 23643 s,@CPXDOCDIR@,$CPXDOCDIR,;t t 24336 s,@OSITESTS_LIBS@,$OSITESTS_LIBS,;t t 24337 s,@OSITESTS_CFLAGS@,$OSITESTS_CFLAGS,;t t 24338 s,@OSITESTS_DATA@,$OSITESTS_DATA,;t t 24339 s,@COIN_HAS_OSITESTS_TRUE@,$COIN_HAS_OSITESTS_TRUE,;t t 24340 s,@COIN_HAS_OSITESTS_FALSE@,$COIN_HAS_OSITESTS_FALSE,;t t 24341 s,@SAMPLE_LIBS@,$SAMPLE_LIBS,;t t 24342 s,@SAMPLE_CFLAGS@,$SAMPLE_CFLAGS,;t t 24343 s,@SAMPLE_DATA@,$SAMPLE_DATA,;t t 24344 s,@COIN_HAS_SAMPLE_TRUE@,$COIN_HAS_SAMPLE_TRUE,;t t 24345 s,@COIN_HAS_SAMPLE_FALSE@,$COIN_HAS_SAMPLE_FALSE,;t t 24346 s,@NETLIB_LIBS@,$NETLIB_LIBS,;t t 24347 s,@NETLIB_CFLAGS@,$NETLIB_CFLAGS,;t t 24348 s,@NETLIB_DATA@,$NETLIB_DATA,;t t 24349 s,@COIN_HAS_NETLIB_TRUE@,$COIN_HAS_NETLIB_TRUE,;t t 24350 s,@COIN_HAS_NETLIB_FALSE@,$COIN_HAS_NETLIB_FALSE,;t t 24351 s,@MIPLIB3_LIBS@,$MIPLIB3_LIBS,;t t 24352 s,@MIPLIB3_CFLAGS@,$MIPLIB3_CFLAGS,;t t 24353 s,@MIPLIB3_DATA@,$MIPLIB3_DATA,;t t 24354 s,@COIN_HAS_MIPLIB3_TRUE@,$COIN_HAS_MIPLIB3_TRUE,;t t 24355 s,@COIN_HAS_MIPLIB3_FALSE@,$COIN_HAS_MIPLIB3_FALSE,;t t 24356 s,@CPX_LIBS@,$CPX_LIBS,;t t 24357 s,@CPX_CFLAGS@,$CPX_CFLAGS,;t t 24358 s,@CPX_DATA@,$CPX_DATA,;t t 23644 24359 s,@COIN_HAS_CPX_TRUE@,$COIN_HAS_CPX_TRUE,;t t 23645 24360 s,@COIN_HAS_CPX_FALSE@,$COIN_HAS_CPX_FALSE,;t t 23646 s,@ CPXINCDIR@,$CPXINCDIR,;t t23647 s,@ CPXLIB@,$CPXLIB,;t t23648 s,@ FMPINCDIR@,$FMPINCDIR,;t t23649 s,@ FMPLIB@,$FMPLIB,;t t23650 s,@COIN_HAS_ FMP_TRUE@,$COIN_HAS_FMP_TRUE,;t t23651 s,@ COIN_HAS_FMP_FALSE@,$COIN_HAS_FMP_FALSE,;t t23652 s,@MSK INCDIR@,$MSKINCDIR,;t t23653 s,@MSK LIB@,$MSKLIB,;t t24361 s,@GLPK_LIBS@,$GLPK_LIBS,;t t 24362 s,@GLPK_CFLAGS@,$GLPK_CFLAGS,;t t 24363 s,@GLPK_DATA@,$GLPK_DATA,;t t 24364 s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t 24365 s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t 24366 s,@MSK_LIBS@,$MSK_LIBS,;t t 24367 s,@MSK_CFLAGS@,$MSK_CFLAGS,;t t 24368 s,@MSK_DATA@,$MSK_DATA,;t t 23654 24369 s,@COIN_HAS_MSK_TRUE@,$COIN_HAS_MSK_TRUE,;t t 23655 24370 s,@COIN_HAS_MSK_FALSE@,$COIN_HAS_MSK_FALSE,;t t 23656 s,@OSLINCDIR@,$OSLINCDIR,;t t 23657 s,@OSLLIB@,$OSLLIB,;t t 23658 s,@COIN_HAS_OSL_TRUE@,$COIN_HAS_OSL_TRUE,;t t 23659 s,@COIN_HAS_OSL_FALSE@,$COIN_HAS_OSL_FALSE,;t t 23660 s,@SPXINCDIR@,$SPXINCDIR,;t t 23661 s,@SPXLIB@,$SPXLIB,;t t 23662 s,@COIN_HAS_SPX_TRUE@,$COIN_HAS_SPX_TRUE,;t t 23663 s,@COIN_HAS_SPX_FALSE@,$COIN_HAS_SPX_FALSE,;t t 23664 s,@XPRINCDIR@,$XPRINCDIR,;t t 23665 s,@XPRLIB@,$XPRLIB,;t t 24371 s,@XPR_LIBS@,$XPR_LIBS,;t t 24372 s,@XPR_CFLAGS@,$XPR_CFLAGS,;t t 24373 s,@XPR_DATA@,$XPR_DATA,;t t 23666 24374 s,@COIN_HAS_XPR_TRUE@,$COIN_HAS_XPR_TRUE,;t t 23667 24375 s,@COIN_HAS_XPR_FALSE@,$COIN_HAS_XPR_FALSE,;t t 23668 s,@GLPKINCDIR@,$GLPKINCDIR,;t t 23669 s,@GLPKLIB@,$GLPKLIB,;t t 23670 s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t 23671 s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t 23672 s,@GLPKOBJDIR@,$GLPKOBJDIR,;t t 23673 s,@COIN_BUILD_GLPK_TRUE@,$COIN_BUILD_GLPK_TRUE,;t t 23674 s,@COIN_BUILD_GLPK_FALSE@,$COIN_BUILD_GLPK_FALSE,;t t 23675 s,@ASLLIB@,$ASLLIB,;t t 23676 s,@ASL_CPPFLAGS@,$ASL_CPPFLAGS,;t t 24376 s,@ASL_LIBS@,$ASL_LIBS,;t t 24377 s,@ASL_CFLAGS@,$ASL_CFLAGS,;t t 24378 s,@ASL_DATA@,$ASL_DATA,;t t 23677 24379 s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t 23678 24380 s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t … … 23681 24383 s,@LIBEXT@,$LIBEXT,;t t 23682 24384 s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t 24385 s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t 23683 24386 s,@LIBOBJS@,$LIBOBJS,;t t 23684 24387 s,@LTLIBOBJS@,$LTLIBOBJS,;t t -
branches/split/Cbc/configure.ac
r1433 r1437 13 13 AC_PREREQ(2.59) 14 14 15 AC_INIT([Cbc],[ 2.5devel],[coin-cbc@list.coin-or.org])15 AC_INIT([Cbc],[split],[cbc@list.coin-or.org]) 16 16 17 17 AC_COPYRIGHT([ … … 57 57 ############################################################################# 58 58 59 AC_COIN_HAS_PROJECT(Cbc) 60 AC_COIN_HAS_PROJECT(Cgl) 61 AC_COIN_HAS_PROJECT(Clp) 62 AC_COIN_HAS_PROJECT(CoinUtils) 63 AC_COIN_HAS_PROJECT(DyLP) 64 AC_COIN_HAS_PROJECT(Osi) 65 AC_COIN_HAS_PROJECT(Vol) 66 AC_COIN_HAS_PROJECT(SYMPHONY) 67 AC_COIN_HAS_PROJECT(Cpx) 59 AC_COIN_HAS_MODULE(CoinDepend, [coinutils = split osi cgl]) 60 AC_COIN_HAS_MODULE(Clp, [osi-clp]) 61 AC_COIN_HAS_MODULE(DyLP, [osi-dylp]) 62 AC_COIN_HAS_MODULE(Vol, [osi-vol]) 63 AC_COIN_HAS_MODULE(OsiTests, [osi-unittests], [required=0]) 64 AC_COIN_HAS_MODULE(Sample, [coindatasample], [required=0]) 65 AC_COIN_HAS_MODULE(Netlib, [coindatanetlib], [required=0]) 66 AC_COIN_HAS_MODULE(Miplib3, [coindatamiplib3], [required=0]) 67 68 #TODO! fallbacks! 68 69 69 70 ############################################################################# … … 71 72 ############################################################################# 72 73 73 # Check which third party solvers are available ToDo! 74 AC_COIN_HAS_USER_LIBRARY([Cplex],[CPX],[cplex.h],[CPXgetstat]) 75 AC_COIN_HAS_USER_LIBRARY([FortMP],[FMP]) #ToDo! is Fortran? 76 AC_COIN_HAS_USER_LIBRARY([Mosek],[MSK],[mosek.h],[MSK_openmosek]) 77 AC_COIN_HAS_USER_LIBRARY([Osl],[OSL],[ekk_c_api.h],[ekk_simplex]) 78 AC_COIN_HAS_USER_LIBRARY([Soplex],[SPX],[spxsolver.h]) # ToDo 79 AC_COIN_HAS_USER_LIBRARY([Xpress],[XPR],[xprs.h],[XPRSsetintcontrol]) 80 81 AC_COIN_HAS_GLPK(Glpk) 74 # Check which third party solvers are available 75 AC_COIN_HAS_MODULE(Cpx, [osi-cplex]) 76 AC_COIN_HAS_MODULE(Glpk, [osi-glpk]) 77 #AC_COIN_HAS_MODULE(Grb, [osi-gurobi]) 78 AC_COIN_HAS_MODULE(Msk, [osi-mosek]) 79 #AC_COIN_HAS_MODULE(Spx, [osi-soplex]) 80 AC_COIN_HAS_MODULE(Xpr, [osi-xpress]) 82 81 83 82 ############################################################################# … … 86 85 87 86 # Ampl Solver library 88 AC_COIN_HAS_ ASL87 AC_COIN_HAS_MODULE(ASL, [coinasl], [required=0]) 89 88 90 89 ############################################################################# … … 179 178 src/Makefile 180 179 test/Makefile 181 cbc_addlibs.txt]) 180 cbc_addlibs.txt 181 cbc.pc cbc-uninstalled.pc]) 182 182 183 183 # Here put the location and name of the configuration header file -
branches/split/Cbc/inc/config_cbc.h.in
r1131 r1437 17 17 #undef COIN_CBC_VERBOSITY 18 18 19 /* If defined, the Ampl Solver Library is available.*/19 /* Define to 1 if the ASL module is available */ 20 20 #undef COIN_HAS_ASL 21 21 22 /* Define to 1 if the Cbc package is used */ 23 #undef COIN_HAS_CBC 24 25 /* Define to 1 if the Cgl package is used */ 26 #undef COIN_HAS_CGL 27 28 /* Define to 1 if the Clp package is used */ 22 /* Define to 1 if the Clp module is available */ 29 23 #undef COIN_HAS_CLP 30 24 31 /* Define to 1 if the Coin Utils package is used*/32 #undef COIN_HAS_COIN UTILS25 /* Define to 1 if the CoinDepend module is available */ 26 #undef COIN_HAS_COINDEPEND 33 27 34 /* Define to 1 if the Cp lex package is available */28 /* Define to 1 if the Cpx module is available */ 35 29 #undef COIN_HAS_CPX 36 30 37 /* Define to 1 if the DyLP package is used*/31 /* Define to 1 if the DyLP module is available */ 38 32 #undef COIN_HAS_DYLP 39 33 40 /* Define to 1 if the FortMP package is available */ 41 #undef COIN_HAS_FMP 42 43 /* Define to 1 if Glpk package is available */ 34 /* Define to 1 if the Glpk module is available */ 44 35 #undef COIN_HAS_GLPK 45 36 46 /* Define to 1 if the Mosek package is available */ 37 /* Define to 1 if the Miplib3 module is available */ 38 #undef COIN_HAS_MIPLIB3 39 40 /* Define to 1 if the Msk module is available */ 47 41 #undef COIN_HAS_MSK 48 42 49 /* Define to 1 if the Osi package is used*/50 #undef COIN_HAS_ OSI43 /* Define to 1 if the Netlib module is available */ 44 #undef COIN_HAS_NETLIB 51 45 52 /* Define to 1 if the Os l package is available */53 #undef COIN_HAS_OS L46 /* Define to 1 if the OsiTests module is available */ 47 #undef COIN_HAS_OSITESTS 54 48 55 /* Define to 1 if the S oplex package is available */56 #undef COIN_HAS_S PX49 /* Define to 1 if the Sample module is available */ 50 #undef COIN_HAS_SAMPLE 57 51 58 /* Define to 1 if the SYMPHONY package is used */ 59 #undef COIN_HAS_SYMPHONY 60 61 /* Define to 1 if the Vol package is used */ 52 /* Define to 1 if the Vol module is available */ 62 53 #undef COIN_HAS_VOL 63 54 64 /* Define to 1 if the Xpr ess package is available */55 /* Define to 1 if the Xpr module is available */ 65 56 #undef COIN_HAS_XPR 66 57 -
branches/split/Cbc/src/CbcCbcParam.cpp
r1271 r1437 1 1 /* $Id: CbcCbcParam.cpp 1173 2009-06-04 09:44:10Z forrest $ */ 2 # include "../../Clp/src/CbcOrClpParam.cpp" 2 #define COIN_HAS_CBC 3 # include "CbcOrClpParam.cpp" 3 4 -
branches/split/Cbc/src/CbcConfig.h
r1433 r1437 96 96 97 97 #endif /* HAVE_CONFIG_H */ 98 // Always make version 2.4 99 # undef CBCVERSION100 # define CBCVERSION "2.5devel"98 #ifndef CBCVERSION 99 #define CBCVERSION "unknown version" 100 #endif 101 101 102 102 #endif /*__HAVE_COINUTILS_CONFIG_H__*/ -
branches/split/Cbc/src/Makefile.am
r1404 r1437 15 15 # Name of the library compiled in this directory. We want it to be installed 16 16 # in the 'lib' directory 17 lib_LTLIBRARIES = libCbc.la libCbcSolver.la 17 coinlibdir = ${libdir}/coin 18 coinlib_LTLIBRARIES = libCbc.la libCbcSolver.la 18 19 19 20 # List all source files for this library, including headers … … 103 104 CbcSolverExpandKnapsack.cpp CbcSolverExpandKnapsack.hpp 104 105 105 #Stefan: added unitTestClp.cpp because CbcSolver defines reference to it106 107 ## If we have the Ampl solver library, we need to add additional things108 ## also see lower down109 ## new idea is to add in source code anyway110 ##libCbc_la_SOURCES += Cbc_ampl.cpp Cbc_ampl.h111 112 113 106 # This is for libtool (on Windows) 114 107 … … 119 112 120 113 bin_PROGRAMS = 121 AM_CPPFLAGS = 122 123 LIBS += `cat $(CGLOBJDIR)/cgl_addlibs.txt` \ 124 `cat $(OSIOBJDIR)/osi_addlibs.txt` \ 125 `cat $(COINUTILSOBJDIR)/coinutils_addlibs.txt` $(ADDLIBS) 126 114 AM_CPPFLAGS = $(COINDEPEND_CFLAGS) 127 115 128 116 ######################################################################## … … 137 125 138 126 # List all source files for this executable, including headers 139 cbc_SOURCES = \ 140 CoinSolve.cpp 127 cbc_SOURCES = CoinSolve.cpp 141 128 142 129 # Additional COIN libraries 143 cbc_LDADD = libCbcSolver.la \ 144 libCbc.la \ 145 $(CGLOBJDIR)/src/libCgl.la \ 146 $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \ 147 $(OSIOBJDIR)/src/libOsi.la \ 148 $(CLPOBJDIR)/src/libClp.la \ 149 $(COINUTILSOBJDIR)/src/libCoinUtils.la 130 cbc_LDADD = libCbcSolver.la libCbc.la $(COINDEPEND_LIBS) $(ADDLIBS) 150 131 151 132 # Finally, the -rpath flag is used by libtool to make sure that the shared … … 156 137 # Add locations of include files. 157 138 158 AM_CPPFLAGS += -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \ 159 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \ 160 -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` 161 LIBS += `cat $(CLPOBJDIR)/clp_addlibs.txt` 139 if COIN_HAS_CLP 140 AM_CPPFLAGS += $(CLP_CFLAGS) 141 cbc_LDADD += $(CLP_LIBS) 142 endif 162 143 163 144 if COIN_HAS_CPX 164 AM_CPPFLAGS += -I`$(CYGPATH_W) $(CPXINCDIR)` \ 165 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` 166 cbc_LDADD += $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la 167 endif 168 169 # If we have the Ampl solver library, we need to add additional things 145 AM_CPPFLAGS += $(CPX_CFLAGS) 146 cbc_LDADD += $(CPX_LIBS) 147 endif 148 170 149 if COIN_HAS_ASL 171 #cbc_SOURCES += Cbc_ampl.cpp Cbc_ampl.h 172 cbc_LDADD += $(ASLLIB) 173 AM_CPPFLAGS += $(ASL_CPPFLAGS) -DCOIN_HAS_ASL 150 AM_CPPFLAGS += $(ASL_CFLAGS) 151 cbc_LDADD += $(ASL_LIBS) 174 152 endif 175 153 … … 201 179 CbcGenSolvers.cpp 202 180 203 cbc_generic_LDADD = libCbcSolver.la \ 204 libCbc.la \ 205 $(CGLOBJDIR)/src/libCgl.la 181 cbc_generic_LDADD = libCbcSolver.la libCbc.la $(COINDEPEND_LIBS) $(ADDLIBS) 206 182 207 183 # List all additionally required solver and Osi libraries 208 184 209 185 if COIN_HAS_CLP 210 AM_CPPFLAGS += -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \ 211 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \ 212 -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` 213 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \ 214 $(CLPOBJDIR)/src/libClp.la 215 LIBS += `cat $(CLPOBJDIR)/clp_addlibs.txt` 186 AM_CPPFLAGS += $(CLP_CFLAGS) 187 cbc_generic_LDADD += $(CLP_LIBS) 216 188 endif 217 189 218 190 if COIN_HAS_CPX 219 AM_CPPFLAGS += -I`$(CYGPATH_W) $(CPXINCDIR)` \ 220 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` 221 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la 191 AM_CPPFLAGS += $(CPX_CFLAGS) 192 cbc_generic_LDADD += $(CPX_LIBS) 222 193 endif 223 194 224 195 if COIN_HAS_DYLP 225 AM_CPPFLAGS += -I`$(CYGPATH_W) $(DYLPSRCDIR)/src/DylpStdLib` \ 226 -I`$(CYGPATH_W) $(DYLPSRCDIR)/src/Dylp` \ 227 -I`$(CYGPATH_W) $(DYLPOBJDIR)/inc` \ 228 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiDylp` 229 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiDylp/libOsiDylp.la \ 230 $(DYLPOBJDIR)/src/Dylp/libDylp.la 231 LIBS += `cat $(DYLPOBJDIR)/dylp_addlibs.txt` 232 endif 233 234 if COIN_HAS_FMP 235 AM_CPPFLAGS += -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiFmp` 236 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiFmp/libOsiFmp.la 196 AM_CPPFLAGS += $(DYLP_CFLAGS) 197 cbc_generic_LDADD += $(DYLP_LIBS) 237 198 endif 238 199 239 200 if COIN_HAS_GLPK 240 AM_CPPFLAGS += -I`$(CYGPATH_W) $(GLPKINCDIR)` \ 241 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiGlpk` 242 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiGlpk/libOsiGlpk.la 201 AM_CPPFLAGS += $(GLPK_CFLAGS) 202 cbc_generic_LDADD += $(GLPK_LIBS) 243 203 endif 244 204 245 205 if COIN_HAS_MSK 246 AM_CPPFLAGS += -I`$(CYGPATH_W) $(MSKINCDIR)` \ 247 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiMsk` 248 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiMsk/libOsiMsk.la 249 endif 250 251 if COIN_HAS_OSL 252 AM_CPPFLAGS += -I`$(CYGPATH_W) $(OSLINCDIR)` \ 253 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiOsl` 254 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiOsl/libOsiOsl.la 255 endif 256 257 if COIN_HAS_SPX 258 AM_CPPFLAGS += -I`$(CYGPATH_W) $(SPXINCDIR)` \ 259 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSpx` 260 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la 261 endif 262 263 if COIN_HAS_SYMPHONY 264 AM_CPPFLAGS += -I`$(CYGPATH_W) $(SYMPHONYSRCDIR)/src` \ 265 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSym` 266 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \ 267 $(SYMPHONYOBJDIR)/src/libSym.la 268 LIBS += `cat $(SYMPHONYOBJDIR)/sym_addlibs.txt` 269 endif 206 AM_CPPFLAGS += $(MSK_CFLAGS) 207 cbc_generic_LDADD += $(MSK_LIBS) 208 endif 209 210 # if COIN_HAS_SPX 211 # AM_CPPFLAGS += $(SPX_CFLAGS) 212 # cbc_generic_LDADD += $(SPX_LIBS) 213 # endif 270 214 271 215 if COIN_HAS_VOL 272 AM_CPPFLAGS += -I`$(CYGPATH_W) $(VOLSRCDIR)/src` \ 273 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiVol` 274 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiVol/libOsiVol.la \ 275 $(VOLOBJDIR)/src/libVol.la 276 LIBS += `cat $(VOLOBJDIR)/vol_addlibs.txt` 216 AM_CPPFLAGS += $(VOL_CFLAGS) 217 cbc_generic_LDADD += $(VOL_LIBS) 277 218 endif 278 219 279 220 if COIN_HAS_XPR 280 AM_CPPFLAGS += -I`$(CYGPATH_W) $(XPRINCDIR)` \ 281 -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiXpr` 282 cbc_generic_LDADD += $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la 221 AM_CPPFLAGS += $(XPR_CFLAGS) 222 cbc_generic_LDADD += $(XPR_LIBS) 283 223 endif 284 224 285 225 if COIN_HAS_ASL 286 cbc_generic_LDADD += $(ASLLIB) 287 AM_CPPFLAGS += $(ASL_CPPFLAGS) -DCOIN_HAS_ASL 288 endif 289 290 # Finally the Osi Coin library (many of the above need it) 291 cbc_generic_LDADD += $(OSIOBJDIR)/src/libOsi.la \ 292 $(COINUTILSOBJDIR)/src/libCoinUtils.la 226 AM_CPPFLAGS += $(ASL_CFLAGS) 227 cbc_generic_LDADD += $(ASL_LIBS) 228 endif 293 229 294 230 # Finally, the -rpath flag is used by libtool to make sure that the shared … … 303 239 # Additional flags # 304 240 ######################################################################## 305 306 # Here list all include flags, relative to this "srcdir" directory. This307 # "cygpath" stuff is necessary to compile with native compilers on Windows.308 # "top_srcdir" refers to the basic directory for the main package that is309 # being compiled.310 AM_CPPFLAGS += \311 -I`$(CYGPATH_W) $(CGLSRCDIR)/src` \312 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglClique` \313 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglDuplicateRow` \314 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglFlowCover` \315 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglGomory` \316 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglKnapsackCover` \317 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding` \318 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglMixedIntegerRounding2` \319 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglOddHole` \320 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglPreProcess` \321 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglProbing` \322 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglRedSplit` \323 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglTwomir` \324 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglLandP` \325 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglResidualCapacity` \326 -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglZeroHalf` \327 -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \328 -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc` \329 -I`$(CYGPATH_W) $(OSISRCDIR)/src` \330 -I`$(CYGPATH_W) $(OSIOBJDIR)/inc`331 241 332 242 # List additional defines -
branches/split/Cbc/src/Makefile.in
r1404 r1437 56 56 57 57 # Add locations of include files. 58 @COIN_HAS_CLP_TRUE@am__append_2 = -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \ 59 @COIN_HAS_CLP_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \ 60 @COIN_HAS_CLP_TRUE@ -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` 61 62 @COIN_HAS_CLP_TRUE@am__append_3 = `cat $(CLPOBJDIR)/clp_addlibs.txt` 63 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@am__append_4 = -I`$(CYGPATH_W) $(CPXINCDIR)` \ 64 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` 65 66 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@am__append_5 = $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la 67 68 # If we have the Ampl solver library, we need to add additional things 69 #cbc_SOURCES += Cbc_ampl.cpp Cbc_ampl.h 70 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_6 = $(ASLLIB) 71 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_7 = $(ASL_CPPFLAGS) -DCOIN_HAS_ASL 58 @COIN_HAS_CLP_TRUE@am__append_2 = $(CLP_CFLAGS) 59 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@am__append_3 = $(CPX_CFLAGS) 60 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@am__append_4 = $(CPX_LIBS) 61 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_5 = $(ASL_CFLAGS) 62 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_6 = $(ASL_LIBS) 72 63 73 64 ######################################################################## … … 77 68 # Name of the executable compiled in this directory. We want it to be 78 69 # installed in the 'bin' directory 79 @CBC_BUILD_CBC_GENERIC_TRUE@am__append_ 8= cbc-generic70 @CBC_BUILD_CBC_GENERIC_TRUE@am__append_7 = cbc-generic 80 71 81 72 # List all additionally required solver and Osi libraries 82 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@am__append_9 = -I`$(CYGPATH_W) $(CLPSRCDIR)/src` \ 83 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiClp` \ 84 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@ -I`$(CYGPATH_W) $(CLPOBJDIR)/inc` 85 86 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@am__append_10 = $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \ 87 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@ $(CLPOBJDIR)/src/libClp.la 88 89 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@am__append_11 = `cat $(CLPOBJDIR)/clp_addlibs.txt` 90 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CPX_TRUE@am__append_12 = -I`$(CYGPATH_W) $(CPXINCDIR)` \ 91 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CPX_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiCpx` 92 93 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CPX_TRUE@am__append_13 = $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la 94 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@am__append_14 = -I`$(CYGPATH_W) $(DYLPSRCDIR)/src/DylpStdLib` \ 95 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@ -I`$(CYGPATH_W) $(DYLPSRCDIR)/src/Dylp` \ 96 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@ -I`$(CYGPATH_W) $(DYLPOBJDIR)/inc` \ 97 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiDylp` 98 99 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@am__append_15 = $(OSIOBJDIR)/src/OsiDylp/libOsiDylp.la \ 100 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@ $(DYLPOBJDIR)/src/Dylp/libDylp.la 101 102 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@am__append_16 = `cat $(DYLPOBJDIR)/dylp_addlibs.txt` 103 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_FMP_TRUE@am__append_17 = -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiFmp` 104 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_FMP_TRUE@am__append_18 = $(OSIOBJDIR)/src/OsiFmp/libOsiFmp.la 105 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_GLPK_TRUE@am__append_19 = -I`$(CYGPATH_W) $(GLPKINCDIR)` \ 106 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_GLPK_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiGlpk` 107 108 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_GLPK_TRUE@am__append_20 = $(OSIOBJDIR)/src/OsiGlpk/libOsiGlpk.la 109 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_MSK_TRUE@am__append_21 = -I`$(CYGPATH_W) $(MSKINCDIR)` \ 110 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_MSK_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiMsk` 111 112 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_MSK_TRUE@am__append_22 = $(OSIOBJDIR)/src/OsiMsk/libOsiMsk.la 113 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_OSL_TRUE@am__append_23 = -I`$(CYGPATH_W) $(OSLINCDIR)` \ 114 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_OSL_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiOsl` 115 116 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_OSL_TRUE@am__append_24 = $(OSIOBJDIR)/src/OsiOsl/libOsiOsl.la 117 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SPX_TRUE@am__append_25 = -I`$(CYGPATH_W) $(SPXINCDIR)` \ 118 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SPX_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSpx` 119 120 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SPX_TRUE@am__append_26 = $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la 121 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__append_27 = -I`$(CYGPATH_W) $(SYMPHONYSRCDIR)/src` \ 122 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiSym` 123 124 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__append_28 = $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \ 125 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@ $(SYMPHONYOBJDIR)/src/libSym.la 126 127 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__append_29 = `cat $(SYMPHONYOBJDIR)/sym_addlibs.txt` 128 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__append_30 = -I`$(CYGPATH_W) $(VOLSRCDIR)/src` \ 129 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiVol` 130 131 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__append_31 = $(OSIOBJDIR)/src/OsiVol/libOsiVol.la \ 132 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@ $(VOLOBJDIR)/src/libVol.la 133 134 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__append_32 = `cat $(VOLOBJDIR)/vol_addlibs.txt` 135 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_XPR_TRUE@am__append_33 = -I`$(CYGPATH_W) $(XPRINCDIR)` \ 136 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_XPR_TRUE@ -I`$(CYGPATH_W) $(OSISRCDIR)/src/OsiXpr` 137 138 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_XPR_TRUE@am__append_34 = $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la 139 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_ASL_TRUE@am__append_35 = $(ASLLIB) 140 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_ASL_TRUE@am__append_36 = $(ASL_CPPFLAGS) -DCOIN_HAS_ASL 73 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@am__append_8 = $(CLP_CFLAGS) 74 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@am__append_9 = $(CLP_LIBS) 75 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CPX_TRUE@am__append_10 = $(CPX_CFLAGS) 76 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CPX_TRUE@am__append_11 = $(CPX_LIBS) 77 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@am__append_12 = $(DYLP_CFLAGS) 78 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@am__append_13 = $(DYLP_LIBS) 79 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_GLPK_TRUE@am__append_14 = $(GLPK_CFLAGS) 80 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_GLPK_TRUE@am__append_15 = $(GLPK_LIBS) 81 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_MSK_TRUE@am__append_16 = $(MSK_CFLAGS) 82 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_MSK_TRUE@am__append_17 = $(MSK_LIBS) 83 84 # if COIN_HAS_SPX 85 # AM_CPPFLAGS += $(SPX_CFLAGS) 86 # cbc_generic_LDADD += $(SPX_LIBS) 87 # endif 88 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__append_18 = $(VOL_CFLAGS) 89 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__append_19 = $(VOL_LIBS) 90 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_XPR_TRUE@am__append_20 = $(XPR_CFLAGS) 91 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_XPR_TRUE@am__append_21 = $(XPR_LIBS) 92 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_ASL_TRUE@am__append_22 = $(ASL_CFLAGS) 93 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_ASL_TRUE@am__append_23 = $(ASL_LIBS) 141 94 subdir = src 142 95 DIST_COMMON = $(includecoin_HEADERS) $(srcdir)/Makefile.am \ … … 156 109 esac; 157 110 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 158 am__installdirs = "$(DESTDIR)$( libdir)" "$(DESTDIR)$(bindir)" \111 am__installdirs = "$(DESTDIR)$(coinlibdir)" "$(DESTDIR)$(bindir)" \ 159 112 "$(DESTDIR)$(includecoindir)" 160 libLTLIBRARIES_INSTALL = $(INSTALL)161 LTLIBRARIES = $( lib_LTLIBRARIES)113 coinlibLTLIBRARIES_INSTALL = $(INSTALL) 114 LTLIBRARIES = $(coinlib_LTLIBRARIES) 162 115 libCbc_la_LIBADD = 163 116 am_libCbc_la_OBJECTS = Cbc_C_Interface.lo CbcBranchAllDifferent.lo \ … … 200 153 @COIN_HAS_CLP_TRUE@am_cbc_OBJECTS = CoinSolve.$(OBJEXT) 201 154 cbc_OBJECTS = $(am_cbc_OBJECTS) 202 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@am__DEPENDENCIES_1 = $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la 203 am__DEPENDENCIES_2 = 155 am__DEPENDENCIES_1 = 156 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@am__DEPENDENCIES_2 = \ 157 @COIN_HAS_CLP_TRUE@@COIN_HAS_CPX_TRUE@ $(am__DEPENDENCIES_1) 204 158 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__DEPENDENCIES_3 = \ 205 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@ $(am__DEPENDENCIES_ 2)159 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@ $(am__DEPENDENCIES_1) 206 160 @COIN_HAS_CLP_TRUE@cbc_DEPENDENCIES = libCbcSolver.la libCbc.la \ 207 @COIN_HAS_CLP_TRUE@ $(CGLOBJDIR)/src/libCgl.la \ 208 @COIN_HAS_CLP_TRUE@ $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \ 209 @COIN_HAS_CLP_TRUE@ $(OSIOBJDIR)/src/libOsi.la \ 210 @COIN_HAS_CLP_TRUE@ $(CLPOBJDIR)/src/libClp.la \ 211 @COIN_HAS_CLP_TRUE@ $(COINUTILSOBJDIR)/src/libCoinUtils.la \ 212 @COIN_HAS_CLP_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_3) 161 @COIN_HAS_CLP_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ 162 @COIN_HAS_CLP_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2) \ 163 @COIN_HAS_CLP_TRUE@ $(am__DEPENDENCIES_3) 213 164 am__cbc_generic_SOURCES_DIST = CbcGenBaB.cpp CbcGenCbcParam.cpp \ 214 165 CbcGenCbcParam.hpp CbcGenCbcParamUtils.cpp CbcGenCtlBlk.cpp \ … … 231 182 @CBC_BUILD_CBC_GENERIC_TRUE@ CbcGenSolvers.$(OBJEXT) 232 183 cbc_generic_OBJECTS = $(am_cbc_generic_OBJECTS) 233 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@am__DEPENDENCIES_4 = $(OSIOBJDIR)/src/OsiClp/libOsiClp.la \ 234 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@ $(CLPOBJDIR)/src/libClp.la 235 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CPX_TRUE@am__DEPENDENCIES_5 = $(OSIOBJDIR)/src/OsiCpx/libOsiCpx.la 236 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@am__DEPENDENCIES_6 = $(OSIOBJDIR)/src/OsiDylp/libOsiDylp.la \ 237 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@ $(DYLPOBJDIR)/src/Dylp/libDylp.la 238 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_FMP_TRUE@am__DEPENDENCIES_7 = $(OSIOBJDIR)/src/OsiFmp/libOsiFmp.la 239 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_GLPK_TRUE@am__DEPENDENCIES_8 = $(OSIOBJDIR)/src/OsiGlpk/libOsiGlpk.la 240 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_MSK_TRUE@am__DEPENDENCIES_9 = $(OSIOBJDIR)/src/OsiMsk/libOsiMsk.la 241 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_OSL_TRUE@am__DEPENDENCIES_10 = $(OSIOBJDIR)/src/OsiOsl/libOsiOsl.la 242 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SPX_TRUE@am__DEPENDENCIES_11 = $(OSIOBJDIR)/src/OsiSpx/libOsiSpx.la 243 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@am__DEPENDENCIES_12 = $(OSIOBJDIR)/src/OsiSym/libOsiSym.la \ 244 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_SYMPHONY_TRUE@ $(SYMPHONYOBJDIR)/src/libSym.la 245 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__DEPENDENCIES_13 = $(OSIOBJDIR)/src/OsiVol/libOsiVol.la \ 246 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@ $(VOLOBJDIR)/src/libVol.la 247 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_XPR_TRUE@am__DEPENDENCIES_14 = $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la 248 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_ASL_TRUE@am__DEPENDENCIES_15 = $(am__DEPENDENCIES_2) 184 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CLP_TRUE@am__DEPENDENCIES_4 = $(am__DEPENDENCIES_1) 185 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_CPX_TRUE@am__DEPENDENCIES_5 = $(am__DEPENDENCIES_1) 186 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_DYLP_TRUE@am__DEPENDENCIES_6 = $(am__DEPENDENCIES_1) 187 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_GLPK_TRUE@am__DEPENDENCIES_7 = $(am__DEPENDENCIES_1) 188 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_MSK_TRUE@am__DEPENDENCIES_8 = $(am__DEPENDENCIES_1) 189 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_VOL_TRUE@am__DEPENDENCIES_9 = $(am__DEPENDENCIES_1) 190 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_XPR_TRUE@am__DEPENDENCIES_10 = $(am__DEPENDENCIES_1) 191 @CBC_BUILD_CBC_GENERIC_TRUE@@COIN_HAS_ASL_TRUE@am__DEPENDENCIES_11 = $(am__DEPENDENCIES_1) 249 192 @CBC_BUILD_CBC_GENERIC_TRUE@cbc_generic_DEPENDENCIES = \ 250 193 @CBC_BUILD_CBC_GENERIC_TRUE@ libCbcSolver.la libCbc.la \ 251 @CBC_BUILD_CBC_GENERIC_TRUE@ $(CGLOBJDIR)/src/libCgl.la \ 194 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_1) \ 195 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_1) \ 252 196 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_4) \ 253 197 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_5) \ … … 257 201 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_9) \ 258 202 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_10) \ 259 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_11) \ 260 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_12) \ 261 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_13) \ 262 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_14) \ 263 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_15) \ 264 @CBC_BUILD_CBC_GENERIC_TRUE@ $(OSIOBJDIR)/src/libOsi.la \ 265 @CBC_BUILD_CBC_GENERIC_TRUE@ $(COINUTILSOBJDIR)/src/libCoinUtils.la 203 @CBC_BUILD_CBC_GENERIC_TRUE@ $(am__DEPENDENCIES_11) 266 204 depcomp = $(SHELL) $(top_srcdir)/../depcomp 267 205 am__depfiles_maybe = depfiles … … 291 229 CTAGS = ctags 292 230 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 231 ABSBUILDDIR = @ABSBUILDDIR@ 293 232 ACLOCAL = @ACLOCAL@ 294 233 ADDLIBS = @ADDLIBS@ … … 301 240 AMTAR = @AMTAR@ 302 241 AR = @AR@ 303 ASLLIB = @ASLLIB@ 304 ASL_CPPFLAGS = @ASL_CPPFLAGS@ 242 ASL_CFLAGS = @ASL_CFLAGS@ 243 ASL_DATA = @ASL_DATA@ 244 ASL_LIBS = @ASL_LIBS@ 305 245 AUTOCONF = @AUTOCONF@ 306 246 AUTOHEADER = @AUTOHEADER@ … … 309 249 AWK = @AWK@ 310 250 BUILDTOOLSDIR = @BUILDTOOLSDIR@ 311 CBCDOCDIR = @CBCDOCDIR@312 CBCOBJDIR = @CBCOBJDIR@313 CBCSRCDIR = @CBCSRCDIR@314 251 CBC_BUILD_CBC_GENERIC_FALSE = @CBC_BUILD_CBC_GENERIC_FALSE@ 315 252 CBC_BUILD_CBC_GENERIC_TRUE = @CBC_BUILD_CBC_GENERIC_TRUE@ … … 318 255 CDEFS = @CDEFS@ 319 256 CFLAGS = @CFLAGS@ 320 CGLDOCDIR = @CGLDOCDIR@ 321 CGLOBJDIR = @CGLOBJDIR@ 322 CGLSRCDIR = @CGLSRCDIR@ 323 CLPDOCDIR = @CLPDOCDIR@ 324 CLPOBJDIR = @CLPOBJDIR@ 325 CLPSRCDIR = @CLPSRCDIR@ 326 COINUTILSDOCDIR = @COINUTILSDOCDIR@ 327 COINUTILSOBJDIR = @COINUTILSOBJDIR@ 328 COINUTILSSRCDIR = @COINUTILSSRCDIR@ 329 COIN_BUILD_GLPK_FALSE = @COIN_BUILD_GLPK_FALSE@ 330 COIN_BUILD_GLPK_TRUE = @COIN_BUILD_GLPK_TRUE@ 257 CLP_CFLAGS = @CLP_CFLAGS@ 258 CLP_DATA = @CLP_DATA@ 259 CLP_LIBS = @CLP_LIBS@ 260 COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@ 261 COINDEPEND_DATA = @COINDEPEND_DATA@ 262 COINDEPEND_LIBS = @COINDEPEND_LIBS@ 331 263 COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@ 332 264 COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@ 333 COIN_HAS_CBC_FALSE = @COIN_HAS_CBC_FALSE@334 COIN_HAS_CBC_TRUE = @COIN_HAS_CBC_TRUE@335 COIN_HAS_CGL_FALSE = @COIN_HAS_CGL_FALSE@336 COIN_HAS_CGL_TRUE = @COIN_HAS_CGL_TRUE@337 265 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@ 338 266 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@ 339 COIN_HAS_COIN UTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@340 COIN_HAS_COIN UTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@267 COIN_HAS_COINDEPEND_FALSE = @COIN_HAS_COINDEPEND_FALSE@ 268 COIN_HAS_COINDEPEND_TRUE = @COIN_HAS_COINDEPEND_TRUE@ 341 269 COIN_HAS_CPX_FALSE = @COIN_HAS_CPX_FALSE@ 342 270 COIN_HAS_CPX_TRUE = @COIN_HAS_CPX_TRUE@ 343 271 COIN_HAS_DYLP_FALSE = @COIN_HAS_DYLP_FALSE@ 344 272 COIN_HAS_DYLP_TRUE = @COIN_HAS_DYLP_TRUE@ 345 COIN_HAS_FMP_FALSE = @COIN_HAS_FMP_FALSE@346 COIN_HAS_FMP_TRUE = @COIN_HAS_FMP_TRUE@347 273 COIN_HAS_GLPK_FALSE = @COIN_HAS_GLPK_FALSE@ 348 274 COIN_HAS_GLPK_TRUE = @COIN_HAS_GLPK_TRUE@ 275 COIN_HAS_MIPLIB3_FALSE = @COIN_HAS_MIPLIB3_FALSE@ 276 COIN_HAS_MIPLIB3_TRUE = @COIN_HAS_MIPLIB3_TRUE@ 349 277 COIN_HAS_MSK_FALSE = @COIN_HAS_MSK_FALSE@ 350 278 COIN_HAS_MSK_TRUE = @COIN_HAS_MSK_TRUE@ 351 COIN_HAS_OSI_FALSE = @COIN_HAS_OSI_FALSE@ 352 COIN_HAS_OSI_TRUE = @COIN_HAS_OSI_TRUE@ 353 COIN_HAS_OSL_FALSE = @COIN_HAS_OSL_FALSE@ 354 COIN_HAS_OSL_TRUE = @COIN_HAS_OSL_TRUE@ 355 COIN_HAS_SPX_FALSE = @COIN_HAS_SPX_FALSE@ 356 COIN_HAS_SPX_TRUE = @COIN_HAS_SPX_TRUE@ 357 COIN_HAS_SYMPHONY_FALSE = @COIN_HAS_SYMPHONY_FALSE@ 358 COIN_HAS_SYMPHONY_TRUE = @COIN_HAS_SYMPHONY_TRUE@ 279 COIN_HAS_NETLIB_FALSE = @COIN_HAS_NETLIB_FALSE@ 280 COIN_HAS_NETLIB_TRUE = @COIN_HAS_NETLIB_TRUE@ 281 COIN_HAS_OSITESTS_FALSE = @COIN_HAS_OSITESTS_FALSE@ 282 COIN_HAS_OSITESTS_TRUE = @COIN_HAS_OSITESTS_TRUE@ 283 COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@ 284 COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@ 359 285 COIN_HAS_VOL_FALSE = @COIN_HAS_VOL_FALSE@ 360 286 COIN_HAS_VOL_TRUE = @COIN_HAS_VOL_TRUE@ … … 363 289 CPP = @CPP@ 364 290 CPPFLAGS = @CPPFLAGS@ 365 CPXDOCDIR = @CPXDOCDIR@ 366 CPXINCDIR = @CPXINCDIR@ 367 CPXLIB = @CPXLIB@ 368 CPXOBJDIR = @CPXOBJDIR@ 369 CPXSRCDIR = @CPXSRCDIR@ 291 CPX_CFLAGS = @CPX_CFLAGS@ 292 CPX_DATA = @CPX_DATA@ 293 CPX_LIBS = @CPX_LIBS@ 370 294 CXX = @CXX@ 371 295 CXXCPP = @CXXCPP@ … … 378 302 DEFS = @DEFS@ 379 303 DEPDIR = @DEPDIR@ 380 DYLP DOCDIR = @DYLPDOCDIR@381 DYLP OBJDIR = @DYLPOBJDIR@382 DYLP SRCDIR = @DYLPSRCDIR@304 DYLP_CFLAGS = @DYLP_CFLAGS@ 305 DYLP_DATA = @DYLP_DATA@ 306 DYLP_LIBS = @DYLP_LIBS@ 383 307 ECHO = @ECHO@ 384 308 ECHO_C = @ECHO_C@ … … 390 314 FADDLIBS = @FADDLIBS@ 391 315 FFLAGS = @FFLAGS@ 392 FMPINCDIR = @FMPINCDIR@ 393 FMPLIB = @FMPLIB@ 394 GLPKINCDIR = @GLPKINCDIR@ 395 GLPKLIB = @GLPKLIB@ 396 GLPKOBJDIR = @GLPKOBJDIR@ 316 GLPK_CFLAGS = @GLPK_CFLAGS@ 317 GLPK_DATA = @GLPK_DATA@ 318 GLPK_LIBS = @GLPK_LIBS@ 397 319 HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@ 398 320 HAVE_EXTERNALS_TRUE = @HAVE_EXTERNALS_TRUE@ … … 404 326 LIBEXT = @LIBEXT@ 405 327 LIBOBJS = @LIBOBJS@ 406 LIBS = @LIBS@ `cat $(CGLOBJDIR)/cgl_addlibs.txt` `cat \ 407 $(OSIOBJDIR)/osi_addlibs.txt` `cat \ 408 $(COINUTILSOBJDIR)/coinutils_addlibs.txt` $(ADDLIBS) \ 409 $(am__append_3) $(am__append_11) $(am__append_16) \ 410 $(am__append_29) $(am__append_32) 328 LIBS = @LIBS@ 411 329 LIBTOOL = @LIBTOOL@ 412 330 LIBTOOLM4 = @LIBTOOLM4@ … … 418 336 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 419 337 MAKEINFO = @MAKEINFO@ 338 MIPLIB3_CFLAGS = @MIPLIB3_CFLAGS@ 339 MIPLIB3_DATA = @MIPLIB3_DATA@ 340 MIPLIB3_LIBS = @MIPLIB3_LIBS@ 420 341 MPICC = @MPICC@ 421 342 MPICXX = @MPICXX@ 422 MSKINCDIR = @MSKINCDIR@ 423 MSKLIB = @MSKLIB@ 343 MSK_CFLAGS = @MSK_CFLAGS@ 344 MSK_DATA = @MSK_DATA@ 345 MSK_LIBS = @MSK_LIBS@ 346 NETLIB_CFLAGS = @NETLIB_CFLAGS@ 347 NETLIB_DATA = @NETLIB_DATA@ 348 NETLIB_LIBS = @NETLIB_LIBS@ 424 349 OBJEXT = @OBJEXT@ 425 350 OPT_CFLAGS = @OPT_CFLAGS@ 426 351 OPT_CXXFLAGS = @OPT_CXXFLAGS@ 427 OSIDOCDIR = @OSIDOCDIR@ 428 OSIOBJDIR = @OSIOBJDIR@ 429 OSISRCDIR = @OSISRCDIR@ 430 OSLINCDIR = @OSLINCDIR@ 431 OSLLIB = @OSLLIB@ 352 OSITESTS_CFLAGS = @OSITESTS_CFLAGS@ 353 OSITESTS_DATA = @OSITESTS_DATA@ 354 OSITESTS_LIBS = @OSITESTS_LIBS@ 432 355 PACKAGE = @PACKAGE@ 433 356 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ … … 437 360 PACKAGE_VERSION = @PACKAGE_VERSION@ 438 361 PATH_SEPARATOR = @PATH_SEPARATOR@ 362 PKG_CONFIG = @PKG_CONFIG@ 439 363 RANLIB = @RANLIB@ 364 REQUIREDPACKAGES = @REQUIREDPACKAGES@ 440 365 RPATH_FLAGS = @RPATH_FLAGS@ 366 SAMPLE_CFLAGS = @SAMPLE_CFLAGS@ 367 SAMPLE_DATA = @SAMPLE_DATA@ 368 SAMPLE_LIBS = @SAMPLE_LIBS@ 441 369 SET_MAKE = @SET_MAKE@ 442 370 SHELL = @SHELL@ 443 SPXINCDIR = @SPXINCDIR@444 SPXLIB = @SPXLIB@445 371 STRIP = @STRIP@ 446 SYMPHONYDOCDIR = @SYMPHONYDOCDIR@447 SYMPHONYOBJDIR = @SYMPHONYOBJDIR@448 SYMPHONYSRCDIR = @SYMPHONYSRCDIR@449 372 VERSION = @VERSION@ 450 VOL DOCDIR = @VOLDOCDIR@451 VOL OBJDIR = @VOLOBJDIR@452 VOL SRCDIR = @VOLSRCDIR@373 VOL_CFLAGS = @VOL_CFLAGS@ 374 VOL_DATA = @VOL_DATA@ 375 VOL_LIBS = @VOL_LIBS@ 453 376 VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@ 454 XPRINCDIR = @XPRINCDIR@ 455 XPRLIB = @XPRLIB@ 377 XPR_CFLAGS = @XPR_CFLAGS@ 378 XPR_DATA = @XPR_DATA@ 379 XPR_LIBS = @XPR_LIBS@ 456 380 abs_bin_dir = @abs_bin_dir@ 457 381 abs_include_dir = @abs_include_dir@ … … 466 390 ac_ct_STRIP = @ac_ct_STRIP@ 467 391 ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@ 392 ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@ 468 393 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ 469 394 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ … … 515 440 # Name of the library compiled in this directory. We want it to be installed 516 441 # in the 'lib' directory 517 lib_LTLIBRARIES = libCbc.la libCbcSolver.la 442 coinlibdir = ${libdir}/coin 443 coinlib_LTLIBRARIES = libCbc.la libCbcSolver.la 518 444 519 445 # List all source files for this library, including headers … … 603 529 604 530 605 #Stefan: added unitTestClp.cpp because CbcSolver defines reference to it606 607 531 # This is for libtool (on Windows) 608 532 libCbc_la_LDFLAGS = $(LT_LDFLAGS) … … 613 537 ######################################################################## 614 538 615 # Here list all include flags, relative to this "srcdir" directory. This616 # "cygpath" stuff is necessary to compile with native compilers on Windows.617 # "top_srcdir" refers to the basic directory for the main package that is618 # being compiled.619 620 539 # List additional defines 621 AM_CPPFLAGS = $(am__append_2) $(am__append_4) $(am__append_7) \ 622 $(am__append_9) $(am__append_12) $(am__append_14) \ 623 $(am__append_17) $(am__append_19) $(am__append_21) \ 624 $(am__append_23) $(am__append_25) $(am__append_27) \ 625 $(am__append_30) $(am__append_33) $(am__append_36) \ 626 -I`$(CYGPATH_W) $(CGLSRCDIR)/src` -I`$(CYGPATH_W) \ 627 $(CGLSRCDIR)/src/CglClique` -I`$(CYGPATH_W) \ 628 $(CGLSRCDIR)/src/CglDuplicateRow` -I`$(CYGPATH_W) \