Changeset 1541 for trunk


Ignore:
Timestamp:
Nov 28, 2010 3:40:15 PM (9 years ago)
Author:
stefan
Message:

use new fallback variables to setup addlibs file in fallback mode; use pkg-config or these variables for examples Makefile

Location:
trunk/Cbc
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/Makefile.am

    r1492 r1541  
    129129pkgconfiglib_DATA = cbc.pc osi-cbc.pc
    130130
    131 if COIN_HAS_PKGCONFIG
    132131addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Cbc
    133132       
    134133install-data-hook:
    135134        @$(mkdir_p) "$(addlibsdir)"
     135if COIN_HAS_PKGCONFIG
    136136        PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    137137        $(PKG_CONFIG) --libs cbc > $(addlibsdir)/cbc_addlibs.txt
     138else
     139        echo -L@abs_lib_dir@ -lCbc @CBCLIB_LIBS_INSTALLED@ > $(addlibsdir)/cbc_addlibs.txt
     140endif
    138141
    139142uninstall-hook:
    140143        rm -f $(addlibsdir)/cbc_addlibs.txt
    141 endif
    142144
    143145########################################################################
  • trunk/Cbc/Makefile.in

    r1516 r1541  
    125125ASL_CFLAGS = @ASL_CFLAGS@
    126126ASL_DATA = @ASL_DATA@
     127ASL_DATA_INSTALLED = @ASL_DATA_INSTALLED@
    127128ASL_LIBS = @ASL_LIBS@
    128129AUTOCONF = @AUTOCONF@
     
    133134BUILDTOOLSDIR = @BUILDTOOLSDIR@
    134135CBCGENERIC_CFLAGS = @CBCGENERIC_CFLAGS@
     136CBCGENERIC_CFLAGS_INSTALLED = @CBCGENERIC_CFLAGS_INSTALLED@
    135137CBCGENERIC_LIBS = @CBCGENERIC_LIBS@
     138CBCGENERIC_LIBS_INSTALLED = @CBCGENERIC_LIBS_INSTALLED@
    136139CBCGENERIC_PCLIBS = @CBCGENERIC_PCLIBS@
    137140CBCGENERIC_PCREQUIRES = @CBCGENERIC_PCREQUIRES@
    138141CBCLIB_CFLAGS = @CBCLIB_CFLAGS@
     142CBCLIB_CFLAGS_INSTALLED = @CBCLIB_CFLAGS_INSTALLED@
    139143CBCLIB_LIBS = @CBCLIB_LIBS@
     144CBCLIB_LIBS_INSTALLED = @CBCLIB_LIBS_INSTALLED@
    140145CBCLIB_PCLIBS = @CBCLIB_PCLIBS@
    141146CBCLIB_PCREQUIRES = @CBCLIB_PCREQUIRES@
     
    149154CLP_CFLAGS = @CLP_CFLAGS@
    150155CLP_DATA = @CLP_DATA@
     156CLP_DATA_INSTALLED = @CLP_DATA_INSTALLED@
    151157CLP_LIBS = @CLP_LIBS@
    152158COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
    153159COINDEPEND_DATA = @COINDEPEND_DATA@
     160COINDEPEND_DATA_INSTALLED = @COINDEPEND_DATA_INSTALLED@
    154161COINDEPEND_LIBS = @COINDEPEND_LIBS@
     162COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
     163COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
     164COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@
     165COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@
    155166COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    156167COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     
    191202CPX_CFLAGS = @CPX_CFLAGS@
    192203CPX_DATA = @CPX_DATA@
     204CPX_DATA_INSTALLED = @CPX_DATA_INSTALLED@
    193205CPX_LIBS = @CPX_LIBS@
    194206CXX = @CXX@
     
    204216DYLP_CFLAGS = @DYLP_CFLAGS@
    205217DYLP_DATA = @DYLP_DATA@
     218DYLP_DATA_INSTALLED = @DYLP_DATA_INSTALLED@
    206219DYLP_LIBS = @DYLP_LIBS@
    207220ECHO = @ECHO@
     
    216229GLPK_CFLAGS = @GLPK_CFLAGS@
    217230GLPK_DATA = @GLPK_DATA@
     231GLPK_DATA_INSTALLED = @GLPK_DATA_INSTALLED@
    218232GLPK_LIBS = @GLPK_LIBS@
    219233GRB_CFLAGS = @GRB_CFLAGS@
    220234GRB_DATA = @GRB_DATA@
     235GRB_DATA_INSTALLED = @GRB_DATA_INSTALLED@
    221236GRB_LIBS = @GRB_LIBS@
    222237HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
     
    241256MIPLIB3_CFLAGS = @MIPLIB3_CFLAGS@
    242257MIPLIB3_DATA = @MIPLIB3_DATA@
     258MIPLIB3_DATA_INSTALLED = @MIPLIB3_DATA_INSTALLED@
    243259MIPLIB3_LIBS = @MIPLIB3_LIBS@
    244260MPICC = @MPICC@
     
    246262MSK_CFLAGS = @MSK_CFLAGS@
    247263MSK_DATA = @MSK_DATA@
     264MSK_DATA_INSTALLED = @MSK_DATA_INSTALLED@
    248265MSK_LIBS = @MSK_LIBS@
    249266NETLIB_CFLAGS = @NETLIB_CFLAGS@
    250267NETLIB_DATA = @NETLIB_DATA@
     268NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@
    251269NETLIB_LIBS = @NETLIB_LIBS@
    252270OBJEXT = @OBJEXT@
     
    275293OSITESTS_CFLAGS = @OSITESTS_CFLAGS@
    276294OSITESTS_DATA = @OSITESTS_DATA@
     295OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@
    277296OSITESTS_LIBS = @OSITESTS_LIBS@
    278297PACKAGE = @PACKAGE@
     
    289308SAMPLE_CFLAGS = @SAMPLE_CFLAGS@
    290309SAMPLE_DATA = @SAMPLE_DATA@
     310SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@
    291311SAMPLE_LIBS = @SAMPLE_LIBS@
    292312SET_MAKE = @SET_MAKE@
     
    294314SPX_CFLAGS = @SPX_CFLAGS@
    295315SPX_DATA = @SPX_DATA@
     316SPX_DATA_INSTALLED = @SPX_DATA_INSTALLED@
    296317SPX_LIBS = @SPX_LIBS@
    297318STRIP = @STRIP@
     
    299320VOL_CFLAGS = @VOL_CFLAGS@
    300321VOL_DATA = @VOL_DATA@
     322VOL_DATA_INSTALLED = @VOL_DATA_INSTALLED@
    301323VOL_LIBS = @VOL_LIBS@
    302324VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    303325XPR_CFLAGS = @XPR_CFLAGS@
    304326XPR_DATA = @XPR_DATA@
     327XPR_DATA_INSTALLED = @XPR_DATA_INSTALLED@
    305328XPR_LIBS = @XPR_LIBS@
    306329abs_bin_dir = @abs_bin_dir@
     
    408431pkgconfiglibdir = $(libdir)/pkgconfig
    409432pkgconfiglib_DATA = cbc.pc osi-cbc.pc
    410 @COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Cbc
     433addlibsdir = $(DESTDIR)$(datadir)/coin/doc/Cbc
    411434
    412435########################################################################
     
    820843        @echo "This command is intended for maintainers to use"
    821844        @echo "it deletes files that may require special tools to rebuild."
    822 @COIN_HAS_PKGCONFIG_FALSE@install-data-hook:
    823 @COIN_HAS_PKGCONFIG_FALSE@uninstall-hook:
    824845clean: clean-recursive
    825846
     
    927948.PHONY: test unitTest doxydoc
    928949
    929 @COIN_HAS_PKGCONFIG_TRUE@install-data-hook:
    930 @COIN_HAS_PKGCONFIG_TRUE@       @$(mkdir_p) "$(addlibsdir)"
     950install-data-hook:
     951        @$(mkdir_p) "$(addlibsdir)"
    931952@COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ \
    932953@COIN_HAS_PKGCONFIG_TRUE@       $(PKG_CONFIG) --libs cbc > $(addlibsdir)/cbc_addlibs.txt
    933 
    934 @COIN_HAS_PKGCONFIG_TRUE@uninstall-hook:
    935 @COIN_HAS_PKGCONFIG_TRUE@       rm -f $(addlibsdir)/cbc_addlibs.txt
     954@COIN_HAS_PKGCONFIG_FALSE@      echo -L@abs_lib_dir@ -lCbc @CBCLIB_LIBS_INSTALLED@ > $(addlibsdir)/cbc_addlibs.txt
     955
     956uninstall-hook:
     957        rm -f $(addlibsdir)/cbc_addlibs.txt
    936958
    937959install-doc: $(DocFiles)
  • trunk/Cbc/configure

    r1536 r1541  
    473473#endif"
    474474
    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 PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CBC_SVN_REV CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT 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 COIN_PKG_CONFIG_PATH_UNINSTALLED COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA CBCLIB_CFLAGS CBCLIB_LIBS CBCLIB_PCLIBS CBCLIB_PCREQUIRES CBCGENERIC_CFLAGS CBCGENERIC_LIBS CBCGENERIC_PCLIBS CBCGENERIC_PCREQUIRES COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA COIN_HAS_CLP_TRUE COIN_HAS_CLP_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 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 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 SPX_LIBS SPX_CFLAGS SPX_DATA COIN_HAS_SPX_TRUE COIN_HAS_SPX_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_SPX_TRUE OSICBC_DFLT_SOLVER_SPX_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     475ac_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 PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CBC_SVN_REV COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_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 COIN_PKG_CONFIG_PATH_UNINSTALLED COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA CBCLIB_CFLAGS CBCLIB_LIBS CBCLIB_PCLIBS CBCLIB_PCREQUIRES CBCGENERIC_CFLAGS CBCGENERIC_LIBS CBCGENERIC_PCLIBS CBCGENERIC_PCREQUIRES CBCLIB_CFLAGS_INSTALLED CBCLIB_LIBS_INSTALLED CBCGENERIC_CFLAGS_INSTALLED CBCGENERIC_LIBS_INSTALLED COINDEPEND_DATA_INSTALLED COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA CLP_DATA_INSTALLED COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA OSITESTS_DATA_INSTALLED COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA SAMPLE_DATA_INSTALLED COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA NETLIB_DATA_INSTALLED COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE MIPLIB3_LIBS MIPLIB3_CFLAGS MIPLIB3_DATA MIPLIB3_DATA_INSTALLED COIN_HAS_MIPLIB3_TRUE COIN_HAS_MIPLIB3_FALSE DYLP_LIBS DYLP_CFLAGS DYLP_DATA DYLP_DATA_INSTALLED COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE VOL_LIBS VOL_CFLAGS VOL_DATA VOL_DATA_INSTALLED COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA CPX_DATA_INSTALLED COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA GLPK_DATA_INSTALLED COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GRB_LIBS GRB_CFLAGS GRB_DATA GRB_DATA_INSTALLED COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA MSK_DATA_INSTALLED COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE SPX_LIBS SPX_CFLAGS SPX_DATA SPX_DATA_INSTALLED COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA XPR_DATA_INSTALLED COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA ASL_DATA_INSTALLED COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SPX_TRUE OSICBC_DFLT_SOLVER_SPX_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    20052005fi
    20062006
     2007# add automake conditional so we can recognize cl compiler in makefile
     2008coin_cc_is_cl=false
     2009if test x"$CXX" != x; then
     2010  case "$CXX" in
     2011    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     2012      coin_cc_is_cl=true
     2013      ;;
     2014  esac
     2015fi
     2016
     2017
     2018if test $coin_cc_is_cl = true; then
     2019  COIN_CC_IS_CL_TRUE=
     2020  COIN_CC_IS_CL_FALSE='#'
     2021else
     2022  COIN_CC_IS_CL_TRUE='#'
     2023  COIN_CC_IS_CL_FALSE=
     2024fi
     2025
     2026
    20072027
    20082028
     
    37133733
    37143734
     3735coin_cxx_is_cl=false
    37153736# It seems that we need to cleanup something here for the Windows
    37163737case "$CXX" in
     
    37183739    sed -e 's/^void exit (int);//' confdefs.h >> confdefs.hh
    37193740    mv confdefs.hh confdefs.h
     3741    coin_cxx_is_cl=true
    37203742    ;;
    37213743esac
     3744
     3745# add automake conditional so we can recognize cl compiler in makefile
     3746
     3747
     3748if test $coin_cxx_is_cl = true; then
     3749  COIN_CXX_IS_CL_TRUE=
     3750  COIN_CXX_IS_CL_FALSE='#'
     3751else
     3752  COIN_CXX_IS_CL_TRUE='#'
     3753  COIN_CXX_IS_CL_FALSE=
     3754fi
     3755
    37223756
    37233757# Autoconf incorrectly concludes that cl recognises -g. It doesn't.
     
    59185952*-*-irix6*)
    59195953  # Find out which ABI we are using.
    5920   echo '#line 5920 "configure"' > conftest.$ac_ext
     5954  echo '#line 5954 "configure"' > conftest.$ac_ext
    59215955  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    59225956  (eval $ac_compile) 2>&5
     
    70527086
    70537087# Provide some information about the compiler.
    7054 echo "$as_me:7054:" \
     7088echo "$as_me:7088:" \
    70557089     "checking for Fortran 77 compiler version" >&5
    70567090ac_compiler=`set X $ac_compile; echo $2`
     
    81198153   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81208154   -e 's:$: $lt_compiler_flag:'`
    8121    (eval echo "\"\$as_me:8121: $lt_compile\"" >&5)
     8155   (eval echo "\"\$as_me:8155: $lt_compile\"" >&5)
    81228156   (eval "$lt_compile" 2>conftest.err)
    81238157   ac_status=$?
    81248158   cat conftest.err >&5
    8125    echo "$as_me:8125: \$? = $ac_status" >&5
     8159   echo "$as_me:8159: \$? = $ac_status" >&5
    81268160   if (exit $ac_status) && test -s "$ac_outfile"; then
    81278161     # The compiler can only warn and ignore the option if not recognized
     
    83878421   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    83888422   -e 's:$: $lt_compiler_flag:'`
    8389    (eval echo "\"\$as_me:8389: $lt_compile\"" >&5)
     8423   (eval echo "\"\$as_me:8423: $lt_compile\"" >&5)
    83908424   (eval "$lt_compile" 2>conftest.err)
    83918425   ac_status=$?
    83928426   cat conftest.err >&5
    8393    echo "$as_me:8393: \$? = $ac_status" >&5
     8427   echo "$as_me:8427: \$? = $ac_status" >&5
    83948428   if (exit $ac_status) && test -s "$ac_outfile"; then
    83958429     # The compiler can only warn and ignore the option if not recognized
     
    84918525   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    84928526   -e 's:$: $lt_compiler_flag:'`
    8493    (eval echo "\"\$as_me:8493: $lt_compile\"" >&5)
     8527   (eval echo "\"\$as_me:8527: $lt_compile\"" >&5)
    84948528   (eval "$lt_compile" 2>out/conftest.err)
    84958529   ac_status=$?
    84968530   cat out/conftest.err >&5
    8497    echo "$as_me:8497: \$? = $ac_status" >&5
     8531   echo "$as_me:8531: \$? = $ac_status" >&5
    84988532   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    84998533   then
     
    1083610870  lt_status=$lt_dlunknown
    1083710871  cat > conftest.$ac_ext <<EOF
    10838 #line 10838 "configure"
     10872#line 10872 "configure"
    1083910873#include "confdefs.h"
    1084010874
     
    1093610970  lt_status=$lt_dlunknown
    1093710971  cat > conftest.$ac_ext <<EOF
    10938 #line 10938 "configure"
     10972#line 10972 "configure"
    1093910973#include "confdefs.h"
    1094010974
     
    1328013314   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1328113315   -e 's:$: $lt_compiler_flag:'`
    13282    (eval echo "\"\$as_me:13282: $lt_compile\"" >&5)
     13316   (eval echo "\"\$as_me:13316: $lt_compile\"" >&5)
    1328313317   (eval "$lt_compile" 2>conftest.err)
    1328413318   ac_status=$?
    1328513319   cat conftest.err >&5
    13286    echo "$as_me:13286: \$? = $ac_status" >&5
     13320   echo "$as_me:13320: \$? = $ac_status" >&5
    1328713321   if (exit $ac_status) && test -s "$ac_outfile"; then
    1328813322     # The compiler can only warn and ignore the option if not recognized
     
    1338413418   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1338513419   -e 's:$: $lt_compiler_flag:'`
    13386    (eval echo "\"\$as_me:13386: $lt_compile\"" >&5)
     13420   (eval echo "\"\$as_me:13420: $lt_compile\"" >&5)
    1338713421   (eval "$lt_compile" 2>out/conftest.err)
    1338813422   ac_status=$?
    1338913423   cat out/conftest.err >&5
    13390    echo "$as_me:13390: \$? = $ac_status" >&5
     13424   echo "$as_me:13424: \$? = $ac_status" >&5
    1339113425   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1339213426   then
     
    1495414988   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1495514989   -e 's:$: $lt_compiler_flag:'`
    14956    (eval echo "\"\$as_me:14956: $lt_compile\"" >&5)
     14990   (eval echo "\"\$as_me:14990: $lt_compile\"" >&5)
    1495714991   (eval "$lt_compile" 2>conftest.err)
    1495814992   ac_status=$?
    1495914993   cat conftest.err >&5
    14960    echo "$as_me:14960: \$? = $ac_status" >&5
     14994   echo "$as_me:14994: \$? = $ac_status" >&5
    1496114995   if (exit $ac_status) && test -s "$ac_outfile"; then
    1496214996     # The compiler can only warn and ignore the option if not recognized
     
    1505815092   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1505915093   -e 's:$: $lt_compiler_flag:'`
    15060    (eval echo "\"\$as_me:15060: $lt_compile\"" >&5)
     15094   (eval echo "\"\$as_me:15094: $lt_compile\"" >&5)
    1506115095   (eval "$lt_compile" 2>out/conftest.err)
    1506215096   ac_status=$?
    1506315097   cat out/conftest.err >&5
    15064    echo "$as_me:15064: \$? = $ac_status" >&5
     15098   echo "$as_me:15098: \$? = $ac_status" >&5
    1506515099   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1506615100   then
     
    1726517299   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1726617300   -e 's:$: $lt_compiler_flag:'`
    17267    (eval echo "\"\$as_me:17267: $lt_compile\"" >&5)
     17301   (eval echo "\"\$as_me:17301: $lt_compile\"" >&5)
    1726817302   (eval "$lt_compile" 2>conftest.err)
    1726917303   ac_status=$?
    1727017304   cat conftest.err >&5
    17271    echo "$as_me:17271: \$? = $ac_status" >&5
     17305   echo "$as_me:17305: \$? = $ac_status" >&5
    1727217306   if (exit $ac_status) && test -s "$ac_outfile"; then
    1727317307     # The compiler can only warn and ignore the option if not recognized
     
    1753317567   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1753417568   -e 's:$: $lt_compiler_flag:'`
    17535    (eval echo "\"\$as_me:17535: $lt_compile\"" >&5)
     17569   (eval echo "\"\$as_me:17569: $lt_compile\"" >&5)
    1753617570   (eval "$lt_compile" 2>conftest.err)
    1753717571   ac_status=$?
    1753817572   cat conftest.err >&5
    17539    echo "$as_me:17539: \$? = $ac_status" >&5
     17573   echo "$as_me:17573: \$? = $ac_status" >&5
    1754017574   if (exit $ac_status) && test -s "$ac_outfile"; then
    1754117575     # The compiler can only warn and ignore the option if not recognized
     
    1763717671   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1763817672   -e 's:$: $lt_compiler_flag:'`
    17639    (eval echo "\"\$as_me:17639: $lt_compile\"" >&5)
     17673   (eval echo "\"\$as_me:17673: $lt_compile\"" >&5)
    1764017674   (eval "$lt_compile" 2>out/conftest.err)
    1764117675   ac_status=$?
    1764217676   cat out/conftest.err >&5
    17643    echo "$as_me:17643: \$? = $ac_status" >&5
     17677   echo "$as_me:17677: \$? = $ac_status" >&5
    1764417678   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1764517679   then
     
    2087620910coin_has_coindepend=notGiven
    2087720911COINDEPEND_LIBS=
     20912COINDEPEND_LIBS_INSTALLED=
    2087820913COINDEPEND_CFLAGS=
     20914COINDEPEND_CFLAGS_INSTALLED=
    2087920915COINDEPEND_DATA=
     20916COINDEPEND_DATA_INSTALLED=
    2088020917
    2088120918# initial list of dependencies is "cgl osi coinutils", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2088420921# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2088520922# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     20923# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2088620924# also, we setup the DATA variable
    2088720925allproj=""
    2088820926allpcfiles=""
     20927allpcifiles=""
    2088920928while test "x$projtoprocess" != x ; do
    2089020929
     
    2089620935    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2089720936      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    20898       if test -r "$dir/$proj-uninstalled.pc" ; then
     20937      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2089920938        pcfile="$dir/$proj-uninstalled.pc"
     20939        if test -r "$dir/${proj}.pc" ; then
     20940          pcifile="$dir/${proj}.pc"
     20941        else
     20942          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     20943echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     20944          pcifile=
     20945        fi
    2090020946        break
    2090120947      fi
     
    2091120957      projtoprocess=${projtoprocess/$proj/$projrequires}
    2091220958
    20913       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    20914       if test "x$allproj" = x ; then
    20915         COINDEPEND_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     20959      # read DATA from $pcfile, if _DATA is still empty
     20960      if test "x$COINDEPEND_DATA" = x ; then
     20961        projdatadir=
     20962        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     20963        eval `sh -c "$pcfilemod"`
     20964        COINDEPEND_DATA="$projdatadir"
    2091620965      fi
    2091720966
     
    2092420973      allproj=fail
    2092520974      break 2
     20975    fi
     20976
     20977    if test "x$pcifile" != x ; then
     20978      allpcifiles="$pcifile:$allpcifiles"
     20979
     20980      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     20981      if test "x$COINDEPEND_DATA_INSTALLED" = x ; then
     20982        projdatadir=
     20983        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     20984        eval `sh -c "$pcifilemod"`
     20985        COINDEPEND_DATA_INSTALLED="$projdatadir"
     20986      fi
     20987
    2092620988    fi
    2092720989
     
    2095421016    fi
    2095521017
    20956     # reconstruct the directory where the .pc file is located
    20957     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    20958 
    20959     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    20960     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     21018    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     21019    #   replace "Libs:" by "echo projlibs="
     21020    #   replace "Cflags:" by "echo projcflags="
     21021    #   remove every line starting with <some word>:
     21022    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     21023
     21024    # set projcflags and projlibs variables by running $pcfilemod
     21025    eval `sh -c "$pcfilemod"`
     21026
     21027    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2096121028    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2096221029    COINDEPEND_CFLAGS="$projcflags $COINDEPEND_CFLAGS"
    2096321030
    20964     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    20965     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    20966     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    20967     if test "x$projlibs" != x ; then
    20968       if test -d "${pcfiledir}/src" ; then
    20969         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    20970       else
    20971         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    20972       fi
    20973     else
    20974       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    20975     fi
     21031    # set LIBS variable
    2097621032    COINDEPEND_LIBS="$projlibs $COINDEPEND_LIBS"
    2097721033
     
    2098121037  done
    2098221038  IFS="$save_IFS"
     21039
     21040
     21041  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     21042  # important is here again to obey the reverse order that has been setup before,
     21043  # since then libraries that are required by several others should be after these other libraries
     21044  pcfilesprocessed=""
     21045
     21046  save_IFS="$IFS"
     21047  IFS=":"
     21048  for pcfile in $allpcifiles ; do
     21049
     21050    # if $pcfile has been processed already, skip this round
     21051    if test "x$pcfilesprocessed" != x ; then
     21052      for pcfiledone in $pcfilesprocessed ; do
     21053        if test "$pcfiledone" = "$pcfile" ; then
     21054          continue 2
     21055        fi
     21056      done
     21057    fi
     21058
     21059    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     21060    #   replace "Libs:" by "echo projlibs="
     21061    #   replace "Cflags:" by "echo projcflags="
     21062    #   remove every line starting with <some word>:
     21063    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     21064
     21065    # set projcflags and projlibs variables by running $pcfilemod
     21066    eval `sh -c "$pcfilemod"`
     21067
     21068    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     21069    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21070    COINDEPEND_CFLAGS_INSTALLED="$projcflags $COINDEPEND_CFLAGS_INSTALLED"
     21071
     21072    # set LIBS variable
     21073    COINDEPEND_LIBS_INSTALLED="$projlibs $COINDEPEND_LIBS_INSTALLED"
     21074
     21075    # remember that we have processed $pcfile
     21076    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     21077
     21078  done
     21079  IFS="$save_IFS"
     21080
    2098321081
    2098421082  # finish up
     
    2099621094    CBCLIB_CFLAGS="$COINDEPEND_CFLAGS $CBCLIB_CFLAGS"
    2099721095    CBCLIB_LIBS="$COINDEPEND_LIBS $CBCLIB_LIBS"
     21096    CBCLIB_CFLAGS_INSTALLED="$COINDEPEND_CFLAGS_INSTALLED $CBCLIB_CFLAGS_INSTALLED"
     21097    CBCLIB_LIBS_INSTALLED="$COINDEPEND_LIBS_INSTALLED $CBCLIB_LIBS_INSTALLED"
     21098
     21099
    2099821100
    2099921101    CBCGENERIC_PCREQUIRES="cgl osi coinutils $CBCGENERIC_PCREQUIRES"
    2100021102    CBCGENERIC_CFLAGS="$COINDEPEND_CFLAGS $CBCGENERIC_CFLAGS"
    2100121103    CBCGENERIC_LIBS="$COINDEPEND_LIBS $CBCGENERIC_LIBS"
     21104    CBCGENERIC_CFLAGS_INSTALLED="$COINDEPEND_CFLAGS_INSTALLED $CBCGENERIC_CFLAGS_INSTALLED"
     21105    CBCGENERIC_LIBS_INSTALLED="$COINDEPEND_LIBS_INSTALLED $CBCGENERIC_LIBS_INSTALLED"
     21106
     21107
     21108
    2100221109
    2100321110
     
    2101521122echo "$as_me: CoinDepend DATA   is  $COINDEPEND_DATA" >&6;}
    2101621123    fi
    21017 
     21124    if test -n "$COINDEPEND_CFLAGS_INSTALLED" ; then
     21125      { echo "$as_me:$LINENO: CoinDepend CFLAGS_INSTALLED are $COINDEPEND_CFLAGS_INSTALLED" >&5
     21126echo "$as_me: CoinDepend CFLAGS_INSTALLED are $COINDEPEND_CFLAGS_INSTALLED" >&6;}
     21127    fi
     21128    if test -n "$COINDEPEND_LIBS_INSTALLED" ; then
     21129      { echo "$as_me:$LINENO: CoinDepend LIBS_INSTALLED   are $COINDEPEND_LIBS_INSTALLED" >&5
     21130echo "$as_me: CoinDepend LIBS_INSTALLED   are $COINDEPEND_LIBS_INSTALLED" >&6;}
     21131    fi
     21132    if test -n "$COINDEPEND_DATA_INSTALLED" ; then
     21133      { echo "$as_me:$LINENO: CoinDepend DATA_INSTALLED   is  $COINDEPEND_DATA_INSTALLED" >&5
     21134echo "$as_me: CoinDepend DATA_INSTALLED   is  $COINDEPEND_DATA_INSTALLED" >&6;}
     21135    fi
     21136
     21137      { echo "$as_me:$LINENO: " >&5
     21138echo "$as_me: " >&6;}
    2101821139      { echo "$as_me:$LINENO: CbcLib CFLAGS are $CBCLIB_CFLAGS" >&5
    2101921140echo "$as_me: CbcLib CFLAGS are $CBCLIB_CFLAGS" >&6;}
    2102021141      { echo "$as_me:$LINENO: CbcLib LIBS   are $CBCLIB_LIBS" >&5
    2102121142echo "$as_me: CbcLib LIBS   are $CBCLIB_LIBS" >&6;}
    21022 
     21143      { echo "$as_me:$LINENO: CbcLib CFLAGS_INSTALLED are $CBCLIB_CFLAGS_INSTALLED" >&5
     21144echo "$as_me: CbcLib CFLAGS_INSTALLED are $CBCLIB_CFLAGS_INSTALLED" >&6;}
     21145      { echo "$as_me:$LINENO: CbcLib LIBS_INSTALLED   are $CBCLIB_LIBS_INSTALLED" >&5
     21146echo "$as_me: CbcLib LIBS_INSTALLED   are $CBCLIB_LIBS_INSTALLED" >&6;}
     21147
     21148      { echo "$as_me:$LINENO: " >&5
     21149echo "$as_me: " >&6;}
    2102321150      { echo "$as_me:$LINENO: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&5
    2102421151echo "$as_me: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&6;}
    2102521152      { echo "$as_me:$LINENO: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&5
    2102621153echo "$as_me: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&6;}
     21154      { echo "$as_me:$LINENO: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&5
     21155echo "$as_me: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&6;}
     21156      { echo "$as_me:$LINENO: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&5
     21157echo "$as_me: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&6;}
    2102721158
    2102821159  fi
     
    2125521386coin_has_clp=notGiven
    2125621387CLP_LIBS=
     21388CLP_LIBS_INSTALLED=
    2125721389CLP_CFLAGS=
     21390CLP_CFLAGS_INSTALLED=
    2125821391CLP_DATA=
     21392CLP_DATA_INSTALLED=
    2125921393
    2126021394# initial list of dependencies is "osi-clp", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2126321397# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2126421398# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     21399# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2126521400# also, we setup the DATA variable
    2126621401allproj=""
    2126721402allpcfiles=""
     21403allpcifiles=""
    2126821404while test "x$projtoprocess" != x ; do
    2126921405
     
    2127521411    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2127621412      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    21277       if test -r "$dir/$proj-uninstalled.pc" ; then
     21413      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2127821414        pcfile="$dir/$proj-uninstalled.pc"
     21415        if test -r "$dir/${proj}.pc" ; then
     21416          pcifile="$dir/${proj}.pc"
     21417        else
     21418          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     21419echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     21420          pcifile=
     21421        fi
    2127921422        break
    2128021423      fi
     
    2129021433      projtoprocess=${projtoprocess/$proj/$projrequires}
    2129121434
    21292       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    21293       if test "x$allproj" = x ; then
    21294         CLP_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     21435      # read DATA from $pcfile, if _DATA is still empty
     21436      if test "x$CLP_DATA" = x ; then
     21437        projdatadir=
     21438        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     21439        eval `sh -c "$pcfilemod"`
     21440        CLP_DATA="$projdatadir"
    2129521441      fi
    2129621442
     
    2130321449      allproj=fail
    2130421450      break 2
     21451    fi
     21452
     21453    if test "x$pcifile" != x ; then
     21454      allpcifiles="$pcifile:$allpcifiles"
     21455
     21456      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     21457      if test "x$CLP_DATA_INSTALLED" = x ; then
     21458        projdatadir=
     21459        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     21460        eval `sh -c "$pcifilemod"`
     21461        CLP_DATA_INSTALLED="$projdatadir"
     21462      fi
     21463
    2130521464    fi
    2130621465
     
    2133321492    fi
    2133421493
    21335     # reconstruct the directory where the .pc file is located
    21336     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    21337 
    21338     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    21339     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     21494    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     21495    #   replace "Libs:" by "echo projlibs="
     21496    #   replace "Cflags:" by "echo projcflags="
     21497    #   remove every line starting with <some word>:
     21498    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     21499
     21500    # set projcflags and projlibs variables by running $pcfilemod
     21501    eval `sh -c "$pcfilemod"`
     21502
     21503    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2134021504    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2134121505    CLP_CFLAGS="$projcflags $CLP_CFLAGS"
    2134221506
    21343     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    21344     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    21345     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    21346     if test "x$projlibs" != x ; then
    21347       if test -d "${pcfiledir}/src" ; then
    21348         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    21349       else
    21350         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    21351       fi
    21352     else
    21353       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    21354     fi
     21507    # set LIBS variable
    2135521508    CLP_LIBS="$projlibs $CLP_LIBS"
    2135621509
     
    2136021513  done
    2136121514  IFS="$save_IFS"
     21515
     21516
     21517  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     21518  # important is here again to obey the reverse order that has been setup before,
     21519  # since then libraries that are required by several others should be after these other libraries
     21520  pcfilesprocessed=""
     21521
     21522  save_IFS="$IFS"
     21523  IFS=":"
     21524  for pcfile in $allpcifiles ; do
     21525
     21526    # if $pcfile has been processed already, skip this round
     21527    if test "x$pcfilesprocessed" != x ; then
     21528      for pcfiledone in $pcfilesprocessed ; do
     21529        if test "$pcfiledone" = "$pcfile" ; then
     21530          continue 2
     21531        fi
     21532      done
     21533    fi
     21534
     21535    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     21536    #   replace "Libs:" by "echo projlibs="
     21537    #   replace "Cflags:" by "echo projcflags="
     21538    #   remove every line starting with <some word>:
     21539    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     21540
     21541    # set projcflags and projlibs variables by running $pcfilemod
     21542    eval `sh -c "$pcfilemod"`
     21543
     21544    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     21545    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21546    CLP_CFLAGS_INSTALLED="$projcflags $CLP_CFLAGS_INSTALLED"
     21547
     21548    # set LIBS variable
     21549    CLP_LIBS_INSTALLED="$projlibs $CLP_LIBS_INSTALLED"
     21550
     21551    # remember that we have processed $pcfile
     21552    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     21553
     21554  done
     21555  IFS="$save_IFS"
     21556
    2136221557
    2136321558  # finish up
     
    2137521570    CBCLIB_CFLAGS="$CLP_CFLAGS $CBCLIB_CFLAGS"
    2137621571    CBCLIB_LIBS="$CLP_LIBS $CBCLIB_LIBS"
     21572    CBCLIB_CFLAGS_INSTALLED="$CLP_CFLAGS_INSTALLED $CBCLIB_CFLAGS_INSTALLED"
     21573    CBCLIB_LIBS_INSTALLED="$CLP_LIBS_INSTALLED $CBCLIB_LIBS_INSTALLED"
     21574
     21575
    2137721576
    2137821577    CBCGENERIC_PCREQUIRES="osi-clp $CBCGENERIC_PCREQUIRES"
    2137921578    CBCGENERIC_CFLAGS="$CLP_CFLAGS $CBCGENERIC_CFLAGS"
    2138021579    CBCGENERIC_LIBS="$CLP_LIBS $CBCGENERIC_LIBS"
     21580    CBCGENERIC_CFLAGS_INSTALLED="$CLP_CFLAGS_INSTALLED $CBCGENERIC_CFLAGS_INSTALLED"
     21581    CBCGENERIC_LIBS_INSTALLED="$CLP_LIBS_INSTALLED $CBCGENERIC_LIBS_INSTALLED"
     21582
     21583
     21584
    2138121585
    2138221586
     
    2139421598echo "$as_me: Clp DATA   is  $CLP_DATA" >&6;}
    2139521599    fi
    21396 
     21600    if test -n "$CLP_CFLAGS_INSTALLED" ; then
     21601      { echo "$as_me:$LINENO: Clp CFLAGS_INSTALLED are $CLP_CFLAGS_INSTALLED" >&5
     21602echo "$as_me: Clp CFLAGS_INSTALLED are $CLP_CFLAGS_INSTALLED" >&6;}
     21603    fi
     21604    if test -n "$CLP_LIBS_INSTALLED" ; then
     21605      { echo "$as_me:$LINENO: Clp LIBS_INSTALLED   are $CLP_LIBS_INSTALLED" >&5
     21606echo "$as_me: Clp LIBS_INSTALLED   are $CLP_LIBS_INSTALLED" >&6;}
     21607    fi
     21608    if test -n "$CLP_DATA_INSTALLED" ; then
     21609      { echo "$as_me:$LINENO: Clp DATA_INSTALLED   is  $CLP_DATA_INSTALLED" >&5
     21610echo "$as_me: Clp DATA_INSTALLED   is  $CLP_DATA_INSTALLED" >&6;}
     21611    fi
     21612
     21613      { echo "$as_me:$LINENO: " >&5
     21614echo "$as_me: " >&6;}
    2139721615      { echo "$as_me:$LINENO: CbcLib CFLAGS are $CBCLIB_CFLAGS" >&5
    2139821616echo "$as_me: CbcLib CFLAGS are $CBCLIB_CFLAGS" >&6;}
    2139921617      { echo "$as_me:$LINENO: CbcLib LIBS   are $CBCLIB_LIBS" >&5
    2140021618echo "$as_me: CbcLib LIBS   are $CBCLIB_LIBS" >&6;}
    21401 
     21619      { echo "$as_me:$LINENO: CbcLib CFLAGS_INSTALLED are $CBCLIB_CFLAGS_INSTALLED" >&5
     21620echo "$as_me: CbcLib CFLAGS_INSTALLED are $CBCLIB_CFLAGS_INSTALLED" >&6;}
     21621      { echo "$as_me:$LINENO: CbcLib LIBS_INSTALLED   are $CBCLIB_LIBS_INSTALLED" >&5
     21622echo "$as_me: CbcLib LIBS_INSTALLED   are $CBCLIB_LIBS_INSTALLED" >&6;}
     21623
     21624      { echo "$as_me:$LINENO: " >&5
     21625echo "$as_me: " >&6;}
    2140221626      { echo "$as_me:$LINENO: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&5
    2140321627echo "$as_me: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&6;}
    2140421628      { echo "$as_me:$LINENO: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&5
    2140521629echo "$as_me: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&6;}
     21630      { echo "$as_me:$LINENO: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&5
     21631echo "$as_me: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&6;}
     21632      { echo "$as_me:$LINENO: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&5
     21633echo "$as_me: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&6;}
    2140621634
    2140721635  fi
     
    2160821836coin_has_ositests=notGiven
    2160921837OSITESTS_LIBS=
     21838OSITESTS_LIBS_INSTALLED=
    2161021839OSITESTS_CFLAGS=
     21840OSITESTS_CFLAGS_INSTALLED=
    2161121841OSITESTS_DATA=
     21842OSITESTS_DATA_INSTALLED=
    2161221843
    2161321844# initial list of dependencies is "osi-unittests", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2161621847# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2161721848# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     21849# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2161821850# also, we setup the DATA variable
    2161921851allproj=""
    2162021852allpcfiles=""
     21853allpcifiles=""
    2162121854while test "x$projtoprocess" != x ; do
    2162221855
     
    2162821861    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2162921862      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    21630       if test -r "$dir/$proj-uninstalled.pc" ; then
     21863      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2163121864        pcfile="$dir/$proj-uninstalled.pc"
     21865        if test -r "$dir/${proj}.pc" ; then
     21866          pcifile="$dir/${proj}.pc"
     21867        else
     21868          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     21869echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     21870          pcifile=
     21871        fi
    2163221872        break
    2163321873      fi
     
    2164321883      projtoprocess=${projtoprocess/$proj/$projrequires}
    2164421884
    21645       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    21646       if test "x$allproj" = x ; then
    21647         OSITESTS_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     21885      # read DATA from $pcfile, if _DATA is still empty
     21886      if test "x$OSITESTS_DATA" = x ; then
     21887        projdatadir=
     21888        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     21889        eval `sh -c "$pcfilemod"`
     21890        OSITESTS_DATA="$projdatadir"
    2164821891      fi
    2164921892
     
    2165621899      allproj=fail
    2165721900      break 2
     21901    fi
     21902
     21903    if test "x$pcifile" != x ; then
     21904      allpcifiles="$pcifile:$allpcifiles"
     21905
     21906      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     21907      if test "x$OSITESTS_DATA_INSTALLED" = x ; then
     21908        projdatadir=
     21909        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     21910        eval `sh -c "$pcifilemod"`
     21911        OSITESTS_DATA_INSTALLED="$projdatadir"
     21912      fi
     21913
    2165821914    fi
    2165921915
     
    2168621942    fi
    2168721943
    21688     # reconstruct the directory where the .pc file is located
    21689     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    21690 
    21691     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    21692     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     21944    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     21945    #   replace "Libs:" by "echo projlibs="
     21946    #   replace "Cflags:" by "echo projcflags="
     21947    #   remove every line starting with <some word>:
     21948    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     21949
     21950    # set projcflags and projlibs variables by running $pcfilemod
     21951    eval `sh -c "$pcfilemod"`
     21952
     21953    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2169321954    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2169421955    OSITESTS_CFLAGS="$projcflags $OSITESTS_CFLAGS"
    2169521956
    21696     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    21697     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    21698     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    21699     if test "x$projlibs" != x ; then
    21700       if test -d "${pcfiledir}/src" ; then
    21701         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    21702       else
    21703         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    21704       fi
    21705     else
    21706       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    21707     fi
     21957    # set LIBS variable
    2170821958    OSITESTS_LIBS="$projlibs $OSITESTS_LIBS"
    2170921959
     
    2171321963  done
    2171421964  IFS="$save_IFS"
     21965
     21966
     21967  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     21968  # important is here again to obey the reverse order that has been setup before,
     21969  # since then libraries that are required by several others should be after these other libraries
     21970  pcfilesprocessed=""
     21971
     21972  save_IFS="$IFS"
     21973  IFS=":"
     21974  for pcfile in $allpcifiles ; do
     21975
     21976    # if $pcfile has been processed already, skip this round
     21977    if test "x$pcfilesprocessed" != x ; then
     21978      for pcfiledone in $pcfilesprocessed ; do
     21979        if test "$pcfiledone" = "$pcfile" ; then
     21980          continue 2
     21981        fi
     21982      done
     21983    fi
     21984
     21985    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     21986    #   replace "Libs:" by "echo projlibs="
     21987    #   replace "Cflags:" by "echo projcflags="
     21988    #   remove every line starting with <some word>:
     21989    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     21990
     21991    # set projcflags and projlibs variables by running $pcfilemod
     21992    eval `sh -c "$pcfilemod"`
     21993
     21994    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     21995    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21996    OSITESTS_CFLAGS_INSTALLED="$projcflags $OSITESTS_CFLAGS_INSTALLED"
     21997
     21998    # set LIBS variable
     21999    OSITESTS_LIBS_INSTALLED="$projlibs $OSITESTS_LIBS_INSTALLED"
     22000
     22001    # remember that we have processed $pcfile
     22002    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     22003
     22004  done
     22005  IFS="$save_IFS"
     22006
    2171522007
    2171622008  # finish up
     
    2172622018
    2172722019
     22020
    2172822021  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2172922022    if test -n "$OSITESTS_CFLAGS" ; then
     
    2173822031      { echo "$as_me:$LINENO: OsiTests DATA   is  $OSITESTS_DATA" >&5
    2173922032echo "$as_me: OsiTests DATA   is  $OSITESTS_DATA" >&6;}
     22033    fi
     22034    if test -n "$OSITESTS_CFLAGS_INSTALLED" ; then
     22035      { echo "$as_me:$LINENO: OsiTests CFLAGS_INSTALLED are $OSITESTS_CFLAGS_INSTALLED" >&5
     22036echo "$as_me: OsiTests CFLAGS_INSTALLED are $OSITESTS_CFLAGS_INSTALLED" >&6;}
     22037    fi
     22038    if test -n "$OSITESTS_LIBS_INSTALLED" ; then
     22039      { echo "$as_me:$LINENO: OsiTests LIBS_INSTALLED   are $OSITESTS_LIBS_INSTALLED" >&5
     22040echo "$as_me: OsiTests LIBS_INSTALLED   are $OSITESTS_LIBS_INSTALLED" >&6;}
     22041    fi
     22042    if test -n "$OSITESTS_DATA_INSTALLED" ; then
     22043      { echo "$as_me:$LINENO: OsiTests DATA_INSTALLED   is  $OSITESTS_DATA_INSTALLED" >&5
     22044echo "$as_me: OsiTests DATA_INSTALLED   is  $OSITESTS_DATA_INSTALLED" >&6;}
    2174022045    fi
    2174122046
     
    2192522230coin_has_sample=notGiven
    2192622231SAMPLE_LIBS=
     22232SAMPLE_LIBS_INSTALLED=
    2192722233SAMPLE_CFLAGS=
     22234SAMPLE_CFLAGS_INSTALLED=
    2192822235SAMPLE_DATA=
     22236SAMPLE_DATA_INSTALLED=
    2192922237
    2193022238# initial list of dependencies is "coindatasample", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2193322241# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2193422242# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     22243# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2193522244# also, we setup the DATA variable
    2193622245allproj=""
    2193722246allpcfiles=""
     22247allpcifiles=""
    2193822248while test "x$projtoprocess" != x ; do
    2193922249
     
    2194522255    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2194622256      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    21947       if test -r "$dir/$proj-uninstalled.pc" ; then
     22257      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2194822258        pcfile="$dir/$proj-uninstalled.pc"
     22259        if test -r "$dir/${proj}.pc" ; then
     22260          pcifile="$dir/${proj}.pc"
     22261        else
     22262          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     22263echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     22264          pcifile=
     22265        fi
    2194922266        break
    2195022267      fi
     
    2196022277      projtoprocess=${projtoprocess/$proj/$projrequires}
    2196122278
    21962       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    21963       if test "x$allproj" = x ; then
    21964         SAMPLE_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22279      # read DATA from $pcfile, if _DATA is still empty
     22280      if test "x$SAMPLE_DATA" = x ; then
     22281        projdatadir=
     22282        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     22283        eval `sh -c "$pcfilemod"`
     22284        SAMPLE_DATA="$projdatadir"
    2196522285      fi
    2196622286
     
    2197322293      allproj=fail
    2197422294      break 2
     22295    fi
     22296
     22297    if test "x$pcifile" != x ; then
     22298      allpcifiles="$pcifile:$allpcifiles"
     22299
     22300      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     22301      if test "x$SAMPLE_DATA_INSTALLED" = x ; then
     22302        projdatadir=
     22303        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     22304        eval `sh -c "$pcifilemod"`
     22305        SAMPLE_DATA_INSTALLED="$projdatadir"
     22306      fi
     22307
    2197522308    fi
    2197622309
     
    2200322336    fi
    2200422337
    22005     # reconstruct the directory where the .pc file is located
    22006     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    22007 
    22008     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    22009     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     22338    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     22339    #   replace "Libs:" by "echo projlibs="
     22340    #   replace "Cflags:" by "echo projcflags="
     22341    #   remove every line starting with <some word>:
     22342    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22343
     22344    # set projcflags and projlibs variables by running $pcfilemod
     22345    eval `sh -c "$pcfilemod"`
     22346
     22347    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2201022348    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2201122349    SAMPLE_CFLAGS="$projcflags $SAMPLE_CFLAGS"
    2201222350
    22013     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    22014     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    22015     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    22016     if test "x$projlibs" != x ; then
    22017       if test -d "${pcfiledir}/src" ; then
    22018         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    22019       else
    22020         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    22021       fi
    22022     else
    22023       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    22024     fi
     22351    # set LIBS variable
    2202522352    SAMPLE_LIBS="$projlibs $SAMPLE_LIBS"
    2202622353
     
    2203022357  done
    2203122358  IFS="$save_IFS"
     22359
     22360
     22361  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     22362  # important is here again to obey the reverse order that has been setup before,
     22363  # since then libraries that are required by several others should be after these other libraries
     22364  pcfilesprocessed=""
     22365
     22366  save_IFS="$IFS"
     22367  IFS=":"
     22368  for pcfile in $allpcifiles ; do
     22369
     22370    # if $pcfile has been processed already, skip this round
     22371    if test "x$pcfilesprocessed" != x ; then
     22372      for pcfiledone in $pcfilesprocessed ; do
     22373        if test "$pcfiledone" = "$pcfile" ; then
     22374          continue 2
     22375        fi
     22376      done
     22377    fi
     22378
     22379    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     22380    #   replace "Libs:" by "echo projlibs="
     22381    #   replace "Cflags:" by "echo projcflags="
     22382    #   remove every line starting with <some word>:
     22383    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22384
     22385    # set projcflags and projlibs variables by running $pcfilemod
     22386    eval `sh -c "$pcfilemod"`
     22387
     22388    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     22389    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22390    SAMPLE_CFLAGS_INSTALLED="$projcflags $SAMPLE_CFLAGS_INSTALLED"
     22391
     22392    # set LIBS variable
     22393    SAMPLE_LIBS_INSTALLED="$projlibs $SAMPLE_LIBS_INSTALLED"
     22394
     22395    # remember that we have processed $pcfile
     22396    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     22397
     22398  done
     22399  IFS="$save_IFS"
     22400
    2203222401
    2203322402  # finish up
     
    2204322412
    2204422413
     22414
    2204522415  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2204622416    if test -n "$SAMPLE_CFLAGS" ; then
     
    2205522425      { echo "$as_me:$LINENO: Sample DATA   is  $SAMPLE_DATA" >&5
    2205622426echo "$as_me: Sample DATA   is  $SAMPLE_DATA" >&6;}
     22427    fi
     22428    if test -n "$SAMPLE_CFLAGS_INSTALLED" ; then
     22429      { echo "$as_me:$LINENO: Sample CFLAGS_INSTALLED are $SAMPLE_CFLAGS_INSTALLED" >&5
     22430echo "$as_me: Sample CFLAGS_INSTALLED are $SAMPLE_CFLAGS_INSTALLED" >&6;}
     22431    fi
     22432    if test -n "$SAMPLE_LIBS_INSTALLED" ; then
     22433      { echo "$as_me:$LINENO: Sample LIBS_INSTALLED   are $SAMPLE_LIBS_INSTALLED" >&5
     22434echo "$as_me: Sample LIBS_INSTALLED   are $SAMPLE_LIBS_INSTALLED" >&6;}
     22435    fi
     22436    if test -n "$SAMPLE_DATA_INSTALLED" ; then
     22437      { echo "$as_me:$LINENO: Sample DATA_INSTALLED   is  $SAMPLE_DATA_INSTALLED" >&5
     22438echo "$as_me: Sample DATA_INSTALLED   is  $SAMPLE_DATA_INSTALLED" >&6;}
    2205722439    fi
    2205822440
     
    2224222624coin_has_netlib=notGiven
    2224322625NETLIB_LIBS=
     22626NETLIB_LIBS_INSTALLED=
    2224422627NETLIB_CFLAGS=
     22628NETLIB_CFLAGS_INSTALLED=
    2224522629NETLIB_DATA=
     22630NETLIB_DATA_INSTALLED=
    2224622631
    2224722632# initial list of dependencies is "coindatanetlib", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2225022635# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2225122636# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     22637# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2225222638# also, we setup the DATA variable
    2225322639allproj=""
    2225422640allpcfiles=""
     22641allpcifiles=""
    2225522642while test "x$projtoprocess" != x ; do
    2225622643
     
    2226222649    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2226322650      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    22264       if test -r "$dir/$proj-uninstalled.pc" ; then
     22651      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2226522652        pcfile="$dir/$proj-uninstalled.pc"
     22653        if test -r "$dir/${proj}.pc" ; then
     22654          pcifile="$dir/${proj}.pc"
     22655        else
     22656          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     22657echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     22658          pcifile=
     22659        fi
    2226622660        break
    2226722661      fi
     
    2227722671      projtoprocess=${projtoprocess/$proj/$projrequires}
    2227822672
    22279       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    22280       if test "x$allproj" = x ; then
    22281         NETLIB_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22673      # read DATA from $pcfile, if _DATA is still empty
     22674      if test "x$NETLIB_DATA" = x ; then
     22675        projdatadir=
     22676        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     22677        eval `sh -c "$pcfilemod"`
     22678        NETLIB_DATA="$projdatadir"
    2228222679      fi
    2228322680
     
    2229022687      allproj=fail
    2229122688      break 2
     22689    fi
     22690
     22691    if test "x$pcifile" != x ; then
     22692      allpcifiles="$pcifile:$allpcifiles"
     22693
     22694      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     22695      if test "x$NETLIB_DATA_INSTALLED" = x ; then
     22696        projdatadir=
     22697        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     22698        eval `sh -c "$pcifilemod"`
     22699        NETLIB_DATA_INSTALLED="$projdatadir"
     22700      fi
     22701
    2229222702    fi
    2229322703
     
    2232022730    fi
    2232122731
    22322     # reconstruct the directory where the .pc file is located
    22323     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    22324 
    22325     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    22326     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     22732    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     22733    #   replace "Libs:" by "echo projlibs="
     22734    #   replace "Cflags:" by "echo projcflags="
     22735    #   remove every line starting with <some word>:
     22736    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22737
     22738    # set projcflags and projlibs variables by running $pcfilemod
     22739    eval `sh -c "$pcfilemod"`
     22740
     22741    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2232722742    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2232822743    NETLIB_CFLAGS="$projcflags $NETLIB_CFLAGS"
    2232922744
    22330     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    22331     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    22332     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    22333     if test "x$projlibs" != x ; then
    22334       if test -d "${pcfiledir}/src" ; then
    22335         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    22336       else
    22337         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    22338       fi
    22339     else
    22340       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    22341     fi
     22745    # set LIBS variable
    2234222746    NETLIB_LIBS="$projlibs $NETLIB_LIBS"
    2234322747
     
    2234722751  done
    2234822752  IFS="$save_IFS"
     22753
     22754
     22755  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     22756  # important is here again to obey the reverse order that has been setup before,
     22757  # since then libraries that are required by several others should be after these other libraries
     22758  pcfilesprocessed=""
     22759
     22760  save_IFS="$IFS"
     22761  IFS=":"
     22762  for pcfile in $allpcifiles ; do
     22763
     22764    # if $pcfile has been processed already, skip this round
     22765    if test "x$pcfilesprocessed" != x ; then
     22766      for pcfiledone in $pcfilesprocessed ; do
     22767        if test "$pcfiledone" = "$pcfile" ; then
     22768          continue 2
     22769        fi
     22770      done
     22771    fi
     22772
     22773    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     22774    #   replace "Libs:" by "echo projlibs="
     22775    #   replace "Cflags:" by "echo projcflags="
     22776    #   remove every line starting with <some word>:
     22777    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     22778
     22779    # set projcflags and projlibs variables by running $pcfilemod
     22780    eval `sh -c "$pcfilemod"`
     22781
     22782    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     22783    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22784    NETLIB_CFLAGS_INSTALLED="$projcflags $NETLIB_CFLAGS_INSTALLED"
     22785
     22786    # set LIBS variable
     22787    NETLIB_LIBS_INSTALLED="$projlibs $NETLIB_LIBS_INSTALLED"
     22788
     22789    # remember that we have processed $pcfile
     22790    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     22791
     22792  done
     22793  IFS="$save_IFS"
     22794
    2234922795
    2235022796  # finish up
     
    2236022806
    2236122807
     22808
    2236222809  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2236322810    if test -n "$NETLIB_CFLAGS" ; then
     
    2237222819      { echo "$as_me:$LINENO: Netlib DATA   is  $NETLIB_DATA" >&5
    2237322820echo "$as_me: Netlib DATA   is  $NETLIB_DATA" >&6;}
     22821    fi
     22822    if test -n "$NETLIB_CFLAGS_INSTALLED" ; then
     22823      { echo "$as_me:$LINENO: Netlib CFLAGS_INSTALLED are $NETLIB_CFLAGS_INSTALLED" >&5
     22824echo "$as_me: Netlib CFLAGS_INSTALLED are $NETLIB_CFLAGS_INSTALLED" >&6;}
     22825    fi
     22826    if test -n "$NETLIB_LIBS_INSTALLED" ; then
     22827      { echo "$as_me:$LINENO: Netlib LIBS_INSTALLED   are $NETLIB_LIBS_INSTALLED" >&5
     22828echo "$as_me: Netlib LIBS_INSTALLED   are $NETLIB_LIBS_INSTALLED" >&6;}
     22829    fi
     22830    if test -n "$NETLIB_DATA_INSTALLED" ; then
     22831      { echo "$as_me:$LINENO: Netlib DATA_INSTALLED   is  $NETLIB_DATA_INSTALLED" >&5
     22832echo "$as_me: Netlib DATA_INSTALLED   is  $NETLIB_DATA_INSTALLED" >&6;}
    2237422833    fi
    2237522834
     
    2255923018coin_has_miplib3=notGiven
    2256023019MIPLIB3_LIBS=
     23020MIPLIB3_LIBS_INSTALLED=
    2256123021MIPLIB3_CFLAGS=
     23022MIPLIB3_CFLAGS_INSTALLED=
    2256223023MIPLIB3_DATA=
     23024MIPLIB3_DATA_INSTALLED=
    2256323025
    2256423026# initial list of dependencies is "coindatamiplib3", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2256723029# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2256823030# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     23031# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2256923032# also, we setup the DATA variable
    2257023033allproj=""
    2257123034allpcfiles=""
     23035allpcifiles=""
    2257223036while test "x$projtoprocess" != x ; do
    2257323037
     
    2257923043    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2258023044      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    22581       if test -r "$dir/$proj-uninstalled.pc" ; then
     23045      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2258223046        pcfile="$dir/$proj-uninstalled.pc"
     23047        if test -r "$dir/${proj}.pc" ; then
     23048          pcifile="$dir/${proj}.pc"
     23049        else
     23050          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     23051echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     23052          pcifile=
     23053        fi
    2258323054        break
    2258423055      fi
     
    2259423065      projtoprocess=${projtoprocess/$proj/$projrequires}
    2259523066
    22596       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    22597       if test "x$allproj" = x ; then
    22598         MIPLIB3_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23067      # read DATA from $pcfile, if _DATA is still empty
     23068      if test "x$MIPLIB3_DATA" = x ; then
     23069        projdatadir=
     23070        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     23071        eval `sh -c "$pcfilemod"`
     23072        MIPLIB3_DATA="$projdatadir"
    2259923073      fi
    2260023074
     
    2260723081      allproj=fail
    2260823082      break 2
     23083    fi
     23084
     23085    if test "x$pcifile" != x ; then
     23086      allpcifiles="$pcifile:$allpcifiles"
     23087
     23088      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     23089      if test "x$MIPLIB3_DATA_INSTALLED" = x ; then
     23090        projdatadir=
     23091        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     23092        eval `sh -c "$pcifilemod"`
     23093        MIPLIB3_DATA_INSTALLED="$projdatadir"
     23094      fi
     23095
    2260923096    fi
    2261023097
     
    2263723124    fi
    2263823125
    22639     # reconstruct the directory where the .pc file is located
    22640     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    22641 
    22642     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    22643     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     23126    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     23127    #   replace "Libs:" by "echo projlibs="
     23128    #   replace "Cflags:" by "echo projcflags="
     23129    #   remove every line starting with <some word>:
     23130    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     23131
     23132    # set projcflags and projlibs variables by running $pcfilemod
     23133    eval `sh -c "$pcfilemod"`
     23134
     23135    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2264423136    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2264523137    MIPLIB3_CFLAGS="$projcflags $MIPLIB3_CFLAGS"
    2264623138
    22647     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    22648     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    22649     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    22650     if test "x$projlibs" != x ; then
    22651       if test -d "${pcfiledir}/src" ; then
    22652         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    22653       else
    22654         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    22655       fi
    22656     else
    22657       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    22658     fi
     23139    # set LIBS variable
    2265923140    MIPLIB3_LIBS="$projlibs $MIPLIB3_LIBS"
    2266023141
     
    2266423145  done
    2266523146  IFS="$save_IFS"
     23147
     23148
     23149  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     23150  # important is here again to obey the reverse order that has been setup before,
     23151  # since then libraries that are required by several others should be after these other libraries
     23152  pcfilesprocessed=""
     23153
     23154  save_IFS="$IFS"
     23155  IFS=":"
     23156  for pcfile in $allpcifiles ; do
     23157
     23158    # if $pcfile has been processed already, skip this round
     23159    if test "x$pcfilesprocessed" != x ; then
     23160      for pcfiledone in $pcfilesprocessed ; do
     23161        if test "$pcfiledone" = "$pcfile" ; then
     23162          continue 2
     23163        fi
     23164      done
     23165    fi
     23166
     23167    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     23168    #   replace "Libs:" by "echo projlibs="
     23169    #   replace "Cflags:" by "echo projcflags="
     23170    #   remove every line starting with <some word>:
     23171    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     23172
     23173    # set projcflags and projlibs variables by running $pcfilemod
     23174    eval `sh -c "$pcfilemod"`
     23175
     23176    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     23177    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23178    MIPLIB3_CFLAGS_INSTALLED="$projcflags $MIPLIB3_CFLAGS_INSTALLED"
     23179
     23180    # set LIBS variable
     23181    MIPLIB3_LIBS_INSTALLED="$projlibs $MIPLIB3_LIBS_INSTALLED"
     23182
     23183    # remember that we have processed $pcfile
     23184    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     23185
     23186  done
     23187  IFS="$save_IFS"
     23188
    2266623189
    2266723190  # finish up
     
    2267723200
    2267823201
     23202
    2267923203  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2268023204    if test -n "$MIPLIB3_CFLAGS" ; then
     
    2268923213      { echo "$as_me:$LINENO: Miplib3 DATA   is  $MIPLIB3_DATA" >&5
    2269023214echo "$as_me: Miplib3 DATA   is  $MIPLIB3_DATA" >&6;}
     23215    fi
     23216    if test -n "$MIPLIB3_CFLAGS_INSTALLED" ; then
     23217      { echo "$as_me:$LINENO: Miplib3 CFLAGS_INSTALLED are $MIPLIB3_CFLAGS_INSTALLED" >&5
     23218echo "$as_me: Miplib3 CFLAGS_INSTALLED are $MIPLIB3_CFLAGS_INSTALLED" >&6;}
     23219    fi
     23220    if test -n "$MIPLIB3_LIBS_INSTALLED" ; then
     23221      { echo "$as_me:$LINENO: Miplib3 LIBS_INSTALLED   are $MIPLIB3_LIBS_INSTALLED" >&5
     23222echo "$as_me: Miplib3 LIBS_INSTALLED   are $MIPLIB3_LIBS_INSTALLED" >&6;}
     23223    fi
     23224    if test -n "$MIPLIB3_DATA_INSTALLED" ; then
     23225      { echo "$as_me:$LINENO: Miplib3 DATA_INSTALLED   is  $MIPLIB3_DATA_INSTALLED" >&5
     23226echo "$as_me: Miplib3 DATA_INSTALLED   is  $MIPLIB3_DATA_INSTALLED" >&6;}
    2269123227    fi
    2269223228
     
    2289523431coin_has_dylp=notGiven
    2289623432DYLP_LIBS=
     23433DYLP_LIBS_INSTALLED=
    2289723434DYLP_CFLAGS=
     23435DYLP_CFLAGS_INSTALLED=
    2289823436DYLP_DATA=
     23437DYLP_DATA_INSTALLED=
    2289923438
    2290023439# initial list of dependencies is "osi-dylp", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2290323442# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2290423443# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     23444# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2290523445# also, we setup the DATA variable
    2290623446allproj=""
    2290723447allpcfiles=""
     23448allpcifiles=""
    2290823449while test "x$projtoprocess" != x ; do
    2290923450
     
    2291523456    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2291623457      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    22917       if test -r "$dir/$proj-uninstalled.pc" ; then
     23458      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2291823459        pcfile="$dir/$proj-uninstalled.pc"
     23460        if test -r "$dir/${proj}.pc" ; then
     23461          pcifile="$dir/${proj}.pc"
     23462        else
     23463          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     23464echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     23465          pcifile=
     23466        fi
    2291923467        break
    2292023468      fi
     
    2293023478      projtoprocess=${projtoprocess/$proj/$projrequires}
    2293123479
    22932       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    22933       if test "x$allproj" = x ; then
    22934         DYLP_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23480      # read DATA from $pcfile, if _DATA is still empty
     23481      if test "x$DYLP_DATA" = x ; then
     23482        projdatadir=
     23483        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     23484        eval `sh -c "$pcfilemod"`
     23485        DYLP_DATA="$projdatadir"
    2293523486      fi
    2293623487
     
    2294323494      allproj=fail
    2294423495      break 2
     23496    fi
     23497
     23498    if test "x$pcifile" != x ; then
     23499      allpcifiles="$pcifile:$allpcifiles"
     23500
     23501      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     23502      if test "x$DYLP_DATA_INSTALLED" = x ; then
     23503        projdatadir=
     23504        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     23505        eval `sh -c "$pcifilemod"`
     23506        DYLP_DATA_INSTALLED="$projdatadir"
     23507      fi
     23508
    2294523509    fi
    2294623510
     
    2297323537    fi
    2297423538
    22975     # reconstruct the directory where the .pc file is located
    22976     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    22977 
    22978     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    22979     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     23539    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     23540    #   replace "Libs:" by "echo projlibs="
     23541    #   replace "Cflags:" by "echo projcflags="
     23542    #   remove every line starting with <some word>:
     23543    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     23544
     23545    # set projcflags and projlibs variables by running $pcfilemod
     23546    eval `sh -c "$pcfilemod"`
     23547
     23548    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2298023549    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2298123550    DYLP_CFLAGS="$projcflags $DYLP_CFLAGS"
    2298223551
    22983     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    22984     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    22985     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    22986     if test "x$projlibs" != x ; then
    22987       if test -d "${pcfiledir}/src" ; then
    22988         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    22989       else
    22990         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    22991       fi
    22992     else
    22993       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    22994     fi
     23552    # set LIBS variable
    2299523553    DYLP_LIBS="$projlibs $DYLP_LIBS"
    2299623554
     
    2300023558  done
    2300123559  IFS="$save_IFS"
     23560
     23561
     23562  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     23563  # important is here again to obey the reverse order that has been setup before,
     23564  # since then libraries that are required by several others should be after these other libraries
     23565  pcfilesprocessed=""
     23566
     23567  save_IFS="$IFS"
     23568  IFS=":"
     23569  for pcfile in $allpcifiles ; do
     23570
     23571    # if $pcfile has been processed already, skip this round
     23572    if test "x$pcfilesprocessed" != x ; then
     23573      for pcfiledone in $pcfilesprocessed ; do
     23574        if test "$pcfiledone" = "$pcfile" ; then
     23575          continue 2
     23576        fi
     23577      done
     23578    fi
     23579
     23580    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     23581    #   replace "Libs:" by "echo projlibs="
     23582    #   replace "Cflags:" by "echo projcflags="
     23583    #   remove every line starting with <some word>:
     23584    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     23585
     23586    # set projcflags and projlibs variables by running $pcfilemod
     23587    eval `sh -c "$pcfilemod"`
     23588
     23589    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     23590    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23591    DYLP_CFLAGS_INSTALLED="$projcflags $DYLP_CFLAGS_INSTALLED"
     23592
     23593    # set LIBS variable
     23594    DYLP_LIBS_INSTALLED="$projlibs $DYLP_LIBS_INSTALLED"
     23595
     23596    # remember that we have processed $pcfile
     23597    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     23598
     23599  done
     23600  IFS="$save_IFS"
     23601
    2300223602
    2300323603  # finish up
     
    2301523615    CBCGENERIC_CFLAGS="$DYLP_CFLAGS $CBCGENERIC_CFLAGS"
    2301623616    CBCGENERIC_LIBS="$DYLP_LIBS $CBCGENERIC_LIBS"
     23617    CBCGENERIC_CFLAGS_INSTALLED="$DYLP_CFLAGS_INSTALLED $CBCGENERIC_CFLAGS_INSTALLED"
     23618    CBCGENERIC_LIBS_INSTALLED="$DYLP_LIBS_INSTALLED $CBCGENERIC_LIBS_INSTALLED"
     23619
     23620
     23621
    2301723622
    2301823623
     
    2303023635echo "$as_me: DyLP DATA   is  $DYLP_DATA" >&6;}
    2303123636    fi
    23032 
     23637    if test -n "$DYLP_CFLAGS_INSTALLED" ; then
     23638      { echo "$as_me:$LINENO: DyLP CFLAGS_INSTALLED are $DYLP_CFLAGS_INSTALLED" >&5
     23639echo "$as_me: DyLP CFLAGS_INSTALLED are $DYLP_CFLAGS_INSTALLED" >&6;}
     23640    fi
     23641    if test -n "$DYLP_LIBS_INSTALLED" ; then
     23642      { echo "$as_me:$LINENO: DyLP LIBS_INSTALLED   are $DYLP_LIBS_INSTALLED" >&5
     23643echo "$as_me: DyLP LIBS_INSTALLED   are $DYLP_LIBS_INSTALLED" >&6;}
     23644    fi
     23645    if test -n "$DYLP_DATA_INSTALLED" ; then
     23646      { echo "$as_me:$LINENO: DyLP DATA_INSTALLED   is  $DYLP_DATA_INSTALLED" >&5
     23647echo "$as_me: DyLP DATA_INSTALLED   is  $DYLP_DATA_INSTALLED" >&6;}
     23648    fi
     23649
     23650      { echo "$as_me:$LINENO: " >&5
     23651echo "$as_me: " >&6;}
    2303323652      { echo "$as_me:$LINENO: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&5
    2303423653echo "$as_me: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&6;}
    2303523654      { echo "$as_me:$LINENO: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&5
    2303623655echo "$as_me: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&6;}
     23656      { echo "$as_me:$LINENO: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&5
     23657echo "$as_me: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&6;}
     23658      { echo "$as_me:$LINENO: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&5
     23659echo "$as_me: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&6;}
    2303723660
    2303823661  fi
     
    2322623849coin_has_vol=notGiven
    2322723850VOL_LIBS=
     23851VOL_LIBS_INSTALLED=
    2322823852VOL_CFLAGS=
     23853VOL_CFLAGS_INSTALLED=
    2322923854VOL_DATA=
     23855VOL_DATA_INSTALLED=
    2323023856
    2323123857# initial list of dependencies is "osi-vol", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2323423860# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2323523861# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     23862# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2323623863# also, we setup the DATA variable
    2323723864allproj=""
    2323823865allpcfiles=""
     23866allpcifiles=""
    2323923867while test "x$projtoprocess" != x ; do
    2324023868
     
    2324623874    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2324723875      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    23248       if test -r "$dir/$proj-uninstalled.pc" ; then
     23876      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2324923877        pcfile="$dir/$proj-uninstalled.pc"
     23878        if test -r "$dir/${proj}.pc" ; then
     23879          pcifile="$dir/${proj}.pc"
     23880        else
     23881          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     23882echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     23883          pcifile=
     23884        fi
    2325023885        break
    2325123886      fi
     
    2326123896      projtoprocess=${projtoprocess/$proj/$projrequires}
    2326223897
    23263       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    23264       if test "x$allproj" = x ; then
    23265         VOL_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23898      # read DATA from $pcfile, if _DATA is still empty
     23899      if test "x$VOL_DATA" = x ; then
     23900        projdatadir=
     23901        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     23902        eval `sh -c "$pcfilemod"`
     23903        VOL_DATA="$projdatadir"
    2326623904      fi
    2326723905
     
    2327423912      allproj=fail
    2327523913      break 2
     23914    fi
     23915
     23916    if test "x$pcifile" != x ; then
     23917      allpcifiles="$pcifile:$allpcifiles"
     23918
     23919      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     23920      if test "x$VOL_DATA_INSTALLED" = x ; then
     23921        projdatadir=
     23922        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     23923        eval `sh -c "$pcifilemod"`
     23924        VOL_DATA_INSTALLED="$projdatadir"
     23925      fi
     23926
    2327623927    fi
    2327723928
     
    2330423955    fi
    2330523956
    23306     # reconstruct the directory where the .pc file is located
    23307     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    23308 
    23309     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    23310     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     23957    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     23958    #   replace "Libs:" by "echo projlibs="
     23959    #   replace "Cflags:" by "echo projcflags="
     23960    #   remove every line starting with <some word>:
     23961    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     23962
     23963    # set projcflags and projlibs variables by running $pcfilemod
     23964    eval `sh -c "$pcfilemod"`
     23965
     23966    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2331123967    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2331223968    VOL_CFLAGS="$projcflags $VOL_CFLAGS"
    2331323969
    23314     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    23315     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    23316     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    23317     if test "x$projlibs" != x ; then
    23318       if test -d "${pcfiledir}/src" ; then
    23319         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    23320       else
    23321         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    23322       fi
    23323     else
    23324       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    23325     fi
     23970    # set LIBS variable
    2332623971    VOL_LIBS="$projlibs $VOL_LIBS"
    2332723972
     
    2333123976  done
    2333223977  IFS="$save_IFS"
     23978
     23979
     23980  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     23981  # important is here again to obey the reverse order that has been setup before,
     23982  # since then libraries that are required by several others should be after these other libraries
     23983  pcfilesprocessed=""
     23984
     23985  save_IFS="$IFS"
     23986  IFS=":"
     23987  for pcfile in $allpcifiles ; do
     23988
     23989    # if $pcfile has been processed already, skip this round
     23990    if test "x$pcfilesprocessed" != x ; then
     23991      for pcfiledone in $pcfilesprocessed ; do
     23992        if test "$pcfiledone" = "$pcfile" ; then
     23993          continue 2
     23994        fi
     23995      done
     23996    fi
     23997
     23998    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     23999    #   replace "Libs:" by "echo projlibs="
     24000    #   replace "Cflags:" by "echo projcflags="
     24001    #   remove every line starting with <some word>:
     24002    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24003
     24004    # set projcflags and projlibs variables by running $pcfilemod
     24005    eval `sh -c "$pcfilemod"`
     24006
     24007    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24008    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24009    VOL_CFLAGS_INSTALLED="$projcflags $VOL_CFLAGS_INSTALLED"
     24010
     24011    # set LIBS variable
     24012    VOL_LIBS_INSTALLED="$projlibs $VOL_LIBS_INSTALLED"
     24013
     24014    # remember that we have processed $pcfile
     24015    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     24016
     24017  done
     24018  IFS="$save_IFS"
     24019
    2333324020
    2333424021  # finish up
     
    2334424031
    2334524032
     24033
    2334624034  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2334724035    if test -n "$VOL_CFLAGS" ; then
     
    2335624044      { echo "$as_me:$LINENO: Vol DATA   is  $VOL_DATA" >&5
    2335724045echo "$as_me: Vol DATA   is  $VOL_DATA" >&6;}
     24046    fi
     24047    if test -n "$VOL_CFLAGS_INSTALLED" ; then
     24048      { echo "$as_me:$LINENO: Vol CFLAGS_INSTALLED are $VOL_CFLAGS_INSTALLED" >&5
     24049echo "$as_me: Vol CFLAGS_INSTALLED are $VOL_CFLAGS_INSTALLED" >&6;}
     24050    fi
     24051    if test -n "$VOL_LIBS_INSTALLED" ; then
     24052      { echo "$as_me:$LINENO: Vol LIBS_INSTALLED   are $VOL_LIBS_INSTALLED" >&5
     24053echo "$as_me: Vol LIBS_INSTALLED   are $VOL_LIBS_INSTALLED" >&6;}
     24054    fi
     24055    if test -n "$VOL_DATA_INSTALLED" ; then
     24056      { echo "$as_me:$LINENO: Vol DATA_INSTALLED   is  $VOL_DATA_INSTALLED" >&5
     24057echo "$as_me: Vol DATA_INSTALLED   is  $VOL_DATA_INSTALLED" >&6;}
    2335824058    fi
    2335924059
     
    2356924269coin_has_cpx=notGiven
    2357024270CPX_LIBS=
     24271CPX_LIBS_INSTALLED=
    2357124272CPX_CFLAGS=
     24273CPX_CFLAGS_INSTALLED=
    2357224274CPX_DATA=
     24275CPX_DATA_INSTALLED=
    2357324276
    2357424277# initial list of dependencies is "osi-cplex", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2357724280# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2357824281# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     24282# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2357924283# also, we setup the DATA variable
    2358024284allproj=""
    2358124285allpcfiles=""
     24286allpcifiles=""
    2358224287while test "x$projtoprocess" != x ; do
    2358324288
     
    2358924294    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2359024295      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    23591       if test -r "$dir/$proj-uninstalled.pc" ; then
     24296      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2359224297        pcfile="$dir/$proj-uninstalled.pc"
     24298        if test -r "$dir/${proj}.pc" ; then
     24299          pcifile="$dir/${proj}.pc"
     24300        else
     24301          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     24302echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     24303          pcifile=
     24304        fi
    2359324305        break
    2359424306      fi
     
    2360424316      projtoprocess=${projtoprocess/$proj/$projrequires}
    2360524317
    23606       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    23607       if test "x$allproj" = x ; then
    23608         CPX_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     24318      # read DATA from $pcfile, if _DATA is still empty
     24319      if test "x$CPX_DATA" = x ; then
     24320        projdatadir=
     24321        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     24322        eval `sh -c "$pcfilemod"`
     24323        CPX_DATA="$projdatadir"
    2360924324      fi
    2361024325
     
    2361724332      allproj=fail
    2361824333      break 2
     24334    fi
     24335
     24336    if test "x$pcifile" != x ; then
     24337      allpcifiles="$pcifile:$allpcifiles"
     24338
     24339      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     24340      if test "x$CPX_DATA_INSTALLED" = x ; then
     24341        projdatadir=
     24342        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     24343        eval `sh -c "$pcifilemod"`
     24344        CPX_DATA_INSTALLED="$projdatadir"
     24345      fi
     24346
    2361924347    fi
    2362024348
     
    2364724375    fi
    2364824376
    23649     # reconstruct the directory where the .pc file is located
    23650     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    23651 
    23652     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    23653     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     24377    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24378    #   replace "Libs:" by "echo projlibs="
     24379    #   replace "Cflags:" by "echo projcflags="
     24380    #   remove every line starting with <some word>:
     24381    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24382
     24383    # set projcflags and projlibs variables by running $pcfilemod
     24384    eval `sh -c "$pcfilemod"`
     24385
     24386    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2365424387    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2365524388    CPX_CFLAGS="$projcflags $CPX_CFLAGS"
    2365624389
    23657     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    23658     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    23659     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    23660     if test "x$projlibs" != x ; then
    23661       if test -d "${pcfiledir}/src" ; then
    23662         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    23663       else
    23664         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    23665       fi
    23666     else
    23667       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    23668     fi
     24390    # set LIBS variable
    2366924391    CPX_LIBS="$projlibs $CPX_LIBS"
    2367024392
     
    2367424396  done
    2367524397  IFS="$save_IFS"
     24398
     24399
     24400  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     24401  # important is here again to obey the reverse order that has been setup before,
     24402  # since then libraries that are required by several others should be after these other libraries
     24403  pcfilesprocessed=""
     24404
     24405  save_IFS="$IFS"
     24406  IFS=":"
     24407  for pcfile in $allpcifiles ; do
     24408
     24409    # if $pcfile has been processed already, skip this round
     24410    if test "x$pcfilesprocessed" != x ; then
     24411      for pcfiledone in $pcfilesprocessed ; do
     24412        if test "$pcfiledone" = "$pcfile" ; then
     24413          continue 2
     24414        fi
     24415      done
     24416    fi
     24417
     24418    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24419    #   replace "Libs:" by "echo projlibs="
     24420    #   replace "Cflags:" by "echo projcflags="
     24421    #   remove every line starting with <some word>:
     24422    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24423
     24424    # set projcflags and projlibs variables by running $pcfilemod
     24425    eval `sh -c "$pcfilemod"`
     24426
     24427    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24428    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24429    CPX_CFLAGS_INSTALLED="$projcflags $CPX_CFLAGS_INSTALLED"
     24430
     24431    # set LIBS variable
     24432    CPX_LIBS_INSTALLED="$projlibs $CPX_LIBS_INSTALLED"
     24433
     24434    # remember that we have processed $pcfile
     24435    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     24436
     24437  done
     24438  IFS="$save_IFS"
     24439
    2367624440
    2367724441  # finish up
     
    2368924453    CBCLIB_CFLAGS="$CPX_CFLAGS $CBCLIB_CFLAGS"
    2369024454    CBCLIB_LIBS="$CPX_LIBS $CBCLIB_LIBS"
     24455    CBCLIB_CFLAGS_INSTALLED="$CPX_CFLAGS_INSTALLED $CBCLIB_CFLAGS_INSTALLED"
     24456    CBCLIB_LIBS_INSTALLED="$CPX_LIBS_INSTALLED $CBCLIB_LIBS_INSTALLED"
     24457
     24458
    2369124459
    2369224460    CBCGENERIC_PCREQUIRES="osi-cplex $CBCGENERIC_PCREQUIRES"
    2369324461    CBCGENERIC_CFLAGS="$CPX_CFLAGS $CBCGENERIC_CFLAGS"
    2369424462    CBCGENERIC_LIBS="$CPX_LIBS $CBCGENERIC_LIBS"
     24463    CBCGENERIC_CFLAGS_INSTALLED="$CPX_CFLAGS_INSTALLED $CBCGENERIC_CFLAGS_INSTALLED"
     24464    CBCGENERIC_LIBS_INSTALLED="$CPX_LIBS_INSTALLED $CBCGENERIC_LIBS_INSTALLED"
     24465
     24466
     24467
    2369524468
    2369624469
     
    2370824481echo "$as_me: Cpx DATA   is  $CPX_DATA" >&6;}
    2370924482    fi
    23710 
     24483    if test -n "$CPX_CFLAGS_INSTALLED" ; then
     24484      { echo "$as_me:$LINENO: Cpx CFLAGS_INSTALLED are $CPX_CFLAGS_INSTALLED" >&5
     24485echo "$as_me: Cpx CFLAGS_INSTALLED are $CPX_CFLAGS_INSTALLED" >&6;}
     24486    fi
     24487    if test -n "$CPX_LIBS_INSTALLED" ; then
     24488      { echo "$as_me:$LINENO: Cpx LIBS_INSTALLED   are $CPX_LIBS_INSTALLED" >&5
     24489echo "$as_me: Cpx LIBS_INSTALLED   are $CPX_LIBS_INSTALLED" >&6;}
     24490    fi
     24491    if test -n "$CPX_DATA_INSTALLED" ; then
     24492      { echo "$as_me:$LINENO: Cpx DATA_INSTALLED   is  $CPX_DATA_INSTALLED" >&5
     24493echo "$as_me: Cpx DATA_INSTALLED   is  $CPX_DATA_INSTALLED" >&6;}
     24494    fi
     24495
     24496      { echo "$as_me:$LINENO: " >&5
     24497echo "$as_me: " >&6;}
    2371124498      { echo "$as_me:$LINENO: CbcLib CFLAGS are $CBCLIB_CFLAGS" >&5
    2371224499echo "$as_me: CbcLib CFLAGS are $CBCLIB_CFLAGS" >&6;}
    2371324500      { echo "$as_me:$LINENO: CbcLib LIBS   are $CBCLIB_LIBS" >&5
    2371424501echo "$as_me: CbcLib LIBS   are $CBCLIB_LIBS" >&6;}
    23715 
     24502      { echo "$as_me:$LINENO: CbcLib CFLAGS_INSTALLED are $CBCLIB_CFLAGS_INSTALLED" >&5
     24503echo "$as_me: CbcLib CFLAGS_INSTALLED are $CBCLIB_CFLAGS_INSTALLED" >&6;}
     24504      { echo "$as_me:$LINENO: CbcLib LIBS_INSTALLED   are $CBCLIB_LIBS_INSTALLED" >&5
     24505echo "$as_me: CbcLib LIBS_INSTALLED   are $CBCLIB_LIBS_INSTALLED" >&6;}
     24506
     24507      { echo "$as_me:$LINENO: " >&5
     24508echo "$as_me: " >&6;}
    2371624509      { echo "$as_me:$LINENO: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&5
    2371724510echo "$as_me: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&6;}
    2371824511      { echo "$as_me:$LINENO: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&5
    2371924512echo "$as_me: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&6;}
     24513      { echo "$as_me:$LINENO: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&5
     24514echo "$as_me: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&6;}
     24515      { echo "$as_me:$LINENO: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&5
     24516echo "$as_me: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&6;}
    2372024517
    2372124518  fi
     
    2392724724coin_has_glpk=notGiven
    2392824725GLPK_LIBS=
     24726GLPK_LIBS_INSTALLED=
    2392924727GLPK_CFLAGS=
     24728GLPK_CFLAGS_INSTALLED=
    2393024729GLPK_DATA=
     24730GLPK_DATA_INSTALLED=
    2393124731
    2393224732# initial list of dependencies is "osi-glpk", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2393524735# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2393624736# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     24737# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2393724738# also, we setup the DATA variable
    2393824739allproj=""
    2393924740allpcfiles=""
     24741allpcifiles=""
    2394024742while test "x$projtoprocess" != x ; do
    2394124743
     
    2394724749    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2394824750      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    23949       if test -r "$dir/$proj-uninstalled.pc" ; then
     24751      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2395024752        pcfile="$dir/$proj-uninstalled.pc"
     24753        if test -r "$dir/${proj}.pc" ; then
     24754          pcifile="$dir/${proj}.pc"
     24755        else
     24756          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     24757echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     24758          pcifile=
     24759        fi
    2395124760        break
    2395224761      fi
     
    2396224771      projtoprocess=${projtoprocess/$proj/$projrequires}
    2396324772
    23964       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    23965       if test "x$allproj" = x ; then
    23966         GLPK_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     24773      # read DATA from $pcfile, if _DATA is still empty
     24774      if test "x$GLPK_DATA" = x ; then
     24775        projdatadir=
     24776        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     24777        eval `sh -c "$pcfilemod"`
     24778        GLPK_DATA="$projdatadir"
    2396724779      fi
    2396824780
     
    2397524787      allproj=fail
    2397624788      break 2
     24789    fi
     24790
     24791    if test "x$pcifile" != x ; then
     24792      allpcifiles="$pcifile:$allpcifiles"
     24793
     24794      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     24795      if test "x$GLPK_DATA_INSTALLED" = x ; then
     24796        projdatadir=
     24797        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     24798        eval `sh -c "$pcifilemod"`
     24799        GLPK_DATA_INSTALLED="$projdatadir"
     24800      fi
     24801
    2397724802    fi
    2397824803
     
    2400524830    fi
    2400624831
    24007     # reconstruct the directory where the .pc file is located
    24008     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    24009 
    24010     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    24011     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     24832    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24833    #   replace "Libs:" by "echo projlibs="
     24834    #   replace "Cflags:" by "echo projcflags="
     24835    #   remove every line starting with <some word>:
     24836    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24837
     24838    # set projcflags and projlibs variables by running $pcfilemod
     24839    eval `sh -c "$pcfilemod"`
     24840
     24841    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2401224842    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2401324843    GLPK_CFLAGS="$projcflags $GLPK_CFLAGS"
    2401424844
    24015     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    24016     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    24017     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    24018     if test "x$projlibs" != x ; then
    24019       if test -d "${pcfiledir}/src" ; then
    24020         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    24021       else
    24022         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    24023       fi
    24024     else
    24025       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    24026     fi
     24845    # set LIBS variable
    2402724846    GLPK_LIBS="$projlibs $GLPK_LIBS"
    2402824847
     
    2403224851  done
    2403324852  IFS="$save_IFS"
     24853
     24854
     24855  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     24856  # important is here again to obey the reverse order that has been setup before,
     24857  # since then libraries that are required by several others should be after these other libraries
     24858  pcfilesprocessed=""
     24859
     24860  save_IFS="$IFS"
     24861  IFS=":"
     24862  for pcfile in $allpcifiles ; do
     24863
     24864    # if $pcfile has been processed already, skip this round
     24865    if test "x$pcfilesprocessed" != x ; then
     24866      for pcfiledone in $pcfilesprocessed ; do
     24867        if test "$pcfiledone" = "$pcfile" ; then
     24868          continue 2
     24869        fi
     24870      done
     24871    fi
     24872
     24873    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24874    #   replace "Libs:" by "echo projlibs="
     24875    #   replace "Cflags:" by "echo projcflags="
     24876    #   remove every line starting with <some word>:
     24877    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24878
     24879    # set projcflags and projlibs variables by running $pcfilemod
     24880    eval `sh -c "$pcfilemod"`
     24881
     24882    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24883    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24884    GLPK_CFLAGS_INSTALLED="$projcflags $GLPK_CFLAGS_INSTALLED"
     24885
     24886    # set LIBS variable
     24887    GLPK_LIBS_INSTALLED="$projlibs $GLPK_LIBS_INSTALLED"
     24888
     24889    # remember that we have processed $pcfile
     24890    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     24891
     24892  done
     24893  IFS="$save_IFS"
     24894
    2403424895
    2403524896  # finish up
     
    2404724908    CBCGENERIC_CFLAGS="$GLPK_CFLAGS $CBCGENERIC_CFLAGS"
    2404824909    CBCGENERIC_LIBS="$GLPK_LIBS $CBCGENERIC_LIBS"
     24910    CBCGENERIC_CFLAGS_INSTALLED="$GLPK_CFLAGS_INSTALLED $CBCGENERIC_CFLAGS_INSTALLED"
     24911    CBCGENERIC_LIBS_INSTALLED="$GLPK_LIBS_INSTALLED $CBCGENERIC_LIBS_INSTALLED"
     24912
     24913
     24914
    2404924915
    2405024916
     
    2406224928echo "$as_me: Glpk DATA   is  $GLPK_DATA" >&6;}
    2406324929    fi
    24064 
     24930    if test -n "$GLPK_CFLAGS_INSTALLED" ; then
     24931      { echo "$as_me:$LINENO: Glpk CFLAGS_INSTALLED are $GLPK_CFLAGS_INSTALLED" >&5
     24932echo "$as_me: Glpk CFLAGS_INSTALLED are $GLPK_CFLAGS_INSTALLED" >&6;}
     24933    fi
     24934    if test -n "$GLPK_LIBS_INSTALLED" ; then
     24935      { echo "$as_me:$LINENO: Glpk LIBS_INSTALLED   are $GLPK_LIBS_INSTALLED" >&5
     24936echo "$as_me: Glpk LIBS_INSTALLED   are $GLPK_LIBS_INSTALLED" >&6;}
     24937    fi
     24938    if test -n "$GLPK_DATA_INSTALLED" ; then
     24939      { echo "$as_me:$LINENO: Glpk DATA_INSTALLED   is  $GLPK_DATA_INSTALLED" >&5
     24940echo "$as_me: Glpk DATA_INSTALLED   is  $GLPK_DATA_INSTALLED" >&6;}
     24941    fi
     24942
     24943      { echo "$as_me:$LINENO: " >&5
     24944echo "$as_me: " >&6;}
    2406524945      { echo "$as_me:$LINENO: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&5
    2406624946echo "$as_me: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&6;}
    2406724947      { echo "$as_me:$LINENO: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&5
    2406824948echo "$as_me: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&6;}
     24949      { echo "$as_me:$LINENO: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&5
     24950echo "$as_me: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&6;}
     24951      { echo "$as_me:$LINENO: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&5
     24952echo "$as_me: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&6;}
    2406924953
    2407024954  fi
     
    2425825142coin_has_grb=notGiven
    2425925143GRB_LIBS=
     25144GRB_LIBS_INSTALLED=
    2426025145GRB_CFLAGS=
     25146GRB_CFLAGS_INSTALLED=
    2426125147GRB_DATA=
     25148GRB_DATA_INSTALLED=
    2426225149
    2426325150# initial list of dependencies is "osi-gurobi", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2426625153# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2426725154# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     25155# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2426825156# also, we setup the DATA variable
    2426925157allproj=""
    2427025158allpcfiles=""
     25159allpcifiles=""
    2427125160while test "x$projtoprocess" != x ; do
    2427225161
     
    2427825167    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2427925168      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    24280       if test -r "$dir/$proj-uninstalled.pc" ; then
     25169      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2428125170        pcfile="$dir/$proj-uninstalled.pc"
     25171        if test -r "$dir/${proj}.pc" ; then
     25172          pcifile="$dir/${proj}.pc"
     25173        else
     25174          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     25175echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     25176          pcifile=
     25177        fi
    2428225178        break
    2428325179      fi
     
    2429325189      projtoprocess=${projtoprocess/$proj/$projrequires}
    2429425190
    24295       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    24296       if test "x$allproj" = x ; then
    24297         GRB_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     25191      # read DATA from $pcfile, if _DATA is still empty
     25192      if test "x$GRB_DATA" = x ; then
     25193        projdatadir=
     25194        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     25195        eval `sh -c "$pcfilemod"`
     25196        GRB_DATA="$projdatadir"
    2429825197      fi
    2429925198
     
    2430625205      allproj=fail
    2430725206      break 2
     25207    fi
     25208
     25209    if test "x$pcifile" != x ; then
     25210      allpcifiles="$pcifile:$allpcifiles"
     25211
     25212      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     25213      if test "x$GRB_DATA_INSTALLED" = x ; then
     25214        projdatadir=
     25215        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     25216        eval `sh -c "$pcifilemod"`
     25217        GRB_DATA_INSTALLED="$projdatadir"
     25218      fi
     25219
    2430825220    fi
    2430925221
     
    2433625248    fi
    2433725249
    24338     # reconstruct the directory where the .pc file is located
    24339     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    24340 
    24341     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    24342     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     25250    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25251    #   replace "Libs:" by "echo projlibs="
     25252    #   replace "Cflags:" by "echo projcflags="
     25253    #   remove every line starting with <some word>:
     25254    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25255
     25256    # set projcflags and projlibs variables by running $pcfilemod
     25257    eval `sh -c "$pcfilemod"`
     25258
     25259    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2434325260    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2434425261    GRB_CFLAGS="$projcflags $GRB_CFLAGS"
    2434525262
    24346     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    24347     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    24348     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    24349     if test "x$projlibs" != x ; then
    24350       if test -d "${pcfiledir}/src" ; then
    24351         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    24352       else
    24353         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    24354       fi
    24355     else
    24356       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    24357     fi
     25263    # set LIBS variable
    2435825264    GRB_LIBS="$projlibs $GRB_LIBS"
    2435925265
     
    2436325269  done
    2436425270  IFS="$save_IFS"
     25271
     25272
     25273  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     25274  # important is here again to obey the reverse order that has been setup before,
     25275  # since then libraries that are required by several others should be after these other libraries
     25276  pcfilesprocessed=""
     25277
     25278  save_IFS="$IFS"
     25279  IFS=":"
     25280  for pcfile in $allpcifiles ; do
     25281
     25282    # if $pcfile has been processed already, skip this round
     25283    if test "x$pcfilesprocessed" != x ; then
     25284      for pcfiledone in $pcfilesprocessed ; do
     25285        if test "$pcfiledone" = "$pcfile" ; then
     25286          continue 2
     25287        fi
     25288      done
     25289    fi
     25290
     25291    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25292    #   replace "Libs:" by "echo projlibs="
     25293    #   replace "Cflags:" by "echo projcflags="
     25294    #   remove every line starting with <some word>:
     25295    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25296
     25297    # set projcflags and projlibs variables by running $pcfilemod
     25298    eval `sh -c "$pcfilemod"`
     25299
     25300    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     25301    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25302    GRB_CFLAGS_INSTALLED="$projcflags $GRB_CFLAGS_INSTALLED"
     25303
     25304    # set LIBS variable
     25305    GRB_LIBS_INSTALLED="$projlibs $GRB_LIBS_INSTALLED"
     25306
     25307    # remember that we have processed $pcfile
     25308    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     25309
     25310  done
     25311  IFS="$save_IFS"
     25312
    2436525313
    2436625314  # finish up
     
    2437625324
    2437725325
     25326
    2437825327  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2437925328    if test -n "$GRB_CFLAGS" ; then
     
    2438825337      { echo "$as_me:$LINENO: Grb DATA   is  $GRB_DATA" >&5
    2438925338echo "$as_me: Grb DATA   is  $GRB_DATA" >&6;}
     25339    fi
     25340    if test -n "$GRB_CFLAGS_INSTALLED" ; then
     25341      { echo "$as_me:$LINENO: Grb CFLAGS_INSTALLED are $GRB_CFLAGS_INSTALLED" >&5
     25342echo "$as_me: Grb CFLAGS_INSTALLED are $GRB_CFLAGS_INSTALLED" >&6;}
     25343    fi
     25344    if test -n "$GRB_LIBS_INSTALLED" ; then
     25345      { echo "$as_me:$LINENO: Grb LIBS_INSTALLED   are $GRB_LIBS_INSTALLED" >&5
     25346echo "$as_me: Grb LIBS_INSTALLED   are $GRB_LIBS_INSTALLED" >&6;}
     25347    fi
     25348    if test -n "$GRB_DATA_INSTALLED" ; then
     25349      { echo "$as_me:$LINENO: Grb DATA_INSTALLED   is  $GRB_DATA_INSTALLED" >&5
     25350echo "$as_me: Grb DATA_INSTALLED   is  $GRB_DATA_INSTALLED" >&6;}
    2439025351    fi
    2439125352
     
    2458825549coin_has_msk=notGiven
    2458925550MSK_LIBS=
     25551MSK_LIBS_INSTALLED=
    2459025552MSK_CFLAGS=
     25553MSK_CFLAGS_INSTALLED=
    2459125554MSK_DATA=
     25555MSK_DATA_INSTALLED=
    2459225556
    2459325557# initial list of dependencies is "osi-mosek", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2459625560# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2459725561# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     25562# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2459825563# also, we setup the DATA variable
    2459925564allproj=""
    2460025565allpcfiles=""
     25566allpcifiles=""
    2460125567while test "x$projtoprocess" != x ; do
    2460225568
     
    2460825574    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2460925575      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    24610       if test -r "$dir/$proj-uninstalled.pc" ; then
     25576      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2461125577        pcfile="$dir/$proj-uninstalled.pc"
     25578        if test -r "$dir/${proj}.pc" ; then
     25579          pcifile="$dir/${proj}.pc"
     25580        else
     25581          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     25582echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     25583          pcifile=
     25584        fi
    2461225585        break
    2461325586      fi
     
    2462325596      projtoprocess=${projtoprocess/$proj/$projrequires}
    2462425597
    24625       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    24626       if test "x$allproj" = x ; then
    24627         MSK_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     25598      # read DATA from $pcfile, if _DATA is still empty
     25599      if test "x$MSK_DATA" = x ; then
     25600        projdatadir=
     25601        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     25602        eval `sh -c "$pcfilemod"`
     25603        MSK_DATA="$projdatadir"
    2462825604      fi
    2462925605
     
    2463625612      allproj=fail
    2463725613      break 2
     25614    fi
     25615
     25616    if test "x$pcifile" != x ; then
     25617      allpcifiles="$pcifile:$allpcifiles"
     25618
     25619      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     25620      if test "x$MSK_DATA_INSTALLED" = x ; then
     25621        projdatadir=
     25622        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     25623        eval `sh -c "$pcifilemod"`
     25624        MSK_DATA_INSTALLED="$projdatadir"
     25625      fi
     25626
    2463825627    fi
    2463925628
     
    2466625655    fi
    2466725656
    24668     # reconstruct the directory where the .pc file is located
    24669     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    24670 
    24671     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    24672     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     25657    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25658    #   replace "Libs:" by "echo projlibs="
     25659    #   replace "Cflags:" by "echo projcflags="
     25660    #   remove every line starting with <some word>:
     25661    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25662
     25663    # set projcflags and projlibs variables by running $pcfilemod
     25664    eval `sh -c "$pcfilemod"`
     25665
     25666    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2467325667    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2467425668    MSK_CFLAGS="$projcflags $MSK_CFLAGS"
    2467525669
    24676     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    24677     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    24678     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    24679     if test "x$projlibs" != x ; then
    24680       if test -d "${pcfiledir}/src" ; then
    24681         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    24682       else
    24683         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    24684       fi
    24685     else
    24686       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    24687     fi
     25670    # set LIBS variable
    2468825671    MSK_LIBS="$projlibs $MSK_LIBS"
    2468925672
     
    2469325676  done
    2469425677  IFS="$save_IFS"
     25678
     25679
     25680  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     25681  # important is here again to obey the reverse order that has been setup before,
     25682  # since then libraries that are required by several others should be after these other libraries
     25683  pcfilesprocessed=""
     25684
     25685  save_IFS="$IFS"
     25686  IFS=":"
     25687  for pcfile in $allpcifiles ; do
     25688
     25689    # if $pcfile has been processed already, skip this round
     25690    if test "x$pcfilesprocessed" != x ; then
     25691      for pcfiledone in $pcfilesprocessed ; do
     25692        if test "$pcfiledone" = "$pcfile" ; then
     25693          continue 2
     25694        fi
     25695      done
     25696    fi
     25697
     25698    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     25699    #   replace "Libs:" by "echo projlibs="
     25700    #   replace "Cflags:" by "echo projcflags="
     25701    #   remove every line starting with <some word>:
     25702    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     25703
     25704    # set projcflags and projlibs variables by running $pcfilemod
     25705    eval `sh -c "$pcfilemod"`
     25706
     25707    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     25708    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     25709    MSK_CFLAGS_INSTALLED="$projcflags $MSK_CFLAGS_INSTALLED"
     25710
     25711    # set LIBS variable
     25712    MSK_LIBS_INSTALLED="$projlibs $MSK_LIBS_INSTALLED"
     25713
     25714    # remember that we have processed $pcfile
     25715    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     25716
     25717  done
     25718  IFS="$save_IFS"
     25719
    2469525720
    2469625721  # finish up
     
    2470825733    CBCGENERIC_CFLAGS="$MSK_CFLAGS $CBCGENERIC_CFLAGS"
    2470925734    CBCGENERIC_LIBS="$MSK_LIBS $CBCGENERIC_LIBS"
     25735    CBCGENERIC_CFLAGS_INSTALLED="$MSK_CFLAGS_INSTALLED $CBCGENERIC_CFLAGS_INSTALLED"
     25736    CBCGENERIC_LIBS_INSTALLED="$MSK_LIBS_INSTALLED $CBCGENERIC_LIBS_INSTALLED"
     25737
     25738
     25739
    2471025740
    2471125741
     
    2472325753echo "$as_me: Msk DATA   is  $MSK_DATA" >&6;}
    2472425754    fi
    24725 
     25755    if test -n "$MSK_CFLAGS_INSTALLED" ; then
     25756      { echo "$as_me:$LINENO: Msk CFLAGS_INSTALLED are $MSK_CFLAGS_INSTALLED" >&5
     25757echo "$as_me: Msk CFLAGS_INSTALLED are $MSK_CFLAGS_INSTALLED" >&6;}
     25758    fi
     25759    if test -n "$MSK_LIBS_INSTALLED" ; then
     25760      { echo "$as_me:$LINENO: Msk LIBS_INSTALLED   are $MSK_LIBS_INSTALLED" >&5
     25761echo "$as_me: Msk LIBS_INSTALLED   are $MSK_LIBS_INSTALLED" >&6;}
     25762    fi
     25763    if test -n "$MSK_DATA_INSTALLED" ; then
     25764      { echo "$as_me:$LINENO: Msk DATA_INSTALLED   is  $MSK_DATA_INSTALLED" >&5
     25765echo "$as_me: Msk DATA_INSTALLED   is  $MSK_DATA_INSTALLED" >&6;}
     25766    fi
     25767
     25768      { echo "$as_me:$LINENO: " >&5
     25769echo "$as_me: " >&6;}
    2472625770      { echo "$as_me:$LINENO: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&5
    2472725771echo "$as_me: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&6;}
    2472825772      { echo "$as_me:$LINENO: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&5
    2472925773echo "$as_me: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&6;}
     25774      { echo "$as_me:$LINENO: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&5
     25775echo "$as_me: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&6;}
     25776      { echo "$as_me:$LINENO: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&5
     25777echo "$as_me: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&6;}
    2473025778
    2473125779  fi
     
    2493225980coin_has_spx=notGiven
    2493325981SPX_LIBS=
     25982SPX_LIBS_INSTALLED=
    2493425983SPX_CFLAGS=
     25984SPX_CFLAGS_INSTALLED=
    2493525985SPX_DATA=
     25986SPX_DATA_INSTALLED=
    2493625987
    2493725988# initial list of dependencies is "osi-soplex", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2494025991# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2494125992# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     25993# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2494225994# also, we setup the DATA variable
    2494325995allproj=""
    2494425996allpcfiles=""
     25997allpcifiles=""
    2494525998while test "x$projtoprocess" != x ; do
    2494625999
     
    2495226005    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2495326006      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    24954       if test -r "$dir/$proj-uninstalled.pc" ; then
     26007      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2495526008        pcfile="$dir/$proj-uninstalled.pc"
     26009        if test -r "$dir/${proj}.pc" ; then
     26010          pcifile="$dir/${proj}.pc"
     26011        else
     26012          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     26013echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     26014          pcifile=
     26015        fi
    2495626016        break
    2495726017      fi
     
    2496726027      projtoprocess=${projtoprocess/$proj/$projrequires}
    2496826028
    24969       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    24970       if test "x$allproj" = x ; then
    24971         SPX_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     26029      # read DATA from $pcfile, if _DATA is still empty
     26030      if test "x$SPX_DATA" = x ; then
     26031        projdatadir=
     26032        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     26033        eval `sh -c "$pcfilemod"`
     26034        SPX_DATA="$projdatadir"
    2497226035      fi
    2497326036
     
    2498026043      allproj=fail
    2498126044      break 2
     26045    fi
     26046
     26047    if test "x$pcifile" != x ; then
     26048      allpcifiles="$pcifile:$allpcifiles"
     26049
     26050      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     26051      if test "x$SPX_DATA_INSTALLED" = x ; then
     26052        projdatadir=
     26053        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     26054        eval `sh -c "$pcifilemod"`
     26055        SPX_DATA_INSTALLED="$projdatadir"
     26056      fi
     26057
    2498226058    fi
    2498326059
     
    2501026086    fi
    2501126087
    25012     # reconstruct the directory where the .pc file is located
    25013     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    25014 
    25015     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    25016     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     26088    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     26089    #   replace "Libs:" by "echo projlibs="
     26090    #   replace "Cflags:" by "echo projcflags="
     26091    #   remove every line starting with <some word>:
     26092    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     26093
     26094    # set projcflags and projlibs variables by running $pcfilemod
     26095    eval `sh -c "$pcfilemod"`
     26096
     26097    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2501726098    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2501826099    SPX_CFLAGS="$projcflags $SPX_CFLAGS"
    2501926100
    25020     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    25021     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    25022     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    25023     if test "x$projlibs" != x ; then
    25024       if test -d "${pcfiledir}/src" ; then
    25025         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    25026       else
    25027         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    25028       fi
    25029     else
    25030       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    25031     fi
     26101    # set LIBS variable
    2503226102    SPX_LIBS="$projlibs $SPX_LIBS"
    2503326103
     
    2503726107  done
    2503826108  IFS="$save_IFS"
     26109
     26110
     26111  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     26112  # important is here again to obey the reverse order that has been setup before,
     26113  # since then libraries that are required by several others should be after these other libraries
     26114  pcfilesprocessed=""
     26115
     26116  save_IFS="$IFS"
     26117  IFS=":"
     26118  for pcfile in $allpcifiles ; do
     26119
     26120    # if $pcfile has been processed already, skip this round
     26121    if test "x$pcfilesprocessed" != x ; then
     26122      for pcfiledone in $pcfilesprocessed ; do
     26123        if test "$pcfiledone" = "$pcfile" ; then
     26124          continue 2
     26125        fi
     26126      done
     26127    fi
     26128
     26129    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     26130    #   replace "Libs:" by "echo projlibs="
     26131    #   replace "Cflags:" by "echo projcflags="
     26132    #   remove every line starting with <some word>:
     26133    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     26134
     26135    # set projcflags and projlibs variables by running $pcfilemod
     26136    eval `sh -c "$pcfilemod"`
     26137
     26138    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     26139    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26140    SPX_CFLAGS_INSTALLED="$projcflags $SPX_CFLAGS_INSTALLED"
     26141
     26142    # set LIBS variable
     26143    SPX_LIBS_INSTALLED="$projlibs $SPX_LIBS_INSTALLED"
     26144
     26145    # remember that we have processed $pcfile
     26146    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     26147
     26148  done
     26149  IFS="$save_IFS"
     26150
    2503926151
    2504026152  # finish up
     
    2505226164    CBCGENERIC_CFLAGS="$SPX_CFLAGS $CBCGENERIC_CFLAGS"
    2505326165    CBCGENERIC_LIBS="$SPX_LIBS $CBCGENERIC_LIBS"
     26166    CBCGENERIC_CFLAGS_INSTALLED="$SPX_CFLAGS_INSTALLED $CBCGENERIC_CFLAGS_INSTALLED"
     26167    CBCGENERIC_LIBS_INSTALLED="$SPX_LIBS_INSTALLED $CBCGENERIC_LIBS_INSTALLED"
     26168
     26169
     26170
    2505426171
    2505526172
     
    2506726184echo "$as_me: Spx DATA   is  $SPX_DATA" >&6;}
    2506826185    fi
    25069 
     26186    if test -n "$SPX_CFLAGS_INSTALLED" ; then
     26187      { echo "$as_me:$LINENO: Spx CFLAGS_INSTALLED are $SPX_CFLAGS_INSTALLED" >&5
     26188echo "$as_me: Spx CFLAGS_INSTALLED are $SPX_CFLAGS_INSTALLED" >&6;}
     26189    fi
     26190    if test -n "$SPX_LIBS_INSTALLED" ; then
     26191      { echo "$as_me:$LINENO: Spx LIBS_INSTALLED   are $SPX_LIBS_INSTALLED" >&5
     26192echo "$as_me: Spx LIBS_INSTALLED   are $SPX_LIBS_INSTALLED" >&6;}
     26193    fi
     26194    if test -n "$SPX_DATA_INSTALLED" ; then
     26195      { echo "$as_me:$LINENO: Spx DATA_INSTALLED   is  $SPX_DATA_INSTALLED" >&5
     26196echo "$as_me: Spx DATA_INSTALLED   is  $SPX_DATA_INSTALLED" >&6;}
     26197    fi
     26198
     26199      { echo "$as_me:$LINENO: " >&5
     26200echo "$as_me: " >&6;}
    2507026201      { echo "$as_me:$LINENO: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&5
    2507126202echo "$as_me: CbcGeneric CFLAGS are $CBCGENERIC_CFLAGS" >&6;}
    2507226203      { echo "$as_me:$LINENO: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&5
    2507326204echo "$as_me: CbcGeneric LIBS   are $CBCGENERIC_LIBS" >&6;}
     26205      { echo "$as_me:$LINENO: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&5
     26206echo "$as_me: CbcGeneric CFLAGS_INSTALLED are $CBCGENERIC_CFLAGS_INSTALLED" >&6;}
     26207      { echo "$as_me:$LINENO: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&5
     26208echo "$as_me: CbcGeneric LIBS_INSTALLED   are $CBCGENERIC_LIBS_INSTALLED" >&6;}
    2507426209
    2507526210  fi
     
    2526326398coin_has_xpr=notGiven
    2526426399XPR_LIBS=
     26400XPR_LIBS_INSTALLED=
    2526526401XPR_CFLAGS=
     26402XPR_CFLAGS_INSTALLED=
    2526626403XPR_DATA=
     26404XPR_DATA_INSTALLED=
    2526726405
    2526826406# initial list of dependencies is "osi-xpress", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2527126409# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2527226410# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     26411# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2527326412# also, we setup the DATA variable
    2527426413allproj=""
    2527526414allpcfiles=""
     26415allpcifiles=""
    2527626416while test "x$projtoprocess" != x ; do
    2527726417
     
    2528326423    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2528426424      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    25285       if test -r "$dir/$proj-uninstalled.pc" ; then
     26425      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2528626426        pcfile="$dir/$proj-uninstalled.pc"
     26427        if test -r "$dir/${proj}.pc" ; then
     26428          pcifile="$dir/${proj}.pc"
     26429        else
     26430          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     26431echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     26432          pcifile=
     26433        fi
    2528726434        break
    2528826435      fi
     
    2529826445      projtoprocess=${projtoprocess/$proj/$projrequires}
    2529926446
    25300       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    25301       if test "x$allproj" = x ; then
    25302         XPR_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     26447      # read DATA from $pcfile, if _DATA is still empty
     26448      if test "x$XPR_DATA" = x ; then
     26449        projdatadir=
     26450        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     26451        eval `sh -c "$pcfilemod"`
     26452        XPR_DATA="$projdatadir"
    2530326453      fi
    2530426454
     
    2531126461      allproj=fail
    2531226462      break 2
     26463    fi
     26464
     26465    if test "x$pcifile" != x ; then
     26466      allpcifiles="$pcifile:$allpcifiles"
     26467
     26468      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     26469      if test "x$XPR_DATA_INSTALLED" = x ; then
     26470        projdatadir=
     26471        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     26472        eval `sh -c "$pcifilemod"`
     26473        XPR_DATA_INSTALLED="$projdatadir"
     26474      fi
     26475
    2531326476    fi
    2531426477
     
    2534126504    fi
    2534226505
    25343     # reconstruct the directory where the .pc file is located
    25344     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    25345 
    25346     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    25347     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     26506    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     26507    #   replace "Libs:" by "echo projlibs="
     26508    #   replace "Cflags:" by "echo projcflags="
     26509    #   remove every line starting with <some word>:
     26510    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     26511
     26512    # set projcflags and projlibs variables by running $pcfilemod
     26513    eval `sh -c "$pcfilemod"`
     26514
     26515    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2534826516    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2534926517    XPR_CFLAGS="$projcflags $XPR_CFLAGS"
    2535026518
    25351     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    25352     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    25353     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    25354     if test "x$projlibs" != x ; then
    25355       if test -d "${pcfiledir}/src" ; then
    25356         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    25357       else
    25358         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    25359       fi
    25360     else
    25361       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    25362     fi
     26519    # set LIBS variable
    2536326520    XPR_LIBS="$projlibs $XPR_LIBS"
    2536426521
     
    2536826525  done
    2536926526  IFS="$save_IFS"
     26527
     26528
     26529  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     26530  # important is here again to obey the reverse order that has been setup before,
     26531  # since then libraries that are required by several others should be after these other libraries
     26532  pcfilesprocessed=""
     26533
     26534  save_IFS="$IFS"
     26535  IFS=":"
     26536  for pcfile in $allpcifiles ; do
     26537
     26538    # if $pcfile has been processed already, skip this round
     26539    if test "x$pcfilesprocessed" != x ; then
     26540      for pcfiledone in $pcfilesprocessed ; do
     26541        if test "$pcfiledone" = "$pcfile" ; then
     26542          continue 2
     26543        fi
     26544      done
     26545    fi
     26546
     26547    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     26548    #   replace "Libs:" by "echo projlibs="
     26549    #   replace "Cflags:" by "echo projcflags="
     26550    #   remove every line starting with <some word>:
     26551    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     26552
     26553    # set projcflags and projlibs variables by running $pcfilemod
     26554    eval `sh -c "$pcfilemod"`
     26555
     26556    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     26557    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26558    XPR_CFLAGS_INSTALLED="$projcflags $XPR_CFLAGS_INSTALLED"
     26559
     26560    # set LIBS variable
     26561    XPR_LIBS_INSTALLED="$projlibs $XPR_LIBS_INSTALLED"
     26562
     26563    # remember that we have processed $pcfile
     26564    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     26565
     26566  done
     26567  IFS="$save_IFS"
     26568
    2537026569
    2537126570  # finish up
     
    2538126580
    2538226581
     26582
    2538326583  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2538426584    if test -n "$XPR_CFLAGS" ; then
     
    2539326593      { echo "$as_me:$LINENO: Xpr DATA   is  $XPR_DATA" >&5
    2539426594echo "$as_me: Xpr DATA   is  $XPR_DATA" >&6;}
     26595    fi
     26596    if test -n "$XPR_CFLAGS_INSTALLED" ; then
     26597      { echo "$as_me:$LINENO: Xpr CFLAGS_INSTALLED are $XPR_CFLAGS_INSTALLED" >&5
     26598echo "$as_me: Xpr CFLAGS_INSTALLED are $XPR_CFLAGS_INSTALLED" >&6;}
     26599    fi
     26600    if test -n "$XPR_LIBS_INSTALLED" ; then
     26601      { echo "$as_me:$LINENO: Xpr LIBS_INSTALLED   are $XPR_LIBS_INSTALLED" >&5
     26602echo "$as_me: Xpr LIBS_INSTALLED   are $XPR_LIBS_INSTALLED" >&6;}
     26603    fi
     26604    if test -n "$XPR_DATA_INSTALLED" ; then
     26605      { echo "$as_me:$LINENO: Xpr DATA_INSTALLED   is  $XPR_DATA_INSTALLED" >&5
     26606echo "$as_me: Xpr DATA_INSTALLED   is  $XPR_DATA_INSTALLED" >&6;}
    2539526607    fi
    2539626608
     
    2558626798coin_has_asl=notGiven
    2558726799ASL_LIBS=
     26800ASL_LIBS_INSTALLED=
    2558826801ASL_CFLAGS=
     26802ASL_CFLAGS_INSTALLED=
    2558926803ASL_DATA=
     26804ASL_DATA_INSTALLED=
    2559026805
    2559126806# initial list of dependencies is "coinasl", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2559426809# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2559526810# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     26811# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2559626812# also, we setup the DATA variable
    2559726813allproj=""
    2559826814allpcfiles=""
     26815allpcifiles=""
    2559926816while test "x$projtoprocess" != x ; do
    2560026817
     
    2560626823    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2560726824      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
    25608       if test -r "$dir/$proj-uninstalled.pc" ; then
     26825      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2560926826        pcfile="$dir/$proj-uninstalled.pc"
     26827        if test -r "$dir/${proj}.pc" ; then
     26828          pcifile="$dir/${proj}.pc"
     26829        else
     26830          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     26831echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     26832          pcifile=
     26833        fi
    2561026834        break
    2561126835      fi
     
    2562126845      projtoprocess=${projtoprocess/$proj/$projrequires}
    2562226846
    25623       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    25624       if test "x$allproj" = x ; then
    25625         ASL_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     26847      # read DATA from $pcfile, if _DATA is still empty
     26848      if test "x$ASL_DATA" = x ; then
     26849        projdatadir=
     26850        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     26851        eval `sh -c "$pcfilemod"`
     26852        ASL_DATA="$projdatadir"
    2562626853      fi
    2562726854
     
    2563426861      allproj=fail
    2563526862      break 2
     26863    fi
     26864
     26865    if test "x$pcifile" != x ; then
     26866      allpcifiles="$pcifile:$allpcifiles"
     26867
     26868      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     26869      if test "x$ASL_DATA_INSTALLED" = x ; then
     26870        projdatadir=
     26871        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     26872        eval `sh -c "$pcifilemod"`
     26873        ASL_DATA_INSTALLED="$projdatadir"
     26874      fi
     26875
    2563626876    fi
    2563726877
     
    2566426904    fi
    2566526905
    25666     # reconstruct the directory where the .pc file is located
    25667     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    25668 
    25669     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    25670     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
     26906    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     26907    #   replace "Libs:" by "echo projlibs="
     26908    #   replace "Cflags:" by "echo projcflags="
     26909    #   remove every line starting with <some word>:
     26910    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     26911
     26912    # set projcflags and projlibs variables by running $pcfilemod
     26913    eval `sh -c "$pcfilemod"`
     26914
     26915    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2567126916    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2567226917    ASL_CFLAGS="$projcflags $ASL_CFLAGS"
    2567326918
    25674     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    25675     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    25676     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    25677     if test "x$projlibs" != x ; then
    25678       if test -d "${pcfiledir}/src" ; then
    25679         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    25680       else
    25681         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    25682       fi
    25683     else
    25684       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    25685     fi
     26919    # set LIBS variable
    2568626920    ASL_LIBS="$projlibs $ASL_LIBS"
    2568726921
     
    2569126925  done
    2569226926  IFS="$save_IFS"
     26927
     26928
     26929  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     26930  # important is here again to obey the reverse order that has been setup before,
     26931  # since then libraries that are required by several others should be after these other libraries
     26932  pcfilesprocessed=""
     26933
     26934  save_IFS="$IFS"
     26935  IFS=":"
     26936  for pcfile in $allpcifiles ; do
     26937
     26938    # if $pcfile has been processed already, skip this round
     26939    if test "x$pcfilesprocessed" != x ; then
     26940      for pcfiledone in $pcfilesprocessed ; do
     26941        if test "$pcfiledone" = "$pcfile" ; then
     26942          continue 2
     26943        fi
     26944      done
     26945    fi
     26946
     26947    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     26948    #   replace "Libs:" by "echo projlibs="
     26949    #   replace "Cflags:" by "echo projcflags="
     26950    #   remove every line starting with <some word>:
     26951    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     26952
     26953    # set projcflags and projlibs variables by running $pcfilemod
     26954    eval `sh -c "$pcfilemod"`
     26955
     26956    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     26957    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     26958    ASL_CFLAGS_INSTALLED="$projcflags $ASL_CFLAGS_INSTALLED"
     26959
     26960    # set LIBS variable
     26961    ASL_LIBS_INSTALLED="$projlibs $ASL_LIBS_INSTALLED"
     26962
     26963    # remember that we have processed $pcfile
     26964    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     26965
     26966  done
     26967  IFS="$save_IFS"
     26968
    2569326969
    2569426970  # finish up
     
    2570426980
    2570526981
     26982
    2570626983  if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    2570726984    if test -n "$ASL_CFLAGS" ; then
     
    2571626993      { echo "$as_me:$LINENO: ASL DATA   is  $ASL_DATA" >&5
    2571726994echo "$as_me: ASL DATA   is  $ASL_DATA" >&6;}
     26995    fi
     26996    if test -n "$ASL_CFLAGS_INSTALLED" ; then
     26997      { echo "$as_me:$LINENO: ASL CFLAGS_INSTALLED are $ASL_CFLAGS_INSTALLED" >&5
     26998echo "$as_me: ASL CFLAGS_INSTALLED are $ASL_CFLAGS_INSTALLED" >&6;}
     26999    fi
     27000    if test -n "$ASL_LIBS_INSTALLED" ; then
     27001      { echo "$as_me:$LINENO: ASL LIBS_INSTALLED   are $ASL_LIBS_INSTALLED" >&5
     27002echo "$as_me: ASL LIBS_INSTALLED   are $ASL_LIBS_INSTALLED" >&6;}
     27003    fi
     27004    if test -n "$ASL_DATA_INSTALLED" ; then
     27005      { echo "$as_me:$LINENO: ASL DATA_INSTALLED   is  $ASL_DATA_INSTALLED" >&5
     27006echo "$as_me: ASL DATA_INSTALLED   is  $ASL_DATA_INSTALLED" >&6;}
    2571827007    fi
    2571927008
     
    2667127960   { (exit 1); exit 1; }; }
    2667227961fi
     27962if test -z "${COIN_CC_IS_CL_TRUE}" && test -z "${COIN_CC_IS_CL_FALSE}"; then
     27963  { { echo "$as_me:$LINENO: error: conditional \"COIN_CC_IS_CL\" was never defined.
     27964Usually this means the macro was only invoked conditionally." >&5
     27965echo "$as_me: error: conditional \"COIN_CC_IS_CL\" was never defined.
     27966Usually this means the macro was only invoked conditionally." >&2;}
     27967   { (exit 1); exit 1; }; }
     27968fi
     27969if test -z "${COIN_CXX_IS_CL_TRUE}" && test -z "${COIN_CXX_IS_CL_FALSE}"; then
     27970  { { echo "$as_me:$LINENO: error: conditional \"COIN_CXX_IS_CL\" was never defined.
     27971Usually this means the macro was only invoked conditionally." >&5
     27972echo "$as_me: error: conditional \"COIN_CXX_IS_CL\" was never defined.
     27973Usually this means the macro was only invoked conditionally." >&2;}
     27974   { (exit 1); exit 1; }; }
     27975fi
    2667327976if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    2667427977  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
     
    2755228855s,@have_svnversion@,$have_svnversion,;t t
    2755328856s,@CBC_SVN_REV@,$CBC_SVN_REV,;t t
     28857s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
     28858s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2755428859s,@CDEFS@,$CDEFS,;t t
    2755528860s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2757228877s,@CXXFLAGS@,$CXXFLAGS,;t t
    2757328878s,@ac_ct_CXX@,$ac_ct_CXX,;t t
     28879s,@COIN_CXX_IS_CL_TRUE@,$COIN_CXX_IS_CL_TRUE,;t t
     28880s,@COIN_CXX_IS_CL_FALSE@,$COIN_CXX_IS_CL_FALSE,;t t
    2757428881s,@MPICXX@,$MPICXX,;t t
    2757528882s,@EGREP@,$EGREP,;t t
     
    2766028967s,@CBCGENERIC_PCLIBS@,$CBCGENERIC_PCLIBS,;t t
    2766128968s,@CBCGENERIC_PCREQUIRES@,$CBCGENERIC_PCREQUIRES,;t t
     28969s,@CBCLIB_CFLAGS_INSTALLED@,$CBCLIB_CFLAGS_INSTALLED,;t t
     28970s,@CBCLIB_LIBS_INSTALLED@,$CBCLIB_LIBS_INSTALLED,;t t
     28971s,@CBCGENERIC_CFLAGS_INSTALLED@,$CBCGENERIC_CFLAGS_INSTALLED,;t t
     28972s,@CBCGENERIC_LIBS_INSTALLED@,$CBCGENERIC_LIBS_INSTALLED,;t t
     28973s,@COINDEPEND_DATA_INSTALLED@,$COINDEPEND_DATA_INSTALLED,;t t
    2766228974s,@COIN_HAS_COINDEPEND_TRUE@,$COIN_HAS_COINDEPEND_TRUE,;t t
    2766328975s,@COIN_HAS_COINDEPEND_FALSE@,$COIN_HAS_COINDEPEND_FALSE,;t t
     
    2766528977s,@CLP_CFLAGS@,$CLP_CFLAGS,;t t
    2766628978s,@CLP_DATA@,$CLP_DATA,;t t
     28979s,@CLP_DATA_INSTALLED@,$CLP_DATA_INSTALLED,;t t
    2766728980s,@COIN_HAS_CLP_TRUE@,$COIN_HAS_CLP_TRUE,;t t
    2766828981s,@COIN_HAS_CLP_FALSE@,$COIN_HAS_CLP_FALSE,;t t
     
    2767028983s,@OSITESTS_CFLAGS@,$OSITESTS_CFLAGS,;t t
    2767128984s,@OSITESTS_DATA@,$OSITESTS_DATA,;t t
     28985s,@OSITESTS_DATA_INSTALLED@,$OSITESTS_DATA_INSTALLED,;t t
    2767228986s,@COIN_HAS_OSITESTS_TRUE@,$COIN_HAS_OSITESTS_TRUE,;t t
    2767328987s,@COIN_HAS_OSITESTS_FALSE@,$COIN_HAS_OSITESTS_FALSE,;t t
     
    2767528989s,@SAMPLE_CFLAGS@,$SAMPLE_CFLAGS,;t t
    2767628990s,@SAMPLE_DATA@,$SAMPLE_DATA,;t t
     28991s,@SAMPLE_DATA_INSTALLED@,$SAMPLE_DATA_INSTALLED,;t t
    2767728992s,@COIN_HAS_SAMPLE_TRUE@,$COIN_HAS_SAMPLE_TRUE,;t t
    2767828993s,@COIN_HAS_SAMPLE_FALSE@,$COIN_HAS_SAMPLE_FALSE,;t t
     
    2768028995s,@NETLIB_CFLAGS@,$NETLIB_CFLAGS,;t t
    2768128996s,@NETLIB_DATA@,$NETLIB_DATA,;t t
     28997s,@NETLIB_DATA_INSTALLED@,$NETLIB_DATA_INSTALLED,;t t
    2768228998s,@COIN_HAS_NETLIB_TRUE@,$COIN_HAS_NETLIB_TRUE,;t t
    2768328999s,@COIN_HAS_NETLIB_FALSE@,$COIN_HAS_NETLIB_FALSE,;t t
     
    2768529001s,@MIPLIB3_CFLAGS@,$MIPLIB3_CFLAGS,;t t
    2768629002s,@MIPLIB3_DATA@,$MIPLIB3_DATA,;t t
     29003s,@MIPLIB3_DATA_INSTALLED@,$MIPLIB3_DATA_INSTALLED,;t t
    2768729004s,@COIN_HAS_MIPLIB3_TRUE@,$COIN_HAS_MIPLIB3_TRUE,;t t
    2768829005s,@COIN_HAS_MIPLIB3_FALSE@,$COIN_HAS_MIPLIB3_FALSE,;t t
     
    2769029007s,@DYLP_CFLAGS@,$DYLP_CFLAGS,;t t
    2769129008s,@DYLP_DATA@,$DYLP_DATA,;t t
     29009s,@DYLP_DATA_INSTALLED@,$DYLP_DATA_INSTALLED,;t t
    2769229010s,@COIN_HAS_DYLP_TRUE@,$COIN_HAS_DYLP_TRUE,;t t
    2769329011s,@COIN_HAS_DYLP_FALSE@,$COIN_HAS_DYLP_FALSE,;t t
     
    2769529013s,@VOL_CFLAGS@,$VOL_CFLAGS,;t t
    2769629014s,@VOL_DATA@,$VOL_DATA,;t t
     29015s,@VOL_DATA_INSTALLED@,$VOL_DATA_INSTALLED,;t t
    2769729016s,@COIN_HAS_VOL_TRUE@,$COIN_HAS_VOL_TRUE,;t t
    2769829017s,@COIN_HAS_VOL_FALSE@,$COIN_HAS_VOL_FALSE,;t t
     
    2770029019s,@CPX_CFLAGS@,$CPX_CFLAGS,;t t
    2770129020s,@CPX_DATA@,$CPX_DATA,;t t
     29021s,@CPX_DATA_INSTALLED@,$CPX_DATA_INSTALLED,;t t
    2770229022s,@COIN_HAS_CPX_TRUE@,$COIN_HAS_CPX_TRUE,;t t
    2770329023s,@COIN_HAS_CPX_FALSE@,$COIN_HAS_CPX_FALSE,;t t
     
    2770529025s,@GLPK_CFLAGS@,$GLPK_CFLAGS,;t t
    2770629026s,@GLPK_DATA@,$GLPK_DATA,;t t
     29027s,@GLPK_DATA_INSTALLED@,$GLPK_DATA_INSTALLED,;t t
    2770729028s,@COIN_HAS_GLPK_TRUE@,$COIN_HAS_GLPK_TRUE,;t t
    2770829029s,@COIN_HAS_GLPK_FALSE@,$COIN_HAS_GLPK_FALSE,;t t
     
    2771029031s,@GRB_CFLAGS@,$GRB_CFLAGS,;t t
    2771129032s,@GRB_DATA@,$GRB_DATA,;t t
     29033s,@GRB_DATA_INSTALLED@,$GRB_DATA_INSTALLED,;t t
    2771229034s,@COIN_HAS_GRB_TRUE@,$COIN_HAS_GRB_TRUE,;t t
    2771329035s,@COIN_HAS_GRB_FALSE@,$COIN_HAS_GRB_FALSE,;t t
     
    2771529037s,@MSK_CFLAGS@,$MSK_CFLAGS,;t t
    2771629038s,@MSK_DATA@,$MSK_DATA,;t t
     29039s,@MSK_DATA_INSTALLED@,$MSK_DATA_INSTALLED,;t t
    2771729040s,@COIN_HAS_MSK_TRUE@,$COIN_HAS_MSK_TRUE,;t t
    2771829041s,@COIN_HAS_MSK_FALSE@,$COIN_HAS_MSK_FALSE,;t t
     
    2772029043s,@SPX_CFLAGS@,$SPX_CFLAGS,;t t
    2772129044s,@SPX_DATA@,$SPX_DATA,;t t
     29045s,@SPX_DATA_INSTALLED@,$SPX_DATA_INSTALLED,;t t
    2772229046s,@COIN_HAS_SPX_TRUE@,$COIN_HAS_SPX_TRUE,;t t
    2772329047s,@COIN_HAS_SPX_FALSE@,$COIN_HAS_SPX_FALSE,;t t
     
    2772529049s,@XPR_CFLAGS@,$XPR_CFLAGS,;t t
    2772629050s,@XPR_DATA@,$XPR_DATA,;t t
     29051s,@XPR_DATA_INSTALLED@,$XPR_DATA_INSTALLED,;t t
    2772729052s,@COIN_HAS_XPR_TRUE@,$COIN_HAS_XPR_TRUE,;t t
    2772829053s,@COIN_HAS_XPR_FALSE@,$COIN_HAS_XPR_FALSE,;t t
     
    2773029055s,@ASL_CFLAGS@,$ASL_CFLAGS,;t t
    2773129056s,@ASL_DATA@,$ASL_DATA,;t t
     29057s,@ASL_DATA_INSTALLED@,$ASL_DATA_INSTALLED,;t t
    2773229058s,@COIN_HAS_ASL_TRUE@,$COIN_HAS_ASL_TRUE,;t t
    2773329059s,@COIN_HAS_ASL_FALSE@,$COIN_HAS_ASL_FALSE,;t t
  • trunk/Cbc/examples/Makefile.in

    r1520 r1541  
    5050# C++ Compiler options
    5151CXXFLAGS = @CXXFLAGS@
    52 @COIN_HAS_SAMPLE_TRUE@CXXFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA@\"
    53 @COIN_HAS_MIPLIB3_TRUE@CXXFLAGS += -DMIPLIB3DIR=\"@MIPLIB3_DATA@\"
     52@COIN_HAS_SAMPLE_TRUE@@COIN_HAS_PKGCONFIG_TRUE@CXXFLAGS += -DSAMPLEDIR=\"`PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --variable=datadir coindatasample`\"
     53@COIN_HAS_SAMPLE_TRUE@@COIN_HAS_PKGCONFIG_FALSE@CXXFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA_INSTALLED@\"
     54@COIN_HAS_MIPLIB3_TRUE@@COIN_HAS_PKGCONFIG_TRUE@CXXFLAGS += -DMIPLIB3DIR=\"`PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --variable=datadir coindatamiplib3`\"
     55@COIN_HAS_MIPLIB3_TRUE@@COIN_HAS_PKGCONFIG_FALSE@CXXFLAGS += -DMIPLIB3DIR=\"@MIPLIB3_DATA_INSTALLED@\"
    5456
    5557# C Compiler options
     
    6062CXXLINKFLAGS = @RPATH_FLAGS@
    6163
    62 # Directory with COIN header files
    63 COININCDIR = @abs_include_dir@/coin
     64# Compiler flags (we use the CYGPATH_W variables to allow compilation with Windows compilers)
     65@COIN_HAS_PKGCONFIG_TRUE@INCL = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --cflags cbc` $(ADDINCFLAGS)
     66@COIN_HAS_PKGCONFIG_FALSE@INCL = @CBCLIB_CFLAGS_INSTALLED@ $(ADDINCFLAGS)
    6467
    65 # Directory with COIN libraries
    66 COINLIBDIR = @abs_lib_dir@
    67 
    68 # Libraries necessary to link with Cbc
    69 LIBS = -L$(COINLIBDIR) -lCbcSolver -lCbc -lOsiCbc @CBCLIB_LIBS@
    70 
    71 # Necessary Include dirs (we use the CYGPATH_W variables to allow
    72 # compilation with Windows compilers)
    73 # COININCDIR should come first, so that the include directory of the Cbc installation is checked first
    74 # for header files; this is necessary if the installed header files differ from their source header files (esp., XxxConfig.h)
    75 INCL = -I`$(CYGPATH_W) $(COININCDIR)` @COINDEPEND_CFLAGS@ @CLP_CFLAGS@ $(ADDINCFLAGS)
     68# Linker flags
     69@COIN_HAS_PKGCONFIG_TRUE@@COIN_CXX_IS_CL_FALSE@LIBS = `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --libs cbc`
     70@COIN_HAS_PKGCONFIG_TRUE@@COIN_CXX_IS_CL_TRUE@LIBS = /link: `PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@ @PKG_CONFIG@ --msvc-syntax --libs cbc`
     71@COIN_HAS_PKGCONFIG_FALSE@LIBS = -L@abs_lib_dir@ -lCbcSolver -lCbc -lOsiCbc @CBCLIB_LIBS_INSTALLED@
    7672
    7773# The following is necessary under cygwin, if native compilers are used
     
    112108        bla=;\
    113109        for file in $(OBJS); do bla="$$bla `$(CYGPATH_W) $$file`"; done; \
    114         $(CXX) $(CXXLINKFLAGS) $(CXXFLAGS) -o $@ $$bla $(ADDLIBS) $(LIBS)
     110        $(CXX) $(CXXLINKFLAGS) $(CXXFLAGS) -o $@ $$bla $(LIBS) $(ADDLIBS)
    115111
    116112clean:
  • trunk/Cbc/src/Makefile.in

    r1531 r1541  
    211211ASL_CFLAGS = @ASL_CFLAGS@
    212212ASL_DATA = @ASL_DATA@
     213ASL_DATA_INSTALLED = @ASL_DATA_INSTALLED@
    213214ASL_LIBS = @ASL_LIBS@
    214215AUTOCONF = @AUTOCONF@
     
    219220BUILDTOOLSDIR = @BUILDTOOLSDIR@
    220221CBCGENERIC_CFLAGS = @CBCGENERIC_CFLAGS@
     222CBCGENERIC_CFLAGS_INSTALLED = @CBCGENERIC_CFLAGS_INSTALLED@
    221223CBCGENERIC_LIBS = @CBCGENERIC_LIBS@
     224CBCGENERIC_LIBS_INSTALLED = @CBCGENERIC_LIBS_INSTALLED@
    222225CBCGENERIC_PCLIBS = @CBCGENERIC_PCLIBS@
    223226CBCGENERIC_PCREQUIRES = @CBCGENERIC_PCREQUIRES@
    224227CBCLIB_CFLAGS = @CBCLIB_CFLAGS@
     228CBCLIB_CFLAGS_INSTALLED = @CBCLIB_CFLAGS_INSTALLED@
    225229CBCLIB_LIBS = @CBCLIB_LIBS@
     230CBCLIB_LIBS_INSTALLED = @CBCLIB_LIBS_INSTALLED@
    226231CBCLIB_PCLIBS = @CBCLIB_PCLIBS@
    227232CBCLIB_PCREQUIRES = @CBCLIB_PCREQUIRES@
     
    235240CLP_CFLAGS = @CLP_CFLAGS@
    236241CLP_DATA = @CLP_DATA@
     242CLP_DATA_INSTALLED = @CLP_DATA_INSTALLED@
    237243CLP_LIBS = @CLP_LIBS@
    238244COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
    239245COINDEPEND_DATA = @COINDEPEND_DATA@
     246COINDEPEND_DATA_INSTALLED = @COINDEPEND_DATA_INSTALLED@
    240247COINDEPEND_LIBS = @COINDEPEND_LIBS@
     248COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
     249COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
     250COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@
     251COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@
    241252COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    242253COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     
    277288CPX_CFLAGS = @CPX_CFLAGS@
    278289CPX_DATA = @CPX_DATA@
     290CPX_DATA_INSTALLED = @CPX_DATA_INSTALLED@
    279291CPX_LIBS = @CPX_LIBS@
    280292CXX = @CXX@
     
    290302DYLP_CFLAGS = @DYLP_CFLAGS@
    291303DYLP_DATA = @DYLP_DATA@
     304DYLP_DATA_INSTALLED = @DYLP_DATA_INSTALLED@
    292305DYLP_LIBS = @DYLP_LIBS@
    293306ECHO = @ECHO@
     
    302315GLPK_CFLAGS = @GLPK_CFLAGS@
    303316GLPK_DATA = @GLPK_DATA@
     317GLPK_DATA_INSTALLED = @GLPK_DATA_INSTALLED@
    304318GLPK_LIBS = @GLPK_LIBS@
    305319GRB_CFLAGS = @GRB_CFLAGS@
    306320GRB_DATA = @GRB_DATA@
     321GRB_DATA_INSTALLED = @GRB_DATA_INSTALLED@
    307322GRB_LIBS = @GRB_LIBS@
    308323HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
     
    327342MIPLIB3_CFLAGS = @MIPLIB3_CFLAGS@
    328343MIPLIB3_DATA = @MIPLIB3_DATA@
     344MIPLIB3_DATA_INSTALLED = @MIPLIB3_DATA_INSTALLED@
    329345MIPLIB3_LIBS = @MIPLIB3_LIBS@
    330346MPICC = @MPICC@
     
    332348MSK_CFLAGS = @MSK_CFLAGS@
    333349MSK_DATA = @MSK_DATA@
     350MSK_DATA_INSTALLED = @MSK_DATA_INSTALLED@
    334351MSK_LIBS = @MSK_LIBS@
    335352NETLIB_CFLAGS = @NETLIB_CFLAGS@
    336353NETLIB_DATA = @NETLIB_DATA@
     354NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@
    337355NETLIB_LIBS = @NETLIB_LIBS@
    338356OBJEXT = @OBJEXT@
     
    361379OSITESTS_CFLAGS = @OSITESTS_CFLAGS@
    362380OSITESTS_DATA = @OSITESTS_DATA@
     381OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@
    363382OSITESTS_LIBS = @OSITESTS_LIBS@
    364383PACKAGE = @PACKAGE@
     
    375394SAMPLE_CFLAGS = @SAMPLE_CFLAGS@
    376395SAMPLE_DATA = @SAMPLE_DATA@
     396SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@
    377397SAMPLE_LIBS = @SAMPLE_LIBS@
    378398SET_MAKE = @SET_MAKE@
     
    380400SPX_CFLAGS = @SPX_CFLAGS@
    381401SPX_DATA = @SPX_DATA@
     402SPX_DATA_INSTALLED = @SPX_DATA_INSTALLED@
    382403SPX_LIBS = @SPX_LIBS@
    383404STRIP = @STRIP@
     
    385406VOL_CFLAGS = @VOL_CFLAGS@
    386407VOL_DATA = @VOL_DATA@
     408VOL_DATA_INSTALLED = @VOL_DATA_INSTALLED@
    387409VOL_LIBS = @VOL_LIBS@
    388410VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    389411XPR_CFLAGS = @XPR_CFLAGS@
    390412XPR_DATA = @XPR_DATA@
     413XPR_DATA_INSTALLED = @XPR_DATA_INSTALLED@
    391414XPR_LIBS = @XPR_LIBS@
    392415abs_bin_dir = @abs_bin_dir@
  • trunk/Cbc/src/OsiCbc/Makefile.in

    r1516 r1541  
    116116ASL_CFLAGS = @ASL_CFLAGS@
    117117ASL_DATA = @ASL_DATA@
     118ASL_DATA_INSTALLED = @ASL_DATA_INSTALLED@
    118119ASL_LIBS = @ASL_LIBS@
    119120AUTOCONF = @AUTOCONF@
     
    124125BUILDTOOLSDIR = @BUILDTOOLSDIR@
    125126CBCGENERIC_CFLAGS = @CBCGENERIC_CFLAGS@
     127CBCGENERIC_CFLAGS_INSTALLED = @CBCGENERIC_CFLAGS_INSTALLED@
    126128CBCGENERIC_LIBS = @CBCGENERIC_LIBS@
     129CBCGENERIC_LIBS_INSTALLED = @CBCGENERIC_LIBS_INSTALLED@
    127130CBCGENERIC_PCLIBS = @CBCGENERIC_PCLIBS@
    128131CBCGENERIC_PCREQUIRES = @CBCGENERIC_PCREQUIRES@
    129132CBCLIB_CFLAGS = @CBCLIB_CFLAGS@
     133CBCLIB_CFLAGS_INSTALLED = @CBCLIB_CFLAGS_INSTALLED@
    130134CBCLIB_LIBS = @CBCLIB_LIBS@
     135CBCLIB_LIBS_INSTALLED = @CBCLIB_LIBS_INSTALLED@
    131136CBCLIB_PCLIBS = @CBCLIB_PCLIBS@
    132137CBCLIB_PCREQUIRES = @CBCLIB_PCREQUIRES@
     
    140145CLP_CFLAGS = @CLP_CFLAGS@
    141146CLP_DATA = @CLP_DATA@
     147CLP_DATA_INSTALLED = @CLP_DATA_INSTALLED@
    142148CLP_LIBS = @CLP_LIBS@
    143149COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
    144150COINDEPEND_DATA = @COINDEPEND_DATA@
     151COINDEPEND_DATA_INSTALLED = @COINDEPEND_DATA_INSTALLED@
    145152COINDEPEND_LIBS = @COINDEPEND_LIBS@
     153COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
     154COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
     155COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@
     156COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@
    146157COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    147158COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     
    182193CPX_CFLAGS = @CPX_CFLAGS@
    183194CPX_DATA = @CPX_DATA@
     195CPX_DATA_INSTALLED = @CPX_DATA_INSTALLED@
    184196CPX_LIBS = @CPX_LIBS@
    185197CXX = @CXX@
     
    195207DYLP_CFLAGS = @DYLP_CFLAGS@
    196208DYLP_DATA = @DYLP_DATA@
     209DYLP_DATA_INSTALLED = @DYLP_DATA_INSTALLED@
    197210DYLP_LIBS = @DYLP_LIBS@
    198211ECHO = @ECHO@
     
    207220GLPK_CFLAGS = @GLPK_CFLAGS@
    208221GLPK_DATA = @GLPK_DATA@
     222GLPK_DATA_INSTALLED = @GLPK_DATA_INSTALLED@
    209223GLPK_LIBS = @GLPK_LIBS@
    210224GRB_CFLAGS = @GRB_CFLAGS@
    211225GRB_DATA = @GRB_DATA@
     226GRB_DATA_INSTALLED = @GRB_DATA_INSTALLED@
    212227GRB_LIBS = @GRB_LIBS@
    213228HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
     
    232247MIPLIB3_CFLAGS = @MIPLIB3_CFLAGS@
    233248MIPLIB3_DATA = @MIPLIB3_DATA@
     249MIPLIB3_DATA_INSTALLED = @MIPLIB3_DATA_INSTALLED@
    234250MIPLIB3_LIBS = @MIPLIB3_LIBS@
    235251MPICC = @MPICC@
     
    237253MSK_CFLAGS = @MSK_CFLAGS@
    238254MSK_DATA = @MSK_DATA@
     255MSK_DATA_INSTALLED = @MSK_DATA_INSTALLED@
    239256MSK_LIBS = @MSK_LIBS@
    240257NETLIB_CFLAGS = @NETLIB_CFLAGS@
    241258NETLIB_DATA = @NETLIB_DATA@
     259NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@
    242260NETLIB_LIBS = @NETLIB_LIBS@
    243261OBJEXT = @OBJEXT@
     
    266284OSITESTS_CFLAGS = @OSITESTS_CFLAGS@
    267285OSITESTS_DATA = @OSITESTS_DATA@
     286OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@
    268287OSITESTS_LIBS = @OSITESTS_LIBS@
    269288PACKAGE = @PACKAGE@
     
    280299SAMPLE_CFLAGS = @SAMPLE_CFLAGS@
    281300SAMPLE_DATA = @SAMPLE_DATA@
     301SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@
    282302SAMPLE_LIBS = @SAMPLE_LIBS@
    283303SET_MAKE = @SET_MAKE@
     
    285305SPX_CFLAGS = @SPX_CFLAGS@
    286306SPX_DATA = @SPX_DATA@
     307SPX_DATA_INSTALLED = @SPX_DATA_INSTALLED@
    287308SPX_LIBS = @SPX_LIBS@
    288309STRIP = @STRIP@
     
    290311VOL_CFLAGS = @VOL_CFLAGS@
    291312VOL_DATA = @VOL_DATA@
     313VOL_DATA_INSTALLED = @VOL_DATA_INSTALLED@
    292314VOL_LIBS = @VOL_LIBS@
    293315VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    294316XPR_CFLAGS = @XPR_CFLAGS@
    295317XPR_DATA = @XPR_DATA@
     318XPR_DATA_INSTALLED = @XPR_DATA_INSTALLED@
    296319XPR_LIBS = @XPR_LIBS@
    297320abs_bin_dir = @abs_bin_dir@
  • trunk/Cbc/test/Makefile.in

    r1516 r1541  
    120120ASL_CFLAGS = @ASL_CFLAGS@
    121121ASL_DATA = @ASL_DATA@
     122ASL_DATA_INSTALLED = @ASL_DATA_INSTALLED@
    122123ASL_LIBS = @ASL_LIBS@
    123124AUTOCONF = @AUTOCONF@
     
    128129BUILDTOOLSDIR = @BUILDTOOLSDIR@
    129130CBCGENERIC_CFLAGS = @CBCGENERIC_CFLAGS@
     131CBCGENERIC_CFLAGS_INSTALLED = @CBCGENERIC_CFLAGS_INSTALLED@
    130132CBCGENERIC_LIBS = @CBCGENERIC_LIBS@
     133CBCGENERIC_LIBS_INSTALLED = @CBCGENERIC_LIBS_INSTALLED@
    131134CBCGENERIC_PCLIBS = @CBCGENERIC_PCLIBS@
    132135CBCGENERIC_PCREQUIRES = @CBCGENERIC_PCREQUIRES@
    133136CBCLIB_CFLAGS = @CBCLIB_CFLAGS@
     137CBCLIB_CFLAGS_INSTALLED = @CBCLIB_CFLAGS_INSTALLED@
    134138CBCLIB_LIBS = @CBCLIB_LIBS@
     139CBCLIB_LIBS_INSTALLED = @CBCLIB_LIBS_INSTALLED@
    135140CBCLIB_PCLIBS = @CBCLIB_PCLIBS@
    136141CBCLIB_PCREQUIRES = @CBCLIB_PCREQUIRES@
     
    144149CLP_CFLAGS = @CLP_CFLAGS@
    145150CLP_DATA = @CLP_DATA@
     151CLP_DATA_INSTALLED = @CLP_DATA_INSTALLED@
    146152CLP_LIBS = @CLP_LIBS@
    147153COINDEPEND_CFLAGS = @COINDEPEND_CFLAGS@
    148154COINDEPEND_DATA = @COINDEPEND_DATA@
     155COINDEPEND_DATA_INSTALLED = @COINDEPEND_DATA_INSTALLED@
    149156COINDEPEND_LIBS = @COINDEPEND_LIBS@
     157COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
     158COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
     159COIN_CXX_IS_CL_FALSE = @COIN_CXX_IS_CL_FALSE@
     160COIN_CXX_IS_CL_TRUE = @COIN_CXX_IS_CL_TRUE@
    150161COIN_HAS_ASL_FALSE = @COIN_HAS_ASL_FALSE@
    151162COIN_HAS_ASL_TRUE = @COIN_HAS_ASL_TRUE@
     
    186197CPX_CFLAGS = @CPX_CFLAGS@
    187198CPX_DATA = @CPX_DATA@
     199CPX_DATA_INSTALLED = @CPX_DATA_INSTALLED@
    188200CPX_LIBS = @CPX_LIBS@
    189201CXX = @CXX@
     
    199211DYLP_CFLAGS = @DYLP_CFLAGS@
    200212DYLP_DATA = @DYLP_DATA@
     213DYLP_DATA_INSTALLED = @DYLP_DATA_INSTALLED@
    201214DYLP_LIBS = @DYLP_LIBS@
    202215ECHO = @ECHO@
     
    211224GLPK_CFLAGS = @GLPK_CFLAGS@
    212225GLPK_DATA = @GLPK_DATA@
     226GLPK_DATA_INSTALLED = @GLPK_DATA_INSTALLED@
    213227GLPK_LIBS = @GLPK_LIBS@
    214228GRB_CFLAGS = @GRB_CFLAGS@
    215229GRB_DATA = @GRB_DATA@
     230GRB_DATA_INSTALLED = @GRB_DATA_INSTALLED@
    216231GRB_LIBS = @GRB_LIBS@
    217232HAVE_EXTERNALS_FALSE = @HAVE_EXTERNALS_FALSE@
     
    236251MIPLIB3_CFLAGS = @MIPLIB3_CFLAGS@
    237252MIPLIB3_DATA = @MIPLIB3_DATA@
     253MIPLIB3_DATA_INSTALLED = @MIPLIB3_DATA_INSTALLED@
    238254MIPLIB3_LIBS = @MIPLIB3_LIBS@
    239255MPICC = @MPICC@
     
    241257MSK_CFLAGS = @MSK_CFLAGS@
    242258MSK_DATA = @MSK_DATA@
     259MSK_DATA_INSTALLED = @MSK_DATA_INSTALLED@
    243260MSK_LIBS = @MSK_LIBS@
    244261NETLIB_CFLAGS = @NETLIB_CFLAGS@
    245262NETLIB_DATA = @NETLIB_DATA@
     263NETLIB_DATA_INSTALLED = @NETLIB_DATA_INSTALLED@
    246264NETLIB_LIBS = @NETLIB_LIBS@
    247265OBJEXT = @OBJEXT@
     
    270288OSITESTS_CFLAGS = @OSITESTS_CFLAGS@
    271289OSITESTS_DATA = @OSITESTS_DATA@
     290OSITESTS_DATA_INSTALLED = @OSITESTS_DATA_INSTALLED@
    272291OSITESTS_LIBS = @OSITESTS_LIBS@
    273292PACKAGE = @PACKAGE@
     
    284303SAMPLE_CFLAGS = @SAMPLE_CFLAGS@
    285304SAMPLE_DATA = @SAMPLE_DATA@
     305SAMPLE_DATA_INSTALLED = @SAMPLE_DATA_INSTALLED@
    286306SAMPLE_LIBS = @SAMPLE_LIBS@
    287307SET_MAKE = @SET_MAKE@
     
    289309SPX_CFLAGS = @SPX_CFLAGS@
    290310SPX_DATA = @SPX_DATA@
     311SPX_DATA_INSTALLED = @SPX_DATA_INSTALLED@
    291312SPX_LIBS = @SPX_LIBS@
    292313STRIP = @STRIP@
     
    294315VOL_CFLAGS = @VOL_CFLAGS@
    295316VOL_DATA = @VOL_DATA@
     317VOL_DATA_INSTALLED = @VOL_DATA_INSTALLED@
    296318VOL_LIBS = @VOL_LIBS@
    297319VPATH_DISTCLEANFILES = @VPATH_DISTCLEANFILES@
    298320XPR_CFLAGS = @XPR_CFLAGS@
    299321XPR_DATA = @XPR_DATA@
     322XPR_DATA_INSTALLED = @XPR_DATA_INSTALLED@
    300323XPR_LIBS = @XPR_LIBS@
    301324abs_bin_dir = @abs_bin_dir@
Note: See TracChangeset for help on using the changeset viewer.