Changeset 1464 for trunk/configure


Ignore:
Timestamp:
Jun 7, 2010 8:27:42 AM (9 years ago)
Author:
stefan
Message:

merge split branch into trunk; fix some examples

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:externals
      •  

        old new  
        1 BuildTools        https://projects.coin-or.org/svn/BuildTools/stable/0.5
        2 ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.0
        3 ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.0
        4 ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.0
        5 ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.5
        6 Data/Sample       https://projects.coin-or.org/svn/Data/stable/1.0/Sample
        7 CoinUtils         https://projects.coin-or.org/svn/CoinUtils/stable/2.6/CoinUtils
        8 Cgl               https://projects.coin-or.org/svn/Cgl/stable/0.55/Cgl
        9 Clp               https://projects.coin-or.org/svn/Clp/stable/1.12/Clp
        10 Osi               https://projects.coin-or.org/svn/Osi/stable/0.103/Osi
        11 Vol               https://projects.coin-or.org/svn/Vol/stable/1.1/Vol
         1BuildTools        https://projects.coin-or.org/svn/BuildTools/trunk
         2ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/trunk
         3ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/trunk
         4ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/trunk
         5ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/trunk
         6Data/Sample       https://projects.coin-or.org/svn/Data/trunk/Sample
         7#Data/miplib3      https://projects.coin-or.org/svn/Data/trunk/miplib3
         8CoinUtils         https://projects.coin-or.org/svn/CoinUtils/trunk/CoinUtils
         9Cgl               https://projects.coin-or.org/svn/Cgl/trunk/Cgl
         10Clp               https://projects.coin-or.org/svn/Clp/trunk/Clp
         11Osi               https://projects.coin-or.org/svn/Osi/trunk/Osi
         12#Vol               https://projects.coin-or.org/svn/Vol/trunk/Vol
    • Property svn:mergeinfo changed
      /branches/split (added)merged: 1437-1439,​1444-1448,​1463
  • trunk/configure

    r1461 r1464  
    44# Generated by GNU Autoconf 2.59 for Cbc trunk.
    55#
    6 # Report bugs to <coin-cbc@lists.coin-or.org>.
     6# Report bugs to <cbc@lists.coin-or.org>.
    77#
    88# Copyright (C) 2003 Free Software Foundation, Inc.
     
    433433PACKAGE_VERSION='trunk'
    434434PACKAGE_STRING='Cbc trunk'
    435 PACKAGE_BUGREPORT='coin-cbc@lists.coin-or.org'
     435PACKAGE_BUGREPORT='cbc@lists.coin-or.org'
    436436
    437437ac_unique_file="configure.ac"
     
    474474#endif"
    475475
    476 ac_subdirs_all="$ac_subdirs_all ThirdParty/ASL"
    477476ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
    478477ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
    479 ac_subdirs_all="$ac_subdirs_all ThirdParty/Glpk"
     478ac_subdirs_all="$ac_subdirs_all Data/Sample"
     479ac_subdirs_all="$ac_subdirs_all Data/Netlib"
     480ac_subdirs_all="$ac_subdirs_all Data/miblib3"
    480481ac_subdirs_all="$ac_subdirs_all CoinUtils"
    481 ac_subdirs_all="$ac_subdirs_all Data/Netlib"
    482 ac_subdirs_all="$ac_subdirs_all Data/Sample"
    483 ac_subdirs_all="$ac_subdirs_all Data/miplib3"
     482ac_subdirs_all="$ac_subdirs_all Osi"
    484483ac_subdirs_all="$ac_subdirs_all Clp"
    485484ac_subdirs_all="$ac_subdirs_all DyLP"
    486485ac_subdirs_all="$ac_subdirs_all Vol"
    487 ac_subdirs_all="$ac_subdirs_all Osi"
    488486ac_subdirs_all="$ac_subdirs_all Cgl"
    489487ac_subdirs_all="$ac_subdirs_all Cbc"
    490 ac_subdirs_all="$ac_subdirs_all SYMPHONY"
    491 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 subdirs COIN_SKIP_PROJECTS LIBEXT VPATH_DISTCLEANFILES LIBOBJS LTLIBOBJS'
     488ac_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_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_SKIP_PROJECTS subdirs LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    492489ac_subst_files=''
    493490
     
    10261023ac_cv_env_CXXCPP_set=${CXXCPP+set}
    10271024ac_cv_env_CXXCPP_value=$CXXCPP
     1025ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     1026ac_env_PKG_CONFIG_value=$PKG_CONFIG
     1027ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
     1028ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    10281029ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
    10291030ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
     
    11281129                          optimize for fast installation [default=yes]
    11291130  --disable-libtool-lock  avoid locking (might break parallel builds)
     1131  --enable-pkg-config     use pkg-config if available (default is yes)
    11301132
    11311133Optional Packages:
     
    11371139  --with-tags[=TAGS]
    11381140                          include additional configurations [automatic]
     1141  --with-coin-instdir     prefix of installation directory for precompiled
     1142                          COIN packages
     1143  --with-blas-lib linker flags for using project Blas
     1144  --with-blas-incdir directory with header files for using project Blas
     1145  --with-blas-datadir directory with data files for using project Blas
     1146  --with-lapack-lib linker flags for using project Lapack
     1147  --with-lapack-incdir directory with header files for using project Lapack
     1148  --with-lapack-datadir directory with data files for using project Lapack
     1149  --with-sample-lib linker flags for using project Sample
     1150  --with-sample-incdir directory with header files for using project Sample
     1151  --with-sample-datadir directory with data files for using project Sample
     1152  --with-netlib-lib linker flags for using project Netlib
     1153  --with-netlib-incdir directory with header files for using project Netlib
     1154  --with-netlib-datadir directory with data files for using project Netlib
     1155  --with-miblib3-lib linker flags for using project miblib3
     1156  --with-miblib3-incdir directory with header files for using project miblib3
     1157  --with-miblib3-datadir directory with data files for using project miblib3
     1158  --with-coinutils-lib linker flags for using project CoinUtils
     1159  --with-coinutils-incdir directory with header files for using project
     1160                          CoinUtils
     1161  --with-coinutils-datadir
     1162                          directory with data files for using project
     1163                          CoinUtils
     1164  --with-osi-lib linker flags for using project Osi
     1165  --with-osi-incdir directory with header files for using project Osi
     1166  --with-osi-datadir directory with data files for using project Osi
     1167  --with-clp-lib linker flags for using project Clp
     1168  --with-clp-incdir directory with header files for using project Clp
     1169  --with-clp-datadir directory with data files for using project Clp
     1170  --with-dylp-lib linker flags for using project DyLP
     1171  --with-dylp-incdir directory with header files for using project DyLP
     1172  --with-dylp-datadir directory with data files for using project DyLP
     1173  --with-vol-lib linker flags for using project Vol
     1174  --with-vol-incdir directory with header files for using project Vol
     1175  --with-vol-datadir directory with data files for using project Vol
     1176  --with-cgl-lib linker flags for using project Cgl
     1177  --with-cgl-incdir directory with header files for using project Cgl
     1178  --with-cgl-datadir directory with data files for using project Cgl
     1179  --with-cbc-lib linker flags for using project Cbc
     1180  --with-cbc-incdir directory with header files for using project Cbc
     1181  --with-cbc-datadir directory with data files for using project Cbc
    11391182
    11401183Some influential environment variables:
     
    11681211  CPP         C preprocessor
    11691212  CXXCPP      C++ preprocessor
     1213  PKG_CONFIG  path to pkg-config utility
    11701214  COIN_SKIP_PROJECTS
    11711215              Set to the subdirectories of projects that should be skipped in
     
    11751219it to find libraries and programs with nonstandard names/locations.
    11761220
    1177 Report bugs to <coin-cbc@lists.coin-or.org>.
     1221Report bugs to <cbc@lists.coin-or.org>.
    11781222_ACEOF
    11791223fi
     
    41724216
    41734217# Provide some information about the compiler.
    4174 echo "$as_me:4174:" \
     4218echo "$as_me:4218:" \
    41754219     "checking for Fortran 77 compiler version" >&5
    41764220ac_compiler=`set X $ac_compile; echo $2`
     
    64316475*-*-irix6*)
    64326476  # Find out which ABI we are using.
    6433   echo '#line 6433 "configure"' > conftest.$ac_ext
     6477  echo '#line 6477 "configure"' > conftest.$ac_ext
    64346478  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    64356479  (eval $ac_compile) 2>&5
     
    72087252    (
    72097253      cat <<\_ASBOX
    7210 ## ----------------------------------------- ##
    7211 ## Report this to coin-cbc@lists.coin-or.org ##
    7212 ## ----------------------------------------- ##
     7254## ------------------------------------ ##
     7255## Report this to cbc@lists.coin-or.org ##
     7256## ------------------------------------ ##
    72137257_ASBOX
    72147258    ) |
     
    83958439   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    83968440   -e 's:$: $lt_compiler_flag:'`
    8397    (eval echo "\"\$as_me:8397: $lt_compile\"" >&5)
     8441   (eval echo "\"\$as_me:8441: $lt_compile\"" >&5)
    83988442   (eval "$lt_compile" 2>conftest.err)
    83998443   ac_status=$?
    84008444   cat conftest.err >&5
    8401    echo "$as_me:8401: \$? = $ac_status" >&5
     8445   echo "$as_me:8445: \$? = $ac_status" >&5
    84028446   if (exit $ac_status) && test -s "$ac_outfile"; then
    84038447     # The compiler can only warn and ignore the option if not recognized
     
    86638707   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    86648708   -e 's:$: $lt_compiler_flag:'`
    8665    (eval echo "\"\$as_me:8665: $lt_compile\"" >&5)
     8709   (eval echo "\"\$as_me:8709: $lt_compile\"" >&5)
    86668710   (eval "$lt_compile" 2>conftest.err)
    86678711   ac_status=$?
    86688712   cat conftest.err >&5
    8669    echo "$as_me:8669: \$? = $ac_status" >&5
     8713   echo "$as_me:8713: \$? = $ac_status" >&5
    86708714   if (exit $ac_status) && test -s "$ac_outfile"; then
    86718715     # The compiler can only warn and ignore the option if not recognized
     
    87678811   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    87688812   -e 's:$: $lt_compiler_flag:'`
    8769    (eval echo "\"\$as_me:8769: $lt_compile\"" >&5)
     8813   (eval echo "\"\$as_me:8813: $lt_compile\"" >&5)
    87708814   (eval "$lt_compile" 2>out/conftest.err)
    87718815   ac_status=$?
    87728816   cat out/conftest.err >&5
    8773    echo "$as_me:8773: \$? = $ac_status" >&5
     8817   echo "$as_me:8817: \$? = $ac_status" >&5
    87748818   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    87758819   then
     
    1111211156  lt_status=$lt_dlunknown
    1111311157  cat > conftest.$ac_ext <<EOF
    11114 #line 11114 "configure"
     11158#line 11158 "configure"
    1111511159#include "confdefs.h"
    1111611160
     
    1121211256  lt_status=$lt_dlunknown
    1121311257  cat > conftest.$ac_ext <<EOF
    11214 #line 11214 "configure"
     11258#line 11258 "configure"
    1121511259#include "confdefs.h"
    1121611260
     
    1355613600   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1355713601   -e 's:$: $lt_compiler_flag:'`
    13558    (eval echo "\"\$as_me:13558: $lt_compile\"" >&5)
     13602   (eval echo "\"\$as_me:13602: $lt_compile\"" >&5)
    1355913603   (eval "$lt_compile" 2>conftest.err)
    1356013604   ac_status=$?
    1356113605   cat conftest.err >&5
    13562    echo "$as_me:13562: \$? = $ac_status" >&5
     13606   echo "$as_me:13606: \$? = $ac_status" >&5
    1356313607   if (exit $ac_status) && test -s "$ac_outfile"; then
    1356413608     # The compiler can only warn and ignore the option if not recognized
     
    1366013704   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1366113705   -e 's:$: $lt_compiler_flag:'`
    13662    (eval echo "\"\$as_me:13662: $lt_compile\"" >&5)
     13706   (eval echo "\"\$as_me:13706: $lt_compile\"" >&5)
    1366313707   (eval "$lt_compile" 2>out/conftest.err)
    1366413708   ac_status=$?
    1366513709   cat out/conftest.err >&5
    13666    echo "$as_me:13666: \$? = $ac_status" >&5
     13710   echo "$as_me:13710: \$? = $ac_status" >&5
    1366713711   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1366813712   then
     
    1523015274   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1523115275   -e 's:$: $lt_compiler_flag:'`
    15232    (eval echo "\"\$as_me:15232: $lt_compile\"" >&5)
     15276   (eval echo "\"\$as_me:15276: $lt_compile\"" >&5)
    1523315277   (eval "$lt_compile" 2>conftest.err)
    1523415278   ac_status=$?
    1523515279   cat conftest.err >&5
    15236    echo "$as_me:15236: \$? = $ac_status" >&5
     15280   echo "$as_me:15280: \$? = $ac_status" >&5
    1523715281   if (exit $ac_status) && test -s "$ac_outfile"; then
    1523815282     # The compiler can only warn and ignore the option if not recognized
     
    1533415378   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1533515379   -e 's:$: $lt_compiler_flag:'`
    15336    (eval echo "\"\$as_me:15336: $lt_compile\"" >&5)
     15380   (eval echo "\"\$as_me:15380: $lt_compile\"" >&5)
    1533715381   (eval "$lt_compile" 2>out/conftest.err)
    1533815382   ac_status=$?
    1533915383   cat out/conftest.err >&5
    15340    echo "$as_me:15340: \$? = $ac_status" >&5
     15384   echo "$as_me:15384: \$? = $ac_status" >&5
    1534115385   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1534215386   then
     
    1754117585   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1754217586   -e 's:$: $lt_compiler_flag:'`
    17543    (eval echo "\"\$as_me:17543: $lt_compile\"" >&5)
     17587   (eval echo "\"\$as_me:17587: $lt_compile\"" >&5)
    1754417588   (eval "$lt_compile" 2>conftest.err)
    1754517589   ac_status=$?
    1754617590   cat conftest.err >&5
    17547    echo "$as_me:17547: \$? = $ac_status" >&5
     17591   echo "$as_me:17591: \$? = $ac_status" >&5
    1754817592   if (exit $ac_status) && test -s "$ac_outfile"; then
    1754917593     # The compiler can only warn and ignore the option if not recognized
     
    1780917853   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1781017854   -e 's:$: $lt_compiler_flag:'`
    17811    (eval echo "\"\$as_me:17811: $lt_compile\"" >&5)
     17855   (eval echo "\"\$as_me:17855: $lt_compile\"" >&5)
    1781217856   (eval "$lt_compile" 2>conftest.err)
    1781317857   ac_status=$?
    1781417858   cat conftest.err >&5
    17815    echo "$as_me:17815: \$? = $ac_status" >&5
     17859   echo "$as_me:17859: \$? = $ac_status" >&5
    1781617860   if (exit $ac_status) && test -s "$ac_outfile"; then
    1781717861     # The compiler can only warn and ignore the option if not recognized
     
    1791317957   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1791417958   -e 's:$: $lt_compiler_flag:'`
    17915    (eval echo "\"\$as_me:17915: $lt_compile\"" >&5)
     17959   (eval echo "\"\$as_me:17959: $lt_compile\"" >&5)
    1791617960   (eval "$lt_compile" 2>out/conftest.err)
    1791717961   ac_status=$?
    1791817962   cat out/conftest.err >&5
    17919    echo "$as_me:17919: \$? = $ac_status" >&5
     17963   echo "$as_me:17963: \$? = $ac_status" >&5
    1792017964   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1792117965   then
     
    2081820862
    2081920863#############################################################################
    20820 #             Check which ThirdParty sources are available                  #
     20864#                  Check which subprojects are there                        #
    2082120865#############################################################################
    2082220866
    20823 echo "$as_me:$LINENO: checking whether code for third party package ASL is available" >&5
    20824 echo $ECHO_N "checking whether code for third party package ASL is available... $ECHO_C" >&6
    20825 coin_skip=no
     20867
     20868
     20869# Check whether --enable-pkg-config or --disable-pkg-config was given.
     20870if test "${enable_pkg_config+set}" = set; then
     20871  enableval="$enable_pkg_config"
     20872  use_pkgconfig="$enableval"
     20873else
     20874  use_pkgconfig=yes
     20875fi;
     20876
     20877if test $use_pkgconfig = yes ; then
     20878  if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
     20879    if test -n "$ac_tool_prefix"; then
     20880  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
     20881set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
     20882echo "$as_me:$LINENO: checking for $ac_word" >&5
     20883echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20884if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
     20885  echo $ECHO_N "(cached) $ECHO_C" >&6
     20886else
     20887  case $PKG_CONFIG in
     20888  [\\/]* | ?:[\\/]*)
     20889  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
     20890  ;;
     20891  *)
     20892  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20893for as_dir in $PATH
     20894do
     20895  IFS=$as_save_IFS
     20896  test -z "$as_dir" && as_dir=.
     20897  for ac_exec_ext in '' $ac_executable_extensions; do
     20898  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20899    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20900    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20901    break 2
     20902  fi
     20903done
     20904done
     20905
     20906  ;;
     20907esac
     20908fi
     20909PKG_CONFIG=$ac_cv_path_PKG_CONFIG
     20910
     20911if test -n "$PKG_CONFIG"; then
     20912  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
     20913echo "${ECHO_T}$PKG_CONFIG" >&6
     20914else
     20915  echo "$as_me:$LINENO: result: no" >&5
     20916echo "${ECHO_T}no" >&6
     20917fi
     20918
     20919fi
     20920if test -z "$ac_cv_path_PKG_CONFIG"; then
     20921  ac_pt_PKG_CONFIG=$PKG_CONFIG
     20922  # Extract the first word of "pkg-config", so it can be a program name with args.
     20923set dummy pkg-config; ac_word=$2
     20924echo "$as_me:$LINENO: checking for $ac_word" >&5
     20925echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     20926if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
     20927  echo $ECHO_N "(cached) $ECHO_C" >&6
     20928else
     20929  case $ac_pt_PKG_CONFIG in
     20930  [\\/]* | ?:[\\/]*)
     20931  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
     20932  ;;
     20933  *)
     20934  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     20935for as_dir in $PATH
     20936do
     20937  IFS=$as_save_IFS
     20938  test -z "$as_dir" && as_dir=.
     20939  for ac_exec_ext in '' $ac_executable_extensions; do
     20940  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     20941    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
     20942    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     20943    break 2
     20944  fi
     20945done
     20946done
     20947
     20948  ;;
     20949esac
     20950fi
     20951ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
     20952
     20953if test -n "$ac_pt_PKG_CONFIG"; then
     20954  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
     20955echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
     20956else
     20957  echo "$as_me:$LINENO: result: no" >&5
     20958echo "${ECHO_T}no" >&6
     20959fi
     20960
     20961  PKG_CONFIG=$ac_pt_PKG_CONFIG
     20962else
     20963  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
     20964fi
     20965
     20966  fi
     20967  if test -n "$PKG_CONFIG"; then
     20968    _pkg_min_version=0.9.0
     20969    echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
     20970echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
     20971    if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
     20972      echo "$as_me:$LINENO: result: yes" >&5
     20973echo "${ECHO_T}yes" >&6
     20974    else
     20975      echo "$as_me:$LINENO: result: no" >&5
     20976echo "${ECHO_T}no" >&6
     20977      PKG_CONFIG=""
     20978    fi
     20979  fi
     20980
     20981  # check if pkg-config supports the short-errors flag
     20982  if test -n "$PKG_CONFIG" && \
     20983    $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
     20984    pkg_short_errors=" --short-errors "
     20985  else
     20986    pkg_short_errors=""
     20987  fi
     20988fi
     20989
     20990
     20991
     20992if test -n "$PKG_CONFIG"; then
     20993  COIN_HAS_PKGCONFIG_TRUE=
     20994  COIN_HAS_PKGCONFIG_FALSE='#'
     20995else
     20996  COIN_HAS_PKGCONFIG_TRUE='#'
     20997  COIN_HAS_PKGCONFIG_FALSE=
     20998fi
     20999
     21000
     21001
     21002# assemble search path for pkg-config, if we are in a project setup
     21003if test x$coin_projectdir = xyes ; then
     21004  COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21005
     21006  # 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
     21007  # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
     21008  # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
     21009  if test -d "${prefix}"; then
     21010    COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     21011  fi
     21012
     21013
     21014# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21015if test "${with_coin_instdir+set}" = set; then
     21016  withval="$with_coin_instdir"
     21017  if test -d "$withval"; then : ; else
     21018       { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21019echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21020   { (exit 1); exit 1; }; }
     21021     fi
     21022     COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
     21023
     21024fi;
     21025
     21026  # in a classic setup, we want to find uninstalled projects
     21027  # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
     21028  # unfortunately, if the user set prefix, then we do not know where the project base directory is located
     21029  # 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)
     21030  if test -e ../coin_subdirs.txt ; then
     21031    for i in `cat ../coin_subdirs.txt` ; do
     21032      if test -d ../$i ; then
     21033        COIN_PKG_CONFIG_PATH="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH}"
     21034      fi
     21035    done
     21036  fi
     21037
     21038  if test -e ../../coin_subdirs.txt ; then
     21039    for i in `cat ../../coin_subdirs.txt` ; do
     21040      if test -d ../../$i ; then
     21041        COIN_PKG_CONFIG_PATH="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH}"
     21042      fi
     21043    done
     21044  fi
     21045
     21046
     21047fi
     21048
     21049
     21050
     21051echo "$as_me:$LINENO: checking whether project Blas is available" >&5
     21052echo $ECHO_N "checking whether project Blas is available... $ECHO_C" >&6
     21053
     21054coin_has_blas=notGiven
     21055coin_have_project_dir=no
     21056
     21057# check if user wants to skip project in any case
     21058
    2082621059if test x"$COIN_SKIP_PROJECTS" != x; then
    2082721060  for dir in $COIN_SKIP_PROJECTS; do
    20828     if test $dir = ThirdParty/ASL; then
    20829       coin_skip=yes
     21061    if test $dir = "Blas"; then
     21062      coin_has_blas=skipping
     21063    fi
     21064    if test $dir = "ThirdParty/Blas"; then
     21065      coin_has_blas=skipping
    2083021066    fi
    2083121067  done
    2083221068fi
    20833 if test $coin_skip = yes; then
    20834   echo "$as_me:$LINENO: result: skipping" >&5
    20835 echo "${ECHO_T}skipping" >&6
    20836 else
    20837   coin_tmp=`echo $srcdir/ThirdParty/ASL/solvers/asl.h`
    20838   # There is probably a more elegant way to get the first thing out here...
    20839   for i in $coin_tmp; do
    20840     coin_tmp2=$i
    20841     #break 1
    20842   done
    20843   if test -r $coin_tmp2; then
    20844     coin_subdirs="$coin_subdirs ThirdParty/ASL"
     21069
     21070if test $coin_has_blas != skipping; then
     21071  if test $PACKAGE_TARNAME = blas; then
     21072    coin_has_blas=.
     21073    coin_have_project_dir=yes
     21074  fi
     21075
     21076
     21077# Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
     21078if test "${with_blas_lib+set}" = set; then
     21079  withval="$with_blas_lib"
     21080  coin_has_blas=installed
     21081fi;
     21082
     21083
     21084# Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
     21085if test "${with_blas_incdir+set}" = set; then
     21086  withval="$with_blas_incdir"
     21087  coin_has_blas=installed
     21088fi;
     21089
     21090
     21091# Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
     21092if test "${with_blas_datadir+set}" = set; then
     21093  withval="$with_blas_datadir"
     21094  coin_has_blas=installed
     21095fi;
     21096fi
     21097
     21098if test $coin_has_blas = notGiven; then
     21099  #only if pkg-config is available:
     21100  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21101  if test -n "$PKG_CONFIG" ; then
     21102    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21103
     21104    # 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
     21105    if test -d "$prefix"; then
     21106      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     21107    fi
     21108
     21109
     21110# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21111if test "${with_coin_instdir+set}" = set; then
     21112  withval="$with_coin_instdir"
     21113  if test -d "$withval"; then : ; else
     21114         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21115echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21116   { (exit 1); exit 1; }; }
     21117       fi
     21118       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     21119
     21120fi;
     21121
     21122    # let pkgconfig check if the project is already installed somewhere
     21123    # need to export variable to be sure that the following pkg-config call gets these values
     21124    export PKG_CONFIG_PATH
     21125
     21126if test -n "$PKG_CONFIG" ; then
     21127  if $PKG_CONFIG --exists "coinblas"; then
     21128    COINBLAS_VERSION=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null`
     21129    coin_has_blas="$COINBLAS_VERSION"
     21130  else
     21131    COINBLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"`
     21132
     21133  fi
     21134else
     21135  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5
     21136echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;}
     21137   { (exit 1); exit 1; }; }
     21138fi
     21139
     21140
     21141    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21142  fi
     21143fi
     21144
     21145# if not found yet, check if project is available in present directory
     21146if test "$coin_has_blas" = notGiven; then
     21147  if test -d $srcdir/ThirdParty/Blas; then
     21148    for i in $srcdir/ThirdParty/Blas/daxpy.f; do
     21149         if test -r $i; then
     21150           coin_have_project_dir=yes
     21151         fi
     21152       done
     21153
     21154    if test $coin_have_project_dir = yes; then
     21155      coin_has_blas=ThirdParty/Blas
     21156    fi
     21157  fi
     21158fi
     21159
     21160echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     21161echo "${ECHO_T}$coin_has_blas" >&6
     21162
     21163echo "$as_me:$LINENO: checking whether project Blas need to be configured" >&5
     21164echo $ECHO_N "checking whether project Blas need to be configured... $ECHO_C" >&6
     21165if test "$coin_have_project_dir" = yes ; then
     21166
     21167  if test -r $srcdir/ThirdParty/Blas/configure; then
     21168    coin_subdirs="$coin_subdirs ThirdParty/Blas"
    2084521169    echo "$as_me:$LINENO: result: yes" >&5
    2084621170echo "${ECHO_T}yes" >&6
    2084721171
    2084821172
    20849 subdirs="$subdirs ThirdParty/ASL"
     21173subdirs="$subdirs ThirdParty/Blas"
    2085021174
    2085121175  else
     
    2085321177echo "${ECHO_T}no" >&6
    2085421178  fi
    20855 fi
    20856 
    20857 echo "$as_me:$LINENO: checking whether code for third party package Blas is available" >&5
    20858 echo $ECHO_N "checking whether code for third party package Blas is available... $ECHO_C" >&6
    20859 coin_skip=no
     21179else
     21180  echo "$as_me:$LINENO: result: no" >&5
     21181echo "${ECHO_T}no" >&6
     21182fi
     21183
     21184
     21185echo "$as_me:$LINENO: checking whether project Lapack is available" >&5
     21186echo $ECHO_N "checking whether project Lapack is available... $ECHO_C" >&6
     21187
     21188coin_has_lapack=notGiven
     21189coin_have_project_dir=no
     21190
     21191# check if user wants to skip project in any case
     21192
    2086021193if test x"$COIN_SKIP_PROJECTS" != x; then
    2086121194  for dir in $COIN_SKIP_PROJECTS; do
    20862     if test $dir = ThirdParty/Blas; then
    20863       coin_skip=yes
     21195    if test $dir = "Lapack"; then
     21196      coin_has_lapack=skipping
     21197    fi
     21198    if test $dir = "ThirdParty/Lapack"; then
     21199      coin_has_lapack=skipping
    2086421200    fi
    2086521201  done
    2086621202fi
    20867 if test $coin_skip = yes; then
    20868   echo "$as_me:$LINENO: result: skipping" >&5
    20869 echo "${ECHO_T}skipping" >&6
    20870 else
    20871   coin_tmp=`echo $srcdir/ThirdParty/Blas/daxpy.f`
    20872   # There is probably a more elegant way to get the first thing out here...
    20873   for i in $coin_tmp; do
    20874     coin_tmp2=$i
    20875     #break 1
    20876   done
    20877   if test -r $coin_tmp2; then
    20878     coin_subdirs="$coin_subdirs ThirdParty/Blas"
     21203
     21204if test $coin_has_lapack != skipping; then
     21205  if test $PACKAGE_TARNAME = lapack; then
     21206    coin_has_lapack=.
     21207    coin_have_project_dir=yes
     21208  fi
     21209
     21210
     21211# Check whether --with-m4_tolower(Lapack)-lib or --without-m4_tolower(Lapack)-lib was given.
     21212if test "${with_lapack_lib+set}" = set; then
     21213  withval="$with_lapack_lib"
     21214  coin_has_lapack=installed
     21215fi;
     21216
     21217
     21218# Check whether --with-m4_tolower(Lapack)-incdir or --without-m4_tolower(Lapack)-incdir was given.
     21219if test "${with_lapack_incdir+set}" = set; then
     21220  withval="$with_lapack_incdir"
     21221  coin_has_lapack=installed
     21222fi;
     21223
     21224
     21225# Check whether --with-m4_tolower(Lapack)-datadir or --without-m4_tolower(Lapack)-datadir was given.
     21226if test "${with_lapack_datadir+set}" = set; then
     21227  withval="$with_lapack_datadir"
     21228  coin_has_lapack=installed
     21229fi;
     21230fi
     21231
     21232if test $coin_has_lapack = notGiven; then
     21233  #only if pkg-config is available:
     21234  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21235  if test -n "$PKG_CONFIG" ; then
     21236    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21237
     21238    # 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
     21239    if test -d "$prefix"; then
     21240      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     21241    fi
     21242
     21243
     21244# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21245if test "${with_coin_instdir+set}" = set; then
     21246  withval="$with_coin_instdir"
     21247  if test -d "$withval"; then : ; else
     21248         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21249echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21250   { (exit 1); exit 1; }; }
     21251       fi
     21252       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     21253
     21254fi;
     21255
     21256    # let pkgconfig check if the project is already installed somewhere
     21257    # need to export variable to be sure that the following pkg-config call gets these values
     21258    export PKG_CONFIG_PATH
     21259
     21260if test -n "$PKG_CONFIG" ; then
     21261  if $PKG_CONFIG --exists "coinlapack"; then
     21262    COINLAPACK_VERSION=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null`
     21263    coin_has_lapack="$COINLAPACK_VERSION"
     21264  else
     21265    COINLAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"`
     21266
     21267  fi
     21268else
     21269  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5
     21270echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;}
     21271   { (exit 1); exit 1; }; }
     21272fi
     21273
     21274
     21275    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21276  fi
     21277fi
     21278
     21279# if not found yet, check if project is available in present directory
     21280if test "$coin_has_lapack" = notGiven; then
     21281  if test -d $srcdir/ThirdParty/Lapack; then
     21282    for i in $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; do
     21283         if test -r $i; then
     21284           coin_have_project_dir=yes
     21285         fi
     21286       done
     21287
     21288    if test $coin_have_project_dir = yes; then
     21289      coin_has_lapack=ThirdParty/Lapack
     21290    fi
     21291  fi
     21292fi
     21293
     21294echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
     21295echo "${ECHO_T}$coin_has_lapack" >&6
     21296
     21297echo "$as_me:$LINENO: checking whether project Lapack need to be configured" >&5
     21298echo $ECHO_N "checking whether project Lapack need to be configured... $ECHO_C" >&6
     21299if test "$coin_have_project_dir" = yes ; then
     21300
     21301  if test -r $srcdir/ThirdParty/Lapack/configure; then
     21302    coin_subdirs="$coin_subdirs ThirdParty/Lapack"
    2087921303    echo "$as_me:$LINENO: result: yes" >&5
    2088021304echo "${ECHO_T}yes" >&6
    2088121305
    2088221306
    20883 subdirs="$subdirs ThirdParty/Blas"
     21307subdirs="$subdirs ThirdParty/Lapack"
    2088421308
    2088521309  else
     
    2088721311echo "${ECHO_T}no" >&6
    2088821312  fi
    20889 fi
    20890 
    20891 echo "$as_me:$LINENO: checking whether code for third party package Lapack is available" >&5
    20892 echo $ECHO_N "checking whether code for third party package Lapack is available... $ECHO_C" >&6
    20893 coin_skip=no
     21313else
     21314  echo "$as_me:$LINENO: result: no" >&5
     21315echo "${ECHO_T}no" >&6
     21316fi
     21317
     21318
     21319echo "$as_me:$LINENO: checking whether project Sample is available" >&5
     21320echo $ECHO_N "checking whether project Sample is available... $ECHO_C" >&6
     21321
     21322coin_has_sample=notGiven
     21323coin_have_project_dir=no
     21324
     21325# check if user wants to skip project in any case
     21326
    2089421327if test x"$COIN_SKIP_PROJECTS" != x; then
    2089521328  for dir in $COIN_SKIP_PROJECTS; do
    20896     if test $dir = ThirdParty/Lapack; then
    20897       coin_skip=yes
     21329    if test $dir = "Sample"; then
     21330      coin_has_sample=skipping
     21331    fi
     21332    if test $dir = "Data/Sample"; then
     21333      coin_has_sample=skipping
    2089821334    fi
    2089921335  done
    2090021336fi
    20901 if test $coin_skip = yes; then
    20902   echo "$as_me:$LINENO: result: skipping" >&5
    20903 echo "${ECHO_T}skipping" >&6
    20904 else
    20905   coin_tmp=`echo $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f`
    20906   # There is probably a more elegant way to get the first thing out here...
    20907   for i in $coin_tmp; do
    20908     coin_tmp2=$i
    20909     #break 1
    20910   done
    20911   if test -r $coin_tmp2; then
    20912     coin_subdirs="$coin_subdirs ThirdParty/Lapack"
     21337
     21338if test $coin_has_sample != skipping; then
     21339  if test $PACKAGE_TARNAME = sample; then
     21340    coin_has_sample=.
     21341    coin_have_project_dir=yes
     21342  fi
     21343
     21344
     21345# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
     21346if test "${with_sample_lib+set}" = set; then
     21347  withval="$with_sample_lib"
     21348  coin_has_sample=installed
     21349fi;
     21350
     21351
     21352# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
     21353if test "${with_sample_incdir+set}" = set; then
     21354  withval="$with_sample_incdir"
     21355  coin_has_sample=installed
     21356fi;
     21357
     21358
     21359# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
     21360if test "${with_sample_datadir+set}" = set; then
     21361  withval="$with_sample_datadir"
     21362  coin_has_sample=installed
     21363fi;
     21364fi
     21365
     21366if test $coin_has_sample = notGiven; then
     21367  #only if pkg-config is available:
     21368  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21369  if test -n "$PKG_CONFIG" ; then
     21370    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21371
     21372    # 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
     21373    if test -d "$prefix"; then
     21374      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     21375    fi
     21376
     21377
     21378# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21379if test "${with_coin_instdir+set}" = set; then
     21380  withval="$with_coin_instdir"
     21381  if test -d "$withval"; then : ; else
     21382         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21383echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21384   { (exit 1); exit 1; }; }
     21385       fi
     21386       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     21387
     21388fi;
     21389
     21390    # let pkgconfig check if the project is already installed somewhere
     21391    # need to export variable to be sure that the following pkg-config call gets these values
     21392    export PKG_CONFIG_PATH
     21393
     21394if test -n "$PKG_CONFIG" ; then
     21395  if $PKG_CONFIG --exists "coindatasample"; then
     21396    COINDATASAMPLE_VERSION=`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null`
     21397    coin_has_sample="$COINDATASAMPLE_VERSION"
     21398  else
     21399    COINDATASAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatasample"`
     21400
     21401  fi
     21402else
     21403  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&5
     21404echo "$as_me: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&2;}
     21405   { (exit 1); exit 1; }; }
     21406fi
     21407
     21408
     21409    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21410  fi
     21411fi
     21412
     21413# if not found yet, check if project is available in present directory
     21414if test "$coin_has_sample" = notGiven; then
     21415  if test -d $srcdir/Data/Sample; then
     21416     coin_have_project_dir=yes
     21417
     21418    if test $coin_have_project_dir = yes; then
     21419      coin_has_sample=Data/Sample
     21420    fi
     21421  fi
     21422fi
     21423
     21424echo "$as_me:$LINENO: result: $coin_has_sample" >&5
     21425echo "${ECHO_T}$coin_has_sample" >&6
     21426
     21427echo "$as_me:$LINENO: checking whether project Sample need to be configured" >&5
     21428echo $ECHO_N "checking whether project Sample need to be configured... $ECHO_C" >&6
     21429if test "$coin_have_project_dir" = yes ; then
     21430
     21431  if test -r $srcdir/Data/Sample/configure; then
     21432    coin_subdirs="$coin_subdirs Data/Sample"
    2091321433    echo "$as_me:$LINENO: result: yes" >&5
    2091421434echo "${ECHO_T}yes" >&6
    2091521435
    2091621436
    20917 subdirs="$subdirs ThirdParty/Lapack"
     21437subdirs="$subdirs Data/Sample"
    2091821438
    2091921439  else
     
    2092121441echo "${ECHO_T}no" >&6
    2092221442  fi
    20923 fi
    20924 
    20925 echo "$as_me:$LINENO: checking whether code for third party package Glpk is available" >&5
    20926 echo $ECHO_N "checking whether code for third party package Glpk is available... $ECHO_C" >&6
    20927 coin_skip=no
     21443else
     21444  echo "$as_me:$LINENO: result: no" >&5
     21445echo "${ECHO_T}no" >&6
     21446fi
     21447
     21448
     21449echo "$as_me:$LINENO: checking whether project Netlib is available" >&5
     21450echo $ECHO_N "checking whether project Netlib is available... $ECHO_C" >&6
     21451
     21452coin_has_netlib=notGiven
     21453coin_have_project_dir=no
     21454
     21455# check if user wants to skip project in any case
     21456
    2092821457if test x"$COIN_SKIP_PROJECTS" != x; then
    2092921458  for dir in $COIN_SKIP_PROJECTS; do
    20930     if test $dir = ThirdParty/Glpk; then
    20931       coin_skip=yes
     21459    if test $dir = "Netlib"; then
     21460      coin_has_netlib=skipping
     21461    fi
     21462    if test $dir = "Data/Netlib"; then
     21463      coin_has_netlib=skipping
    2093221464    fi
    2093321465  done
    2093421466fi
    20935 if test $coin_skip = yes; then
    20936   echo "$as_me:$LINENO: result: skipping" >&5
    20937 echo "${ECHO_T}skipping" >&6
    20938 else
    20939   coin_tmp=`echo $srcdir/ThirdParty/Glpk/glpk/src/glplpx01.c`
    20940   # There is probably a more elegant way to get the first thing out here...
    20941   for i in $coin_tmp; do
    20942     coin_tmp2=$i
    20943     #break 1
    20944   done
    20945   if test -r $coin_tmp2; then
    20946     coin_subdirs="$coin_subdirs ThirdParty/Glpk"
     21467
     21468if test $coin_has_netlib != skipping; then
     21469  if test $PACKAGE_TARNAME = netlib; then
     21470    coin_has_netlib=.
     21471    coin_have_project_dir=yes
     21472  fi
     21473
     21474
     21475# Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
     21476if test "${with_netlib_lib+set}" = set; then
     21477  withval="$with_netlib_lib"
     21478  coin_has_netlib=installed
     21479fi;
     21480
     21481
     21482# Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
     21483if test "${with_netlib_incdir+set}" = set; then
     21484  withval="$with_netlib_incdir"
     21485  coin_has_netlib=installed
     21486fi;
     21487
     21488
     21489# Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
     21490if test "${with_netlib_datadir+set}" = set; then
     21491  withval="$with_netlib_datadir"
     21492  coin_has_netlib=installed
     21493fi;
     21494fi
     21495
     21496if test $coin_has_netlib = notGiven; then
     21497  #only if pkg-config is available:
     21498  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21499  if test -n "$PKG_CONFIG" ; then
     21500    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21501
     21502    # 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
     21503    if test -d "$prefix"; then
     21504      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     21505    fi
     21506
     21507
     21508# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21509if test "${with_coin_instdir+set}" = set; then
     21510  withval="$with_coin_instdir"
     21511  if test -d "$withval"; then : ; else
     21512         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21513echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21514   { (exit 1); exit 1; }; }
     21515       fi
     21516       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     21517
     21518fi;
     21519
     21520    # let pkgconfig check if the project is already installed somewhere
     21521    # need to export variable to be sure that the following pkg-config call gets these values
     21522    export PKG_CONFIG_PATH
     21523
     21524if test -n "$PKG_CONFIG" ; then
     21525  if $PKG_CONFIG --exists "coindatanetlib"; then
     21526    COINDATANETLIB_VERSION=`$PKG_CONFIG --modversion "coindatanetlib" 2>/dev/null`
     21527    coin_has_netlib="$COINDATANETLIB_VERSION"
     21528  else
     21529    COINDATANETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatanetlib"`
     21530
     21531  fi
     21532else
     21533  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&5
     21534echo "$as_me: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&2;}
     21535   { (exit 1); exit 1; }; }
     21536fi
     21537
     21538
     21539    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21540  fi
     21541fi
     21542
     21543# if not found yet, check if project is available in present directory
     21544if test "$coin_has_netlib" = notGiven; then
     21545  if test -d $srcdir/Data/Netlib; then
     21546     coin_have_project_dir=yes
     21547
     21548    if test $coin_have_project_dir = yes; then
     21549      coin_has_netlib=Data/Netlib
     21550    fi
     21551  fi
     21552fi
     21553
     21554echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
     21555echo "${ECHO_T}$coin_has_netlib" >&6
     21556
     21557echo "$as_me:$LINENO: checking whether project Netlib need to be configured" >&5
     21558echo $ECHO_N "checking whether project Netlib need to be configured... $ECHO_C" >&6
     21559if test "$coin_have_project_dir" = yes ; then
     21560
     21561  if test -r $srcdir/Data/Netlib/configure; then
     21562    coin_subdirs="$coin_subdirs Data/Netlib"
    2094721563    echo "$as_me:$LINENO: result: yes" >&5
    2094821564echo "${ECHO_T}yes" >&6
    2094921565
    2095021566
    20951 subdirs="$subdirs ThirdParty/Glpk"
     21567subdirs="$subdirs Data/Netlib"
    2095221568
    2095321569  else
     
    2095521571echo "${ECHO_T}no" >&6
    2095621572  fi
    20957 fi
    20958 
    20959 
    20960 #############################################################################
    20961 #                  Check which subprojects are there                        #
    20962 #############################################################################
    20963 
    20964 
    20965 
    20966 echo "$as_me:$LINENO: checking whether directory CoinUtils is available" >&5
    20967 echo $ECHO_N "checking whether directory CoinUtils is available... $ECHO_C" >&6
    20968                 coin_skip=no
    20969                 if test x"$COIN_SKIP_PROJECTS" != x; then
    20970                   for dir in $COIN_SKIP_PROJECTS; do
    20971                     if test $dir = CoinUtils; then
    20972                       coin_skip=yes
    20973                     fi
    20974                   done
    20975                 fi
    20976                 if test $coin_skip = yes; then
    20977                   echo "$as_me:$LINENO: result: skipping" >&5
    20978 echo "${ECHO_T}skipping" >&6
    20979                 elif test -r $srcdir/CoinUtils/configure; then
    20980                   coin_subdirs="$coin_subdirs CoinUtils"
    20981                   echo "$as_me:$LINENO: result: yes" >&5
     21573else
     21574  echo "$as_me:$LINENO: result: no" >&5
     21575echo "${ECHO_T}no" >&6
     21576fi
     21577
     21578
     21579echo "$as_me:$LINENO: checking whether project miblib3 is available" >&5
     21580echo $ECHO_N "checking whether project miblib3 is available... $ECHO_C" >&6
     21581
     21582coin_has_miblib3=notGiven
     21583coin_have_project_dir=no
     21584
     21585# check if user wants to skip project in any case
     21586
     21587if test x"$COIN_SKIP_PROJECTS" != x; then
     21588  for dir in $COIN_SKIP_PROJECTS; do
     21589    if test $dir = "miblib3"; then
     21590      coin_has_miblib3=skipping
     21591    fi
     21592    if test $dir = "Data/miblib3"; then
     21593      coin_has_miblib3=skipping
     21594    fi
     21595  done
     21596fi
     21597
     21598if test $coin_has_miblib3 != skipping; then
     21599  if test $PACKAGE_TARNAME = miblib3; then
     21600    coin_has_miblib3=.
     21601    coin_have_project_dir=yes
     21602  fi
     21603
     21604
     21605# Check whether --with-m4_tolower(miblib3)-lib or --without-m4_tolower(miblib3)-lib was given.
     21606if test "${with_miblib3_lib+set}" = set; then
     21607  withval="$with_miblib3_lib"
     21608  coin_has_miblib3=installed
     21609fi;
     21610
     21611
     21612# Check whether --with-m4_tolower(miblib3)-incdir or --without-m4_tolower(miblib3)-incdir was given.
     21613if test "${with_miblib3_incdir+set}" = set; then
     21614  withval="$with_miblib3_incdir"
     21615  coin_has_miblib3=installed
     21616fi;
     21617
     21618
     21619# Check whether --with-m4_tolower(miblib3)-datadir or --without-m4_tolower(miblib3)-datadir was given.
     21620if test "${with_miblib3_datadir+set}" = set; then
     21621  withval="$with_miblib3_datadir"
     21622  coin_has_miblib3=installed
     21623fi;
     21624fi
     21625
     21626if test $coin_has_miblib3 = notGiven; then
     21627  #only if pkg-config is available:
     21628  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21629  if test -n "$PKG_CONFIG" ; then
     21630    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21631
     21632    # 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
     21633    if test -d "$prefix"; then
     21634      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     21635    fi
     21636
     21637
     21638# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21639if test "${with_coin_instdir+set}" = set; then
     21640  withval="$with_coin_instdir"
     21641  if test -d "$withval"; then : ; else
     21642         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21643echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21644   { (exit 1); exit 1; }; }
     21645       fi
     21646       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     21647
     21648fi;
     21649
     21650    # let pkgconfig check if the project is already installed somewhere
     21651    # need to export variable to be sure that the following pkg-config call gets these values
     21652    export PKG_CONFIG_PATH
     21653
     21654if test -n "$PKG_CONFIG" ; then
     21655  if $PKG_CONFIG --exists "coindatamiplib3"; then
     21656    COINDATAMIPLIB3_VERSION=`$PKG_CONFIG --modversion "coindatamiplib3" 2>/dev/null`
     21657    coin_has_miblib3="$COINDATAMIPLIB3_VERSION"
     21658  else
     21659    COINDATAMIPLIB3_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatamiplib3"`
     21660
     21661  fi
     21662else
     21663  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatamiplib3 without pkg-config\"" >&5
     21664echo "$as_me: error: \"Cannot check for existance of module coindatamiplib3 without pkg-config\"" >&2;}
     21665   { (exit 1); exit 1; }; }
     21666fi
     21667
     21668
     21669    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21670  fi
     21671fi
     21672
     21673# if not found yet, check if project is available in present directory
     21674if test "$coin_has_miblib3" = notGiven; then
     21675  if test -d $srcdir/Data/miblib3; then
     21676     coin_have_project_dir=yes
     21677
     21678    if test $coin_have_project_dir = yes; then
     21679      coin_has_miblib3=Data/miblib3
     21680    fi
     21681  fi
     21682fi
     21683
     21684echo "$as_me:$LINENO: result: $coin_has_miblib3" >&5
     21685echo "${ECHO_T}$coin_has_miblib3" >&6
     21686
     21687echo "$as_me:$LINENO: checking whether project miblib3 need to be configured" >&5
     21688echo $ECHO_N "checking whether project miblib3 need to be configured... $ECHO_C" >&6
     21689if test "$coin_have_project_dir" = yes ; then
     21690
     21691  if test -r $srcdir/Data/miblib3/configure; then
     21692    coin_subdirs="$coin_subdirs Data/miblib3"
     21693    echo "$as_me:$LINENO: result: yes" >&5
    2098221694echo "${ECHO_T}yes" >&6
    2098321695
    2098421696
     21697subdirs="$subdirs Data/miblib3"
     21698
     21699  else
     21700    echo "$as_me:$LINENO: result: no" >&5
     21701echo "${ECHO_T}no" >&6
     21702  fi
     21703else
     21704  echo "$as_me:$LINENO: result: no" >&5
     21705echo "${ECHO_T}no" >&6
     21706fi
     21707
     21708
     21709echo "$as_me:$LINENO: checking whether project CoinUtils is available" >&5
     21710echo $ECHO_N "checking whether project CoinUtils is available... $ECHO_C" >&6
     21711
     21712coin_has_coinutils=notGiven
     21713coin_have_project_dir=no
     21714
     21715# check if user wants to skip project in any case
     21716
     21717if test x"$COIN_SKIP_PROJECTS" != x; then
     21718  for dir in $COIN_SKIP_PROJECTS; do
     21719    if test $dir = "CoinUtils"; then
     21720      coin_has_coinutils=skipping
     21721    fi
     21722    if test $dir = "/CoinUtils"; then
     21723      coin_has_coinutils=skipping
     21724    fi
     21725  done
     21726fi
     21727
     21728if test $coin_has_coinutils != skipping; then
     21729  if test $PACKAGE_TARNAME = coinutils; then
     21730    coin_has_coinutils=.
     21731    coin_have_project_dir=yes
     21732  fi
     21733
     21734
     21735# Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given.
     21736if test "${with_coinutils_lib+set}" = set; then
     21737  withval="$with_coinutils_lib"
     21738  coin_has_coinutils=installed
     21739fi;
     21740
     21741
     21742# Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given.
     21743if test "${with_coinutils_incdir+set}" = set; then
     21744  withval="$with_coinutils_incdir"
     21745  coin_has_coinutils=installed
     21746fi;
     21747
     21748
     21749# Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given.
     21750if test "${with_coinutils_datadir+set}" = set; then
     21751  withval="$with_coinutils_datadir"
     21752  coin_has_coinutils=installed
     21753fi;
     21754fi
     21755
     21756if test $coin_has_coinutils = notGiven; then
     21757  #only if pkg-config is available:
     21758  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21759  if test -n "$PKG_CONFIG" ; then
     21760    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21761
     21762    # 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
     21763    if test -d "$prefix"; then
     21764      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     21765    fi
     21766
     21767
     21768# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21769if test "${with_coin_instdir+set}" = set; then
     21770  withval="$with_coin_instdir"
     21771  if test -d "$withval"; then : ; else
     21772         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21773echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21774   { (exit 1); exit 1; }; }
     21775       fi
     21776       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     21777
     21778fi;
     21779
     21780    # let pkgconfig check if the project is already installed somewhere
     21781    # need to export variable to be sure that the following pkg-config call gets these values
     21782    export PKG_CONFIG_PATH
     21783
     21784if test -n "$PKG_CONFIG" ; then
     21785  if $PKG_CONFIG --exists "coinutils"; then
     21786    COINUTILS_VERSION=`$PKG_CONFIG --modversion "coinutils" 2>/dev/null`
     21787    coin_has_coinutils="$COINUTILS_VERSION"
     21788  else
     21789    COINUTILS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinutils"`
     21790
     21791  fi
     21792else
     21793  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&5
     21794echo "$as_me: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&2;}
     21795   { (exit 1); exit 1; }; }
     21796fi
     21797
     21798
     21799    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21800  fi
     21801fi
     21802
     21803# if not found yet, check if project is available in present directory
     21804if test "$coin_has_coinutils" = notGiven; then
     21805  if test -d $srcdir//CoinUtils; then
     21806     coin_have_project_dir=yes
     21807
     21808    if test $coin_have_project_dir = yes; then
     21809      coin_has_coinutils=/CoinUtils
     21810    fi
     21811  fi
     21812fi
     21813
     21814echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
     21815echo "${ECHO_T}$coin_has_coinutils" >&6
     21816
     21817echo "$as_me:$LINENO: checking whether project CoinUtils need to be configured" >&5
     21818echo $ECHO_N "checking whether project CoinUtils need to be configured... $ECHO_C" >&6
     21819if test "$coin_have_project_dir" = yes ; then
     21820
     21821  if test -r $srcdir//CoinUtils/configure; then
     21822    coin_subdirs="$coin_subdirs CoinUtils"
     21823    echo "$as_me:$LINENO: result: yes" >&5
     21824echo "${ECHO_T}yes" >&6
     21825
     21826
    2098521827subdirs="$subdirs CoinUtils"
    2098621828
    20987                 else
    20988                   echo "$as_me:$LINENO: result: no" >&5
     21829  else
     21830    echo "$as_me:$LINENO: result: no" >&5
    2098921831echo "${ECHO_T}no" >&6
    20990                 fi
    20991 
    20992 
    20993 
    20994 
    20995 
    20996 
    20997 
    20998 
    20999 
    21000 
    21001 
    21002 
    21003 
    21004 echo "$as_me:$LINENO: checking whether directory Data/Netlib is available" >&5
    21005 echo $ECHO_N "checking whether directory Data/Netlib is available... $ECHO_C" >&6
    21006                 coin_skip=no
    21007                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21008                   for dir in $COIN_SKIP_PROJECTS; do
    21009                     if test $dir = Data/Netlib; then
    21010                       coin_skip=yes
    21011                     fi
    21012                   done
    21013                 fi
    21014                 if test $coin_skip = yes; then
    21015                   echo "$as_me:$LINENO: result: skipping" >&5
    21016 echo "${ECHO_T}skipping" >&6
    21017                 elif test -r $srcdir/Data/Netlib/configure; then
    21018                   coin_subdirs="$coin_subdirs Data/Netlib"
    21019                   echo "$as_me:$LINENO: result: yes" >&5
     21832  fi
     21833else
     21834  echo "$as_me:$LINENO: result: no" >&5
     21835echo "${ECHO_T}no" >&6
     21836fi
     21837
     21838
     21839echo "$as_me:$LINENO: checking whether project Osi is available" >&5
     21840echo $ECHO_N "checking whether project Osi is available... $ECHO_C" >&6
     21841
     21842coin_has_osi=notGiven
     21843coin_have_project_dir=no
     21844
     21845# check if user wants to skip project in any case
     21846
     21847if test x"$COIN_SKIP_PROJECTS" != x; then
     21848  for dir in $COIN_SKIP_PROJECTS; do
     21849    if test $dir = "Osi"; then
     21850      coin_has_osi=skipping
     21851    fi
     21852    if test $dir = "/Osi"; then
     21853      coin_has_osi=skipping
     21854    fi
     21855  done
     21856fi
     21857
     21858if test $coin_has_osi != skipping; then
     21859  if test $PACKAGE_TARNAME = osi; then
     21860    coin_has_osi=.
     21861    coin_have_project_dir=yes
     21862  fi
     21863
     21864
     21865# Check whether --with-m4_tolower(Osi)-lib or --without-m4_tolower(Osi)-lib was given.
     21866if test "${with_osi_lib+set}" = set; then
     21867  withval="$with_osi_lib"
     21868  coin_has_osi=installed
     21869fi;
     21870
     21871
     21872# Check whether --with-m4_tolower(Osi)-incdir or --without-m4_tolower(Osi)-incdir was given.
     21873if test "${with_osi_incdir+set}" = set; then
     21874  withval="$with_osi_incdir"
     21875  coin_has_osi=installed
     21876fi;
     21877
     21878
     21879# Check whether --with-m4_tolower(Osi)-datadir or --without-m4_tolower(Osi)-datadir was given.
     21880if test "${with_osi_datadir+set}" = set; then
     21881  withval="$with_osi_datadir"
     21882  coin_has_osi=installed
     21883fi;
     21884fi
     21885
     21886if test $coin_has_osi = notGiven; then
     21887  #only if pkg-config is available:
     21888  #see if user gives directory where project might be installed: assemble search path for pkg-config
     21889  if test -n "$PKG_CONFIG" ; then
     21890    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21891
     21892    # 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
     21893    if test -d "$prefix"; then
     21894      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     21895    fi
     21896
     21897
     21898# Check whether --with-coin-instdir or --without-coin-instdir was given.
     21899if test "${with_coin_instdir+set}" = set; then
     21900  withval="$with_coin_instdir"
     21901  if test -d "$withval"; then : ; else
     21902         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     21903echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     21904   { (exit 1); exit 1; }; }
     21905       fi
     21906       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     21907
     21908fi;
     21909
     21910    # let pkgconfig check if the project is already installed somewhere
     21911    # need to export variable to be sure that the following pkg-config call gets these values
     21912    export PKG_CONFIG_PATH
     21913
     21914if test -n "$PKG_CONFIG" ; then
     21915  if $PKG_CONFIG --exists "osi"; then
     21916    OSI_VERSION=`$PKG_CONFIG --modversion "osi" 2>/dev/null`
     21917    coin_has_osi="$OSI_VERSION"
     21918  else
     21919    OSI_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "osi"`
     21920
     21921  fi
     21922else
     21923  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Osi without pkg-config\"" >&5
     21924echo "$as_me: error: \"Cannot check for existance of module Osi without pkg-config\"" >&2;}
     21925   { (exit 1); exit 1; }; }
     21926fi
     21927
     21928
     21929    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21930  fi
     21931fi
     21932
     21933# if not found yet, check if project is available in present directory
     21934if test "$coin_has_osi" = notGiven; then
     21935  if test -d $srcdir//Osi; then
     21936     coin_have_project_dir=yes
     21937
     21938    if test $coin_have_project_dir = yes; then
     21939      coin_has_osi=/Osi
     21940    fi
     21941  fi
     21942fi
     21943
     21944echo "$as_me:$LINENO: result: $coin_has_osi" >&5
     21945echo "${ECHO_T}$coin_has_osi" >&6
     21946
     21947echo "$as_me:$LINENO: checking whether project Osi need to be configured" >&5
     21948echo $ECHO_N "checking whether project Osi need to be configured... $ECHO_C" >&6
     21949if test "$coin_have_project_dir" = yes ; then
     21950
     21951  if test -r $srcdir//Osi/configure; then
     21952    coin_subdirs="$coin_subdirs Osi"
     21953    echo "$as_me:$LINENO: result: yes" >&5
    2102021954echo "${ECHO_T}yes" >&6
    2102121955
    2102221956
    21023 subdirs="$subdirs Data/Netlib"
    21024 
    21025                 else
    21026                   echo "$as_me:$LINENO: result: no" >&5
     21957subdirs="$subdirs Osi"
     21958
     21959  else
     21960    echo "$as_me:$LINENO: result: no" >&5
    2102721961echo "${ECHO_T}no" >&6
    21028                 fi
    21029 
    21030 
    21031 
    21032 
    21033 
    21034 
    21035 
    21036 
    21037 
    21038 
    21039 
    21040 
    21041 
    21042 echo "$as_me:$LINENO: checking whether directory Data/Sample is available" >&5
    21043 echo $ECHO_N "checking whether directory Data/Sample is available... $ECHO_C" >&6
    21044                 coin_skip=no
    21045                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21046                   for dir in $COIN_SKIP_PROJECTS; do
    21047                     if test $dir = Data/Sample; then
    21048                       coin_skip=yes
    21049                     fi
    21050                   done
    21051                 fi
    21052                 if test $coin_skip = yes; then
    21053                   echo "$as_me:$LINENO: result: skipping" >&5
    21054 echo "${ECHO_T}skipping" >&6
    21055                 elif test -r $srcdir/Data/Sample/configure; then
    21056                   coin_subdirs="$coin_subdirs Data/Sample"
    21057                   echo "$as_me:$LINENO: result: yes" >&5
     21962  fi
     21963else
     21964  echo "$as_me:$LINENO: result: no" >&5
     21965echo "${ECHO_T}no" >&6
     21966fi
     21967
     21968
     21969echo "$as_me:$LINENO: checking whether project Clp is available" >&5
     21970echo $ECHO_N "checking whether project Clp is available... $ECHO_C" >&6
     21971
     21972coin_has_clp=notGiven
     21973coin_have_project_dir=no
     21974
     21975# check if user wants to skip project in any case
     21976
     21977if test x"$COIN_SKIP_PROJECTS" != x; then
     21978  for dir in $COIN_SKIP_PROJECTS; do
     21979    if test $dir = "Clp"; then
     21980      coin_has_clp=skipping
     21981    fi
     21982    if test $dir = "/Clp"; then
     21983      coin_has_clp=skipping
     21984    fi
     21985  done
     21986fi
     21987
     21988if test $coin_has_clp != skipping; then
     21989  if test $PACKAGE_TARNAME = clp; then
     21990    coin_has_clp=.
     21991    coin_have_project_dir=yes
     21992  fi
     21993
     21994
     21995# Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given.
     21996if test "${with_clp_lib+set}" = set; then
     21997  withval="$with_clp_lib"
     21998  coin_has_clp=installed
     21999fi;
     22000
     22001
     22002# Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given.
     22003if test "${with_clp_incdir+set}" = set; then
     22004  withval="$with_clp_incdir"
     22005  coin_has_clp=installed
     22006fi;
     22007
     22008
     22009# Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given.
     22010if test "${with_clp_datadir+set}" = set; then
     22011  withval="$with_clp_datadir"
     22012  coin_has_clp=installed
     22013fi;
     22014fi
     22015
     22016if test $coin_has_clp = notGiven; then
     22017  #only if pkg-config is available:
     22018  #see if user gives directory where project might be installed: assemble search path for pkg-config
     22019  if test -n "$PKG_CONFIG" ; then
     22020    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22021
     22022    # 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
     22023    if test -d "$prefix"; then
     22024      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     22025    fi
     22026
     22027
     22028# Check whether --with-coin-instdir or --without-coin-instdir was given.
     22029if test "${with_coin_instdir+set}" = set; then
     22030  withval="$with_coin_instdir"
     22031  if test -d "$withval"; then : ; else
     22032         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     22033echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     22034   { (exit 1); exit 1; }; }
     22035       fi
     22036       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     22037
     22038fi;
     22039
     22040    # let pkgconfig check if the project is already installed somewhere
     22041    # need to export variable to be sure that the following pkg-config call gets these values
     22042    export PKG_CONFIG_PATH
     22043
     22044if test -n "$PKG_CONFIG" ; then
     22045  if $PKG_CONFIG --exists "clp"; then
     22046    CLP_VERSION=`$PKG_CONFIG --modversion "clp" 2>/dev/null`
     22047    coin_has_clp="$CLP_VERSION"
     22048  else
     22049    CLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "clp"`
     22050
     22051  fi
     22052else
     22053  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Clp without pkg-config\"" >&5
     22054echo "$as_me: error: \"Cannot check for existance of module Clp without pkg-config\"" >&2;}
     22055   { (exit 1); exit 1; }; }
     22056fi
     22057
     22058
     22059    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22060  fi
     22061fi
     22062
     22063# if not found yet, check if project is available in present directory
     22064if test "$coin_has_clp" = notGiven; then
     22065  if test -d $srcdir//Clp; then
     22066     coin_have_project_dir=yes
     22067
     22068    if test $coin_have_project_dir = yes; then
     22069      coin_has_clp=/Clp
     22070    fi
     22071  fi
     22072fi
     22073
     22074echo "$as_me:$LINENO: result: $coin_has_clp" >&5
     22075echo "${ECHO_T}$coin_has_clp" >&6
     22076
     22077echo "$as_me:$LINENO: checking whether project Clp need to be configured" >&5
     22078echo $ECHO_N "checking whether project Clp need to be configured... $ECHO_C" >&6
     22079if test "$coin_have_project_dir" = yes ; then
     22080
     22081  if test -r $srcdir//Clp/configure; then
     22082    coin_subdirs="$coin_subdirs Clp"
     22083    echo "$as_me:$LINENO: result: yes" >&5
    2105822084echo "${ECHO_T}yes" >&6
    2105922085
    2106022086
    21061 subdirs="$subdirs Data/Sample"
    21062 
    21063                 else
    21064                   echo "$as_me:$LINENO: result: no" >&5
     22087subdirs="$subdirs Clp"
     22088
     22089  else
     22090    echo "$as_me:$LINENO: result: no" >&5
    2106522091echo "${ECHO_T}no" >&6
    21066                 fi
    21067 
    21068 
    21069 
    21070 
    21071 
    21072 
    21073 
    21074 
    21075 
    21076 
    21077 
    21078 
    21079 
    21080 echo "$as_me:$LINENO: checking whether directory Data/miplib3 is available" >&5
    21081 echo $ECHO_N "checking whether directory Data/miplib3 is available... $ECHO_C" >&6
    21082                 coin_skip=no
    21083                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21084                   for dir in $COIN_SKIP_PROJECTS; do
    21085                     if test $dir = Data/miplib3; then
    21086                       coin_skip=yes
    21087                     fi
    21088                   done
    21089                 fi
    21090                 if test $coin_skip = yes; then
    21091                   echo "$as_me:$LINENO: result: skipping" >&5
    21092 echo "${ECHO_T}skipping" >&6
    21093                 elif test -r $srcdir/Data/miplib3/configure; then
    21094                   coin_subdirs="$coin_subdirs Data/miplib3"
    21095                   echo "$as_me:$LINENO: result: yes" >&5
     22092  fi
     22093else
     22094  echo "$as_me:$LINENO: result: no" >&5
     22095echo "${ECHO_T}no" >&6
     22096fi
     22097
     22098
     22099echo "$as_me:$LINENO: checking whether project DyLP is available" >&5
     22100echo $ECHO_N "checking whether project DyLP is available... $ECHO_C" >&6
     22101
     22102coin_has_dylp=notGiven
     22103coin_have_project_dir=no
     22104
     22105# check if user wants to skip project in any case
     22106
     22107if test x"$COIN_SKIP_PROJECTS" != x; then
     22108  for dir in $COIN_SKIP_PROJECTS; do
     22109    if test $dir = "DyLP"; then
     22110      coin_has_dylp=skipping
     22111    fi
     22112    if test $dir = "/DyLP"; then
     22113      coin_has_dylp=skipping
     22114    fi
     22115  done
     22116fi
     22117
     22118if test $coin_has_dylp != skipping; then
     22119  if test $PACKAGE_TARNAME = dylp; then
     22120    coin_has_dylp=.
     22121    coin_have_project_dir=yes
     22122  fi
     22123
     22124
     22125# Check whether --with-m4_tolower(DyLP)-lib or --without-m4_tolower(DyLP)-lib was given.
     22126if test "${with_dylp_lib+set}" = set; then
     22127  withval="$with_dylp_lib"
     22128  coin_has_dylp=installed
     22129fi;
     22130
     22131
     22132# Check whether --with-m4_tolower(DyLP)-incdir or --without-m4_tolower(DyLP)-incdir was given.
     22133if test "${with_dylp_incdir+set}" = set; then
     22134  withval="$with_dylp_incdir"
     22135  coin_has_dylp=installed
     22136fi;
     22137
     22138
     22139# Check whether --with-m4_tolower(DyLP)-datadir or --without-m4_tolower(DyLP)-datadir was given.
     22140if test "${with_dylp_datadir+set}" = set; then
     22141  withval="$with_dylp_datadir"
     22142  coin_has_dylp=installed
     22143fi;
     22144fi
     22145
     22146if test $coin_has_dylp = notGiven; then
     22147  #only if pkg-config is available:
     22148  #see if user gives directory where project might be installed: assemble search path for pkg-config
     22149  if test -n "$PKG_CONFIG" ; then
     22150    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22151
     22152    # 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
     22153    if test -d "$prefix"; then
     22154      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     22155    fi
     22156
     22157
     22158# Check whether --with-coin-instdir or --without-coin-instdir was given.
     22159if test "${with_coin_instdir+set}" = set; then
     22160  withval="$with_coin_instdir"
     22161  if test -d "$withval"; then : ; else
     22162         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     22163echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     22164   { (exit 1); exit 1; }; }
     22165       fi
     22166       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     22167
     22168fi;
     22169
     22170    # let pkgconfig check if the project is already installed somewhere
     22171    # need to export variable to be sure that the following pkg-config call gets these values
     22172    export PKG_CONFIG_PATH
     22173
     22174if test -n "$PKG_CONFIG" ; then
     22175  if $PKG_CONFIG --exists "dylp"; then
     22176    DYLP_VERSION=`$PKG_CONFIG --modversion "dylp" 2>/dev/null`
     22177    coin_has_dylp="$DYLP_VERSION"
     22178  else
     22179    DYLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "dylp"`
     22180
     22181  fi
     22182else
     22183  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&5
     22184echo "$as_me: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&2;}
     22185   { (exit 1); exit 1; }; }
     22186fi
     22187
     22188
     22189    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22190  fi
     22191fi
     22192
     22193# if not found yet, check if project is available in present directory
     22194if test "$coin_has_dylp" = notGiven; then
     22195  if test -d $srcdir//DyLP; then
     22196     coin_have_project_dir=yes
     22197
     22198    if test $coin_have_project_dir = yes; then
     22199      coin_has_dylp=/DyLP
     22200    fi
     22201  fi
     22202fi
     22203
     22204echo "$as_me:$LINENO: result: $coin_has_dylp" >&5
     22205echo "${ECHO_T}$coin_has_dylp" >&6
     22206
     22207echo "$as_me:$LINENO: checking whether project DyLP need to be configured" >&5
     22208echo $ECHO_N "checking whether project DyLP need to be configured... $ECHO_C" >&6
     22209if test "$coin_have_project_dir" = yes ; then
     22210
     22211  if test -r $srcdir//DyLP/configure; then
     22212    coin_subdirs="$coin_subdirs DyLP"
     22213    echo "$as_me:$LINENO: result: yes" >&5
    2109622214echo "${ECHO_T}yes" >&6
    2109722215
    2109822216
    21099 subdirs="$subdirs Data/miplib3"
    21100 
    21101                 else
    21102                   echo "$as_me:$LINENO: result: no" >&5
     22217subdirs="$subdirs DyLP"
     22218
     22219  else
     22220    echo "$as_me:$LINENO: result: no" >&5
    2110322221echo "${ECHO_T}no" >&6
    21104                 fi
    21105 
    21106 
    21107 
    21108 
    21109 
    21110 
    21111 
    21112 
    21113 
    21114 
    21115 
    21116 
    21117 
    21118 echo "$as_me:$LINENO: checking whether directory Clp is available" >&5
    21119 echo $ECHO_N "checking whether directory Clp is available... $ECHO_C" >&6
    21120                 coin_skip=no
    21121                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21122                   for dir in $COIN_SKIP_PROJECTS; do
    21123                     if test $dir = Clp; then
    21124                       coin_skip=yes
    21125                     fi
    21126                   done
    21127                 fi
    21128                 if test $coin_skip = yes; then
    21129                   echo "$as_me:$LINENO: result: skipping" >&5
    21130 echo "${ECHO_T}skipping" >&6
    21131                 elif test -r $srcdir/Clp/configure; then
    21132                   coin_subdirs="$coin_subdirs Clp"
    21133                   echo "$as_me:$LINENO: result: yes" >&5
     22222  fi
     22223else
     22224  echo "$as_me:$LINENO: result: no" >&5
     22225echo "${ECHO_T}no" >&6
     22226fi
     22227
     22228
     22229echo "$as_me:$LINENO: checking whether project Vol is available" >&5
     22230echo $ECHO_N "checking whether project Vol is available... $ECHO_C" >&6
     22231
     22232coin_has_vol=notGiven
     22233coin_have_project_dir=no
     22234
     22235# check if user wants to skip project in any case
     22236
     22237if test x"$COIN_SKIP_PROJECTS" != x; then
     22238  for dir in $COIN_SKIP_PROJECTS; do
     22239    if test $dir = "Vol"; then
     22240      coin_has_vol=skipping
     22241    fi
     22242    if test $dir = "/Vol"; then
     22243      coin_has_vol=skipping
     22244    fi
     22245  done
     22246fi
     22247
     22248if test $coin_has_vol != skipping; then
     22249  if test $PACKAGE_TARNAME = vol; then
     22250    coin_has_vol=.
     22251    coin_have_project_dir=yes
     22252  fi
     22253
     22254
     22255# Check whether --with-m4_tolower(Vol)-lib or --without-m4_tolower(Vol)-lib was given.
     22256if test "${with_vol_lib+set}" = set; then
     22257  withval="$with_vol_lib"
     22258  coin_has_vol=installed
     22259fi;
     22260
     22261
     22262# Check whether --with-m4_tolower(Vol)-incdir or --without-m4_tolower(Vol)-incdir was given.
     22263if test "${with_vol_incdir+set}" = set; then
     22264  withval="$with_vol_incdir"
     22265  coin_has_vol=installed
     22266fi;
     22267
     22268
     22269# Check whether --with-m4_tolower(Vol)-datadir or --without-m4_tolower(Vol)-datadir was given.
     22270if test "${with_vol_datadir+set}" = set; then
     22271  withval="$with_vol_datadir"
     22272  coin_has_vol=installed
     22273fi;
     22274fi
     22275
     22276if test $coin_has_vol = notGiven; then
     22277  #only if pkg-config is available:
     22278  #see if user gives directory where project might be installed: assemble search path for pkg-config
     22279  if test -n "$PKG_CONFIG" ; then
     22280    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22281
     22282    # 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
     22283    if test -d "$prefix"; then
     22284      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     22285    fi
     22286
     22287
     22288# Check whether --with-coin-instdir or --without-coin-instdir was given.
     22289if test "${with_coin_instdir+set}" = set; then
     22290  withval="$with_coin_instdir"
     22291  if test -d "$withval"; then : ; else
     22292         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     22293echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     22294   { (exit 1); exit 1; }; }
     22295       fi
     22296       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     22297
     22298fi;
     22299
     22300    # let pkgconfig check if the project is already installed somewhere
     22301    # need to export variable to be sure that the following pkg-config call gets these values
     22302    export PKG_CONFIG_PATH
     22303
     22304if test -n "$PKG_CONFIG" ; then
     22305  if $PKG_CONFIG --exists "vol"; then
     22306    VOL_VERSION=`$PKG_CONFIG --modversion "vol" 2>/dev/null`
     22307    coin_has_vol="$VOL_VERSION"
     22308  else
     22309    VOL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "vol"`
     22310
     22311  fi
     22312else
     22313  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Vol without pkg-config\"" >&5
     22314echo "$as_me: error: \"Cannot check for existance of module Vol without pkg-config\"" >&2;}
     22315   { (exit 1); exit 1; }; }
     22316fi
     22317
     22318
     22319    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22320  fi
     22321fi
     22322
     22323# if not found yet, check if project is available in present directory
     22324if test "$coin_has_vol" = notGiven; then
     22325  if test -d $srcdir//Vol; then
     22326     coin_have_project_dir=yes
     22327
     22328    if test $coin_have_project_dir = yes; then
     22329      coin_has_vol=/Vol
     22330    fi
     22331  fi
     22332fi
     22333
     22334echo "$as_me:$LINENO: result: $coin_has_vol" >&5
     22335echo "${ECHO_T}$coin_has_vol" >&6
     22336
     22337echo "$as_me:$LINENO: checking whether project Vol need to be configured" >&5
     22338echo $ECHO_N "checking whether project Vol need to be configured... $ECHO_C" >&6
     22339if test "$coin_have_project_dir" = yes ; then
     22340
     22341  if test -r $srcdir//Vol/configure; then
     22342    coin_subdirs="$coin_subdirs Vol"
     22343    echo "$as_me:$LINENO: result: yes" >&5
    2113422344echo "${ECHO_T}yes" >&6
    2113522345
    2113622346
    21137 subdirs="$subdirs Clp"
    21138 
    21139                 else
    21140                   echo "$as_me:$LINENO: result: no" >&5
     22347subdirs="$subdirs Vol"
     22348
     22349  else
     22350    echo "$as_me:$LINENO: result: no" >&5
    2114122351echo "${ECHO_T}no" >&6
    21142                 fi
    21143 
    21144 
    21145 
    21146 
    21147 
    21148 
    21149 
    21150 
    21151 
    21152 
    21153 
    21154 
    21155 
    21156 echo "$as_me:$LINENO: checking whether directory DyLP is available" >&5
    21157 echo $ECHO_N "checking whether directory DyLP is available... $ECHO_C" >&6
    21158                 coin_skip=no
    21159                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21160                   for dir in $COIN_SKIP_PROJECTS; do
    21161                     if test $dir = DyLP; then
    21162                       coin_skip=yes
    21163                     fi
    21164                   done
    21165                 fi
    21166                 if test $coin_skip = yes; then
    21167                   echo "$as_me:$LINENO: result: skipping" >&5
    21168 echo "${ECHO_T}skipping" >&6
    21169                 elif test -r $srcdir/DyLP/configure; then
    21170                   coin_subdirs="$coin_subdirs DyLP"
    21171                   echo "$as_me:$LINENO: result: yes" >&5
     22352  fi
     22353else
     22354  echo "$as_me:$LINENO: result: no" >&5
     22355echo "${ECHO_T}no" >&6
     22356fi
     22357
     22358
     22359echo "$as_me:$LINENO: checking whether project Cgl is available" >&5
     22360echo $ECHO_N "checking whether project Cgl is available... $ECHO_C" >&6
     22361
     22362coin_has_cgl=notGiven
     22363coin_have_project_dir=no
     22364
     22365# check if user wants to skip project in any case
     22366
     22367if test x"$COIN_SKIP_PROJECTS" != x; then
     22368  for dir in $COIN_SKIP_PROJECTS; do
     22369    if test $dir = "Cgl"; then
     22370      coin_has_cgl=skipping
     22371    fi
     22372    if test $dir = "/Cgl"; then
     22373      coin_has_cgl=skipping
     22374    fi
     22375  done
     22376fi
     22377
     22378if test $coin_has_cgl != skipping; then
     22379  if test $PACKAGE_TARNAME = cgl; then
     22380    coin_has_cgl=.
     22381    coin_have_project_dir=yes
     22382  fi
     22383
     22384
     22385# Check whether --with-m4_tolower(Cgl)-lib or --without-m4_tolower(Cgl)-lib was given.
     22386if test "${with_cgl_lib+set}" = set; then
     22387  withval="$with_cgl_lib"
     22388  coin_has_cgl=installed
     22389fi;
     22390
     22391
     22392# Check whether --with-m4_tolower(Cgl)-incdir or --without-m4_tolower(Cgl)-incdir was given.
     22393if test "${with_cgl_incdir+set}" = set; then
     22394  withval="$with_cgl_incdir"
     22395  coin_has_cgl=installed
     22396fi;
     22397
     22398
     22399# Check whether --with-m4_tolower(Cgl)-datadir or --without-m4_tolower(Cgl)-datadir was given.
     22400if test "${with_cgl_datadir+set}" = set; then
     22401  withval="$with_cgl_datadir"
     22402  coin_has_cgl=installed
     22403fi;
     22404fi
     22405
     22406if test $coin_has_cgl = notGiven; then
     22407  #only if pkg-config is available:
     22408  #see if user gives directory where project might be installed: assemble search path for pkg-config
     22409  if test -n "$PKG_CONFIG" ; then
     22410    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22411
     22412    # 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
     22413    if test -d "$prefix"; then
     22414      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     22415    fi
     22416
     22417
     22418# Check whether --with-coin-instdir or --without-coin-instdir was given.
     22419if test "${with_coin_instdir+set}" = set; then
     22420  withval="$with_coin_instdir"
     22421  if test -d "$withval"; then : ; else
     22422         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     22423echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     22424   { (exit 1); exit 1; }; }
     22425       fi
     22426       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     22427
     22428fi;
     22429
     22430    # let pkgconfig check if the project is already installed somewhere
     22431    # need to export variable to be sure that the following pkg-config call gets these values
     22432    export PKG_CONFIG_PATH
     22433
     22434if test -n "$PKG_CONFIG" ; then
     22435  if $PKG_CONFIG --exists "cgl"; then
     22436    CGL_VERSION=`$PKG_CONFIG --modversion "cgl" 2>/dev/null`
     22437    coin_has_cgl="$CGL_VERSION"
     22438  else
     22439    CGL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "cgl"`
     22440
     22441  fi
     22442else
     22443  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cgl without pkg-config\"" >&5
     22444echo "$as_me: error: \"Cannot check for existance of module Cgl without pkg-config\"" >&2;}
     22445   { (exit 1); exit 1; }; }
     22446fi
     22447
     22448
     22449    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22450  fi
     22451fi
     22452
     22453# if not found yet, check if project is available in present directory
     22454if test "$coin_has_cgl" = notGiven; then
     22455  if test -d $srcdir//Cgl; then
     22456     coin_have_project_dir=yes
     22457
     22458    if test $coin_have_project_dir = yes; then
     22459      coin_has_cgl=/Cgl
     22460    fi
     22461  fi
     22462fi
     22463
     22464echo "$as_me:$LINENO: result: $coin_has_cgl" >&5
     22465echo "${ECHO_T}$coin_has_cgl" >&6
     22466
     22467echo "$as_me:$LINENO: checking whether project Cgl need to be configured" >&5
     22468echo $ECHO_N "checking whether project Cgl need to be configured... $ECHO_C" >&6
     22469if test "$coin_have_project_dir" = yes ; then
     22470
     22471  if test -r $srcdir//Cgl/configure; then
     22472    coin_subdirs="$coin_subdirs Cgl"
     22473    echo "$as_me:$LINENO: result: yes" >&5
    2117222474echo "${ECHO_T}yes" >&6
    2117322475
    2117422476
    21175 subdirs="$subdirs DyLP"
    21176 
    21177                 else
    21178                   echo "$as_me:$LINENO: result: no" >&5
     22477subdirs="$subdirs Cgl"
     22478
     22479  else
     22480    echo "$as_me:$LINENO: result: no" >&5
    2117922481echo "${ECHO_T}no" >&6
    21180                 fi
    21181 
    21182 
    21183 
    21184 
    21185 
    21186 
    21187 
    21188 
    21189 
    21190 
    21191 
    21192 
    21193 
    21194 echo "$as_me:$LINENO: checking whether directory Vol is available" >&5
    21195 echo $ECHO_N "checking whether directory Vol is available... $ECHO_C" >&6
    21196                 coin_skip=no
    21197                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21198                   for dir in $COIN_SKIP_PROJECTS; do
    21199                     if test $dir = Vol; then
    21200                       coin_skip=yes
    21201                     fi
    21202                   done
    21203                 fi
    21204                 if test $coin_skip = yes; then
    21205                   echo "$as_me:$LINENO: result: skipping" >&5
    21206 echo "${ECHO_T}skipping" >&6
    21207                 elif test -r $srcdir/Vol/configure; then
    21208                   coin_subdirs="$coin_subdirs Vol"
    21209                   echo "$as_me:$LINENO: result: yes" >&5
     22482  fi
     22483else
     22484  echo "$as_me:$LINENO: result: no" >&5
     22485echo "${ECHO_T}no" >&6
     22486fi
     22487
     22488
     22489echo "$as_me:$LINENO: checking whether project Cbc is available" >&5
     22490echo $ECHO_N "checking whether project Cbc is available... $ECHO_C" >&6
     22491
     22492coin_has_cbc=notGiven
     22493coin_have_project_dir=no
     22494
     22495# check if user wants to skip project in any case
     22496
     22497if test x"$COIN_SKIP_PROJECTS" != x; then
     22498  for dir in $COIN_SKIP_PROJECTS; do
     22499    if test $dir = "Cbc"; then
     22500      coin_has_cbc=skipping
     22501    fi
     22502    if test $dir = "/Cbc"; then
     22503      coin_has_cbc=skipping
     22504    fi
     22505  done
     22506fi
     22507
     22508if test $coin_has_cbc != skipping; then
     22509  if test $PACKAGE_TARNAME = cbc; then
     22510    coin_has_cbc=.
     22511    coin_have_project_dir=yes
     22512  fi
     22513
     22514
     22515# Check whether --with-m4_tolower(Cbc)-lib or --without-m4_tolower(Cbc)-lib was given.
     22516if test "${with_cbc_lib+set}" = set; then
     22517  withval="$with_cbc_lib"
     22518  coin_has_cbc=installed
     22519fi;
     22520
     22521
     22522# Check whether --with-m4_tolower(Cbc)-incdir or --without-m4_tolower(Cbc)-incdir was given.
     22523if test "${with_cbc_incdir+set}" = set; then
     22524  withval="$with_cbc_incdir"
     22525  coin_has_cbc=installed
     22526fi;
     22527
     22528
     22529# Check whether --with-m4_tolower(Cbc)-datadir or --without-m4_tolower(Cbc)-datadir was given.
     22530if test "${with_cbc_datadir+set}" = set; then
     22531  withval="$with_cbc_datadir"
     22532  coin_has_cbc=installed
     22533fi;
     22534fi
     22535
     22536if test $coin_has_cbc = notGiven; then
     22537  #only if pkg-config is available:
     22538  #see if user gives directory where project might be installed: assemble search path for pkg-config
     22539  if test -n "$PKG_CONFIG" ; then
     22540    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22541
     22542    # 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
     22543    if test -d "$prefix"; then
     22544      PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
     22545    fi
     22546
     22547
     22548# Check whether --with-coin-instdir or --without-coin-instdir was given.
     22549if test "${with_coin_instdir+set}" = set; then
     22550  withval="$with_coin_instdir"
     22551  if test -d "$withval"; then : ; else
     22552         { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
     22553echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
     22554   { (exit 1); exit 1; }; }
     22555       fi
     22556       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
     22557
     22558fi;
     22559
     22560    # let pkgconfig check if the project is already installed somewhere
     22561    # need to export variable to be sure that the following pkg-config call gets these values
     22562    export PKG_CONFIG_PATH
     22563
     22564if test -n "$PKG_CONFIG" ; then
     22565  if $PKG_CONFIG --exists "cbc"; then
     22566    CBC_VERSION=`$PKG_CONFIG --modversion "cbc" 2>/dev/null`
     22567    coin_has_cbc="$CBC_VERSION"
     22568  else
     22569    CBC_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "cbc"`
     22570
     22571  fi
     22572else
     22573  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cbc without pkg-config\"" >&5
     22574echo "$as_me: error: \"Cannot check for existance of module Cbc without pkg-config\"" >&2;}
     22575   { (exit 1); exit 1; }; }
     22576fi
     22577
     22578
     22579    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22580  fi
     22581fi
     22582
     22583# if not found yet, check if project is available in present directory
     22584if test "$coin_has_cbc" = notGiven; then
     22585  if test -d $srcdir//Cbc; then
     22586     coin_have_project_dir=yes
     22587
     22588    if test $coin_have_project_dir = yes; then
     22589      coin_has_cbc=/Cbc
     22590    fi
     22591  fi
     22592fi
     22593
     22594echo "$as_me:$LINENO: result: $coin_has_cbc" >&5
     22595echo "${ECHO_T}$coin_has_cbc" >&6
     22596
     22597echo "$as_me:$LINENO: checking whether project Cbc need to be configured" >&5
     22598echo $ECHO_N "checking whether project Cbc need to be configured... $ECHO_C" >&6
     22599if test "$coin_have_project_dir" = yes ; then
     22600
     22601  if test -r $srcdir//Cbc/configure; then
     22602    coin_subdirs="$coin_subdirs Cbc"
     22603    echo "$as_me:$LINENO: result: yes" >&5
    2121022604echo "${ECHO_T}yes" >&6
    2121122605
    2121222606
    21213 subdirs="$subdirs Vol"
    21214 
    21215                 else
    21216                   echo "$as_me:$LINENO: result: no" >&5
     22607subdirs="$subdirs Cbc"
     22608
     22609  else
     22610    echo "$as_me:$LINENO: result: no" >&5
    2121722611echo "${ECHO_T}no" >&6
    21218                 fi
    21219 
    21220 
    21221 
    21222 
    21223 
    21224 
    21225 
    21226 
    21227 
    21228 
    21229 
    21230 
    21231 
    21232 echo "$as_me:$LINENO: checking whether directory Osi is available" >&5
    21233 echo $ECHO_N "checking whether directory Osi is available... $ECHO_C" >&6
    21234                 coin_skip=no
    21235                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21236                   for dir in $COIN_SKIP_PROJECTS; do
    21237                     if test $dir = Osi; then
    21238                       coin_skip=yes
    21239                     fi
    21240                   done
    21241                 fi
    21242                 if test $coin_skip = yes; then
    21243                   echo "$as_me:$LINENO: result: skipping" >&5
    21244 echo "${ECHO_T}skipping" >&6
    21245                 elif test -r $srcdir/Osi/configure; then
    21246                   coin_subdirs="$coin_subdirs Osi"
    21247                   echo "$as_me:$LINENO: result: yes" >&5
    21248 echo "${ECHO_T}yes" >&6
    21249 
    21250 
    21251 subdirs="$subdirs Osi"
    21252 
    21253                 else
    21254                   echo "$as_me:$LINENO: result: no" >&5
     22612  fi
     22613else
     22614  echo "$as_me:$LINENO: result: no" >&5
    2125522615echo "${ECHO_T}no" >&6
    21256                 fi
    21257 
    21258 
    21259 
    21260 
    21261 
    21262 
    21263 
    21264 
    21265 
    21266 
    21267 
    21268 
    21269 
    21270 echo "$as_me:$LINENO: checking whether directory Cgl is available" >&5
    21271 echo $ECHO_N "checking whether directory Cgl is available... $ECHO_C" >&6
    21272                 coin_skip=no
    21273                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21274                   for dir in $COIN_SKIP_PROJECTS; do
    21275                     if test $dir = Cgl; then
    21276                       coin_skip=yes
    21277                     fi
    21278                   done
    21279                 fi
    21280                 if test $coin_skip = yes; then
    21281                   echo "$as_me:$LINENO: result: skipping" >&5
    21282 echo "${ECHO_T}skipping" >&6
    21283                 elif test -r $srcdir/Cgl/configure; then
    21284                   coin_subdirs="$coin_subdirs Cgl"
    21285                   echo "$as_me:$LINENO: result: yes" >&5
    21286 echo "${ECHO_T}yes" >&6
    21287 
    21288 
    21289 subdirs="$subdirs Cgl"
    21290 
    21291                 else
    21292                   echo "$as_me:$LINENO: result: no" >&5
    21293 echo "${ECHO_T}no" >&6
    21294                 fi
    21295 
    21296 
    21297 
    21298 
    21299 
    21300 
    21301 
    21302 
    21303 
    21304 
    21305 
    21306 
    21307 
    21308 echo "$as_me:$LINENO: checking whether directory Cbc is available" >&5
    21309 echo $ECHO_N "checking whether directory Cbc is available... $ECHO_C" >&6
    21310                 coin_skip=no
    21311                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21312                   for dir in $COIN_SKIP_PROJECTS; do
    21313                     if test $dir = Cbc; then
    21314                       coin_skip=yes
    21315                     fi
    21316                   done
    21317                 fi
    21318                 if test $coin_skip = yes; then
    21319                   echo "$as_me:$LINENO: result: skipping" >&5
    21320 echo "${ECHO_T}skipping" >&6
    21321                 elif test -r $srcdir/Cbc/configure; then
    21322                   coin_subdirs="$coin_subdirs Cbc"
    21323                   echo "$as_me:$LINENO: result: yes" >&5
    21324 echo "${ECHO_T}yes" >&6
    21325 
    21326 
    21327 subdirs="$subdirs Cbc"
    21328 
    21329                 else
    21330                   echo "$as_me:$LINENO: result: no" >&5
    21331 echo "${ECHO_T}no" >&6
    21332                 fi
    21333 
    21334 
    21335 
    21336 
    21337 
    21338 
    21339 
    21340 
    21341 
    21342 
    21343 
    21344 
    21345 
    21346 echo "$as_me:$LINENO: checking whether directory SYMPHONY is available" >&5
    21347 echo $ECHO_N "checking whether directory SYMPHONY is available... $ECHO_C" >&6
    21348                 coin_skip=no
    21349                 if test x"$COIN_SKIP_PROJECTS" != x; then
    21350                   for dir in $COIN_SKIP_PROJECTS; do
    21351                     if test $dir = SYMPHONY; then
    21352                       coin_skip=yes
    21353                     fi
    21354                   done
    21355                 fi
    21356                 if test $coin_skip = yes; then
    21357                   echo "$as_me:$LINENO: result: skipping" >&5
    21358 echo "${ECHO_T}skipping" >&6
    21359                 elif test -r $srcdir/SYMPHONY/configure; then
    21360                   coin_subdirs="$coin_subdirs SYMPHONY"
    21361                   echo "$as_me:$LINENO: result: yes" >&5
    21362 echo "${ECHO_T}yes" >&6
    21363 
    21364 
    21365 subdirs="$subdirs SYMPHONY"
    21366 
    21367                 else
    21368                   echo "$as_me:$LINENO: result: no" >&5
    21369 echo "${ECHO_T}no" >&6
    21370                 fi
    21371 
    21372 
    21373 
    21374 
    21375 
    21376 
    21377 
    21378 
    21379 
    21380 
     22616fi
    2138122617
    2138222618
     
    2144622682    done
    2144722683    subdirs="$new_subdirs"
     22684  fi
     22685
     22686  # need to come before AC_OUTPUT
     22687  if test x$coin_projectdir != xyes; then
     22688    # write coin_subdirs to a file so that project configuration knows where to find uninstalled projects
     22689    echo $coin_subdirs > coin_subdirs.txt
     22690  else
     22691    # substitute for OBJDIR, needed to setup .pc file for uninstalled project
     22692    ABSBUILDDIR="`pwd`"
     22693
    2144822694  fi
    2144922695
     
    2160222848Usually this means the macro was only invoked conditionally." >&5
    2160322849echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
     22850Usually this means the macro was only invoked conditionally." >&2;}
     22851   { (exit 1); exit 1; }; }
     22852fi
     22853if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
     22854  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
     22855Usually this means the macro was only invoked conditionally." >&5
     22856echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2160422857Usually this means the macro was only invoked conditionally." >&2;}
    2160522858   { (exit 1); exit 1; }; }
     
    2222923482s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2223023483s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
     23484s,@PKG_CONFIG@,$PKG_CONFIG,;t t
     23485s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
     23486s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
     23487s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
     23488s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t
     23489s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t
    2223123490s,@subdirs@,$subdirs,;t t
    22232 s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t
    2223323491s,@LIBEXT@,$LIBEXT,;t t
    2223423492s,@VPATH_DISTCLEANFILES@,$VPATH_DISTCLEANFILES,;t t
     23493s,@ABSBUILDDIR@,$ABSBUILDDIR,;t t
    2223523494s,@LIBOBJS@,$LIBOBJS,;t t
    2223623495s,@LTLIBOBJS@,$LTLIBOBJS,;t t
Note: See TracChangeset for help on using the changeset viewer.