Changeset 1445 for branches/split/Cbc
- Timestamp:
- May 1, 2010 7:22:11 AM (11 years ago)
- Location:
- branches/split/Cbc
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/split/Cbc/Makefile.am
r1439 r1445 117 117 ######################################################################## 118 118 119 if COIN_HAS_PKGCONFIG 119 120 addlibsdir = $(datadir)/coin/doc/Cbc 120 121 addlibs_DATA = cbc_addlibs.txt 122 123 cbc_addlibs.txt : cbc.pc 124 PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs cbc > cbc_addlibs.txt 125 endif 121 126 122 127 pkgconfiglibdir = $(libdir)/pkgconfig … … 127 132 ######################################################################## 128 133 134 CLEANFILES = cbc_addlibs.txt 135 129 136 # Files that are generated and should be cleaned with make distclean 130 137 DISTCLEANFILES = -
branches/split/Cbc/Makefile.in
r1444 r1445 64 64 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ 65 65 $(srcdir)/cbc-uninstalled.pc.in $(srcdir)/cbc.pc.in \ 66 $(srcdir)/cbc_addlibs.txt.in \67 66 $(srcdir)/osi-cbc-uninstalled.pc.in $(srcdir)/osi-cbc.pc.in \ 68 67 $(top_srcdir)/configure $(top_srcdir)/examples/Makefile.in \ … … 80 79 mkinstalldirs = $(install_sh) -d 81 80 CONFIG_HEADER = $(top_builddir)/inc/config_cbc.h 82 CONFIG_CLEAN_FILES = examples/Makefile cbc _addlibs.txt cbc.pc \83 cbc-uninstalled.pcosi-cbc.pc osi-cbc-uninstalled.pc81 CONFIG_CLEAN_FILES = examples/Makefile cbc.pc cbc-uninstalled.pc \ 82 osi-cbc.pc osi-cbc-uninstalled.pc 84 83 SOURCES = 85 84 DIST_SOURCES = … … 169 168 COIN_HAS_OSITESTS_FALSE = @COIN_HAS_OSITESTS_FALSE@ 170 169 COIN_HAS_OSITESTS_TRUE = @COIN_HAS_OSITESTS_TRUE@ 170 COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@ 171 COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@ 171 172 COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@ 172 173 COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@ … … 175 176 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@ 176 177 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@ 178 COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@ 177 179 CPP = @CPP@ 178 180 CPPFLAGS = @CPPFLAGS@ … … 382 384 # Installation of the addlibs file # 383 385 ######################################################################## 384 addlibsdir = $(datadir)/coin/doc/Cbc385 addlibs_DATA = cbc_addlibs.txt386 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/Cbc 387 @COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = cbc_addlibs.txt 386 388 pkgconfiglibdir = $(libdir)/pkgconfig 387 389 pkgconfiglib_DATA = cbc.pc osi-cbc.pc … … 390 392 # Maintainer Stuff # 391 393 ######################################################################## 394 CLEANFILES = cbc_addlibs.txt 392 395 393 396 # Files that are generated and should be cleaned with make distclean … … 449 452 -rm -f inc/config_cbc.h inc/stamp-h1 450 453 examples/Makefile: $(top_builddir)/config.status $(top_srcdir)/examples/Makefile.in 451 cd $(top_builddir) && $(SHELL) ./config.status $@452 cbc_addlibs.txt: $(top_builddir)/config.status $(srcdir)/cbc_addlibs.txt.in453 454 cd $(top_builddir) && $(SHELL) ./config.status $@ 454 455 cbc.pc: $(top_builddir)/config.status $(srcdir)/cbc.pc.in … … 804 805 805 806 clean-generic: 807 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) 806 808 807 809 distclean-generic: … … 905 907 .PHONY: test unitTest 906 908 909 @COIN_HAS_PKGCONFIG_TRUE@cbc_addlibs.txt : cbc.pc 910 @COIN_HAS_PKGCONFIG_TRUE@ PKG_CONFIG_PATH=.:@COIN_PKG_CONFIG_PATH@ $(PKG_CONFIG) --libs cbc > cbc_addlibs.txt 911 907 912 install-doc: $(DocFiles) 908 913 test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)" -
branches/split/Cbc/configure
r1444 r1445 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 PKG_CONFIG ac_pt_PKG_CONFIG COIN DEPEND_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 GRB_LIBS GRB_CFLAGS GRB_DATA COIN_HAS_GRB_TRUE COIN_HAS_GRB_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 OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os 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 COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH 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 GRB_LIBS GRB_CFLAGS GRB_DATA COIN_HAS_GRB_TRUE COIN_HAS_GRB_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 OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS' 476 476 ac_subst_files='' 477 477 … … 1110 1110 --with-tags[=TAGS] 1111 1111 include additional configurations [automatic] 1112 --with-coin-instdir prefix of installation directory for precompiled 1113 COIN packages 1112 1114 --with-coindepend-lib linker flags for using module CoinDepend 1113 1115 --with-coindepend-incdir … … 1117 1119 directory with data files for using module 1118 1120 CoinDepend 1119 --with-coin-instdir prefix of installation directory for precompiled1120 COIN packages1121 1121 --with-clp-lib linker flags for using module Clp 1122 1122 --with-clp-incdir directory with header files for using module Clp … … 20594 20594 20595 20595 20596 20597 if test -n "$PKG_CONFIG"; then 20598 COIN_HAS_PKGCONFIG_TRUE= 20599 COIN_HAS_PKGCONFIG_FALSE='#' 20600 else 20601 COIN_HAS_PKGCONFIG_TRUE='#' 20602 COIN_HAS_PKGCONFIG_FALSE= 20603 fi 20604 20605 20606 20607 # assemble search path for pkg-config, if we are in a project setup 20608 if test x$coin_projectdir = xyes ; then 20609 COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 20610 20611 # 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 20612 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 20613 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20614 if test -d "${prefix}"; then 20615 COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20616 fi 20617 20618 20619 # Check whether --with-coin-instdir or --without-coin-instdir was given. 20620 if test "${with_coin_instdir+set}" = set; then 20621 withval="$with_coin_instdir" 20622 if test -d "$withval"; then : ; else 20623 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 20624 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 20625 { (exit 1); exit 1; }; } 20626 fi 20627 COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}" 20628 20629 fi; 20630 20631 # in a classic setup, we want to find uninstalled projects 20632 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 20633 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 20634 # 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) 20635 if test -e ../coin_subdirs.txt ; then 20636 for i in `cat ../coin_subdirs.txt` ; do 20637 COIN_PKG_CONFIG_PATH="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH}" 20638 done 20639 fi 20640 20641 if test -e ../../coin_subdirs.txt ; then 20642 for i in `cat ../../coin_subdirs.txt` ; do 20643 COIN_PKG_CONFIG_PATH="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH}" 20644 done 20645 fi 20646 20647 20648 fi 20649 20650 20651 20596 20652 echo "$as_me:$LINENO: checking for COIN-OR module CoinDepend" >&5 20597 20653 echo $ECHO_N "checking for COIN-OR module CoinDepend... $ECHO_C" >&6 … … 20648 20704 if test $coin_has_coindepend = notGiven; then 20649 20705 if test -n "$PKG_CONFIG" ; then 20650 # assemble search path for pkg-config 20706 # set search path for pkg-config 20707 # need to export variable to be sure that the following pkg-config gets these values 20651 20708 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 20652 20653 # 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 20654 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 20655 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 20656 if test -d "${prefix}"; then 20657 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 20658 fi 20659 20660 20661 # Check whether --with-coin-instdir or --without-coin-instdir was given. 20662 if test "${with_coin_instdir+set}" = set; then 20663 withval="$with_coin_instdir" 20664 if test -d "$withval"; then : ; else 20665 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 20666 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 20667 { (exit 1); exit 1; }; } 20668 fi 20669 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 20670 20671 fi; 20672 20673 # in a classic setup, we want to find uninstalled projects 20674 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 20675 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 20676 # 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) 20677 if test -e ../coin_subdirs.txt ; then 20678 for i in `cat ../coin_subdirs.txt` ; do 20679 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 20680 done 20681 fi 20682 20683 if test -e ../../coin_subdirs.txt ; then 20684 for i in `cat ../../coin_subdirs.txt` ; do 20685 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 20686 done 20687 fi 20709 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 20710 export PKG_CONFIG_PATH 20688 20711 20689 20712 # let pkg-config do it's magic 20690 # need to export variable to be sure that the following pkg-config gets these values20691 export PKG_CONFIG_PATH20692 20713 20693 20714 … … 20729 20750 20730 20751 20752 # reset PKG_CONFIG_PATH variable 20731 20753 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 20732 20754 else 20755 #if 4th argument is given, try fallback - whereby we take the first word from coinutils = split osi cgl as basename for the .pc file 20733 20756 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 20734 20757 echo "${ECHO_T}skipped check via pkg-config" >&6 20758 20735 20759 fi 20736 20760 … … 20783 20807 20784 20808 if test x$coin_has_blas != "xyes" ; then 20809 20785 20810 echo "$as_me:$LINENO: checking for COIN-OR module Blas (fallback)" >&5 20786 20811 echo $ECHO_N "checking for COIN-OR module Blas (fallback)... $ECHO_C" >&6 … … 20827 20852 20828 20853 coin_has_blas=yes 20829 fi 20854 echo "$as_me:$LINENO: result: ../ThirdParty/Blas" >&5 20855 echo "${ECHO_T}../ThirdParty/Blas" >&6 20856 else 20857 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 20858 echo "${ECHO_T}$coin_has_blas" >&6 20859 fi 20860 else 20861 echo "$as_me:$LINENO: result: skipping" >&5 20862 echo "${ECHO_T}skipping" >&6 20830 20863 fi 20831 20864 20832 20865 #if user did not disable setting of makefile conditional, do it 20833 20866 20834 20835 echo "$as_me:$LINENO: result: $coin_has_blas" >&520836 echo "${ECHO_T}$coin_has_blas" >&620837 20867 fi 20838 20868 20839 20869 20840 20870 if test x$coin_has_lapack != "xyes" ; then 20871 20841 20872 echo "$as_me:$LINENO: checking for COIN-OR module Lapack (fallback)" >&5 20842 20873 echo $ECHO_N "checking for COIN-OR module Lapack (fallback)... $ECHO_C" >&6 … … 20883 20914 20884 20915 coin_has_lapack=yes 20885 fi 20916 echo "$as_me:$LINENO: result: ../ThirdParty/Lapack" >&5 20917 echo "${ECHO_T}../ThirdParty/Lapack" >&6 20918 else 20919 echo "$as_me:$LINENO: result: $coin_has_lapack" >&5 20920 echo "${ECHO_T}$coin_has_lapack" >&6 20921 fi 20922 else 20923 echo "$as_me:$LINENO: result: skipping" >&5 20924 echo "${ECHO_T}skipping" >&6 20886 20925 fi 20887 20926 20888 20927 #if user did not disable setting of makefile conditional, do it 20889 20928 20890 20891 echo "$as_me:$LINENO: result: $coin_has_lapack" >&520892 echo "${ECHO_T}$coin_has_lapack" >&620893 20929 fi 20894 20930 20895 20931 20896 20932 if test x$coin_has_glpk != "xyes" ; then 20933 20897 20934 echo "$as_me:$LINENO: checking for COIN-OR module Glpk (fallback)" >&5 20898 20935 echo $ECHO_N "checking for COIN-OR module Glpk (fallback)... $ECHO_C" >&6 … … 20939 20976 20940 20977 coin_has_glpk=yes 20941 fi 20978 echo "$as_me:$LINENO: result: ../ThirdParty/Glpk" >&5 20979 echo "${ECHO_T}../ThirdParty/Glpk" >&6 20980 else 20981 echo "$as_me:$LINENO: result: $coin_has_glpk" >&5 20982 echo "${ECHO_T}$coin_has_glpk" >&6 20983 fi 20984 else 20985 echo "$as_me:$LINENO: result: skipping" >&5 20986 echo "${ECHO_T}skipping" >&6 20942 20987 fi 20943 20988 20944 20989 #if user did not disable setting of makefile conditional, do it 20945 20990 20946 20947 echo "$as_me:$LINENO: result: $coin_has_glpk" >&520948 echo "${ECHO_T}$coin_has_glpk" >&620949 20991 fi 20950 20992 20951 20993 20952 20994 if test x$coin_has_coinutils != "xyes" ; then 20995 20953 20996 echo "$as_me:$LINENO: checking for COIN-OR module CoinUtils (fallback)" >&5 20954 20997 echo $ECHO_N "checking for COIN-OR module CoinUtils (fallback)... $ECHO_C" >&6 … … 20997 21040 20998 21041 coin_has_coinutils=yes 20999 fi 21042 echo "$as_me:$LINENO: result: ../CoinUtils" >&5 21043 echo "${ECHO_T}../CoinUtils" >&6 21044 else 21045 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5 21046 echo "${ECHO_T}$coin_has_coinutils" >&6 21047 fi 21048 else 21049 echo "$as_me:$LINENO: result: skipping" >&5 21050 echo "${ECHO_T}skipping" >&6 21000 21051 fi 21001 21052 21002 21053 #if user did not disable setting of makefile conditional, do it 21003 21054 21004 21005 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&521006 echo "${ECHO_T}$coin_has_coinutils" >&621007 21055 fi 21008 21056 21009 21057 21010 21058 if test x$coin_has_osi != "xyes" ; then 21059 21011 21060 echo "$as_me:$LINENO: checking for COIN-OR module Osi (fallback)" >&5 21012 21061 echo $ECHO_N "checking for COIN-OR module Osi (fallback)... $ECHO_C" >&6 … … 21055 21104 21056 21105 coin_has_osi=yes 21057 fi 21106 echo "$as_me:$LINENO: result: ../Osi" >&5 21107 echo "${ECHO_T}../Osi" >&6 21108 else 21109 echo "$as_me:$LINENO: result: $coin_has_osi" >&5 21110 echo "${ECHO_T}$coin_has_osi" >&6 21111 fi 21112 else 21113 echo "$as_me:$LINENO: result: skipping" >&5 21114 echo "${ECHO_T}skipping" >&6 21058 21115 fi 21059 21116 21060 21117 #if user did not disable setting of makefile conditional, do it 21061 21118 21062 21063 echo "$as_me:$LINENO: result: $coin_has_osi" >&521064 echo "${ECHO_T}$coin_has_osi" >&621065 21119 fi 21066 21120 21067 21121 21068 21122 if test x$coin_has_cgl != "xyes" ; then 21123 21069 21124 echo "$as_me:$LINENO: checking for COIN-OR module Cgl (fallback)" >&5 21070 21125 echo $ECHO_N "checking for COIN-OR module Cgl (fallback)... $ECHO_C" >&6 … … 21113 21168 21114 21169 coin_has_cgl=yes 21115 fi 21170 echo "$as_me:$LINENO: result: ../Cgl" >&5 21171 echo "${ECHO_T}../Cgl" >&6 21172 else 21173 echo "$as_me:$LINENO: result: $coin_has_cgl" >&5 21174 echo "${ECHO_T}$coin_has_cgl" >&6 21175 fi 21176 else 21177 echo "$as_me:$LINENO: result: skipping" >&5 21178 echo "${ECHO_T}skipping" >&6 21116 21179 fi 21117 21180 21118 21181 #if user did not disable setting of makefile conditional, do it 21119 21182 21120 21121 echo "$as_me:$LINENO: result: $coin_has_cgl" >&521122 echo "${ECHO_T}$coin_has_cgl" >&621123 21183 fi 21124 21184 … … 21205 21265 if test $coin_has_clp = notGiven; then 21206 21266 if test -n "$PKG_CONFIG" ; then 21207 # assemble search path for pkg-config 21267 # set search path for pkg-config 21268 # need to export variable to be sure that the following pkg-config gets these values 21208 21269 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21209 21210 # 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 21211 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21212 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21213 if test -d "${prefix}"; then 21214 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21215 fi 21216 21217 21218 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21219 if test "${with_coin_instdir+set}" = set; then 21220 withval="$with_coin_instdir" 21221 if test -d "$withval"; then : ; else 21222 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21223 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21224 { (exit 1); exit 1; }; } 21225 fi 21226 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21227 21228 fi; 21229 21230 # in a classic setup, we want to find uninstalled projects 21231 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21232 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21233 # 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) 21234 if test -e ../coin_subdirs.txt ; then 21235 for i in `cat ../coin_subdirs.txt` ; do 21236 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21237 done 21238 fi 21239 21240 if test -e ../../coin_subdirs.txt ; then 21241 for i in `cat ../../coin_subdirs.txt` ; do 21242 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21243 done 21244 fi 21270 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 21271 export PKG_CONFIG_PATH 21245 21272 21246 21273 # let pkg-config do it's magic 21247 # need to export variable to be sure that the following pkg-config gets these values21248 export PKG_CONFIG_PATH21249 21274 21250 21275 … … 21286 21311 21287 21312 21313 # reset PKG_CONFIG_PATH variable 21288 21314 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21289 21315 else 21316 #if 4th argument is given, try fallback - whereby we take the first word from osi-clp as basename for the .pc file 21290 21317 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21291 21318 echo "${ECHO_T}skipped check via pkg-config" >&6 21319 21292 21320 fi 21293 21321 … … 21334 21362 21335 21363 21336 # OsiClp depends on Clp, which the fallback for OsiClp 21337 # so if Clp is there, then we assume that also OsiClp will be there and add the corresponding flags to the Clp flags 21364 if test $coin_has_clp != yes ; then 21365 # OsiClp depends on Clp 21366 # so if Clp is there, then we assume that also OsiClp will be there and add the corresponding flags to the Clp flags 21338 21367 21339 21368 if test x$coin_has_clp != "xyes" ; then 21369 21340 21370 echo "$as_me:$LINENO: checking for COIN-OR module Clp (fallback)" >&5 21341 21371 echo $ECHO_N "checking for COIN-OR module Clp (fallback)... $ECHO_C" >&6 … … 21389 21419 21390 21420 coin_has_clp=yes 21391 fi 21421 echo "$as_me:$LINENO: result: ../Clp" >&5 21422 echo "${ECHO_T}../Clp" >&6 21423 else 21424 echo "$as_me:$LINENO: result: $coin_has_clp" >&5 21425 echo "${ECHO_T}$coin_has_clp" >&6 21426 fi 21427 else 21428 echo "$as_me:$LINENO: result: skipping" >&5 21429 echo "${ECHO_T}skipping" >&6 21392 21430 fi 21393 21431 … … 21405 21443 21406 21444 21407 21408 echo "$as_me:$LINENO: result: $coin_has_clp" >&5 21409 echo "${ECHO_T}$coin_has_clp" >&6 21410 fi 21411 21412 if test $coin_has_clp = yes ; then 21445 fi 21446 21447 if test $coin_has_clp = yes ; then 21413 21448 21414 21449 if test x$coin_has_osiclp != "xyes" ; then 21450 21415 21451 echo "$as_me:$LINENO: checking for COIN-OR module OsiClp (fallback)" >&5 21416 21452 echo $ECHO_N "checking for COIN-OR module OsiClp (fallback)... $ECHO_C" >&6 … … 21459 21495 21460 21496 coin_has_osiclp=yes 21461 fi 21497 echo "$as_me:$LINENO: result: ../Clp" >&5 21498 echo "${ECHO_T}../Clp" >&6 21499 else 21500 echo "$as_me:$LINENO: result: $coin_has_osiclp" >&5 21501 echo "${ECHO_T}$coin_has_osiclp" >&6 21502 fi 21503 else 21504 echo "$as_me:$LINENO: result: skipping" >&5 21505 echo "${ECHO_T}skipping" >&6 21462 21506 fi 21463 21507 21464 21508 #if user did not disable setting of makefile conditional, do it 21465 21509 21466 21467 echo "$as_me:$LINENO: result: $coin_has_osiclp" >&5 21468 echo "${ECHO_T}$coin_has_osiclp" >&6 21469 fi 21470 21471 CLP_CFLAGS="$CLP_CFLAGS $OSICLP_CFLAGS" 21472 CLP_LIBS="$CLP_LIBS $OSICLP_LIBS" 21473 else 21510 fi 21511 21512 CLP_CFLAGS="$CLP_CFLAGS $OSICLP_CFLAGS" 21513 CLP_LIBS="$CLP_LIBS $OSICLP_LIBS" 21514 fi 21515 fi 21516 if test $coin_has_clp != yes ; then 21474 21517 { { echo "$as_me:$LINENO: error: \"Required package Clp unavailable.\"" >&5 21475 21518 echo "$as_me: error: \"Required package Clp unavailable.\"" >&2;} … … 21477 21520 fi 21478 21521 21479 # we skip fallbacks for the following t hree21522 # we skip fallbacks for the following two 21480 21523 21481 21524 echo "$as_me:$LINENO: checking for COIN-OR module DyLP" >&5 … … 21533 21576 if test $coin_has_dylp = notGiven; then 21534 21577 if test -n "$PKG_CONFIG" ; then 21535 # assemble search path for pkg-config 21578 # set search path for pkg-config 21579 # need to export variable to be sure that the following pkg-config gets these values 21536 21580 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21537 21538 # 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 21539 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21540 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21541 if test -d "${prefix}"; then 21542 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21543 fi 21544 21545 21546 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21547 if test "${with_coin_instdir+set}" = set; then 21548 withval="$with_coin_instdir" 21549 if test -d "$withval"; then : ; else 21550 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21551 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21552 { (exit 1); exit 1; }; } 21553 fi 21554 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21555 21556 fi; 21557 21558 # in a classic setup, we want to find uninstalled projects 21559 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21560 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21561 # 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) 21562 if test -e ../coin_subdirs.txt ; then 21563 for i in `cat ../coin_subdirs.txt` ; do 21564 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21565 done 21566 fi 21567 21568 if test -e ../../coin_subdirs.txt ; then 21569 for i in `cat ../../coin_subdirs.txt` ; do 21570 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21571 done 21572 fi 21581 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 21582 export PKG_CONFIG_PATH 21573 21583 21574 21584 # let pkg-config do it's magic 21575 # need to export variable to be sure that the following pkg-config gets these values21576 export PKG_CONFIG_PATH21577 21585 21578 21586 … … 21614 21622 21615 21623 21624 # reset PKG_CONFIG_PATH variable 21616 21625 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21617 21626 else 21627 #if 4th argument is given, try fallback - whereby we take the first word from osi-dylp as basename for the .pc file 21618 21628 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21619 21629 echo "${ECHO_T}skipped check via pkg-config" >&6 21630 21620 21631 fi 21621 21632 … … 21717 21728 if test $coin_has_vol = notGiven; then 21718 21729 if test -n "$PKG_CONFIG" ; then 21719 # assemble search path for pkg-config 21730 # set search path for pkg-config 21731 # need to export variable to be sure that the following pkg-config gets these values 21720 21732 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21721 21722 # 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 21723 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21724 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21725 if test -d "${prefix}"; then 21726 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21727 fi 21728 21729 21730 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21731 if test "${with_coin_instdir+set}" = set; then 21732 withval="$with_coin_instdir" 21733 if test -d "$withval"; then : ; else 21734 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21735 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21736 { (exit 1); exit 1; }; } 21737 fi 21738 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21739 21740 fi; 21741 21742 # in a classic setup, we want to find uninstalled projects 21743 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21744 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21745 # 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) 21746 if test -e ../coin_subdirs.txt ; then 21747 for i in `cat ../coin_subdirs.txt` ; do 21748 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21749 done 21750 fi 21751 21752 if test -e ../../coin_subdirs.txt ; then 21753 for i in `cat ../../coin_subdirs.txt` ; do 21754 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21755 done 21756 fi 21733 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 21734 export PKG_CONFIG_PATH 21757 21735 21758 21736 # let pkg-config do it's magic 21759 # need to export variable to be sure that the following pkg-config gets these values21760 export PKG_CONFIG_PATH21761 21737 21762 21738 … … 21798 21774 21799 21775 21776 # reset PKG_CONFIG_PATH variable 21800 21777 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21801 21778 else 21779 #if 4th argument is given, try fallback - whereby we take the first word from osi-vol as basename for the .pc file 21802 21780 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21803 21781 echo "${ECHO_T}skipped check via pkg-config" >&6 21782 21804 21783 fi 21805 21784 … … 21901 21880 if test $coin_has_ositests = notGiven; then 21902 21881 if test -n "$PKG_CONFIG" ; then 21903 # assemble search path for pkg-config 21882 # set search path for pkg-config 21883 # need to export variable to be sure that the following pkg-config gets these values 21904 21884 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21905 21906 # 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 21907 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 21908 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 21909 if test -d "${prefix}"; then 21910 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 21911 fi 21912 21913 21914 # Check whether --with-coin-instdir or --without-coin-instdir was given. 21915 if test "${with_coin_instdir+set}" = set; then 21916 withval="$with_coin_instdir" 21917 if test -d "$withval"; then : ; else 21918 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 21919 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 21920 { (exit 1); exit 1; }; } 21921 fi 21922 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21923 21924 fi; 21925 21926 # in a classic setup, we want to find uninstalled projects 21927 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 21928 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 21929 # 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) 21930 if test -e ../coin_subdirs.txt ; then 21931 for i in `cat ../coin_subdirs.txt` ; do 21932 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 21933 done 21934 fi 21935 21936 if test -e ../../coin_subdirs.txt ; then 21937 for i in `cat ../../coin_subdirs.txt` ; do 21938 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 21939 done 21940 fi 21885 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 21886 export PKG_CONFIG_PATH 21941 21887 21942 21888 # let pkg-config do it's magic 21943 # need to export variable to be sure that the following pkg-config gets these values21944 export PKG_CONFIG_PATH21945 21889 21946 21890 … … 21982 21926 21983 21927 21928 # reset PKG_CONFIG_PATH variable 21984 21929 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21985 21930 else 21986 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 21987 echo "${ECHO_T}skipped check via pkg-config" >&6 21931 #if 4th argument is given, try fallback - whereby we take the first word from osi-unittests as basename for the .pc file 21932 21933 if test x$coin_has_ositests != "xyes" ; then 21934 21935 21936 21937 coin_has_ositests=notGiven 21938 21939 # check if user wants to skip module in any case 21940 if test x"$COIN_SKIP_PROJECTS" != x; then 21941 for dir in $COIN_SKIP_PROJECTS; do 21942 if test $dir = "OsiTests"; then 21943 coin_has_ositests=skipping 21944 fi 21945 done 21946 fi 21947 21948 OSITESTS_LIBS= 21949 OSITESTS_CFLAGS= 21950 OSITESTS_DATA= 21951 21952 21953 if test $coin_has_ositests != "skipping" ; then 21954 # if the project is available and configured, then a project-uninstalled.pc file should have been created 21955 if test -r ../Osi/osi-unittests-uninstalled.pc ; then 21956 # read CFLAGS and LIBS from m4_bpatsubst(osi-unittests, [ .*], [])-uninstalled.pc file 21957 # add CYGPATH_W cludge into include flags 21958 # replace -L${libdir} by absolute path to build directory in linker flags 21959 # we assume that the build directory is ../Osi/src if this directory exists, otherwise we assume that it is ../Osi 21960 OSITESTS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Osi/osi-unittests-uninstalled.pc` 21961 projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Osi/osi-unittests-uninstalled.pc` 21962 if test "x$projectlibs" != x ; then 21963 if test -d ../Osi/src ; then 21964 OSITESTS_LIBS="-L`cd ../Osi/src; pwd` $projectlibs" 21965 else 21966 OSITESTS_LIBS="-L`cd ../Osi; pwd` $projectlibs" 21967 fi 21968 else 21969 OSITESTS_LIBS=`sed -n -e 's/Libs://p' ../Osi/osi-unittests-uninstalled.pc` 21970 fi 21971 OSITESTS_DATA=`sed -n -e 's/datadir=//gp' ../Osi/osi-unittests-uninstalled.pc` 21972 21973 21974 21975 21976 cat >>confdefs.h <<\_ACEOF 21977 #define COIN_HAS_OSITESTS 1 21978 _ACEOF 21979 21980 21981 21982 coin_has_ositests=yes 21983 echo "$as_me:$LINENO: result: ../Osi" >&5 21984 echo "${ECHO_T}../Osi" >&6 21985 else 21986 echo "$as_me:$LINENO: result: $coin_has_ositests" >&5 21987 echo "${ECHO_T}$coin_has_ositests" >&6 21988 fi 21989 else 21990 echo "$as_me:$LINENO: result: skipping" >&5 21991 echo "${ECHO_T}skipping" >&6 21992 fi 21993 21994 #if user did not disable setting of makefile conditional, do it 21995 21996 21997 if test $coin_has_ositests != notGiven && 21998 test $coin_has_ositests != skipping; then 21999 COIN_HAS_OSITESTS_TRUE= 22000 COIN_HAS_OSITESTS_FALSE='#' 22001 else 22002 COIN_HAS_OSITESTS_TRUE='#' 22003 COIN_HAS_OSITESTS_FALSE= 22004 fi 22005 22006 22007 fi 22008 22009 21988 22010 fi 21989 22011 … … 22086 22108 if test $coin_has_sample = notGiven; then 22087 22109 if test -n "$PKG_CONFIG" ; then 22088 # assemble search path for pkg-config 22110 # set search path for pkg-config 22111 # need to export variable to be sure that the following pkg-config gets these values 22089 22112 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22090 22091 # 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 22092 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22093 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22094 if test -d "${prefix}"; then 22095 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22096 fi 22097 22098 22099 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22100 if test "${with_coin_instdir+set}" = set; then 22101 withval="$with_coin_instdir" 22102 if test -d "$withval"; then : ; else 22103 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22104 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 22105 { (exit 1); exit 1; }; } 22106 fi 22107 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22108 22109 fi; 22110 22111 # in a classic setup, we want to find uninstalled projects 22112 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22113 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22114 # 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) 22115 if test -e ../coin_subdirs.txt ; then 22116 for i in `cat ../coin_subdirs.txt` ; do 22117 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22118 done 22119 fi 22120 22121 if test -e ../../coin_subdirs.txt ; then 22122 for i in `cat ../../coin_subdirs.txt` ; do 22123 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22124 done 22125 fi 22113 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 22114 export PKG_CONFIG_PATH 22126 22115 22127 22116 # let pkg-config do it's magic 22128 # need to export variable to be sure that the following pkg-config gets these values22129 export PKG_CONFIG_PATH22130 22117 22131 22118 … … 22167 22154 22168 22155 22156 # reset PKG_CONFIG_PATH variable 22169 22157 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22170 22158 else 22171 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22172 echo "${ECHO_T}skipped check via pkg-config" >&6 22173 fi 22174 22175 else 22176 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 22177 echo "${ECHO_T}$coin_has_sample" >&6 22178 fi 22179 22180 if test $coin_has_sample != skipping && 22181 test $coin_has_sample != notGiven ; then 22182 if test 0 = 1 ; then #change this test to enable a bit of debugging output 22183 if test -n "$SAMPLE_CFLAGS" ; then 22184 { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5 22185 echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;} 22186 fi 22187 if test -n "$SAMPLE_LIBS" ; then 22188 { echo "$as_me:$LINENO: Sample LIBS are $SAMPLE_LIBS" >&5 22189 echo "$as_me: Sample LIBS are $SAMPLE_LIBS" >&6;} 22190 fi 22191 if test -n "$SAMPLE_DATA" ; then 22192 { echo "$as_me:$LINENO: Sample DATA is $SAMPLE_DATA" >&5 22193 echo "$as_me: Sample DATA is $SAMPLE_DATA" >&6;} 22194 fi 22195 fi 22196 22197 cat >>confdefs.h <<\_ACEOF 22198 #define COIN_HAS_SAMPLE 1 22199 _ACEOF 22200 22201 fi 22202 22203 # Define the Makefile conditional 22204 22205 22206 if test $coin_has_sample != notGiven && 22207 test $coin_has_sample != skipping; then 22208 COIN_HAS_SAMPLE_TRUE= 22209 COIN_HAS_SAMPLE_FALSE='#' 22210 else 22211 COIN_HAS_SAMPLE_TRUE='#' 22212 COIN_HAS_SAMPLE_FALSE= 22213 fi 22214 22215 22216 22159 #if 4th argument is given, try fallback - whereby we take the first word from coindatasample as basename for the .pc file 22217 22160 22218 22161 if test x$coin_has_sample != "xyes" ; then 22219 echo "$as_me:$LINENO: checking for COIN-OR module Sample (fallback)" >&5 22220 echo $ECHO_N "checking for COIN-OR module Sample (fallback)... $ECHO_C" >&6 22162 22163 22221 22164 22222 22165 coin_has_sample=notGiven … … 22239 22182 # if the project is available and configured, then a project-uninstalled.pc file should have been created 22240 22183 if test -r ../Data/Sample/coindatasample-uninstalled.pc ; then 22241 # read CFLAGS and LIBS from coindatasample-uninstalled.pc file22184 # read CFLAGS and LIBS from m4_bpatsubst(coindatasample, [ .*], [])-uninstalled.pc file 22242 22185 # add CYGPATH_W cludge into include flags 22243 22186 # replace -L${libdir} by absolute path to build directory in linker flags … … 22266 22209 22267 22210 coin_has_sample=yes 22268 fi 22211 echo "$as_me:$LINENO: result: ../Data/Sample" >&5 22212 echo "${ECHO_T}../Data/Sample" >&6 22213 else 22214 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 22215 echo "${ECHO_T}$coin_has_sample" >&6 22216 fi 22217 else 22218 echo "$as_me:$LINENO: result: skipping" >&5 22219 echo "${ECHO_T}skipping" >&6 22269 22220 fi 22270 22221 … … 22282 22233 22283 22234 22284 22285 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 22235 fi 22236 22237 22238 fi 22239 22240 else 22241 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 22286 22242 echo "${ECHO_T}$coin_has_sample" >&6 22287 22243 fi 22244 22245 if test $coin_has_sample != skipping && 22246 test $coin_has_sample != notGiven ; then 22247 if test 0 = 1 ; then #change this test to enable a bit of debugging output 22248 if test -n "$SAMPLE_CFLAGS" ; then 22249 { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5 22250 echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;} 22251 fi 22252 if test -n "$SAMPLE_LIBS" ; then 22253 { echo "$as_me:$LINENO: Sample LIBS are $SAMPLE_LIBS" >&5 22254 echo "$as_me: Sample LIBS are $SAMPLE_LIBS" >&6;} 22255 fi 22256 if test -n "$SAMPLE_DATA" ; then 22257 { echo "$as_me:$LINENO: Sample DATA is $SAMPLE_DATA" >&5 22258 echo "$as_me: Sample DATA is $SAMPLE_DATA" >&6;} 22259 fi 22260 fi 22261 22262 cat >>confdefs.h <<\_ACEOF 22263 #define COIN_HAS_SAMPLE 1 22264 _ACEOF 22265 22266 fi 22267 22268 # Define the Makefile conditional 22269 22270 22271 if test $coin_has_sample != notGiven && 22272 test $coin_has_sample != skipping; then 22273 COIN_HAS_SAMPLE_TRUE= 22274 COIN_HAS_SAMPLE_FALSE='#' 22275 else 22276 COIN_HAS_SAMPLE_TRUE='#' 22277 COIN_HAS_SAMPLE_FALSE= 22278 fi 22279 22288 22280 22289 22281 … … 22343 22335 if test $coin_has_netlib = notGiven; then 22344 22336 if test -n "$PKG_CONFIG" ; then 22345 # assemble search path for pkg-config 22337 # set search path for pkg-config 22338 # need to export variable to be sure that the following pkg-config gets these values 22346 22339 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22347 22348 # 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 22349 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22350 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22351 if test -d "${prefix}"; then 22352 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22353 fi 22354 22355 22356 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22357 if test "${with_coin_instdir+set}" = set; then 22358 withval="$with_coin_instdir" 22359 if test -d "$withval"; then : ; else 22360 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22361 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 22362 { (exit 1); exit 1; }; } 22363 fi 22364 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22365 22366 fi; 22367 22368 # in a classic setup, we want to find uninstalled projects 22369 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22370 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22371 # 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) 22372 if test -e ../coin_subdirs.txt ; then 22373 for i in `cat ../coin_subdirs.txt` ; do 22374 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22375 done 22376 fi 22377 22378 if test -e ../../coin_subdirs.txt ; then 22379 for i in `cat ../../coin_subdirs.txt` ; do 22380 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22381 done 22382 fi 22340 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 22341 export PKG_CONFIG_PATH 22383 22342 22384 22343 # let pkg-config do it's magic 22385 # need to export variable to be sure that the following pkg-config gets these values22386 export PKG_CONFIG_PATH22387 22344 22388 22345 … … 22424 22381 22425 22382 22383 # reset PKG_CONFIG_PATH variable 22426 22384 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22427 22385 else 22428 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22429 echo "${ECHO_T}skipped check via pkg-config" >&6 22430 fi 22431 22432 else 22433 echo "$as_me:$LINENO: result: $coin_has_netlib" >&5 22434 echo "${ECHO_T}$coin_has_netlib" >&6 22435 fi 22436 22437 if test $coin_has_netlib != skipping && 22438 test $coin_has_netlib != notGiven ; then 22439 if test 0 = 1 ; then #change this test to enable a bit of debugging output 22440 if test -n "$NETLIB_CFLAGS" ; then 22441 { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5 22442 echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;} 22443 fi 22444 if test -n "$NETLIB_LIBS" ; then 22445 { echo "$as_me:$LINENO: Netlib LIBS are $NETLIB_LIBS" >&5 22446 echo "$as_me: Netlib LIBS are $NETLIB_LIBS" >&6;} 22447 fi 22448 if test -n "$NETLIB_DATA" ; then 22449 { echo "$as_me:$LINENO: Netlib DATA is $NETLIB_DATA" >&5 22450 echo "$as_me: Netlib DATA is $NETLIB_DATA" >&6;} 22451 fi 22452 fi 22453 22454 cat >>confdefs.h <<\_ACEOF 22455 #define COIN_HAS_NETLIB 1 22456 _ACEOF 22457 22458 fi 22459 22460 # Define the Makefile conditional 22461 22462 22463 if test $coin_has_netlib != notGiven && 22464 test $coin_has_netlib != skipping; then 22465 COIN_HAS_NETLIB_TRUE= 22466 COIN_HAS_NETLIB_FALSE='#' 22467 else 22468 COIN_HAS_NETLIB_TRUE='#' 22469 COIN_HAS_NETLIB_FALSE= 22470 fi 22471 22472 22473 22386 #if 4th argument is given, try fallback - whereby we take the first word from coindatanetlib as basename for the .pc file 22474 22387 22475 22388 if test x$coin_has_netlib != "xyes" ; then 22476 echo "$as_me:$LINENO: checking for COIN-OR module Netlib (fallback)" >&5 22477 echo $ECHO_N "checking for COIN-OR module Netlib (fallback)... $ECHO_C" >&6 22389 22390 22478 22391 22479 22392 coin_has_netlib=notGiven … … 22496 22409 # if the project is available and configured, then a project-uninstalled.pc file should have been created 22497 22410 if test -r ../Data/Netlib/coindatanetlib-uninstalled.pc ; then 22498 # read CFLAGS and LIBS from coindatanetlib-uninstalled.pc file22411 # read CFLAGS and LIBS from m4_bpatsubst(coindatanetlib, [ .*], [])-uninstalled.pc file 22499 22412 # add CYGPATH_W cludge into include flags 22500 22413 # replace -L${libdir} by absolute path to build directory in linker flags … … 22523 22436 22524 22437 coin_has_netlib=yes 22525 fi 22438 echo "$as_me:$LINENO: result: ../Data/Netlib" >&5 22439 echo "${ECHO_T}../Data/Netlib" >&6 22440 else 22441 echo "$as_me:$LINENO: result: $coin_has_netlib" >&5 22442 echo "${ECHO_T}$coin_has_netlib" >&6 22443 fi 22444 else 22445 echo "$as_me:$LINENO: result: skipping" >&5 22446 echo "${ECHO_T}skipping" >&6 22526 22447 fi 22527 22448 … … 22539 22460 22540 22461 22541 22542 echo "$as_me:$LINENO: result: $coin_has_netlib" >&5 22462 fi 22463 22464 22465 fi 22466 22467 else 22468 echo "$as_me:$LINENO: result: $coin_has_netlib" >&5 22543 22469 echo "${ECHO_T}$coin_has_netlib" >&6 22544 22470 fi 22471 22472 if test $coin_has_netlib != skipping && 22473 test $coin_has_netlib != notGiven ; then 22474 if test 0 = 1 ; then #change this test to enable a bit of debugging output 22475 if test -n "$NETLIB_CFLAGS" ; then 22476 { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5 22477 echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;} 22478 fi 22479 if test -n "$NETLIB_LIBS" ; then 22480 { echo "$as_me:$LINENO: Netlib LIBS are $NETLIB_LIBS" >&5 22481 echo "$as_me: Netlib LIBS are $NETLIB_LIBS" >&6;} 22482 fi 22483 if test -n "$NETLIB_DATA" ; then 22484 { echo "$as_me:$LINENO: Netlib DATA is $NETLIB_DATA" >&5 22485 echo "$as_me: Netlib DATA is $NETLIB_DATA" >&6;} 22486 fi 22487 fi 22488 22489 cat >>confdefs.h <<\_ACEOF 22490 #define COIN_HAS_NETLIB 1 22491 _ACEOF 22492 22493 fi 22494 22495 # Define the Makefile conditional 22496 22497 22498 if test $coin_has_netlib != notGiven && 22499 test $coin_has_netlib != skipping; then 22500 COIN_HAS_NETLIB_TRUE= 22501 COIN_HAS_NETLIB_FALSE='#' 22502 else 22503 COIN_HAS_NETLIB_TRUE='#' 22504 COIN_HAS_NETLIB_FALSE= 22505 fi 22506 22545 22507 22546 22508 … … 22600 22562 if test $coin_has_miplib3 = notGiven; then 22601 22563 if test -n "$PKG_CONFIG" ; then 22602 # assemble search path for pkg-config 22564 # set search path for pkg-config 22565 # need to export variable to be sure that the following pkg-config gets these values 22603 22566 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22604 22605 # 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 22606 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22607 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22608 if test -d "${prefix}"; then 22609 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22610 fi 22611 22612 22613 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22614 if test "${with_coin_instdir+set}" = set; then 22615 withval="$with_coin_instdir" 22616 if test -d "$withval"; then : ; else 22617 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22618 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 22619 { (exit 1); exit 1; }; } 22620 fi 22621 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22622 22623 fi; 22624 22625 # in a classic setup, we want to find uninstalled projects 22626 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22627 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22628 # 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) 22629 if test -e ../coin_subdirs.txt ; then 22630 for i in `cat ../coin_subdirs.txt` ; do 22631 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22632 done 22633 fi 22634 22635 if test -e ../../coin_subdirs.txt ; then 22636 for i in `cat ../../coin_subdirs.txt` ; do 22637 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22638 done 22639 fi 22567 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 22568 export PKG_CONFIG_PATH 22640 22569 22641 22570 # let pkg-config do it's magic 22642 # need to export variable to be sure that the following pkg-config gets these values22643 export PKG_CONFIG_PATH22644 22571 22645 22572 … … 22681 22608 22682 22609 22610 # reset PKG_CONFIG_PATH variable 22683 22611 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22684 22612 else 22685 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22686 echo "${ECHO_T}skipped check via pkg-config" >&6 22687 fi 22688 22689 else 22690 echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5 22691 echo "${ECHO_T}$coin_has_miplib3" >&6 22692 fi 22693 22694 if test $coin_has_miplib3 != skipping && 22695 test $coin_has_miplib3 != notGiven ; then 22696 if test 0 = 1 ; then #change this test to enable a bit of debugging output 22697 if test -n "$MIPLIB3_CFLAGS" ; then 22698 { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5 22699 echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;} 22700 fi 22701 if test -n "$MIPLIB3_LIBS" ; then 22702 { echo "$as_me:$LINENO: Miplib3 LIBS are $MIPLIB3_LIBS" >&5 22703 echo "$as_me: Miplib3 LIBS are $MIPLIB3_LIBS" >&6;} 22704 fi 22705 if test -n "$MIPLIB3_DATA" ; then 22706 { echo "$as_me:$LINENO: Miplib3 DATA is $MIPLIB3_DATA" >&5 22707 echo "$as_me: Miplib3 DATA is $MIPLIB3_DATA" >&6;} 22708 fi 22709 fi 22710 22711 cat >>confdefs.h <<\_ACEOF 22712 #define COIN_HAS_MIPLIB3 1 22713 _ACEOF 22714 22715 fi 22716 22717 # Define the Makefile conditional 22718 22719 22720 if test $coin_has_miplib3 != notGiven && 22721 test $coin_has_miplib3 != skipping; then 22722 COIN_HAS_MIPLIB3_TRUE= 22723 COIN_HAS_MIPLIB3_FALSE='#' 22724 else 22725 COIN_HAS_MIPLIB3_TRUE='#' 22726 COIN_HAS_MIPLIB3_FALSE= 22727 fi 22728 22729 22730 22613 #if 4th argument is given, try fallback - whereby we take the first word from coindatamiplib3 as basename for the .pc file 22731 22614 22732 22615 if test x$coin_has_miplib3 != "xyes" ; then 22733 echo "$as_me:$LINENO: checking for COIN-OR module Miplib3 (fallback)" >&5 22734 echo $ECHO_N "checking for COIN-OR module Miplib3 (fallback)... $ECHO_C" >&6 22616 22617 22735 22618 22736 22619 coin_has_miplib3=notGiven … … 22753 22636 # if the project is available and configured, then a project-uninstalled.pc file should have been created 22754 22637 if test -r ../Data/Miplib3/coindatamiplib3-uninstalled.pc ; then 22755 # read CFLAGS and LIBS from coindatamiplib3-uninstalled.pc file22638 # read CFLAGS and LIBS from m4_bpatsubst(coindatamiplib3, [ .*], [])-uninstalled.pc file 22756 22639 # add CYGPATH_W cludge into include flags 22757 22640 # replace -L${libdir} by absolute path to build directory in linker flags … … 22780 22663 22781 22664 coin_has_miplib3=yes 22782 fi 22665 echo "$as_me:$LINENO: result: ../Data/Miplib3" >&5 22666 echo "${ECHO_T}../Data/Miplib3" >&6 22667 else 22668 echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5 22669 echo "${ECHO_T}$coin_has_miplib3" >&6 22670 fi 22671 else 22672 echo "$as_me:$LINENO: result: skipping" >&5 22673 echo "${ECHO_T}skipping" >&6 22783 22674 fi 22784 22675 … … 22796 22687 22797 22688 22798 22799 echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5 22689 fi 22690 22691 22692 fi 22693 22694 else 22695 echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5 22800 22696 echo "${ECHO_T}$coin_has_miplib3" >&6 22801 22697 fi 22698 22699 if test $coin_has_miplib3 != skipping && 22700 test $coin_has_miplib3 != notGiven ; then 22701 if test 0 = 1 ; then #change this test to enable a bit of debugging output 22702 if test -n "$MIPLIB3_CFLAGS" ; then 22703 { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5 22704 echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;} 22705 fi 22706 if test -n "$MIPLIB3_LIBS" ; then 22707 { echo "$as_me:$LINENO: Miplib3 LIBS are $MIPLIB3_LIBS" >&5 22708 echo "$as_me: Miplib3 LIBS are $MIPLIB3_LIBS" >&6;} 22709 fi 22710 if test -n "$MIPLIB3_DATA" ; then 22711 { echo "$as_me:$LINENO: Miplib3 DATA is $MIPLIB3_DATA" >&5 22712 echo "$as_me: Miplib3 DATA is $MIPLIB3_DATA" >&6;} 22713 fi 22714 fi 22715 22716 cat >>confdefs.h <<\_ACEOF 22717 #define COIN_HAS_MIPLIB3 1 22718 _ACEOF 22719 22720 fi 22721 22722 # Define the Makefile conditional 22723 22724 22725 if test $coin_has_miplib3 != notGiven && 22726 test $coin_has_miplib3 != skipping; then 22727 COIN_HAS_MIPLIB3_TRUE= 22728 COIN_HAS_MIPLIB3_FALSE='#' 22729 else 22730 COIN_HAS_MIPLIB3_TRUE='#' 22731 COIN_HAS_MIPLIB3_FALSE= 22732 fi 22733 22734 22802 22735 22803 22736 … … 22862 22795 if test $coin_has_cpx = notGiven; then 22863 22796 if test -n "$PKG_CONFIG" ; then 22864 # assemble search path for pkg-config 22797 # set search path for pkg-config 22798 # need to export variable to be sure that the following pkg-config gets these values 22865 22799 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 22866 22867 # 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 22868 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 22869 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 22870 if test -d "${prefix}"; then 22871 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 22872 fi 22873 22874 22875 # Check whether --with-coin-instdir or --without-coin-instdir was given. 22876 if test "${with_coin_instdir+set}" = set; then 22877 withval="$with_coin_instdir" 22878 if test -d "$withval"; then : ; else 22879 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 22880 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 22881 { (exit 1); exit 1; }; } 22882 fi 22883 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 22884 22885 fi; 22886 22887 # in a classic setup, we want to find uninstalled projects 22888 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 22889 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 22890 # 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) 22891 if test -e ../coin_subdirs.txt ; then 22892 for i in `cat ../coin_subdirs.txt` ; do 22893 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 22894 done 22895 fi 22896 22897 if test -e ../../coin_subdirs.txt ; then 22898 for i in `cat ../../coin_subdirs.txt` ; do 22899 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 22900 done 22901 fi 22800 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 22801 export PKG_CONFIG_PATH 22902 22802 22903 22803 # let pkg-config do it's magic 22904 # need to export variable to be sure that the following pkg-config gets these values22905 export PKG_CONFIG_PATH22906 22804 22907 22805 … … 22943 22841 22944 22842 22843 # reset PKG_CONFIG_PATH variable 22945 22844 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 22946 22845 else 22846 #if 4th argument is given, try fallback - whereby we take the first word from osi-cplex as basename for the .pc file 22947 22847 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 22948 22848 echo "${ECHO_T}skipped check via pkg-config" >&6 22849 22949 22850 fi 22950 22851 … … 23046 22947 if test $coin_has_glpk = notGiven; then 23047 22948 if test -n "$PKG_CONFIG" ; then 23048 # assemble search path for pkg-config 22949 # set search path for pkg-config 22950 # need to export variable to be sure that the following pkg-config gets these values 23049 22951 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 23050 23051 # 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 23052 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 23053 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 23054 if test -d "${prefix}"; then 23055 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 23056 fi 23057 23058 23059 # Check whether --with-coin-instdir or --without-coin-instdir was given. 23060 if test "${with_coin_instdir+set}" = set; then 23061 withval="$with_coin_instdir" 23062 if test -d "$withval"; then : ; else 23063 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 23064 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 23065 { (exit 1); exit 1; }; } 23066 fi 23067 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 23068 23069 fi; 23070 23071 # in a classic setup, we want to find uninstalled projects 23072 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 23073 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 23074 # 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) 23075 if test -e ../coin_subdirs.txt ; then 23076 for i in `cat ../coin_subdirs.txt` ; do 23077 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 23078 done 23079 fi 23080 23081 if test -e ../../coin_subdirs.txt ; then 23082 for i in `cat ../../coin_subdirs.txt` ; do 23083 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 23084 done 23085 fi 22952 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 22953 export PKG_CONFIG_PATH 23086 22954 23087 22955 # let pkg-config do it's magic 23088 # need to export variable to be sure that the following pkg-config gets these values23089 export PKG_CONFIG_PATH23090 22956 23091 22957 … … 23127 22993 23128 22994 22995 # reset PKG_CONFIG_PATH variable 23129 22996 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 23130 22997 else 22998 #if 4th argument is given, try fallback - whereby we take the first word from osi-glpk as basename for the .pc file 23131 22999 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 23132 23000 echo "${ECHO_T}skipped check via pkg-config" >&6 23001 23133 23002 fi 23134 23003 … … 23230 23099 if test $coin_has_grb = notGiven; then 23231 23100 if test -n "$PKG_CONFIG" ; then 23232 # assemble search path for pkg-config 23101 # set search path for pkg-config 23102 # need to export variable to be sure that the following pkg-config gets these values 23233 23103 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 23234 23235 # 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 23236 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 23237 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 23238 if test -d "${prefix}"; then 23239 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 23240 fi 23241 23242 23243 # Check whether --with-coin-instdir or --without-coin-instdir was given. 23244 if test "${with_coin_instdir+set}" = set; then 23245 withval="$with_coin_instdir" 23246 if test -d "$withval"; then : ; else 23247 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 23248 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 23249 { (exit 1); exit 1; }; } 23250 fi 23251 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 23252 23253 fi; 23254 23255 # in a classic setup, we want to find uninstalled projects 23256 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 23257 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 23258 # 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) 23259 if test -e ../coin_subdirs.txt ; then 23260 for i in `cat ../coin_subdirs.txt` ; do 23261 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 23262 done 23263 fi 23264 23265 if test -e ../../coin_subdirs.txt ; then 23266 for i in `cat ../../coin_subdirs.txt` ; do 23267 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 23268 done 23269 fi 23104 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 23105 export PKG_CONFIG_PATH 23270 23106 23271 23107 # let pkg-config do it's magic 23272 # need to export variable to be sure that the following pkg-config gets these values23273 export PKG_CONFIG_PATH23274 23108 23275 23109 … … 23311 23145 23312 23146 23147 # reset PKG_CONFIG_PATH variable 23313 23148 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 23314 23149 else 23150 #if 4th argument is given, try fallback - whereby we take the first word from osi-gurobi as basename for the .pc file 23315 23151 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 23316 23152 echo "${ECHO_T}skipped check via pkg-config" >&6 23153 23317 23154 fi 23318 23155 … … 23414 23251 if test $coin_has_msk = notGiven; then 23415 23252 if test -n "$PKG_CONFIG" ; then 23416 # assemble search path for pkg-config 23253 # set search path for pkg-config 23254 # need to export variable to be sure that the following pkg-config gets these values 23417 23255 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 23418 23419 # 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 23420 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 23421 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 23422 if test -d "${prefix}"; then 23423 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 23424 fi 23425 23426 23427 # Check whether --with-coin-instdir or --without-coin-instdir was given. 23428 if test "${with_coin_instdir+set}" = set; then 23429 withval="$with_coin_instdir" 23430 if test -d "$withval"; then : ; else 23431 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 23432 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 23433 { (exit 1); exit 1; }; } 23434 fi 23435 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 23436 23437 fi; 23438 23439 # in a classic setup, we want to find uninstalled projects 23440 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 23441 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 23442 # 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) 23443 if test -e ../coin_subdirs.txt ; then 23444 for i in `cat ../coin_subdirs.txt` ; do 23445 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 23446 done 23447 fi 23448 23449 if test -e ../../coin_subdirs.txt ; then 23450 for i in `cat ../../coin_subdirs.txt` ; do 23451 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 23452 done 23453 fi 23256 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 23257 export PKG_CONFIG_PATH 23454 23258 23455 23259 # let pkg-config do it's magic 23456 # need to export variable to be sure that the following pkg-config gets these values23457 export PKG_CONFIG_PATH23458 23260 23459 23261 … … 23495 23297 23496 23298 23299 # reset PKG_CONFIG_PATH variable 23497 23300 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 23498 23301 else 23302 #if 4th argument is given, try fallback - whereby we take the first word from osi-mosek as basename for the .pc file 23499 23303 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 23500 23304 echo "${ECHO_T}skipped check via pkg-config" >&6 23305 23501 23306 fi 23502 23307 … … 23543 23348 23544 23349 23545 #AC_COIN_HAS_MODULE(Spx, 23350 #AC_COIN_HAS_MODULE(Spx, [osi-soplex]) 23546 23351 23547 23352 echo "$as_me:$LINENO: checking for COIN-OR module Xpr" >&5 … … 23599 23404 if test $coin_has_xpr = notGiven; then 23600 23405 if test -n "$PKG_CONFIG" ; then 23601 # assemble search path for pkg-config 23406 # set search path for pkg-config 23407 # need to export variable to be sure that the following pkg-config gets these values 23602 23408 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 23603 23604 # 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 23605 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 23606 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 23607 if test -d "${prefix}"; then 23608 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 23609 fi 23610 23611 23612 # Check whether --with-coin-instdir or --without-coin-instdir was given. 23613 if test "${with_coin_instdir+set}" = set; then 23614 withval="$with_coin_instdir" 23615 if test -d "$withval"; then : ; else 23616 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 23617 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 23618 { (exit 1); exit 1; }; } 23619 fi 23620 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 23621 23622 fi; 23623 23624 # in a classic setup, we want to find uninstalled projects 23625 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 23626 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 23627 # 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) 23628 if test -e ../coin_subdirs.txt ; then 23629 for i in `cat ../coin_subdirs.txt` ; do 23630 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 23631 done 23632 fi 23633 23634 if test -e ../../coin_subdirs.txt ; then 23635 for i in `cat ../../coin_subdirs.txt` ; do 23636 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 23637 done 23638 fi 23409 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 23410 export PKG_CONFIG_PATH 23639 23411 23640 23412 # let pkg-config do it's magic 23641 # need to export variable to be sure that the following pkg-config gets these values23642 export PKG_CONFIG_PATH23643 23413 23644 23414 … … 23680 23450 23681 23451 23452 # reset PKG_CONFIG_PATH variable 23682 23453 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 23683 23454 else 23455 #if 4th argument is given, try fallback - whereby we take the first word from osi-xpress as basename for the .pc file 23684 23456 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 23685 23457 echo "${ECHO_T}skipped check via pkg-config" >&6 23458 23686 23459 fi 23687 23460 … … 23789 23562 if test $coin_has_asl = notGiven; then 23790 23563 if test -n "$PKG_CONFIG" ; then 23791 # assemble search path for pkg-config 23564 # set search path for pkg-config 23565 # need to export variable to be sure that the following pkg-config gets these values 23792 23566 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 23793 23794 # 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 23795 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig, 23796 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}... 23797 if test -d "${prefix}"; then 23798 PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH" 23799 fi 23800 23801 23802 # Check whether --with-coin-instdir or --without-coin-instdir was given. 23803 if test "${with_coin_instdir+set}" = set; then 23804 withval="$with_coin_instdir" 23805 if test -d "$withval"; then : ; else 23806 { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5 23807 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;} 23808 { (exit 1); exit 1; }; } 23809 fi 23810 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 23811 23812 fi; 23813 23814 # in a classic setup, we want to find uninstalled projects 23815 # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory 23816 # unfortunately, if the user set prefix, then we do not know where the project base directory is located 23817 # 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) 23818 if test -e ../coin_subdirs.txt ; then 23819 for i in `cat ../coin_subdirs.txt` ; do 23820 PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH" 23821 done 23822 fi 23823 23824 if test -e ../../coin_subdirs.txt ; then 23825 for i in `cat ../../coin_subdirs.txt` ; do 23826 PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH" 23827 done 23828 fi 23567 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" 23568 export PKG_CONFIG_PATH 23829 23569 23830 23570 # let pkg-config do it's magic 23831 # need to export variable to be sure that the following pkg-config gets these values23832 export PKG_CONFIG_PATH23833 23571 23834 23572 … … 23870 23608 23871 23609 23610 # reset PKG_CONFIG_PATH variable 23872 23611 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 23873 23612 else 23874 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 23875 echo "${ECHO_T}skipped check via pkg-config" >&6 23613 #if 4th argument is given, try fallback - whereby we take the first word from coinasl as basename for the .pc file 23614 23615 if test x$coin_has_asl != "xyes" ; then 23616 23617 23618 23619 coin_has_asl=notGiven 23620 23621 # check if user wants to skip module in any case 23622 if test x"$COIN_SKIP_PROJECTS" != x; then 23623 for dir in $COIN_SKIP_PROJECTS; do 23624 if test $dir = "ASL"; then 23625 coin_has_asl=skipping 23626 fi 23627 done 23628 fi 23629 23630 ASL_LIBS= 23631 ASL_CFLAGS= 23632 ASL_DATA= 23633 23634 23635 if test $coin_has_asl != "skipping" ; then 23636 # if the project is available and configured, then a project-uninstalled.pc file should have been created 23637 if test -r ../ThirdParty/ASL/coinasl-uninstalled.pc ; then 23638 # read CFLAGS and LIBS from m4_bpatsubst(coinasl, [ .*], [])-uninstalled.pc file 23639 # add CYGPATH_W cludge into include flags 23640 # replace -L${libdir} by absolute path to build directory in linker flags 23641 # we assume that the build directory is ../ThirdParty/ASL/src if this directory exists, otherwise we assume that it is ../ThirdParty/ASL 23642 ASL_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/ASL/coinasl-uninstalled.pc` 23643 projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/ASL/coinasl-uninstalled.pc` 23644 if test "x$projectlibs" != x ; then 23645 if test -d ../ThirdParty/ASL/src ; then 23646 ASL_LIBS="-L`cd ../ThirdParty/ASL/src; pwd` $projectlibs" 23647 else 23648 ASL_LIBS="-L`cd ../ThirdParty/ASL; pwd` $projectlibs" 23649 fi 23650 else 23651 ASL_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/ASL/coinasl-uninstalled.pc` 23652 fi 23653 ASL_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/ASL/coinasl-uninstalled.pc` 23654 23655 23656 23657 23658 cat >>confdefs.h <<\_ACEOF 23659 #define COIN_HAS_ASL 1 23660 _ACEOF 23661 23662 23663 23664 coin_has_asl=yes 23665 echo "$as_me:$LINENO: result: ../ThirdParty/ASL" >&5 23666 echo "${ECHO_T}../ThirdParty/ASL" >&6 23667 else 23668 echo "$as_me:$LINENO: result: $coin_has_asl" >&5 23669 echo "${ECHO_T}$coin_has_asl" >&6 23670 fi 23671 else 23672 echo "$as_me:$LINENO: result: skipping" >&5 23673 echo "${ECHO_T}skipping" >&6 23674 fi 23675 23676 #if user did not disable setting of makefile conditional, do it 23677 23678 23679 if test $coin_has_asl != notGiven && 23680 test $coin_has_asl != skipping; then 23681 COIN_HAS_ASL_TRUE= 23682 COIN_HAS_ASL_FALSE='#' 23683 else 23684 COIN_HAS_ASL_TRUE='#' 23685 COIN_HAS_ASL_FALSE= 23686 fi 23687 23688 23689 fi 23690 23691 23876 23692 fi 23877 23693 … … 24423 24239 # Here list all the files that configure should create (except for the 24424 24240 # configuration header file) 24425 ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile src/OsiCbc/Makefile test/Makefile cbc_addlibs.txtcbc.pc cbc-uninstalled.pc osi-cbc.pc osi-cbc-uninstalled.pc"24241 ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile src/OsiCbc/Makefile test/Makefile cbc.pc cbc-uninstalled.pc osi-cbc.pc osi-cbc-uninstalled.pc" 24426 24242 24427 24243 … … 24631 24447 { (exit 1); exit 1; }; } 24632 24448 fi 24449 if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then 24450 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined. 24451 Usually this means the macro was only invoked conditionally." >&5 24452 echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined. 24453 Usually this means the macro was only invoked conditionally." >&2;} 24454 { (exit 1); exit 1; }; } 24455 fi 24633 24456 if test -z "${COIN_HAS_COINDEPEND_TRUE}" && test -z "${COIN_HAS_COINDEPEND_FALSE}"; then 24634 24457 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINDEPEND\" was never defined. … … 24680 24503 { (exit 1); exit 1; }; } 24681 24504 fi 24505 if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then 24506 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined. 24507 Usually this means the macro was only invoked conditionally." >&5 24508 echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined. 24509 Usually this means the macro was only invoked conditionally." >&2;} 24510 { (exit 1); exit 1; }; } 24511 fi 24682 24512 if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then 24683 24513 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined. … … 24754 24584 Usually this means the macro was only invoked conditionally." >&5 24755 24585 echo "$as_me: error: conditional \"COIN_HAS_XPR\" was never defined. 24586 Usually this means the macro was only invoked conditionally." >&2;} 24587 { (exit 1); exit 1; }; } 24588 fi 24589 if test -z "${COIN_HAS_ASL_TRUE}" && test -z "${COIN_HAS_ASL_FALSE}"; then 24590 { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_ASL\" was never defined. 24591 Usually this means the macro was only invoked conditionally." >&5 24592 echo "$as_me: error: conditional \"COIN_HAS_ASL\" was never defined. 24756 24593 Usually this means the macro was only invoked conditionally." >&2;} 24757 24594 { (exit 1); exit 1; }; } … … 25283 25120 "src/OsiCbc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/OsiCbc/Makefile" ;; 25284 25121 "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 25285 "cbc_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES cbc_addlibs.txt" ;;25286 25122 "cbc.pc" ) CONFIG_FILES="$CONFIG_FILES cbc.pc" ;; 25287 25123 "cbc-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES cbc-uninstalled.pc" ;; … … 25476 25312 s,@PKG_CONFIG@,$PKG_CONFIG,;t t 25477 25313 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 25314 s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t 25315 s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t 25316 s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t 25478 25317 s,@COINDEPEND_LIBS@,$COINDEPEND_LIBS,;t t 25479 25318 s,@COINDEPEND_CFLAGS@,$COINDEPEND_CFLAGS,;t t -
branches/split/Cbc/configure.ac
r1444 r1445 81 81 82 82 AC_COIN_HAS_MODULE(Clp, [osi-clp]) 83 # OsiClp depends on Clp, which the fallback for OsiClp 84 # so if Clp is there, then we assume that also OsiClp will be there and add the corresponding flags to the Clp flags 85 AC_COIN_HAS_MODULE_FALLBACK(Clp, [clp], [../Clp]) 86 if test $coin_has_clp = yes ; then 87 AC_COIN_HAS_MODULE_FALLBACK(OsiClp, [osi-clp], [../Clp], [dodefine=0 doconditional=0]) 88 CLP_CFLAGS="$CLP_CFLAGS $OSICLP_CFLAGS" 89 CLP_LIBS="$CLP_LIBS $OSICLP_LIBS" 90 else 83 if test $coin_has_clp != yes ; then 84 # OsiClp depends on Clp 85 # so if Clp is there, then we assume that also OsiClp will be there and add the corresponding flags to the Clp flags 86 AC_COIN_HAS_MODULE_FALLBACK(Clp, [clp], [../Clp]) 87 if test $coin_has_clp = yes ; then 88 AC_COIN_HAS_MODULE_FALLBACK(OsiClp, [osi-clp], [../Clp], [dodefine=0 doconditional=0]) 89 CLP_CFLAGS="$CLP_CFLAGS $OSICLP_CFLAGS" 90 CLP_LIBS="$CLP_LIBS $OSICLP_LIBS" 91 fi 92 fi 93 if test $coin_has_clp != yes ; then 91 94 AC_MSG_ERROR("Required package Clp unavailable.") 92 95 fi 93 96 94 # we skip fallbacks for the following three 95 AC_COIN_HAS_MODULE(DyLP, [osi-dylp]) 96 AC_COIN_HAS_MODULE(Vol, [osi-vol]) 97 AC_COIN_HAS_MODULE(OsiTests, [osi-unittests], [required=0]) 98 99 AC_COIN_HAS_MODULE(Sample, [coindatasample], [required=0]) 100 AC_COIN_HAS_MODULE_FALLBACK(Sample, [coindatasample], [../Data/Sample], [required=0]) 101 102 AC_COIN_HAS_MODULE(Netlib, [coindatanetlib], [required=0]) 103 AC_COIN_HAS_MODULE_FALLBACK(Netlib, [coindatanetlib], [../Data/Netlib], [required=0]) 104 105 AC_COIN_HAS_MODULE(Miplib3, [coindatamiplib3], [required=0]) 106 AC_COIN_HAS_MODULE_FALLBACK(Miplib3, [coindatamiplib3], [../Data/Miplib3], [required=0]) 97 # we skip fallbacks for the following two 98 AC_COIN_HAS_MODULE(DyLP, [osi-dylp]) 99 AC_COIN_HAS_MODULE(Vol, [osi-vol]) 100 AC_COIN_HAS_MODULE(OsiTests, [osi-unittests], [required=0], [../Osi]) 101 102 AC_COIN_HAS_MODULE(Sample, [coindatasample], [required=0], [../Data/Sample]) 103 AC_COIN_HAS_MODULE(Netlib, [coindatanetlib], [required=0], [../Data/Netlib]) 104 AC_COIN_HAS_MODULE(Miplib3, [coindatamiplib3], [required=0], [../Data/Miplib3]) 107 105 108 106 ############################################################################# … … 111 109 112 110 # Check which third party solvers are available 113 AC_COIN_HAS_MODULE(Cpx, 114 AC_COIN_HAS_MODULE(Glpk, 115 AC_COIN_HAS_MODULE(Grb, 116 AC_COIN_HAS_MODULE(Msk, 117 #AC_COIN_HAS_MODULE(Spx, 118 AC_COIN_HAS_MODULE(Xpr, 111 AC_COIN_HAS_MODULE(Cpx, [osi-cplex]) 112 AC_COIN_HAS_MODULE(Glpk, [osi-glpk]) 113 AC_COIN_HAS_MODULE(Grb, [osi-gurobi]) 114 AC_COIN_HAS_MODULE(Msk, [osi-mosek]) 115 #AC_COIN_HAS_MODULE(Spx, [osi-soplex]) 116 AC_COIN_HAS_MODULE(Xpr, [osi-xpress]) 119 117 120 118 ############################################################################# … … 123 121 124 122 # Ampl Solver library 125 AC_COIN_HAS_MODULE(ASL, [coinasl], [required=0] )123 AC_COIN_HAS_MODULE(ASL, [coinasl], [required=0], [../ThirdParty/ASL]) 126 124 127 125 ############################################################################# … … 344 342 src/OsiCbc/Makefile 345 343 test/Makefile 346 cbc_addlibs.txt347 344 cbc.pc cbc-uninstalled.pc 348 345 osi-cbc.pc osi-cbc-uninstalled.pc]) -
branches/split/Cbc/src/Makefile.in
r1444 r1445 290 290 COIN_HAS_OSITESTS_FALSE = @COIN_HAS_OSITESTS_FALSE@ 291 291 COIN_HAS_OSITESTS_TRUE = @COIN_HAS_OSITESTS_TRUE@ 292 COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@ 293 COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@ 292 294 COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@ 293 295 COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@ … … 296 298 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@ 297 299 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@ 300 COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@ 298 301 CPP = @CPP@ 299 302 CPPFLAGS = @CPPFLAGS@ -
branches/split/Cbc/src/OsiCbc/Makefile.in
r1444 r1445 157 157 COIN_HAS_OSITESTS_FALSE = @COIN_HAS_OSITESTS_FALSE@ 158 158 COIN_HAS_OSITESTS_TRUE = @COIN_HAS_OSITESTS_TRUE@ 159 COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@ 160 COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@ 159 161 COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@ 160 162 COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@ … … 163 165 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@ 164 166 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@ 167 COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@ 165 168 CPP = @CPP@ 166 169 CPPFLAGS = @CPPFLAGS@ -
branches/split/Cbc/test/Makefile.in
r1444 r1445 177 177 COIN_HAS_OSITESTS_FALSE = @COIN_HAS_OSITESTS_FALSE@ 178 178 COIN_HAS_OSITESTS_TRUE = @COIN_HAS_OSITESTS_TRUE@ 179 COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@ 180 COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@ 179 181 COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@ 180 182 COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@ … … 183 185 COIN_HAS_XPR_FALSE = @COIN_HAS_XPR_FALSE@ 184 186 COIN_HAS_XPR_TRUE = @COIN_HAS_XPR_TRUE@ 187 COIN_PKG_CONFIG_PATH = @COIN_PKG_CONFIG_PATH@ 185 188 CPP = @CPP@ 186 189 CPPFLAGS = @CPPFLAGS@
Note: See TracChangeset
for help on using the changeset viewer.