Changeset 1465 for stable/BSPsplit/Clp


Ignore:
Timestamp:
Nov 29, 2009 12:49:43 PM (10 years ago)
Author:
stefan
Message:

use new pkg-config based macros to search for required and optional packages

Location:
stable/BSPsplit
Files:
2 added
23 edited

Legend:

Unmodified
Added
Removed
  • stable/BSPsplit

    • Property svn:externals
      •  

        old new  
        1 BuildTools    https://projects.coin-or.org/svn/BuildTools/stable/0.5
        2 ThirdParty/Blas https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.0
        3 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.0
        4 Data/Sample   https://projects.coin-or.org/svn/Data/stable/1.0/Sample
        5 CoinUtils     https://projects.coin-or.org/svn/CoinUtils/stable/2.5/CoinUtils
         1BuildTools    https://projects.coin-or.org/svn/BuildTools/stable/BSPsplit
         2#ThirdParty/Blas https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.0
         3#ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.0
         4#Data/Sample   https://projects.coin-or.org/svn/Data/stable/1.0/Sample
         5#CoinUtils     https://projects.coin-or.org/svn/CoinUtils/stable/2.5/CoinUtils
  • stable/BSPsplit/Clp/Makefile.am

    r1162 r1465  
    104104        rm -f $(DESTDIR)$(addlibsdir)/$(addlibsfile)
    105105
     106pkgconfiglibdir = $(prefix)/lib/pkgconfig
     107pkgconfiglib_DATA = clp.pc
     108
    106109########################################################################
    107110#                         Maintainer Stuff                             #
  • stable/BSPsplit/Clp/Makefile.in

    r1381 r1465  
    3030#                    Documentation installation                        #
    3131########################################################################
     32
    3233srcdir = @srcdir@
    3334top_srcdir = @top_srcdir@
     
    6263        $(srcdir)/../ltmain.sh $(srcdir)/../missing \
    6364        $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
     65        $(srcdir)/clp-uninstalled.pc.in $(srcdir)/clp.pc.in \
    6466        $(srcdir)/clp_addlibs.txt.in $(top_srcdir)/configure \
    6567        $(top_srcdir)/examples/Makefile.in \
     
    7779mkinstalldirs = $(install_sh) -d
    7880CONFIG_HEADER = $(top_builddir)/inc/config_clp.h
    79 CONFIG_CLEAN_FILES = examples/Makefile clp_addlibs.txt
     81CONFIG_CLEAN_FILES = examples/Makefile clp_addlibs.txt clp.pc \
     82        clp-uninstalled.pc
    8083SOURCES =
    8184DIST_SOURCES =
     
    8689        pdf-recursive ps-recursive uninstall-info-recursive \
    8790        uninstall-recursive
     91am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
     92am__vpath_adj = case $$p in \
     93    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
     94    *) f=$$p;; \
     95  esac;
     96am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
     97am__installdirs = "$(DESTDIR)$(pkgconfiglibdir)"
     98pkgconfiglibDATA_INSTALL = $(INSTALL_DATA)
     99DATA = $(pkgconfiglib_DATA)
    88100ETAGS = etags
    89101CTAGS = ctags
     
    100112distuninstallcheck_listfiles = find . -type f -print
    101113distcleancheck_listfiles = find . -type f -print
     114ABSBUILDDIR = @ABSBUILDDIR@
    102115ACLOCAL = @ACLOCAL@
    103116ADDLIBS = @ADDLIBS@
     
    120133CDEFS = @CDEFS@
    121134CFLAGS = @CFLAGS@
    122 CLPDOCDIR = @CLPDOCDIR@
    123 CLPINSTDIR = @CLPINSTDIR@
    124 CLPOBJDIR = @CLPOBJDIR@
    125 CLPSRCDIR = @CLPSRCDIR@
     135COINUTILSDATADIR = @COINUTILSDATADIR@
    126136COINUTILSDOCDIR = @COINUTILSDOCDIR@
    127137COINUTILSINSTDIR = @COINUTILSINSTDIR@
    128138COINUTILSOBJDIR = @COINUTILSOBJDIR@
    129139COINUTILSSRCDIR = @COINUTILSSRCDIR@
    130 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@
    131 COIN_HAS_CLP_PREINSTALLED_FALSE = @COIN_HAS_CLP_PREINSTALLED_FALSE@
    132 COIN_HAS_CLP_PREINSTALLED_TRUE = @COIN_HAS_CLP_PREINSTALLED_TRUE@
    133 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@
     140COINUTILS_CFLAGS = @COINUTILS_CFLAGS@
     141COINUTILS_DATA = @COINUTILS_DATA@
     142COINUTILS_LIBS = @COINUTILS_LIBS@
    134143COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@
    135144COIN_HAS_COINUTILS_PREINSTALLED_FALSE = @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@
    136145COIN_HAS_COINUTILS_PREINSTALLED_TRUE = @COIN_HAS_COINUTILS_PREINSTALLED_TRUE@
    137146COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@
     147COIN_HAS_NETLIB_FALSE = @COIN_HAS_NETLIB_FALSE@
     148COIN_HAS_NETLIB_TRUE = @COIN_HAS_NETLIB_TRUE@
     149COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@
     150COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@
    138151CPP = @CPP@
    139152CPPFLAGS = @CPPFLAGS@
     
    178191MPICC = @MPICC@
    179192MPICXX = @MPICXX@
     193NETLIB_CFLAGS = @NETLIB_CFLAGS@
     194NETLIB_DATA = @NETLIB_DATA@
     195NETLIB_LIBS = @NETLIB_LIBS@
    180196OBJEXT = @OBJEXT@
    181197OPT_CFLAGS = @OPT_CFLAGS@
     
    188204PACKAGE_VERSION = @PACKAGE_VERSION@
    189205PATH_SEPARATOR = @PATH_SEPARATOR@
     206PKG_CONFIG = @PKG_CONFIG@
    190207RANLIB = @RANLIB@
     208REQUIREDPACKAGES = @REQUIREDPACKAGES@
    191209RPATH_FLAGS = @RPATH_FLAGS@
     210SAMPLE_CFLAGS = @SAMPLE_CFLAGS@
     211SAMPLE_DATA = @SAMPLE_DATA@
     212SAMPLE_LIBS = @SAMPLE_LIBS@
    192213SET_MAKE = @SET_MAKE@
    193214SHELL = @SHELL@
     
    207228ac_ct_STRIP = @ac_ct_STRIP@
    208229ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     230ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    209231am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    210232am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    284306addlibsfile = clp_addlibs.txt
    285307addlibsdir = $(prefix)/share/doc/coin/$(PACKAGE_NAME)/
     308pkgconfiglibdir = $(prefix)/lib/pkgconfig
     309pkgconfiglib_DATA = clp.pc
    286310
    287311########################################################################
     
    350374clp_addlibs.txt: $(top_builddir)/config.status $(srcdir)/clp_addlibs.txt.in
    351375        cd $(top_builddir) && $(SHELL) ./config.status $@
     376clp.pc: $(top_builddir)/config.status $(srcdir)/clp.pc.in
     377        cd $(top_builddir) && $(SHELL) ./config.status $@
     378clp-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/clp-uninstalled.pc.in
     379        cd $(top_builddir) && $(SHELL) ./config.status $@
    352380
    353381mostlyclean-libtool:
     
    360388        -rm -f libtool
    361389uninstall-info-am:
     390install-pkgconfiglibDATA: $(pkgconfiglib_DATA)
     391        @$(NORMAL_INSTALL)
     392        test -z "$(pkgconfiglibdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfiglibdir)"
     393        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     394          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     395          f=$(am__strip_dir) \
     396          echo " $(pkgconfiglibDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     397          $(pkgconfiglibDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     398        done
     399
     400uninstall-pkgconfiglibDATA:
     401        @$(NORMAL_UNINSTALL)
     402        @list='$(pkgconfiglib_DATA)'; for p in $$list; do \
     403          f=$(am__strip_dir) \
     404          echo " rm -f '$(DESTDIR)$(pkgconfiglibdir)/$$f'"; \
     405          rm -f "$(DESTDIR)$(pkgconfiglibdir)/$$f"; \
     406        done
    362407
    363408# This directory's subdirectories are mostly independent; you can cd
     
    637682check-am: all-am
    638683check: check-recursive
    639 all-am: Makefile
     684all-am: Makefile $(DATA)
    640685installdirs: installdirs-recursive
    641686installdirs-am:
     687        for dir in "$(DESTDIR)$(pkgconfiglibdir)"; do \
     688          test -z "$$dir" || $(mkdir_p) "$$dir"; \
     689        done
    642690install: install-recursive
    643691install-exec: install-exec-recursive
     
    685733info-am:
    686734
    687 install-data-am:
     735install-data-am: install-pkgconfiglibDATA
    688736
    689737install-exec-am: install-exec-local
     
    713761ps-am:
    714762
    715 uninstall-am: uninstall-info-am uninstall-local
     763uninstall-am: uninstall-info-am uninstall-local \
     764        uninstall-pkgconfiglibDATA
    716765
    717766uninstall-info: uninstall-info-recursive
     
    727776        install-data-am install-exec install-exec-am \
    728777        install-exec-local install-info install-info-am install-man \
    729         install-strip installcheck installcheck-am installdirs \
    730         installdirs-am maintainer-clean maintainer-clean-generic \
    731         maintainer-clean-recursive mostlyclean mostlyclean-generic \
    732         mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \
    733         tags tags-recursive uninstall uninstall-am uninstall-info-am \
    734         uninstall-local
     778        install-pkgconfiglibDATA install-strip installcheck \
     779        installcheck-am installdirs installdirs-am maintainer-clean \
     780        maintainer-clean-generic maintainer-clean-recursive \
     781        mostlyclean mostlyclean-generic mostlyclean-libtool \
     782        mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
     783        uninstall uninstall-am uninstall-info-am uninstall-local \
     784        uninstall-pkgconfiglibDATA
    735785
    736786
  • stable/BSPsplit/Clp/configure

    r1391 r1465  
    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 FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COINUTILSSRCDIR COINUTILSOBJDIR COINUTILSDOCDIR COINUTILSINSTDIR COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_FALSE COIN_HAS_COINUTILS_PREINSTALLED_TRUE COIN_HAS_COINUTILS_PREINSTALLED_FALSE CLPSRCDIR CLPOBJDIR CLPDOCDIR CLPINSTDIR COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE COIN_HAS_CLP_PREINSTALLED_TRUE COIN_HAS_CLP_PREINSTALLED_FALSE LIBEXT VPATH_DISTCLEANFILES 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 FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COINUTILS_LIBS COINUTILS_CFLAGS COINUTILS_DATA REQUIREDPACKAGES COIN_HAS_COINUTILS_TRUE COIN_HAS_COINUTILS_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 COINUTILSSRCDIR COINUTILSOBJDIR COINUTILSDOCDIR COINUTILSDATADIR COINUTILSINSTDIR COIN_HAS_COINUTILS_PREINSTALLED_TRUE COIN_HAS_COINUTILS_PREINSTALLED_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    994994ac_cv_env_FFLAGS_set=${FFLAGS+set}
    995995ac_cv_env_FFLAGS_value=$FFLAGS
     996ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     997ac_env_PKG_CONFIG_value=$PKG_CONFIG
     998ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     999ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    9961000
    9971001#
     
    10931097                          optimize for fast installation [default=yes]
    10941098  --disable-libtool-lock  avoid locking (might break parallel builds)
     1099  --enable-pkg-config     use pkg-config if available (default is yes)
    10951100  --enable-gnu-packages   compile with GNU packages (disabled by default)
    10961101
     
    11051110  --with-tags[=TAGS]
    11061111                          include additional configurations [automatic]
     1112  --with-coinutils-lib linker flags for using module CoinUtils
     1113  --with-coinutils-incdir directory with header files for using module
     1114                          CoinUtils
     1115  --with-coinutils-datadir
     1116                          directory with data files for using module CoinUtils
     1117  --with-coin-instdir     prefix of installation directory for precompiled
     1118                          COIN packages
     1119  --with-sample-lib linker flags for using module Sample
     1120  --with-sample-incdir directory with header files for using module Sample
     1121  --with-sample-datadir directory with data files for using module Sample
     1122  --with-netlib-lib linker flags for using module Netlib
     1123  --with-netlib-incdir directory with header files for using module Netlib
     1124  --with-netlib-datadir directory with data files for using module Netlib
    11071125  --with-coinutils-instdir
    11081126                          prefix of installation directory for precompiled
     
    11111129  --with-coinutils-objdir object directory for CoinUtils package (if different
    11121130                          from source directory in VPATH compilation)
    1113   --with-coin-instdir     prefix of installation directory for precompiled
    1114                           COIN packages
    1115   --with-clp-instdir prefix of installation directory for precompiled Clp
    1116                           package
    1117   --with-clp-srcdir source directory for Clp package
    1118   --with-clp-objdir object directory for Clp package (if different from source
    1119                           directory in VPATH compilation)
    11201131  --with-wsmp             specify WSMP library
    11211132
     
    11461157  F77         Fortran 77 compiler command
    11471158  FFLAGS      Fortran 77 compiler flags
     1159  PKG_CONFIG  path to pkg-config utility
    11481160
    11491161Use these variables to override the choices made by `configure' or to help
     
    57955807*-*-irix6*)
    57965808  # Find out which ABI we are using.
    5797   echo '#line 5797 "configure"' > conftest.$ac_ext
     5809  echo '#line 5809 "configure"' > conftest.$ac_ext
    57985810  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    57995811  (eval $ac_compile) 2>&5
     
    69296941
    69306942# Provide some information about the compiler.
    6931 echo "$as_me:6931:" \
     6943echo "$as_me:6943:" \
    69326944     "checking for Fortran 77 compiler version" >&5
    69336945ac_compiler=`set X $ac_compile; echo $2`
     
    79968008   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    79978009   -e 's:$: $lt_compiler_flag:'`
    7998    (eval echo "\"\$as_me:7998: $lt_compile\"" >&5)
     8010   (eval echo "\"\$as_me:8010: $lt_compile\"" >&5)
    79998011   (eval "$lt_compile" 2>conftest.err)
    80008012   ac_status=$?
    80018013   cat conftest.err >&5
    8002    echo "$as_me:8002: \$? = $ac_status" >&5
     8014   echo "$as_me:8014: \$? = $ac_status" >&5
    80038015   if (exit $ac_status) && test -s "$ac_outfile"; then
    80048016     # The compiler can only warn and ignore the option if not recognized
     
    82648276   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    82658277   -e 's:$: $lt_compiler_flag:'`
    8266    (eval echo "\"\$as_me:8266: $lt_compile\"" >&5)
     8278   (eval echo "\"\$as_me:8278: $lt_compile\"" >&5)
    82678279   (eval "$lt_compile" 2>conftest.err)
    82688280   ac_status=$?
    82698281   cat conftest.err >&5
    8270    echo "$as_me:8270: \$? = $ac_status" >&5
     8282   echo "$as_me:8282: \$? = $ac_status" >&5
    82718283   if (exit $ac_status) && test -s "$ac_outfile"; then
    82728284     # The compiler can only warn and ignore the option if not recognized
     
    83688380   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    83698381   -e 's:$: $lt_compiler_flag:'`
    8370    (eval echo "\"\$as_me:8370: $lt_compile\"" >&5)
     8382   (eval echo "\"\$as_me:8382: $lt_compile\"" >&5)
    83718383   (eval "$lt_compile" 2>out/conftest.err)
    83728384   ac_status=$?
    83738385   cat out/conftest.err >&5
    8374    echo "$as_me:8374: \$? = $ac_status" >&5
     8386   echo "$as_me:8386: \$? = $ac_status" >&5
    83758387   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    83768388   then
     
    1071310725  lt_status=$lt_dlunknown
    1071410726  cat > conftest.$ac_ext <<EOF
    10715 #line 10715 "configure"
     10727#line 10727 "configure"
    1071610728#include "confdefs.h"
    1071710729
     
    1081310825  lt_status=$lt_dlunknown
    1081410826  cat > conftest.$ac_ext <<EOF
    10815 #line 10815 "configure"
     10827#line 10827 "configure"
    1081610828#include "confdefs.h"
    1081710829
     
    1315713169   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1315813170   -e 's:$: $lt_compiler_flag:'`
    13159    (eval echo "\"\$as_me:13159: $lt_compile\"" >&5)
     13171   (eval echo "\"\$as_me:13171: $lt_compile\"" >&5)
    1316013172   (eval "$lt_compile" 2>conftest.err)
    1316113173   ac_status=$?
    1316213174   cat conftest.err >&5
    13163    echo "$as_me:13163: \$? = $ac_status" >&5
     13175   echo "$as_me:13175: \$? = $ac_status" >&5
    1316413176   if (exit $ac_status) && test -s "$ac_outfile"; then
    1316513177     # The compiler can only warn and ignore the option if not recognized
     
    1326113273   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1326213274   -e 's:$: $lt_compiler_flag:'`
    13263    (eval echo "\"\$as_me:13263: $lt_compile\"" >&5)
     13275   (eval echo "\"\$as_me:13275: $lt_compile\"" >&5)
    1326413276   (eval "$lt_compile" 2>out/conftest.err)
    1326513277   ac_status=$?
    1326613278   cat out/conftest.err >&5
    13267    echo "$as_me:13267: \$? = $ac_status" >&5
     13279   echo "$as_me:13279: \$? = $ac_status" >&5
    1326813280   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1326913281   then
     
    1483114843   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1483214844   -e 's:$: $lt_compiler_flag:'`
    14833    (eval echo "\"\$as_me:14833: $lt_compile\"" >&5)
     14845   (eval echo "\"\$as_me:14845: $lt_compile\"" >&5)
    1483414846   (eval "$lt_compile" 2>conftest.err)
    1483514847   ac_status=$?
    1483614848   cat conftest.err >&5
    14837    echo "$as_me:14837: \$? = $ac_status" >&5
     14849   echo "$as_me:14849: \$? = $ac_status" >&5
    1483814850   if (exit $ac_status) && test -s "$ac_outfile"; then
    1483914851     # The compiler can only warn and ignore the option if not recognized
     
    1493514947   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1493614948   -e 's:$: $lt_compiler_flag:'`
    14937    (eval echo "\"\$as_me:14937: $lt_compile\"" >&5)
     14949   (eval echo "\"\$as_me:14949: $lt_compile\"" >&5)
    1493814950   (eval "$lt_compile" 2>out/conftest.err)
    1493914951   ac_status=$?
    1494014952   cat out/conftest.err >&5
    14941    echo "$as_me:14941: \$? = $ac_status" >&5
     14953   echo "$as_me:14953: \$? = $ac_status" >&5
    1494214954   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1494314955   then
     
    1714217154   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1714317155   -e 's:$: $lt_compiler_flag:'`
    17144    (eval echo "\"\$as_me:17144: $lt_compile\"" >&5)
     17156   (eval echo "\"\$as_me:17156: $lt_compile\"" >&5)
    1714517157   (eval "$lt_compile" 2>conftest.err)
    1714617158   ac_status=$?
    1714717159   cat conftest.err >&5
    17148    echo "$as_me:17148: \$? = $ac_status" >&5
     17160   echo "$as_me:17160: \$? = $ac_status" >&5
    1714917161   if (exit $ac_status) && test -s "$ac_outfile"; then
    1715017162     # The compiler can only warn and ignore the option if not recognized
     
    1741017422   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1741117423   -e 's:$: $lt_compiler_flag:'`
    17412    (eval echo "\"\$as_me:17412: $lt_compile\"" >&5)
     17424   (eval echo "\"\$as_me:17424: $lt_compile\"" >&5)
    1741317425   (eval "$lt_compile" 2>conftest.err)
    1741417426   ac_status=$?
    1741517427   cat conftest.err >&5
    17416    echo "$as_me:17416: \$? = $ac_status" >&5
     17428   echo "$as_me:17428: \$? = $ac_status" >&5
    1741717429   if (exit $ac_status) && test -s "$ac_outfile"; then
    1741817430     # The compiler can only warn and ignore the option if not recognized
     
    1751417526   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1751517527   -e 's:$: $lt_compiler_flag:'`
    17516    (eval echo "\"\$as_me:17516: $lt_compile\"" >&5)
     17528   (eval echo "\"\$as_me:17528: $lt_compile\"" >&5)
    1751717529   (eval "$lt_compile" 2>out/conftest.err)
    1751817530   ac_status=$?
    1751917531   cat out/conftest.err >&5
    17520    echo "$as_me:17520: \$? = $ac_status" >&5
     17532   echo "$as_me:17532: \$? = $ac_status" >&5
    1752117533   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1752217534   then
     
    2042020432#############################################################################
    2042120433
    20422 echo "$as_me:$LINENO: checking for COIN project CoinUtils" >&5
    20423 echo $ECHO_N "checking for COIN project CoinUtils... $ECHO_C" >&6
     20434#AC_COIN_HAS_MODULE_BLAS
     20435#AC_COIN_HAS_MODULE_LAPACK
     20436
     20437
     20438# Check whether --enable-pkg-config or --disable-pkg-config was given.
     20439if test "${enable_pkg_config+set}" = set; then
     20440  enableval="$enable_pkg_config"
     20441  use_pkgconfig="$enableval"
     20442else
     20443  use_pkgconfig=yes
     20444fi;
     20445
     20446if test $use_pkgconfig = yes ; then
     20447  if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
     20448    if test -n "$ac_tool_prefix"; then
     20449  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
     20450set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     20451echo "$as_me:$LINENO: checking for $ac_word" >&5
     20452echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20453if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
     20454  echo $ECHO_N "(cached) $ECHO_C" >&6
     20455else
     20456  case $PKG_CONFIG in
     20457  [\\/]* | ?:[\\/]*)
     20458  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     20459  ;;
     20460  *)
     20461  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20462for as_dir in $PATH
     20463do
     20464  IFS=$as_save_IFS
     20465  test -z "$as_dir" && as_dir=.
     20466  for ac_exec_ext in '' $ac_executable_extensions; do
     20467  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20468    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20469    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20470    break 2
     20471  fi
     20472done
     20473done
     20474
     20475  ;;
     20476esac
     20477fi
     20478PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     20479
     20480if test -n "$PKG_CONFIG"; then
     20481  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     20482echo "${ECHO_T}$PKG_CONFIG" >&6
     20483else
     20484  echo "$as_me:$LINENO: result: no" >&5
     20485echo "${ECHO_T}no" >&6
     20486fi
     20487
     20488fi
     20489if test -z "$ac_cv_path_PKG_CONFIG"; then
     20490  ac_pt_PKG_CONFIG=$PKG_CONFIG
     20491  # Extract the first word of "pkg-config", so it can be a program name with args.
     20492set dummy pkg-config; ac_word=$2
     20493echo "$as_me:$LINENO: checking for $ac_word" >&5
     20494echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20495if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
     20496  echo $ECHO_N "(cached) $ECHO_C" >&6
     20497else
     20498  case $ac_pt_PKG_CONFIG in
     20499  [\\/]* | ?:[\\/]*)
     20500  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
     20501  ;;
     20502  *)
     20503  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20504for as_dir in $PATH
     20505do
     20506  IFS=$as_save_IFS
     20507  test -z "$as_dir" && as_dir=.
     20508  for ac_exec_ext in '' $ac_executable_extensions; do
     20509  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20510    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20511    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20512    break 2
     20513  fi
     20514done
     20515done
     20516
     20517  ;;
     20518esac
     20519fi
     20520ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     20521
     20522if test -n "$ac_pt_PKG_CONFIG"; then
     20523  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
     20524echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
     20525else
     20526  echo "$as_me:$LINENO: result: no" >&5
     20527echo "${ECHO_T}no" >&6
     20528fi
     20529
     20530  PKG_CONFIG=$ac_pt_PKG_CONFIG
     20531else
     20532  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
     20533fi
     20534
     20535  fi
     20536  if test -n "$PKG_CONFIG"; then
     20537    _pkg_min_version=0.9.0
     20538    echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
     20539echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
     20540    if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
     20541      echo "$as_me:$LINENO: result: yes" >&5
     20542echo "${ECHO_T}yes" >&6
     20543    else
     20544      echo "$as_me:$LINENO: result: no" >&5
     20545echo "${ECHO_T}no" >&6
     20546      PKG_CONFIG=""
     20547    fi
     20548  fi
     20549
     20550  # check if pkg-config supports the short-errors flag
     20551  if test -n "$PKG_CONFIG" && \
     20552    $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     20553    pkg_short_errors=" --short-errors "
     20554  else
     20555    pkg_short_errors=""
     20556  fi
     20557fi
     20558
     20559
     20560echo "$as_me:$LINENO: checking for COIN module CoinUtils" >&5
     20561echo $ECHO_N "checking for COIN module CoinUtils... $ECHO_C" >&6
     20562
     20563coin_has_coinutils=notGiven
     20564
     20565# check if user wants to skip module in any case
     20566if test x"$COIN_SKIP_PROJECTS" != x; then
     20567  for dir in $COIN_SKIP_PROJECTS; do
     20568    if test $dir = "CoinUtils"; then
     20569      coin_has_coinutils=skipping
     20570    fi
     20571  done
     20572fi
     20573
     20574COINUTILS_LIBS=
     20575COINUTILS_CFLAGS=
     20576COINUTILS_DATA=
     20577
     20578
     20579
     20580
     20581
     20582required=1
     20583
     20584# execute third argument that can be used to overwrite flags like 'required'
     20585
     20586
     20587#check if user provided LIBS, CFLAGS, and DATA for module
     20588if test $coin_has_coinutils != skipping; then
     20589
     20590
     20591# Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given.
     20592if test "${with_coinutils_lib+set}" = set; then
     20593  withval="$with_coinutils_lib"
     20594  coin_has_coinutils=yes
     20595       COINUTILS_LIBS="$withval"
     20596       if test $required = 1; then
     20597         ADDLIBS="$ADDLIBS $withval"
     20598       fi
     20599
     20600fi;
     20601
     20602
     20603# Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given.
     20604if test "${with_coinutils_incdir+set}" = set; then
     20605  withval="$with_coinutils_incdir"
     20606  coin_has_coinutils=yes
     20607     COINUTILS_CFLAGS="-I$withval"
     20608fi;
     20609
     20610
     20611# Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given.
     20612if test "${with_coinutils_datadir+set}" = set; then
     20613  withval="$with_coinutils_datadir"
     20614  coin_has_coinutils=yes
     20615     COINUTILS_DATA="$withval"
     20616fi;
     20617fi
     20618
     20619if test $coin_has_coinutils = notGiven; then
     20620  if test -n "$PKG_CONFIG" ; then
     20621    # assemble search path for pkg-config
     20622    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     20623
     20624    # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
     20625    if test -d "$prefix"; then
     20626      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$prefix/lib/ThirdParty/pkgconfig:$prefix/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     20627    fi
     20628
     20629
     20630# Check whether --with-coin-instdir or --without-coin-instdir was given.
     20631if test "${with_coin_instdir+set}" = set; then
     20632  withval="$with_coin_instdir"
     20633  if test -d "$withval"; then : ; else
     20634         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     20635echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     20636   { (exit 1); exit 1; }; }
     20637       fi
     20638       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/lib/ThirdParty/pkgconfig:$withval/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     20639
     20640fi;
     20641
     20642    # in a classic setup, we want to find uninstalled projects
     20643    # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
     20644    # unfortunately, if the user set prefix, then we do not know where the project base directory is located
     20645    # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
     20646    if test -e ../coin_subdirs.txt ; then
     20647      for i in `cat ../coin_subdirs.txt` ; do
     20648        PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH"
     20649      done
     20650    fi
     20651
     20652    if test -e ../../coin_subdirs.txt ; then
     20653      for i in `cat ../../coin_subdirs.txt` ; do
     20654        PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH"
     20655      done
     20656    fi
     20657
     20658    # let pkg-config do it's magic
     20659    # need to export variable to be sure that the following pkg-config gets these values
     20660    export PKG_CONFIG_PATH
     20661
     20662
     20663
     20664if test -n "$PKG_CONFIG" ; then
     20665  if $PKG_CONFIG --exists "coinutils = 2.5BSPsplit"; then
     20666    COINUTILS_VERSIONS="`$PKG_CONFIG --modversion coinutils = 2.5BSPsplit 2>/dev/null`"
     20667     COINUTILS_CFLAGS=`$PKG_CONFIG --cflags "coinutils = 2.5BSPsplit" 2>/dev/null`
     20668    COINUTILS_LIBS=`$PKG_CONFIG --libs "coinutils = 2.5BSPsplit" 2>/dev/null`
     20669    COINUTILS_DATA=`$PKG_CONFIG --variable=datadir "coinutils = 2.5BSPsplit" 2>/dev/null`
     20670     coin_has_coinutils=yes
     20671        echo "$as_me:$LINENO: result: yes: $COINUTILS_VERSIONS" >&5
     20672echo "${ECHO_T}yes: $COINUTILS_VERSIONS" >&6
     20673        if test $required = 1; then
     20674          REQUIREDPACKAGES="$REQUIREDPACKAGES coinutils = 2.5BSPsplit"
     20675        fi
     20676
     20677
     20678  else
     20679    COINUTILS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coinutils = 2.5BSPsplit`
     20680      coin_has_coinutils=notGiven
     20681        echo "$as_me:$LINENO: result: not given: $COINUTILS_PKG_ERRORS" >&5
     20682echo "${ECHO_T}not given: $COINUTILS_PKG_ERRORS" >&6
     20683
     20684  fi
     20685else
     20686  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&5
     20687echo "$as_me: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&2;}
     20688   { (exit 1); exit 1; }; }
     20689fi
     20690
     20691
     20692
     20693
     20694    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     20695  else
     20696    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     20697echo "${ECHO_T}skipped check via pkg-config" >&6
     20698  fi
     20699
     20700else
     20701  echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
     20702echo "${ECHO_T}$coin_has_coinutils" >&6
     20703fi
     20704
     20705if test $coin_has_coinutils != skipping &&
     20706   test $coin_has_coinutils != notGiven ; then
     20707  if test -n "$COINUTILS_CFLAGS" ; then
     20708    { echo "$as_me:$LINENO: CoinUtils CFLAGS are $COINUTILS_CFLAGS" >&5
     20709echo "$as_me: CoinUtils CFLAGS are $COINUTILS_CFLAGS" >&6;}
     20710  fi
     20711  if test -n "$COINUTILS_LIBS" ; then
     20712    { echo "$as_me:$LINENO: CoinUtils LIBS   are $COINUTILS_LIBS" >&5
     20713echo "$as_me: CoinUtils LIBS   are $COINUTILS_LIBS" >&6;}
     20714  fi
     20715  if test -n "$COINUTILS_DATA" ; then
     20716    { echo "$as_me:$LINENO: CoinUtils DATA   is  $COINUTILS_DATA" >&5
     20717echo "$as_me: CoinUtils DATA   is  $COINUTILS_DATA" >&6;}
     20718  fi
     20719
     20720cat >>confdefs.h <<\_ACEOF
     20721#define COIN_HAS_COINUTILS 1
     20722_ACEOF
     20723
     20724fi
     20725
     20726# Define the Makefile conditional
     20727
     20728
     20729if test $coin_has_coinutils != notGiven &&
     20730                test $coin_has_coinutils != skipping; then
     20731  COIN_HAS_COINUTILS_TRUE=
     20732  COIN_HAS_COINUTILS_FALSE='#'
     20733else
     20734  COIN_HAS_COINUTILS_TRUE='#'
     20735  COIN_HAS_COINUTILS_FALSE=
     20736fi
     20737
     20738
     20739
     20740
     20741echo "$as_me:$LINENO: checking for COIN module Sample" >&5
     20742echo $ECHO_N "checking for COIN module Sample... $ECHO_C" >&6
     20743
     20744coin_has_sample=notGiven
     20745
     20746# check if user wants to skip module in any case
     20747if test x"$COIN_SKIP_PROJECTS" != x; then
     20748  for dir in $COIN_SKIP_PROJECTS; do
     20749    if test $dir = "Sample"; then
     20750      coin_has_sample=skipping
     20751    fi
     20752  done
     20753fi
     20754
     20755SAMPLE_LIBS=
     20756SAMPLE_CFLAGS=
     20757SAMPLE_DATA=
     20758
     20759
     20760
     20761
     20762
     20763required=1
     20764
     20765# execute third argument that can be used to overwrite flags like 'required'
     20766required=0
     20767
     20768#check if user provided LIBS, CFLAGS, and DATA for module
     20769if test $coin_has_sample != skipping; then
     20770
     20771
     20772# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
     20773if test "${with_sample_lib+set}" = set; then
     20774  withval="$with_sample_lib"
     20775  coin_has_sample=yes
     20776       SAMPLE_LIBS="$withval"
     20777       if test $required = 1; then
     20778         ADDLIBS="$ADDLIBS $withval"
     20779       fi
     20780
     20781fi;
     20782
     20783
     20784# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
     20785if test "${with_sample_incdir+set}" = set; then
     20786  withval="$with_sample_incdir"
     20787  coin_has_sample=yes
     20788     SAMPLE_CFLAGS="-I$withval"
     20789fi;
     20790
     20791
     20792# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
     20793if test "${with_sample_datadir+set}" = set; then
     20794  withval="$with_sample_datadir"
     20795  coin_has_sample=yes
     20796     SAMPLE_DATA="$withval"
     20797fi;
     20798fi
     20799
     20800if test $coin_has_sample = notGiven; then
     20801  if test -n "$PKG_CONFIG" ; then
     20802    # assemble search path for pkg-config
     20803    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     20804
     20805    # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
     20806    if test -d "$prefix"; then
     20807      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$prefix/lib/ThirdParty/pkgconfig:$prefix/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     20808    fi
     20809
     20810
     20811# Check whether --with-coin-instdir or --without-coin-instdir was given.
     20812if test "${with_coin_instdir+set}" = set; then
     20813  withval="$with_coin_instdir"
     20814  if test -d "$withval"; then : ; else
     20815         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     20816echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     20817   { (exit 1); exit 1; }; }
     20818       fi
     20819       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/lib/ThirdParty/pkgconfig:$withval/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     20820
     20821fi;
     20822
     20823    # in a classic setup, we want to find uninstalled projects
     20824    # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
     20825    # unfortunately, if the user set prefix, then we do not know where the project base directory is located
     20826    # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
     20827    if test -e ../coin_subdirs.txt ; then
     20828      for i in `cat ../coin_subdirs.txt` ; do
     20829        PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH"
     20830      done
     20831    fi
     20832
     20833    if test -e ../../coin_subdirs.txt ; then
     20834      for i in `cat ../../coin_subdirs.txt` ; do
     20835        PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH"
     20836      done
     20837    fi
     20838
     20839    # let pkg-config do it's magic
     20840    # need to export variable to be sure that the following pkg-config gets these values
     20841    export PKG_CONFIG_PATH
     20842
     20843
     20844
     20845if test -n "$PKG_CONFIG" ; then
     20846  if $PKG_CONFIG --exists "sample"; then
     20847    SAMPLE_VERSIONS="`$PKG_CONFIG --modversion sample 2>/dev/null`"
     20848     SAMPLE_CFLAGS=`$PKG_CONFIG --cflags "sample" 2>/dev/null`
     20849    SAMPLE_LIBS=`$PKG_CONFIG --libs "sample" 2>/dev/null`
     20850    SAMPLE_DATA=`$PKG_CONFIG --variable=datadir "sample" 2>/dev/null`
     20851     coin_has_sample=yes
     20852        echo "$as_me:$LINENO: result: yes: $SAMPLE_VERSIONS" >&5
     20853echo "${ECHO_T}yes: $SAMPLE_VERSIONS" >&6
     20854        if test $required = 1; then
     20855          REQUIREDPACKAGES="$REQUIREDPACKAGES sample"
     20856        fi
     20857
     20858
     20859  else
     20860    SAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors sample`
     20861      coin_has_sample=notGiven
     20862        echo "$as_me:$LINENO: result: not given: $SAMPLE_PKG_ERRORS" >&5
     20863echo "${ECHO_T}not given: $SAMPLE_PKG_ERRORS" >&6
     20864
     20865  fi
     20866else
     20867  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Sample without pkg-config\"" >&5
     20868echo "$as_me: error: \"Cannot check for existance of module Sample without pkg-config\"" >&2;}
     20869   { (exit 1); exit 1; }; }
     20870fi
     20871
     20872
     20873
     20874
     20875    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     20876  else
     20877    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     20878echo "${ECHO_T}skipped check via pkg-config" >&6
     20879  fi
     20880
     20881else
     20882  echo "$as_me:$LINENO: result: $coin_has_sample" >&5
     20883echo "${ECHO_T}$coin_has_sample" >&6
     20884fi
     20885
     20886if test $coin_has_sample != skipping &&
     20887   test $coin_has_sample != notGiven ; then
     20888  if test -n "$SAMPLE_CFLAGS" ; then
     20889    { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5
     20890echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;}
     20891  fi
     20892  if test -n "$SAMPLE_LIBS" ; then
     20893    { echo "$as_me:$LINENO: Sample LIBS   are $SAMPLE_LIBS" >&5
     20894echo "$as_me: Sample LIBS   are $SAMPLE_LIBS" >&6;}
     20895  fi
     20896  if test -n "$SAMPLE_DATA" ; then
     20897    { echo "$as_me:$LINENO: Sample DATA   is  $SAMPLE_DATA" >&5
     20898echo "$as_me: Sample DATA   is  $SAMPLE_DATA" >&6;}
     20899  fi
     20900
     20901cat >>confdefs.h <<\_ACEOF
     20902#define COIN_HAS_SAMPLE 1
     20903_ACEOF
     20904
     20905fi
     20906
     20907# Define the Makefile conditional
     20908
     20909
     20910if test $coin_has_sample != notGiven &&
     20911                test $coin_has_sample != skipping; then
     20912  COIN_HAS_SAMPLE_TRUE=
     20913  COIN_HAS_SAMPLE_FALSE='#'
     20914else
     20915  COIN_HAS_SAMPLE_TRUE='#'
     20916  COIN_HAS_SAMPLE_FALSE=
     20917fi
     20918
     20919
     20920
     20921
     20922echo "$as_me:$LINENO: checking for COIN module Netlib" >&5
     20923echo $ECHO_N "checking for COIN module Netlib... $ECHO_C" >&6
     20924
     20925coin_has_netlib=notGiven
     20926
     20927# check if user wants to skip module in any case
     20928if test x"$COIN_SKIP_PROJECTS" != x; then
     20929  for dir in $COIN_SKIP_PROJECTS; do
     20930    if test $dir = "Netlib"; then
     20931      coin_has_netlib=skipping
     20932    fi
     20933  done
     20934fi
     20935
     20936NETLIB_LIBS=
     20937NETLIB_CFLAGS=
     20938NETLIB_DATA=
     20939
     20940
     20941
     20942
     20943
     20944required=1
     20945
     20946# execute third argument that can be used to overwrite flags like 'required'
     20947required=0
     20948
     20949#check if user provided LIBS, CFLAGS, and DATA for module
     20950if test $coin_has_netlib != skipping; then
     20951
     20952
     20953# Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
     20954if test "${with_netlib_lib+set}" = set; then
     20955  withval="$with_netlib_lib"
     20956  coin_has_netlib=yes
     20957       NETLIB_LIBS="$withval"
     20958       if test $required = 1; then
     20959         ADDLIBS="$ADDLIBS $withval"
     20960       fi
     20961
     20962fi;
     20963
     20964
     20965# Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
     20966if test "${with_netlib_incdir+set}" = set; then
     20967  withval="$with_netlib_incdir"
     20968  coin_has_netlib=yes
     20969     NETLIB_CFLAGS="-I$withval"
     20970fi;
     20971
     20972
     20973# Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
     20974if test "${with_netlib_datadir+set}" = set; then
     20975  withval="$with_netlib_datadir"
     20976  coin_has_netlib=yes
     20977     NETLIB_DATA="$withval"
     20978fi;
     20979fi
     20980
     20981if test $coin_has_netlib = notGiven; then
     20982  if test -n "$PKG_CONFIG" ; then
     20983    # assemble search path for pkg-config
     20984    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     20985
     20986    # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
     20987    if test -d "$prefix"; then
     20988      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$prefix/lib/ThirdParty/pkgconfig:$prefix/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     20989    fi
     20990
     20991
     20992# Check whether --with-coin-instdir or --without-coin-instdir was given.
     20993if test "${with_coin_instdir+set}" = set; then
     20994  withval="$with_coin_instdir"
     20995  if test -d "$withval"; then : ; else
     20996         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     20997echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     20998   { (exit 1); exit 1; }; }
     20999       fi
     21000       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/lib/ThirdParty/pkgconfig:$withval/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     21001
     21002fi;
     21003
     21004    # in a classic setup, we want to find uninstalled projects
     21005    # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
     21006    # unfortunately, if the user set prefix, then we do not know where the project base directory is located
     21007    # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
     21008    if test -e ../coin_subdirs.txt ; then
     21009      for i in `cat ../coin_subdirs.txt` ; do
     21010        PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH"
     21011      done
     21012    fi
     21013
     21014    if test -e ../../coin_subdirs.txt ; then
     21015      for i in `cat ../../coin_subdirs.txt` ; do
     21016        PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH"
     21017      done
     21018    fi
     21019
     21020    # let pkg-config do it's magic
     21021    # need to export variable to be sure that the following pkg-config gets these values
     21022    export PKG_CONFIG_PATH
     21023
     21024
     21025
     21026if test -n "$PKG_CONFIG" ; then
     21027  if $PKG_CONFIG --exists "netlib"; then
     21028    NETLIB_VERSIONS="`$PKG_CONFIG --modversion netlib 2>/dev/null`"
     21029     NETLIB_CFLAGS=`$PKG_CONFIG --cflags "netlib" 2>/dev/null`
     21030    NETLIB_LIBS=`$PKG_CONFIG --libs "netlib" 2>/dev/null`
     21031    NETLIB_DATA=`$PKG_CONFIG --variable=datadir "netlib" 2>/dev/null`
     21032     coin_has_netlib=yes
     21033        echo "$as_me:$LINENO: result: yes: $NETLIB_VERSIONS" >&5
     21034echo "${ECHO_T}yes: $NETLIB_VERSIONS" >&6
     21035        if test $required = 1; then
     21036          REQUIREDPACKAGES="$REQUIREDPACKAGES netlib"
     21037        fi
     21038
     21039
     21040  else
     21041    NETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors netlib`
     21042      coin_has_netlib=notGiven
     21043        echo "$as_me:$LINENO: result: not given: $NETLIB_PKG_ERRORS" >&5
     21044echo "${ECHO_T}not given: $NETLIB_PKG_ERRORS" >&6
     21045
     21046  fi
     21047else
     21048  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&5
     21049echo "$as_me: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&2;}
     21050   { (exit 1); exit 1; }; }
     21051fi
     21052
     21053
     21054
     21055
     21056    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21057  else
     21058    echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
     21059echo "${ECHO_T}skipped check via pkg-config" >&6
     21060  fi
     21061
     21062else
     21063  echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
     21064echo "${ECHO_T}$coin_has_netlib" >&6
     21065fi
     21066
     21067if test $coin_has_netlib != skipping &&
     21068   test $coin_has_netlib != notGiven ; then
     21069  if test -n "$NETLIB_CFLAGS" ; then
     21070    { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5
     21071echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;}
     21072  fi
     21073  if test -n "$NETLIB_LIBS" ; then
     21074    { echo "$as_me:$LINENO: Netlib LIBS   are $NETLIB_LIBS" >&5
     21075echo "$as_me: Netlib LIBS   are $NETLIB_LIBS" >&6;}
     21076  fi
     21077  if test -n "$NETLIB_DATA" ; then
     21078    { echo "$as_me:$LINENO: Netlib DATA   is  $NETLIB_DATA" >&5
     21079echo "$as_me: Netlib DATA   is  $NETLIB_DATA" >&6;}
     21080  fi
     21081
     21082cat >>confdefs.h <<\_ACEOF
     21083#define COIN_HAS_NETLIB 1
     21084_ACEOF
     21085
     21086fi
     21087
     21088# Define the Makefile conditional
     21089
     21090
     21091if test $coin_has_netlib != notGiven &&
     21092                test $coin_has_netlib != skipping; then
     21093  COIN_HAS_NETLIB_TRUE=
     21094  COIN_HAS_NETLIB_FALSE='#'
     21095else
     21096  COIN_HAS_NETLIB_TRUE='#'
     21097  COIN_HAS_NETLIB_FALSE=
     21098fi
     21099
     21100
     21101
     21102
     21103if test "$coin_has_coinutils" != yes ; then
     21104  echo "$as_me:$LINENO: checking for COIN project CoinUtils in " >&5
     21105echo $ECHO_N "checking for COIN project CoinUtils in ... $ECHO_C" >&6
    2042421106# First check, if the sub-project is actually available (ToDo: allow
    2042521107# other locations)
     21108
     21109#replace backslashes by underscore
     21110#m4_define([escape], m4_bpatsubsts([CoinUtils],[/],[_]))
    2042621111
    2042721112coin_has_coinutils=notGiven
     
    2043821123
    2043921124
     21125
    2044021126COINUTILSSRCDIR=This_Variable_Is_Not_Set
    2044121127COINUTILSOBJDIR=This_Variable_Is_Not_Set
    2044221128COINUTILSDOCDIR=This_Variable_Is_Not_Set
     21129COINUTILSDATADIR=This_Variable_Is_Not_Set
    2044321130COINUTILSINSTDIR=This_Variable_Is_Not_Set
    2044421131
     
    2051321200   { (exit 1); exit 1; }; }
    2051421201                   fi
    20515                    if test -r $withval/share/doc/coin/CoinUtils/README; then
     21202                   if test -r $withval/share/doc/coin/CoinUtils/README;
     21203
     21204                   then
    2051621205                     coin_has_coinutils=installed
    2051721206                     COINUTILSINSTDIR=`cd $withval; pwd`
     
    2052021209    fi
    2052121210
     21211    # check if project can be found in /CoinUtils
     21212    # this is for the classic setup when this macro is called from AC_COIN_MAIN_SUBDIR
     21213    fulldir=CoinUtils
     21214
    2052221215    if test "$coin_has_coinutils" = notGiven; then
    20523       if test -d $srcdir/../CoinUtils; then
    20524         coin_has_coinutils=../CoinUtils
     21216      if test -d $srcdir/$fulldir; then
     21217         coin_has_coinutils=$fulldir
     21218
     21219
     21220      fi
     21221    fi
     21222
     21223    # check if project can be found in ..//CoinUtils
     21224    # this is for the classic setup when this macro is called from the project main directory
     21225    fulldir=../CoinUtils
     21226
     21227    if test "$coin_has_coinutils" = notGiven; then
     21228      if test -d $srcdir/$fulldir; then
     21229         coin_has_coinutils=$fulldir
     21230
     21231
    2052521232      fi
    2052621233    fi
     
    2053921246  if test $coin_has_coinutils = installed; then
    2054021247    COINUTILSDOCDIR=$COINUTILSINSTDIR/share/doc/coin/CoinUtils
     21248       COINUTILSDATADIR=$COINUTILSINSTDIR/share/coin/CoinUtils
     21249
    2054121250  else
    2054221251    if test "$COINUTILSOBJDIR" = This_Variable_Is_Not_Set; then
     
    2054521254      COINUTILSOBJDIR=`pwd`/$coin_has_coinutils
    2054621255      COINUTILSDOCDIR=$abs_lib_dir/../share/doc/coin/CoinUtils
     21256
     21257      COINUTILSDATADIR=$COINUTILSOBJDIR
    2054721258    else
    2054821259      # This is just a guess:
    2054921260      COINUTILSDOCDIR=$COINUTILSOBJDIR/../share/doc/coin/CoinUtils
     21261         COINUTILSDATADIR=$COINUTILSOBJDIR/../share/coin/CoinUtils
     21262
    2055021263    fi
    2055121264  fi
    2055221265fi
    2055321266
    20554   # Define the Makefile conditional
     21267# Define the Makefile conditional
    2055521268
    2055621269
     
    2058721300  :
    2058821301fi
     21302
     21303
    2058921304
    2059021305else
     
    2060421319fi
    2060521320
    20606 echo "$as_me:$LINENO: checking for COIN project Clp" >&5
    20607 echo $ECHO_N "checking for COIN project Clp... $ECHO_C" >&6
    20608 # First check, if the sub-project is actually available (ToDo: allow
    20609 # other locations)
    20610 
    20611 coin_has_clp=notGiven
    20612 if test x"$COIN_SKIP_PROJECTS" != x; then
    20613   for dir in $COIN_SKIP_PROJECTS; do
    20614     if test $dir = Clp; then
    20615       coin_has_clp=skipping
    20616     fi
    20617   done
    20618 fi
    20619 
    20620 
    20621 
    20622 
    20623 
    20624 CLPSRCDIR=This_Variable_Is_Not_Set
    20625 CLPOBJDIR=This_Variable_Is_Not_Set
    20626 CLPDOCDIR=This_Variable_Is_Not_Set
    20627 CLPINSTDIR=This_Variable_Is_Not_Set
    20628 
    20629 if test $coin_has_clp != skipping; then
    20630   if test $PACKAGE_TARNAME = clp; then
    20631     coin_has_clp=.
     21321  if test $coin_has_coinutils = yes ; then
     21322    COINUTILS_CFLAGS="-I${COINUTILSSRCDIR}/src -I${COINUTILSOBJDIR}/inc"
     21323    COINUTILS_LIBS="${COINUTILSOBJDIR}/src/libCoinUtils.la"
    2063221324  else
    20633 
    20634 # Check whether --with-m4_tolower(Clp)-instdir or --without-m4_tolower(Clp)-instdir was given.
    20635 if test "${with_clp_instdir+set}" = set; then
    20636   withval="$with_clp_instdir"
    20637   coin_has_clp=installed
    20638                  if test -d "$withval"; then : ; else
    20639                    { { echo "$as_me:$LINENO: error: argument for --with-clp-instdir not a directory" >&5
    20640 echo "$as_me: error: argument for --with-clp-instdir not a directory" >&2;}
     21325    { { echo "$as_me:$LINENO: error: \"Required package CoinUtils unavailable.\"" >&5
     21326echo "$as_me: error: \"Required package CoinUtils unavailable.\"" >&2;}
    2064121327   { (exit 1); exit 1; }; }
    20642                  fi
    20643                  CLPINSTDIR=`cd $withval; pwd`
    20644 fi;
    20645 
    20646 
    20647 # Check whether --with-m4_tolower(Clp)-srcdir or --without-m4_tolower(Clp)-srcdir was given.
    20648 if test "${with_clp_srcdir+set}" = set; then
    20649   withval="$with_clp_srcdir"
    20650   if test "$coin_has_clp" = installed; then
    20651                    { { echo "$as_me:$LINENO: error: --with-$clp-srcdir cannot be given together with --with-clp-instdir" >&5
    20652 echo "$as_me: error: --with-$clp-srcdir cannot be given together with --with-clp-instdir" >&2;}
    20653    { (exit 1); exit 1; }; }
    20654                  fi
    20655                  if test -d "$withval"; then : ; else
    20656                    { { echo "$as_me:$LINENO: error: argument for --with-clp-srcdir not a directory" >&5
    20657 echo "$as_me: error: argument for --with-clp-srcdir not a directory" >&2;}
    20658    { (exit 1); exit 1; }; }
    20659                  fi
    20660                  coin_has_clp=$withval
    20661                  CLPSRCDIR=`cd $withval; pwd`
    20662 fi;
    20663 
    20664 
    20665 # Check whether --with-m4_tolower(Clp)-objdir or --without-m4_tolower(Clp)-objdir was given.
    20666 if test "${with_clp_objdir+set}" = set; then
    20667   withval="$with_clp_objdir"
    20668   if test "$coin_has_clp" = installed; then
    20669                    { { echo "$as_me:$LINENO: error: --with-clp-objdir cannot be given together with --with-clp-instdir" >&5
    20670 echo "$as_me: error: --with-clp-objdir cannot be given together with --with-clp-instdir" >&2;}
    20671    { (exit 1); exit 1; }; }
    20672                  fi
    20673                  if test "$coin_has_clp" = notGiven; then
    20674                    { { echo "$as_me:$LINENO: error: --with-clp-objdir must be accompanied by --with-clp-srcdir" >&5
    20675 echo "$as_me: error: --with-clp-objdir must be accompanied by --with-clp-srcdir" >&2;}
    20676    { (exit 1); exit 1; }; }
    20677                  fi
    20678                  if test -d "$withval"; then : ; else
    20679                    { { echo "$as_me:$LINENO: error: argument for --with-clp-objdir not a directory" >&5
    20680 echo "$as_me: error: argument for --with-clp-objdir not a directory" >&2;}
    20681    { (exit 1); exit 1; }; }
    20682                  fi
    20683                  CLPOBJDIR=`cd $withval; pwd`
    20684 else
    20685   CLPOBJDIR="$CLPSRCDIR"
    20686 fi;
    20687 
    20688     # if we still don't have a location, check for generic flag
    20689     if test "$coin_has_clp" = notGiven; then
    20690 
    20691 # Check whether --with-coin-instdir or --without-coin-instdir was given.
    20692 if test "${with_coin_instdir+set}" = set; then
    20693   withval="$with_coin_instdir"
    20694   if test -d "$withval"; then : ; else
    20695                      { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
    20696 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
    20697    { (exit 1); exit 1; }; }
    20698                    fi
    20699                    if test -r $withval/share/doc/coin/Clp/README; then
    20700                      coin_has_clp=installed
    20701                      CLPINSTDIR=`cd $withval; pwd`
    20702                    fi
    20703 fi;
    20704     fi
    20705 
    20706     if test "$coin_has_clp" = notGiven; then
    20707       if test -d $srcdir/../Clp; then
    20708         coin_has_clp=../Clp
    20709       fi
    20710     fi
    20711   fi
    20712 fi
    20713 
    20714 if test $coin_has_clp != notGiven &&
    20715    test $coin_has_clp != skipping; then
    20716   # Set the #define if the component is available
    20717 
    20718 cat >>confdefs.h <<\_ACEOF
    20719 #define COIN_HAS_CLP 1
    20720 _ACEOF
    20721 
    20722 
    20723   if test $coin_has_clp = installed; then
    20724     CLPDOCDIR=$CLPINSTDIR/share/doc/coin/Clp
    20725   else
    20726     if test "$CLPOBJDIR" = This_Variable_Is_Not_Set; then
    20727       # Set the variables for source and object code location
    20728       CLPSRCDIR=`cd $srcdir/$coin_has_clp; pwd`
    20729       CLPOBJDIR=`pwd`/$coin_has_clp
    20730       CLPDOCDIR=$abs_lib_dir/../share/doc/coin/Clp
    20731     else
    20732       # This is just a guess:
    20733       CLPDOCDIR=$CLPOBJDIR/../share/doc/coin/Clp
    20734     fi
    20735   fi
    20736 fi
    20737 
    20738   # Define the Makefile conditional
    20739 
    20740 
    20741 if test $coin_has_clp != notGiven &&
    20742                 test $coin_has_clp != skipping; then
    20743   COIN_HAS_CLP_TRUE=
    20744   COIN_HAS_CLP_FALSE='#'
    20745 else
    20746   COIN_HAS_CLP_TRUE='#'
    20747   COIN_HAS_CLP_FALSE=
    20748 fi
    20749 
    20750 
    20751 
    20752 if test $coin_has_clp = installed; then
    20753   COIN_HAS_CLP_PREINSTALLED_TRUE=
    20754   COIN_HAS_CLP_PREINSTALLED_FALSE='#'
    20755 else
    20756   COIN_HAS_CLP_PREINSTALLED_TRUE='#'
    20757   COIN_HAS_CLP_PREINSTALLED_FALSE=
    20758 fi
    20759 
    20760 
    20761 if test $coin_has_clp = installed; then
    20762   echo "$as_me:$LINENO: result: installed in $CLPINSTDIR" >&5
    20763 echo "${ECHO_T}installed in $CLPINSTDIR" >&6
    20764   if test -r $CLPINSTDIR/share/doc/coin/Clp/README; then
    20765 
    20766   :
    20767 else
    20768   { { echo "$as_me:$LINENO: error: $CLPINSTDIR/share/doc/coin/Clp/README should be available if Clp is installed" >&5
    20769 echo "$as_me: error: $CLPINSTDIR/share/doc/coin/Clp/README should be available if Clp is installed" >&2;}
    20770    { (exit 1); exit 1; }; }
    20771   :
    20772 fi
    20773 
    20774 else
    20775   echo "$as_me:$LINENO: result: $coin_has_clp" >&5
    20776 echo "${ECHO_T}$coin_has_clp" >&6
    20777   if test $coin_has_clp != notGiven &&
    20778      test $coin_has_clp != skipping; then
    20779     echo "$as_me:$LINENO: checking for source code location of Clp" >&5
    20780 echo $ECHO_N "checking for source code location of Clp... $ECHO_C" >&6
    20781     echo "$as_me:$LINENO: result: $CLPSRCDIR" >&5
    20782 echo "${ECHO_T}$CLPSRCDIR" >&6
    20783     echo "$as_me:$LINENO: checking for object code location of Clp" >&5
    20784 echo $ECHO_N "checking for object code location of Clp... $ECHO_C" >&6
    20785     echo "$as_me:$LINENO: result: $CLPOBJDIR" >&5
    20786 echo "${ECHO_T}$CLPOBJDIR" >&6
    20787   fi
    20788 fi
    20789 
     21328  fi
     21329else
     21330  #for configure
     21331
     21332
     21333if test 0 = 1; then
     21334  COIN_HAS_COINUTILS_PREINSTALLED_TRUE=
     21335  COIN_HAS_COINUTILS_PREINSTALLED_FALSE='#'
     21336else
     21337  COIN_HAS_COINUTILS_PREINSTALLED_TRUE='#'
     21338  COIN_HAS_COINUTILS_PREINSTALLED_FALSE=
     21339fi
     21340
     21341fi
    2079021342
    2079121343#############################################################################
     
    2126821820# Here list all the files that configure should create (except for the
    2126921821# configuration header file)
    21270                                                   ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile test/Makefile clp_addlibs.txt"
     21822                                                                      ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile test/Makefile clp_addlibs.txt clp.pc clp-uninstalled.pc"
    2127121823
    2127221824
     
    2133321885  fi
    2133421886
     21887  # need to come before AC_OUTPUT
     21888  if test x$coin_projectdir != xyes; then
     21889    # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
     21890    echo $coin_subdirs > coin_subdirs.txt
     21891  else
     21892    # substitute for OBJDIR, needed to setup .pc file for uninstalled project
     21893    ABSBUILDDIR="`pwd`"
     21894
     21895  fi
     21896
    2133521897  cat >confcache <<\_ACEOF
    2133621898# This file is a shell script that caches the results of configure
     
    2147322035   { (exit 1); exit 1; }; }
    2147422036fi
     22037if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then
     22038  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     22039Usually this means the macro was only invoked conditionally." >&5
     22040echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     22041Usually this means the macro was only invoked conditionally." >&2;}
     22042   { (exit 1); exit 1; }; }
     22043fi
     22044if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then
     22045  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     22046Usually this means the macro was only invoked conditionally." >&5
     22047echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     22048Usually this means the macro was only invoked conditionally." >&2;}
     22049   { (exit 1); exit 1; }; }
     22050fi
     22051if test -z "${COIN_HAS_COINUTILS_TRUE}" && test -z "${COIN_HAS_COINUTILS_FALSE}"; then
     22052  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINUTILS\" was never defined.
     22053Usually this means the macro was only invoked conditionally." >&5
     22054echo "$as_me: error: conditional \"COIN_HAS_COINUTILS\" was never defined.
     22055Usually this means the macro was only invoked conditionally." >&2;}
     22056   { (exit 1); exit 1; }; }
     22057fi
    2147522058if test -z "${COIN_HAS_COINUTILS_PREINSTALLED_TRUE}" && test -z "${COIN_HAS_COINUTILS_PREINSTALLED_FALSE}"; then
    2147622059  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINUTILS_PREINSTALLED\" was never defined.
     
    2148022063   { (exit 1); exit 1; }; }
    2148122064fi
    21482 if test -z "${COIN_HAS_CLP_TRUE}" && test -z "${COIN_HAS_CLP_FALSE}"; then
    21483   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CLP\" was never defined.
     22065if test -z "${COIN_HAS_COINUTILS_PREINSTALLED_TRUE}" && test -z "${COIN_HAS_COINUTILS_PREINSTALLED_FALSE}"; then
     22066  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_COINUTILS_PREINSTALLED\" was never defined.
    2148422067Usually this means the macro was only invoked conditionally." >&5
    21485 echo "$as_me: error: conditional \"COIN_HAS_CLP\" was never defined.
    21486 Usually this means the macro was only invoked conditionally." >&2;}
    21487    { (exit 1); exit 1; }; }
    21488 fi
    21489 if test -z "${COIN_HAS_CLP_PREINSTALLED_TRUE}" && test -z "${COIN_HAS_CLP_PREINSTALLED_FALSE}"; then
    21490   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CLP_PREINSTALLED\" was never defined.
    21491 Usually this means the macro was only invoked conditionally." >&5
    21492 echo "$as_me: error: conditional \"COIN_HAS_CLP_PREINSTALLED\" was never defined.
     22068echo "$as_me: error: conditional \"COIN_HAS_COINUTILS_PREINSTALLED\" was never defined.
    2149322069Usually this means the macro was only invoked conditionally." >&2;}
    2149422070   { (exit 1); exit 1; }; }
     
    2194322519  "test/Makefile" ) CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
    2194422520  "clp_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES clp_addlibs.txt" ;;
     22521  "clp.pc" ) CONFIG_FILES="$CONFIG_FILES clp.pc" ;;
     22522  "clp-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES clp-uninstalled.pc" ;;
    2194522523  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    2194622524  "inc/config_clp.h" ) CONFIG_HEADERS="$CONFIG_HEADERS inc/config_clp.h" ;;
     
    2212922707s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2213022708s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
     22709s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     22710s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
     22711s,@COINUTILS_LIBS@,$COINUTILS_LIBS,;t t
     22712s,@COINUTILS_CFLAGS@,$COINUTILS_CFLAGS,;t t
     22713s,@COINUTILS_DATA@,$COINUTILS_DATA,;t t
     22714s,@REQUIREDPACKAGES@,$REQUIREDPACKAGES,;t t
     22715s,@COIN_HAS_COINUTILS_TRUE@,$COIN_HAS_COINUTILS_TRUE,;t t
     22716s,@COIN_HAS_COINUTILS_FALSE@,$COIN_HAS_COINUTILS_FALSE,;t t
     22717s,@SAMPLE_LIBS@,$SAMPLE_LIBS,;t t
     22718s,@SAMPLE_CFLAGS@,$SAMPLE_CFLAGS,;t t
     22719s,@SAMPLE_DATA@,$SAMPLE_DATA,;t t
     22720s,@COIN_HAS_SAMPLE_TRUE@,$COIN_HAS_SAMPLE_TRUE,;t t
     22721s,@COIN_HAS_SAMPLE_FALSE@,$COIN_HAS_SAMPLE_FALSE,;t t
     22722s,@NETLIB_LIBS@,$NETLIB_LIBS,;t t
     22723s,@NETLIB_CFLAGS@,$NETLIB_CFLAGS,;t t
     22724s,@NETLIB_DATA@,$NETLIB_DATA,;t t
     22725s,@COIN_HAS_NETLIB_TRUE@,$COIN_HAS_NETLIB_TRUE,;t t
     22726s,@COIN_HAS_NETLIB_FALSE@,$COIN_HAS_NETLIB_FALSE,;t t
    2213122727s,@COINUTILSSRCDIR@,$COINUTILSSRCDIR,;t t
    2213222728s,@COINUTILSOBJDIR@,$COINUTILSOBJDIR,;t t
    2213322729s,@COINUTILSDOCDIR@,$COINUTILSDOCDIR,;t t
     22730s,@COINUTILSDATADIR@,$COINUTILSDATADIR,;t t
    2213422731s,@COINUTILSINSTDIR@,$COINUTILSINSTDIR,;t t
    22135 s,@COIN_HAS_COINUTILS_TRUE@,$COIN_HAS_COINUTILS_TRUE,;t t
    22136 s,@COIN_HAS_COINUTILS_FALSE@,$COIN_HAS_COINUTILS_FALSE,;t t
    2213722732s,@COIN_HAS_COINUTILS_PREINSTALLED_TRUE@,$COIN_HAS_COINUTILS_PREINSTALLED_TRUE,;t t
    2213822733s,@COIN_HAS_COINUTILS_PREINSTALLED_FALSE@,$COIN_HAS_COINUTILS_PREINSTALLED_FALSE,;t t
    22139 s,@CLPSRCDIR@,$CLPSRCDIR,;t t
    22140 s,@CLPOBJDIR@,$CLPOBJDIR,;t t
    22141 s,@CLPDOCDIR@,$CLPDOCDIR,;t t
    22142 s,@CLPINSTDIR@,$CLPINSTDIR,;t t
    22143 s,@COIN_HAS_CLP_TRUE@,$COIN_HAS_CLP_TRUE,;t t
    22144 s,@COIN_HAS_CLP_FALSE@,$COIN_HAS_CLP_FALSE,;t t
    22145 s,@COIN_HAS_CLP_PREINSTALLED_TRUE@,$COIN_HAS_CLP_PREINSTALLED_TRUE,;t t
    22146 s,@COIN_HAS_CLP_PREINSTALLED_FALSE@,$COIN_HAS_CLP_PREINSTALLED_FALSE,;t t
    2214722734s,@LIBEXT@,$LIBEXT,;t t
    2214822735s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
     22736s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
    2214922737s,@LIBOBJS@,$LIBOBJS,;t t
    2215022738s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  • stable/BSPsplit/Clp/configure.ac

    r1389 r1465  
    5757#############################################################################
    5858
    59 AC_COIN_HAS_PROJECT(CoinUtils)
    60 AC_COIN_HAS_PROJECT(Clp)
     59#AC_COIN_HAS_MODULE_BLAS
     60#AC_COIN_HAS_MODULE_LAPACK
     61AC_COIN_HAS_MODULE(CoinUtils,  [coinutils = 2.5BSPsplit])
     62AC_COIN_HAS_MODULE(Sample,     [sample], [required=0])
     63AC_COIN_HAS_MODULE(Netlib,     [netlib], [required=0])
     64
     65if test "$coin_has_coinutils" != yes ; then
     66  AC_COIN_HAS_PROJECT(CoinUtils)
     67  if test $coin_has_coinutils = yes ; then
     68    COINUTILS_CFLAGS="-I${COINUTILSSRCDIR}/src -I${COINUTILSOBJDIR}/inc"
     69    COINUTILS_LIBS="${COINUTILSOBJDIR}/src/libCoinUtils.la"
     70  else
     71    AC_MSG_ERROR("Required package CoinUtils unavailable.")
     72  fi
     73else
     74  #for configure
     75  AM_CONDITIONAL([COIN_HAS_COINUTILS_PREINSTALLED], [test 0 = 1])
     76fi
    6177
    6278#############################################################################
     
    121137                 src/Makefile
    122138                 test/Makefile
    123                  clp_addlibs.txt])
     139                 clp_addlibs.txt
     140                 clp.pc
     141                 clp-uninstalled.pc])
    124142
    125143# Here put the location and name of the configuration header file
  • stable/BSPsplit/Clp/examples/Makefile.in

    r1265 r1465  
    4242
    4343# C++ Compiler options
    44 CXXFLAGS = @CXXFLAGS@
     44CXXFLAGS = @CXXFLAGS@ -DSAMPLEDIR=\"@SAMPLE_DATA@\"
    4545
    4646# additional C++ Compiler options for linking
     
    5151
    5252# C Compiler options
    53 CFLAGS = @CFLAGS@
     53CFLAGS = @CFLAGS@ -DSAMPLEDIR=\"@SAMPLE_DATA@\"
    5454
    5555# Directory with COIN header files
     
    6060
    6161# Libraries necessary to link with Clp
    62 LIBS = -L$(COINLIBDIR) -lClp -lCoinUtils \
    63         @ADDLIBS@ `cat @COINUTILSDOCDIR@/coinutils_addlibs.txt`
     62LIBS = @COINUTILS_LIBS@ -lClp @ADDLIBS@
    6463
    6564# Necessary Include dirs (we use the CYGPATH_W variables to allow
    6665# compilation with Windows compilers)
    67 INCL = -I`$(CYGPATH_W) $(COININCDIR)` $(ADDINCFLAGS)
     66INCL = @COINUTILS_CFLAGS@ -I`$(CYGPATH_W) $(COININCDIR)` $(ADDINCFLAGS)
    6867
    6968# The following is necessary under cygwin, if native compilers are used
  • stable/BSPsplit/Clp/examples/addColumns.cpp

    r778 r1465  
    182182    ClpSimplex  model;
    183183    int status;
    184     if (argc<2)
    185       status=model.readMps("../../Data/Sample/p0033.mps");
    186     else
     184    if (argc<2) {
     185#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     186      status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     187#else
     188      fprintf(stderr,"Do not know where to find sample MPS files.\n");
     189      exit(1);
     190#endif
     191    } else
    187192      status=model.readMps(argv[1]);
    188193    if (status) {
     
    226231    ClpSimplex  model;
    227232    int status;
    228     if (argc<2)
    229       status=model.readMps("../../Data/Sample/p0033.mps");
    230     else
     233    if (argc<2) {
     234#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     235      status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     236#else
     237      fprintf(stderr,"Do not know where to find sample MPS files.\n");
     238      exit(1);
     239#endif
     240    } else
    231241      status=model.readMps(argv[1]);
    232242    if (status) {
  • stable/BSPsplit/Clp/examples/defaults.cpp

    r778 r1465  
    1212  int status;
    1313  // Keep names
    14   if (argc<2)
    15     status=model.readMps("../../Data/Sample/p0033.mps",true);
    16   else
     14  if (argc<2) {
     15#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     16    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     17#else
     18    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     19    exit(1);
     20#endif
     21  } else
    1722    status=model.readMps(argv[1],true);
    1823  /*
  • stable/BSPsplit/Clp/examples/driver.cpp

    r778 r1465  
    1010  int status;
    1111  // Keep names when reading an mps file
    12   if (argc<2)
    13     status=model.readMps("../../Data/Sample/p0033.mps",true);
    14   else
     12  if (argc<2) {
     13#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     14    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     15#else
     16    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     17    exit(1);
     18#endif
     19  } else
    1520    status=model.readMps(argv[1],true);
    1621
  • stable/BSPsplit/Clp/examples/driver2.cpp

    r778 r1465  
    182182  int status;
    183183  // Keep names when reading an mps file
    184   if (argc<2)
    185     status=model.readMps("../../Data/Sample/p0033.mps",true);
    186   else
     184  if (argc<2) {
     185#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     186    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     187#else
     188    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     189    exit(1);
     190#endif
     191  } else
    187192    status=model.readMps(argv[1],true);
    188193
  • stable/BSPsplit/Clp/examples/driverC.c

    r778 r1465  
    44/* This example shows the use of the "C" interface */
    55
     6#include "ClpConfig.h"
    67#include "Clp_C_Interface.h"
    78#include <stdio.h>
     
    4041  Clp_registerCallBack(model,callBack);
    4142  /* Keep names when reading an mps file */
    42   if (argc<2)
    43     status=Clp_readMps(model,"../../Data/Sample/p0033.mps",1,0);
    44   else
     43  if (argc<2) {
     44#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     45    status=Clp_readMps(model,SAMPLEDIR "/p0033.mps",1,0);
     46#else
     47    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     48    exit(1);
     49#endif
     50  } else
    4551    status=Clp_readMps(model,argv[1],1,0);
    4652
  • stable/BSPsplit/Clp/examples/ekk.cpp

    r778 r1465  
    6464    name=argv[1];
    6565  } else {
    66     name="../../Data/Sample/p0033.mps";
     66#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     67    name=(SAMPLEDIR "/p0033.mps";
     68#else
     69    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     70    exit(1);
     71#endif
    6772  }
    6873
  • stable/BSPsplit/Clp/examples/makeDual.cpp

    r800 r1465  
    99  ClpSimplex  model;
    1010  int status;
    11   if (argc<2)
    12     status=model.readMps("../../Data/Sample/p0033.mps");
    13   else
     11  if (argc<2) {
     12#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     13    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     14#else
     15    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     16    exit(1);
     17#endif
     18  } else
    1419    status=model.readMps(argv[1]);
    1520  if (status) {
  • stable/BSPsplit/Clp/examples/minimum.cpp

    r778 r1465  
    77  ClpSimplex  model;
    88  int status;
    9   if (argc<2)
    10     status=model.readMps("../../Data/Sample/p0033.mps");
    11   else
     9  if (argc<2) {
     10#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     11    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     12#else
     13    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     14    exit(1);
     15#endif
     16  } else
    1217    status=model.readMps(argv[1]);
    1318  if (!status) {
  • stable/BSPsplit/Clp/examples/testBarrier.cpp

    r778 r1465  
    1010  ClpInterior  model;
    1111  int status;
    12   if (argc<2)
    13     status=model.readMps("../../Data/Sample/p0033.mps");
    14   else
     12  if (argc<2) {
     13#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     14    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     15#else
     16    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     17    exit(1);
     18#endif
     19  } else
    1520    status=model.readMps(argv[1]);
    1621  if (status) {
  • stable/BSPsplit/Clp/examples/testGub2.cpp

    r1276 r1465  
    1515  int maxIts=0;
    1616  int maxFactor=100;
    17   if (argc<2)
    18     status=model.readMps("../../Data/Sample/p0033.mps");
    19   else
     17  if (argc<2) {
     18#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     19    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     20#else
     21    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     22    exit(1);
     23#endif
     24  } else
    2025    status=model.readMps(argv[1]);
    2126  if (status) {
     
    270275      const int * id = gubMatrix->id();
    271276      int i;
    272       const float * lowerColumn = gubMatrix->lowerColumn();
    273       const float * upperColumn = gubMatrix->upperColumn();
     277      const double * lowerColumn = gubMatrix->lowerColumn();
     278      const double * upperColumn = gubMatrix->upperColumn();
    274279      for (i=0;i<numberGubColumns;i++) {
    275280        if (gubMatrix->getDynamicStatus(i)==ClpGubDynamicMatrix::atUpperBound) {
  • stable/BSPsplit/Clp/examples/testQP.cpp

    r778 r1465  
    2121  if (argc<2) {
    2222    CoinMpsIO  m;
    23     int status=m.readMps("../../Data/Sample/share2qp","mps");
     23#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     24    int status=m.readMps(SAMPLEDIR "/share2qp","mps");
     25#else
     26    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     27    exit(1);
     28#endif
    2429    if (status) {
    2530      printf("errors on input\n");
  • stable/BSPsplit/Clp/examples/useVolume.cpp

    r778 r1465  
    161161  int status;
    162162
    163   if (argc<2)
    164     status=model.readMps("../../Data/Sample/p0033.mps",true);
    165   else
     163  if (argc<2) {
     164#if defined(COIN_HAS_SAMPLE) && defined(SAMPLEDIR)
     165    status=model.readMps(SAMPLEDIR "/p0033.mps",true);
     166#else
     167    fprintf(stderr,"Do not know where to find sample MPS files.\n");
     168    exit(1);
     169#endif
     170  } else
    166171    status=model.readMps(argv[1],true);
    167172  /*
  • stable/BSPsplit/Clp/inc/config_clp.h.in

    r994 r1465  
    77#undef COIN_CLP_VERBOSITY
    88
    9 /* Define to 1 if the Clp package is used */
    10 #undef COIN_HAS_CLP
    11 
    129/* Define to 1 if the CoinUtils package is used */
    1310#undef COIN_HAS_COINUTILS
    1411
     12/* Define to 1 if the Netlib module is available */
     13#undef COIN_HAS_NETLIB
     14
    1515/* Define to 1 if readline is available */
    1616#undef COIN_HAS_READLINE
     17
     18/* Define to 1 if the Sample module is available */
     19#undef COIN_HAS_SAMPLE
    1720
    1821/* Define to 1 if you have the <dlfcn.h> header file. */
  • stable/BSPsplit/Clp/src/Makefile.am

    r1381 r1465  
    9393# List all additionally required COIN libraries
    9494clp_LDADD = libClp.la
    95 if COIN_HAS_COINUTILS_PREINSTALLED
    96   LIBS += -L`$(CYGPATH_W) $(COINUTILSINSTDIR)/lib` -lCoinUtils
    97 else
    98   clp_LDADD += $(COINUTILSOBJDIR)/src/libCoinUtils.la
    99 endif
    10095
    101 # Here we add additional libraries
    102 LIBS += $(ADDLIBS)
    103 if COIN_HAS_COINUTILS_PREINSTALLED
    104   LIBS += `cat $(COINUTILSDOCDIR)/coinutils_addlibs.txt`
    105 else
    106   LIBS += `cat $(COINUTILSOBJDIR)/coinutils_addlibs.txt`
    107 endif
     96LIBS += $(COINUTILS_LIBS) $(ADDLIBS)
    10897
    10998# Finally, the -rpath flag is used by libtool to make sure that the shared
     
    116105########################################################################
    117106
    118 # Here list all include flags, relative to this "srcdir" directory.  This
    119 # "cygpath" stuff is necessary to compile with native compilers on Windows.
    120 if COIN_HAS_COINUTILS_PREINSTALLED
    121   AM_CPPFLAGS = -I`$(CYGPATH_W) $(COINUTILSINSTDIR)/include/coin`
    122 else
    123   AM_CPPFLAGS = \
    124         -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
    125         -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc`
    126 endif
     107# CbcOrClpParam seem to require COIN_HAS_CLP so that it knows that it is build within Clp
     108AM_CPPFLAGS = $(COINUTILS_CFLAGS) -DCOIN_HAS_CLP
    127109
    128110# This line is necessary to allow VPATH compilation with MS compilers
  • stable/BSPsplit/Clp/src/Makefile.in

    r1381 r1465  
    4646host_triplet = @host@
    4747bin_PROGRAMS = clp$(EXEEXT)
    48 @COIN_HAS_COINUTILS_PREINSTALLED_TRUE@am__append_1 = -L`$(CYGPATH_W) $(COINUTILSINSTDIR)/lib` -lCoinUtils
    49 @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@am__append_2 = $(COINUTILSOBJDIR)/src/libCoinUtils.la
    50 @COIN_HAS_COINUTILS_PREINSTALLED_TRUE@am__append_3 = `cat $(COINUTILSDOCDIR)/coinutils_addlibs.txt`
    51 @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@am__append_4 = `cat $(COINUTILSOBJDIR)/coinutils_addlibs.txt`
    5248subdir = src
    5349DIST_COMMON = $(includecoin_HEADERS) $(srcdir)/Makefile.am \
     
    9793        unitTest.$(OBJEXT)
    9894clp_OBJECTS = $(am_clp_OBJECTS)
    99 @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@am__DEPENDENCIES_1 = $(COINUTILSOBJDIR)/src/libCoinUtils.la
    100 clp_DEPENDENCIES = libClp.la $(am__DEPENDENCIES_1)
     95clp_DEPENDENCIES = libClp.la
    10196depcomp = $(SHELL) $(top_srcdir)/../depcomp
    10297am__depfiles_maybe = depfiles
     
    124119CTAGS = ctags
    125120DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     121ABSBUILDDIR = @ABSBUILDDIR@
    126122ACLOCAL = @ACLOCAL@
    127123ADDLIBS = @ADDLIBS@
     
    144140CDEFS = @CDEFS@
    145141CFLAGS = @CFLAGS@
    146 CLPDOCDIR = @CLPDOCDIR@
    147 CLPINSTDIR = @CLPINSTDIR@
    148 CLPOBJDIR = @CLPOBJDIR@
    149 CLPSRCDIR = @CLPSRCDIR@
     142COINUTILSDATADIR = @COINUTILSDATADIR@
    150143COINUTILSDOCDIR = @COINUTILSDOCDIR@
    151144COINUTILSINSTDIR = @COINUTILSINSTDIR@
    152145COINUTILSOBJDIR = @COINUTILSOBJDIR@
    153146COINUTILSSRCDIR = @COINUTILSSRCDIR@
    154 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@
    155 COIN_HAS_CLP_PREINSTALLED_FALSE = @COIN_HAS_CLP_PREINSTALLED_FALSE@
    156 COIN_HAS_CLP_PREINSTALLED_TRUE = @COIN_HAS_CLP_PREINSTALLED_TRUE@
    157 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@
     147COINUTILS_CFLAGS = @COINUTILS_CFLAGS@
     148COINUTILS_DATA = @COINUTILS_DATA@
     149COINUTILS_LIBS = @COINUTILS_LIBS@
    158150COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@
    159151COIN_HAS_COINUTILS_PREINSTALLED_FALSE = @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@
    160152COIN_HAS_COINUTILS_PREINSTALLED_TRUE = @COIN_HAS_COINUTILS_PREINSTALLED_TRUE@
    161153COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@
     154COIN_HAS_NETLIB_FALSE = @COIN_HAS_NETLIB_FALSE@
     155COIN_HAS_NETLIB_TRUE = @COIN_HAS_NETLIB_TRUE@
     156COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@
     157COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@
    162158CPP = @CPP@
    163159CPPFLAGS = @CPPFLAGS@
     
    190186LIBEXT = @LIBEXT@
    191187LIBOBJS = @LIBOBJS@
    192 
    193 # Here we add additional libraries
    194 LIBS = @LIBS@ $(am__append_1) $(ADDLIBS) $(am__append_3) \
    195         $(am__append_4)
     188LIBS = @LIBS@ $(COINUTILS_LIBS) $(ADDLIBS)
    196189LIBTOOL = @LIBTOOL@
    197190LIBTOOLM4 = @LIBTOOLM4@
     
    205198MPICC = @MPICC@
    206199MPICXX = @MPICXX@
     200NETLIB_CFLAGS = @NETLIB_CFLAGS@
     201NETLIB_DATA = @NETLIB_DATA@
     202NETLIB_LIBS = @NETLIB_LIBS@
    207203OBJEXT = @OBJEXT@
    208204OPT_CFLAGS = @OPT_CFLAGS@
     
    215211PACKAGE_VERSION = @PACKAGE_VERSION@
    216212PATH_SEPARATOR = @PATH_SEPARATOR@
     213PKG_CONFIG = @PKG_CONFIG@
    217214RANLIB = @RANLIB@
     215REQUIREDPACKAGES = @REQUIREDPACKAGES@
    218216RPATH_FLAGS = @RPATH_FLAGS@
     217SAMPLE_CFLAGS = @SAMPLE_CFLAGS@
     218SAMPLE_DATA = @SAMPLE_DATA@
     219SAMPLE_LIBS = @SAMPLE_LIBS@
    219220SET_MAKE = @SET_MAKE@
    220221SHELL = @SHELL@
     
    234235ac_ct_STRIP = @ac_ct_STRIP@
    235236ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     237ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    236238am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    237239am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    354356
    355357# List all additionally required COIN libraries
    356 clp_LDADD = libClp.la $(am__append_2)
     358clp_LDADD = libClp.la
    357359
    358360# Finally, the -rpath flag is used by libtool to make sure that the shared
     
    360362# libraries.
    361363clp_LDFLAGS = -rpath $(libdir)
    362 @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@AM_CPPFLAGS = \
    363 @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@ -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src` \
    364 @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@ -I`$(CYGPATH_W) $(COINUTILSOBJDIR)/inc`
    365 
    366364
    367365########################################################################
     
    369367########################################################################
    370368
    371 # Here list all include flags, relative to this "srcdir" directory.  This
    372 # "cygpath" stuff is necessary to compile with native compilers on Windows.
    373 @COIN_HAS_COINUTILS_PREINSTALLED_TRUE@AM_CPPFLAGS = -I`$(CYGPATH_W) $(COINUTILSINSTDIR)/include/coin`
     369# CbcOrClpParam seem to require COIN_HAS_CLP so that it knows that it is build within Clp
     370AM_CPPFLAGS = $(COINUTILS_CFLAGS) -DCOIN_HAS_CLP
    374371
    375372# This line is necessary to allow VPATH compilation with MS compilers
  • stable/BSPsplit/Clp/test/Makefile.am

    r1088 r1465  
    1313########################################################################
    1414
     15unittestflags =
     16if COIN_HAS_SAMPLE
     17  unittestflags += -dirSample $(SAMPLE_DATA)
     18endif
     19unittestflags += -unitTest
     20if COIN_HAS_NETLIB
     21  unittestflags += -dirNetlib $(NETLIB_DATA) -netlib
     22endif
     23
    1524# We are using the CLP solver executable to do the unit test
    1625test: ../src/clp$(EXEEXT)
    17         if test x"$(DIRNETLIB)" != x; then \
    18                 NETLIBARG="-dirNetlib $(DIRNETLIB) -netlib"; \
    19         fi; \
    20         if test x"$(DIRSAMPLE)" != x; then \
    21                 SAMPLEARG="-dirSample $(DIRSAMPLE)"; \
    22         fi; \
    23         ../src/clp$(EXEEXT) $$SAMPLEARG -unitTest $$NETLIBARG
     26        ../src/clp$(EXEEXT) $(unittestflags)
    2427
    2528.PHONY: test
  • stable/BSPsplit/Clp/test/Makefile.in

    r1381 r1465  
    4242build_triplet = @build@
    4343host_triplet = @host@
     44@COIN_HAS_SAMPLE_TRUE@am__append_1 = -dirSample $(SAMPLE_DATA)
     45@COIN_HAS_NETLIB_TRUE@am__append_2 = -dirNetlib $(NETLIB_DATA) -netlib
    4446subdir = test
    4547DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
     
    5557DIST_SOURCES =
    5658DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     59ABSBUILDDIR = @ABSBUILDDIR@
    5760ACLOCAL = @ACLOCAL@
    5861ADDLIBS = @ADDLIBS@
     
    7578CDEFS = @CDEFS@
    7679CFLAGS = @CFLAGS@
    77 CLPDOCDIR = @CLPDOCDIR@
    78 CLPINSTDIR = @CLPINSTDIR@
    79 CLPOBJDIR = @CLPOBJDIR@
    80 CLPSRCDIR = @CLPSRCDIR@
     80COINUTILSDATADIR = @COINUTILSDATADIR@
    8181COINUTILSDOCDIR = @COINUTILSDOCDIR@
    8282COINUTILSINSTDIR = @COINUTILSINSTDIR@
    8383COINUTILSOBJDIR = @COINUTILSOBJDIR@
    8484COINUTILSSRCDIR = @COINUTILSSRCDIR@
    85 COIN_HAS_CLP_FALSE = @COIN_HAS_CLP_FALSE@
    86 COIN_HAS_CLP_PREINSTALLED_FALSE = @COIN_HAS_CLP_PREINSTALLED_FALSE@
    87 COIN_HAS_CLP_PREINSTALLED_TRUE = @COIN_HAS_CLP_PREINSTALLED_TRUE@
    88 COIN_HAS_CLP_TRUE = @COIN_HAS_CLP_TRUE@
     85COINUTILS_CFLAGS = @COINUTILS_CFLAGS@
     86COINUTILS_DATA = @COINUTILS_DATA@
     87COINUTILS_LIBS = @COINUTILS_LIBS@
    8988COIN_HAS_COINUTILS_FALSE = @COIN_HAS_COINUTILS_FALSE@
    9089COIN_HAS_COINUTILS_PREINSTALLED_FALSE = @COIN_HAS_COINUTILS_PREINSTALLED_FALSE@
    9190COIN_HAS_COINUTILS_PREINSTALLED_TRUE = @COIN_HAS_COINUTILS_PREINSTALLED_TRUE@
    9291COIN_HAS_COINUTILS_TRUE = @COIN_HAS_COINUTILS_TRUE@
     92COIN_HAS_NETLIB_FALSE = @COIN_HAS_NETLIB_FALSE@
     93COIN_HAS_NETLIB_TRUE = @COIN_HAS_NETLIB_TRUE@
     94COIN_HAS_SAMPLE_FALSE = @COIN_HAS_SAMPLE_FALSE@
     95COIN_HAS_SAMPLE_TRUE = @COIN_HAS_SAMPLE_TRUE@
    9396CPP = @CPP@
    9497CPPFLAGS = @CPPFLAGS@
     
    133136MPICC = @MPICC@
    134137MPICXX = @MPICXX@
     138NETLIB_CFLAGS = @NETLIB_CFLAGS@
     139NETLIB_DATA = @NETLIB_DATA@
     140NETLIB_LIBS = @NETLIB_LIBS@
    135141OBJEXT = @OBJEXT@
    136142OPT_CFLAGS = @OPT_CFLAGS@
     
    143149PACKAGE_VERSION = @PACKAGE_VERSION@
    144150PATH_SEPARATOR = @PATH_SEPARATOR@
     151PKG_CONFIG = @PKG_CONFIG@
    145152RANLIB = @RANLIB@
     153REQUIREDPACKAGES = @REQUIREDPACKAGES@
    146154RPATH_FLAGS = @RPATH_FLAGS@
     155SAMPLE_CFLAGS = @SAMPLE_CFLAGS@
     156SAMPLE_DATA = @SAMPLE_DATA@
     157SAMPLE_LIBS = @SAMPLE_LIBS@
    147158SET_MAKE = @SET_MAKE@
    148159SHELL = @SHELL@
     
    162173ac_ct_STRIP = @ac_ct_STRIP@
    163174ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     175ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    164176am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    165177am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
     
    206218
    207219########################################################################
     220#                         unitTest for Clp                             #
     221########################################################################
     222unittestflags = $(am__append_1) -unitTest $(am__append_2)
     223
     224########################################################################
    208225#                          Cleaning stuff                              #
    209226########################################################################
     
    374391
    375392
    376 ########################################################################
    377 #                         unitTest for Clp                             #
    378 ########################################################################
    379 
    380393# We are using the CLP solver executable to do the unit test
    381394test: ../src/clp$(EXEEXT)
    382         if test x"$(DIRNETLIB)" != x; then \
    383                 NETLIBARG="-dirNetlib $(DIRNETLIB) -netlib"; \
    384         fi; \
    385         if test x"$(DIRSAMPLE)" != x; then \
    386                 SAMPLEARG="-dirSample $(DIRSAMPLE)"; \
    387         fi; \
    388         ../src/clp$(EXEEXT) $$SAMPLEARG -unitTest $$NETLIBARG
     395        ../src/clp$(EXEEXT) $(unittestflags)
    389396
    390397.PHONY: test
Note: See TracChangeset for help on using the changeset viewer.