Changeset 1465 for stable


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
27 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
  • stable/BSPsplit/Externals

    r1351 r1465  
    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/Makefile.in

    r1165 r1465  
    9090distuninstallcheck_listfiles = find . -type f -print
    9191distcleancheck_listfiles = find . -type f -print
     92ABSBUILDDIR = @ABSBUILDDIR@
    9293ACLOCAL = @ACLOCAL@
    9394ADD_CFLAGS = @ADD_CFLAGS@
     
    163164PACKAGE_VERSION = @PACKAGE_VERSION@
    164165PATH_SEPARATOR = @PATH_SEPARATOR@
     166PKG_CONFIG = @PKG_CONFIG@
    165167RANLIB = @RANLIB@
    166168RPATH_FLAGS = @RPATH_FLAGS@
     
    182184ac_ct_STRIP = @ac_ct_STRIP@
    183185ac_cxx_preproc_warn_flag = @ac_cxx_preproc_warn_flag@
     186ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
    184187am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
    185188am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
  • stable/BSPsplit/configure

    r1351 r1465  
    474474#endif"
    475475
     476ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
     477ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
     478ac_subdirs_all="$ac_subdirs_all Data/Sample"
     479ac_subdirs_all="$ac_subdirs_all Data/Netlib"
    476480ac_subdirs_all="$ac_subdirs_all CoinUtils"
    477 ac_subdirs_all="$ac_subdirs_all Data/Netlib"
    478 ac_subdirs_all="$ac_subdirs_all Data/Sample"
    479481ac_subdirs_all="$ac_subdirs_all Clp"
    480 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 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 ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 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 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_SKIP_PROJECTS subdirs LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     482ac_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 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 ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 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 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_SKIP_PROJECTS subdirs LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    481483ac_subst_files=''
    482484
     
    10151017ac_cv_env_CXXCPP_set=${CXXCPP+set}
    10161018ac_cv_env_CXXCPP_value=$CXXCPP
     1019ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     1020ac_env_PKG_CONFIG_value=$PKG_CONFIG
     1021ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     1022ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    10171023ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
    10181024ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
     
    11171123                          optimize for fast installation [default=yes]
    11181124  --disable-libtool-lock  avoid locking (might break parallel builds)
     1125  --enable-pkg-config     use pkg-config if available (default is yes)
    11191126
    11201127Optional Packages:
     
    11261133  --with-tags[=TAGS]
    11271134                          include additional configurations [automatic]
     1135  --with-blas-lib linker flags for using project Blas
     1136  --with-blas-incdir directory with header files for using project Blas
     1137  --with-blas-datadir directory with data files for using project Blas
     1138  --with-coin-instdir     prefix of installation directory for precompiled
     1139                          COIN packages
     1140  --with-lapack-lib linker flags for using project Lapack
     1141  --with-lapack-incdir directory with header files for using project Lapack
     1142  --with-lapack-datadir directory with data files for using project Lapack
     1143  --with-sample-lib linker flags for using project Sample
     1144  --with-sample-incdir directory with header files for using project Sample
     1145  --with-sample-datadir directory with data files for using project Sample
     1146  --with-netlib-lib linker flags for using project Netlib
     1147  --with-netlib-incdir directory with header files for using project Netlib
     1148  --with-netlib-datadir directory with data files for using project Netlib
     1149  --with-coinutils-lib linker flags for using project CoinUtils
     1150  --with-coinutils-incdir directory with header files for using project
     1151                          CoinUtils
     1152  --with-coinutils-datadir
     1153                          directory with data files for using project
     1154                          CoinUtils
     1155  --with-clp-lib linker flags for using project Clp
     1156  --with-clp-incdir directory with header files for using project Clp
     1157  --with-clp-datadir directory with data files for using project Clp
    11281158
    11291159Some influential environment variables:
     
    11571187  CPP         C preprocessor
    11581188  CXXCPP      C++ preprocessor
     1189  PKG_CONFIG  path to pkg-config utility
    11591190  COIN_SKIP_PROJECTS
    11601191              Set to the subdirectories of projects that should be skipped in
     
    41614192
    41624193# Provide some information about the compiler.
    4163 echo "$as_me:4163:" \
     4194echo "$as_me:4194:" \
    41644195     "checking for Fortran 77 compiler version" >&5
    41654196ac_compiler=`set X $ac_compile; echo $2`
     
    64206451*-*-irix6*)
    64216452  # Find out which ABI we are using.
    6422   echo '#line 6422 "configure"' > conftest.$ac_ext
     6453  echo '#line 6453 "configure"' > conftest.$ac_ext
    64236454  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    64246455  (eval $ac_compile) 2>&5
     
    83848415   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    83858416   -e 's:$: $lt_compiler_flag:'`
    8386    (eval echo "\"\$as_me:8386: $lt_compile\"" >&5)
     8417   (eval echo "\"\$as_me:8417: $lt_compile\"" >&5)
    83878418   (eval "$lt_compile" 2>conftest.err)
    83888419   ac_status=$?
    83898420   cat conftest.err >&5
    8390    echo "$as_me:8390: \$? = $ac_status" >&5
     8421   echo "$as_me:8421: \$? = $ac_status" >&5
    83918422   if (exit $ac_status) && test -s "$ac_outfile"; then
    83928423     # The compiler can only warn and ignore the option if not recognized
     
    86528683   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    86538684   -e 's:$: $lt_compiler_flag:'`
    8654    (eval echo "\"\$as_me:8654: $lt_compile\"" >&5)
     8685   (eval echo "\"\$as_me:8685: $lt_compile\"" >&5)
    86558686   (eval "$lt_compile" 2>conftest.err)
    86568687   ac_status=$?
    86578688   cat conftest.err >&5
    8658    echo "$as_me:8658: \$? = $ac_status" >&5
     8689   echo "$as_me:8689: \$? = $ac_status" >&5
    86598690   if (exit $ac_status) && test -s "$ac_outfile"; then
    86608691     # The compiler can only warn and ignore the option if not recognized
     
    87568787   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    87578788   -e 's:$: $lt_compiler_flag:'`
    8758    (eval echo "\"\$as_me:8758: $lt_compile\"" >&5)
     8789   (eval echo "\"\$as_me:8789: $lt_compile\"" >&5)
    87598790   (eval "$lt_compile" 2>out/conftest.err)
    87608791   ac_status=$?
    87618792   cat out/conftest.err >&5
    8762    echo "$as_me:8762: \$? = $ac_status" >&5
     8793   echo "$as_me:8793: \$? = $ac_status" >&5
    87638794   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    87648795   then
     
    1110111132  lt_status=$lt_dlunknown
    1110211133  cat > conftest.$ac_ext <<EOF
    11103 #line 11103 "configure"
     11134#line 11134 "configure"
    1110411135#include "confdefs.h"
    1110511136
     
    1120111232  lt_status=$lt_dlunknown
    1120211233  cat > conftest.$ac_ext <<EOF
    11203 #line 11203 "configure"
     11234#line 11234 "configure"
    1120411235#include "confdefs.h"
    1120511236
     
    1354513576   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1354613577   -e 's:$: $lt_compiler_flag:'`
    13547    (eval echo "\"\$as_me:13547: $lt_compile\"" >&5)
     13578   (eval echo "\"\$as_me:13578: $lt_compile\"" >&5)
    1354813579   (eval "$lt_compile" 2>conftest.err)
    1354913580   ac_status=$?
    1355013581   cat conftest.err >&5
    13551    echo "$as_me:13551: \$? = $ac_status" >&5
     13582   echo "$as_me:13582: \$? = $ac_status" >&5
    1355213583   if (exit $ac_status) && test -s "$ac_outfile"; then
    1355313584     # The compiler can only warn and ignore the option if not recognized
     
    1364913680   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1365013681   -e 's:$: $lt_compiler_flag:'`
    13651    (eval echo "\"\$as_me:13651: $lt_compile\"" >&5)
     13682   (eval echo "\"\$as_me:13682: $lt_compile\"" >&5)
    1365213683   (eval "$lt_compile" 2>out/conftest.err)
    1365313684   ac_status=$?
    1365413685   cat out/conftest.err >&5
    13655    echo "$as_me:13655: \$? = $ac_status" >&5
     13686   echo "$as_me:13686: \$? = $ac_status" >&5
    1365613687   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1365713688   then
     
    1521915250   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1522015251   -e 's:$: $lt_compiler_flag:'`
    15221    (eval echo "\"\$as_me:15221: $lt_compile\"" >&5)
     15252   (eval echo "\"\$as_me:15252: $lt_compile\"" >&5)
    1522215253   (eval "$lt_compile" 2>conftest.err)
    1522315254   ac_status=$?
    1522415255   cat conftest.err >&5
    15225    echo "$as_me:15225: \$? = $ac_status" >&5
     15256   echo "$as_me:15256: \$? = $ac_status" >&5
    1522615257   if (exit $ac_status) && test -s "$ac_outfile"; then
    1522715258     # The compiler can only warn and ignore the option if not recognized
     
    1532315354   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1532415355   -e 's:$: $lt_compiler_flag:'`
    15325    (eval echo "\"\$as_me:15325: $lt_compile\"" >&5)
     15356   (eval echo "\"\$as_me:15356: $lt_compile\"" >&5)
    1532615357   (eval "$lt_compile" 2>out/conftest.err)
    1532715358   ac_status=$?
    1532815359   cat out/conftest.err >&5
    15329    echo "$as_me:15329: \$? = $ac_status" >&5
     15360   echo "$as_me:15360: \$? = $ac_status" >&5
    1533015361   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1533115362   then
     
    1753017561   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1753117562   -e 's:$: $lt_compiler_flag:'`
    17532    (eval echo "\"\$as_me:17532: $lt_compile\"" >&5)
     17563   (eval echo "\"\$as_me:17563: $lt_compile\"" >&5)
    1753317564   (eval "$lt_compile" 2>conftest.err)
    1753417565   ac_status=$?
    1753517566   cat conftest.err >&5
    17536    echo "$as_me:17536: \$? = $ac_status" >&5
     17567   echo "$as_me:17567: \$? = $ac_status" >&5
    1753717568   if (exit $ac_status) && test -s "$ac_outfile"; then
    1753817569     # The compiler can only warn and ignore the option if not recognized
     
    1779817829   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1779917830   -e 's:$: $lt_compiler_flag:'`
    17800    (eval echo "\"\$as_me:17800: $lt_compile\"" >&5)
     17831   (eval echo "\"\$as_me:17831: $lt_compile\"" >&5)
    1780117832   (eval "$lt_compile" 2>conftest.err)
    1780217833   ac_status=$?
    1780317834   cat conftest.err >&5
    17804    echo "$as_me:17804: \$? = $ac_status" >&5
     17835   echo "$as_me:17835: \$? = $ac_status" >&5
    1780517836   if (exit $ac_status) && test -s "$ac_outfile"; then
    1780617837     # The compiler can only warn and ignore the option if not recognized
     
    1790217933   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1790317934   -e 's:$: $lt_compiler_flag:'`
    17904    (eval echo "\"\$as_me:17904: $lt_compile\"" >&5)
     17935   (eval echo "\"\$as_me:17935: $lt_compile\"" >&5)
    1790517936   (eval "$lt_compile" 2>out/conftest.err)
    1790617937   ac_status=$?
    1790717938   cat out/conftest.err >&5
    17908    echo "$as_me:17908: \$? = $ac_status" >&5
     17939   echo "$as_me:17939: \$? = $ac_status" >&5
    1790917940   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1791017941   then
     
    2078720818LT_LDFLAGS=
    2078820819
     20820# Check if we want to set the library version
     20821echo "$as_me:$LINENO: checking if library version is set" >&5
     20822echo $ECHO_N "checking if library version is set... $ECHO_C" >&6
     20823if test x"$coin_libversion" != x; then
     20824  LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion"
     20825  echo "$as_me:$LINENO: result: $coin_libversion" >&5
     20826echo "${ECHO_T}$coin_libversion" >&6
     20827else
     20828  echo "$as_me:$LINENO: result: no" >&5
     20829echo "${ECHO_T}no" >&6
     20830fi
     20831
     20832
    2078920833
    2079020834#END
     
    2079920843
    2080020844
    20801 echo "$as_me:$LINENO: checking whether directory CoinUtils is available" >&5
    20802 echo $ECHO_N "checking whether directory CoinUtils is available... $ECHO_C" >&6
    20803                 coin_skip=no
    20804                 if test x"$COIN_SKIP_PROJECTS" != x; then
    20805                   for dir in $COIN_SKIP_PROJECTS; do
    20806                     if test $dir = CoinUtils; then
    20807                       coin_skip=yes
    20808                     fi
    20809                   done
    20810                 fi
    20811                 if test $coin_skip = yes; then
    20812                   echo "$as_me:$LINENO: result: skipping" >&5
    20813 echo "${ECHO_T}skipping" >&6
    20814                 elif test -r $srcdir/CoinUtils/configure; then
    20815                   coin_subdirs="$coin_subdirs CoinUtils"
    20816                   echo "$as_me:$LINENO: result: yes" >&5
     20845# Check whether --enable-pkg-config or --disable-pkg-config was given.
     20846if test "${enable_pkg_config+set}" = set; then
     20847  enableval="$enable_pkg_config"
     20848  use_pkgconfig="$enableval"
     20849else
     20850  use_pkgconfig=yes
     20851fi;
     20852
     20853if test $use_pkgconfig = yes ; then
     20854  if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
     20855    if test -n "$ac_tool_prefix"; then
     20856  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
     20857set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     20858echo "$as_me:$LINENO: checking for $ac_word" >&5
     20859echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20860if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
     20861  echo $ECHO_N "(cached) $ECHO_C" >&6
     20862else
     20863  case $PKG_CONFIG in
     20864  [\\/]* | ?:[\\/]*)
     20865  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     20866  ;;
     20867  *)
     20868  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20869for as_dir in $PATH
     20870do
     20871  IFS=$as_save_IFS
     20872  test -z "$as_dir" && as_dir=.
     20873  for ac_exec_ext in '' $ac_executable_extensions; do
     20874  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20875    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20876    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20877    break 2
     20878  fi
     20879done
     20880done
     20881
     20882  ;;
     20883esac
     20884fi
     20885PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     20886
     20887if test -n "$PKG_CONFIG"; then
     20888  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     20889echo "${ECHO_T}$PKG_CONFIG" >&6
     20890else
     20891  echo "$as_me:$LINENO: result: no" >&5
     20892echo "${ECHO_T}no" >&6
     20893fi
     20894
     20895fi
     20896if test -z "$ac_cv_path_PKG_CONFIG"; then
     20897  ac_pt_PKG_CONFIG=$PKG_CONFIG
     20898  # Extract the first word of "pkg-config", so it can be a program name with args.
     20899set dummy pkg-config; ac_word=$2
     20900echo "$as_me:$LINENO: checking for $ac_word" >&5
     20901echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20902if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
     20903  echo $ECHO_N "(cached) $ECHO_C" >&6
     20904else
     20905  case $ac_pt_PKG_CONFIG in
     20906  [\\/]* | ?:[\\/]*)
     20907  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
     20908  ;;
     20909  *)
     20910  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20911for as_dir in $PATH
     20912do
     20913  IFS=$as_save_IFS
     20914  test -z "$as_dir" && as_dir=.
     20915  for ac_exec_ext in '' $ac_executable_extensions; do
     20916  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20917    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20918    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20919    break 2
     20920  fi
     20921done
     20922done
     20923
     20924  ;;
     20925esac
     20926fi
     20927ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     20928
     20929if test -n "$ac_pt_PKG_CONFIG"; then
     20930  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
     20931echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
     20932else
     20933  echo "$as_me:$LINENO: result: no" >&5
     20934echo "${ECHO_T}no" >&6
     20935fi
     20936
     20937  PKG_CONFIG=$ac_pt_PKG_CONFIG
     20938else
     20939  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
     20940fi
     20941
     20942  fi
     20943  if test -n "$PKG_CONFIG"; then
     20944    _pkg_min_version=0.9.0
     20945    echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
     20946echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
     20947    if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
     20948      echo "$as_me:$LINENO: result: yes" >&5
    2081720949echo "${ECHO_T}yes" >&6
     20950    else
     20951      echo "$as_me:$LINENO: result: no" >&5
     20952echo "${ECHO_T}no" >&6
     20953      PKG_CONFIG=""
     20954    fi
     20955  fi
     20956
     20957  # check if pkg-config supports the short-errors flag
     20958  if test -n "$PKG_CONFIG" && \
     20959    $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     20960    pkg_short_errors=" --short-errors "
     20961  else
     20962    pkg_short_errors=""
     20963  fi
     20964fi
     20965
     20966
     20967echo "$as_me:$LINENO: checking whether project Blas is available" >&5
     20968echo $ECHO_N "checking whether project Blas is available... $ECHO_C" >&6
     20969
     20970coin_has_blas=notGiven
     20971
     20972# check if user wants to skip project in any case
     20973
     20974if test x"$COIN_SKIP_PROJECTS" != x; then
     20975  for dir in $COIN_SKIP_PROJECTS; do
     20976    if test $dir = "Blas"; then
     20977      coin_has_blas=skipping
     20978    fi
     20979    if test $dir = "ThirdParty/Blas"; then
     20980      coin_has_blas=skipping
     20981    fi
     20982  done
     20983fi
     20984
     20985if test $coin_has_blas != skipping; then
     20986  if test $PACKAGE_TARNAME = blas; then
     20987    coin_has_blas=.
     20988  fi
     20989
     20990
     20991# Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
     20992if test "${with_blas_lib+set}" = set; then
     20993  withval="$with_blas_lib"
     20994  coin_has_blas=installed
     20995fi;
     20996
     20997
     20998# Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
     20999if test "${with_blas_incdir+set}" = set; then
     21000  withval="$with_blas_incdir"
     21001  coin_has_blas=installed
     21002fi;
     21003
     21004
     21005# Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
     21006if test "${with_blas_datadir+set}" = set; then
     21007  withval="$with_blas_datadir"
     21008  coin_has_blas=installed
     21009fi;
     21010fi
     21011
     21012if test $coin_has_blas = notGiven; then
     21013  #only if pkg-config is available:
     21014  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21015  if test -n "$PKG_CONFIG" ; then
     21016    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21017
     21018# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21019if test "${with_coin_instdir+set}" = set; then
     21020  withval="$with_coin_instdir"
     21021  if test -d "$withval"; then : ; else
     21022         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21023echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21024   { (exit 1); exit 1; }; }
     21025       fi
     21026       PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21027
     21028fi;
     21029
     21030    # let pkgconfig check if the project is already installed somewhere
     21031    # need to export variable to be sure that the following pkg-config call gets these values
     21032    export PKG_CONFIG_PATH
     21033
     21034if test -n "$PKG_CONFIG" ; then
     21035  if $PKG_CONFIG --exists "blas"; then
     21036    BLAS_VERSION=`$PKG_CONFIG --modversion "blas" 2>/dev/null`
     21037    coin_has_blas="$BLAS_VERSION"
     21038  else
     21039    BLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "blas"`
     21040
     21041  fi
     21042else
     21043  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Blas without pkg-config\"" >&5
     21044echo "$as_me: error: \"Cannot check for existance of module Blas without pkg-config\"" >&2;}
     21045   { (exit 1); exit 1; }; }
     21046fi
     21047
     21048
     21049    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21050  fi
     21051fi
     21052
     21053# if not found yet, check if project is available in present directory
     21054if test "$coin_has_blas" = notGiven; then
     21055  if test -d $srcdir/ThirdParty/Blas; then
     21056    coin_pkg_is_here=no
     21057    for i in $srcdir/ThirdParty/Blas/daxpy.f; do
     21058         if test -r $i; then
     21059           coin_pkg_is_here=yes
     21060         fi
     21061       done
     21062
     21063    if test $coin_pkg_is_here = yes; then
     21064      coin_has_blas=ThirdParty/Blas
     21065    fi
     21066  fi
     21067fi
     21068
     21069echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     21070echo "${ECHO_T}$coin_has_blas" >&6
     21071
     21072echo "$as_me:$LINENO: checking whether project Blas need to be configured" >&5
     21073echo $ECHO_N "checking whether project Blas need to be configured... $ECHO_C" >&6
     21074if test "$coin_has_blas" != skipping &&
     21075   test "$coin_has_blas" != notGiven &&
     21076   test "$coin_has_blas" != installed; then
     21077
     21078  if test -r $srcdir/ThirdParty/Blas/configure; then
     21079    coin_subdirs="$coin_subdirs ThirdParty/Blas"
     21080    echo "$as_me:$LINENO: result: yes" >&5
     21081echo "${ECHO_T}yes" >&6
     21082
     21083
     21084subdirs="$subdirs ThirdParty/Blas"
     21085
     21086  else
     21087    echo "$as_me:$LINENO: result: no" >&5
     21088echo "${ECHO_T}no" >&6
     21089  fi
     21090else
     21091  echo "$as_me:$LINENO: result: no" >&5
     21092echo "${ECHO_T}no" >&6
     21093fi
     21094
     21095
     21096echo "$as_me:$LINENO: checking whether project Lapack is available" >&5
     21097echo $ECHO_N "checking whether project Lapack is available... $ECHO_C" >&6
     21098
     21099coin_has_lapack=notGiven
     21100
     21101# check if user wants to skip project in any case
     21102
     21103if test x"$COIN_SKIP_PROJECTS" != x; then
     21104  for dir in $COIN_SKIP_PROJECTS; do
     21105    if test $dir = "Lapack"; then
     21106      coin_has_lapack=skipping
     21107    fi
     21108    if test $dir = "ThirdParty/Lapack"; then
     21109      coin_has_lapack=skipping
     21110    fi
     21111  done
     21112fi
     21113
     21114if test $coin_has_lapack != skipping; then
     21115  if test $PACKAGE_TARNAME = lapack; then
     21116    coin_has_lapack=.
     21117  fi
     21118
     21119
     21120# Check whether --with-m4_tolower(Lapack)-lib or --without-m4_tolower(Lapack)-lib was given.
     21121if test "${with_lapack_lib+set}" = set; then
     21122  withval="$with_lapack_lib"
     21123  coin_has_lapack=installed
     21124fi;
     21125
     21126
     21127# Check whether --with-m4_tolower(Lapack)-incdir or --without-m4_tolower(Lapack)-incdir was given.
     21128if test "${with_lapack_incdir+set}" = set; then
     21129  withval="$with_lapack_incdir"
     21130  coin_has_lapack=installed
     21131fi;
     21132
     21133
     21134# Check whether --with-m4_tolower(Lapack)-datadir or --without-m4_tolower(Lapack)-datadir was given.
     21135if test "${with_lapack_datadir+set}" = set; then
     21136  withval="$with_lapack_datadir"
     21137  coin_has_lapack=installed
     21138fi;
     21139fi
     21140
     21141if test $coin_has_lapack = notGiven; then
     21142  #only if pkg-config is available:
     21143  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21144  if test -n "$PKG_CONFIG" ; then
     21145    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21146
     21147# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21148if test "${with_coin_instdir+set}" = set; then
     21149  withval="$with_coin_instdir"
     21150  if test -d "$withval"; then : ; else
     21151         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21152echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21153   { (exit 1); exit 1; }; }
     21154       fi
     21155       PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21156
     21157fi;
     21158
     21159    # let pkgconfig check if the project is already installed somewhere
     21160    # need to export variable to be sure that the following pkg-config call gets these values
     21161    export PKG_CONFIG_PATH
     21162
     21163if test -n "$PKG_CONFIG" ; then
     21164  if $PKG_CONFIG --exists "lapack"; then
     21165    LAPACK_VERSION=`$PKG_CONFIG --modversion "lapack" 2>/dev/null`
     21166    coin_has_lapack="$LAPACK_VERSION"
     21167  else
     21168    LAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "lapack"`
     21169
     21170  fi
     21171else
     21172  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Lapack without pkg-config\"" >&5
     21173echo "$as_me: error: \"Cannot check for existance of module Lapack without pkg-config\"" >&2;}
     21174   { (exit 1); exit 1; }; }
     21175fi
     21176
     21177
     21178    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21179  fi
     21180fi
     21181
     21182# if not found yet, check if project is available in present directory
     21183if test "$coin_has_lapack" = notGiven; then
     21184  if test -d $srcdir/ThirdParty/Lapack; then
     21185    coin_pkg_is_here=no
     21186    for i in $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; do
     21187         if test -r $i; then
     21188           coin_pkg_is_here=yes
     21189         fi
     21190       done
     21191
     21192    if test $coin_pkg_is_here = yes; then
     21193      coin_has_lapack=ThirdParty/Lapack
     21194    fi
     21195  fi
     21196fi
     21197
     21198echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
     21199echo "${ECHO_T}$coin_has_lapack" >&6
     21200
     21201echo "$as_me:$LINENO: checking whether project Lapack need to be configured" >&5
     21202echo $ECHO_N "checking whether project Lapack need to be configured... $ECHO_C" >&6
     21203if test "$coin_has_lapack" != skipping &&
     21204   test "$coin_has_lapack" != notGiven &&
     21205   test "$coin_has_lapack" != installed; then
     21206
     21207  if test -r $srcdir/ThirdParty/Lapack/configure; then
     21208    coin_subdirs="$coin_subdirs ThirdParty/Lapack"
     21209    echo "$as_me:$LINENO: result: yes" >&5
     21210echo "${ECHO_T}yes" >&6
     21211
     21212
     21213subdirs="$subdirs ThirdParty/Lapack"
     21214
     21215  else
     21216    echo "$as_me:$LINENO: result: no" >&5
     21217echo "${ECHO_T}no" >&6
     21218  fi
     21219else
     21220  echo "$as_me:$LINENO: result: no" >&5
     21221echo "${ECHO_T}no" >&6
     21222fi
     21223
     21224
     21225echo "$as_me:$LINENO: checking whether project Sample is available" >&5
     21226echo $ECHO_N "checking whether project Sample is available... $ECHO_C" >&6
     21227
     21228coin_has_sample=notGiven
     21229
     21230# check if user wants to skip project in any case
     21231
     21232if test x"$COIN_SKIP_PROJECTS" != x; then
     21233  for dir in $COIN_SKIP_PROJECTS; do
     21234    if test $dir = "Sample"; then
     21235      coin_has_sample=skipping
     21236    fi
     21237    if test $dir = "Data/Sample"; then
     21238      coin_has_sample=skipping
     21239    fi
     21240  done
     21241fi
     21242
     21243if test $coin_has_sample != skipping; then
     21244  if test $PACKAGE_TARNAME = sample; then
     21245    coin_has_sample=.
     21246  fi
     21247
     21248
     21249# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
     21250if test "${with_sample_lib+set}" = set; then
     21251  withval="$with_sample_lib"
     21252  coin_has_sample=installed
     21253fi;
     21254
     21255
     21256# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
     21257if test "${with_sample_incdir+set}" = set; then
     21258  withval="$with_sample_incdir"
     21259  coin_has_sample=installed
     21260fi;
     21261
     21262
     21263# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
     21264if test "${with_sample_datadir+set}" = set; then
     21265  withval="$with_sample_datadir"
     21266  coin_has_sample=installed
     21267fi;
     21268fi
     21269
     21270if test $coin_has_sample = notGiven; then
     21271  #only if pkg-config is available:
     21272  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21273  if test -n "$PKG_CONFIG" ; then
     21274    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21275
     21276# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21277if test "${with_coin_instdir+set}" = set; then
     21278  withval="$with_coin_instdir"
     21279  if test -d "$withval"; then : ; else
     21280         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21281echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21282   { (exit 1); exit 1; }; }
     21283       fi
     21284       PKG_CONFIG_PATH="$withval/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     21285
     21286fi;
     21287
     21288    # let pkgconfig check if the project is already installed somewhere
     21289    # need to export variable to be sure that the following pkg-config call gets these values
     21290    export PKG_CONFIG_PATH
     21291
     21292if test -n "$PKG_CONFIG" ; then
     21293  if $PKG_CONFIG --exists "sample"; then
     21294    SAMPLE_VERSION=`$PKG_CONFIG --modversion "sample" 2>/dev/null`
     21295    coin_has_sample="$SAMPLE_VERSION"
     21296  else
     21297    SAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "sample"`
     21298
     21299  fi
     21300else
     21301  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Sample without pkg-config\"" >&5
     21302echo "$as_me: error: \"Cannot check for existance of module Sample without pkg-config\"" >&2;}
     21303   { (exit 1); exit 1; }; }
     21304fi
     21305
     21306
     21307    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21308  fi
     21309fi
     21310
     21311# if not found yet, check if project is available in present directory
     21312if test "$coin_has_sample" = notGiven; then
     21313  if test -d $srcdir/Data/Sample; then
     21314    coin_pkg_is_here=no
     21315     coin_pkg_is_here=yes
     21316
     21317    if test $coin_pkg_is_here = yes; then
     21318      coin_has_sample=Data/Sample
     21319    fi
     21320  fi
     21321fi
     21322
     21323echo "$as_me:$LINENO: result: $coin_has_sample" >&5
     21324echo "${ECHO_T}$coin_has_sample" >&6
     21325
     21326echo "$as_me:$LINENO: checking whether project Sample need to be configured" >&5
     21327echo $ECHO_N "checking whether project Sample need to be configured... $ECHO_C" >&6
     21328if test "$coin_has_sample" != skipping &&
     21329   test "$coin_has_sample" != notGiven &&
     21330   test "$coin_has_sample" != installed; then
     21331
     21332  if test -r $srcdir/Data/Sample/configure; then
     21333    coin_subdirs="$coin_subdirs Data/Sample"
     21334    echo "$as_me:$LINENO: result: yes" >&5
     21335echo "${ECHO_T}yes" >&6
     21336
     21337
     21338subdirs="$subdirs Data/Sample"
     21339
     21340  else
     21341    echo "$as_me:$LINENO: result: no" >&5
     21342echo "${ECHO_T}no" >&6
     21343  fi
     21344else
     21345  echo "$as_me:$LINENO: result: no" >&5
     21346echo "${ECHO_T}no" >&6
     21347fi
     21348
     21349
     21350echo "$as_me:$LINENO: checking whether project Netlib is available" >&5
     21351echo $ECHO_N "checking whether project Netlib is available... $ECHO_C" >&6
     21352
     21353coin_has_netlib=notGiven
     21354
     21355# check if user wants to skip project in any case
     21356
     21357if test x"$COIN_SKIP_PROJECTS" != x; then
     21358  for dir in $COIN_SKIP_PROJECTS; do
     21359    if test $dir = "Netlib"; then
     21360      coin_has_netlib=skipping
     21361    fi
     21362    if test $dir = "Data/Netlib"; then
     21363      coin_has_netlib=skipping
     21364    fi
     21365  done
     21366fi
     21367
     21368if test $coin_has_netlib != skipping; then
     21369  if test $PACKAGE_TARNAME = netlib; then
     21370    coin_has_netlib=.
     21371  fi
     21372
     21373
     21374# Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
     21375if test "${with_netlib_lib+set}" = set; then
     21376  withval="$with_netlib_lib"
     21377  coin_has_netlib=installed
     21378fi;
     21379
     21380
     21381# Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
     21382if test "${with_netlib_incdir+set}" = set; then
     21383  withval="$with_netlib_incdir"
     21384  coin_has_netlib=installed
     21385fi;
     21386
     21387
     21388# Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
     21389if test "${with_netlib_datadir+set}" = set; then
     21390  withval="$with_netlib_datadir"
     21391  coin_has_netlib=installed
     21392fi;
     21393fi
     21394
     21395if test $coin_has_netlib = notGiven; then
     21396  #only if pkg-config is available:
     21397  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21398  if test -n "$PKG_CONFIG" ; then
     21399    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21400
     21401# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21402if test "${with_coin_instdir+set}" = set; then
     21403  withval="$with_coin_instdir"
     21404  if test -d "$withval"; then : ; else
     21405         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21406echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21407   { (exit 1); exit 1; }; }
     21408       fi
     21409       PKG_CONFIG_PATH="$withval/lib/Data/pkgconfig:$PKG_CONFIG_PATH"
     21410
     21411fi;
     21412
     21413    # let pkgconfig check if the project is already installed somewhere
     21414    # need to export variable to be sure that the following pkg-config call gets these values
     21415    export PKG_CONFIG_PATH
     21416
     21417if test -n "$PKG_CONFIG" ; then
     21418  if $PKG_CONFIG --exists "netlib"; then
     21419    NETLIB_VERSION=`$PKG_CONFIG --modversion "netlib" 2>/dev/null`
     21420    coin_has_netlib="$NETLIB_VERSION"
     21421  else
     21422    NETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "netlib"`
     21423
     21424  fi
     21425else
     21426  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&5
     21427echo "$as_me: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&2;}
     21428   { (exit 1); exit 1; }; }
     21429fi
     21430
     21431
     21432    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21433  fi
     21434fi
     21435
     21436# if not found yet, check if project is available in present directory
     21437if test "$coin_has_netlib" = notGiven; then
     21438  if test -d $srcdir/Data/Netlib; then
     21439    coin_pkg_is_here=no
     21440     coin_pkg_is_here=yes
     21441
     21442    if test $coin_pkg_is_here = yes; then
     21443      coin_has_netlib=Data/Netlib
     21444    fi
     21445  fi
     21446fi
     21447
     21448echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
     21449echo "${ECHO_T}$coin_has_netlib" >&6
     21450
     21451echo "$as_me:$LINENO: checking whether project Netlib need to be configured" >&5
     21452echo $ECHO_N "checking whether project Netlib need to be configured... $ECHO_C" >&6
     21453if test "$coin_has_netlib" != skipping &&
     21454   test "$coin_has_netlib" != notGiven &&
     21455   test "$coin_has_netlib" != installed; then
     21456
     21457  if test -r $srcdir/Data/Netlib/configure; then
     21458    coin_subdirs="$coin_subdirs Data/Netlib"
     21459    echo "$as_me:$LINENO: result: yes" >&5
     21460echo "${ECHO_T}yes" >&6
     21461
     21462
     21463subdirs="$subdirs Data/Netlib"
     21464
     21465  else
     21466    echo "$as_me:$LINENO: result: no" >&5
     21467echo "${ECHO_T}no" >&6
     21468  fi
     21469else
     21470  echo "$as_me:$LINENO: result: no" >&5
     21471echo "${ECHO_T}no" >&6
     21472fi
     21473
     21474
     21475echo "$as_me:$LINENO: checking whether project CoinUtils is available" >&5
     21476echo $ECHO_N "checking whether project CoinUtils is available... $ECHO_C" >&6
     21477
     21478coin_has_coinutils=notGiven
     21479
     21480# check if user wants to skip project in any case
     21481
     21482if test x"$COIN_SKIP_PROJECTS" != x; then
     21483  for dir in $COIN_SKIP_PROJECTS; do
     21484    if test $dir = "CoinUtils"; then
     21485      coin_has_coinutils=skipping
     21486    fi
     21487    if test $dir = "/CoinUtils"; then
     21488      coin_has_coinutils=skipping
     21489    fi
     21490  done
     21491fi
     21492
     21493if test $coin_has_coinutils != skipping; then
     21494  if test $PACKAGE_TARNAME = coinutils; then
     21495    coin_has_coinutils=.
     21496  fi
     21497
     21498
     21499# Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given.
     21500if test "${with_coinutils_lib+set}" = set; then
     21501  withval="$with_coinutils_lib"
     21502  coin_has_coinutils=installed
     21503fi;
     21504
     21505
     21506# Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given.
     21507if test "${with_coinutils_incdir+set}" = set; then
     21508  withval="$with_coinutils_incdir"
     21509  coin_has_coinutils=installed
     21510fi;
     21511
     21512
     21513# Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given.
     21514if test "${with_coinutils_datadir+set}" = set; then
     21515  withval="$with_coinutils_datadir"
     21516  coin_has_coinutils=installed
     21517fi;
     21518fi
     21519
     21520if test $coin_has_coinutils = notGiven; then
     21521  #only if pkg-config is available:
     21522  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21523  if test -n "$PKG_CONFIG" ; then
     21524    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21525
     21526# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21527if test "${with_coin_instdir+set}" = set; then
     21528  withval="$with_coin_instdir"
     21529  if test -d "$withval"; then : ; else
     21530         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21531echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21532   { (exit 1); exit 1; }; }
     21533       fi
     21534       PKG_CONFIG_PATH="$withval/lib//pkgconfig:$PKG_CONFIG_PATH"
     21535
     21536fi;
     21537
     21538    # let pkgconfig check if the project is already installed somewhere
     21539    # need to export variable to be sure that the following pkg-config call gets these values
     21540    export PKG_CONFIG_PATH
     21541
     21542if test -n "$PKG_CONFIG" ; then
     21543  if $PKG_CONFIG --exists "coinutils"; then
     21544    COINUTILS_VERSION=`$PKG_CONFIG --modversion "coinutils" 2>/dev/null`
     21545    coin_has_coinutils="$COINUTILS_VERSION"
     21546  else
     21547    COINUTILS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinutils"`
     21548
     21549  fi
     21550else
     21551  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&5
     21552echo "$as_me: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&2;}
     21553   { (exit 1); exit 1; }; }
     21554fi
     21555
     21556
     21557    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21558  fi
     21559fi
     21560
     21561# if not found yet, check if project is available in present directory
     21562if test "$coin_has_coinutils" = notGiven; then
     21563  if test -d $srcdir//CoinUtils; then
     21564    coin_pkg_is_here=no
     21565     coin_pkg_is_here=yes
     21566
     21567    if test $coin_pkg_is_here = yes; then
     21568      coin_has_coinutils=/CoinUtils
     21569    fi
     21570  fi
     21571fi
     21572
     21573echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
     21574echo "${ECHO_T}$coin_has_coinutils" >&6
     21575
     21576echo "$as_me:$LINENO: checking whether project CoinUtils need to be configured" >&5
     21577echo $ECHO_N "checking whether project CoinUtils need to be configured... $ECHO_C" >&6
     21578if test "$coin_has_coinutils" != skipping &&
     21579   test "$coin_has_coinutils" != notGiven &&
     21580   test "$coin_has_coinutils" != installed; then
     21581
     21582  if test -r $srcdir//CoinUtils/configure; then
     21583    coin_subdirs="$coin_subdirs CoinUtils"
     21584    echo "$as_me:$LINENO: result: yes" >&5
     21585echo "${ECHO_T}yes" >&6
    2081821586
    2081921587
    2082021588subdirs="$subdirs CoinUtils"
    2082121589
    20822                 else
    20823                   echo "$as_me:$LINENO: result: no" >&5
     21590  else
     21591    echo "$as_me:$LINENO: result: no" >&5
    2082421592echo "${ECHO_T}no" >&6
    20825                 fi
    20826 
    20827 
    20828 
    20829 
    20830 
    20831 
    20832 
    20833 
    20834 
    20835 
    20836 
    20837 
    20838 
    20839 echo "$as_me:$LINENO: checking whether directory Data/Netlib is available" >&5
    20840 echo $ECHO_N "checking whether directory Data/Netlib is available... $ECHO_C" >&6
    20841                 coin_skip=no
    20842                 if test x"$COIN_SKIP_PROJECTS" != x; then
    20843                   for dir in $COIN_SKIP_PROJECTS; do
    20844                     if test $dir = Data/Netlib; then
    20845                       coin_skip=yes
    20846                     fi
    20847                   done
    20848                 fi
    20849                 if test $coin_skip = yes; then
    20850                   echo "$as_me:$LINENO: result: skipping" >&5
    20851 echo "${ECHO_T}skipping" >&6
    20852                 elif test -r $srcdir/Data/Netlib/configure; then
    20853                   coin_subdirs="$coin_subdirs Data/Netlib"
    20854                   echo "$as_me:$LINENO: result: yes" >&5
     21593  fi
     21594else
     21595  echo "$as_me:$LINENO: result: no" >&5
     21596echo "${ECHO_T}no" >&6
     21597fi
     21598
     21599
     21600echo "$as_me:$LINENO: checking whether project Clp is available" >&5
     21601echo $ECHO_N "checking whether project Clp is available... $ECHO_C" >&6
     21602
     21603coin_has_clp=notGiven
     21604
     21605# check if user wants to skip project in any case
     21606
     21607if test x"$COIN_SKIP_PROJECTS" != x; then
     21608  for dir in $COIN_SKIP_PROJECTS; do
     21609    if test $dir = "Clp"; then
     21610      coin_has_clp=skipping
     21611    fi
     21612    if test $dir = "/Clp"; then
     21613      coin_has_clp=skipping
     21614    fi
     21615  done
     21616fi
     21617
     21618if test $coin_has_clp != skipping; then
     21619  if test $PACKAGE_TARNAME = clp; then
     21620    coin_has_clp=.
     21621  fi
     21622
     21623
     21624# Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given.
     21625if test "${with_clp_lib+set}" = set; then
     21626  withval="$with_clp_lib"
     21627  coin_has_clp=installed
     21628fi;
     21629
     21630
     21631# Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given.
     21632if test "${with_clp_incdir+set}" = set; then
     21633  withval="$with_clp_incdir"
     21634  coin_has_clp=installed
     21635fi;
     21636
     21637
     21638# Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given.
     21639if test "${with_clp_datadir+set}" = set; then
     21640  withval="$with_clp_datadir"
     21641  coin_has_clp=installed
     21642fi;
     21643fi
     21644
     21645if test $coin_has_clp = notGiven; then
     21646  #only if pkg-config is available:
     21647  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21648  if test -n "$PKG_CONFIG" ; then
     21649    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21650
     21651# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21652if test "${with_coin_instdir+set}" = set; then
     21653  withval="$with_coin_instdir"
     21654  if test -d "$withval"; then : ; else
     21655         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21656echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21657   { (exit 1); exit 1; }; }
     21658       fi
     21659       PKG_CONFIG_PATH="$withval/lib//pkgconfig:$PKG_CONFIG_PATH"
     21660
     21661fi;
     21662
     21663    # let pkgconfig check if the project is already installed somewhere
     21664    # need to export variable to be sure that the following pkg-config call gets these values
     21665    export PKG_CONFIG_PATH
     21666
     21667if test -n "$PKG_CONFIG" ; then
     21668  if $PKG_CONFIG --exists "clp"; then
     21669    CLP_VERSION=`$PKG_CONFIG --modversion "clp" 2>/dev/null`
     21670    coin_has_clp="$CLP_VERSION"
     21671  else
     21672    CLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "clp"`
     21673
     21674  fi
     21675else
     21676  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Clp without pkg-config\"" >&5
     21677echo "$as_me: error: \"Cannot check for existance of module Clp without pkg-config\"" >&2;}
     21678   { (exit 1); exit 1; }; }
     21679fi
     21680
     21681
     21682    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21683  fi
     21684fi
     21685
     21686# if not found yet, check if project is available in present directory
     21687if test "$coin_has_clp" = notGiven; then
     21688  if test -d $srcdir//Clp; then
     21689    coin_pkg_is_here=no
     21690     coin_pkg_is_here=yes
     21691
     21692    if test $coin_pkg_is_here = yes; then
     21693      coin_has_clp=/Clp
     21694    fi
     21695  fi
     21696fi
     21697
     21698echo "$as_me:$LINENO: result: $coin_has_clp" >&5
     21699echo "${ECHO_T}$coin_has_clp" >&6
     21700
     21701echo "$as_me:$LINENO: checking whether project Clp need to be configured" >&5
     21702echo $ECHO_N "checking whether project Clp need to be configured... $ECHO_C" >&6
     21703if test "$coin_has_clp" != skipping &&
     21704   test "$coin_has_clp" != notGiven &&
     21705   test "$coin_has_clp" != installed; then
     21706
     21707  if test -r $srcdir//Clp/configure; then
     21708    coin_subdirs="$coin_subdirs Clp"
     21709    echo "$as_me:$LINENO: result: yes" >&5
    2085521710echo "${ECHO_T}yes" >&6
    2085621711
    2085721712
    20858 subdirs="$subdirs Data/Netlib"
    20859 
    20860                 else
    20861                   echo "$as_me:$LINENO: result: no" >&5
     21713subdirs="$subdirs Clp"
     21714
     21715  else
     21716    echo "$as_me:$LINENO: result: no" >&5
    2086221717echo "${ECHO_T}no" >&6
    20863                 fi
    20864 
    20865 
    20866 
    20867 
    20868 
    20869 
    20870 
    20871 
    20872 
    20873 
    20874 
    20875 
    20876 
    20877 echo "$as_me:$LINENO: checking whether directory Data/Sample is available" >&5
    20878 echo $ECHO_N "checking whether directory Data/Sample is available... $ECHO_C" >&6
    20879                 coin_skip=no
    20880                 if test x"$COIN_SKIP_PROJECTS" != x; then
    20881                   for dir in $COIN_SKIP_PROJECTS; do
    20882                     if test $dir = Data/Sample; then
    20883                       coin_skip=yes
    20884                     fi
    20885                   done
    20886                 fi
    20887                 if test $coin_skip = yes; then
    20888                   echo "$as_me:$LINENO: result: skipping" >&5
    20889 echo "${ECHO_T}skipping" >&6
    20890                 elif test -r $srcdir/Data/Sample/configure; then
    20891                   coin_subdirs="$coin_subdirs Data/Sample"
    20892                   echo "$as_me:$LINENO: result: yes" >&5
    20893 echo "${ECHO_T}yes" >&6
    20894 
    20895 
    20896 subdirs="$subdirs Data/Sample"
    20897 
    20898                 else
    20899                   echo "$as_me:$LINENO: result: no" >&5
     21718  fi
     21719else
     21720  echo "$as_me:$LINENO: result: no" >&5
    2090021721echo "${ECHO_T}no" >&6
    20901                 fi
    20902 
    20903 
    20904 
    20905 
    20906 
    20907 
    20908 
    20909 
    20910 
    20911 
    20912 
    20913 
    20914 
    20915 echo "$as_me:$LINENO: checking whether directory Clp is available" >&5
    20916 echo $ECHO_N "checking whether directory Clp is available... $ECHO_C" >&6
    20917                 coin_skip=no
    20918                 if test x"$COIN_SKIP_PROJECTS" != x; then
    20919                   for dir in $COIN_SKIP_PROJECTS; do
    20920                     if test $dir = Clp; then
    20921                       coin_skip=yes
    20922                     fi
    20923                   done
    20924                 fi
    20925                 if test $coin_skip = yes; then
    20926                   echo "$as_me:$LINENO: result: skipping" >&5
    20927 echo "${ECHO_T}skipping" >&6
    20928                 elif test -r $srcdir/Clp/configure; then
    20929                   coin_subdirs="$coin_subdirs Clp"
    20930                   echo "$as_me:$LINENO: result: yes" >&5
    20931 echo "${ECHO_T}yes" >&6
    20932 
    20933 
    20934 subdirs="$subdirs Clp"
    20935 
    20936                 else
    20937                   echo "$as_me:$LINENO: result: no" >&5
    20938 echo "${ECHO_T}no" >&6
    20939                 fi
    20940 
    20941 
    20942 
    20943 
    20944 
    20945 
    20946 
    20947 
    20948 
    20949 
     21722fi
    2095021723
    2095121724
     
    2101521788    done
    2101621789    subdirs="$new_subdirs"
     21790  fi
     21791
     21792  # need to come before AC_OUTPUT
     21793  if test x$coin_projectdir != xyes; then
     21794    # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
     21795    echo $coin_subdirs > coin_subdirs.txt
     21796  else
     21797    # substitute for OBJDIR, needed to setup .pc file for uninstalled project
     21798    ABSBUILDDIR="`pwd`"
     21799
    2101721800  fi
    2101821801
     
    2179822581s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2179922582s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
     22583s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     22584s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
    2180022585s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t
    2180122586s,@subdirs@,$subdirs,;t t
    2180222587s,@LIBEXT@,$LIBEXT,;t t
    2180322588s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
     22589s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
    2180422590s,@LIBOBJS@,$LIBOBJS,;t t
    2180522591s,@LTLIBOBJS@,$LTLIBOBJS,;t t
  • stable/BSPsplit/configure.ac

    r1351 r1465  
    4343#############################################################################
    4444
    45 AC_COIN_MAIN_SUBDIRS(CoinUtils)
    46 AC_COIN_MAIN_SUBDIRS(Data/Netlib)
    47 AC_COIN_MAIN_SUBDIRS(Data/Sample)
    48 AC_COIN_MAIN_SUBDIRS(Clp)
     45AC_COIN_MAIN_PACKAGEDIR(Blas,ThirdParty,daxpy.f)
     46AC_COIN_MAIN_PACKAGEDIR(Lapack,ThirdParty,[LAPACK/SRC/dlarf.f])
     47AC_COIN_MAIN_PACKAGEDIR(Sample,Data)
     48AC_COIN_MAIN_PACKAGEDIR(Netlib,Data)
     49AC_COIN_MAIN_PACKAGEDIR(CoinUtils)
     50AC_COIN_MAIN_PACKAGEDIR(Clp)
    4951
    5052##############################################################################
Note: See TracChangeset for help on using the changeset viewer.