Changeset 1604 for trunk/configure


Ignore:
Timestamp:
Feb 27, 2011 1:02:35 PM (9 years ago)
Author:
stefan
Message:

remove unnessary last argument of AC_COIN_MAIN_PACKAGEDIR; rerun autotools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r1578 r1604  
    488488ac_subdirs_all="$ac_subdirs_all Cgl"
    489489ac_subdirs_all="$ac_subdirs_all Cbc"
    490 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'
     490ac_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 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'
    491491ac_subst_files=''
    492492
     
    10251025ac_cv_env_CXXCPP_set=${CXXCPP+set}
    10261026ac_cv_env_CXXCPP_value=$CXXCPP
    1027 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    1028 ac_env_PKG_CONFIG_value=$PKG_CONFIG
    1029 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
    1030 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
    10311027ac_env_COIN_SKIP_PROJECTS_set=${COIN_SKIP_PROJECTS+set}
    10321028ac_env_COIN_SKIP_PROJECTS_value=$COIN_SKIP_PROJECTS
     
    11311127                          optimize for fast installation [default=yes]
    11321128  --disable-libtool-lock  avoid locking (might break parallel builds)
    1133   --enable-pkg-config     use pkg-config if available (default is yes)
    11341129
    11351130Optional Packages:
     
    11411136  --with-tags[=TAGS]
    11421137                          include additional configurations [automatic]
    1143   --with-coin-instdir     prefix of installation directory for precompiled
    1144                           COIN packages
    11451138  --with-asl-lib linker flags for using project ASL
    11461139  --with-asl-incdir directory with header files for using project ASL
     
    11491142  --with-blas-incdir directory with header files for using project Blas
    11501143  --with-blas-datadir directory with data files for using project Blas
    1151   --with-blas             specify BLAS library (or BUILD for compilation)
     1144  --with-blas             specify BLAS library (or BUILD to enforce use of
     1145                          ThirdParty/Blas)
    11521146  --with-lapack-lib linker flags for using project Lapack
    11531147  --with-lapack-incdir directory with header files for using project Lapack
    11541148  --with-lapack-datadir directory with data files for using project Lapack
    1155   --with-lapack           specify LAPACK library (or BUILD for compilation)
     1149  --with-lapack           specify LAPACK library (or BUILD to enforce use of
     1150                          ThirdParty/Lapack)
    11561151  --with-glpk-lib linker flags for using project Glpk
    11571152  --with-glpk-incdir directory with header files for using project Glpk
     
    12231218  CPP         C preprocessor
    12241219  CXXCPP      C++ preprocessor
    1225   PKG_CONFIG  path to pkg-config utility
    12261220  COIN_SKIP_PROJECTS
    12271221              Set to the subdirectories of projects that should be skipped in
     
    40904084       coin_f77_comps="ifort fl32 compile_f2c"
    40914085     else
    4092        coin_f77_comps="gfortran g77 ifort fl32 compile_f2c"
     4086       coin_f77_comps="gfortran ifort g95 g77 fl32 compile_f2c"
    40934087     fi ;;
    40944088  *-*-solaris*)
    4095      coin_f77_comps="f95 f90 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
     4089     coin_f77_comps="f95 f90 g95 f77 xlf_r fort77 gfortran g77 pgf90 pgf77 ifort ifc frt af77" ;;
    40964090  *-linux-gnu*)
    4097      coin_f77_comps="gfortran fort77 f77 g77 pgf90 pgf77 ifort ifc frt af77 xlf_r" ;;
    4098   *) coin_f77_comps="xlf_r fort77 gfortran f77 g77 pgf90 pgf77 ifort ifc frt af77" ;;
     4091     coin_f77_comps="gfortran ifort g95 fort77 f77 g77 pgf90 pgf77 ifc frt af77 xlf_r" ;;
     4092  *) coin_f77_comps="xlf_r fort77 gfortran ifort g95 f77 g77 pgf90 pgf77 ifc frt af77" ;;
    40994093 esac
    41004094
     
    42674261
    42684262# Provide some information about the compiler.
    4269 echo "$as_me:4269:" \
     4263echo "$as_me:4263:" \
    42704264     "checking for Fortran 77 compiler version" >&5
    42714265ac_compiler=`set X $ac_compile; echo $2`
     
    48744868
    48754869
     4870echo "$as_me:$LINENO: checking whether ln -s works" >&5
     4871echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     4872LN_S=$as_ln_s
     4873if test "$LN_S" = "ln -s"; then
     4874  echo "$as_me:$LINENO: result: yes" >&5
     4875echo "${ECHO_T}yes" >&6
     4876else
     4877  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     4878echo "${ECHO_T}no, using $LN_S" >&6
     4879fi
     4880
    48764881am__api_version="1.9"
    48774882# Find a good install program.  We prefer a C program (faster),
     
    52035208
    52045209
     5210
    52055211# AC_MSG_NOTICE([Beginning automake initialisation.])
    52065212# Stuff for automake
     
    58455851
    58465852
    5847   # Check if we have an Externals file
    5848   if test -r $srcdir/Externals; then
     5853  # Check if we have an Dependencies file
     5854  if test -r $srcdir/Dependencies; then
    58495855    coin_have_externals=yes
    58505856  fi
     
    59195925        { { echo "$as_me:$LINENO: error: Cannot find the BuildTools directory" >&5
    59205926echo "$as_me: error: Cannot find the BuildTools directory" >&2;}
    5921    { (exit 1); exit 1; }; }
     5927   { (exit better disable maintainer mode.); exit better disable maintainer mode.; }; }
    59225928      fi
    59235929    fi
    59245930  fi
    59255931
     5932
     5933  # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
     5934  if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
     5935    $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
     5936  fi
    59265937
    59275938  # The following variable is set to the name of the directory where
     
    62906301echo "${ECHO_T}$lt_cv_path_NM" >&6
    62916302NM="$lt_cv_path_NM"
    6292 
    6293 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    6294 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
    6295 LN_S=$as_ln_s
    6296 if test "$LN_S" = "ln -s"; then
    6297   echo "$as_me:$LINENO: result: yes" >&5
    6298 echo "${ECHO_T}yes" >&6
    6299 else
    6300   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    6301 echo "${ECHO_T}no, using $LN_S" >&6
    6302 fi
    63036303
    63046304echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
     
    2091820918
    2091920919
    20920 
    20921 # Check whether --enable-pkg-config or --disable-pkg-config was given.
    20922 if test "${enable_pkg_config+set}" = set; then
    20923   enableval="$enable_pkg_config"
    20924   use_pkgconfig="$enableval"
    20925 else
    20926   use_pkgconfig=yes
    20927 fi;
    20928 
    20929 if test $use_pkgconfig = yes ; then
    20930   if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
    20931     if test -n "$ac_tool_prefix"; then
    20932   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
    20933 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
    20934 echo "$as_me:$LINENO: checking for $ac_word" >&5
    20935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20936 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
    20937   echo $ECHO_N "(cached) $ECHO_C" >&6
    20938 else
    20939   case $PKG_CONFIG in
    20940   [\\/]* | ?:[\\/]*)
    20941   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
    20942   ;;
    20943   *)
    20944   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    20945 for as_dir in $PATH
    20946 do
    20947   IFS=$as_save_IFS
    20948   test -z "$as_dir" && as_dir=.
    20949   for ac_exec_ext in '' $ac_executable_extensions; do
    20950   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20951     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    20952     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    20953     break 2
    20954   fi
    20955 done
    20956 done
    20957 
    20958   ;;
    20959 esac
    20960 fi
    20961 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
    20962 
    20963 if test -n "$PKG_CONFIG"; then
    20964   echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
    20965 echo "${ECHO_T}$PKG_CONFIG" >&6
    20966 else
    20967   echo "$as_me:$LINENO: result: no" >&5
    20968 echo "${ECHO_T}no" >&6
    20969 fi
    20970 
    20971 fi
    20972 if test -z "$ac_cv_path_PKG_CONFIG"; then
    20973   ac_pt_PKG_CONFIG=$PKG_CONFIG
    20974   # Extract the first word of "pkg-config", so it can be a program name with args.
    20975 set dummy pkg-config; ac_word=$2
    20976 echo "$as_me:$LINENO: checking for $ac_word" >&5
    20977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    20978 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
    20979   echo $ECHO_N "(cached) $ECHO_C" >&6
    20980 else
    20981   case $ac_pt_PKG_CONFIG in
    20982   [\\/]* | ?:[\\/]*)
    20983   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
    20984   ;;
    20985   *)
    20986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    20987 for as_dir in $PATH
    20988 do
    20989   IFS=$as_save_IFS
    20990   test -z "$as_dir" && as_dir=.
    20991   for ac_exec_ext in '' $ac_executable_extensions; do
    20992   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20993     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    20994     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    20995     break 2
    20996   fi
    20997 done
    20998 done
    20999 
    21000   ;;
    21001 esac
    21002 fi
    21003 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
    21004 
    21005 if test -n "$ac_pt_PKG_CONFIG"; then
    21006   echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
    21007 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
    21008 else
    21009   echo "$as_me:$LINENO: result: no" >&5
    21010 echo "${ECHO_T}no" >&6
    21011 fi
    21012 
    21013   PKG_CONFIG=$ac_pt_PKG_CONFIG
    21014 else
    21015   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
    21016 fi
    21017 
    21018   fi
    21019   if test -n "$PKG_CONFIG"; then
    21020     _pkg_min_version=0.9.0
    21021     echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
    21022 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
    21023     if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
    21024       echo "$as_me:$LINENO: result: yes" >&5
    21025 echo "${ECHO_T}yes" >&6
    21026     else
    21027       echo "$as_me:$LINENO: result: no" >&5
    21028 echo "${ECHO_T}no" >&6
    21029       PKG_CONFIG=""
    21030     fi
    21031   fi
    21032 
    21033   # check if pkg-config supports the short-errors flag
    21034   if test -n "$PKG_CONFIG" && \
    21035     $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
    21036     pkg_short_errors=" --short-errors "
    21037   else
    21038     pkg_short_errors=""
    21039   fi
    21040 fi
    21041 
    21042 
    21043 
    21044 if test -n "$PKG_CONFIG"; then
    21045   COIN_HAS_PKGCONFIG_TRUE=
    21046   COIN_HAS_PKGCONFIG_FALSE='#'
    21047 else
    21048   COIN_HAS_PKGCONFIG_TRUE='#'
    21049   COIN_HAS_PKGCONFIG_FALSE=
    21050 fi
    21051 
    21052 
    21053 
    21054 # assemble pkg-config search path for installed projects
    21055 COIN_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21056 
    21057 # 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
    21058 # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
    21059 # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    21060 if test "x${prefix}" = xNONE ; then
    21061   COIN_PKG_CONFIG_PATH="${ac_default_prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    21062 else
    21063   COIN_PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    21064 fi
    21065 
    21066 
    21067 # Check whether --with-coin-instdir or --without-coin-instdir was given.
    21068 if test "${with_coin_instdir+set}" = set; then
    21069   withval="$with_coin_instdir"
    21070   if test -d "$withval"; then : ; else
    21071      { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
    21072 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
    21073    { (exit 1); exit 1; }; }
    21074    fi
    21075    COIN_PKG_CONFIG_PATH="$withval/lib/pkgconfig:${COIN_PKG_CONFIG_PATH}"
    21076 
    21077 fi;
    21078 
    21079 
    21080 
    21081 # assemble additional pkg-config search paths for uninstalled projects
    21082 if test x$coin_projectdir = xyes ; then
    21083   # if we are in a project setup, then in a classic setup, we want to find uninstalled projects
    21084   # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
    21085   # unfortunately, if the user set prefix, then we do not know where the project base directory is located
    21086   # 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)
    21087   COIN_PKG_CONFIG_PATH_UNINSTALLED=
    21088   if test -e ../coin_subdirs.txt ; then
    21089     for i in `cat ../coin_subdirs.txt` ; do
    21090       if test -d ../$i ; then
    21091         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21092       fi
    21093       if test -d ../$i/pkgconfig ; then
    21094         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21095       fi
    21096     done
    21097   fi
    21098 
    21099   if test -e ../../coin_subdirs.txt ; then
    21100     for i in `cat ../../coin_subdirs.txt` ; do
    21101       if test -d ../../$i ; then
    21102         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21103       fi
    21104       if test -d ../../$i/pkgconfig ; then
    21105         COIN_PKG_CONFIG_PATH_UNINSTALLED="`cd ../../$i/pkgconfig; pwd`:${COIN_PKG_CONFIG_PATH_UNINSTALLED}"
    21106       fi
    21107     done
    21108   fi
    21109 
    21110 
    21111 fi
    21112 
    21113 
    21114 
    21115 echo "$as_me:$LINENO: checking whether project ASL is available" >&5
    21116 echo $ECHO_N "checking whether project ASL is available... $ECHO_C" >&6
     20920echo "$as_me:$LINENO: checking whether source of project ASL is available and should be compiled" >&5
     20921echo $ECHO_N "checking whether source of project ASL is available and should be compiled... $ECHO_C" >&6
    2111720922
    2111820923coin_has_asl=notGiven
    21119 coin_have_project_dir=no
     20924coin_reason=
    2112020925
    2112120926# check if user wants to skip project in any case
     
    2112420929  for dir in $COIN_SKIP_PROJECTS; do
    2112520930    if test $dir = "ASL"; then
    21126       coin_has_asl=skipping
     20931      coin_has_asl="no"
     20932      coin_reason="ASL has been specified in COIN_SKIP_PROJECTS"
    2112720933    fi
     20934
    2112820935    if test $dir = "ThirdParty/ASL"; then
    21129       coin_has_asl=skipping
     20936      coin_has_asl="no"
     20937      coin_reason="ThirdParty/ASL has been specified in COIN_SKIP_PROJECTS"
    2113020938    fi
    2113120939  done
    2113220940fi
    2113320941
    21134 if test $coin_has_asl != skipping; then
    21135   if test $PACKAGE_TARNAME = asl; then
    21136     coin_has_asl=yes
    21137     coin_have_project_dir=yes
    21138   fi
    21139 
     20942if test "$coin_has_asl" != no; then
    2114020943
    2114120944# Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given.
    2114220945if test "${with_asl_lib+set}" = set; then
    2114320946  withval="$with_asl_lib"
    21144   coin_has_asl="yes, via --with-asl-lib"
     20947  if test "$withval" = no ; then
     20948       coin_has_asl="no"
     20949       coin_reason="--without-asl-lib has been specified"
     20950     else
     20951       coin_has_asl="no"
     20952       coin_reason="--with-asl-lib has been specified"
     20953     fi
    2114520954fi;
    21146 
     20955fi
     20956
     20957if test "$coin_has_asl" != no; then
    2114720958
    2114820959# Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given.
    2114920960if test "${with_asl_incdir+set}" = set; then
    2115020961  withval="$with_asl_incdir"
    21151   coin_has_asl="yes, via --with-asl-incdir"
     20962  if test "$withval" = no ; then
     20963       coin_has_asl="no"
     20964       coin_reason="--without-asl-incdir has been specified"
     20965     else
     20966       coin_has_asl="no"
     20967       coin_reason="--with-asl-incdir has been specified"
     20968     fi
    2115220969fi;
    21153 
     20970fi
     20971
     20972if test "$coin_has_asl" != no; then
    2115420973
    2115520974# Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given.
    2115620975if test "${with_asl_datadir+set}" = set; then
    2115720976  withval="$with_asl_datadir"
    21158   coin_has_asl="yes, via --with-asl-datadir"
     20977  if test "$withval" = no ; then
     20978       coin_has_asl="no"
     20979       coin_reason="--without-asl-datadir has been specified"
     20980     else
     20981       coin_has_asl="no"
     20982       coin_reason="--with-asl-datadir has been specified"
     20983     fi
    2115920984fi;
    21160 
    21161 
    21162 
    21163 
    21164 
    21165 fi
     20985fi
     20986
     20987
     20988
     20989
    2116620990
    2116720991# check if project is available in present directory
    2116820992if test "$coin_has_asl" = notGiven; then
     20993  coin_has_asl=no
    2116920994  if test -d $srcdir/ThirdParty/ASL; then
     20995    coin_reason="source in ThirdParty/ASL"
    2117020996    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2117120997    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     
    2117320999    for i in $srcdir/ThirdParty/ASL/solvers/asl.h; do
    2117421000         if test -r $i; then
    21175            coin_have_project_dir=yes
     21001           coin_has_asl="yes"
     21002         else
     21003           coin_has_asl="no"
     21004           coin_reason="source file $i not available"
     21005           break
    2117621006         fi
    2117721007       done
    2117821008
    21179     if test $coin_have_project_dir = yes; then
    21180       coin_has_asl="yes, source in ThirdParty/ASL"
    21181     fi
    21182   fi
    21183 fi
    21184 
    21185 # check for project by using pkg-config, if pkg-config is available
    21186 if test "$coin_has_asl" = notGiven; then
    21187   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21188   if test -n "$PKG_CONFIG" ; then
    21189     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21190     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21191 
    21192 if test -n "$PKG_CONFIG" ; then
    21193   if $PKG_CONFIG --exists "coinasl"; then
    21194     COINASL_VERSION=`$PKG_CONFIG --modversion "coinasl" 2>/dev/null`
    21195     coin_has_asl="yes, found installed version $COINASL_VERSION"
    21196   else
    21197     COINASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinasl"`
    21198 
    21199   fi
    21200 else
    21201   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&5
    21202 echo "$as_me: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&2;}
    21203    { (exit 1); exit 1; }; }
    21204 fi
    21205 
    21206     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21207     export PKG_CONFIG_PATH
    21208   fi
    21209 fi
    21210 
    21211 if test "$coin_has_asl" = notGiven; then
    21212   echo "$as_me:$LINENO: result: not given" >&5
    21213 echo "${ECHO_T}not given" >&6
    21214 
    21215 else
     21009  fi
     21010fi
     21011
     21012if test -z "$coin_reason" ; then
    2121621013  echo "$as_me:$LINENO: result: $coin_has_asl" >&5
    2121721014echo "${ECHO_T}$coin_has_asl" >&6
    21218 fi
    21219 
    21220 echo "$as_me:$LINENO: checking whether project ThirdParty/ASL needs to be configured" >&5
    21221 echo $ECHO_N "checking whether project ThirdParty/ASL needs to be configured... $ECHO_C" >&6
    21222 if test "$coin_have_project_dir" = yes ; then
    21223 
     21015else
     21016  echo "$as_me:$LINENO: result: $coin_has_asl, $coin_reason" >&5
     21017echo "${ECHO_T}$coin_has_asl, $coin_reason" >&6
     21018fi
     21019
     21020if test "$coin_has_asl" = yes ; then
    2122421021  if test -r $srcdir/ThirdParty/ASL/configure; then
    2122521022    coin_subdirs="$coin_subdirs ThirdParty/ASL"
    21226     echo "$as_me:$LINENO: result: yes" >&5
    21227 echo "${ECHO_T}yes" >&6
    2122821023
    2122921024
    2123021025subdirs="$subdirs ThirdParty/ASL"
    2123121026
    21232   else
    21233     echo "$as_me:$LINENO: result: no" >&5
    21234 echo "${ECHO_T}no" >&6
    21235   fi
    21236 else
    21237   echo "$as_me:$LINENO: result: no" >&5
    21238 echo "${ECHO_T}no" >&6
    21239 fi
    21240 
    21241 
    21242 echo "$as_me:$LINENO: checking whether project Blas is available" >&5
    21243 echo $ECHO_N "checking whether project Blas is available... $ECHO_C" >&6
     21027  fi
     21028fi
     21029
     21030
     21031echo "$as_me:$LINENO: checking whether source of project Blas is available and should be compiled" >&5
     21032echo $ECHO_N "checking whether source of project Blas is available and should be compiled... $ECHO_C" >&6
    2124421033
    2124521034coin_has_blas=notGiven
    21246 coin_have_project_dir=no
     21035coin_reason=
    2124721036
    2124821037# check if user wants to skip project in any case
     
    2125121040  for dir in $COIN_SKIP_PROJECTS; do
    2125221041    if test $dir = "Blas"; then
    21253       coin_has_blas=skipping
     21042      coin_has_blas="no"
     21043      coin_reason="Blas has been specified in COIN_SKIP_PROJECTS"
    2125421044    fi
     21045
    2125521046    if test $dir = "ThirdParty/Blas"; then
    21256       coin_has_blas=skipping
     21047      coin_has_blas="no"
     21048      coin_reason="ThirdParty/Blas has been specified in COIN_SKIP_PROJECTS"
    2125721049    fi
    2125821050  done
    2125921051fi
    2126021052
    21261 if test $coin_has_blas != skipping; then
    21262   if test $PACKAGE_TARNAME = blas; then
    21263     coin_has_blas=yes
    21264     coin_have_project_dir=yes
    21265   fi
    21266 
     21053if test "$coin_has_blas" != no; then
    2126721054
    2126821055# Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
    2126921056if test "${with_blas_lib+set}" = set; then
    2127021057  withval="$with_blas_lib"
    21271   coin_has_blas="yes, via --with-blas-lib"
     21058  if test "$withval" = no ; then
     21059       coin_has_blas="no"
     21060       coin_reason="--without-blas-lib has been specified"
     21061     else
     21062       coin_has_blas="no"
     21063       coin_reason="--with-blas-lib has been specified"
     21064     fi
    2127221065fi;
    21273 
     21066fi
     21067
     21068if test "$coin_has_blas" != no; then
    2127421069
    2127521070# Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
    2127621071if test "${with_blas_incdir+set}" = set; then
    2127721072  withval="$with_blas_incdir"
    21278   coin_has_blas="yes, via --with-blas-incdir"
     21073  if test "$withval" = no ; then
     21074       coin_has_blas="no"
     21075       coin_reason="--without-blas-incdir has been specified"
     21076     else
     21077       coin_has_blas="no"
     21078       coin_reason="--with-blas-incdir has been specified"
     21079     fi
    2127921080fi;
    21280 
     21081fi
     21082
     21083if test "$coin_has_blas" != no; then
    2128121084
    2128221085# Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
    2128321086if test "${with_blas_datadir+set}" = set; then
    2128421087  withval="$with_blas_datadir"
    21285   coin_has_blas="yes, via --with-blas-datadir"
     21088  if test "$withval" = no ; then
     21089       coin_has_blas="no"
     21090       coin_reason="--without-blas-datadir has been specified"
     21091     else
     21092       coin_has_blas="no"
     21093       coin_reason="--with-blas-datadir has been specified"
     21094     fi
    2128621095fi;
    21287 
    21288 
     21096fi
     21097
     21098
     21099  if test $coin_has_blas != no; then
    2128921100    #--with-blas can overwrite --with-blas-lib, and can be set to BUILD to enforce building blas
    2129021101
     
    2129221103if test "${with_blas+set}" = set; then
    2129321104  withval="$with_blas"
    21294   if test x"$withval" = "xBUILD" ; then
    21295            coin_has_blas=notGiven
    21296          else
    21297            coin_has_blas="yes, via --with-blas"
     21105  if test x"$withval" = "xno" ; then
     21106           coin_has_blas="no"
     21107           coin_reason="--without-blas has been specified"
     21108         elif test x"$withval" != "xBUILD" ; then
     21109           coin_has_blas="no"
     21110           coin_reason="--with-blas has been specified"
    2129821111         fi
    2129921112fi;
    21300 
    21301 
    21302 
    21303 fi
     21113  fi
     21114
     21115
     21116
    2130421117
    2130521118# check if project is available in present directory
    2130621119if test "$coin_has_blas" = notGiven; then
     21120  coin_has_blas=no
    2130721121  if test -d $srcdir/ThirdParty/Blas; then
     21122    coin_reason="source in ThirdParty/Blas"
    2130821123    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2130921124    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     
    2131121126    for i in $srcdir/ThirdParty/Blas/daxpy.f; do
    2131221127         if test -r $i; then
    21313            coin_have_project_dir=yes
     21128           coin_has_blas="yes"
     21129         else
     21130           coin_has_blas="no"
     21131           coin_reason="source file $i not available"
     21132           break
    2131421133         fi
    2131521134       done
    2131621135
    21317     if test $coin_have_project_dir = yes; then
    21318       coin_has_blas="yes, source in ThirdParty/Blas"
    21319     fi
    21320   fi
    21321 fi
    21322 
    21323 # check for project by using pkg-config, if pkg-config is available
    21324 if test "$coin_has_blas" = notGiven; then
    21325   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21326   if test -n "$PKG_CONFIG" ; then
    21327     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21328     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21329 
    21330 if test -n "$PKG_CONFIG" ; then
    21331   if $PKG_CONFIG --exists "coinblas"; then
    21332     COINBLAS_VERSION=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null`
    21333     coin_has_blas="yes, found installed version $COINBLAS_VERSION"
    21334   else
    21335     COINBLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"`
    21336 
    21337   fi
    21338 else
    21339   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5
    21340 echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;}
    21341    { (exit 1); exit 1; }; }
    21342 fi
    21343 
    21344     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21345     export PKG_CONFIG_PATH
    21346   fi
    21347 fi
    21348 
    21349 if test "$coin_has_blas" = notGiven; then
    21350   echo "$as_me:$LINENO: result: no (but will check for system blas later)" >&5
    21351 echo "${ECHO_T}no (but will check for system blas later)" >&6
    21352 else
     21136  fi
     21137fi
     21138
     21139if test -z "$coin_reason" ; then
    2135321140  echo "$as_me:$LINENO: result: $coin_has_blas" >&5
    2135421141echo "${ECHO_T}$coin_has_blas" >&6
    21355 fi
    21356 
    21357 echo "$as_me:$LINENO: checking whether project ThirdParty/Blas needs to be configured" >&5
    21358 echo $ECHO_N "checking whether project ThirdParty/Blas needs to be configured... $ECHO_C" >&6
    21359 if test "$coin_have_project_dir" = yes ; then
    21360 
     21142else
     21143  echo "$as_me:$LINENO: result: $coin_has_blas, $coin_reason" >&5
     21144echo "${ECHO_T}$coin_has_blas, $coin_reason" >&6
     21145fi
     21146
     21147if test "$coin_has_blas" = yes ; then
    2136121148  if test -r $srcdir/ThirdParty/Blas/configure; then
    2136221149    coin_subdirs="$coin_subdirs ThirdParty/Blas"
    21363     echo "$as_me:$LINENO: result: yes" >&5
    21364 echo "${ECHO_T}yes" >&6
    2136521150
    2136621151
    2136721152subdirs="$subdirs ThirdParty/Blas"
    2136821153
    21369   else
    21370     echo "$as_me:$LINENO: result: no" >&5
    21371 echo "${ECHO_T}no" >&6
    21372   fi
    21373 else
    21374   echo "$as_me:$LINENO: result: no" >&5
    21375 echo "${ECHO_T}no" >&6
    21376 fi
    21377 
    21378 
    21379 echo "$as_me:$LINENO: checking whether project Lapack is available" >&5
    21380 echo $ECHO_N "checking whether project Lapack is available... $ECHO_C" >&6
     21154  fi
     21155fi
     21156
     21157
     21158echo "$as_me:$LINENO: checking whether source of project Lapack is available and should be compiled" >&5
     21159echo $ECHO_N "checking whether source of project Lapack is available and should be compiled... $ECHO_C" >&6
    2138121160
    2138221161coin_has_lapack=notGiven
    21383 coin_have_project_dir=no
     21162coin_reason=
    2138421163
    2138521164# check if user wants to skip project in any case
     
    2138821167  for dir in $COIN_SKIP_PROJECTS; do
    2138921168    if test $dir = "Lapack"; then
    21390       coin_has_lapack=skipping
     21169      coin_has_lapack="no"
     21170      coin_reason="Lapack has been specified in COIN_SKIP_PROJECTS"
    2139121171    fi
     21172
    2139221173    if test $dir = "ThirdParty/Lapack"; then
    21393       coin_has_lapack=skipping
     21174      coin_has_lapack="no"
     21175      coin_reason="ThirdParty/Lapack has been specified in COIN_SKIP_PROJECTS"
    2139421176    fi
    2139521177  done
    2139621178fi
    2139721179
    21398 if test $coin_has_lapack != skipping; then
    21399   if test $PACKAGE_TARNAME = lapack; then
    21400     coin_has_lapack=yes
    21401     coin_have_project_dir=yes
    21402   fi
    21403 
     21180if test "$coin_has_lapack" != no; then
    2140421181
    2140521182# Check whether --with-m4_tolower(Lapack)-lib or --without-m4_tolower(Lapack)-lib was given.
    2140621183if test "${with_lapack_lib+set}" = set; then
    2140721184  withval="$with_lapack_lib"
    21408   coin_has_lapack="yes, via --with-lapack-lib"
     21185  if test "$withval" = no ; then
     21186       coin_has_lapack="no"
     21187       coin_reason="--without-lapack-lib has been specified"
     21188     else
     21189       coin_has_lapack="no"
     21190       coin_reason="--with-lapack-lib has been specified"
     21191     fi
    2140921192fi;
    21410 
     21193fi
     21194
     21195if test "$coin_has_lapack" != no; then
    2141121196
    2141221197# Check whether --with-m4_tolower(Lapack)-incdir or --without-m4_tolower(Lapack)-incdir was given.
    2141321198if test "${with_lapack_incdir+set}" = set; then
    2141421199  withval="$with_lapack_incdir"
    21415   coin_has_lapack="yes, via --with-lapack-incdir"
     21200  if test "$withval" = no ; then
     21201       coin_has_lapack="no"
     21202       coin_reason="--without-lapack-incdir has been specified"
     21203     else
     21204       coin_has_lapack="no"
     21205       coin_reason="--with-lapack-incdir has been specified"
     21206     fi
    2141621207fi;
    21417 
     21208fi
     21209
     21210if test "$coin_has_lapack" != no; then
    2141821211
    2141921212# Check whether --with-m4_tolower(Lapack)-datadir or --without-m4_tolower(Lapack)-datadir was given.
    2142021213if test "${with_lapack_datadir+set}" = set; then
    2142121214  withval="$with_lapack_datadir"
    21422   coin_has_lapack="yes, via --with-lapack-datadir"
     21215  if test "$withval" = no ; then
     21216       coin_has_lapack="no"
     21217       coin_reason="--without-lapack-datadir has been specified"
     21218     else
     21219       coin_has_lapack="no"
     21220       coin_reason="--with-lapack-datadir has been specified"
     21221     fi
    2142321222fi;
    21424 
    21425 
    21426 
    21427 
     21223fi
     21224
     21225
     21226
     21227
     21228  if test $coin_has_lapack != skipping; then
    2142821229    #--with-lapack can overwrite --with-lapack-lib, and can be set to BUILD to enforce building lapack
    2142921230
     
    2143121232if test "${with_lapack+set}" = set; then
    2143221233  withval="$with_lapack"
    21433   if test x"$withval" = "xBUILD" ; then
    21434            coin_has_lapack=notGiven
    21435          else
    21436            coin_has_lapack="yes, via --with-lapack"
     21234  if test x"$withval" = "xno" ; then
     21235           coin_has_lapack="no"
     21236           coin_reason="--without-lapack has been specified"
     21237         elif test x"$withval" != "xBUILD" ; then
     21238           coin_has_lapack="no"
     21239           coin_reason="--with-lapack has been specified"
    2143721240         fi
    2143821241fi;
    21439 
    21440 fi
     21242  fi
     21243
    2144121244
    2144221245# check if project is available in present directory
    2144321246if test "$coin_has_lapack" = notGiven; then
     21247  coin_has_lapack=no
    2144421248  if test -d $srcdir/ThirdParty/Lapack; then
     21249    coin_reason="source in ThirdParty/Lapack"
    2144521250    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2144621251    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     
    2144821253    for i in $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; do
    2144921254         if test -r $i; then
    21450            coin_have_project_dir=yes
     21255           coin_has_lapack="yes"
     21256         else
     21257           coin_has_lapack="no"
     21258           coin_reason="source file $i not available"
     21259           break
    2145121260         fi
    2145221261       done
    2145321262
    21454     if test $coin_have_project_dir = yes; then
    21455       coin_has_lapack="yes, source in ThirdParty/Lapack"
    21456     fi
    21457   fi
    21458 fi
    21459 
    21460 # check for project by using pkg-config, if pkg-config is available
    21461 if test "$coin_has_lapack" = notGiven; then
    21462   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21463   if test -n "$PKG_CONFIG" ; then
    21464     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21465     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21466 
    21467 if test -n "$PKG_CONFIG" ; then
    21468   if $PKG_CONFIG --exists "coinlapack"; then
    21469     COINLAPACK_VERSION=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null`
    21470     coin_has_lapack="yes, found installed version $COINLAPACK_VERSION"
    21471   else
    21472     COINLAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"`
    21473 
    21474   fi
    21475 else
    21476   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5
    21477 echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;}
    21478    { (exit 1); exit 1; }; }
    21479 fi
    21480 
    21481     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21482     export PKG_CONFIG_PATH
    21483   fi
    21484 fi
    21485 
    21486 if test "$coin_has_lapack" = notGiven; then
    21487   echo "$as_me:$LINENO: result: no (but will check for system lapack later)" >&5
    21488 echo "${ECHO_T}no (but will check for system lapack later)" >&6
    21489 else
     21263  fi
     21264fi
     21265
     21266if test -z "$coin_reason" ; then
    2149021267  echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
    2149121268echo "${ECHO_T}$coin_has_lapack" >&6
    21492 fi
    21493 
    21494 echo "$as_me:$LINENO: checking whether project ThirdParty/Lapack needs to be configured" >&5
    21495 echo $ECHO_N "checking whether project ThirdParty/Lapack needs to be configured... $ECHO_C" >&6
    21496 if test "$coin_have_project_dir" = yes ; then
    21497 
     21269else
     21270  echo "$as_me:$LINENO: result: $coin_has_lapack, $coin_reason" >&5
     21271echo "${ECHO_T}$coin_has_lapack, $coin_reason" >&6
     21272fi
     21273
     21274if test "$coin_has_lapack" = yes ; then
    2149821275  if test -r $srcdir/ThirdParty/Lapack/configure; then
    2149921276    coin_subdirs="$coin_subdirs ThirdParty/Lapack"
    21500     echo "$as_me:$LINENO: result: yes" >&5
    21501 echo "${ECHO_T}yes" >&6
    2150221277
    2150321278
    2150421279subdirs="$subdirs ThirdParty/Lapack"
    2150521280
    21506   else
    21507     echo "$as_me:$LINENO: result: no" >&5
    21508 echo "${ECHO_T}no" >&6
    21509   fi
    21510 else
    21511   echo "$as_me:$LINENO: result: no" >&5
    21512 echo "${ECHO_T}no" >&6
    21513 fi
    21514 
    21515 
    21516 echo "$as_me:$LINENO: checking whether project Glpk is available" >&5
    21517 echo $ECHO_N "checking whether project Glpk is available... $ECHO_C" >&6
     21281  fi
     21282fi
     21283
     21284
     21285echo "$as_me:$LINENO: checking whether source of project Glpk is available and should be compiled" >&5
     21286echo $ECHO_N "checking whether source of project Glpk is available and should be compiled... $ECHO_C" >&6
    2151821287
    2151921288coin_has_glpk=notGiven
    21520 coin_have_project_dir=no
     21289coin_reason=
    2152121290
    2152221291# check if user wants to skip project in any case
     
    2152521294  for dir in $COIN_SKIP_PROJECTS; do
    2152621295    if test $dir = "Glpk"; then
    21527       coin_has_glpk=skipping
     21296      coin_has_glpk="no"
     21297      coin_reason="Glpk has been specified in COIN_SKIP_PROJECTS"
    2152821298    fi
     21299
    2152921300    if test $dir = "ThirdParty/Glpk"; then
    21530       coin_has_glpk=skipping
     21301      coin_has_glpk="no"
     21302      coin_reason="ThirdParty/Glpk has been specified in COIN_SKIP_PROJECTS"
    2153121303    fi
    2153221304  done
    2153321305fi
    2153421306
    21535 if test $coin_has_glpk != skipping; then
    21536   if test $PACKAGE_TARNAME = glpk; then
    21537     coin_has_glpk=yes
    21538     coin_have_project_dir=yes
    21539   fi
    21540 
     21307if test "$coin_has_glpk" != no; then
    2154121308
    2154221309# Check whether --with-m4_tolower(Glpk)-lib or --without-m4_tolower(Glpk)-lib was given.
    2154321310if test "${with_glpk_lib+set}" = set; then
    2154421311  withval="$with_glpk_lib"
    21545   coin_has_glpk="yes, via --with-glpk-lib"
     21312  if test "$withval" = no ; then
     21313       coin_has_glpk="no"
     21314       coin_reason="--without-glpk-lib has been specified"
     21315     else
     21316       coin_has_glpk="no"
     21317       coin_reason="--with-glpk-lib has been specified"
     21318     fi
    2154621319fi;
    21547 
     21320fi
     21321
     21322if test "$coin_has_glpk" != no; then
    2154821323
    2154921324# Check whether --with-m4_tolower(Glpk)-incdir or --without-m4_tolower(Glpk)-incdir was given.
    2155021325if test "${with_glpk_incdir+set}" = set; then
    2155121326  withval="$with_glpk_incdir"
    21552   coin_has_glpk="yes, via --with-glpk-incdir"
     21327  if test "$withval" = no ; then
     21328       coin_has_glpk="no"
     21329       coin_reason="--without-glpk-incdir has been specified"
     21330     else
     21331       coin_has_glpk="no"
     21332       coin_reason="--with-glpk-incdir has been specified"
     21333     fi
    2155321334fi;
    21554 
     21335fi
     21336
     21337if test "$coin_has_glpk" != no; then
    2155521338
    2155621339# Check whether --with-m4_tolower(Glpk)-datadir or --without-m4_tolower(Glpk)-datadir was given.
    2155721340if test "${with_glpk_datadir+set}" = set; then
    2155821341  withval="$with_glpk_datadir"
    21559   coin_has_glpk="yes, via --with-glpk-datadir"
     21342  if test "$withval" = no ; then
     21343       coin_has_glpk="no"
     21344       coin_reason="--without-glpk-datadir has been specified"
     21345     else
     21346       coin_has_glpk="no"
     21347       coin_reason="--with-glpk-datadir has been specified"
     21348     fi
    2156021349fi;
    21561 
    21562 
    21563 
    21564 
    21565 
    21566 fi
     21350fi
     21351
     21352
     21353
     21354
    2156721355
    2156821356# check if project is available in present directory
    2156921357if test "$coin_has_glpk" = notGiven; then
     21358  coin_has_glpk=no
    2157021359  if test -d $srcdir/ThirdParty/Glpk; then
     21360    coin_reason="source in ThirdParty/Glpk"
    2157121361    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2157221362    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     
    2157421364    for i in $srcdir/ThirdParty/Glpk/glpk/include/glpk.h; do
    2157521365         if test -r $i; then
    21576            coin_have_project_dir=yes
     21366           coin_has_glpk="yes"
     21367         else
     21368           coin_has_glpk="no"
     21369           coin_reason="source file $i not available"
     21370           break
    2157721371         fi
    2157821372       done
    2157921373
    21580     if test $coin_have_project_dir = yes; then
    21581       coin_has_glpk="yes, source in ThirdParty/Glpk"
    21582     fi
    21583   fi
    21584 fi
    21585 
    21586 # check for project by using pkg-config, if pkg-config is available
    21587 if test "$coin_has_glpk" = notGiven; then
    21588   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21589   if test -n "$PKG_CONFIG" ; then
    21590     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21591     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21592 
    21593 if test -n "$PKG_CONFIG" ; then
    21594   if $PKG_CONFIG --exists "coinglpk"; then
    21595     COINGLPK_VERSION=`$PKG_CONFIG --modversion "coinglpk" 2>/dev/null`
    21596     coin_has_glpk="yes, found installed version $COINGLPK_VERSION"
    21597   else
    21598     COINGLPK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinglpk"`
    21599 
    21600   fi
    21601 else
    21602   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&5
    21603 echo "$as_me: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&2;}
    21604    { (exit 1); exit 1; }; }
    21605 fi
    21606 
    21607     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21608     export PKG_CONFIG_PATH
    21609   fi
    21610 fi
    21611 
    21612 if test "$coin_has_glpk" = notGiven; then
    21613   echo "$as_me:$LINENO: result: not given" >&5
    21614 echo "${ECHO_T}not given" >&6
    21615 
    21616 else
     21374  fi
     21375fi
     21376
     21377if test -z "$coin_reason" ; then
    2161721378  echo "$as_me:$LINENO: result: $coin_has_glpk" >&5
    2161821379echo "${ECHO_T}$coin_has_glpk" >&6
    21619 fi
    21620 
    21621 echo "$as_me:$LINENO: checking whether project ThirdParty/Glpk needs to be configured" >&5
    21622 echo $ECHO_N "checking whether project ThirdParty/Glpk needs to be configured... $ECHO_C" >&6
    21623 if test "$coin_have_project_dir" = yes ; then
    21624 
     21380else
     21381  echo "$as_me:$LINENO: result: $coin_has_glpk, $coin_reason" >&5
     21382echo "${ECHO_T}$coin_has_glpk, $coin_reason" >&6
     21383fi
     21384
     21385if test "$coin_has_glpk" = yes ; then
    2162521386  if test -r $srcdir/ThirdParty/Glpk/configure; then
    2162621387    coin_subdirs="$coin_subdirs ThirdParty/Glpk"
    21627     echo "$as_me:$LINENO: result: yes" >&5
    21628 echo "${ECHO_T}yes" >&6
    2162921388
    2163021389
    2163121390subdirs="$subdirs ThirdParty/Glpk"
    2163221391
    21633   else
    21634     echo "$as_me:$LINENO: result: no" >&5
    21635 echo "${ECHO_T}no" >&6
    21636   fi
    21637 else
    21638   echo "$as_me:$LINENO: result: no" >&5
    21639 echo "${ECHO_T}no" >&6
    21640 fi
    21641 
    21642 
    21643 echo "$as_me:$LINENO: checking whether project Sample is available" >&5
    21644 echo $ECHO_N "checking whether project Sample is available... $ECHO_C" >&6
     21392  fi
     21393fi
     21394
     21395
     21396echo "$as_me:$LINENO: checking whether source of project Sample is available and should be compiled" >&5
     21397echo $ECHO_N "checking whether source of project Sample is available and should be compiled... $ECHO_C" >&6
    2164521398
    2164621399coin_has_sample=notGiven
    21647 coin_have_project_dir=no
     21400coin_reason=
    2164821401
    2164921402# check if user wants to skip project in any case
     
    2165221405  for dir in $COIN_SKIP_PROJECTS; do
    2165321406    if test $dir = "Sample"; then
    21654       coin_has_sample=skipping
     21407      coin_has_sample="no"
     21408      coin_reason="Sample has been specified in COIN_SKIP_PROJECTS"
    2165521409    fi
     21410
    2165621411    if test $dir = "Data/Sample"; then
    21657       coin_has_sample=skipping
     21412      coin_has_sample="no"
     21413      coin_reason="Data/Sample has been specified in COIN_SKIP_PROJECTS"
    2165821414    fi
    2165921415  done
    2166021416fi
    2166121417
    21662 if test $coin_has_sample != skipping; then
    21663   if test $PACKAGE_TARNAME = sample; then
    21664     coin_has_sample=yes
    21665     coin_have_project_dir=yes
    21666   fi
    21667 
     21418if test "$coin_has_sample" != no; then
    2166821419
    2166921420# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
    2167021421if test "${with_sample_lib+set}" = set; then
    2167121422  withval="$with_sample_lib"
    21672   coin_has_sample="yes, via --with-sample-lib"
     21423  if test "$withval" = no ; then
     21424       coin_has_sample="no"
     21425       coin_reason="--without-sample-lib has been specified"
     21426     else
     21427       coin_has_sample="no"
     21428       coin_reason="--with-sample-lib has been specified"
     21429     fi
    2167321430fi;
    21674 
     21431fi
     21432
     21433if test "$coin_has_sample" != no; then
    2167521434
    2167621435# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
    2167721436if test "${with_sample_incdir+set}" = set; then
    2167821437  withval="$with_sample_incdir"
    21679   coin_has_sample="yes, via --with-sample-incdir"
     21438  if test "$withval" = no ; then
     21439       coin_has_sample="no"
     21440       coin_reason="--without-sample-incdir has been specified"
     21441     else
     21442       coin_has_sample="no"
     21443       coin_reason="--with-sample-incdir has been specified"
     21444     fi
    2168021445fi;
    21681 
     21446fi
     21447
     21448if test "$coin_has_sample" != no; then
    2168221449
    2168321450# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
    2168421451if test "${with_sample_datadir+set}" = set; then
    2168521452  withval="$with_sample_datadir"
    21686   coin_has_sample="yes, via --with-sample-datadir"
     21453  if test "$withval" = no ; then
     21454       coin_has_sample="no"
     21455       coin_reason="--without-sample-datadir has been specified"
     21456     else
     21457       coin_has_sample="no"
     21458       coin_reason="--with-sample-datadir has been specified"
     21459     fi
    2168721460fi;
    21688 
    21689 
    21690 
    21691 
    21692 
    21693 fi
     21461fi
     21462
     21463
     21464
     21465
    2169421466
    2169521467# check if project is available in present directory
    2169621468if test "$coin_has_sample" = notGiven; then
     21469  coin_has_sample=no
    2169721470  if test -d $srcdir/Data/Sample; then
     21471    coin_reason="source in Data/Sample"
    2169821472    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2169921473    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2170021474    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21701      coin_have_project_dir=yes
    21702 
    21703     if test $coin_have_project_dir = yes; then
    21704       coin_has_sample="yes, source in Data/Sample"
    21705     fi
    21706   fi
    21707 fi
    21708 
    21709 # check for project by using pkg-config, if pkg-config is available
    21710 if test "$coin_has_sample" = notGiven; then
    21711   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21712   if test -n "$PKG_CONFIG" ; then
    21713     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21714     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21715 
    21716 if test -n "$PKG_CONFIG" ; then
    21717   if $PKG_CONFIG --exists "coindatasample"; then
    21718     COINDATASAMPLE_VERSION=`$PKG_CONFIG --modversion "coindatasample" 2>/dev/null`
    21719     coin_has_sample="yes, found installed version $COINDATASAMPLE_VERSION"
    21720   else
    21721     COINDATASAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatasample"`
    21722 
    21723   fi
    21724 else
    21725   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&5
    21726 echo "$as_me: error: \"Cannot check for existance of module coindatasample without pkg-config\"" >&2;}
    21727    { (exit 1); exit 1; }; }
    21728 fi
    21729 
    21730     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21731     export PKG_CONFIG_PATH
    21732   fi
    21733 fi
    21734 
    21735 if test "$coin_has_sample" = notGiven; then
    21736   echo "$as_me:$LINENO: result: not given" >&5
    21737 echo "${ECHO_T}not given" >&6
    21738 
    21739 else
     21475     coin_has_sample="yes"
     21476
     21477  fi
     21478fi
     21479
     21480if test -z "$coin_reason" ; then
    2174021481  echo "$as_me:$LINENO: result: $coin_has_sample" >&5
    2174121482echo "${ECHO_T}$coin_has_sample" >&6
    21742 fi
    21743 
    21744 echo "$as_me:$LINENO: checking whether project Data/Sample needs to be configured" >&5
    21745 echo $ECHO_N "checking whether project Data/Sample needs to be configured... $ECHO_C" >&6
    21746 if test "$coin_have_project_dir" = yes ; then
    21747 
     21483else
     21484  echo "$as_me:$LINENO: result: $coin_has_sample, $coin_reason" >&5
     21485echo "${ECHO_T}$coin_has_sample, $coin_reason" >&6
     21486fi
     21487
     21488if test "$coin_has_sample" = yes ; then
    2174821489  if test -r $srcdir/Data/Sample/configure; then
    2174921490    coin_subdirs="$coin_subdirs Data/Sample"
    21750     echo "$as_me:$LINENO: result: yes" >&5
    21751 echo "${ECHO_T}yes" >&6
    2175221491
    2175321492
    2175421493subdirs="$subdirs Data/Sample"
    2175521494
    21756   else
    21757     echo "$as_me:$LINENO: result: no" >&5
    21758 echo "${ECHO_T}no" >&6
    21759   fi
    21760 else
    21761   echo "$as_me:$LINENO: result: no" >&5
    21762 echo "${ECHO_T}no" >&6
    21763 fi
    21764 
    21765 
    21766 echo "$as_me:$LINENO: checking whether project Netlib is available" >&5
    21767 echo $ECHO_N "checking whether project Netlib is available... $ECHO_C" >&6
     21495  fi
     21496fi
     21497
     21498
     21499echo "$as_me:$LINENO: checking whether source of project Netlib is available and should be compiled" >&5
     21500echo $ECHO_N "checking whether source of project Netlib is available and should be compiled... $ECHO_C" >&6
    2176821501
    2176921502coin_has_netlib=notGiven
    21770 coin_have_project_dir=no
     21503coin_reason=
    2177121504
    2177221505# check if user wants to skip project in any case
     
    2177521508  for dir in $COIN_SKIP_PROJECTS; do
    2177621509    if test $dir = "Netlib"; then
    21777       coin_has_netlib=skipping
     21510      coin_has_netlib="no"
     21511      coin_reason="Netlib has been specified in COIN_SKIP_PROJECTS"
    2177821512    fi
     21513
    2177921514    if test $dir = "Data/Netlib"; then
    21780       coin_has_netlib=skipping
     21515      coin_has_netlib="no"
     21516      coin_reason="Data/Netlib has been specified in COIN_SKIP_PROJECTS"
    2178121517    fi
    2178221518  done
    2178321519fi
    2178421520
    21785 if test $coin_has_netlib != skipping; then
    21786   if test $PACKAGE_TARNAME = netlib; then
    21787     coin_has_netlib=yes
    21788     coin_have_project_dir=yes
    21789   fi
    21790 
     21521if test "$coin_has_netlib" != no; then
    2179121522
    2179221523# Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
    2179321524if test "${with_netlib_lib+set}" = set; then
    2179421525  withval="$with_netlib_lib"
    21795   coin_has_netlib="yes, via --with-netlib-lib"
     21526  if test "$withval" = no ; then
     21527       coin_has_netlib="no"
     21528       coin_reason="--without-netlib-lib has been specified"
     21529     else
     21530       coin_has_netlib="no"
     21531       coin_reason="--with-netlib-lib has been specified"
     21532     fi
    2179621533fi;
    21797 
     21534fi
     21535
     21536if test "$coin_has_netlib" != no; then
    2179821537
    2179921538# Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
    2180021539if test "${with_netlib_incdir+set}" = set; then
    2180121540  withval="$with_netlib_incdir"
    21802   coin_has_netlib="yes, via --with-netlib-incdir"
     21541  if test "$withval" = no ; then
     21542       coin_has_netlib="no"
     21543       coin_reason="--without-netlib-incdir has been specified"
     21544     else
     21545       coin_has_netlib="no"
     21546       coin_reason="--with-netlib-incdir has been specified"
     21547     fi
    2180321548fi;
    21804 
     21549fi
     21550
     21551if test "$coin_has_netlib" != no; then
    2180521552
    2180621553# Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
    2180721554if test "${with_netlib_datadir+set}" = set; then
    2180821555  withval="$with_netlib_datadir"
    21809   coin_has_netlib="yes, via --with-netlib-datadir"
     21556  if test "$withval" = no ; then
     21557       coin_has_netlib="no"
     21558       coin_reason="--without-netlib-datadir has been specified"
     21559     else
     21560       coin_has_netlib="no"
     21561       coin_reason="--with-netlib-datadir has been specified"
     21562     fi
    2181021563fi;
    21811 
    21812 
    21813 
    21814 
    21815 
    21816 fi
     21564fi
     21565
     21566
     21567
     21568
    2181721569
    2181821570# check if project is available in present directory
    2181921571if test "$coin_has_netlib" = notGiven; then
     21572  coin_has_netlib=no
    2182021573  if test -d $srcdir/Data/Netlib; then
     21574    coin_reason="source in Data/Netlib"
    2182121575    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2182221576    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2182321577    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21824      coin_have_project_dir=yes
    21825 
    21826     if test $coin_have_project_dir = yes; then
    21827       coin_has_netlib="yes, source in Data/Netlib"
    21828     fi
    21829   fi
    21830 fi
    21831 
    21832 # check for project by using pkg-config, if pkg-config is available
    21833 if test "$coin_has_netlib" = notGiven; then
    21834   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21835   if test -n "$PKG_CONFIG" ; then
    21836     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21837     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21838 
    21839 if test -n "$PKG_CONFIG" ; then
    21840   if $PKG_CONFIG --exists "coindatanetlib"; then
    21841     COINDATANETLIB_VERSION=`$PKG_CONFIG --modversion "coindatanetlib" 2>/dev/null`
    21842     coin_has_netlib="yes, found installed version $COINDATANETLIB_VERSION"
    21843   else
    21844     COINDATANETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatanetlib"`
    21845 
    21846   fi
    21847 else
    21848   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&5
    21849 echo "$as_me: error: \"Cannot check for existance of module coindatanetlib without pkg-config\"" >&2;}
    21850    { (exit 1); exit 1; }; }
    21851 fi
    21852 
    21853     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21854     export PKG_CONFIG_PATH
    21855   fi
    21856 fi
    21857 
    21858 if test "$coin_has_netlib" = notGiven; then
    21859   echo "$as_me:$LINENO: result: not given" >&5
    21860 echo "${ECHO_T}not given" >&6
    21861 
    21862 else
     21578     coin_has_netlib="yes"
     21579
     21580  fi
     21581fi
     21582
     21583if test -z "$coin_reason" ; then
    2186321584  echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
    2186421585echo "${ECHO_T}$coin_has_netlib" >&6
    21865 fi
    21866 
    21867 echo "$as_me:$LINENO: checking whether project Data/Netlib needs to be configured" >&5
    21868 echo $ECHO_N "checking whether project Data/Netlib needs to be configured... $ECHO_C" >&6
    21869 if test "$coin_have_project_dir" = yes ; then
    21870 
     21586else
     21587  echo "$as_me:$LINENO: result: $coin_has_netlib, $coin_reason" >&5
     21588echo "${ECHO_T}$coin_has_netlib, $coin_reason" >&6
     21589fi
     21590
     21591if test "$coin_has_netlib" = yes ; then
    2187121592  if test -r $srcdir/Data/Netlib/configure; then
    2187221593    coin_subdirs="$coin_subdirs Data/Netlib"
    21873     echo "$as_me:$LINENO: result: yes" >&5
    21874 echo "${ECHO_T}yes" >&6
    2187521594
    2187621595
    2187721596subdirs="$subdirs Data/Netlib"
    2187821597
    21879   else
    21880     echo "$as_me:$LINENO: result: no" >&5
    21881 echo "${ECHO_T}no" >&6
    21882   fi
    21883 else
    21884   echo "$as_me:$LINENO: result: no" >&5
    21885 echo "${ECHO_T}no" >&6
    21886 fi
    21887 
    21888 
    21889 echo "$as_me:$LINENO: checking whether project miplib3 is available" >&5
    21890 echo $ECHO_N "checking whether project miplib3 is available... $ECHO_C" >&6
     21598  fi
     21599fi
     21600
     21601
     21602echo "$as_me:$LINENO: checking whether source of project miplib3 is available and should be compiled" >&5
     21603echo $ECHO_N "checking whether source of project miplib3 is available and should be compiled... $ECHO_C" >&6
    2189121604
    2189221605coin_has_miplib3=notGiven
    21893 coin_have_project_dir=no
     21606coin_reason=
    2189421607
    2189521608# check if user wants to skip project in any case
     
    2189821611  for dir in $COIN_SKIP_PROJECTS; do
    2189921612    if test $dir = "miplib3"; then
    21900       coin_has_miplib3=skipping
     21613      coin_has_miplib3="no"
     21614      coin_reason="miplib3 has been specified in COIN_SKIP_PROJECTS"
    2190121615    fi
     21616
    2190221617    if test $dir = "Data/miplib3"; then
    21903       coin_has_miplib3=skipping
     21618      coin_has_miplib3="no"
     21619      coin_reason="Data/miplib3 has been specified in COIN_SKIP_PROJECTS"
    2190421620    fi
    2190521621  done
    2190621622fi
    2190721623
    21908 if test $coin_has_miplib3 != skipping; then
    21909   if test $PACKAGE_TARNAME = miplib3; then
    21910     coin_has_miplib3=yes
    21911     coin_have_project_dir=yes
    21912   fi
    21913 
     21624if test "$coin_has_miplib3" != no; then
    2191421625
    2191521626# Check whether --with-m4_tolower(miplib3)-lib or --without-m4_tolower(miplib3)-lib was given.
    2191621627if test "${with_miplib3_lib+set}" = set; then
    2191721628  withval="$with_miplib3_lib"
    21918   coin_has_miplib3="yes, via --with-miplib3-lib"
     21629  if test "$withval" = no ; then
     21630       coin_has_miplib3="no"
     21631       coin_reason="--without-miplib3-lib has been specified"
     21632     else
     21633       coin_has_miplib3="no"
     21634       coin_reason="--with-miplib3-lib has been specified"
     21635     fi
    2191921636fi;
    21920 
     21637fi
     21638
     21639if test "$coin_has_miplib3" != no; then
    2192121640
    2192221641# Check whether --with-m4_tolower(miplib3)-incdir or --without-m4_tolower(miplib3)-incdir was given.
    2192321642if test "${with_miplib3_incdir+set}" = set; then
    2192421643  withval="$with_miplib3_incdir"
    21925   coin_has_miplib3="yes, via --with-miplib3-incdir"
     21644  if test "$withval" = no ; then
     21645       coin_has_miplib3="no"
     21646       coin_reason="--without-miplib3-incdir has been specified"
     21647     else
     21648       coin_has_miplib3="no"
     21649       coin_reason="--with-miplib3-incdir has been specified"
     21650     fi
    2192621651fi;
    21927 
     21652fi
     21653
     21654if test "$coin_has_miplib3" != no; then
    2192821655
    2192921656# Check whether --with-m4_tolower(miplib3)-datadir or --without-m4_tolower(miplib3)-datadir was given.
    2193021657if test "${with_miplib3_datadir+set}" = set; then
    2193121658  withval="$with_miplib3_datadir"
    21932   coin_has_miplib3="yes, via --with-miplib3-datadir"
     21659  if test "$withval" = no ; then
     21660       coin_has_miplib3="no"
     21661       coin_reason="--without-miplib3-datadir has been specified"
     21662     else
     21663       coin_has_miplib3="no"
     21664       coin_reason="--with-miplib3-datadir has been specified"
     21665     fi
    2193321666fi;
    21934 
    21935 
    21936 
    21937 
    21938 
    21939 fi
     21667fi
     21668
     21669
     21670
     21671
    2194021672
    2194121673# check if project is available in present directory
    2194221674if test "$coin_has_miplib3" = notGiven; then
     21675  coin_has_miplib3=no
    2194321676  if test -d $srcdir/Data/miplib3; then
     21677    coin_reason="source in Data/miplib3"
    2194421678    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2194521679    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2194621680    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    21947      coin_have_project_dir=yes
    21948 
    21949     if test $coin_have_project_dir = yes; then
    21950       coin_has_miplib3="yes, source in Data/miplib3"
    21951     fi
    21952   fi
    21953 fi
    21954 
    21955 # check for project by using pkg-config, if pkg-config is available
    21956 if test "$coin_has_miplib3" = notGiven; then
    21957   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    21958   if test -n "$PKG_CONFIG" ; then
    21959     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21960     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    21961 
    21962 if test -n "$PKG_CONFIG" ; then
    21963   if $PKG_CONFIG --exists "coindatamiplib3"; then
    21964     COINDATAMIPLIB3_VERSION=`$PKG_CONFIG --modversion "coindatamiplib3" 2>/dev/null`
    21965     coin_has_miplib3="yes, found installed version $COINDATAMIPLIB3_VERSION"
    21966   else
    21967     COINDATAMIPLIB3_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coindatamiplib3"`
    21968 
    21969   fi
    21970 else
    21971   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coindatamiplib3 without pkg-config\"" >&5
    21972 echo "$as_me: error: \"Cannot check for existance of module coindatamiplib3 without pkg-config\"" >&2;}
    21973    { (exit 1); exit 1; }; }
    21974 fi
    21975 
    21976     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    21977     export PKG_CONFIG_PATH
    21978   fi
    21979 fi
    21980 
    21981 if test "$coin_has_miplib3" = notGiven; then
    21982   echo "$as_me:$LINENO: result: not given" >&5
    21983 echo "${ECHO_T}not given" >&6
    21984 
    21985 else
     21681     coin_has_miplib3="yes"
     21682
     21683  fi
     21684fi
     21685
     21686if test -z "$coin_reason" ; then
    2198621687  echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5
    2198721688echo "${ECHO_T}$coin_has_miplib3" >&6
    21988 fi
    21989 
    21990 echo "$as_me:$LINENO: checking whether project Data/miplib3 needs to be configured" >&5
    21991 echo $ECHO_N "checking whether project Data/miplib3 needs to be configured... $ECHO_C" >&6
    21992 if test "$coin_have_project_dir" = yes ; then
    21993 
     21689else
     21690  echo "$as_me:$LINENO: result: $coin_has_miplib3, $coin_reason" >&5
     21691echo "${ECHO_T}$coin_has_miplib3, $coin_reason" >&6
     21692fi
     21693
     21694if test "$coin_has_miplib3" = yes ; then
    2199421695  if test -r $srcdir/Data/miplib3/configure; then
    2199521696    coin_subdirs="$coin_subdirs Data/miplib3"
    21996     echo "$as_me:$LINENO: result: yes" >&5
    21997 echo "${ECHO_T}yes" >&6
    2199821697
    2199921698
    2200021699subdirs="$subdirs Data/miplib3"
    2200121700
    22002   else
    22003     echo "$as_me:$LINENO: result: no" >&5
    22004 echo "${ECHO_T}no" >&6
    22005   fi
    22006 else
    22007   echo "$as_me:$LINENO: result: no" >&5
    22008 echo "${ECHO_T}no" >&6
    22009 fi
    22010 
    22011 
    22012 echo "$as_me:$LINENO: checking whether project CoinUtils is available" >&5
    22013 echo $ECHO_N "checking whether project CoinUtils is available... $ECHO_C" >&6
     21701  fi
     21702fi
     21703
     21704
     21705echo "$as_me:$LINENO: checking whether source of project CoinUtils is available and should be compiled" >&5
     21706echo $ECHO_N "checking whether source of project CoinUtils is available and should be compiled... $ECHO_C" >&6
    2201421707
    2201521708coin_has_coinutils=notGiven
    22016 coin_have_project_dir=no
     21709coin_reason=
    2201721710
    2201821711# check if user wants to skip project in any case
     
    2202121714  for dir in $COIN_SKIP_PROJECTS; do
    2202221715    if test $dir = "CoinUtils"; then
    22023       coin_has_coinutils=skipping
     21716      coin_has_coinutils="no"
     21717      coin_reason="CoinUtils has been specified in COIN_SKIP_PROJECTS"
    2202421718    fi
    22025     if test $dir = "/CoinUtils"; then
    22026       coin_has_coinutils=skipping
    22027     fi
     21719
    2202821720  done
    2202921721fi
    2203021722
    22031 if test $coin_has_coinutils != skipping; then
    22032   if test $PACKAGE_TARNAME = coinutils; then
    22033     coin_has_coinutils=yes
    22034     coin_have_project_dir=yes
    22035   fi
    22036 
     21723if test "$coin_has_coinutils" != no; then
    2203721724
    2203821725# Check whether --with-m4_tolower(CoinUtils)-lib or --without-m4_tolower(CoinUtils)-lib was given.
    2203921726if test "${with_coinutils_lib+set}" = set; then
    2204021727  withval="$with_coinutils_lib"
    22041   coin_has_coinutils="yes, via --with-coinutils-lib"
     21728  if test "$withval" = no ; then
     21729       coin_has_coinutils="no"
     21730       coin_reason="--without-coinutils-lib has been specified"
     21731     else
     21732       coin_has_coinutils="no"
     21733       coin_reason="--with-coinutils-lib has been specified"
     21734     fi
    2204221735fi;
    22043 
     21736fi
     21737
     21738if test "$coin_has_coinutils" != no; then
    2204421739
    2204521740# Check whether --with-m4_tolower(CoinUtils)-incdir or --without-m4_tolower(CoinUtils)-incdir was given.
    2204621741if test "${with_coinutils_incdir+set}" = set; then
    2204721742  withval="$with_coinutils_incdir"
    22048   coin_has_coinutils="yes, via --with-coinutils-incdir"
     21743  if test "$withval" = no ; then
     21744       coin_has_coinutils="no"
     21745       coin_reason="--without-coinutils-incdir has been specified"
     21746     else
     21747       coin_has_coinutils="no"
     21748       coin_reason="--with-coinutils-incdir has been specified"
     21749     fi
    2204921750fi;
    22050 
     21751fi
     21752
     21753if test "$coin_has_coinutils" != no; then
    2205121754
    2205221755# Check whether --with-m4_tolower(CoinUtils)-datadir or --without-m4_tolower(CoinUtils)-datadir was given.
    2205321756if test "${with_coinutils_datadir+set}" = set; then
    2205421757  withval="$with_coinutils_datadir"
    22055   coin_has_coinutils="yes, via --with-coinutils-datadir"
     21758  if test "$withval" = no ; then
     21759       coin_has_coinutils="no"
     21760       coin_reason="--without-coinutils-datadir has been specified"
     21761     else
     21762       coin_has_coinutils="no"
     21763       coin_reason="--with-coinutils-datadir has been specified"
     21764     fi
    2205621765fi;
    22057 
    22058 
    22059 
    22060 
    22061 
    22062 fi
     21766fi
     21767
     21768
     21769
     21770
    2206321771
    2206421772# check if project is available in present directory
    2206521773if test "$coin_has_coinutils" = notGiven; then
    22066   if test -d $srcdir//CoinUtils; then
     21774  coin_has_coinutils=no
     21775  if test -d $srcdir/CoinUtils; then
     21776    coin_reason="source in CoinUtils"
    2206721777    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2206821778    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2206921779    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22070      coin_have_project_dir=yes
    22071 
    22072     if test $coin_have_project_dir = yes; then
    22073       coin_has_coinutils="yes, source in CoinUtils"
    22074     fi
    22075   fi
    22076 fi
    22077 
    22078 # check for project by using pkg-config, if pkg-config is available
    22079 if test "$coin_has_coinutils" = notGiven; then
    22080   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22081   if test -n "$PKG_CONFIG" ; then
    22082     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22083     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22084 
    22085 if test -n "$PKG_CONFIG" ; then
    22086   if $PKG_CONFIG --exists "coinutils"; then
    22087     COINUTILS_VERSION=`$PKG_CONFIG --modversion "coinutils" 2>/dev/null`
    22088     coin_has_coinutils="yes, found installed version $COINUTILS_VERSION"
    22089   else
    22090     COINUTILS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinutils"`
    22091 
    22092   fi
    22093 else
    22094   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&5
    22095 echo "$as_me: error: \"Cannot check for existance of module CoinUtils without pkg-config\"" >&2;}
    22096    { (exit 1); exit 1; }; }
    22097 fi
    22098 
    22099     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22100     export PKG_CONFIG_PATH
    22101   fi
    22102 fi
    22103 
    22104 if test "$coin_has_coinutils" = notGiven; then
    22105   echo "$as_me:$LINENO: result: not given" >&5
    22106 echo "${ECHO_T}not given" >&6
    22107 
    22108 else
     21780     coin_has_coinutils="yes"
     21781
     21782  fi
     21783fi
     21784
     21785if test -z "$coin_reason" ; then
    2210921786  echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
    2211021787echo "${ECHO_T}$coin_has_coinutils" >&6
    22111 fi
    22112 
    22113 echo "$as_me:$LINENO: checking whether project CoinUtils needs to be configured" >&5
    22114 echo $ECHO_N "checking whether project CoinUtils needs to be configured... $ECHO_C" >&6
    22115 if test "$coin_have_project_dir" = yes ; then
    22116 
     21788else
     21789  echo "$as_me:$LINENO: result: $coin_has_coinutils, $coin_reason" >&5
     21790echo "${ECHO_T}$coin_has_coinutils, $coin_reason" >&6
     21791fi
     21792
     21793if test "$coin_has_coinutils" = yes ; then
    2211721794  if test -r $srcdir/CoinUtils/configure; then
    2211821795    coin_subdirs="$coin_subdirs CoinUtils"
    22119     echo "$as_me:$LINENO: result: yes" >&5
    22120 echo "${ECHO_T}yes" >&6
    2212121796
    2212221797
    2212321798subdirs="$subdirs CoinUtils"
    2212421799
    22125   else
    22126     echo "$as_me:$LINENO: result: no" >&5
    22127 echo "${ECHO_T}no" >&6
    22128   fi
    22129 else
    22130   echo "$as_me:$LINENO: result: no" >&5
    22131 echo "${ECHO_T}no" >&6
    22132 fi
    22133 
    22134 
    22135 echo "$as_me:$LINENO: checking whether project Osi is available" >&5
    22136 echo $ECHO_N "checking whether project Osi is available... $ECHO_C" >&6
     21800  fi
     21801fi
     21802
     21803
     21804echo "$as_me:$LINENO: checking whether source of project Osi is available and should be compiled" >&5
     21805echo $ECHO_N "checking whether source of project Osi is available and should be compiled... $ECHO_C" >&6
    2213721806
    2213821807coin_has_osi=notGiven
    22139 coin_have_project_dir=no
     21808coin_reason=
    2214021809
    2214121810# check if user wants to skip project in any case
     
    2214421813  for dir in $COIN_SKIP_PROJECTS; do
    2214521814    if test $dir = "Osi"; then
    22146       coin_has_osi=skipping
     21815      coin_has_osi="no"
     21816      coin_reason="Osi has been specified in COIN_SKIP_PROJECTS"
    2214721817    fi
    22148     if test $dir = "/Osi"; then
    22149       coin_has_osi=skipping
    22150     fi
     21818
    2215121819  done
    2215221820fi
    2215321821
    22154 if test $coin_has_osi != skipping; then
    22155   if test $PACKAGE_TARNAME = osi; then
    22156     coin_has_osi=yes
    22157     coin_have_project_dir=yes
    22158   fi
    22159 
     21822if test "$coin_has_osi" != no; then
    2216021823
    2216121824# Check whether --with-m4_tolower(Osi)-lib or --without-m4_tolower(Osi)-lib was given.
    2216221825if test "${with_osi_lib+set}" = set; then
    2216321826  withval="$with_osi_lib"
    22164   coin_has_osi="yes, via --with-osi-lib"
     21827  if test "$withval" = no ; then
     21828       coin_has_osi="no"
     21829       coin_reason="--without-osi-lib has been specified"
     21830     else
     21831       coin_has_osi="no"
     21832       coin_reason="--with-osi-lib has been specified"
     21833     fi
    2216521834fi;
    22166 
     21835fi
     21836
     21837if test "$coin_has_osi" != no; then
    2216721838
    2216821839# Check whether --with-m4_tolower(Osi)-incdir or --without-m4_tolower(Osi)-incdir was given.
    2216921840if test "${with_osi_incdir+set}" = set; then
    2217021841  withval="$with_osi_incdir"
    22171   coin_has_osi="yes, via --with-osi-incdir"
     21842  if test "$withval" = no ; then
     21843       coin_has_osi="no"
     21844       coin_reason="--without-osi-incdir has been specified"
     21845     else
     21846       coin_has_osi="no"
     21847       coin_reason="--with-osi-incdir has been specified"
     21848     fi
    2217221849fi;
    22173 
     21850fi
     21851
     21852if test "$coin_has_osi" != no; then
    2217421853
    2217521854# Check whether --with-m4_tolower(Osi)-datadir or --without-m4_tolower(Osi)-datadir was given.
    2217621855if test "${with_osi_datadir+set}" = set; then
    2217721856  withval="$with_osi_datadir"
    22178   coin_has_osi="yes, via --with-osi-datadir"
     21857  if test "$withval" = no ; then
     21858       coin_has_osi="no"
     21859       coin_reason="--without-osi-datadir has been specified"
     21860     else
     21861       coin_has_osi="no"
     21862       coin_reason="--with-osi-datadir has been specified"
     21863     fi
    2217921864fi;
    22180 
    22181 
    22182 
    22183 
    22184 
    22185 fi
     21865fi
     21866
     21867
     21868
     21869
    2218621870
    2218721871# check if project is available in present directory
    2218821872if test "$coin_has_osi" = notGiven; then
    22189   if test -d $srcdir//Osi; then
     21873  coin_has_osi=no
     21874  if test -d $srcdir/Osi; then
     21875    coin_reason="source in Osi"
    2219021876    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2219121877    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2219221878    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22193      coin_have_project_dir=yes
    22194 
    22195     if test $coin_have_project_dir = yes; then
    22196       coin_has_osi="yes, source in Osi"
    22197     fi
    22198   fi
    22199 fi
    22200 
    22201 # check for project by using pkg-config, if pkg-config is available
    22202 if test "$coin_has_osi" = notGiven; then
    22203   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22204   if test -n "$PKG_CONFIG" ; then
    22205     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22206     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22207 
    22208 if test -n "$PKG_CONFIG" ; then
    22209   if $PKG_CONFIG --exists "osi"; then
    22210     OSI_VERSION=`$PKG_CONFIG --modversion "osi" 2>/dev/null`
    22211     coin_has_osi="yes, found installed version $OSI_VERSION"
    22212   else
    22213     OSI_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "osi"`
    22214 
    22215   fi
    22216 else
    22217   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Osi without pkg-config\"" >&5
    22218 echo "$as_me: error: \"Cannot check for existance of module Osi without pkg-config\"" >&2;}
    22219    { (exit 1); exit 1; }; }
    22220 fi
    22221 
    22222     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22223     export PKG_CONFIG_PATH
    22224   fi
    22225 fi
    22226 
    22227 if test "$coin_has_osi" = notGiven; then
    22228   echo "$as_me:$LINENO: result: not given" >&5
    22229 echo "${ECHO_T}not given" >&6
    22230 
    22231 else
     21879     coin_has_osi="yes"
     21880
     21881  fi
     21882fi
     21883
     21884if test -z "$coin_reason" ; then
    2223221885  echo "$as_me:$LINENO: result: $coin_has_osi" >&5
    2223321886echo "${ECHO_T}$coin_has_osi" >&6
    22234 fi
    22235 
    22236 echo "$as_me:$LINENO: checking whether project Osi needs to be configured" >&5
    22237 echo $ECHO_N "checking whether project Osi needs to be configured... $ECHO_C" >&6
    22238 if test "$coin_have_project_dir" = yes ; then
    22239 
     21887else
     21888  echo "$as_me:$LINENO: result: $coin_has_osi, $coin_reason" >&5
     21889echo "${ECHO_T}$coin_has_osi, $coin_reason" >&6
     21890fi
     21891
     21892if test "$coin_has_osi" = yes ; then
    2224021893  if test -r $srcdir/Osi/configure; then
    2224121894    coin_subdirs="$coin_subdirs Osi"
    22242     echo "$as_me:$LINENO: result: yes" >&5
    22243 echo "${ECHO_T}yes" >&6
    2224421895
    2224521896
    2224621897subdirs="$subdirs Osi"
    2224721898
    22248   else
    22249     echo "$as_me:$LINENO: result: no" >&5
    22250 echo "${ECHO_T}no" >&6
    22251   fi
    22252 else
    22253   echo "$as_me:$LINENO: result: no" >&5
    22254 echo "${ECHO_T}no" >&6
    22255 fi
    22256 
    22257 
    22258 echo "$as_me:$LINENO: checking whether project Clp is available" >&5
    22259 echo $ECHO_N "checking whether project Clp is available... $ECHO_C" >&6
     21899  fi
     21900fi
     21901
     21902
     21903echo "$as_me:$LINENO: checking whether source of project Clp is available and should be compiled" >&5
     21904echo $ECHO_N "checking whether source of project Clp is available and should be compiled... $ECHO_C" >&6
    2226021905
    2226121906coin_has_clp=notGiven
    22262 coin_have_project_dir=no
     21907coin_reason=
    2226321908
    2226421909# check if user wants to skip project in any case
     
    2226721912  for dir in $COIN_SKIP_PROJECTS; do
    2226821913    if test $dir = "Clp"; then
    22269       coin_has_clp=skipping
     21914      coin_has_clp="no"
     21915      coin_reason="Clp has been specified in COIN_SKIP_PROJECTS"
    2227021916    fi
    22271     if test $dir = "/Clp"; then
    22272       coin_has_clp=skipping
    22273     fi
     21917
    2227421918  done
    2227521919fi
    2227621920
    22277 if test $coin_has_clp != skipping; then
    22278   if test $PACKAGE_TARNAME = clp; then
    22279     coin_has_clp=yes
    22280     coin_have_project_dir=yes
    22281   fi
    22282 
     21921if test "$coin_has_clp" != no; then
    2228321922
    2228421923# Check whether --with-m4_tolower(Clp)-lib or --without-m4_tolower(Clp)-lib was given.
    2228521924if test "${with_clp_lib+set}" = set; then
    2228621925  withval="$with_clp_lib"
    22287   coin_has_clp="yes, via --with-clp-lib"
     21926  if test "$withval" = no ; then
     21927       coin_has_clp="no"
     21928       coin_reason="--without-clp-lib has been specified"
     21929     else
     21930       coin_has_clp="no"
     21931       coin_reason="--with-clp-lib has been specified"
     21932     fi
    2228821933fi;
    22289 
     21934fi
     21935
     21936if test "$coin_has_clp" != no; then
    2229021937
    2229121938# Check whether --with-m4_tolower(Clp)-incdir or --without-m4_tolower(Clp)-incdir was given.
    2229221939if test "${with_clp_incdir+set}" = set; then
    2229321940  withval="$with_clp_incdir"
    22294   coin_has_clp="yes, via --with-clp-incdir"
     21941  if test "$withval" = no ; then
     21942       coin_has_clp="no"
     21943       coin_reason="--without-clp-incdir has been specified"
     21944     else
     21945       coin_has_clp="no"
     21946       coin_reason="--with-clp-incdir has been specified"
     21947     fi
    2229521948fi;
    22296 
     21949fi
     21950
     21951if test "$coin_has_clp" != no; then
    2229721952
    2229821953# Check whether --with-m4_tolower(Clp)-datadir or --without-m4_tolower(Clp)-datadir was given.
    2229921954if test "${with_clp_datadir+set}" = set; then
    2230021955  withval="$with_clp_datadir"
    22301   coin_has_clp="yes, via --with-clp-datadir"
     21956  if test "$withval" = no ; then
     21957       coin_has_clp="no"
     21958       coin_reason="--without-clp-datadir has been specified"
     21959     else
     21960       coin_has_clp="no"
     21961       coin_reason="--with-clp-datadir has been specified"
     21962     fi
    2230221963fi;
    22303 
    22304 
    22305 
    22306 
    22307 
    22308 fi
     21964fi
     21965
     21966
     21967
     21968
    2230921969
    2231021970# check if project is available in present directory
    2231121971if test "$coin_has_clp" = notGiven; then
    22312   if test -d $srcdir//Clp; then
     21972  coin_has_clp=no
     21973  if test -d $srcdir/Clp; then
     21974    coin_reason="source in Clp"
    2231321975    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2231421976    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2231521977    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22316      coin_have_project_dir=yes
    22317 
    22318     if test $coin_have_project_dir = yes; then
    22319       coin_has_clp="yes, source in Clp"
    22320     fi
    22321   fi
    22322 fi
    22323 
    22324 # check for project by using pkg-config, if pkg-config is available
    22325 if test "$coin_has_clp" = notGiven; then
    22326   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22327   if test -n "$PKG_CONFIG" ; then
    22328     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22329     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22330 
    22331 if test -n "$PKG_CONFIG" ; then
    22332   if $PKG_CONFIG --exists "clp"; then
    22333     CLP_VERSION=`$PKG_CONFIG --modversion "clp" 2>/dev/null`
    22334     coin_has_clp="yes, found installed version $CLP_VERSION"
    22335   else
    22336     CLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "clp"`
    22337 
    22338   fi
    22339 else
    22340   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Clp without pkg-config\"" >&5
    22341 echo "$as_me: error: \"Cannot check for existance of module Clp without pkg-config\"" >&2;}
    22342    { (exit 1); exit 1; }; }
    22343 fi
    22344 
    22345     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22346     export PKG_CONFIG_PATH
    22347   fi
    22348 fi
    22349 
    22350 if test "$coin_has_clp" = notGiven; then
    22351   echo "$as_me:$LINENO: result: not given" >&5
    22352 echo "${ECHO_T}not given" >&6
    22353 
    22354 else
     21978     coin_has_clp="yes"
     21979
     21980  fi
     21981fi
     21982
     21983if test -z "$coin_reason" ; then
    2235521984  echo "$as_me:$LINENO: result: $coin_has_clp" >&5
    2235621985echo "${ECHO_T}$coin_has_clp" >&6
    22357 fi
    22358 
    22359 echo "$as_me:$LINENO: checking whether project Clp needs to be configured" >&5
    22360 echo $ECHO_N "checking whether project Clp needs to be configured... $ECHO_C" >&6
    22361 if test "$coin_have_project_dir" = yes ; then
    22362 
     21986else
     21987  echo "$as_me:$LINENO: result: $coin_has_clp, $coin_reason" >&5
     21988echo "${ECHO_T}$coin_has_clp, $coin_reason" >&6
     21989fi
     21990
     21991if test "$coin_has_clp" = yes ; then
    2236321992  if test -r $srcdir/Clp/configure; then
    2236421993    coin_subdirs="$coin_subdirs Clp"
    22365     echo "$as_me:$LINENO: result: yes" >&5
    22366 echo "${ECHO_T}yes" >&6
    2236721994
    2236821995
    2236921996subdirs="$subdirs Clp"
    2237021997
    22371   else
    22372     echo "$as_me:$LINENO: result: no" >&5
    22373 echo "${ECHO_T}no" >&6
    22374   fi
    22375 else
    22376   echo "$as_me:$LINENO: result: no" >&5
    22377 echo "${ECHO_T}no" >&6
    22378 fi
    22379 
    22380 
    22381 echo "$as_me:$LINENO: checking whether project DyLP is available" >&5
    22382 echo $ECHO_N "checking whether project DyLP is available... $ECHO_C" >&6
     21998  fi
     21999fi
     22000
     22001
     22002echo "$as_me:$LINENO: checking whether source of project DyLP is available and should be compiled" >&5
     22003echo $ECHO_N "checking whether source of project DyLP is available and should be compiled... $ECHO_C" >&6
    2238322004
    2238422005coin_has_dylp=notGiven
    22385 coin_have_project_dir=no
     22006coin_reason=
    2238622007
    2238722008# check if user wants to skip project in any case
     
    2239022011  for dir in $COIN_SKIP_PROJECTS; do
    2239122012    if test $dir = "DyLP"; then
    22392       coin_has_dylp=skipping
     22013      coin_has_dylp="no"
     22014      coin_reason="DyLP has been specified in COIN_SKIP_PROJECTS"
    2239322015    fi
    22394     if test $dir = "/DyLP"; then
    22395       coin_has_dylp=skipping
    22396     fi
     22016
    2239722017  done
    2239822018fi
    2239922019
    22400 if test $coin_has_dylp != skipping; then
    22401   if test $PACKAGE_TARNAME = dylp; then
    22402     coin_has_dylp=yes
    22403     coin_have_project_dir=yes
    22404   fi
    22405 
     22020if test "$coin_has_dylp" != no; then
    2240622021
    2240722022# Check whether --with-m4_tolower(DyLP)-lib or --without-m4_tolower(DyLP)-lib was given.
    2240822023if test "${with_dylp_lib+set}" = set; then
    2240922024  withval="$with_dylp_lib"
    22410   coin_has_dylp="yes, via --with-dylp-lib"
     22025  if test "$withval" = no ; then
     22026       coin_has_dylp="no"
     22027       coin_reason="--without-dylp-lib has been specified"
     22028     else
     22029       coin_has_dylp="no"
     22030       coin_reason="--with-dylp-lib has been specified"
     22031     fi
    2241122032fi;
    22412 
     22033fi
     22034
     22035if test "$coin_has_dylp" != no; then
    2241322036
    2241422037# Check whether --with-m4_tolower(DyLP)-incdir or --without-m4_tolower(DyLP)-incdir was given.
    2241522038if test "${with_dylp_incdir+set}" = set; then
    2241622039  withval="$with_dylp_incdir"
    22417   coin_has_dylp="yes, via --with-dylp-incdir"
     22040  if test "$withval" = no ; then
     22041       coin_has_dylp="no"
     22042       coin_reason="--without-dylp-incdir has been specified"
     22043     else
     22044       coin_has_dylp="no"
     22045       coin_reason="--with-dylp-incdir has been specified"
     22046     fi
    2241822047fi;
    22419 
     22048fi
     22049
     22050if test "$coin_has_dylp" != no; then
    2242022051
    2242122052# Check whether --with-m4_tolower(DyLP)-datadir or --without-m4_tolower(DyLP)-datadir was given.
    2242222053if test "${with_dylp_datadir+set}" = set; then
    2242322054  withval="$with_dylp_datadir"
    22424   coin_has_dylp="yes, via --with-dylp-datadir"
     22055  if test "$withval" = no ; then
     22056       coin_has_dylp="no"
     22057       coin_reason="--without-dylp-datadir has been specified"
     22058     else
     22059       coin_has_dylp="no"
     22060       coin_reason="--with-dylp-datadir has been specified"
     22061     fi
    2242522062fi;
    22426 
    22427 
    22428 
    22429 
    22430 
    22431 fi
     22063fi
     22064
     22065
     22066
     22067
    2243222068
    2243322069# check if project is available in present directory
    2243422070if test "$coin_has_dylp" = notGiven; then
    22435   if test -d $srcdir//DyLP; then
     22071  coin_has_dylp=no
     22072  if test -d $srcdir/DyLP; then
     22073    coin_reason="source in DyLP"
    2243622074    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2243722075    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2243822076    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22439      coin_have_project_dir=yes
    22440 
    22441     if test $coin_have_project_dir = yes; then
    22442       coin_has_dylp="yes, source in DyLP"
    22443     fi
    22444   fi
    22445 fi
    22446 
    22447 # check for project by using pkg-config, if pkg-config is available
    22448 if test "$coin_has_dylp" = notGiven; then
    22449   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22450   if test -n "$PKG_CONFIG" ; then
    22451     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22452     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22453 
    22454 if test -n "$PKG_CONFIG" ; then
    22455   if $PKG_CONFIG --exists "dylp"; then
    22456     DYLP_VERSION=`$PKG_CONFIG --modversion "dylp" 2>/dev/null`
    22457     coin_has_dylp="yes, found installed version $DYLP_VERSION"
    22458   else
    22459     DYLP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "dylp"`
    22460 
    22461   fi
    22462 else
    22463   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&5
    22464 echo "$as_me: error: \"Cannot check for existance of module DyLP without pkg-config\"" >&2;}
    22465    { (exit 1); exit 1; }; }
    22466 fi
    22467 
    22468     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22469     export PKG_CONFIG_PATH
    22470   fi
    22471 fi
    22472 
    22473 if test "$coin_has_dylp" = notGiven; then
    22474   echo "$as_me:$LINENO: result: not given" >&5
    22475 echo "${ECHO_T}not given" >&6
    22476 
    22477 else
     22077     coin_has_dylp="yes"
     22078
     22079  fi
     22080fi
     22081
     22082if test -z "$coin_reason" ; then
    2247822083  echo "$as_me:$LINENO: result: $coin_has_dylp" >&5
    2247922084echo "${ECHO_T}$coin_has_dylp" >&6
    22480 fi
    22481 
    22482 echo "$as_me:$LINENO: checking whether project DyLP needs to be configured" >&5
    22483 echo $ECHO_N "checking whether project DyLP needs to be configured... $ECHO_C" >&6
    22484 if test "$coin_have_project_dir" = yes ; then
    22485 
     22085else
     22086  echo "$as_me:$LINENO: result: $coin_has_dylp, $coin_reason" >&5
     22087echo "${ECHO_T}$coin_has_dylp, $coin_reason" >&6
     22088fi
     22089
     22090if test "$coin_has_dylp" = yes ; then
    2248622091  if test -r $srcdir/DyLP/configure; then
    2248722092    coin_subdirs="$coin_subdirs DyLP"
    22488     echo "$as_me:$LINENO: result: yes" >&5
    22489 echo "${ECHO_T}yes" >&6
    2249022093
    2249122094
    2249222095subdirs="$subdirs DyLP"
    2249322096
    22494   else
    22495     echo "$as_me:$LINENO: result: no" >&5
    22496 echo "${ECHO_T}no" >&6
    22497   fi
    22498 else
    22499   echo "$as_me:$LINENO: result: no" >&5
    22500 echo "${ECHO_T}no" >&6
    22501 fi
    22502 
    22503 
    22504 echo "$as_me:$LINENO: checking whether project Vol is available" >&5
    22505 echo $ECHO_N "checking whether project Vol is available... $ECHO_C" >&6
     22097  fi
     22098fi
     22099
     22100
     22101echo "$as_me:$LINENO: checking whether source of project Vol is available and should be compiled" >&5
     22102echo $ECHO_N "checking whether source of project Vol is available and should be compiled... $ECHO_C" >&6
    2250622103
    2250722104coin_has_vol=notGiven
    22508 coin_have_project_dir=no
     22105coin_reason=
    2250922106
    2251022107# check if user wants to skip project in any case
     
    2251322110  for dir in $COIN_SKIP_PROJECTS; do
    2251422111    if test $dir = "Vol"; then
    22515       coin_has_vol=skipping
     22112      coin_has_vol="no"
     22113      coin_reason="Vol has been specified in COIN_SKIP_PROJECTS"
    2251622114    fi
    22517     if test $dir = "/Vol"; then
    22518       coin_has_vol=skipping
    22519     fi
     22115
    2252022116  done
    2252122117fi
    2252222118
    22523 if test $coin_has_vol != skipping; then
    22524   if test $PACKAGE_TARNAME = vol; then
    22525     coin_has_vol=yes
    22526     coin_have_project_dir=yes
    22527   fi
    22528 
     22119if test "$coin_has_vol" != no; then
    2252922120
    2253022121# Check whether --with-m4_tolower(Vol)-lib or --without-m4_tolower(Vol)-lib was given.
    2253122122if test "${with_vol_lib+set}" = set; then
    2253222123  withval="$with_vol_lib"
    22533   coin_has_vol="yes, via --with-vol-lib"
     22124  if test "$withval" = no ; then
     22125       coin_has_vol="no"
     22126       coin_reason="--without-vol-lib has been specified"
     22127     else
     22128       coin_has_vol="no"
     22129       coin_reason="--with-vol-lib has been specified"
     22130     fi
    2253422131fi;
    22535 
     22132fi
     22133
     22134if test "$coin_has_vol" != no; then
    2253622135
    2253722136# Check whether --with-m4_tolower(Vol)-incdir or --without-m4_tolower(Vol)-incdir was given.
    2253822137if test "${with_vol_incdir+set}" = set; then
    2253922138  withval="$with_vol_incdir"
    22540   coin_has_vol="yes, via --with-vol-incdir"
     22139  if test "$withval" = no ; then
     22140       coin_has_vol="no"
     22141       coin_reason="--without-vol-incdir has been specified"
     22142     else
     22143       coin_has_vol="no"
     22144       coin_reason="--with-vol-incdir has been specified"
     22145     fi
    2254122146fi;
    22542 
     22147fi
     22148
     22149if test "$coin_has_vol" != no; then
    2254322150
    2254422151# Check whether --with-m4_tolower(Vol)-datadir or --without-m4_tolower(Vol)-datadir was given.
    2254522152if test "${with_vol_datadir+set}" = set; then
    2254622153  withval="$with_vol_datadir"
    22547   coin_has_vol="yes, via --with-vol-datadir"
     22154  if test "$withval" = no ; then
     22155       coin_has_vol="no"
     22156       coin_reason="--without-vol-datadir has been specified"
     22157     else
     22158       coin_has_vol="no"
     22159       coin_reason="--with-vol-datadir has been specified"
     22160     fi
    2254822161fi;
    22549 
    22550 
    22551 
    22552 
    22553 
    22554 fi
     22162fi
     22163
     22164
     22165
     22166
    2255522167
    2255622168# check if project is available in present directory
    2255722169if test "$coin_has_vol" = notGiven; then
    22558   if test -d $srcdir//Vol; then
     22170  coin_has_vol=no
     22171  if test -d $srcdir/Vol; then
     22172    coin_reason="source in Vol"
    2255922173    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2256022174    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2256122175    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22562      coin_have_project_dir=yes
    22563 
    22564     if test $coin_have_project_dir = yes; then
    22565       coin_has_vol="yes, source in Vol"
    22566     fi
    22567   fi
    22568 fi
    22569 
    22570 # check for project by using pkg-config, if pkg-config is available
    22571 if test "$coin_has_vol" = notGiven; then
    22572   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22573   if test -n "$PKG_CONFIG" ; then
    22574     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22575     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22576 
    22577 if test -n "$PKG_CONFIG" ; then
    22578   if $PKG_CONFIG --exists "vol"; then
    22579     VOL_VERSION=`$PKG_CONFIG --modversion "vol" 2>/dev/null`
    22580     coin_has_vol="yes, found installed version $VOL_VERSION"
    22581   else
    22582     VOL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "vol"`
    22583 
    22584   fi
    22585 else
    22586   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Vol without pkg-config\"" >&5
    22587 echo "$as_me: error: \"Cannot check for existance of module Vol without pkg-config\"" >&2;}
    22588    { (exit 1); exit 1; }; }
    22589 fi
    22590 
    22591     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22592     export PKG_CONFIG_PATH
    22593   fi
    22594 fi
    22595 
    22596 if test "$coin_has_vol" = notGiven; then
    22597   echo "$as_me:$LINENO: result: not given" >&5
    22598 echo "${ECHO_T}not given" >&6
    22599 
    22600 else
     22176     coin_has_vol="yes"
     22177
     22178  fi
     22179fi
     22180
     22181if test -z "$coin_reason" ; then
    2260122182  echo "$as_me:$LINENO: result: $coin_has_vol" >&5
    2260222183echo "${ECHO_T}$coin_has_vol" >&6
    22603 fi
    22604 
    22605 echo "$as_me:$LINENO: checking whether project Vol needs to be configured" >&5
    22606 echo $ECHO_N "checking whether project Vol needs to be configured... $ECHO_C" >&6
    22607 if test "$coin_have_project_dir" = yes ; then
    22608 
     22184else
     22185  echo "$as_me:$LINENO: result: $coin_has_vol, $coin_reason" >&5
     22186echo "${ECHO_T}$coin_has_vol, $coin_reason" >&6
     22187fi
     22188
     22189if test "$coin_has_vol" = yes ; then
    2260922190  if test -r $srcdir/Vol/configure; then
    2261022191    coin_subdirs="$coin_subdirs Vol"
    22611     echo "$as_me:$LINENO: result: yes" >&5
    22612 echo "${ECHO_T}yes" >&6
    2261322192
    2261422193
    2261522194subdirs="$subdirs Vol"
    2261622195
    22617   else
    22618     echo "$as_me:$LINENO: result: no" >&5
    22619 echo "${ECHO_T}no" >&6
    22620   fi
    22621 else
    22622   echo "$as_me:$LINENO: result: no" >&5
    22623 echo "${ECHO_T}no" >&6
    22624 fi
    22625 
    22626 
    22627 echo "$as_me:$LINENO: checking whether project Cgl is available" >&5
    22628 echo $ECHO_N "checking whether project Cgl is available... $ECHO_C" >&6
     22196  fi
     22197fi
     22198
     22199
     22200echo "$as_me:$LINENO: checking whether source of project Cgl is available and should be compiled" >&5
     22201echo $ECHO_N "checking whether source of project Cgl is available and should be compiled... $ECHO_C" >&6
    2262922202
    2263022203coin_has_cgl=notGiven
    22631 coin_have_project_dir=no
     22204coin_reason=
    2263222205
    2263322206# check if user wants to skip project in any case
     
    2263622209  for dir in $COIN_SKIP_PROJECTS; do
    2263722210    if test $dir = "Cgl"; then
    22638       coin_has_cgl=skipping
     22211      coin_has_cgl="no"
     22212      coin_reason="Cgl has been specified in COIN_SKIP_PROJECTS"
    2263922213    fi
    22640     if test $dir = "/Cgl"; then
    22641       coin_has_cgl=skipping
    22642     fi
     22214
    2264322215  done
    2264422216fi
    2264522217
    22646 if test $coin_has_cgl != skipping; then
    22647   if test $PACKAGE_TARNAME = cgl; then
    22648     coin_has_cgl=yes
    22649     coin_have_project_dir=yes
    22650   fi
    22651 
     22218if test "$coin_has_cgl" != no; then
    2265222219
    2265322220# Check whether --with-m4_tolower(Cgl)-lib or --without-m4_tolower(Cgl)-lib was given.
    2265422221if test "${with_cgl_lib+set}" = set; then
    2265522222  withval="$with_cgl_lib"
    22656   coin_has_cgl="yes, via --with-cgl-lib"
     22223  if test "$withval" = no ; then
     22224       coin_has_cgl="no"
     22225       coin_reason="--without-cgl-lib has been specified"
     22226     else
     22227       coin_has_cgl="no"
     22228       coin_reason="--with-cgl-lib has been specified"
     22229     fi
    2265722230fi;
    22658 
     22231fi
     22232
     22233if test "$coin_has_cgl" != no; then
    2265922234
    2266022235# Check whether --with-m4_tolower(Cgl)-incdir or --without-m4_tolower(Cgl)-incdir was given.
    2266122236if test "${with_cgl_incdir+set}" = set; then
    2266222237  withval="$with_cgl_incdir"
    22663   coin_has_cgl="yes, via --with-cgl-incdir"
     22238  if test "$withval" = no ; then
     22239       coin_has_cgl="no"
     22240       coin_reason="--without-cgl-incdir has been specified"
     22241     else
     22242       coin_has_cgl="no"
     22243       coin_reason="--with-cgl-incdir has been specified"
     22244     fi
    2266422245fi;
    22665 
     22246fi
     22247
     22248if test "$coin_has_cgl" != no; then
    2266622249
    2266722250# Check whether --with-m4_tolower(Cgl)-datadir or --without-m4_tolower(Cgl)-datadir was given.
    2266822251if test "${with_cgl_datadir+set}" = set; then
    2266922252  withval="$with_cgl_datadir"
    22670   coin_has_cgl="yes, via --with-cgl-datadir"
     22253  if test "$withval" = no ; then
     22254       coin_has_cgl="no"
     22255       coin_reason="--without-cgl-datadir has been specified"
     22256     else
     22257       coin_has_cgl="no"
     22258       coin_reason="--with-cgl-datadir has been specified"
     22259     fi
    2267122260fi;
    22672 
    22673 
    22674 
    22675 
    22676 
    22677 fi
     22261fi
     22262
     22263
     22264
     22265
    2267822266
    2267922267# check if project is available in present directory
    2268022268if test "$coin_has_cgl" = notGiven; then
    22681   if test -d $srcdir//Cgl; then
     22269  coin_has_cgl=no
     22270  if test -d $srcdir/Cgl; then
     22271    coin_reason="source in Cgl"
    2268222272    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2268322273    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2268422274    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22685      coin_have_project_dir=yes
    22686 
    22687     if test $coin_have_project_dir = yes; then
    22688       coin_has_cgl="yes, source in Cgl"
    22689     fi
    22690   fi
    22691 fi
    22692 
    22693 # check for project by using pkg-config, if pkg-config is available
    22694 if test "$coin_has_cgl" = notGiven; then
    22695   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22696   if test -n "$PKG_CONFIG" ; then
    22697     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22698     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22699 
    22700 if test -n "$PKG_CONFIG" ; then
    22701   if $PKG_CONFIG --exists "cgl"; then
    22702     CGL_VERSION=`$PKG_CONFIG --modversion "cgl" 2>/dev/null`
    22703     coin_has_cgl="yes, found installed version $CGL_VERSION"
    22704   else
    22705     CGL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "cgl"`
    22706 
    22707   fi
    22708 else
    22709   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cgl without pkg-config\"" >&5
    22710 echo "$as_me: error: \"Cannot check for existance of module Cgl without pkg-config\"" >&2;}
    22711    { (exit 1); exit 1; }; }
    22712 fi
    22713 
    22714     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22715     export PKG_CONFIG_PATH
    22716   fi
    22717 fi
    22718 
    22719 if test "$coin_has_cgl" = notGiven; then
    22720   echo "$as_me:$LINENO: result: not given" >&5
    22721 echo "${ECHO_T}not given" >&6
    22722 
    22723 else
     22275     coin_has_cgl="yes"
     22276
     22277  fi
     22278fi
     22279
     22280if test -z "$coin_reason" ; then
    2272422281  echo "$as_me:$LINENO: result: $coin_has_cgl" >&5
    2272522282echo "${ECHO_T}$coin_has_cgl" >&6
    22726 fi
    22727 
    22728 echo "$as_me:$LINENO: checking whether project Cgl needs to be configured" >&5
    22729 echo $ECHO_N "checking whether project Cgl needs to be configured... $ECHO_C" >&6
    22730 if test "$coin_have_project_dir" = yes ; then
    22731 
     22283else
     22284  echo "$as_me:$LINENO: result: $coin_has_cgl, $coin_reason" >&5
     22285echo "${ECHO_T}$coin_has_cgl, $coin_reason" >&6
     22286fi
     22287
     22288if test "$coin_has_cgl" = yes ; then
    2273222289  if test -r $srcdir/Cgl/configure; then
    2273322290    coin_subdirs="$coin_subdirs Cgl"
    22734     echo "$as_me:$LINENO: result: yes" >&5
    22735 echo "${ECHO_T}yes" >&6
    2273622291
    2273722292
    2273822293subdirs="$subdirs Cgl"
    2273922294
    22740   else
    22741     echo "$as_me:$LINENO: result: no" >&5
    22742 echo "${ECHO_T}no" >&6
    22743   fi
    22744 else
    22745   echo "$as_me:$LINENO: result: no" >&5
    22746 echo "${ECHO_T}no" >&6
    22747 fi
    22748 
    22749 
    22750 echo "$as_me:$LINENO: checking whether project Cbc is available" >&5
    22751 echo $ECHO_N "checking whether project Cbc is available... $ECHO_C" >&6
     22295  fi
     22296fi
     22297
     22298
     22299echo "$as_me:$LINENO: checking whether source of project Cbc is available and should be compiled" >&5
     22300echo $ECHO_N "checking whether source of project Cbc is available and should be compiled... $ECHO_C" >&6
    2275222301
    2275322302coin_has_cbc=notGiven
    22754 coin_have_project_dir=no
     22303coin_reason=
    2275522304
    2275622305# check if user wants to skip project in any case
     
    2275922308  for dir in $COIN_SKIP_PROJECTS; do
    2276022309    if test $dir = "Cbc"; then
    22761       coin_has_cbc=skipping
     22310      coin_has_cbc="no"
     22311      coin_reason="Cbc has been specified in COIN_SKIP_PROJECTS"
    2276222312    fi
    22763     if test $dir = "/Cbc"; then
    22764       coin_has_cbc=skipping
    22765     fi
     22313
    2276622314  done
    2276722315fi
    2276822316
    22769 if test $coin_has_cbc != skipping; then
    22770   if test $PACKAGE_TARNAME = cbc; then
    22771     coin_has_cbc=yes
    22772     coin_have_project_dir=yes
    22773   fi
    22774 
     22317if test "$coin_has_cbc" != no; then
    2277522318
    2277622319# Check whether --with-m4_tolower(Cbc)-lib or --without-m4_tolower(Cbc)-lib was given.
    2277722320if test "${with_cbc_lib+set}" = set; then
    2277822321  withval="$with_cbc_lib"
    22779   coin_has_cbc="yes, via --with-cbc-lib"
     22322  if test "$withval" = no ; then
     22323       coin_has_cbc="no"
     22324       coin_reason="--without-cbc-lib has been specified"
     22325     else
     22326       coin_has_cbc="no"
     22327       coin_reason="--with-cbc-lib has been specified"
     22328     fi
    2278022329fi;
    22781 
     22330fi
     22331
     22332if test "$coin_has_cbc" != no; then
    2278222333
    2278322334# Check whether --with-m4_tolower(Cbc)-incdir or --without-m4_tolower(Cbc)-incdir was given.
    2278422335if test "${with_cbc_incdir+set}" = set; then
    2278522336  withval="$with_cbc_incdir"
    22786   coin_has_cbc="yes, via --with-cbc-incdir"
     22337  if test "$withval" = no ; then
     22338       coin_has_cbc="no"
     22339       coin_reason="--without-cbc-incdir has been specified"
     22340     else
     22341       coin_has_cbc="no"
     22342       coin_reason="--with-cbc-incdir has been specified"
     22343     fi
    2278722344fi;
    22788 
     22345fi
     22346
     22347if test "$coin_has_cbc" != no; then
    2278922348
    2279022349# Check whether --with-m4_tolower(Cbc)-datadir or --without-m4_tolower(Cbc)-datadir was given.
    2279122350if test "${with_cbc_datadir+set}" = set; then
    2279222351  withval="$with_cbc_datadir"
    22793   coin_has_cbc="yes, via --with-cbc-datadir"
     22352  if test "$withval" = no ; then
     22353       coin_has_cbc="no"
     22354       coin_reason="--without-cbc-datadir has been specified"
     22355     else
     22356       coin_has_cbc="no"
     22357       coin_reason="--with-cbc-datadir has been specified"
     22358     fi
    2279422359fi;
    22795 
    22796 
    22797 
    22798 
    22799 
    22800 fi
     22360fi
     22361
     22362
     22363
     22364
    2280122365
    2280222366# check if project is available in present directory
    2280322367if test "$coin_has_cbc" = notGiven; then
    22804   if test -d $srcdir//Cbc; then
     22368  coin_has_cbc=no
     22369  if test -d $srcdir/Cbc; then
     22370    coin_reason="source in Cbc"
    2280522371    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
    2280622372    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
    2280722373    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
    22808      coin_have_project_dir=yes
    22809 
    22810     if test $coin_have_project_dir = yes; then
    22811       coin_has_cbc="yes, source in Cbc"
    22812     fi
    22813   fi
    22814 fi
    22815 
    22816 # check for project by using pkg-config, if pkg-config is available
    22817 if test "$coin_has_cbc" = notGiven; then
    22818   #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED
    22819   if test -n "$PKG_CONFIG" ; then
    22820     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22821     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH
    22822 
    22823 if test -n "$PKG_CONFIG" ; then
    22824   if $PKG_CONFIG --exists "cbc"; then
    22825     CBC_VERSION=`$PKG_CONFIG --modversion "cbc" 2>/dev/null`
    22826     coin_has_cbc="yes, found installed version $CBC_VERSION"
    22827   else
    22828     CBC_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "cbc"`
    22829 
    22830   fi
    22831 else
    22832   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Cbc without pkg-config\"" >&5
    22833 echo "$as_me: error: \"Cannot check for existance of module Cbc without pkg-config\"" >&2;}
    22834    { (exit 1); exit 1; }; }
    22835 fi
    22836 
    22837     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22838     export PKG_CONFIG_PATH
    22839   fi
    22840 fi
    22841 
    22842 if test "$coin_has_cbc" = notGiven; then
    22843   echo "$as_me:$LINENO: result: not given" >&5
    22844 echo "${ECHO_T}not given" >&6
    22845 
    22846 else
     22374     coin_has_cbc="yes"
     22375
     22376  fi
     22377fi
     22378
     22379if test -z "$coin_reason" ; then
    2284722380  echo "$as_me:$LINENO: result: $coin_has_cbc" >&5
    2284822381echo "${ECHO_T}$coin_has_cbc" >&6
    22849 fi
    22850 
    22851 echo "$as_me:$LINENO: checking whether project Cbc needs to be configured" >&5
    22852 echo $ECHO_N "checking whether project Cbc needs to be configured... $ECHO_C" >&6
    22853 if test "$coin_have_project_dir" = yes ; then
    22854 
     22382else
     22383  echo "$as_me:$LINENO: result: $coin_has_cbc, $coin_reason" >&5
     22384echo "${ECHO_T}$coin_has_cbc, $coin_reason" >&6
     22385fi
     22386
     22387if test "$coin_has_cbc" = yes ; then
    2285522388  if test -r $srcdir/Cbc/configure; then
    2285622389    coin_subdirs="$coin_subdirs Cbc"
    22857     echo "$as_me:$LINENO: result: yes" >&5
    22858 echo "${ECHO_T}yes" >&6
    2285922390
    2286022391
    2286122392subdirs="$subdirs Cbc"
    2286222393
    22863   else
    22864     echo "$as_me:$LINENO: result: no" >&5
    22865 echo "${ECHO_T}no" >&6
    22866   fi
    22867 else
    22868   echo "$as_me:$LINENO: result: no" >&5
    22869 echo "${ECHO_T}no" >&6
     22394  fi
    2287022395fi
    2287122396
     
    2328422809Usually this means the macro was only invoked conditionally." >&5
    2328522810echo "$as_me: error: conditional \"HAVE_EXTERNALS\" was never defined.
    23286 Usually this means the macro was only invoked conditionally." >&2;}
    23287    { (exit 1); exit 1; }; }
    23288 fi
    23289 if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
    23290   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    23291 Usually this means the macro was only invoked conditionally." >&5
    23292 echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2329322811Usually this means the macro was only invoked conditionally." >&2;}
    2329422812   { (exit 1); exit 1; }; }
     
    2385723375s,@MPIF77@,$MPIF77,;t t
    2385823376s,@EGREP@,$EGREP,;t t
     23377s,@LN_S@,$LN_S,;t t
    2385923378s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    2386023379s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     
    2391023429s,@host_vendor@,$host_vendor,;t t
    2391123430s,@host_os@,$host_os,;t t
    23912 s,@LN_S@,$LN_S,;t t
    2391323431s,@ECHO@,$ECHO,;t t
    2391423432s,@AR@,$AR,;t t
     
    2392323441s,@RPATH_FLAGS@,$RPATH_FLAGS,;t t
    2392423442s,@LT_LDFLAGS@,$LT_LDFLAGS,;t t
    23925 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
    23926 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
    23927 s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
    23928 s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
    23929 s,@COIN_PKG_CONFIG_PATH@,$COIN_PKG_CONFIG_PATH,;t t
    23930 s,@COIN_PKG_CONFIG_PATH_UNINSTALLED@,$COIN_PKG_CONFIG_PATH_UNINSTALLED,;t t
    2393123443s,@COIN_SKIP_PROJECTS@,$COIN_SKIP_PROJECTS,;t t
    2393223444s,@subdirs@,$subdirs,;t t
Note: See TracChangeset for help on using the changeset viewer.