Changeset 1753 for stable/1.14/configure


Ignore:
Timestamp:
Jun 19, 2011 12:27:26 PM (9 years ago)
Author:
stefan
Message:

sync with trunk rev1751

Location:
stable/1.14
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/1.14

    • Property svn:externals
      •  

        old new  
        1 BuildTools  https://projects.coin-or.org/svn/BuildTools/stable/0.7
        2 ThirdParty/Blas  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.2
        3 ThirdParty/Lapack  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.3
        4 Data/Sample  https://projects.coin-or.org/svn/Data/Sample/stable/1.2
        5 CoinUtils  https://projects.coin-or.org/svn/CoinUtils/stable/2.8/CoinUtils
        6 Osi  https://projects.coin-or.org/svn/Osi/stable/0.105/Osi
         1BuildTools        https://projects.coin-or.org/svn/BuildTools/stable/0.7
         2ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.2
         3ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.3
         4ThirdParty/Metis  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/stable/1.2
         5ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/stable/1.4
         6ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/stable/1.8
         7Data/Netlib       https://projects.coin-or.org/svn/Data/Netlib/stable/1.2
         8Data/Sample       https://projects.coin-or.org/svn/Data/Sample/stable/1.2
         9CoinUtils         https://projects.coin-or.org/svn/CoinUtils/stable/2.8/CoinUtils
         10Osi               https://projects.coin-or.org/svn/Osi/stable/0.105/Osi
    • Property svn:mergeinfo changed
      /trunk (added)merged: 1670-1671,​1675-1685,​1687-1711,​1716-1727,​1729-1735,​1737-1748,​1750-1752
  • stable/1.14/configure

    r1668 r1753  
    476476ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
    477477ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
     478ac_subdirs_all="$ac_subdirs_all ThirdParty/Metis"
     479ac_subdirs_all="$ac_subdirs_all ThirdParty/Mumps"
     480ac_subdirs_all="$ac_subdirs_all ThirdParty/Glpk"
    478481ac_subdirs_all="$ac_subdirs_all Data/Sample"
    479482ac_subdirs_all="$ac_subdirs_all Data/Netlib"
     
    481484ac_subdirs_all="$ac_subdirs_all Osi"
    482485ac_subdirs_all="$ac_subdirs_all Clp"
    483 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 COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX 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_PKG_CONFIG_PATH_UNINSTALLED COIN_SKIP_PROJECTS subdirs coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     486ac_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 COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX COIN_CXX_IS_CL_TRUE COIN_CXX_IS_CL_FALSE MPICXX ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 ac_ct_F77 FFLAGS MPIF77 EGREP LN_S 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 ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS COIN_SKIP_PROJECTS subdirs coin_have_doxygen coin_doxy_usedot coin_doxy_tagname coin_doxy_logname coin_doxy_tagfiles coin_doxy_excludes LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    484487ac_subst_files=''
    485488
     
    10181021ac_cv_env_CXXCPP_set=${CXXCPP+set}
    10191022ac_cv_env_CXXCPP_value=$CXXCPP
    1020 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    1021 ac_env_PKG_CONFIG_value=$PKG_CONFIG
    1022 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    1023 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    10241023ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
    10251024ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
     
    11081107  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    11091108  --enable-debug          compile all projects with debug options tests
     1109                          (implies --disable-shared)
    11101110  --enable-doscompile     Under Cygwin, compile so that executables run under
    11111111                          DOS. Set to mingw to use gcc/g++/ld with
     
    11241124                          optimize for fast installation [default=yes]
    11251125  --disable-libtool-lock  avoid locking (might break parallel builds)
    1126   --enable-pkg-config     use pkg-config if available (default is yes)
    11271126
    11281127Optional Packages:
     
    11341133  --with-tags[=TAGS]
    11351134                          include additional configurations [automatic]
    1136   --with-coin-instdir     prefix of installation directory for precompiled
    1137                           COIN packages
     1135
    11381136  --with-blas-lib linker flags for using project Blas
    11391137  --with-blas-incdir directory with header files for using project Blas
    11401138  --with-blas-datadir directory with data files for using project Blas
    1141   --with-blas             specify BLAS library (or BUILD for compilation)
     1139  --with-blas             specify BLAS library (or BUILD to enforce use of
     1140                          ThirdParty/Blas)
    11421141  --with-lapack-lib linker flags for using project Lapack
    11431142  --with-lapack-incdir directory with header files for using project Lapack
    11441143  --with-lapack-datadir directory with data files for using project Lapack
    1145   --with-lapack           specify LAPACK library (or BUILD for compilation)
     1144  --with-lapack           specify LAPACK library (or BUILD to enforce use of
     1145                          ThirdParty/Lapack)
     1146  --with-metis-lib linker flags for using project Metis
     1147  --with-metis-incdir directory with header files for using project Metis
     1148  --with-metis-datadir directory with data files for using project Metis
     1149  --with-mumps-lib linker flags for using project Mumps
     1150  --with-mumps-incdir directory with header files for using project Mumps
     1151  --with-mumps-datadir directory with data files for using project Mumps
     1152  --with-glpk-lib linker flags for using project Glpk
     1153  --with-glpk-incdir directory with header files for using project Glpk
     1154  --with-glpk-datadir directory with data files for using project Glpk
    11461155  --with-sample-lib linker flags for using project Sample
    11471156  --with-sample-incdir directory with header files for using project Sample
     
    11951204  CPP         C preprocessor
    11961205  CXXCPP      C++ preprocessor
    1197   PKG_CONFIG  path to pkg-config utility
    11981206  COIN_SKIP_PROJECTS
    11991207              Set to the subdirectories of projects that should be skipped in
     
    18451853  esac
    18461854fi
    1847 
    1848 # add automake conditional so we can recognize cl compiler in makefile
    1849 coin_cc_is_cl=false
    1850 if test x"$CXX" != x; then
    1851   case "$CXX" in
    1852     cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    1853       coin_cc_is_cl=true
    1854       ;;
    1855   esac
    1856 fi
    1857 
    1858 
    1859 if test $coin_cc_is_cl = true; then
    1860   COIN_CC_IS_CL_TRUE=
    1861   COIN_CC_IS_CL_FALSE='#'
    1862 else
    1863   COIN_CC_IS_CL_TRUE='#'
    1864   COIN_CC_IS_CL_FALSE=
    1865 fi
    1866 
    18671855
    18681856
     
    26842672CFLAGS="$save_cflags"
    26852673
     2674# add automake conditional so we can recognize cl compiler in makefile
     2675coin_cc_is_cl=false
     2676case "$CC" in
     2677  cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     2678    coin_cc_is_cl=true
     2679    ;;
     2680esac
     2681
     2682
     2683if test $coin_cc_is_cl = true; then
     2684  COIN_CC_IS_CL_TRUE=
     2685  COIN_CC_IS_CL_FALSE='#'
     2686else
     2687  COIN_CC_IS_CL_TRUE='#'
     2688  COIN_CC_IS_CL_FALSE=
     2689fi
     2690
     2691
    26862692# Check if a project specific CFLAGS variable has been set
    26872693if test x$COIN_PRJCT != x; then
     
    27062712        coin_opt_cflags="-O3"
    27072713        coin_add_cflags="-pipe"
    2708         coin_dbg_cflags="-g"
    2709         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     2714        coin_dbg_cflags="-g -O0"
     2715        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    27102716        case $build in
    27112717          *-darwin*)
     
    29712977    fi ;;
    29722978esac
     2979
     2980# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     2981if test x$COIN_PRJCT != x; then
     2982  CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD"
     2983fi
    29732984
    29742985# Try if CFLAGS works
     
    36353646        coin_opt_cxxflags="-O3"
    36363647        coin_add_cxxflags="-pipe"
    3637         coin_dbg_cxxflags="-g"
    3638         coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas"
     3648        coin_dbg_cxxflags="-g -O0"
     3649        coin_warn_cxxflags="-Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long"
    36393650        case $build in
    36403651          *-darwin*)
     
    39133924esac
    39143925
     3926# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     3927if test x$COIN_PRJCT != x; then
     3928  CXXFLAGS="$CXXFLAGS -D${COIN_PRJCT}_BUILD"
     3929fi
     3930
    39153931# Try if CXXFLAGS works
    39163932save_CXXFLAGS="$CXXFLAGS"
     
    40624078       coin_f77_comps="ifort fl32 compile_f2c"
    40634079     else
    4064        coin_f77_comps="gfortran g77 ifort fl32 compile_f2c"
     4080       coin_f77_comps="gfortran ifort g95 g77 fl32 compile_f2c"
    40654081     fi ;;
    40664082  *-*-solaris*)
    4067      coin_f77_comps="f95 f90 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
     4083     coin_f77_comps="f95 f90 g95 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
    40684084  *-linux-gnu*)
    4069      coin_f77_comps="gfortran fort77 f77 g77 pgf90 pgf77 ifort ifc frt af77 xlf_r" ;;
    4070   *) coin_f77_comps="xlf_r fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
     4085     coin_f77_comps="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77 xlf_r" ;;
     4086  *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;;
    40714087 esac
    40724088
     
    41044120{ echo "$as_me:$LINENO: Trying to determine Fortran compiler name" >&5
    41054121echo "$as_me: Trying to determine Fortran compiler name" >&6;}
    4106 for ac_prog in $coin_f77_comps
    4107 do
    4108   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4109 set dummy $ac_prog; ac_word=$2
     4122if test -n "$ac_tool_prefix"; then
     4123  for ac_prog in $coin_f77_comps
     4124  do
     4125    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4126set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    41104127echo "$as_me:$LINENO: checking for $ac_word" >&5
    41114128echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     
    41234140  for ac_exec_ext in '' $ac_executable_extensions; do
    41244141  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4125     ac_cv_prog_F77="$ac_prog"
     4142    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
    41264143    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41274144    break 2
     
    41414158fi
    41424159
    4143   test -n "$F77" && break
     4160    test -n "$F77" && break
     4161  done
     4162fi
     4163if test -z "$F77"; then
     4164  ac_ct_F77=$F77
     4165  for ac_prog in $coin_f77_comps
     4166do
     4167  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4168set dummy $ac_prog; ac_word=$2
     4169echo "$as_me:$LINENO: checking for $ac_word" >&5
     4170echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     4171if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
     4172  echo $ECHO_N "(cached) $ECHO_C" >&6
     4173else
     4174  if test -n "$ac_ct_F77"; then
     4175  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
     4176else
     4177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4178for as_dir in $PATH
     4179do
     4180  IFS=$as_save_IFS
     4181  test -z "$as_dir" && as_dir=.
     4182  for ac_exec_ext in '' $ac_executable_extensions; do
     4183  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4184    ac_cv_prog_ac_ct_F77="$ac_prog"
     4185    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4186    break 2
     4187  fi
    41444188done
    4145 test -n "$F77" || F77="unavailable"
     4189done
     4190
     4191fi
     4192fi
     4193ac_ct_F77=$ac_cv_prog_ac_ct_F77
     4194if test -n "$ac_ct_F77"; then
     4195  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
     4196echo "${ECHO_T}$ac_ct_F77" >&6
     4197else
     4198  echo "$as_me:$LINENO: result: no" >&5
     4199echo "${ECHO_T}no" >&6
     4200fi
     4201
     4202  test -n "$ac_ct_F77" && break
     4203done
     4204test -n "$ac_ct_F77" || ac_ct_F77="unavailable"
     4205
     4206  F77=$ac_ct_F77
     4207fi
    41464208
    41474209
     
    42394301
    42404302# Provide some information about the compiler.
    4241 echo "$as_me:4241:" \
     4303echo "$as_me:4303:" \
    42424304     "checking for Fortran 77 compiler version" >&5
    42434305ac_compiler=`set X $ac_compile; echo $2`
     
    44074469    coin_opt_fflags="-O3"
    44084470    coin_add_fflags="-pipe"
    4409     coin_dbg_fflags="-g"
     4471    coin_dbg_fflags="-g -O0"
    44104472    case $enable_doscompile in
    44114473      mingw)
     
    48464908
    48474909
     4910echo "$as_me:$LINENO: checking whether ln -s works" >&5
     4911echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     4912LN_S=$as_ln_s
     4913if test "$LN_S" = "ln -s"; then
     4914  echo "$as_me:$LINENO: result: yes" >&5
     4915echo "${ECHO_T}yes" >&6
     4916else
     4917  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     4918echo "${ECHO_T}no, using $LN_S" >&6
     4919fi
     4920
    48484921am__api_version="1.9"
    48494922# Find a good install program.  We prefer a C program (faster),
     
    51755248
    51765249
     5250
    51775251# AC_MSG_NOTICE([Beginning automake initialisation.])
    51785252# Stuff for automake
     
    58175891
    58185892
    5819   # Check if we have an Externals file
    5820   if test -r $srcdir/Externals; then
     5893  # Check if we have an Dependencies file
     5894  if test -r $srcdir/Dependencies; then
    58215895    coin_have_externals=yes
    58225896  fi
     
    58915965        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
    58925966echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
    5893    { (exit 1); exit 1; }; }
     5967   { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; }
    58945968      fi
    58955969    fi
    58965970  fi
    58975971
     5972
     5973  # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
     5974  if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
     5975    $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
     5976  fi
    58985977
    58995978  # The following variable is set to the name of the directory where
     
    62636342NM="$lt_cv_path_NM"
    62646343
    6265 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    6266 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    6267 LN_S=$as_ln_s
    6268 if test "$LN_S" = "ln -s"; then
    6269   echo "$as_me:$LINENO: result: yes" >&5
    6270 echo "${ECHO_T}yes" >&6
    6271 else
    6272   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    6273 echo "${ECHO_T}no, using $LN_S" >&6
    6274 fi
    6275 
    62766344echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
    62776345echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
     
    64996567*-*-irix6*)
    65006568  # Find out which ABI we are using.
    6501   echo '#line 6501 "configure"' > conftest.$ac_ext
     6569  echo '#line 6569 "configure"' > conftest.$ac_ext
    65026570  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    65036571  (eval $ac_compile) 2>&5
     
    84638531   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    84648532   -e 's:$: $lt_compiler_flag:'`
    8465    (eval echo "\"\$as_me:8465: $lt_compile\"" >&5)
     8533   (eval echo "\"\$as_me:8533: $lt_compile\"" >&5)
    84668534   (eval "$lt_compile" 2>conftest.err)
    84678535   ac_status=$?
    84688536   cat conftest.err >&5
    8469    echo "$as_me:8469: \$? = $ac_status" >&5
     8537   echo "$as_me:8537: \$? = $ac_status" >&5
    84708538   if (exit $ac_status) && test -s "$ac_outfile"; then
    84718539     # The compiler can only warn and ignore the option if not recognized
     
    87318799   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    87328800   -e 's:$: $lt_compiler_flag:'`
    8733    (eval echo "\"\$as_me:8733: $lt_compile\"" >&5)
     8801   (eval echo "\"\$as_me:8801: $lt_compile\"" >&5)
    87348802   (eval "$lt_compile" 2>conftest.err)
    87358803   ac_status=$?
    87368804   cat conftest.err >&5
    8737    echo "$as_me:8737: \$? = $ac_status" >&5
     8805   echo "$as_me:8805: \$? = $ac_status" >&5
    87388806   if (exit $ac_status) && test -s "$ac_outfile"; then
    87398807     # The compiler can only warn and ignore the option if not recognized
     
    88358903   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    88368904   -e 's:$: $lt_compiler_flag:'`
    8837    (eval echo "\"\$as_me:8837: $lt_compile\"" >&5)
     8905   (eval echo "\"\$as_me:8905: $lt_compile\"" >&5)
    88388906   (eval "$lt_compile" 2>out/conftest.err)
    88398907   ac_status=$?
    88408908   cat out/conftest.err >&5
    8841    echo "$as_me:8841: \$? = $ac_status" >&5
     8909   echo "$as_me:8909: \$? = $ac_status" >&5
    88428910   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    88438911   then
     
    1118011248  lt_status=$lt_dlunknown
    1118111249  cat > conftest.$ac_ext <<EOF
    11182 #line 11182 "configure"
     11250#line 11250 "configure"
    1118311251#include "confdefs.h"
    1118411252
     
    1128011348  lt_status=$lt_dlunknown
    1128111349  cat > conftest.$ac_ext <<EOF
    11282 #line 11282 "configure"
     11350#line 11350 "configure"
    1128311351#include "confdefs.h"
    1128411352
     
    1362413692   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1362513693   -e 's:$: $lt_compiler_flag:'`
    13626    (eval echo "\"\$as_me:13626: $lt_compile\"" >&5)
     13694   (eval echo "\"\$as_me:13694: $lt_compile\"" >&5)
    1362713695   (eval "$lt_compile" 2>conftest.err)
    1362813696   ac_status=$?
    1362913697   cat conftest.err >&5
    13630    echo "$as_me:13630: \$? = $ac_status" >&5
     13698   echo "$as_me:13698: \$? = $ac_status" >&5
    1363113699   if (exit $ac_status) && test -s "$ac_outfile"; then
    1363213700     # The compiler can only warn and ignore the option if not recognized
     
    1372813796   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1372913797   -e 's:$: $lt_compiler_flag:'`
    13730    (eval echo "\"\$as_me:13730: $lt_compile\"" >&5)
     13798   (eval echo "\"\$as_me:13798: $lt_compile\"" >&5)
    1373113799   (eval "$lt_compile" 2>out/conftest.err)
    1373213800   ac_status=$?
    1373313801   cat out/conftest.err >&5
    13734    echo "$as_me:13734: \$? = $ac_status" >&5
     13802   echo "$as_me:13802: \$? = $ac_status" >&5
    1373513803   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1373613804   then
     
    1529815366   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1529915367   -e 's:$: $lt_compiler_flag:'`
    15300    (eval echo "\"\$as_me:15300: $lt_compile\"" >&5)
     15368   (eval echo "\"\$as_me:15368: $lt_compile\"" >&5)
    1530115369   (eval "$lt_compile" 2>conftest.err)
    1530215370   ac_status=$?
    1530315371   cat conftest.err >&5
    15304    echo "$as_me:15304: \$? = $ac_status" >&5
     15372   echo "$as_me:15372: \$? = $ac_status" >&5
    1530515373   if (exit $ac_status) && test -s "$ac_outfile"; then
    1530615374     # The compiler can only warn and ignore the option if not recognized
     
    1540215470   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1540315471   -e 's:$: $lt_compiler_flag:'`
    15404    (eval echo "\"\$as_me:15404: $lt_compile\"" >&5)
     15472   (eval echo "\"\$as_me:15472: $lt_compile\"" >&5)
    1540515473   (eval "$lt_compile" 2>out/conftest.err)
    1540615474   ac_status=$?
    1540715475   cat out/conftest.err >&5
    15408    echo "$as_me:15408: \$? = $ac_status" >&5
     15476   echo "$as_me:15476: \$? = $ac_status" >&5
    1540915477   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1541015478   then
     
    1760917677   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1761017678   -e 's:$: $lt_compiler_flag:'`
    17611    (eval echo "\"\$as_me:17611: $lt_compile\"" >&5)
     17679   (eval echo "\"\$as_me:17679: $lt_compile\"" >&5)
    1761217680   (eval "$lt_compile" 2>conftest.err)
    1761317681   ac_status=$?
    1761417682   cat conftest.err >&5
    17615    echo "$as_me:17615: \$? = $ac_status" >&5
     17683   echo "$as_me:17683: \$? = $ac_status" >&5
    1761617684   if (exit $ac_status) && test -s "$ac_outfile"; then
    1761717685     # The compiler can only warn and ignore the option if not recognized
     
    1787717945   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1787817946   -e 's:$: $lt_compiler_flag:'`
    17879    (eval echo "\"\$as_me:17879: $lt_compile\"" >&5)
     17947   (eval echo "\"\$as_me:17947: $lt_compile\"" >&5)
    1788017948   (eval "$lt_compile" 2>conftest.err)
    1788117949   ac_status=$?
    1788217950   cat conftest.err >&5
    17883    echo "$as_me:17883: \$? = $ac_status" >&5
     17951   echo "$as_me:17951: \$? = $ac_status" >&5
    1788417952   if (exit $ac_status) && test -s "$ac_outfile"; then
    1788517953     # The compiler can only warn and ignore the option if not recognized
     
    1798118049   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1798218050   -e 's:$: $lt_compiler_flag:'`
    17983    (eval echo "\"\$as_me:17983: $lt_compile\"" >&5)
     18051   (eval echo "\"\$as_me:18051: $lt_compile\"" >&5)
    1798418052   (eval "$lt_compile" 2>out/conftest.err)
    1798518053   ac_status=$?
    1798618054   cat out/conftest.err >&5
    17987    echo "$as_me:17987: \$? = $ac_status" >&5
     18055   echo "$as_me:18055: \$? = $ac_status" >&5
    1798818056   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1798918057   then
     
    2089020958
    2089120959
    20892 
    20893 # Check whether --enable-pkg-config or --disable-pkg-config was given.
    20894 if test "${enable_pkg_config+set}" = set; then
    20895   enableval="$enable_pkg_config"
    20896   use_pkgconfig="$enableval"
    20897 else
    20898   use_pkgconfig=yes
    20899 fi;
    20900 
    20901 if test $use_pkgconfig = yes ; then
    20902   if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
    20903     if test -n "$ac_tool_prefix"; then
    20904   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
    20905 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
    20906 echo "$as_me:$LINENO: checking for $ac_word" >&5
    20907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20908 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
    20909   echo $ECHO_N "(cached) $ECHO_C" >&6
    20910 else
    20911   case $PKG_CONFIG in
    20912   [\\/]* | ?:[\\/]*)
    20913   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
    20914   ;;
    20915   *)
    20916   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    20917 for as_dir in $PATH
    20918 do
    20919   IFS=$as_save_IFS
    20920   test -z "$as_dir" && as_dir=.
    20921   for ac_exec_ext in '' $ac_executable_extensions; do
    20922   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20923     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    20924     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    20925     break 2
    20926   fi
    20927 done
    20928 done
    20929 
    20930   ;;
    20931 esac
    20932 fi
    20933 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
    20934 
    20935 if test -n "$PKG_CONFIG"; then
    20936   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
    20937 echo "${ECHO_T}$PKG_CONFIG" >&6
    20938 else
    20939   echo "$as_me:$LINENO: result: no" >&5
    20940 echo "${ECHO_T}no" >&6
    20941 fi
    20942 
    20943 fi
    20944 if test -z "$ac_cv_path_PKG_CONFIG"; then
    20945   ac_pt_PKG_CONFIG=$PKG_CONFIG
    20946   # Extract the first word of "pkg-config", so it can be a program name with args.
    20947 set dummy pkg-config; ac_word=$2
    20948 echo "$as_me:$LINENO: checking for $ac_word" >&5
    20949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20950 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
    20951   echo $ECHO_N "(cached) $ECHO_C" >&6
    20952 else
    20953   case $ac_pt_PKG_CONFIG in
    20954   [\\/]* | ?:[\\/]*)
    20955   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
    20956   ;;
    20957   *)
    20958   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    20959 for as_dir in $PATH
    20960 do
    20961   IFS=$as_save_IFS
    20962   test -z "$as_dir" && as_dir=.
    20963   for ac_exec_ext in '' $ac_executable_extensions; do
    20964   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20965     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    20966     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    20967     break 2
    20968   fi
    20969 done
    20970 done
    20971 
    20972   ;;
    20973 esac
    20974 fi
    20975 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
    20976 
    20977 if test -n "$ac_pt_PKG_CONFIG"; then
    20978   echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
    20979 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
    20980 else
    20981   echo "$as_me:$LINENO: result: no" >&5
    20982 echo "${ECHO_T}no" >&6
    20983 fi
    20984 
    20985   PKG_CONFIG=$ac_pt_PKG_CONFIG
    20986 else
    20987   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
    20988 fi
    20989 
    20990   fi
    20991   if test -n "$PKG_CONFIG"; then
    20992     _pkg_min_version=0.9.0
    20993     echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
    20994 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
    20995     if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
    20996       echo "$as_me:$LINENO: result: yes" >&5
    20997 echo "${ECHO_T}yes" >&6
    20998     else
    20999       echo "$as_me:$LINENO: result: no" >&5
    21000 echo "${ECHO_T}no" >&6
    21001       PKG_CONFIG=""
    21002     fi
    21003   fi
    21004 
    21005   # check if pkg-config supports the short-errors flag
    21006   if test -n "$PKG_CONFIG" && \
    21007     $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
    21008     pkg_short_errors=" --short-errors "
    21009   else
    21010     pkg_short_errors=""
    21011   fi
    21012 fi
    21013 
    21014 
    21015 
    21016 if test -n "$PKG_CONFIG"; then
    21017   COIN_HAS_PKGCONFIG_TRUE=
    21018   COIN_HAS_PKGCONFIG_FALSE='#'
    21019 else
    21020   COIN_HAS_PKGCONFIG_TRUE='#'
    21021   COIN_HAS_PKGCONFIG_FALSE=
    21022 fi
    21023 
    21024 
    21025 
    21026 # assemble pkg-config search path for installed projects
    21027 COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21028 
    21029 # 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
    21030 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
    21031 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    21032 if test "x${prefix}" = xNONE ; then
    21033   COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    21034 else
    21035   COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    21036 fi
    21037 
    21038 
    21039 # Check whether --with-coin-instdir or --without-coin-instdir was given.
    21040 if test "${with_coin_instdir+set}" = set; then
    21041   withval="$with_coin_instdir"
    21042   if test -d "$withval"; then : ; else
    21043      { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
    21044 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
    21045    { (exit 1); exit 1; }; }
    21046    fi
    21047    COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    21048 
    21049 fi;
    21050 
    21051 
    21052 
    21053 # assemble additional pkg-config search paths for uninstalled projects
    21054 if test x$coin_projectdir = xyes ; then
    21055   # if we are in a project setup, then in a classic setup, we want to find uninstalled projects
    21056   # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
    21057   # unfortunately, if the user set prefix, then we do not know where the project base directory is located
    21058   # 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)
    21059   COIN_PKG_CONFIG_PATH_UNINSTALLED=
    21060   if test -e ../coin_subdirs.txt ; then
    21061     for i in `cat ../coin_subdirs.txt` ; do
    21062       if test -d ../$i ; then
    21063         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21064       fi
    21065       if test -d ../$i/pkgconfig ; then
    21066         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21067       fi
    21068     done
    21069   fi
    21070 
    21071   if test -e ../../coin_subdirs.txt ; then
    21072     for i in `cat ../../coin_subdirs.txt` ; do
    21073       if test -d ../../$i ; then
    21074         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21075       fi
    21076       if test -d ../../$i/pkgconfig ; then
    21077         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21078       fi
    21079     done
    21080   fi
    21081 
    21082 
    21083 fi
    21084 
    21085 
    21086 
    21087 echo "$as_me:$LINENO: checking whether project Blas is available" >&5
    21088 echo $ECHO_N "checking whether project Blas is available... $ECHO_C" >&6
     20960echo "$as_me:$LINENO: checking whether source of project Blas is available and should be compiled" >&5
     20961echo $ECHO_N "checking whether source of project Blas is available and should be compiled... $ECHO_C" >&6
    2108920962
    2109020963coin_has_blas=notGiven
    21091 coin_have_project_dir=no
     20964coin_reason=
    2109220965
    2109320966# check if user wants to skip project in any case
     
    2109620969  for dir in $COIN_SKIP_PROJECTS; do
    2109720970    if test $dir = "Blas"; then
    21098       coin_has_blas=skipping
     20971      coin_has_blas="no"
     20972      coin_reason="Blas has been specified in COIN_SKIP_PROJECTS"
    2109920973    fi
     20974
    2110020975    if test $dir = "ThirdParty/Blas"; then
    21101       coin_has_blas=skipping
     20976      coin_has_blas="no"
     20977      coin_reason="ThirdParty/Blas has been specified in COIN_SKIP_PROJECTS"
    2110220978    fi
    2110320979  done
    2110420980fi
    2110520981
    21106 if test $coin_has_blas != skipping; then
    21107   if test $PACKAGE_TARNAME = blas; then
    21108     coin_has_blas=yes
    21109     coin_have_project_dir=yes
    21110   fi
    21111 
     20982if test "$coin_has_blas" != no; then
     20983
     20984# Check whether --with-m4_tolower(Blas) or --without-m4_tolower(Blas) was given.
     20985if test "${with_blas+set}" = set; then
     20986  withval="$with_blas"
     20987  if test "$withval" = no ; then
     20988       coin_has_blas="no"
     20989       coin_reason="--without-blas has been specified"
     20990     fi
     20991
     20992fi;
     20993fi
     20994
     20995if test "$coin_has_blas" != no; then
    2111220996
    2111320997# Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
    2111420998if test "${with_blas_lib+set}" = set; then
    2111520999  withval="$with_blas_lib"
    21116   coin_has_blas="yes, via --with-blas-lib"
     21000  if test "$withval" = no ; then
     21001       coin_has_blas="no"
     21002       coin_reason="--without-blas-lib has been specified"
     21003     else
     21004       coin_has_blas="no"
     21005       coin_reason="--with-blas-lib has been specified"
     21006     fi
    2111721007fi;
    21118 
     21008fi
     21009
     21010if test "$coin_has_blas" != no; then
    2111921011
    2112021012# Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
    2112121013if test "${with_blas_incdir+set}" = set; then
    2112221014  withval="$with_blas_incdir"
    21123   coin_has_blas="yes, via --with-blas-incdir"
     21015  if test "$withval" = no ; then
     21016       coin_has_blas="no"
     21017       coin_reason="--without-blas-incdir has been specified"
     21018     else
     21019       coin_has_blas="no"
     21020       coin_reason="--with-blas-incdir has been specified"
     21021     fi
    2112421022fi;
    21125 
     21023fi
     21024
     21025if test "$coin_has_blas" != no; then
    2112621026
    2112721027# Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
    2112821028if test "${with_blas_datadir+set}" = set; then
    2112921029  withval="$with_blas_datadir"
    21130   coin_has_blas="yes, via --with-blas-datadir"
     21030  if test "$withval" = no ; then
     21031       coin_has_blas="no"
     21032       coin_reason="--without-blas-datadir has been specified"
     21033     else
     21034       coin_has_blas="no"
     21035       coin_reason="--with-blas-datadir has been specified"
     21036     fi
    2113121037fi;
    21132 
    21133 
     21038fi
     21039
     21040
     21041  if test $coin_has_blas != no; then
    2113421042    #--with-blas can overwrite --with-blas-lib, and can be set to BUILD to enforce building blas
    2113521043
     
    2113721045if test "${with_blas+set}" = set; then
    2113821046  withval="$with_blas"
    21139   if test x"$withval" = "xBUILD" ; then
    21140            coin_has_blas=notGiven
    21141          else
    21142            coin_has_blas="yes, via --with-blas"
     21047  if test x"$withval" = "xno" ; then
     21048           coin_has_blas="no"
     21049           coin_reason="--without-blas has been specified"
     21050         elif test x"$withval" != "xBUILD" ; then
     21051           coin_has_blas="no"
     21052           coin_reason="--with-blas has been specified"
    2114321053         fi
    2114421054fi;
    21145 
    21146 
    21147 
    21148 fi
     21055  fi
     21056
     21057
     21058
    2114921059
    2115021060# check if project is available in present directory
    2115121061if test "$coin_has_blas" = notGiven; then
     21062  coin_has_blas=no
    2115221063  if test -d $srcdir/ThirdParty/Blas; then
     21064    coin_reason="source in ThirdParty/Blas"
    2115321065    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2115421066    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     
    2115621068    for i in $srcdir/ThirdParty/Blas/daxpy.f; do
    2115721069         if test -r $i; then
    21158            coin_have_project_dir=yes
     21070           coin_has_blas="yes"
     21071         else
     21072           coin_has_blas="no"
     21073           coin_reason="source file $i not available"
     21074           break
    2115921075         fi
    2116021076       done
    2116121077
    21162     if test $coin_have_project_dir = yes; then
    21163       coin_has_blas="yes, source in ThirdParty/Blas"
    21164     fi
    21165   fi
    21166 fi
    21167 
    21168 # check for project by using pkg-config, if pkg-config is available
    21169 if test "$coin_has_blas" = notGiven; then
    21170   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21171   if test -n "$PKG_CONFIG" ; then
    21172     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21173     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21174 
    21175 if test -n "$PKG_CONFIG" ; then
    21176   if $PKG_CONFIG --exists "coinblas"; then
    21177     COINBLAS_VERSION=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null`
    21178     coin_has_blas="yes, found installed version $COINBLAS_VERSION"
    21179   else
    21180     COINBLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"`
    21181 
    21182   fi
    21183 else
    21184   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5
    21185 echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;}
    21186    { (exit 1); exit 1; }; }
    21187 fi
    21188 
    21189     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21190     export PKG_CONFIG_PATH
    21191   fi
    21192 fi
    21193 
    21194 if test "$coin_has_blas" = notGiven; then
    21195   echo "$as_me:$LINENO: result: no (but will check for system blas later)" >&5
    21196 echo "${ECHO_T}no (but will check for system blas later)" >&6
    21197 else
     21078  fi
     21079fi
     21080
     21081if test -z "$coin_reason" ; then
    2119821082  echo "$as_me:$LINENO: result: $coin_has_blas" >&5
    2119921083echo "${ECHO_T}$coin_has_blas" >&6
    21200 fi
    21201 
    21202 echo "$as_me:$LINENO: checking whether project ThirdParty/Blas needs to be configured" >&5
    21203 echo $ECHO_N "checking whether project ThirdParty/Blas needs to be configured... $ECHO_C" >&6
    21204 if test "$coin_have_project_dir" = yes ; then
    21205 
     21084else
     21085  echo "$as_me:$LINENO: result: $coin_has_blas, $coin_reason" >&5
     21086echo "${ECHO_T}$coin_has_blas, $coin_reason" >&6
     21087fi
     21088
     21089if test "$coin_has_blas" = yes ; then
    2120621090  if test -r $srcdir/ThirdParty/Blas/configure; then
    2120721091    coin_subdirs="$coin_subdirs ThirdParty/Blas"
    21208     echo "$as_me:$LINENO: result: yes" >&5
    21209 echo "${ECHO_T}yes" >&6
    2121021092
    2121121093
    2121221094subdirs="$subdirs ThirdParty/Blas"
    2121321095
    21214   else
    21215     echo "$as_me:$LINENO: result: no" >&5
    21216 echo "${ECHO_T}no" >&6
    21217   fi
    21218 else
    21219   echo "$as_me:$LINENO: result: no" >&5
    21220 echo "${ECHO_T}no" >&6
    21221 fi
    21222 
    21223 
    21224 echo "$as_me:$LINENO: checking whether project Lapack is available" >&5
    21225 echo $ECHO_N "checking whether project Lapack is available... $ECHO_C" >&6
     21096  fi
     21097fi
     21098
     21099
     21100echo "$as_me:$LINENO: checking whether source of project Lapack is available and should be compiled" >&5
     21101echo $ECHO_N "checking whether source of project Lapack is available and should be compiled... $ECHO_C" >&6
    2122621102
    2122721103coin_has_lapack=notGiven
    21228 coin_have_project_dir=no
     21104coin_reason=
    2122921105
    2123021106# check if user wants to skip project in any case
     
    2123321109  for dir in $COIN_SKIP_PROJECTS; do
    2123421110    if test $dir = "Lapack"; then
    21235       coin_has_lapack=skipping
     21111      coin_has_lapack="no"
     21112      coin_reason="Lapack has been specified in COIN_SKIP_PROJECTS"
    2123621113    fi
     21114
    2123721115    if test $dir = "ThirdParty/Lapack"; then
    21238       coin_has_lapack=skipping
     21116      coin_has_lapack="no"
     21117      coin_reason="ThirdParty/Lapack has been specified in COIN_SKIP_PROJECTS"
    2123921118    fi
    2124021119  done
    2124121120fi
    2124221121
    21243 if test $coin_has_lapack != skipping; then
    21244   if test $PACKAGE_TARNAME = lapack; then
    21245     coin_has_lapack=yes
    21246     coin_have_project_dir=yes
    21247   fi
    21248 
     21122if test "$coin_has_lapack" != no; then
     21123
     21124# Check whether --with-m4_tolower(Lapack) or --without-m4_tolower(Lapack) was given.
     21125if test "${with_lapack+set}" = set; then
     21126  withval="$with_lapack"
     21127  if test "$withval" = no ; then
     21128       coin_has_lapack="no"
     21129       coin_reason="--without-lapack has been specified"
     21130     fi
     21131
     21132fi;
     21133fi
     21134
     21135if test "$coin_has_lapack" != no; then
    2124921136
    2125021137# Check whether --with-m4_tolower(Lapack)-lib or --without-m4_tolower(Lapack)-lib was given.
    2125121138if test "${with_lapack_lib+set}" = set; then
    2125221139  withval="$with_lapack_lib"
    21253   coin_has_lapack="yes, via --with-lapack-lib"
     21140  if test "$withval" = no ; then
     21141       coin_has_lapack="no"
     21142       coin_reason="--without-lapack-lib has been specified"
     21143     else
     21144       coin_has_lapack="no"
     21145       coin_reason="--with-lapack-lib has been specified"
     21146     fi
    2125421147fi;
    21255 
     21148fi
     21149
     21150if test "$coin_has_lapack" != no; then
    2125621151
    2125721152# Check whether --with-m4_tolower(Lapack)-incdir or --without-m4_tolower(Lapack)-incdir was given.
    2125821153if test "${with_lapack_incdir+set}" = set; then
    2125921154  withval="$with_lapack_incdir"
    21260   coin_has_lapack="yes, via --with-lapack-incdir"
     21155  if test "$withval" = no ; then
     21156       coin_has_lapack="no"
     21157       coin_reason="--without-lapack-incdir has been specified"
     21158     else
     21159       coin_has_lapack="no"
     21160       coin_reason="--with-lapack-incdir has been specified"
     21161     fi
    2126121162fi;
    21262 
     21163fi
     21164
     21165if test "$coin_has_lapack" != no; then
    2126321166
    2126421167# Check whether --with-m4_tolower(Lapack)-datadir or --without-m4_tolower(Lapack)-datadir was given.
    2126521168if test "${with_lapack_datadir+set}" = set; then
    2126621169  withval="$with_lapack_datadir"
    21267   coin_has_lapack="yes, via --with-lapack-datadir"
     21170  if test "$withval" = no ; then
     21171       coin_has_lapack="no"
     21172       coin_reason="--without-lapack-datadir has been specified"
     21173     else
     21174       coin_has_lapack="no"
     21175       coin_reason="--with-lapack-datadir has been specified"
     21176     fi
    2126821177fi;
    21269 
    21270 
    21271 
    21272 
     21178fi
     21179
     21180
     21181
     21182
     21183  if test $coin_has_lapack != skipping; then
    2127321184    #--with-lapack can overwrite --with-lapack-lib, and can be set to BUILD to enforce building lapack
    2127421185
     
    2127621187if test "${with_lapack+set}" = set; then
    2127721188  withval="$with_lapack"
    21278   if test x"$withval" = "xBUILD" ; then
    21279            coin_has_lapack=notGiven
    21280          else
    21281            coin_has_lapack="yes, via --with-lapack"
     21189  if test x"$withval" = "xno" ; then
     21190           coin_has_lapack="no"
     21191           coin_reason="--without-lapack has been specified"
     21192         elif test x"$withval" != "xBUILD" ; then
     21193           coin_has_lapack="no"
     21194           coin_reason="--with-lapack has been specified"
    2128221195         fi
    2128321196fi;
    21284 
    21285 fi
     21197  fi
     21198
    2128621199
    2128721200# check if project is available in present directory
    2128821201if test "$coin_has_lapack" = notGiven; then
     21202  coin_has_lapack=no
    2128921203  if test -d $srcdir/ThirdParty/Lapack; then
     21204    coin_reason="source in ThirdParty/Lapack"
    2129021205    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2129121206    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     
    2129321208    for i in $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; do
    2129421209         if test -r $i; then
    21295            coin_have_project_dir=yes
     21210           coin_has_lapack="yes"
     21211         else
     21212           coin_has_lapack="no"
     21213           coin_reason="source file $i not available"
     21214           break
    2129621215         fi
    2129721216       done
    2129821217
    21299     if test $coin_have_project_dir = yes; then
    21300       coin_has_lapack="yes, source in ThirdParty/Lapack"
    21301     fi
    21302   fi
    21303 fi
    21304 
    21305 # check for project by using pkg-config, if pkg-config is available
    21306 if test "$coin_has_lapack" = notGiven; then
    21307   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21308   if test -n "$PKG_CONFIG" ; then
    21309     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21310     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21311 
    21312 if test -n "$PKG_CONFIG" ; then
    21313   if $PKG_CONFIG --exists "coinlapack"; then
    21314     COINLAPACK_VERSION=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null`
    21315     coin_has_lapack="yes, found installed version $COINLAPACK_VERSION"
    21316   else
    21317     COINLAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"`
    21318 
    21319   fi
    21320 else
    21321   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5
    21322 echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;}
    21323    { (exit 1); exit 1; }; }
    21324 fi
    21325 
    21326     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21327     export PKG_CONFIG_PATH
    21328   fi
    21329 fi
    21330 
    21331 if test "$coin_has_lapack" = notGiven; then
    21332   echo "$as_me:$LINENO: result: no (but will check for system lapack later)" >&5
    21333 echo "${ECHO_T}no (but will check for system lapack later)" >&6
    21334 else
     21218  fi
     21219fi
     21220
     21221if test -z "$coin_reason" ; then
    2133521222  echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
    2133621223echo "${ECHO_T}$coin_has_lapack" >&6
    21337 fi
    21338 
    21339 echo "$as_me:$LINENO: checking whether project ThirdParty/Lapack needs to be configured" >&5
    21340 echo $ECHO_N "checking whether project ThirdParty/Lapack needs to be configured... $ECHO_C" >&6
    21341 if test "$coin_have_project_dir" = yes ; then
    21342 
     21224else
     21225  echo "$as_me:$LINENO: result: $coin_has_lapack, $coin_reason" >&5
     21226echo "${ECHO_T}$coin_has_lapack, $coin_reason" >&6
     21227fi
     21228
     21229if test "$coin_has_lapack" = yes ; then
    2134321230  if test -r $srcdir/ThirdParty/Lapack/configure; then
    2134421231    coin_subdirs="$coin_subdirs ThirdParty/Lapack"
    21345     echo "$as_me:$LINENO: result: yes" >&5
    21346 echo "${ECHO_T}yes" >&6
    2134721232
    2134821233
    2134921234subdirs="$subdirs ThirdParty/Lapack"
    2135021235
    21351   else
    21352     echo "$as_me:$LINENO: result: no" >&5
    21353 echo "${ECHO_T}no" >&6
    21354   fi
    21355 else
    21356   echo "$as_me:$LINENO: result: no" >&5
    21357 echo "${ECHO_T}no" >&6
    21358 fi
    21359 
    21360 
    21361 echo "$as_me:$LINENO: checking whether project Sample is available" >&5
    21362 echo $ECHO_N "checking whether project Sample is available... $ECHO_C" >&6
     21236  fi
     21237fi
     21238
     21239
     21240echo "$as_me:$LINENO: checking whether source of project Metis is available and should be compiled" >&5
     21241echo $ECHO_N "checking whether source of project Metis is available and should be compiled... $ECHO_C" >&6
     21242
     21243coin_has_metis=notGiven
     21244coin_reason=
     21245
     21246# check if user wants to skip project in any case
     21247
     21248if test x"$COIN_SKIP_PROJECTS" != x; then
     21249  for dir in $COIN_SKIP_PROJECTS; do
     21250    if test $dir = "Metis"; then
     21251      coin_has_metis="no"
     21252      coin_reason="Metis has been specified in COIN_SKIP_PROJECTS"
     21253    fi
     21254
     21255    if test $dir = "ThirdParty/Metis"; then
     21256      coin_has_metis="no"
     21257      coin_reason="ThirdParty/Metis has been specified in COIN_SKIP_PROJECTS"
     21258    fi
     21259  done
     21260fi
     21261
     21262if test "$coin_has_metis" != no; then
     21263
     21264# Check whether --with-m4_tolower(Metis) or --without-m4_tolower(Metis) was given.
     21265if test "${with_metis+set}" = set; then
     21266  withval="$with_metis"
     21267  if test "$withval" = no ; then
     21268       coin_has_metis="no"
     21269       coin_reason="--without-metis has been specified"
     21270     fi
     21271
     21272fi;
     21273fi
     21274
     21275if test "$coin_has_metis" != no; then
     21276
     21277# Check whether --with-m4_tolower(Metis)-lib or --without-m4_tolower(Metis)-lib was given.
     21278if test "${with_metis_lib+set}" = set; then
     21279  withval="$with_metis_lib"
     21280  if test "$withval" = no ; then
     21281       coin_has_metis="no"
     21282       coin_reason="--without-metis-lib has been specified"
     21283     else
     21284       coin_has_metis="no"
     21285       coin_reason="--with-metis-lib has been specified"
     21286     fi
     21287fi;
     21288fi
     21289
     21290if test "$coin_has_metis" != no; then
     21291
     21292# Check whether --with-m4_tolower(Metis)-incdir or --without-m4_tolower(Metis)-incdir was given.
     21293if test "${with_metis_incdir+set}" = set; then
     21294  withval="$with_metis_incdir"
     21295  if test "$withval" = no ; then
     21296       coin_has_metis="no"
     21297       coin_reason="--without-metis-incdir has been specified"
     21298     else
     21299       coin_has_metis="no"
     21300       coin_reason="--with-metis-incdir has been specified"
     21301     fi
     21302fi;
     21303fi
     21304
     21305if test "$coin_has_metis" != no; then
     21306
     21307# Check whether --with-m4_tolower(Metis)-datadir or --without-m4_tolower(Metis)-datadir was given.
     21308if test "${with_metis_datadir+set}" = set; then
     21309  withval="$with_metis_datadir"
     21310  if test "$withval" = no ; then
     21311       coin_has_metis="no"
     21312       coin_reason="--without-metis-datadir has been specified"
     21313     else
     21314       coin_has_metis="no"
     21315       coin_reason="--with-metis-datadir has been specified"
     21316     fi
     21317fi;
     21318fi
     21319
     21320
     21321
     21322
     21323
     21324# check if project is available in present directory
     21325if test "$coin_has_metis" = notGiven; then
     21326  coin_has_metis=no
     21327  if test -d $srcdir/ThirdParty/Metis; then
     21328    coin_reason="source in ThirdParty/Metis"
     21329    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21330    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21331    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21332    for i in $srcdir/ThirdParty/Metis/metis-4.0/Lib/balance.c; do
     21333         if test -r $i; then
     21334           coin_has_metis="yes"
     21335         else
     21336           coin_has_metis="no"
     21337           coin_reason="source file $i not available"
     21338           break
     21339         fi
     21340       done
     21341
     21342  fi
     21343fi
     21344
     21345if test -z "$coin_reason" ; then
     21346  echo "$as_me:$LINENO: result: $coin_has_metis" >&5
     21347echo "${ECHO_T}$coin_has_metis" >&6
     21348else
     21349  echo "$as_me:$LINENO: result: $coin_has_metis, $coin_reason" >&5
     21350echo "${ECHO_T}$coin_has_metis, $coin_reason" >&6
     21351fi
     21352
     21353if test "$coin_has_metis" = yes ; then
     21354  if test -r $srcdir/ThirdParty/Metis/configure; then
     21355    coin_subdirs="$coin_subdirs ThirdParty/Metis"
     21356
     21357
     21358subdirs="$subdirs ThirdParty/Metis"
     21359
     21360  fi
     21361fi
     21362
     21363
     21364echo "$as_me:$LINENO: checking whether source of project Mumps is available and should be compiled" >&5
     21365echo $ECHO_N "checking whether source of project Mumps is available and should be compiled... $ECHO_C" >&6
     21366
     21367coin_has_mumps=notGiven
     21368coin_reason=
     21369
     21370# check if user wants to skip project in any case
     21371
     21372if test x"$COIN_SKIP_PROJECTS" != x; then
     21373  for dir in $COIN_SKIP_PROJECTS; do
     21374    if test $dir = "Mumps"; then
     21375      coin_has_mumps="no"
     21376      coin_reason="Mumps has been specified in COIN_SKIP_PROJECTS"
     21377    fi
     21378
     21379    if test $dir = "ThirdParty/Mumps"; then
     21380      coin_has_mumps="no"
     21381      coin_reason="ThirdParty/Mumps has been specified in COIN_SKIP_PROJECTS"
     21382    fi
     21383  done
     21384fi
     21385
     21386if test "$coin_has_mumps" != no; then
     21387
     21388# Check whether --with-m4_tolower(Mumps) or --without-m4_tolower(Mumps) was given.
     21389if test "${with_mumps+set}" = set; then
     21390  withval="$with_mumps"
     21391  if test "$withval" = no ; then
     21392       coin_has_mumps="no"
     21393       coin_reason="--without-mumps has been specified"
     21394     fi
     21395
     21396fi;
     21397fi
     21398
     21399if test "$coin_has_mumps" != no; then
     21400
     21401# Check whether --with-m4_tolower(Mumps)-lib or --without-m4_tolower(Mumps)-lib was given.
     21402if test "${with_mumps_lib+set}" = set; then
     21403  withval="$with_mumps_lib"
     21404  if test "$withval" = no ; then
     21405       coin_has_mumps="no"
     21406       coin_reason="--without-mumps-lib has been specified"
     21407     else
     21408       coin_has_mumps="no"
     21409       coin_reason="--with-mumps-lib has been specified"
     21410     fi
     21411fi;
     21412fi
     21413
     21414if test "$coin_has_mumps" != no; then
     21415
     21416# Check whether --with-m4_tolower(Mumps)-incdir or --without-m4_tolower(Mumps)-incdir was given.
     21417if test "${with_mumps_incdir+set}" = set; then
     21418  withval="$with_mumps_incdir"
     21419  if test "$withval" = no ; then
     21420       coin_has_mumps="no"
     21421       coin_reason="--without-mumps-incdir has been specified"
     21422     else
     21423       coin_has_mumps="no"
     21424       coin_reason="--with-mumps-incdir has been specified"
     21425     fi
     21426fi;
     21427fi
     21428
     21429if test "$coin_has_mumps" != no; then
     21430
     21431# Check whether --with-m4_tolower(Mumps)-datadir or --without-m4_tolower(Mumps)-datadir was given.
     21432if test "${with_mumps_datadir+set}" = set; then
     21433  withval="$with_mumps_datadir"
     21434  if test "$withval" = no ; then
     21435       coin_has_mumps="no"
     21436       coin_reason="--without-mumps-datadir has been specified"
     21437     else
     21438       coin_has_mumps="no"
     21439       coin_reason="--with-mumps-datadir has been specified"
     21440     fi
     21441fi;
     21442fi
     21443
     21444
     21445
     21446
     21447
     21448# check if project is available in present directory
     21449if test "$coin_has_mumps" = notGiven; then
     21450  coin_has_mumps=no
     21451  if test -d $srcdir/ThirdParty/Mumps; then
     21452    coin_reason="source in ThirdParty/Mumps"
     21453    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21454    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21455    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21456    for i in $srcdir/ThirdParty/Mumps/MUMPS/src/dmumps_part1.F; do
     21457         if test -r $i; then
     21458           coin_has_mumps="yes"
     21459         else
     21460           coin_has_mumps="no"
     21461           coin_reason="source file $i not available"
     21462           break
     21463         fi
     21464       done
     21465
     21466  fi
     21467fi
     21468
     21469if test -z "$coin_reason" ; then
     21470  echo "$as_me:$LINENO: result: $coin_has_mumps" >&5
     21471echo "${ECHO_T}$coin_has_mumps" >&6
     21472else
     21473  echo "$as_me:$LINENO: result: $coin_has_mumps, $coin_reason" >&5
     21474echo "${ECHO_T}$coin_has_mumps, $coin_reason" >&6
     21475fi
     21476
     21477if test "$coin_has_mumps" = yes ; then
     21478  if test -r $srcdir/ThirdParty/Mumps/configure; then
     21479    coin_subdirs="$coin_subdirs ThirdParty/Mumps"
     21480
     21481
     21482subdirs="$subdirs ThirdParty/Mumps"
     21483
     21484  fi
     21485fi
     21486
     21487
     21488echo "$as_me:$LINENO: checking whether source of project Glpk is available and should be compiled" >&5
     21489echo $ECHO_N "checking whether source of project Glpk is available and should be compiled... $ECHO_C" >&6
     21490
     21491coin_has_glpk=notGiven
     21492coin_reason=
     21493
     21494# check if user wants to skip project in any case
     21495
     21496if test x"$COIN_SKIP_PROJECTS" != x; then
     21497  for dir in $COIN_SKIP_PROJECTS; do
     21498    if test $dir = "Glpk"; then
     21499      coin_has_glpk="no"
     21500      coin_reason="Glpk has been specified in COIN_SKIP_PROJECTS"
     21501    fi
     21502
     21503    if test $dir = "ThirdParty/Glpk"; then
     21504      coin_has_glpk="no"
     21505      coin_reason="ThirdParty/Glpk has been specified in COIN_SKIP_PROJECTS"
     21506    fi
     21507  done
     21508fi
     21509
     21510if test "$coin_has_glpk" != no; then
     21511
     21512# Check whether --with-m4_tolower(Glpk) or --without-m4_tolower(Glpk) was given.
     21513if test "${with_glpk+set}" = set; then
     21514  withval="$with_glpk"
     21515  if test "$withval" = no ; then
     21516       coin_has_glpk="no"
     21517       coin_reason="--without-glpk has been specified"
     21518     fi
     21519
     21520fi;
     21521fi
     21522
     21523if test "$coin_has_glpk" != no; then
     21524
     21525# Check whether --with-m4_tolower(Glpk)-lib or --without-m4_tolower(Glpk)-lib was given.
     21526if test "${with_glpk_lib+set}" = set; then
     21527  withval="$with_glpk_lib"
     21528  if test "$withval" = no ; then
     21529       coin_has_glpk="no"
     21530       coin_reason="--without-glpk-lib has been specified"
     21531     else
     21532       coin_has_glpk="no"
     21533       coin_reason="--with-glpk-lib has been specified"
     21534     fi
     21535fi;
     21536fi
     21537
     21538if test "$coin_has_glpk" != no; then
     21539
     21540# Check whether --with-m4_tolower(Glpk)-incdir or --without-m4_tolower(Glpk)-incdir was given.
     21541if test "${with_glpk_incdir+set}" = set; then
     21542  withval="$with_glpk_incdir"
     21543  if test "$withval" = no ; then
     21544       coin_has_glpk="no"
     21545       coin_reason="--without-glpk-incdir has been specified"
     21546     else
     21547       coin_has_glpk="no"
     21548       coin_reason="--with-glpk-incdir has been specified"
     21549     fi
     21550fi;
     21551fi
     21552
     21553if test "$coin_has_glpk" != no; then
     21554
     21555# Check whether --with-m4_tolower(Glpk)-datadir or --without-m4_tolower(Glpk)-datadir was given.
     21556if test "${with_glpk_datadir+set}" = set; then
     21557  withval="$with_glpk_datadir"
     21558  if test "$withval" = no ; then
     21559       coin_has_glpk="no"
     21560       coin_reason="--without-glpk-datadir has been specified"
     21561     else
     21562       coin_has_glpk="no"
     21563       coin_reason="--with-glpk-datadir has been specified"
     21564     fi
     21565fi;
     21566fi
     21567
     21568
     21569
     21570
     21571
     21572# check if project is available in present directory
     21573if test "$coin_has_glpk" = notGiven; then
     21574  coin_has_glpk=no
     21575  if test -d $srcdir/ThirdParty/Glpk; then
     21576    coin_reason="source in ThirdParty/Glpk"
     21577    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21578    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21579    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21580    for i in $srcdir/ThirdParty/Glpk/glpk/src/glplpx01.c; do
     21581         if test -r $i; then
     21582           coin_has_glpk="yes"
     21583         else
     21584           coin_has_glpk="no"
     21585           coin_reason="source file $i not available"
     21586           break
     21587         fi
     21588       done
     21589
     21590  fi
     21591fi
     21592
     21593if test -z "$coin_reason" ; then
     21594  echo "$as_me:$LINENO: result: $coin_has_glpk" >&5
     21595echo "${ECHO_T}$coin_has_glpk" >&6
     21596else
     21597  echo "$as_me:$LINENO: result: $coin_has_glpk, $coin_reason" >&5
     21598echo "${ECHO_T}$coin_has_glpk, $coin_reason" >&6
     21599fi
     21600
     21601if test "$coin_has_glpk" = yes ; then
     21602  if test -r $srcdir/ThirdParty/Glpk/configure; then
     21603    coin_subdirs="$coin_subdirs ThirdParty/Glpk"
     21604
     21605
     21606subdirs="$subdirs ThirdParty/Glpk"
     21607
     21608  fi
     21609fi
     21610
     21611
     21612echo "$as_me:$LINENO: checking whether source of project Sample is available and should be compiled" >&5
     21613echo $ECHO_N "checking whether source of project Sample is available and should be compiled... $ECHO_C" >&6
    2136321614
    2136421615coin_has_sample=notGiven
    21365 coin_have_project_dir=no
     21616coin_reason=
    2136621617
    2136721618# check if user wants to skip project in any case
     
    2137021621  for dir in $COIN_SKIP_PROJECTS; do
    2137121622    if test $dir = "Sample"; then
    21372       coin_has_sample=skipping
     21623      coin_has_sample="no"
     21624      coin_reason="Sample has been specified in COIN_SKIP_PROJECTS"
    2137321625    fi
     21626
    2137421627    if test $dir = "Data/Sample"; then
    21375       coin_has_sample=skipping
     21628      coin_has_sample="no"
     21629      coin_reason="Data/Sample has been specified in COIN_SKIP_PROJECTS"
    2137621630    fi
    2137721631  done
    2137821632fi
    2137921633
    21380 if test $coin_has_sample != skipping; then
    21381   if test $PACKAGE_TARNAME = sample; then
    21382     coin_has_sample=yes
    21383     coin_have_project_dir=yes
    21384   fi
    21385 
     21634if test "$coin_has_sample" != no; then
     21635
     21636# Check whether --with-m4_tolower(Sample) or --without-m4_tolower(Sample) was given.
     21637if test "${with_sample+set}" = set; then
     21638  withval="$with_sample"
     21639  if test "$withval" = no ; then
     21640       coin_has_sample="no"
     21641       coin_reason="--without-sample has been specified"
     21642     fi
     21643
     21644fi;
     21645fi
     21646
     21647if test "$coin_has_sample" != no; then
    2138621648
    2138721649# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
    2138821650if test "${with_sample_lib+set}" = set; then
    2138921651  withval="$with_sample_lib"
    21390   coin_has_sample="yes, via --with-sample-lib"
     21652  if test "$withval" = no ; then
     21653       coin_has_sample="no"
     21654       coin_reason="--without-sample-lib has been specified"
     21655     else
     21656       coin_has_sample="no"
     21657       coin_reason="--with-sample-lib has been specified"
     21658     fi
    2139121659fi;
    21392 
     21660fi
     21661
     21662if test "$coin_has_sample" != no; then
    2139321663
    2139421664# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
    2139521665if test "${with_sample_incdir+set}" = set; then
    2139621666  withval="$with_sample_incdir"
    21397   coin_has_sample="yes, via --with-sample-incdir"
     21667  if test "$withval" = no ; then
     21668       coin_has_sample="no"
     21669       coin_reason="--without-sample-incdir has been specified"
     21670     else
     21671       coin_has_sample="no"
     21672       coin_reason="--with-sample-incdir has been specified"
     21673     fi
    2139821674fi;
    21399 
     21675fi
     21676
     21677if test "$coin_has_sample" != no; then
    2140021678
    2140121679# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
    2140221680if test "${with_sample_datadir+set}" = set; then
    2140321681  withval="$with_sample_datadir"
    21404   coin_has_sample="yes, via --with-sample-datadir"
     21682  if test "$withval" = no ; then
     21683       coin_has_sample="no"
     21684       coin_reason="--without-sample-datadir has been specified"
     21685     else
     21686       coin_has_sample="no"
     21687       coin_reason="--with-sample-datadir has been specified"
     21688     fi
    2140521689fi;
    21406 
    21407 
    21408 
    21409 
    21410 
    21411 fi
     21690fi
     21691
     21692
     21693
     21694
    2141221695
    2141321696# check if project is available in present directory
    2141421697if test "$coin_has_sample" = notGiven; then
     21698  coin_has_sample=no
    2141521699  if test -d $srcdir/Data/Sample; then
     21700    coin_reason="source in Data/Sample"
    2141621701    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2141721702    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2141821703    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21419      coin_have_project_dir=yes
    21420 
    21421     if test $coin_have_project_dir = yes; then
    21422       coin_has_sample="yes, source in Data/Sample"
    21423     fi
    21424   fi
    21425 fi
    21426 
    21427 # check for project by using pkg-config, if pkg-config is available
    21428 if test "$coin_has_sample" = notGiven; then
    21429   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21430   if test -n "$PKG_CONFIG" ; then
    21431     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21432     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21433 
    21434 if test -n "$PKG_CONFIG" ; then
    21435   if $PKG_CONFIG --exists "coindatasample"; then
    21436     COINDATASAMPLE_VERSION=`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null`
    21437     coin_has_sample="yes, found installed version $COINDATASAMPLE_VERSION"
    21438   else
    21439     COINDATASAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatasample"`
    21440 
    21441   fi
    21442 else
    21443   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&5
    21444 echo "$as_me: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&2;}
    21445    { (exit 1); exit 1; }; }
    21446 fi
    21447 
    21448     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21449     export PKG_CONFIG_PATH
    21450   fi
    21451 fi
    21452 
    21453 if test "$coin_has_sample" = notGiven; then
    21454   echo "$as_me:$LINENO: result: not given" >&5
    21455 echo "${ECHO_T}not given" >&6
    21456 
    21457 else
     21704     coin_has_sample="yes"
     21705
     21706  fi
     21707fi
     21708
     21709if test -z "$coin_reason" ; then
    2145821710  echo "$as_me:$LINENO: result: $coin_has_sample" >&5
    2145921711echo "${ECHO_T}$coin_has_sample" >&6
    21460 fi
    21461 
    21462 echo "$as_me:$LINENO: checking whether project Data/Sample needs to be configured" >&5
    21463 echo $ECHO_N "checking whether project Data/Sample needs to be configured... $ECHO_C" >&6
    21464 if test "$coin_have_project_dir" = yes ; then
    21465 
     21712else
     21713  echo "$as_me:$LINENO: result: $coin_has_sample, $coin_reason" >&5
     21714echo "${ECHO_T}$coin_has_sample, $coin_reason" >&6
     21715fi
     21716
     21717if test "$coin_has_sample" = yes ; then
    2146621718  if test -r $srcdir/Data/Sample/configure; then
    2146721719    coin_subdirs="$coin_subdirs Data/Sample"
    21468     echo "$as_me:$LINENO: result: yes" >&5
    21469 echo "${ECHO_T}yes" >&6
    2147021720
    2147121721
    2147221722subdirs="$subdirs Data/Sample"
    2147321723
    21474   else
    21475     echo "$as_me:$LINENO: result: no" >&5
    21476 echo "${ECHO_T}no" >&6
    21477   fi
    21478 else
    21479   echo "$as_me:$LINENO: result: no" >&5
    21480 echo "${ECHO_T}no" >&6
    21481 fi
    21482 
    21483 
    21484 echo "$as_me:$LINENO: checking whether project Netlib is available" >&5
    21485 echo $ECHO_N "checking whether project Netlib is available... $ECHO_C" >&6
     21724  fi
     21725fi
     21726
     21727
     21728echo "$as_me:$LINENO: checking whether source of project Netlib is available and should be compiled" >&5
     21729echo $ECHO_N "checking whether source of project Netlib is available and should be compiled... $ECHO_C" >&6
    2148621730
    2148721731coin_has_netlib=notGiven
    21488 coin_have_project_dir=no
     21732coin_reason=
    2148921733
    2149021734# check if user wants to skip project in any case
     
    2149321737  for dir in $COIN_SKIP_PROJECTS; do
    2149421738    if test $dir = "Netlib"; then
    21495       coin_has_netlib=skipping
     21739      coin_has_netlib="no"
     21740      coin_reason="Netlib has been specified in COIN_SKIP_PROJECTS"
    2149621741    fi
     21742
    2149721743    if test $dir = "Data/Netlib"; then
    21498       coin_has_netlib=skipping
     21744      coin_has_netlib="no"
     21745      coin_reason="Data/Netlib has been specified in COIN_SKIP_PROJECTS"
    2149921746    fi
    2150021747  done
    2150121748fi
    2150221749
    21503 if test $coin_has_netlib != skipping; then
    21504   if test $PACKAGE_TARNAME = netlib; then
    21505     coin_has_netlib=yes
    21506     coin_have_project_dir=yes
    21507   fi
    21508 
     21750if test "$coin_has_netlib" != no; then
     21751
     21752# Check whether --with-m4_tolower(Netlib) or --without-m4_tolower(Netlib) was given.
     21753if test "${with_netlib+set}" = set; then
     21754  withval="$with_netlib"
     21755  if test "$withval" = no ; then
     21756       coin_has_netlib="no"
     21757       coin_reason="--without-netlib has been specified"
     21758     fi
     21759
     21760fi;
     21761fi
     21762
     21763if test "$coin_has_netlib" != no; then
    2150921764
    2151021765# Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
    2151121766if test "${with_netlib_lib+set}" = set; then
    2151221767  withval="$with_netlib_lib"
    21513   coin_has_netlib="yes, via --with-netlib-lib"
     21768  if test "$withval" = no ; then
     21769       coin_has_netlib="no"
     21770       coin_reason="--without-netlib-lib has been specified"
     21771     else
     21772       coin_has_netlib="no"
     21773       coin_reason="--with-netlib-lib has been specified"
     21774     fi
    2151421775fi;
    21515 
     21776fi
     21777
     21778if test "$coin_has_netlib" != no; then
    2151621779
    2151721780# Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
    2151821781if test "${with_netlib_incdir+set}" = set; then
    2151921782  withval="$with_netlib_incdir"
    21520   coin_has_netlib="yes, via --with-netlib-incdir"
     21783  if test "$withval" = no ; then
     21784       coin_has_netlib="no"
     21785       coin_reason="--without-netlib-incdir has been specified"
     21786     else
     21787       coin_has_netlib="no"
     21788       coin_reason="--with-netlib-incdir has been specified"
     21789     fi
    2152121790fi;
    21522 
     21791fi
     21792
     21793if test "$coin_has_netlib" != no; then
    2152321794
    2152421795# Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
    2152521796if test "${with_netlib_datadir+set}" = set; then
    2152621797  withval="$with_netlib_datadir"
    21527   coin_has_netlib="yes, via --with-netlib-datadir"
     21798  if test "$withval" = no ; then
     21799       coin_has_netlib="no"
     21800       coin_reason="--without-netlib-datadir has been specified"
     21801     else
     21802       coin_has_netlib="no"
     21803       coin_reason="--with-netlib-datadir has been specified"
     21804     fi
    2152821805fi;
    21529 
    21530 
    21531 
    21532 
    21533 
    21534 fi
     21806fi
     21807
     21808
     21809
     21810
    2153521811
    2153621812# check if project is available in present directory
    2153721813if test "$coin_has_netlib" = notGiven; then
     21814  coin_has_netlib=no
    2153821815  if test -d $srcdir/Data/Netlib; then
     21816    coin_reason="source in Data/Netlib"
    2153921817    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2154021818    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2154121819    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21542      coin_have_project_dir=yes
    21543 
    21544     if test $coin_have_project_dir = yes; then
    21545       coin_has_netlib="yes, source in Data/Netlib"
    21546     fi
    21547   fi
    21548 fi
    21549 
    21550 # check for project by using pkg-config, if pkg-config is available
    21551 if test "$coin_has_netlib" = notGiven; then
    21552   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21553   if test -n "$PKG_CONFIG" ; then
    21554     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21555     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21556 
    21557 if test -n "$PKG_CONFIG" ; then
    21558   if $PKG_CONFIG --exists "coindatanetlib"; then
    21559     COINDATANETLIB_VERSION=`$PKG_CONFIG --modversion "coindatanetlib" 2>/dev/null`
    21560     coin_has_netlib="yes, found installed version $COINDATANETLIB_VERSION"
    21561   else
    21562     COINDATANETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatanetlib"`
    21563 
    21564   fi
    21565 else
    21566   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&5
    21567 echo "$as_me: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&2;}
    21568    { (exit 1); exit 1; }; }
    21569 fi
    21570 
    21571     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21572     export PKG_CONFIG_PATH
    21573   fi
    21574 fi
    21575 
    21576 if test "$coin_has_netlib" = notGiven; then
    21577   echo "$as_me:$LINENO: result: not given" >&5
    21578 echo "${ECHO_T}not given" >&6
    21579 
    21580 else
     21820     coin_has_netlib="yes"
     21821
     21822  fi
     21823fi
     21824
     21825if test -z "$coin_reason" ; then
    2158121826  echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
    2158221827echo "${ECHO_T}$coin_has_netlib" >&6
    21583 fi
    21584 
    21585 echo "$as_me:$LINENO: checking whether project Data/Netlib needs to be configured" >&5
    21586 echo $ECHO_N "checking whether project Data/Netlib needs to be configured... $ECHO_C" >&6
    21587 if test "$coin_have_project_dir" = yes ; then
    21588 
     21828else
     21829  echo "$as_me:$LINENO: result: $coin_has_netlib, $coin_reason" >&5
     21830echo "${ECHO_T}$coin_has_netlib, $coin_reason" >&6
     21831fi
     21832
     21833if test "$coin_has_netlib" = yes ; then
    2158921834  if test -r $srcdir/Data/Netlib/configure; then
    2159021835    coin_subdirs="$coin_subdirs Data/Netlib"
    21591     echo "$as_me:$LINENO: result: yes" >&5
    21592 echo "${ECHO_T}yes" >&6
    2159321836
    2159421837
    2159521838subdirs="$subdirs Data/Netlib"
    2159621839
    21597   else
    21598     echo "$as_me:$LINENO: result: no" >&5
    21599 echo "${ECHO_T}no" >&6
    21600   fi
    21601 else
    21602   echo "$as_me:$LINENO: result: no" >&5
    21603 echo "${ECHO_T}no" >&6
    21604 fi
    21605 
    21606 
    21607 echo "$as_me:$LINENO: checking whether project CoinUtils is available" >&5
    21608 echo $ECHO_N "checking whether project CoinUtils is available... $ECHO_C" >&6
     21840  fi
     21841fi
     21842
     21843
     21844echo "$as_me:$LINENO: checking whether source of project CoinUtils is available and should be compiled" >&5
     21845echo $ECHO_N "checking whether source of project CoinUtils is available and should be compiled... $ECHO_C" >&6
    2160921846
    2161021847coin_has_coinutils=notGiven
    21611 coin_have_project_dir=no
     21848coin_reason=
    2161221849
    2161321850# check if user wants to skip project in any case
     
    2161621853  for dir in $COIN_SKIP_PROJECTS; do
    2161721854    if test $dir = "CoinUtils"; then
    21618       coin_has_coinutils=skipping
     21855      coin_has_coinutils="no"
     21856      coin_reason="CoinUtils has been specified in COIN_SKIP_PROJECTS"
    2161921857    fi
    21620     if test $dir = "/CoinUtils"; then
    21621       coin_has_coinutils=skipping
    21622     fi
     21858
    2162321859  done
    2162421860fi
    2162521861
    21626 if test $coin_has_coinutils != skipping; then
    21627   if test $PACKAGE_TARNAME = coinutils; then
    21628     coin_has_coinutils=yes
    21629     coin_have_project_dir=yes
    21630   fi
    21631 
     21862if test "$coin_has_coinutils" != no; then
     21863
     21864# Check whether --with-m4_tolower(CoinUtils) or --without-m4_tolower(CoinUtils) was given.
     21865if test "${with_coinutils+set}" = set; then
     21866  withval="$with_coinutils"
     21867  if test "$withval" = no ; then
     21868       coin_has_coinutils="no"
     21869       coin_reason="--without-coinutils has been specified"
     21870     fi
     21871
     21872fi;
     21873fi
     21874
     21875if test "$coin_has_coinutils" != no; then
    2163221876
    2163321877# Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given.
    2163421878if test "${with_coinutils_lib+set}" = set; then
    2163521879  withval="$with_coinutils_lib"
    21636   coin_has_coinutils="yes, via --with-coinutils-lib"
     21880  if test "$withval" = no ; then
     21881       coin_has_coinutils="no"
     21882       coin_reason="--without-coinutils-lib has been specified"
     21883     else
     21884       coin_has_coinutils="no"
     21885       coin_reason="--with-coinutils-lib has been specified"
     21886     fi
    2163721887fi;
    21638 
     21888fi
     21889
     21890if test "$coin_has_coinutils" != no; then
    2163921891
    2164021892# Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given.
    2164121893if test "${with_coinutils_incdir+set}" = set; then
    2164221894  withval="$with_coinutils_incdir"
    21643   coin_has_coinutils="yes, via --with-coinutils-incdir"
     21895  if test "$withval" = no ; then
     21896       coin_has_coinutils="no"
     21897       coin_reason="--without-coinutils-incdir has been specified"
     21898     else
     21899       coin_has_coinutils="no"
     21900       coin_reason="--with-coinutils-incdir has been specified"
     21901     fi
    2164421902fi;
    21645 
     21903fi
     21904
     21905if test "$coin_has_coinutils" != no; then
    2164621906
    2164721907# Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given.
    2164821908if test "${with_coinutils_datadir+set}" = set; then
    2164921909  withval="$with_coinutils_datadir"
    21650   coin_has_coinutils="yes, via --with-coinutils-datadir"
     21910  if test "$withval" = no ; then
     21911       coin_has_coinutils="no"
     21912       coin_reason="--without-coinutils-datadir has been specified"
     21913     else
     21914       coin_has_coinutils="no"
     21915       coin_reason="--with-coinutils-datadir has been specified"
     21916     fi
    2165121917fi;
    21652 
    21653 
    21654 
    21655 
    21656 
    21657 fi
     21918fi
     21919
     21920
     21921
     21922
    2165821923
    2165921924# check if project is available in present directory
    2166021925if test "$coin_has_coinutils" = notGiven; then
    21661   if test -d $srcdir//CoinUtils; then
     21926  coin_has_coinutils=no
     21927  if test -d $srcdir/CoinUtils; then
     21928    coin_reason="source in CoinUtils"
    2166221929    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2166321930    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2166421931    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21665      coin_have_project_dir=yes
    21666 
    21667     if test $coin_have_project_dir = yes; then
    21668       coin_has_coinutils="yes, source in CoinUtils"
    21669     fi
    21670   fi
    21671 fi
    21672 
    21673 # check for project by using pkg-config, if pkg-config is available
    21674 if test "$coin_has_coinutils" = notGiven; then
    21675   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21676   if test -n "$PKG_CONFIG" ; then
    21677     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21678     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21679 
    21680 if test -n "$PKG_CONFIG" ; then
    21681   if $PKG_CONFIG --exists "coinutils"; then
    21682     COINUTILS_VERSION=`$PKG_CONFIG --modversion "coinutils" 2>/dev/null`
    21683     coin_has_coinutils="yes, found installed version $COINUTILS_VERSION"
    21684   else
    21685     COINUTILS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinutils"`
    21686 
    21687   fi
    21688 else
    21689   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&5
    21690 echo "$as_me: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&2;}
    21691    { (exit 1); exit 1; }; }
    21692 fi
    21693 
    21694     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21695     export PKG_CONFIG_PATH
    21696   fi
    21697 fi
    21698 
    21699 if test "$coin_has_coinutils" = notGiven; then
    21700   echo "$as_me:$LINENO: result: not given" >&5
    21701 echo "${ECHO_T}not given" >&6
    21702 
    21703 else
     21932     coin_has_coinutils="yes"
     21933
     21934  fi
     21935fi
     21936
     21937if test -z "$coin_reason" ; then
    2170421938  echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
    2170521939echo "${ECHO_T}$coin_has_coinutils" >&6
    21706 fi
    21707 
    21708 echo "$as_me:$LINENO: checking whether project CoinUtils needs to be configured" >&5
    21709 echo $ECHO_N "checking whether project CoinUtils needs to be configured... $ECHO_C" >&6
    21710 if test "$coin_have_project_dir" = yes ; then
    21711 
     21940else
     21941  echo "$as_me:$LINENO: result: $coin_has_coinutils, $coin_reason" >&5
     21942echo "${ECHO_T}$coin_has_coinutils, $coin_reason" >&6
     21943fi
     21944
     21945if test "$coin_has_coinutils" = yes ; then
    2171221946  if test -r $srcdir/CoinUtils/configure; then
    2171321947    coin_subdirs="$coin_subdirs CoinUtils"
    21714     echo "$as_me:$LINENO: result: yes" >&5
    21715 echo "${ECHO_T}yes" >&6
    2171621948
    2171721949
    2171821950subdirs="$subdirs CoinUtils"
    2171921951
    21720   else
    21721     echo "$as_me:$LINENO: result: no" >&5
    21722 echo "${ECHO_T}no" >&6
    21723   fi
    21724 else
    21725   echo "$as_me:$LINENO: result: no" >&5
    21726 echo "${ECHO_T}no" >&6
    21727 fi
    21728 
    21729 
    21730 echo "$as_me:$LINENO: checking whether project Osi is available" >&5
    21731 echo $ECHO_N "checking whether project Osi is available... $ECHO_C" >&6
     21952  fi
     21953fi
     21954
     21955
     21956echo "$as_me:$LINENO: checking whether source of project Osi is available and should be compiled" >&5
     21957echo $ECHO_N "checking whether source of project Osi is available and should be compiled... $ECHO_C" >&6
    2173221958
    2173321959coin_has_osi=notGiven
    21734 coin_have_project_dir=no
     21960coin_reason=
    2173521961
    2173621962# check if user wants to skip project in any case
     
    2173921965  for dir in $COIN_SKIP_PROJECTS; do
    2174021966    if test $dir = "Osi"; then
    21741       coin_has_osi=skipping
     21967      coin_has_osi="no"
     21968      coin_reason="Osi has been specified in COIN_SKIP_PROJECTS"
    2174221969    fi
    21743     if test $dir = "/Osi"; then
    21744       coin_has_osi=skipping
    21745     fi
     21970
    2174621971  done
    2174721972fi
    2174821973
    21749 if test $coin_has_osi != skipping; then
    21750   if test $PACKAGE_TARNAME = osi; then
    21751     coin_has_osi=yes
    21752     coin_have_project_dir=yes
    21753   fi
    21754 
     21974if test "$coin_has_osi" != no; then
     21975
     21976# Check whether --with-m4_tolower(Osi) or --without-m4_tolower(Osi) was given.
     21977if test "${with_osi+set}" = set; then
     21978  withval="$with_osi"
     21979  if test "$withval" = no ; then
     21980       coin_has_osi="no"
     21981       coin_reason="--without-osi has been specified"
     21982     fi
     21983
     21984fi;
     21985fi
     21986
     21987if test "$coin_has_osi" != no; then
    2175521988
    2175621989# Check whether --with-m4_tolower(Osi)-lib or --without-m4_tolower(Osi)-lib was given.
    2175721990if test "${with_osi_lib+set}" = set; then
    2175821991  withval="$with_osi_lib"
    21759   coin_has_osi="yes, via --with-osi-lib"
     21992  if test "$withval" = no ; then
     21993       coin_has_osi="no"
     21994       coin_reason="--without-osi-lib has been specified"
     21995     else
     21996       coin_has_osi="no"
     21997       coin_reason="--with-osi-lib has been specified"
     21998     fi
    2176021999fi;
    21761 
     22000fi
     22001
     22002if test "$coin_has_osi" != no; then
    2176222003
    2176322004# Check whether --with-m4_tolower(Osi)-incdir or --without-m4_tolower(Osi)-incdir was given.
    2176422005if test "${with_osi_incdir+set}" = set; then
    2176522006  withval="$with_osi_incdir"
    21766   coin_has_osi="yes, via --with-osi-incdir"
     22007  if test "$withval" = no ; then
     22008       coin_has_osi="no"
     22009       coin_reason="--without-osi-incdir has been specified"
     22010     else
     22011       coin_has_osi="no"
     22012       coin_reason="--with-osi-incdir has been specified"
     22013     fi
    2176722014fi;
    21768 
     22015fi
     22016
     22017if test "$coin_has_osi" != no; then
    2176922018
    2177022019# Check whether --with-m4_tolower(Osi)-datadir or --without-m4_tolower(Osi)-datadir was given.
    2177122020if test "${with_osi_datadir+set}" = set; then
    2177222021  withval="$with_osi_datadir"
    21773   coin_has_osi="yes, via --with-osi-datadir"
     22022  if test "$withval" = no ; then
     22023       coin_has_osi="no"
     22024       coin_reason="--without-osi-datadir has been specified"
     22025     else
     22026       coin_has_osi="no"
     22027       coin_reason="--with-osi-datadir has been specified"
     22028     fi
    2177422029fi;
    21775 
    21776 
    21777 
    21778 
    21779 
    21780 fi
     22030fi
     22031
     22032
     22033
     22034
    2178122035
    2178222036# check if project is available in present directory
    2178322037if test "$coin_has_osi" = notGiven; then
    21784   if test -d $srcdir//Osi; then
     22038  coin_has_osi=no
     22039  if test -d $srcdir/Osi; then
     22040    coin_reason="source in Osi"
    2178522041    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2178622042    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2178722043    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21788      coin_have_project_dir=yes
    21789 
    21790     if test $coin_have_project_dir = yes; then
    21791       coin_has_osi="yes, source in Osi"
    21792     fi
    21793   fi
    21794 fi
    21795 
    21796 # check for project by using pkg-config, if pkg-config is available
    21797 if test "$coin_has_osi" = notGiven; then
    21798   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21799   if test -n "$PKG_CONFIG" ; then
    21800     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21801     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21802 
    21803 if test -n "$PKG_CONFIG" ; then
    21804   if $PKG_CONFIG --exists "osi"; then
    21805     OSI_VERSION=`$PKG_CONFIG --modversion "osi" 2>/dev/null`
    21806     coin_has_osi="yes, found installed version $OSI_VERSION"
    21807   else
    21808     OSI_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "osi"`
    21809 
    21810   fi
    21811 else
    21812   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Osi without pkg-config\"" >&5
    21813 echo "$as_me: error: \"Cannot check for existance of module Osi without pkg-config\"" >&2;}
    21814    { (exit 1); exit 1; }; }
    21815 fi
    21816 
    21817     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21818     export PKG_CONFIG_PATH
    21819   fi
    21820 fi
    21821 
    21822 if test "$coin_has_osi" = notGiven; then
    21823   echo "$as_me:$LINENO: result: not given" >&5
    21824 echo "${ECHO_T}not given" >&6
    21825 
    21826 else
     22044     coin_has_osi="yes"
     22045
     22046  fi
     22047fi
     22048
     22049if test -z "$coin_reason" ; then
    2182722050  echo "$as_me:$LINENO: result: $coin_has_osi" >&5
    2182822051echo "${ECHO_T}$coin_has_osi" >&6
    21829 fi
    21830 
    21831 echo "$as_me:$LINENO: checking whether project Osi needs to be configured" >&5
    21832 echo $ECHO_N "checking whether project Osi needs to be configured... $ECHO_C" >&6
    21833 if test "$coin_have_project_dir" = yes ; then
    21834 
     22052else
     22053  echo "$as_me:$LINENO: result: $coin_has_osi, $coin_reason" >&5
     22054echo "${ECHO_T}$coin_has_osi, $coin_reason" >&6
     22055fi
     22056
     22057if test "$coin_has_osi" = yes ; then
    2183522058  if test -r $srcdir/Osi/configure; then
    2183622059    coin_subdirs="$coin_subdirs Osi"
    21837     echo "$as_me:$LINENO: result: yes" >&5
    21838 echo "${ECHO_T}yes" >&6
    2183922060
    2184022061
    2184122062subdirs="$subdirs Osi"
    2184222063
    21843   else
    21844     echo "$as_me:$LINENO: result: no" >&5
    21845 echo "${ECHO_T}no" >&6
    21846   fi
    21847 else
    21848   echo "$as_me:$LINENO: result: no" >&5
    21849 echo "${ECHO_T}no" >&6
    21850 fi
    21851 
    21852 
    21853 echo "$as_me:$LINENO: checking whether project Clp is available" >&5
    21854 echo $ECHO_N "checking whether project Clp is available... $ECHO_C" >&6
     22064  fi
     22065fi
     22066
     22067
     22068echo "$as_me:$LINENO: checking whether source of project Clp is available and should be compiled" >&5
     22069echo $ECHO_N "checking whether source of project Clp is available and should be compiled... $ECHO_C" >&6
    2185522070
    2185622071coin_has_clp=notGiven
    21857 coin_have_project_dir=no
     22072coin_reason=
    2185822073
    2185922074# check if user wants to skip project in any case
     
    2186222077  for dir in $COIN_SKIP_PROJECTS; do
    2186322078    if test $dir = "Clp"; then
    21864       coin_has_clp=skipping
     22079      coin_has_clp="no"
     22080      coin_reason="Clp has been specified in COIN_SKIP_PROJECTS"
    2186522081    fi
    21866     if test $dir = "/Clp"; then
    21867       coin_has_clp=skipping
    21868     fi
     22082
    2186922083  done
    2187022084fi
    2187122085
    21872 if test $coin_has_clp != skipping; then
    21873   if test $PACKAGE_TARNAME = clp; then
    21874     coin_has_clp=yes
    21875     coin_have_project_dir=yes
    21876   fi
    21877 
     22086if test "$coin_has_clp" != no; then
     22087
     22088# Check whether --with-m4_tolower(Clp) or --without-m4_tolower(Clp) was given.
     22089if test "${with_clp+set}" = set; then
     22090  withval="$with_clp"
     22091  if test "$withval" = no ; then
     22092       coin_has_clp="no"
     22093       coin_reason="--without-clp has been specified"
     22094     fi
     22095
     22096fi;
     22097fi
     22098
     22099if test "$coin_has_clp" != no; then
    2187822100
    2187922101# Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given.
    2188022102if test "${with_clp_lib+set}" = set; then
    2188122103  withval="$with_clp_lib"
    21882   coin_has_clp="yes, via --with-clp-lib"
     22104  if test "$withval" = no ; then
     22105       coin_has_clp="no"
     22106       coin_reason="--without-clp-lib has been specified"
     22107     else
     22108       coin_has_clp="no"
     22109       coin_reason="--with-clp-lib has been specified"
     22110     fi
    2188322111fi;
    21884 
     22112fi
     22113
     22114if test "$coin_has_clp" != no; then
    2188522115
    2188622116# Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given.
    2188722117if test "${with_clp_incdir+set}" = set; then
    2188822118  withval="$with_clp_incdir"
    21889   coin_has_clp="yes, via --with-clp-incdir"
     22119  if test "$withval" = no ; then
     22120       coin_has_clp="no"
     22121       coin_reason="--without-clp-incdir has been specified"
     22122     else
     22123       coin_has_clp="no"
     22124       coin_reason="--with-clp-incdir has been specified"
     22125     fi
    2189022126fi;
    21891 
     22127fi
     22128
     22129if test "$coin_has_clp" != no; then
    2189222130
    2189322131# Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given.
    2189422132if test "${with_clp_datadir+set}" = set; then
    2189522133  withval="$with_clp_datadir"
    21896   coin_has_clp="yes, via --with-clp-datadir"
     22134  if test "$withval" = no ; then
     22135       coin_has_clp="no"
     22136       coin_reason="--without-clp-datadir has been specified"
     22137     else
     22138       coin_has_clp="no"
     22139       coin_reason="--with-clp-datadir has been specified"
     22140     fi
    2189722141fi;
    21898 
    21899 
    21900 
    21901 
    21902 
    21903 fi
     22142fi
     22143
     22144
     22145
     22146
    2190422147
    2190522148# check if project is available in present directory
    2190622149if test "$coin_has_clp" = notGiven; then
    21907   if test -d $srcdir//Clp; then
     22150  coin_has_clp=no
     22151  if test -d $srcdir/Clp; then
     22152    coin_reason="source in Clp"
    2190822153    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2190922154    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2191022155    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21911      coin_have_project_dir=yes
    21912 
    21913     if test $coin_have_project_dir = yes; then
    21914       coin_has_clp="yes, source in Clp"
    21915     fi
    21916   fi
    21917 fi
    21918 
    21919 # check for project by using pkg-config, if pkg-config is available
    21920 if test "$coin_has_clp" = notGiven; then
    21921   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21922   if test -n "$PKG_CONFIG" ; then
    21923     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21924     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21925 
    21926 if test -n "$PKG_CONFIG" ; then
    21927   if $PKG_CONFIG --exists "clp"; then
    21928     CLP_VERSION=`$PKG_CONFIG --modversion "clp" 2>/dev/null`
    21929     coin_has_clp="yes, found installed version $CLP_VERSION"
    21930   else
    21931     CLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "clp"`
    21932 
    21933   fi
    21934 else
    21935   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Clp without pkg-config\"" >&5
    21936 echo "$as_me: error: \"Cannot check for existance of module Clp without pkg-config\"" >&2;}
    21937    { (exit 1); exit 1; }; }
    21938 fi
    21939 
    21940     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21941     export PKG_CONFIG_PATH
    21942   fi
    21943 fi
    21944 
    21945 if test "$coin_has_clp" = notGiven; then
    21946   echo "$as_me:$LINENO: result: not given" >&5
    21947 echo "${ECHO_T}not given" >&6
    21948 
    21949 else
     22156     coin_has_clp="yes"
     22157
     22158  fi
     22159fi
     22160
     22161if test -z "$coin_reason" ; then
    2195022162  echo "$as_me:$LINENO: result: $coin_has_clp" >&5
    2195122163echo "${ECHO_T}$coin_has_clp" >&6
    21952 fi
    21953 
    21954 echo "$as_me:$LINENO: checking whether project Clp needs to be configured" >&5
    21955 echo $ECHO_N "checking whether project Clp needs to be configured... $ECHO_C" >&6
    21956 if test "$coin_have_project_dir" = yes ; then
    21957 
     22164else
     22165  echo "$as_me:$LINENO: result: $coin_has_clp, $coin_reason" >&5
     22166echo "${ECHO_T}$coin_has_clp, $coin_reason" >&6
     22167fi
     22168
     22169if test "$coin_has_clp" = yes ; then
    2195822170  if test -r $srcdir/Clp/configure; then
    2195922171    coin_subdirs="$coin_subdirs Clp"
    21960     echo "$as_me:$LINENO: result: yes" >&5
    21961 echo "${ECHO_T}yes" >&6
    2196222172
    2196322173
    2196422174subdirs="$subdirs Clp"
    2196522175
    21966   else
    21967     echo "$as_me:$LINENO: result: no" >&5
    21968 echo "${ECHO_T}no" >&6
    21969   fi
    21970 else
    21971   echo "$as_me:$LINENO: result: no" >&5
    21972 echo "${ECHO_T}no" >&6
     22176  fi
    2197322177fi
    2197422178
     
    2221922423  fi
    2222022424
     22425  # On AIX, the default sed cannot deal with somewhat long sed commands executed by config.status.
     22426  # So we reduce the hardcoded number of commands given to sed from 48 to 5 in config.status, hoping this will suffice.
     22427
     22428
    2222122429  cat >confcache <<\_ACEOF
    2222222430# This file is a shell script that caches the results of configure
     
    2238722595Usually this means the macro was only invoked conditionally." >&5
    2238822596echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
    22389 Usually this means the macro was only invoked conditionally." >&2;}
    22390    { (exit 1); exit 1; }; }
    22391 fi
    22392 if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
    22393   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    22394 Usually this means the macro was only invoked conditionally." >&5
    22395 echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2239622597Usually this means the macro was only invoked conditionally." >&2;}
    2239722598   { (exit 1); exit 1; }; }
     
    2292723128s,@build_vendor@,$build_vendor,;t t
    2292823129s,@build_os@,$build_os,;t t
    22929 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
    22930 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2293123130s,@CDEFS@,$CDEFS,;t t
    2293223131s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2294123140s,@EXEEXT@,$EXEEXT,;t t
    2294223141s,@OBJEXT@,$OBJEXT,;t t
     23142s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
     23143s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2294323144s,@MPICC@,$MPICC,;t t
    2294423145s,@CXXDEFS@,$CXXDEFS,;t t
     
    2295623157s,@OPT_FFLAGS@,$OPT_FFLAGS,;t t
    2295723158s,@F77@,$F77,;t t
     23159s,@ac_ct_F77@,$ac_ct_F77,;t t
    2295823160s,@FFLAGS@,$FFLAGS,;t t
    22959 s,@ac_ct_F77@,$ac_ct_F77,;t t
    2296023161s,@MPIF77@,$MPIF77,;t t
    2296123162s,@EGREP@,$EGREP,;t t
     23163s,@LN_S@,$LN_S,;t t
    2296223164s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    2296323165s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     
    2301323215s,@host_vendor@,$host_vendor,;t t
    2301423216s,@host_os@,$host_os,;t t
    23015 s,@LN_S@,$LN_S,;t t
    2301623217s,@ECHO@,$ECHO,;t t
    2301723218s,@AR@,$AR,;t t
     
    2302623227s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2302723228s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    23028 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
    23029 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
    23030 s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
    23031 s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
    23032 s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t
    23033 s,@COIN_PKG_CONFIG_PATH_UNINSTALLED@,$COIN_PKG_CONFIG_PATH_UNINSTALLED,;t t
    2303423229s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t
    2303523230s,@subdirs@,$subdirs,;t t
     
    2349423689
    2349523690
     23691    case $build in
     23692      *-aix*)
     23693        { echo "$as_me:$LINENO: patching config.status to reduce ac_max_sed_lines to 5" >&5
     23694echo "$as_me: patching config.status to reduce ac_max_sed_lines to 5" >&6;}
     23695        sed -e 's/ac_max_sed_lines=48/ac_max_sed_lines=5/g' config.status > config.status.tmp
     23696        mv config.status.tmp config.status
     23697      ;;
     23698    esac
     23699
     23700
    2349623701# configure is writing to config.log, and then calls config.status.
    2349723702# config.status does its own redirection, appending to config.log.
     
    2374723952  fi
    2374823953
     23954  { echo "$as_me:$LINENO: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&5
     23955echo "$as_me: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting" >&6;}
    2374923956  if test x$coin_projectdir = xyes; then
    2375023957    { echo "$as_me:$LINENO: Configuration of $PACKAGE_NAME successful" >&5
Note: See TracChangeset for help on using the changeset viewer.