Changeset 1489 for trunk/Cbc/configure


Ignore:
Timestamp:
Jul 25, 2010 3:58:37 PM (9 years ago)
Author:
stefan
Message:

COIN_HAS_MODULE_FALLBACK is now always called by COIN_HAS_MODULE and checks dependencies, thus simplify configure.ac; rerun autotools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure

    r1486 r1489  
    473473#endif"
    474474
    475 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CBC_SVN_REV CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA REQUIREDPACKAGES COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE DYLP_LIBS DYLP_CFLAGS DYLP_DATA COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE VOL_LIBS VOL_CFLAGS VOL_DATA COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE MIPLIB3_LIBS MIPLIB3_CFLAGS MIPLIB3_DATA COIN_HAS_MIPLIB3_TRUE COIN_HAS_MIPLIB3_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GRB_LIBS GRB_CFLAGS GRB_DATA COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE SPX_LIBS SPX_CFLAGS SPX_DATA COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SPX_TRUE OSICBC_DFLT_SOLVER_SPX_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
     475ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion CBC_SVN_REV CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC CXXDEFS ADD_CXXFLAGS DBG_CXXFLAGS OPT_CXXFLAGS CXX CXXFLAGS ac_ct_CXX MPICXX EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOLM4 have_autoconf have_automake have_svn BUILDTOOLSDIR AUX_DIR abs_source_dir abs_lib_dir abs_include_dir abs_bin_dir HAVE_EXTERNALS_TRUE HAVE_EXTERNALS_FALSE host host_cpu host_vendor host_os LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED COINDEPEND_LIBS COINDEPEND_CFLAGS COINDEPEND_DATA REQUIREDPACKAGES COIN_HAS_COINDEPEND_TRUE COIN_HAS_COINDEPEND_FALSE CLP_LIBS CLP_CFLAGS CLP_DATA COIN_HAS_CLP_TRUE COIN_HAS_CLP_FALSE OSITESTS_LIBS OSITESTS_CFLAGS OSITESTS_DATA COIN_HAS_OSITESTS_TRUE COIN_HAS_OSITESTS_FALSE SAMPLE_LIBS SAMPLE_CFLAGS SAMPLE_DATA COIN_HAS_SAMPLE_TRUE COIN_HAS_SAMPLE_FALSE NETLIB_LIBS NETLIB_CFLAGS NETLIB_DATA COIN_HAS_NETLIB_TRUE COIN_HAS_NETLIB_FALSE MIPLIB3_LIBS MIPLIB3_CFLAGS MIPLIB3_DATA COIN_HAS_MIPLIB3_TRUE COIN_HAS_MIPLIB3_FALSE DYLP_LIBS DYLP_CFLAGS DYLP_DATA COIN_HAS_DYLP_TRUE COIN_HAS_DYLP_FALSE VOL_LIBS VOL_CFLAGS VOL_DATA COIN_HAS_VOL_TRUE COIN_HAS_VOL_FALSE CPX_LIBS CPX_CFLAGS CPX_DATA COIN_HAS_CPX_TRUE COIN_HAS_CPX_FALSE GLPK_LIBS GLPK_CFLAGS GLPK_DATA COIN_HAS_GLPK_TRUE COIN_HAS_GLPK_FALSE GRB_LIBS GRB_CFLAGS GRB_DATA COIN_HAS_GRB_TRUE COIN_HAS_GRB_FALSE MSK_LIBS MSK_CFLAGS MSK_DATA COIN_HAS_MSK_TRUE COIN_HAS_MSK_FALSE SPX_LIBS SPX_CFLAGS SPX_DATA COIN_HAS_SPX_TRUE COIN_HAS_SPX_FALSE XPR_LIBS XPR_CFLAGS XPR_DATA COIN_HAS_XPR_TRUE COIN_HAS_XPR_FALSE ASL_LIBS ASL_CFLAGS ASL_DATA COIN_HAS_ASL_TRUE COIN_HAS_ASL_FALSE CBC_BUILD_CBC_GENERIC_TRUE CBC_BUILD_CBC_GENERIC_FALSE OSICBC_DFLT_SOLVER_CLP_TRUE OSICBC_DFLT_SOLVER_CLP_FALSE OSICBC_DFLT_SOLVER_CPX_TRUE OSICBC_DFLT_SOLVER_CPX_FALSE OSICBC_DFLT_SOLVER_DYLP_TRUE OSICBC_DFLT_SOLVER_DYLP_FALSE OSICBC_DFLT_SOLVER_GLPK_TRUE OSICBC_DFLT_SOLVER_GLPK_FALSE OSICBC_DFLT_SOLVER_GRB_TRUE OSICBC_DFLT_SOLVER_GRB_FALSE OSICBC_DFLT_SOLVER_MSK_TRUE OSICBC_DFLT_SOLVER_MSK_FALSE OSICBC_DFLT_SOLVER_SPX_TRUE OSICBC_DFLT_SOLVER_SPX_FALSE OSICBC_DFLT_SOLVER_SYM_TRUE OSICBC_DFLT_SOLVER_SYM_FALSE OSICBC_DFLT_SOLVER_VOL_TRUE OSICBC_DFLT_SOLVER_VOL_FALSE OSICBC_DFLT_SOLVER_XPR_TRUE OSICBC_DFLT_SOLVER_XPR_FALSE LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    11221122  --with-clp-incdir directory with header files for using module Clp
    11231123  --with-clp-datadir directory with data files for using module Clp
    1124   --with-dylp-lib linker flags for using module DyLP
    1125   --with-dylp-incdir directory with header files for using module DyLP
    1126   --with-dylp-datadir directory with data files for using module DyLP
    1127   --with-vol-lib linker flags for using module Vol
    1128   --with-vol-incdir directory with header files for using module Vol
    1129   --with-vol-datadir directory with data files for using module Vol
    11301124  --with-ositests-lib linker flags for using module OsiTests
    11311125  --with-ositests-incdir directory with header files for using module OsiTests
     
    11401134  --with-miplib3-incdir directory with header files for using module Miplib3
    11411135  --with-miplib3-datadir directory with data files for using module Miplib3
     1136  --with-dylp-lib linker flags for using module DyLP
     1137  --with-dylp-incdir directory with header files for using module DyLP
     1138  --with-dylp-datadir directory with data files for using module DyLP
     1139  --with-vol-lib linker flags for using module Vol
     1140  --with-vol-incdir directory with header files for using module Vol
     1141  --with-vol-datadir directory with data files for using module Vol
    11421142  --with-cpx-lib linker flags for using module Cpx
    11431143  --with-cpx-incdir directory with header files for using module Cpx
     
    2082920829    export PKG_CONFIG_PATH
    2083020830  else
    20831     #if 4th argument is given, try fallback - whereby we take the first word from coinutils = trunk osi cgl as basename for the .pc file
    20832     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    20833 echo "${ECHO_T}skipped check via pkg-config" >&6
     20831    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     20832echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     20833
     20834echo "$as_me:$LINENO: checking for COIN-OR module CoinDepend (fallback)" >&5
     20835echo $ECHO_N "checking for COIN-OR module CoinDepend (fallback)... $ECHO_C" >&6
     20836
     20837coin_has_coindepend=notGiven
     20838COINDEPEND_LIBS=
     20839COINDEPEND_CFLAGS=
     20840COINDEPEND_DATA=
     20841
     20842
     20843# initial list of dependencies is "coinutils = trunk osi cgl", but we need to filter out version number specifications (= x, <= x, >= x)
     20844projtoprocess="coinutils  osi cgl"
     20845projprocessed=""
     20846
     20847while test $coin_has_coindepend = notGiven ; do
     20848  # setup list of projects that need to be processed in the next round
     20849  nextprojtoprocess=""
     20850
     20851  for proj in $projtoprocess ; do
     20852    # if $proj has been processed already, skip this round
     20853    if test "x$projprocessed" != x ; then
     20854      for projdone in $projprocessed ; do
     20855        if test $projdone = $proj ; then
     20856          continue 2
     20857        fi
     20858      done
     20859    fi
     20860
     20861    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     20862    pcfile=""
     20863    save_IFS="$IFS"
     20864    IFS=":"
     20865    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     20866      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     20867      if test -r "$dir/$proj-uninstalled.pc" ; then
     20868        pcfile="$dir/$proj-uninstalled.pc"
     20869        pcfiledir="$dir"
     20870        break
     20871      fi
     20872    done
     20873    IFS="$save_IFS"
     20874
     20875    if test "x$pcfile" != x ; then
     20876      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     20877      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     20878      COINDEPEND_CFLAGS="$projcflags $COINDEPEND_CFLAGS"
     20879
     20880      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     20881      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     20882      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     20883      if test "x$projlibs" != x ; then
     20884        if test -d "${pcfiledir}/src" ; then
     20885          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     20886        else
     20887          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     20888        fi
     20889      else
     20890        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     20891      fi
     20892      COINDEPEND_LIBS="$projlibs $COINDEPEND_LIBS"
     20893
     20894      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     20895      if test "x$projprocessed" = x ; then
     20896        COINDEPEND_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     20897      fi
     20898
     20899      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     20900      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     20901      nextprojtoprocess="$nextprojtoprocess $projrequires"
     20902
     20903      # remember that we have processed $proj
     20904      projprocessed="$projprocessed $proj"
     20905
     20906    else
     20907      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     20908echo "${ECHO_T}no, dependency $proj not available" >&6
     20909      break 2
     20910    fi
     20911
     20912  done
     20913
     20914  projtoprocess="$nextprojtoprocess"
     20915
     20916  if test "x$projtoprocess" = x ; then
     20917    coin_has_coindepend=yes
     20918    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     20919echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     20920
     20921    REQUIREDPACKAGES="coinutils = trunk osi cgl $REQUIREDPACKAGES"
     20922
     20923cat >>confdefs.h <<\_ACEOF
     20924#define COIN_HAS_COINDEPEND 1
     20925_ACEOF
     20926
     20927
     20928    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     20929    if test -n "$COINDEPEND_CFLAGS" ; then
     20930      { echo "$as_me:$LINENO: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&5
     20931echo "$as_me: CoinDepend CFLAGS are $COINDEPEND_CFLAGS" >&6;}
     20932    fi
     20933    if test -n "$COINDEPEND_LIBS" ; then
     20934      { echo "$as_me:$LINENO: CoinDepend LIBS   are $COINDEPEND_LIBS" >&5
     20935echo "$as_me: CoinDepend LIBS   are $COINDEPEND_LIBS" >&6;}
     20936    fi
     20937    if test -n "$COINDEPEND_DATA" ; then
     20938      { echo "$as_me:$LINENO: CoinDepend DATA   is  $COINDEPEND_DATA" >&5
     20939echo "$as_me: CoinDepend DATA   is  $COINDEPEND_DATA" >&6;}
     20940    fi
     20941    fi
     20942  fi
     20943done
     20944
     20945
     20946
     20947if test $coin_has_coindepend != notGiven &&
     20948                test $coin_has_coindepend != skipping; then
     20949  COIN_HAS_COINDEPEND_TRUE=
     20950  COIN_HAS_COINDEPEND_FALSE='#'
     20951else
     20952  COIN_HAS_COINDEPEND_TRUE='#'
     20953  COIN_HAS_COINDEPEND_FALSE=
     20954fi
     20955
     20956
    2083420957
    2083520958  fi
     
    2087721000
    2087821001
    20879 if test $coin_has_coindepend != yes ; then
    20880   #if we have to use the fallback routines, then obviously it will not find CoinUtils dependencies
    20881   #thus, we check whether ThirdParty/Blas, ThirdParty/Lapack, and ThirdParty/Glpk have been setup and
    20882   #assume that if present then they are dependencies of CoinUtils
    20883 
    20884 if test x$coin_has_blas != "xyes" ; then
    20885 
    20886 echo "$as_me:$LINENO: checking for COIN-OR module Blas (fallback)" >&5
    20887 echo $ECHO_N "checking for COIN-OR module Blas (fallback)... $ECHO_C" >&6
    20888 
    20889 coin_has_blas=notGiven
    20890 
    20891 # check if user wants to skip module in any case
    20892 if test x"$COIN_SKIP_PROJECTS" != x; then
    20893   for dir in $COIN_SKIP_PROJECTS; do
    20894     if test $dir = "Blas"; then
    20895       coin_has_blas=skipping
    20896     fi
    20897   done
    20898 fi
    20899 
    20900 BLAS_LIBS=
    20901 BLAS_CFLAGS=
    20902 BLAS_DATA=
    20903 
    20904 
    20905 if test $coin_has_blas != "skipping" ; then
    20906   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    20907   if test -r ../ThirdParty/Blas/coinblas-uninstalled.pc ; then
    20908     # read CFLAGS and LIBS from coinblas-uninstalled.pc file
    20909     # add CYGPATH_W cludge into include flags
    20910     # replace -L${libdir} by absolute path to build directory in linker flags
    20911     # we assume that the build directory is ../ThirdParty/Blas/src if this directory exists, otherwise we assume that it is ../ThirdParty/Blas
    20912     BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
    20913     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Blas/coinblas-uninstalled.pc`
    20914     if test "x$projectlibs" != x ; then
    20915       if test -d ../ThirdParty/Blas/src ; then
    20916         BLAS_LIBS="-L`cd ../ThirdParty/Blas/src; pwd` $projectlibs"
    20917       else
    20918         BLAS_LIBS="-L`cd ../ThirdParty/Blas; pwd` $projectlibs"
    20919       fi
    20920     else
    20921       BLAS_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Blas/coinblas-uninstalled.pc`
    20922     fi
    20923     BLAS_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
    20924 
    20925 
    20926 
    20927 
    20928 
    20929     coin_has_blas=yes
    20930     echo "$as_me:$LINENO: result: ../ThirdParty/Blas" >&5
    20931 echo "${ECHO_T}../ThirdParty/Blas" >&6
    20932   else
    20933     echo "$as_me:$LINENO: result: $coin_has_blas" >&5
    20934 echo "${ECHO_T}$coin_has_blas" >&6
    20935   fi
    20936 else
    20937   echo "$as_me:$LINENO: result: skipping" >&5
    20938 echo "${ECHO_T}skipping" >&6
    20939 fi
    20940 
    20941 #if user did not disable setting of makefile conditional, do it
    20942 
    20943 fi
    20944 
    20945 
    20946 if test x$coin_has_lapack != "xyes" ; then
    20947 
    20948 echo "$as_me:$LINENO: checking for COIN-OR module Lapack (fallback)" >&5
    20949 echo $ECHO_N "checking for COIN-OR module Lapack (fallback)... $ECHO_C" >&6
    20950 
    20951 coin_has_lapack=notGiven
    20952 
    20953 # check if user wants to skip module in any case
    20954 if test x"$COIN_SKIP_PROJECTS" != x; then
    20955   for dir in $COIN_SKIP_PROJECTS; do
    20956     if test $dir = "Lapack"; then
    20957       coin_has_lapack=skipping
    20958     fi
    20959   done
    20960 fi
    20961 
    20962 LAPACK_LIBS=
    20963 LAPACK_CFLAGS=
    20964 LAPACK_DATA=
    20965 
    20966 
    20967 if test $coin_has_lapack != "skipping" ; then
    20968   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    20969   if test -r ../ThirdParty/Lapack/coinlapack-uninstalled.pc ; then
    20970     # read CFLAGS and LIBS from coinlapack-uninstalled.pc file
    20971     # add CYGPATH_W cludge into include flags
    20972     # replace -L${libdir} by absolute path to build directory in linker flags
    20973     # we assume that the build directory is ../ThirdParty/Lapack/src if this directory exists, otherwise we assume that it is ../ThirdParty/Lapack
    20974     LAPACK_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
    20975     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
    20976     if test "x$projectlibs" != x ; then
    20977       if test -d ../ThirdParty/Lapack/src ; then
    20978         LAPACK_LIBS="-L`cd ../ThirdParty/Lapack/src; pwd` $projectlibs"
    20979       else
    20980         LAPACK_LIBS="-L`cd ../ThirdParty/Lapack; pwd` $projectlibs"
    20981       fi
    20982     else
    20983       LAPACK_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
    20984     fi
    20985     LAPACK_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Lapack/coinlapack-uninstalled.pc`
    20986 
    20987 
    20988 
    20989 
    20990 
    20991     coin_has_lapack=yes
    20992     echo "$as_me:$LINENO: result: ../ThirdParty/Lapack" >&5
    20993 echo "${ECHO_T}../ThirdParty/Lapack" >&6
    20994   else
    20995     echo "$as_me:$LINENO: result: $coin_has_lapack" >&5
    20996 echo "${ECHO_T}$coin_has_lapack" >&6
    20997   fi
    20998 else
    20999   echo "$as_me:$LINENO: result: skipping" >&5
    21000 echo "${ECHO_T}skipping" >&6
    21001 fi
    21002 
    21003 #if user did not disable setting of makefile conditional, do it
    21004 
    21005 fi
    21006 
    21007 
    21008 if test x$coin_has_glpk != "xyes" ; then
    21009 
    21010 echo "$as_me:$LINENO: checking for COIN-OR module Glpk (fallback)" >&5
    21011 echo $ECHO_N "checking for COIN-OR module Glpk (fallback)... $ECHO_C" >&6
    21012 
    21013 coin_has_glpk=notGiven
    21014 
    21015 # check if user wants to skip module in any case
    21016 if test x"$COIN_SKIP_PROJECTS" != x; then
    21017   for dir in $COIN_SKIP_PROJECTS; do
    21018     if test $dir = "Glpk"; then
    21019       coin_has_glpk=skipping
    21020     fi
    21021   done
    21022 fi
    21023 
    21024 GLPK_LIBS=
    21025 GLPK_CFLAGS=
    21026 GLPK_DATA=
    21027 
    21028 
    21029 if test $coin_has_glpk != "skipping" ; then
    21030   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    21031   if test -r ../ThirdParty/Glpk/coinglpk-uninstalled.pc ; then
    21032     # read CFLAGS and LIBS from coinglpk-uninstalled.pc file
    21033     # add CYGPATH_W cludge into include flags
    21034     # replace -L${libdir} by absolute path to build directory in linker flags
    21035     # we assume that the build directory is ../ThirdParty/Glpk/src if this directory exists, otherwise we assume that it is ../ThirdParty/Glpk
    21036     GLPK_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
    21037     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
    21038     if test "x$projectlibs" != x ; then
    21039       if test -d ../ThirdParty/Glpk/src ; then
    21040         GLPK_LIBS="-L`cd ../ThirdParty/Glpk/src; pwd` $projectlibs"
    21041       else
    21042         GLPK_LIBS="-L`cd ../ThirdParty/Glpk; pwd` $projectlibs"
    21043       fi
    21044     else
    21045       GLPK_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
    21046     fi
    21047     GLPK_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Glpk/coinglpk-uninstalled.pc`
    21048 
    21049 
    21050 
    21051 
    21052 
    21053     coin_has_glpk=yes
    21054     echo "$as_me:$LINENO: result: ../ThirdParty/Glpk" >&5
    21055 echo "${ECHO_T}../ThirdParty/Glpk" >&6
    21056   else
    21057     echo "$as_me:$LINENO: result: $coin_has_glpk" >&5
    21058 echo "${ECHO_T}$coin_has_glpk" >&6
    21059   fi
    21060 else
    21061   echo "$as_me:$LINENO: result: skipping" >&5
    21062 echo "${ECHO_T}skipping" >&6
    21063 fi
    21064 
    21065 #if user did not disable setting of makefile conditional, do it
    21066 
    21067 fi
    21068 
    21069 
    21070 if test x$coin_has_coinutils != "xyes" ; then
    21071 
    21072 echo "$as_me:$LINENO: checking for COIN-OR module CoinUtils (fallback)" >&5
    21073 echo $ECHO_N "checking for COIN-OR module CoinUtils (fallback)... $ECHO_C" >&6
    21074 
    21075 coin_has_coinutils=notGiven
    21076 
    21077 # check if user wants to skip module in any case
    21078 if test x"$COIN_SKIP_PROJECTS" != x; then
    21079   for dir in $COIN_SKIP_PROJECTS; do
    21080     if test $dir = "CoinUtils"; then
    21081       coin_has_coinutils=skipping
    21082     fi
    21083   done
    21084 fi
    21085 
    21086 COINUTILS_LIBS=
    21087 COINUTILS_CFLAGS=
    21088 COINUTILS_DATA=
    21089 
    21090 
    21091 if test $coin_has_coinutils != "skipping" ; then
    21092   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    21093   if test -r ../CoinUtils/coinutils-uninstalled.pc ; then
    21094     # read CFLAGS and LIBS from coinutils-uninstalled.pc file
    21095     # add CYGPATH_W cludge into include flags
    21096     # replace -L${libdir} by absolute path to build directory in linker flags
    21097     # we assume that the build directory is ../CoinUtils/src if this directory exists, otherwise we assume that it is ../CoinUtils
    21098     COINUTILS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../CoinUtils/coinutils-uninstalled.pc`
    21099     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../CoinUtils/coinutils-uninstalled.pc`
    21100     if test "x$projectlibs" != x ; then
    21101       if test -d ../CoinUtils/src ; then
    21102         COINUTILS_LIBS="-L`cd ../CoinUtils/src; pwd` $projectlibs"
    21103       else
    21104         COINUTILS_LIBS="-L`cd ../CoinUtils; pwd` $projectlibs"
    21105       fi
    21106     else
    21107       COINUTILS_LIBS=`sed -n -e 's/Libs://p' ../CoinUtils/coinutils-uninstalled.pc`
    21108     fi
    21109     COINUTILS_DATA=`sed -n -e 's/datadir=//gp' ../CoinUtils/coinutils-uninstalled.pc`
    21110 
    21111     REQUIREDPACKAGES="coinutils $REQUIREDPACKAGES"
    21112 
    21113 
    21114 
    21115 
    21116     coin_has_coinutils=yes
    21117     echo "$as_me:$LINENO: result: ../CoinUtils" >&5
    21118 echo "${ECHO_T}../CoinUtils" >&6
    21119   else
    21120     echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5
    21121 echo "${ECHO_T}$coin_has_coinutils" >&6
    21122   fi
    21123 else
    21124   echo "$as_me:$LINENO: result: skipping" >&5
    21125 echo "${ECHO_T}skipping" >&6
    21126 fi
    21127 
    21128 #if user did not disable setting of makefile conditional, do it
    21129 
    21130 fi
    21131 
    21132 
    21133 if test x$coin_has_osi != "xyes" ; then
    21134 
    21135 echo "$as_me:$LINENO: checking for COIN-OR module Osi (fallback)" >&5
    21136 echo $ECHO_N "checking for COIN-OR module Osi (fallback)... $ECHO_C" >&6
    21137 
    21138 coin_has_osi=notGiven
    21139 
    21140 # check if user wants to skip module in any case
    21141 if test x"$COIN_SKIP_PROJECTS" != x; then
    21142   for dir in $COIN_SKIP_PROJECTS; do
    21143     if test $dir = "Osi"; then
    21144       coin_has_osi=skipping
    21145     fi
    21146   done
    21147 fi
    21148 
    21149 OSI_LIBS=
    21150 OSI_CFLAGS=
    21151 OSI_DATA=
    21152 
    21153 
    21154 if test $coin_has_osi != "skipping" ; then
    21155   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    21156   if test -r ../Osi/osi-uninstalled.pc ; then
    21157     # read CFLAGS and LIBS from osi-uninstalled.pc file
    21158     # add CYGPATH_W cludge into include flags
    21159     # replace -L${libdir} by absolute path to build directory in linker flags
    21160     # we assume that the build directory is ../Osi/src if this directory exists, otherwise we assume that it is ../Osi
    21161     OSI_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Osi/osi-uninstalled.pc`
    21162     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Osi/osi-uninstalled.pc`
    21163     if test "x$projectlibs" != x ; then
    21164       if test -d ../Osi/src ; then
    21165         OSI_LIBS="-L`cd ../Osi/src; pwd` $projectlibs"
    21166       else
    21167         OSI_LIBS="-L`cd ../Osi; pwd` $projectlibs"
    21168       fi
    21169     else
    21170       OSI_LIBS=`sed -n -e 's/Libs://p' ../Osi/osi-uninstalled.pc`
    21171     fi
    21172     OSI_DATA=`sed -n -e 's/datadir=//gp' ../Osi/osi-uninstalled.pc`
    21173 
    21174     REQUIREDPACKAGES="osi $REQUIREDPACKAGES"
    21175 
    21176 
    21177 
    21178 
    21179     coin_has_osi=yes
    21180     echo "$as_me:$LINENO: result: ../Osi" >&5
    21181 echo "${ECHO_T}../Osi" >&6
    21182   else
    21183     echo "$as_me:$LINENO: result: $coin_has_osi" >&5
    21184 echo "${ECHO_T}$coin_has_osi" >&6
    21185   fi
    21186 else
    21187   echo "$as_me:$LINENO: result: skipping" >&5
    21188 echo "${ECHO_T}skipping" >&6
    21189 fi
    21190 
    21191 #if user did not disable setting of makefile conditional, do it
    21192 
    21193 fi
    21194 
    21195 
    21196 if test x$coin_has_cgl != "xyes" ; then
    21197 
    21198 echo "$as_me:$LINENO: checking for COIN-OR module Cgl (fallback)" >&5
    21199 echo $ECHO_N "checking for COIN-OR module Cgl (fallback)... $ECHO_C" >&6
    21200 
    21201 coin_has_cgl=notGiven
    21202 
    21203 # check if user wants to skip module in any case
    21204 if test x"$COIN_SKIP_PROJECTS" != x; then
    21205   for dir in $COIN_SKIP_PROJECTS; do
    21206     if test $dir = "Cgl"; then
    21207       coin_has_cgl=skipping
    21208     fi
    21209   done
    21210 fi
    21211 
    21212 CGL_LIBS=
    21213 CGL_CFLAGS=
    21214 CGL_DATA=
    21215 
    21216 
    21217 if test $coin_has_cgl != "skipping" ; then
    21218   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    21219   if test -r ../Cgl/cgl-uninstalled.pc ; then
    21220     # read CFLAGS and LIBS from cgl-uninstalled.pc file
    21221     # add CYGPATH_W cludge into include flags
    21222     # replace -L${libdir} by absolute path to build directory in linker flags
    21223     # we assume that the build directory is ../Cgl/src if this directory exists, otherwise we assume that it is ../Cgl
    21224     CGL_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Cgl/cgl-uninstalled.pc`
    21225     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Cgl/cgl-uninstalled.pc`
    21226     if test "x$projectlibs" != x ; then
    21227       if test -d ../Cgl/src ; then
    21228         CGL_LIBS="-L`cd ../Cgl/src; pwd` $projectlibs"
    21229       else
    21230         CGL_LIBS="-L`cd ../Cgl; pwd` $projectlibs"
    21231       fi
    21232     else
    21233       CGL_LIBS=`sed -n -e 's/Libs://p' ../Cgl/cgl-uninstalled.pc`
    21234     fi
    21235     CGL_DATA=`sed -n -e 's/datadir=//gp' ../Cgl/cgl-uninstalled.pc`
    21236 
    21237     REQUIREDPACKAGES="cgl $REQUIREDPACKAGES"
    21238 
    21239 
    21240 
    21241 
    21242     coin_has_cgl=yes
    21243     echo "$as_me:$LINENO: result: ../Cgl" >&5
    21244 echo "${ECHO_T}../Cgl" >&6
    21245   else
    21246     echo "$as_me:$LINENO: result: $coin_has_cgl" >&5
    21247 echo "${ECHO_T}$coin_has_cgl" >&6
    21248   fi
    21249 else
    21250   echo "$as_me:$LINENO: result: skipping" >&5
    21251 echo "${ECHO_T}skipping" >&6
    21252 fi
    21253 
    21254 #if user did not disable setting of makefile conditional, do it
    21255 
    21256 fi
    21257 
    21258   COINDEPEND_LIBS="$CGL_LIBS $OSI_LIBS $COINUTILS_LIBS $LAPACK_LIBS $BLAS_LIBS $GLPK_LIBS"
    21259   COINDEPEND_CFLAGS="$COINUTILS_CFLAGS $GLPK_CFLAGS $OSI_CFLAGS $CGL_CFLAGS"
    21260   if test "${coin_has_coinutils}${coin_has_osi}${coin_has_cgl}" = yesyesyes ; then
    21261     coin_has_coindepend=yes
    21262 
    21263 cat >>confdefs.h <<\_ACEOF
    21264 #define COIN_HAS_COINDEPEND 1
    21265 _ACEOF
    21266 
    21267 
    21268 
    21269 if test $coin_has_coindepend = yes; then
    21270   COIN_HAS_COINDEPEND_TRUE=
    21271   COIN_HAS_COINDEPEND_FALSE='#'
    21272 else
    21273   COIN_HAS_COINDEPEND_TRUE='#'
    21274   COIN_HAS_COINDEPEND_FALSE=
    21275 fi
    21276 
    21277   fi
    21278 fi
    2127921002if test $coin_has_coindepend != yes ; then
    2128021003  { { echo "$as_me:$LINENO: error: Required package CoinUtils, Osi, or Cgl not available." >&5
     
    2138821111    export PKG_CONFIG_PATH
    2138921112  else
    21390     #if 4th argument is given, try fallback - whereby we take the first word from osi-clp as basename for the .pc file
    21391     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    21392 echo "${ECHO_T}skipped check via pkg-config" >&6
     21113    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     21114echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     21115
     21116echo "$as_me:$LINENO: checking for COIN-OR module Clp (fallback)" >&5
     21117echo $ECHO_N "checking for COIN-OR module Clp (fallback)... $ECHO_C" >&6
     21118
     21119coin_has_clp=notGiven
     21120CLP_LIBS=
     21121CLP_CFLAGS=
     21122CLP_DATA=
     21123
     21124
     21125# initial list of dependencies is "osi-clp", but we need to filter out version number specifications (= x, <= x, >= x)
     21126projtoprocess="osi-clp"
     21127projprocessed=""
     21128
     21129while test $coin_has_clp = notGiven ; do
     21130  # setup list of projects that need to be processed in the next round
     21131  nextprojtoprocess=""
     21132
     21133  for proj in $projtoprocess ; do
     21134    # if $proj has been processed already, skip this round
     21135    if test "x$projprocessed" != x ; then
     21136      for projdone in $projprocessed ; do
     21137        if test $projdone = $proj ; then
     21138          continue 2
     21139        fi
     21140      done
     21141    fi
     21142
     21143    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     21144    pcfile=""
     21145    save_IFS="$IFS"
     21146    IFS=":"
     21147    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     21148      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     21149      if test -r "$dir/$proj-uninstalled.pc" ; then
     21150        pcfile="$dir/$proj-uninstalled.pc"
     21151        pcfiledir="$dir"
     21152        break
     21153      fi
     21154    done
     21155    IFS="$save_IFS"
     21156
     21157    if test "x$pcfile" != x ; then
     21158      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     21159      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     21160      CLP_CFLAGS="$projcflags $CLP_CFLAGS"
     21161
     21162      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     21163      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     21164      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     21165      if test "x$projlibs" != x ; then
     21166        if test -d "${pcfiledir}/src" ; then
     21167          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     21168        else
     21169          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     21170        fi
     21171      else
     21172        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     21173      fi
     21174      CLP_LIBS="$projlibs $CLP_LIBS"
     21175
     21176      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     21177      if test "x$projprocessed" = x ; then
     21178        CLP_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     21179      fi
     21180
     21181      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     21182      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     21183      nextprojtoprocess="$nextprojtoprocess $projrequires"
     21184
     21185      # remember that we have processed $proj
     21186      projprocessed="$projprocessed $proj"
     21187
     21188    else
     21189      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     21190echo "${ECHO_T}no, dependency $proj not available" >&6
     21191      break 2
     21192    fi
     21193
     21194  done
     21195
     21196  projtoprocess="$nextprojtoprocess"
     21197
     21198  if test "x$projtoprocess" = x ; then
     21199    coin_has_clp=yes
     21200    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     21201echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     21202
     21203    REQUIREDPACKAGES="osi-clp $REQUIREDPACKAGES"
     21204
     21205cat >>confdefs.h <<\_ACEOF
     21206#define COIN_HAS_CLP 1
     21207_ACEOF
     21208
     21209
     21210    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     21211    if test -n "$CLP_CFLAGS" ; then
     21212      { echo "$as_me:$LINENO: Clp CFLAGS are $CLP_CFLAGS" >&5
     21213echo "$as_me: Clp CFLAGS are $CLP_CFLAGS" >&6;}
     21214    fi
     21215    if test -n "$CLP_LIBS" ; then
     21216      { echo "$as_me:$LINENO: Clp LIBS   are $CLP_LIBS" >&5
     21217echo "$as_me: Clp LIBS   are $CLP_LIBS" >&6;}
     21218    fi
     21219    if test -n "$CLP_DATA" ; then
     21220      { echo "$as_me:$LINENO: Clp DATA   is  $CLP_DATA" >&5
     21221echo "$as_me: Clp DATA   is  $CLP_DATA" >&6;}
     21222    fi
     21223    fi
     21224  fi
     21225done
     21226
     21227
     21228
     21229if test $coin_has_clp != notGiven &&
     21230                test $coin_has_clp != skipping; then
     21231  COIN_HAS_CLP_TRUE=
     21232  COIN_HAS_CLP_FALSE='#'
     21233else
     21234  COIN_HAS_CLP_TRUE='#'
     21235  COIN_HAS_CLP_FALSE=
     21236fi
     21237
     21238
    2139321239
    2139421240  fi
     
    2143721283
    2143821284if test $coin_has_clp != yes ; then
    21439   # OsiClp depends on Clp
    21440   # so if Clp is there, then we assume that also OsiClp will be there and add the corresponding flags to the Clp flags
    21441 
    21442 if test x$coin_has_clp != "xyes" ; then
    21443 
    21444 echo "$as_me:$LINENO: checking for COIN-OR module Clp (fallback)" >&5
    21445 echo $ECHO_N "checking for COIN-OR module Clp (fallback)... $ECHO_C" >&6
    21446 
    21447 coin_has_clp=notGiven
     21285  { { echo "$as_me:$LINENO: error: \"Required package Clp unavailable.\"" >&5
     21286echo "$as_me: error: \"Required package Clp unavailable.\"" >&2;}
     21287   { (exit 1); exit 1; }; }
     21288fi
     21289
     21290
     21291echo "$as_me:$LINENO: checking for COIN-OR module OsiTests" >&5
     21292echo $ECHO_N "checking for COIN-OR module OsiTests... $ECHO_C" >&6
     21293
     21294coin_has_ositests=notGiven
    2144821295
    2144921296# check if user wants to skip module in any case
    2145021297if test x"$COIN_SKIP_PROJECTS" != x; then
    2145121298  for dir in $COIN_SKIP_PROJECTS; do
    21452     if test $dir = "Clp"; then
    21453       coin_has_clp=skipping
     21299    if test $dir = "OsiTests"; then
     21300      coin_has_ositests=skipping
    2145421301    fi
    2145521302  done
    2145621303fi
    2145721304
    21458 CLP_LIBS=
    21459 CLP_CFLAGS=
    21460 CLP_DATA=
    21461 
    21462 
    21463 if test $coin_has_clp != "skipping" ; then
    21464   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    21465   if test -r ../Clp/clp-uninstalled.pc ; then
    21466     # read CFLAGS and LIBS from clp-uninstalled.pc file
    21467     # add CYGPATH_W cludge into include flags
    21468     # replace -L${libdir} by absolute path to build directory in linker flags
    21469     # we assume that the build directory is ../Clp/src if this directory exists, otherwise we assume that it is ../Clp
    21470     CLP_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Clp/clp-uninstalled.pc`
    21471     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Clp/clp-uninstalled.pc`
    21472     if test "x$projectlibs" != x ; then
    21473       if test -d ../Clp/src ; then
    21474         CLP_LIBS="-L`cd ../Clp/src; pwd` $projectlibs"
     21305OSITESTS_LIBS=
     21306OSITESTS_CFLAGS=
     21307OSITESTS_DATA=
     21308
     21309
     21310
     21311
     21312
     21313#check if user provided LIBS, CFLAGS, or DATA for module
     21314if test $coin_has_ositests != skipping; then
     21315
     21316
     21317# Check whether --with-m4_tolower(OsiTests)-lib or --without-m4_tolower(OsiTests)-lib was given.
     21318if test "${with_ositests_lib+set}" = set; then
     21319  withval="$with_ositests_lib"
     21320  coin_has_ositests=yes
     21321       OSITESTS_LIBS="$withval"
     21322
     21323
     21324fi;
     21325
     21326
     21327# Check whether --with-m4_tolower(OsiTests)-incdir or --without-m4_tolower(OsiTests)-incdir was given.
     21328if test "${with_ositests_incdir+set}" = set; then
     21329  withval="$with_ositests_incdir"
     21330  coin_has_ositests=yes
     21331     OSITESTS_CFLAGS="-I`${CYGPATH_W} $withval`"
     21332fi;
     21333
     21334
     21335# Check whether --with-m4_tolower(OsiTests)-datadir or --without-m4_tolower(OsiTests)-datadir was given.
     21336if test "${with_ositests_datadir+set}" = set; then
     21337  withval="$with_ositests_datadir"
     21338  coin_has_ositests=yes
     21339     OSITESTS_DATA="$withval"
     21340fi;
     21341fi
     21342
     21343if test $coin_has_ositests = notGiven; then
     21344  if test -n "$PKG_CONFIG" ; then
     21345    # set search path for pkg-config
     21346    # need to export variable to be sure that the following pkg-config gets these values
     21347    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21348    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     21349    export PKG_CONFIG_PATH
     21350
     21351    # let pkg-config do it's magic
     21352
     21353
     21354
     21355if test -n "$PKG_CONFIG" ; then
     21356  if $PKG_CONFIG --exists "osi-unittests"; then
     21357    OSITESTS_VERSIONS="`$PKG_CONFIG --modversion osi-unittests 2>/dev/null`"
     21358     cflags=`$PKG_CONFIG --cflags "osi-unittests" 2>/dev/null`
     21359    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     21360        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     21361        # but only do this if is not trivial
     21362    if test "$CYGPATH_W" != "echo" ; then
     21363      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     21364          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21365        fi
     21366    OSITESTS_CFLAGS="$cflags"
     21367    OSITESTS_LIBS=`$PKG_CONFIG --libs "osi-unittests" 2>/dev/null`
     21368    OSITESTS_DATA=`$PKG_CONFIG --variable=datadir "osi-unittests" 2>/dev/null`
     21369     coin_has_ositests=yes
     21370        echo "$as_me:$LINENO: result: yes: $OSITESTS_VERSIONS" >&5
     21371echo "${ECHO_T}yes: $OSITESTS_VERSIONS" >&6
     21372
     21373
     21374
     21375  else
     21376    OSITESTS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-unittests`
     21377      coin_has_ositests=notGiven
     21378        echo "$as_me:$LINENO: result: not given: $OSITESTS_PKG_ERRORS" >&5
     21379echo "${ECHO_T}not given: $OSITESTS_PKG_ERRORS" >&6
     21380
     21381  fi
     21382else
     21383  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&5
     21384echo "$as_me: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&2;}
     21385   { (exit 1); exit 1; }; }
     21386fi
     21387
     21388
     21389
     21390
     21391    # reset PKG_CONFIG_PATH variable
     21392    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21393    export PKG_CONFIG_PATH
     21394  else
     21395    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     21396echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     21397
     21398echo "$as_me:$LINENO: checking for COIN-OR module OsiTests (fallback)" >&5
     21399echo $ECHO_N "checking for COIN-OR module OsiTests (fallback)... $ECHO_C" >&6
     21400
     21401coin_has_ositests=notGiven
     21402OSITESTS_LIBS=
     21403OSITESTS_CFLAGS=
     21404OSITESTS_DATA=
     21405
     21406
     21407# initial list of dependencies is "osi-unittests", but we need to filter out version number specifications (= x, <= x, >= x)
     21408projtoprocess="osi-unittests"
     21409projprocessed=""
     21410
     21411while test $coin_has_ositests = notGiven ; do
     21412  # setup list of projects that need to be processed in the next round
     21413  nextprojtoprocess=""
     21414
     21415  for proj in $projtoprocess ; do
     21416    # if $proj has been processed already, skip this round
     21417    if test "x$projprocessed" != x ; then
     21418      for projdone in $projprocessed ; do
     21419        if test $projdone = $proj ; then
     21420          continue 2
     21421        fi
     21422      done
     21423    fi
     21424
     21425    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     21426    pcfile=""
     21427    save_IFS="$IFS"
     21428    IFS=":"
     21429    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     21430      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     21431      if test -r "$dir/$proj-uninstalled.pc" ; then
     21432        pcfile="$dir/$proj-uninstalled.pc"
     21433        pcfiledir="$dir"
     21434        break
     21435      fi
     21436    done
     21437    IFS="$save_IFS"
     21438
     21439    if test "x$pcfile" != x ; then
     21440      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     21441      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     21442      OSITESTS_CFLAGS="$projcflags $OSITESTS_CFLAGS"
     21443
     21444      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     21445      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     21446      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     21447      if test "x$projlibs" != x ; then
     21448        if test -d "${pcfiledir}/src" ; then
     21449          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     21450        else
     21451          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     21452        fi
    2147521453      else
    21476         CLP_LIBS="-L`cd ../Clp; pwd` $projectlibs"
     21454        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    2147721455      fi
     21456      OSITESTS_LIBS="$projlibs $OSITESTS_LIBS"
     21457
     21458      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     21459      if test "x$projprocessed" = x ; then
     21460        OSITESTS_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     21461      fi
     21462
     21463      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     21464      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     21465      nextprojtoprocess="$nextprojtoprocess $projrequires"
     21466
     21467      # remember that we have processed $proj
     21468      projprocessed="$projprocessed $proj"
     21469
    2147821470    else
    21479       CLP_LIBS=`sed -n -e 's/Libs://p' ../Clp/clp-uninstalled.pc`
     21471      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     21472echo "${ECHO_T}no, dependency $proj not available" >&6
     21473      break 2
    2148021474    fi
    21481     CLP_DATA=`sed -n -e 's/datadir=//gp' ../Clp/clp-uninstalled.pc`
    21482 
    21483     REQUIREDPACKAGES="clp $REQUIREDPACKAGES"
     21475
     21476  done
     21477
     21478  projtoprocess="$nextprojtoprocess"
     21479
     21480  if test "x$projtoprocess" = x ; then
     21481    coin_has_ositests=yes
     21482    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     21483echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
    2148421484
    2148521485
    2148621486
    2148721487cat >>confdefs.h <<\_ACEOF
    21488 #define COIN_HAS_CLP 1
     21488#define COIN_HAS_OSITESTS 1
    2148921489_ACEOF
    2149021490
    2149121491
    21492 
    21493     coin_has_clp=yes
    21494     echo "$as_me:$LINENO: result: ../Clp" >&5
    21495 echo "${ECHO_T}../Clp" >&6
    21496   else
    21497     echo "$as_me:$LINENO: result: $coin_has_clp" >&5
    21498 echo "${ECHO_T}$coin_has_clp" >&6
    21499   fi
    21500 else
    21501   echo "$as_me:$LINENO: result: skipping" >&5
    21502 echo "${ECHO_T}skipping" >&6
    21503 fi
    21504 
    21505 #if user did not disable setting of makefile conditional, do it
    21506 
    21507 
    21508 if test $coin_has_clp != notGiven &&
    21509                 test $coin_has_clp != skipping; then
    21510   COIN_HAS_CLP_TRUE=
    21511   COIN_HAS_CLP_FALSE='#'
    21512 else
    21513   COIN_HAS_CLP_TRUE='#'
    21514   COIN_HAS_CLP_FALSE=
    21515 fi
    21516 
    21517 
    21518 fi
    21519 
    21520   if test $coin_has_clp = yes ; then
    21521 
    21522 if test x$coin_has_osiclp != "xyes" ; then
    21523 
    21524 echo "$as_me:$LINENO: checking for COIN-OR module OsiClp (fallback)" >&5
    21525 echo $ECHO_N "checking for COIN-OR module OsiClp (fallback)... $ECHO_C" >&6
    21526 
    21527 coin_has_osiclp=notGiven
     21492    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     21493    if test -n "$OSITESTS_CFLAGS" ; then
     21494      { echo "$as_me:$LINENO: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&5
     21495echo "$as_me: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&6;}
     21496    fi
     21497    if test -n "$OSITESTS_LIBS" ; then
     21498      { echo "$as_me:$LINENO: OsiTests LIBS   are $OSITESTS_LIBS" >&5
     21499echo "$as_me: OsiTests LIBS   are $OSITESTS_LIBS" >&6;}
     21500    fi
     21501    if test -n "$OSITESTS_DATA" ; then
     21502      { echo "$as_me:$LINENO: OsiTests DATA   is  $OSITESTS_DATA" >&5
     21503echo "$as_me: OsiTests DATA   is  $OSITESTS_DATA" >&6;}
     21504    fi
     21505    fi
     21506  fi
     21507done
     21508
     21509
     21510
     21511if test $coin_has_ositests != notGiven &&
     21512                test $coin_has_ositests != skipping; then
     21513  COIN_HAS_OSITESTS_TRUE=
     21514  COIN_HAS_OSITESTS_FALSE='#'
     21515else
     21516  COIN_HAS_OSITESTS_TRUE='#'
     21517  COIN_HAS_OSITESTS_FALSE=
     21518fi
     21519
     21520
     21521
     21522  fi
     21523
     21524else
     21525  echo "$as_me:$LINENO: result: $coin_has_ositests" >&5
     21526echo "${ECHO_T}$coin_has_ositests" >&6
     21527fi
     21528
     21529if test $coin_has_ositests != skipping &&
     21530   test $coin_has_ositests != notGiven ; then
     21531  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     21532  if test -n "$OSITESTS_CFLAGS" ; then
     21533    { echo "$as_me:$LINENO: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&5
     21534echo "$as_me: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&6;}
     21535  fi
     21536  if test -n "$OSITESTS_LIBS" ; then
     21537    { echo "$as_me:$LINENO: OsiTests LIBS   are $OSITESTS_LIBS" >&5
     21538echo "$as_me: OsiTests LIBS   are $OSITESTS_LIBS" >&6;}
     21539  fi
     21540  if test -n "$OSITESTS_DATA" ; then
     21541    { echo "$as_me:$LINENO: OsiTests DATA   is  $OSITESTS_DATA" >&5
     21542echo "$as_me: OsiTests DATA   is  $OSITESTS_DATA" >&6;}
     21543  fi
     21544  fi
     21545
     21546cat >>confdefs.h <<\_ACEOF
     21547#define COIN_HAS_OSITESTS 1
     21548_ACEOF
     21549
     21550fi
     21551
     21552# Define the Makefile conditional
     21553
     21554
     21555if test $coin_has_ositests != notGiven &&
     21556                test $coin_has_ositests != skipping; then
     21557  COIN_HAS_OSITESTS_TRUE=
     21558  COIN_HAS_OSITESTS_FALSE='#'
     21559else
     21560  COIN_HAS_OSITESTS_TRUE='#'
     21561  COIN_HAS_OSITESTS_FALSE=
     21562fi
     21563
     21564
     21565
     21566
     21567
     21568echo "$as_me:$LINENO: checking for COIN-OR module Sample" >&5
     21569echo $ECHO_N "checking for COIN-OR module Sample... $ECHO_C" >&6
     21570
     21571coin_has_sample=notGiven
    2152821572
    2152921573# check if user wants to skip module in any case
    2153021574if test x"$COIN_SKIP_PROJECTS" != x; then
    2153121575  for dir in $COIN_SKIP_PROJECTS; do
    21532     if test $dir = "OsiClp"; then
    21533       coin_has_osiclp=skipping
     21576    if test $dir = "Sample"; then
     21577      coin_has_sample=skipping
    2153421578    fi
    2153521579  done
    2153621580fi
    2153721581
    21538 OSICLP_LIBS=
    21539 OSICLP_CFLAGS=
    21540 OSICLP_DATA=
    21541 
    21542 
    21543 if test $coin_has_osiclp != "skipping" ; then
    21544   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    21545   if test -r ../Clp/osi-clp-uninstalled.pc ; then
    21546     # read CFLAGS and LIBS from osi-clp-uninstalled.pc file
    21547     # add CYGPATH_W cludge into include flags
    21548     # replace -L${libdir} by absolute path to build directory in linker flags
    21549     # we assume that the build directory is ../Clp/src if this directory exists, otherwise we assume that it is ../Clp
    21550     OSICLP_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Clp/osi-clp-uninstalled.pc`
    21551     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Clp/osi-clp-uninstalled.pc`
    21552     if test "x$projectlibs" != x ; then
    21553       if test -d ../Clp/src ; then
    21554         OSICLP_LIBS="-L`cd ../Clp/src; pwd` $projectlibs"
     21582SAMPLE_LIBS=
     21583SAMPLE_CFLAGS=
     21584SAMPLE_DATA=
     21585
     21586
     21587
     21588
     21589
     21590#check if user provided LIBS, CFLAGS, or DATA for module
     21591if test $coin_has_sample != skipping; then
     21592
     21593
     21594# Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
     21595if test "${with_sample_lib+set}" = set; then
     21596  withval="$with_sample_lib"
     21597  coin_has_sample=yes
     21598       SAMPLE_LIBS="$withval"
     21599
     21600
     21601fi;
     21602
     21603
     21604# Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
     21605if test "${with_sample_incdir+set}" = set; then
     21606  withval="$with_sample_incdir"
     21607  coin_has_sample=yes
     21608     SAMPLE_CFLAGS="-I`${CYGPATH_W} $withval`"
     21609fi;
     21610
     21611
     21612# Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
     21613if test "${with_sample_datadir+set}" = set; then
     21614  withval="$with_sample_datadir"
     21615  coin_has_sample=yes
     21616     SAMPLE_DATA="$withval"
     21617fi;
     21618fi
     21619
     21620if test $coin_has_sample = notGiven; then
     21621  if test -n "$PKG_CONFIG" ; then
     21622    # set search path for pkg-config
     21623    # need to export variable to be sure that the following pkg-config gets these values
     21624    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21625    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     21626    export PKG_CONFIG_PATH
     21627
     21628    # let pkg-config do it's magic
     21629
     21630
     21631
     21632if test -n "$PKG_CONFIG" ; then
     21633  if $PKG_CONFIG --exists "coindatasample"; then
     21634    SAMPLE_VERSIONS="`$PKG_CONFIG --modversion coindatasample 2>/dev/null`"
     21635     cflags=`$PKG_CONFIG --cflags "coindatasample" 2>/dev/null`
     21636    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     21637        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     21638        # but only do this if is not trivial
     21639    if test "$CYGPATH_W" != "echo" ; then
     21640      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     21641          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21642        fi
     21643    SAMPLE_CFLAGS="$cflags"
     21644    SAMPLE_LIBS=`$PKG_CONFIG --libs "coindatasample" 2>/dev/null`
     21645    SAMPLE_DATA=`$PKG_CONFIG --variable=datadir "coindatasample" 2>/dev/null`
     21646     coin_has_sample=yes
     21647        echo "$as_me:$LINENO: result: yes: $SAMPLE_VERSIONS" >&5
     21648echo "${ECHO_T}yes: $SAMPLE_VERSIONS" >&6
     21649
     21650
     21651
     21652  else
     21653    SAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatasample`
     21654      coin_has_sample=notGiven
     21655        echo "$as_me:$LINENO: result: not given: $SAMPLE_PKG_ERRORS" >&5
     21656echo "${ECHO_T}not given: $SAMPLE_PKG_ERRORS" >&6
     21657
     21658  fi
     21659else
     21660  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Sample without pkg-config\"" >&5
     21661echo "$as_me: error: \"Cannot check for existance of module Sample without pkg-config\"" >&2;}
     21662   { (exit 1); exit 1; }; }
     21663fi
     21664
     21665
     21666
     21667
     21668    # reset PKG_CONFIG_PATH variable
     21669    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21670    export PKG_CONFIG_PATH
     21671  else
     21672    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     21673echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     21674
     21675echo "$as_me:$LINENO: checking for COIN-OR module Sample (fallback)" >&5
     21676echo $ECHO_N "checking for COIN-OR module Sample (fallback)... $ECHO_C" >&6
     21677
     21678coin_has_sample=notGiven
     21679SAMPLE_LIBS=
     21680SAMPLE_CFLAGS=
     21681SAMPLE_DATA=
     21682
     21683
     21684# initial list of dependencies is "coindatasample", but we need to filter out version number specifications (= x, <= x, >= x)
     21685projtoprocess="coindatasample"
     21686projprocessed=""
     21687
     21688while test $coin_has_sample = notGiven ; do
     21689  # setup list of projects that need to be processed in the next round
     21690  nextprojtoprocess=""
     21691
     21692  for proj in $projtoprocess ; do
     21693    # if $proj has been processed already, skip this round
     21694    if test "x$projprocessed" != x ; then
     21695      for projdone in $projprocessed ; do
     21696        if test $projdone = $proj ; then
     21697          continue 2
     21698        fi
     21699      done
     21700    fi
     21701
     21702    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     21703    pcfile=""
     21704    save_IFS="$IFS"
     21705    IFS=":"
     21706    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     21707      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     21708      if test -r "$dir/$proj-uninstalled.pc" ; then
     21709        pcfile="$dir/$proj-uninstalled.pc"
     21710        pcfiledir="$dir"
     21711        break
     21712      fi
     21713    done
     21714    IFS="$save_IFS"
     21715
     21716    if test "x$pcfile" != x ; then
     21717      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     21718      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     21719      SAMPLE_CFLAGS="$projcflags $SAMPLE_CFLAGS"
     21720
     21721      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     21722      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     21723      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     21724      if test "x$projlibs" != x ; then
     21725        if test -d "${pcfiledir}/src" ; then
     21726          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     21727        else
     21728          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     21729        fi
    2155521730      else
    21556         OSICLP_LIBS="-L`cd ../Clp; pwd` $projectlibs"
     21731        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    2155721732      fi
     21733      SAMPLE_LIBS="$projlibs $SAMPLE_LIBS"
     21734
     21735      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     21736      if test "x$projprocessed" = x ; then
     21737        SAMPLE_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     21738      fi
     21739
     21740      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     21741      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     21742      nextprojtoprocess="$nextprojtoprocess $projrequires"
     21743
     21744      # remember that we have processed $proj
     21745      projprocessed="$projprocessed $proj"
     21746
    2155821747    else
    21559       OSICLP_LIBS=`sed -n -e 's/Libs://p' ../Clp/osi-clp-uninstalled.pc`
     21748      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     21749echo "${ECHO_T}no, dependency $proj not available" >&6
     21750      break 2
    2156021751    fi
    21561     OSICLP_DATA=`sed -n -e 's/datadir=//gp' ../Clp/osi-clp-uninstalled.pc`
    21562 
    21563     REQUIREDPACKAGES="osi-clp $REQUIREDPACKAGES"
    21564 
    21565 
    21566 
    21567 
    21568     coin_has_osiclp=yes
    21569     echo "$as_me:$LINENO: result: ../Clp" >&5
    21570 echo "${ECHO_T}../Clp" >&6
     21752
     21753  done
     21754
     21755  projtoprocess="$nextprojtoprocess"
     21756
     21757  if test "x$projtoprocess" = x ; then
     21758    coin_has_sample=yes
     21759    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     21760echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     21761
     21762
     21763
     21764cat >>confdefs.h <<\_ACEOF
     21765#define COIN_HAS_SAMPLE 1
     21766_ACEOF
     21767
     21768
     21769    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     21770    if test -n "$SAMPLE_CFLAGS" ; then
     21771      { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5
     21772echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;}
     21773    fi
     21774    if test -n "$SAMPLE_LIBS" ; then
     21775      { echo "$as_me:$LINENO: Sample LIBS   are $SAMPLE_LIBS" >&5
     21776echo "$as_me: Sample LIBS   are $SAMPLE_LIBS" >&6;}
     21777    fi
     21778    if test -n "$SAMPLE_DATA" ; then
     21779      { echo "$as_me:$LINENO: Sample DATA   is  $SAMPLE_DATA" >&5
     21780echo "$as_me: Sample DATA   is  $SAMPLE_DATA" >&6;}
     21781    fi
     21782    fi
     21783  fi
     21784done
     21785
     21786
     21787
     21788if test $coin_has_sample != notGiven &&
     21789                test $coin_has_sample != skipping; then
     21790  COIN_HAS_SAMPLE_TRUE=
     21791  COIN_HAS_SAMPLE_FALSE='#'
     21792else
     21793  COIN_HAS_SAMPLE_TRUE='#'
     21794  COIN_HAS_SAMPLE_FALSE=
     21795fi
     21796
     21797
     21798
     21799  fi
     21800
     21801else
     21802  echo "$as_me:$LINENO: result: $coin_has_sample" >&5
     21803echo "${ECHO_T}$coin_has_sample" >&6
     21804fi
     21805
     21806if test $coin_has_sample != skipping &&
     21807   test $coin_has_sample != notGiven ; then
     21808  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     21809  if test -n "$SAMPLE_CFLAGS" ; then
     21810    { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5
     21811echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;}
     21812  fi
     21813  if test -n "$SAMPLE_LIBS" ; then
     21814    { echo "$as_me:$LINENO: Sample LIBS   are $SAMPLE_LIBS" >&5
     21815echo "$as_me: Sample LIBS   are $SAMPLE_LIBS" >&6;}
     21816  fi
     21817  if test -n "$SAMPLE_DATA" ; then
     21818    { echo "$as_me:$LINENO: Sample DATA   is  $SAMPLE_DATA" >&5
     21819echo "$as_me: Sample DATA   is  $SAMPLE_DATA" >&6;}
     21820  fi
     21821  fi
     21822
     21823cat >>confdefs.h <<\_ACEOF
     21824#define COIN_HAS_SAMPLE 1
     21825_ACEOF
     21826
     21827fi
     21828
     21829# Define the Makefile conditional
     21830
     21831
     21832if test $coin_has_sample != notGiven &&
     21833                test $coin_has_sample != skipping; then
     21834  COIN_HAS_SAMPLE_TRUE=
     21835  COIN_HAS_SAMPLE_FALSE='#'
     21836else
     21837  COIN_HAS_SAMPLE_TRUE='#'
     21838  COIN_HAS_SAMPLE_FALSE=
     21839fi
     21840
     21841
     21842
     21843
     21844echo "$as_me:$LINENO: checking for COIN-OR module Netlib" >&5
     21845echo $ECHO_N "checking for COIN-OR module Netlib... $ECHO_C" >&6
     21846
     21847coin_has_netlib=notGiven
     21848
     21849# check if user wants to skip module in any case
     21850if test x"$COIN_SKIP_PROJECTS" != x; then
     21851  for dir in $COIN_SKIP_PROJECTS; do
     21852    if test $dir = "Netlib"; then
     21853      coin_has_netlib=skipping
     21854    fi
     21855  done
     21856fi
     21857
     21858NETLIB_LIBS=
     21859NETLIB_CFLAGS=
     21860NETLIB_DATA=
     21861
     21862
     21863
     21864
     21865
     21866#check if user provided LIBS, CFLAGS, or DATA for module
     21867if test $coin_has_netlib != skipping; then
     21868
     21869
     21870# Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
     21871if test "${with_netlib_lib+set}" = set; then
     21872  withval="$with_netlib_lib"
     21873  coin_has_netlib=yes
     21874       NETLIB_LIBS="$withval"
     21875
     21876
     21877fi;
     21878
     21879
     21880# Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
     21881if test "${with_netlib_incdir+set}" = set; then
     21882  withval="$with_netlib_incdir"
     21883  coin_has_netlib=yes
     21884     NETLIB_CFLAGS="-I`${CYGPATH_W} $withval`"
     21885fi;
     21886
     21887
     21888# Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
     21889if test "${with_netlib_datadir+set}" = set; then
     21890  withval="$with_netlib_datadir"
     21891  coin_has_netlib=yes
     21892     NETLIB_DATA="$withval"
     21893fi;
     21894fi
     21895
     21896if test $coin_has_netlib = notGiven; then
     21897  if test -n "$PKG_CONFIG" ; then
     21898    # set search path for pkg-config
     21899    # need to export variable to be sure that the following pkg-config gets these values
     21900    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     21901    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     21902    export PKG_CONFIG_PATH
     21903
     21904    # let pkg-config do it's magic
     21905
     21906
     21907
     21908if test -n "$PKG_CONFIG" ; then
     21909  if $PKG_CONFIG --exists "coindatanetlib"; then
     21910    NETLIB_VERSIONS="`$PKG_CONFIG --modversion coindatanetlib 2>/dev/null`"
     21911     cflags=`$PKG_CONFIG --cflags "coindatanetlib" 2>/dev/null`
     21912    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     21913        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     21914        # but only do this if is not trivial
     21915    if test "$CYGPATH_W" != "echo" ; then
     21916      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     21917          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     21918        fi
     21919    NETLIB_CFLAGS="$cflags"
     21920    NETLIB_LIBS=`$PKG_CONFIG --libs "coindatanetlib" 2>/dev/null`
     21921    NETLIB_DATA=`$PKG_CONFIG --variable=datadir "coindatanetlib" 2>/dev/null`
     21922     coin_has_netlib=yes
     21923        echo "$as_me:$LINENO: result: yes: $NETLIB_VERSIONS" >&5
     21924echo "${ECHO_T}yes: $NETLIB_VERSIONS" >&6
     21925
     21926
     21927
    2157121928  else
    21572     echo "$as_me:$LINENO: result: $coin_has_osiclp" >&5
    21573 echo "${ECHO_T}$coin_has_osiclp" >&6
    21574   fi
    21575 else
    21576   echo "$as_me:$LINENO: result: skipping" >&5
    21577 echo "${ECHO_T}skipping" >&6
    21578 fi
    21579 
    21580 #if user did not disable setting of makefile conditional, do it
    21581 
    21582 fi
    21583 
    21584     CLP_CFLAGS="$CLP_CFLAGS $OSICLP_CFLAGS"
    21585     CLP_LIBS="$CLP_LIBS $OSICLP_LIBS"
    21586   fi
    21587 fi
    21588 if test $coin_has_clp != yes ; then
    21589   { { echo "$as_me:$LINENO: error: \"Required package Clp unavailable.\"" >&5
    21590 echo "$as_me: error: \"Required package Clp unavailable.\"" >&2;}
     21929    NETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatanetlib`
     21930      coin_has_netlib=notGiven
     21931        echo "$as_me:$LINENO: result: not given: $NETLIB_PKG_ERRORS" >&5
     21932echo "${ECHO_T}not given: $NETLIB_PKG_ERRORS" >&6
     21933
     21934  fi
     21935else
     21936  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&5
     21937echo "$as_me: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&2;}
    2159121938   { (exit 1); exit 1; }; }
    2159221939fi
    2159321940
    21594 # we skip fallbacks for the following two
     21941
     21942
     21943
     21944    # reset PKG_CONFIG_PATH variable
     21945    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     21946    export PKG_CONFIG_PATH
     21947  else
     21948    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     21949echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     21950
     21951echo "$as_me:$LINENO: checking for COIN-OR module Netlib (fallback)" >&5
     21952echo $ECHO_N "checking for COIN-OR module Netlib (fallback)... $ECHO_C" >&6
     21953
     21954coin_has_netlib=notGiven
     21955NETLIB_LIBS=
     21956NETLIB_CFLAGS=
     21957NETLIB_DATA=
     21958
     21959
     21960# initial list of dependencies is "coindatanetlib", but we need to filter out version number specifications (= x, <= x, >= x)
     21961projtoprocess="coindatanetlib"
     21962projprocessed=""
     21963
     21964while test $coin_has_netlib = notGiven ; do
     21965  # setup list of projects that need to be processed in the next round
     21966  nextprojtoprocess=""
     21967
     21968  for proj in $projtoprocess ; do
     21969    # if $proj has been processed already, skip this round
     21970    if test "x$projprocessed" != x ; then
     21971      for projdone in $projprocessed ; do
     21972        if test $projdone = $proj ; then
     21973          continue 2
     21974        fi
     21975      done
     21976    fi
     21977
     21978    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     21979    pcfile=""
     21980    save_IFS="$IFS"
     21981    IFS=":"
     21982    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     21983      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     21984      if test -r "$dir/$proj-uninstalled.pc" ; then
     21985        pcfile="$dir/$proj-uninstalled.pc"
     21986        pcfiledir="$dir"
     21987        break
     21988      fi
     21989    done
     21990    IFS="$save_IFS"
     21991
     21992    if test "x$pcfile" != x ; then
     21993      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     21994      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     21995      NETLIB_CFLAGS="$projcflags $NETLIB_CFLAGS"
     21996
     21997      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     21998      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     21999      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     22000      if test "x$projlibs" != x ; then
     22001        if test -d "${pcfiledir}/src" ; then
     22002          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     22003        else
     22004          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     22005        fi
     22006      else
     22007        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     22008      fi
     22009      NETLIB_LIBS="$projlibs $NETLIB_LIBS"
     22010
     22011      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     22012      if test "x$projprocessed" = x ; then
     22013        NETLIB_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22014      fi
     22015
     22016      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     22017      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     22018      nextprojtoprocess="$nextprojtoprocess $projrequires"
     22019
     22020      # remember that we have processed $proj
     22021      projprocessed="$projprocessed $proj"
     22022
     22023    else
     22024      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     22025echo "${ECHO_T}no, dependency $proj not available" >&6
     22026      break 2
     22027    fi
     22028
     22029  done
     22030
     22031  projtoprocess="$nextprojtoprocess"
     22032
     22033  if test "x$projtoprocess" = x ; then
     22034    coin_has_netlib=yes
     22035    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     22036echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     22037
     22038
     22039
     22040cat >>confdefs.h <<\_ACEOF
     22041#define COIN_HAS_NETLIB 1
     22042_ACEOF
     22043
     22044
     22045    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22046    if test -n "$NETLIB_CFLAGS" ; then
     22047      { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5
     22048echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;}
     22049    fi
     22050    if test -n "$NETLIB_LIBS" ; then
     22051      { echo "$as_me:$LINENO: Netlib LIBS   are $NETLIB_LIBS" >&5
     22052echo "$as_me: Netlib LIBS   are $NETLIB_LIBS" >&6;}
     22053    fi
     22054    if test -n "$NETLIB_DATA" ; then
     22055      { echo "$as_me:$LINENO: Netlib DATA   is  $NETLIB_DATA" >&5
     22056echo "$as_me: Netlib DATA   is  $NETLIB_DATA" >&6;}
     22057    fi
     22058    fi
     22059  fi
     22060done
     22061
     22062
     22063
     22064if test $coin_has_netlib != notGiven &&
     22065                test $coin_has_netlib != skipping; then
     22066  COIN_HAS_NETLIB_TRUE=
     22067  COIN_HAS_NETLIB_FALSE='#'
     22068else
     22069  COIN_HAS_NETLIB_TRUE='#'
     22070  COIN_HAS_NETLIB_FALSE=
     22071fi
     22072
     22073
     22074
     22075  fi
     22076
     22077else
     22078  echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
     22079echo "${ECHO_T}$coin_has_netlib" >&6
     22080fi
     22081
     22082if test $coin_has_netlib != skipping &&
     22083   test $coin_has_netlib != notGiven ; then
     22084  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     22085  if test -n "$NETLIB_CFLAGS" ; then
     22086    { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5
     22087echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;}
     22088  fi
     22089  if test -n "$NETLIB_LIBS" ; then
     22090    { echo "$as_me:$LINENO: Netlib LIBS   are $NETLIB_LIBS" >&5
     22091echo "$as_me: Netlib LIBS   are $NETLIB_LIBS" >&6;}
     22092  fi
     22093  if test -n "$NETLIB_DATA" ; then
     22094    { echo "$as_me:$LINENO: Netlib DATA   is  $NETLIB_DATA" >&5
     22095echo "$as_me: Netlib DATA   is  $NETLIB_DATA" >&6;}
     22096  fi
     22097  fi
     22098
     22099cat >>confdefs.h <<\_ACEOF
     22100#define COIN_HAS_NETLIB 1
     22101_ACEOF
     22102
     22103fi
     22104
     22105# Define the Makefile conditional
     22106
     22107
     22108if test $coin_has_netlib != notGiven &&
     22109                test $coin_has_netlib != skipping; then
     22110  COIN_HAS_NETLIB_TRUE=
     22111  COIN_HAS_NETLIB_FALSE='#'
     22112else
     22113  COIN_HAS_NETLIB_TRUE='#'
     22114  COIN_HAS_NETLIB_FALSE=
     22115fi
     22116
     22117
     22118
     22119
     22120echo "$as_me:$LINENO: checking for COIN-OR module Miplib3" >&5
     22121echo $ECHO_N "checking for COIN-OR module Miplib3... $ECHO_C" >&6
     22122
     22123coin_has_miplib3=notGiven
     22124
     22125# check if user wants to skip module in any case
     22126if test x"$COIN_SKIP_PROJECTS" != x; then
     22127  for dir in $COIN_SKIP_PROJECTS; do
     22128    if test $dir = "Miplib3"; then
     22129      coin_has_miplib3=skipping
     22130    fi
     22131  done
     22132fi
     22133
     22134MIPLIB3_LIBS=
     22135MIPLIB3_CFLAGS=
     22136MIPLIB3_DATA=
     22137
     22138
     22139
     22140
     22141
     22142#check if user provided LIBS, CFLAGS, or DATA for module
     22143if test $coin_has_miplib3 != skipping; then
     22144
     22145
     22146# Check whether --with-m4_tolower(Miplib3)-lib or --without-m4_tolower(Miplib3)-lib was given.
     22147if test "${with_miplib3_lib+set}" = set; then
     22148  withval="$with_miplib3_lib"
     22149  coin_has_miplib3=yes
     22150       MIPLIB3_LIBS="$withval"
     22151
     22152
     22153fi;
     22154
     22155
     22156# Check whether --with-m4_tolower(Miplib3)-incdir or --without-m4_tolower(Miplib3)-incdir was given.
     22157if test "${with_miplib3_incdir+set}" = set; then
     22158  withval="$with_miplib3_incdir"
     22159  coin_has_miplib3=yes
     22160     MIPLIB3_CFLAGS="-I`${CYGPATH_W} $withval`"
     22161fi;
     22162
     22163
     22164# Check whether --with-m4_tolower(Miplib3)-datadir or --without-m4_tolower(Miplib3)-datadir was given.
     22165if test "${with_miplib3_datadir+set}" = set; then
     22166  withval="$with_miplib3_datadir"
     22167  coin_has_miplib3=yes
     22168     MIPLIB3_DATA="$withval"
     22169fi;
     22170fi
     22171
     22172if test $coin_has_miplib3 = notGiven; then
     22173  if test -n "$PKG_CONFIG" ; then
     22174    # set search path for pkg-config
     22175    # need to export variable to be sure that the following pkg-config gets these values
     22176    coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
     22177    PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
     22178    export PKG_CONFIG_PATH
     22179
     22180    # let pkg-config do it's magic
     22181
     22182
     22183
     22184if test -n "$PKG_CONFIG" ; then
     22185  if $PKG_CONFIG --exists "coindatamiplib3"; then
     22186    MIPLIB3_VERSIONS="`$PKG_CONFIG --modversion coindatamiplib3 2>/dev/null`"
     22187     cflags=`$PKG_CONFIG --cflags "coindatamiplib3" 2>/dev/null`
     22188    # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
     22189        # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
     22190        # but only do this if is not trivial
     22191    if test "$CYGPATH_W" != "echo" ; then
     22192      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
     22193          cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     22194        fi
     22195    MIPLIB3_CFLAGS="$cflags"
     22196    MIPLIB3_LIBS=`$PKG_CONFIG --libs "coindatamiplib3" 2>/dev/null`
     22197    MIPLIB3_DATA=`$PKG_CONFIG --variable=datadir "coindatamiplib3" 2>/dev/null`
     22198     coin_has_miplib3=yes
     22199        echo "$as_me:$LINENO: result: yes: $MIPLIB3_VERSIONS" >&5
     22200echo "${ECHO_T}yes: $MIPLIB3_VERSIONS" >&6
     22201
     22202
     22203
     22204  else
     22205    MIPLIB3_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatamiplib3`
     22206      coin_has_miplib3=notGiven
     22207        echo "$as_me:$LINENO: result: not given: $MIPLIB3_PKG_ERRORS" >&5
     22208echo "${ECHO_T}not given: $MIPLIB3_PKG_ERRORS" >&6
     22209
     22210  fi
     22211else
     22212  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&5
     22213echo "$as_me: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&2;}
     22214   { (exit 1); exit 1; }; }
     22215fi
     22216
     22217
     22218
     22219
     22220    # reset PKG_CONFIG_PATH variable
     22221    PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
     22222    export PKG_CONFIG_PATH
     22223  else
     22224    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     22225echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     22226
     22227echo "$as_me:$LINENO: checking for COIN-OR module Miplib3 (fallback)" >&5
     22228echo $ECHO_N "checking for COIN-OR module Miplib3 (fallback)... $ECHO_C" >&6
     22229
     22230coin_has_miplib3=notGiven
     22231MIPLIB3_LIBS=
     22232MIPLIB3_CFLAGS=
     22233MIPLIB3_DATA=
     22234
     22235
     22236# initial list of dependencies is "coindatamiplib3", but we need to filter out version number specifications (= x, <= x, >= x)
     22237projtoprocess="coindatamiplib3"
     22238projprocessed=""
     22239
     22240while test $coin_has_miplib3 = notGiven ; do
     22241  # setup list of projects that need to be processed in the next round
     22242  nextprojtoprocess=""
     22243
     22244  for proj in $projtoprocess ; do
     22245    # if $proj has been processed already, skip this round
     22246    if test "x$projprocessed" != x ; then
     22247      for projdone in $projprocessed ; do
     22248        if test $projdone = $proj ; then
     22249          continue 2
     22250        fi
     22251      done
     22252    fi
     22253
     22254    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     22255    pcfile=""
     22256    save_IFS="$IFS"
     22257    IFS=":"
     22258    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     22259      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     22260      if test -r "$dir/$proj-uninstalled.pc" ; then
     22261        pcfile="$dir/$proj-uninstalled.pc"
     22262        pcfiledir="$dir"
     22263        break
     22264      fi
     22265    done
     22266    IFS="$save_IFS"
     22267
     22268    if test "x$pcfile" != x ; then
     22269      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     22270      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     22271      MIPLIB3_CFLAGS="$projcflags $MIPLIB3_CFLAGS"
     22272
     22273      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     22274      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     22275      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     22276      if test "x$projlibs" != x ; then
     22277        if test -d "${pcfiledir}/src" ; then
     22278          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     22279        else
     22280          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     22281        fi
     22282      else
     22283        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     22284      fi
     22285      MIPLIB3_LIBS="$projlibs $MIPLIB3_LIBS"
     22286
     22287      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     22288      if test "x$projprocessed" = x ; then
     22289        MIPLIB3_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22290      fi
     22291
     22292      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     22293      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     22294      nextprojtoprocess="$nextprojtoprocess $projrequires"
     22295
     22296      # remember that we have processed $proj
     22297      projprocessed="$projprocessed $proj"
     22298
     22299    else
     22300      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     22301echo "${ECHO_T}no, dependency $proj not available" >&6
     22302      break 2
     22303    fi
     22304
     22305  done
     22306
     22307  projtoprocess="$nextprojtoprocess"
     22308
     22309  if test "x$projtoprocess" = x ; then
     22310    coin_has_miplib3=yes
     22311    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     22312echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     22313
     22314
     22315
     22316cat >>confdefs.h <<\_ACEOF
     22317#define COIN_HAS_MIPLIB3 1
     22318_ACEOF
     22319
     22320
     22321    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22322    if test -n "$MIPLIB3_CFLAGS" ; then
     22323      { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5
     22324echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;}
     22325    fi
     22326    if test -n "$MIPLIB3_LIBS" ; then
     22327      { echo "$as_me:$LINENO: Miplib3 LIBS   are $MIPLIB3_LIBS" >&5
     22328echo "$as_me: Miplib3 LIBS   are $MIPLIB3_LIBS" >&6;}
     22329    fi
     22330    if test -n "$MIPLIB3_DATA" ; then
     22331      { echo "$as_me:$LINENO: Miplib3 DATA   is  $MIPLIB3_DATA" >&5
     22332echo "$as_me: Miplib3 DATA   is  $MIPLIB3_DATA" >&6;}
     22333    fi
     22334    fi
     22335  fi
     22336done
     22337
     22338
     22339
     22340if test $coin_has_miplib3 != notGiven &&
     22341                test $coin_has_miplib3 != skipping; then
     22342  COIN_HAS_MIPLIB3_TRUE=
     22343  COIN_HAS_MIPLIB3_FALSE='#'
     22344else
     22345  COIN_HAS_MIPLIB3_TRUE='#'
     22346  COIN_HAS_MIPLIB3_FALSE=
     22347fi
     22348
     22349
     22350
     22351  fi
     22352
     22353else
     22354  echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5
     22355echo "${ECHO_T}$coin_has_miplib3" >&6
     22356fi
     22357
     22358if test $coin_has_miplib3 != skipping &&
     22359   test $coin_has_miplib3 != notGiven ; then
     22360  if test 0 = 1 ; then  #change this test to enable a bit of debugging output
     22361  if test -n "$MIPLIB3_CFLAGS" ; then
     22362    { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5
     22363echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;}
     22364  fi
     22365  if test -n "$MIPLIB3_LIBS" ; then
     22366    { echo "$as_me:$LINENO: Miplib3 LIBS   are $MIPLIB3_LIBS" >&5
     22367echo "$as_me: Miplib3 LIBS   are $MIPLIB3_LIBS" >&6;}
     22368  fi
     22369  if test -n "$MIPLIB3_DATA" ; then
     22370    { echo "$as_me:$LINENO: Miplib3 DATA   is  $MIPLIB3_DATA" >&5
     22371echo "$as_me: Miplib3 DATA   is  $MIPLIB3_DATA" >&6;}
     22372  fi
     22373  fi
     22374
     22375cat >>confdefs.h <<\_ACEOF
     22376#define COIN_HAS_MIPLIB3 1
     22377_ACEOF
     22378
     22379fi
     22380
     22381# Define the Makefile conditional
     22382
     22383
     22384if test $coin_has_miplib3 != notGiven &&
     22385                test $coin_has_miplib3 != skipping; then
     22386  COIN_HAS_MIPLIB3_TRUE=
     22387  COIN_HAS_MIPLIB3_FALSE='#'
     22388else
     22389  COIN_HAS_MIPLIB3_TRUE='#'
     22390  COIN_HAS_MIPLIB3_FALSE=
     22391fi
     22392
     22393
     22394
     22395
     22396#############################################################################
     22397#                    LP solvers other than CLP                              #
     22398#############################################################################
     22399
     22400# Check which other LP solvers are available
    2159522401
    2159622402echo "$as_me:$LINENO: checking for COIN-OR module DyLP" >&5
     
    2169822504    export PKG_CONFIG_PATH
    2169922505  else
    21700     #if 4th argument is given, try fallback - whereby we take the first word from osi-dylp as basename for the .pc file
    21701     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    21702 echo "${ECHO_T}skipped check via pkg-config" >&6
     22506    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     22507echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     22508
     22509echo "$as_me:$LINENO: checking for COIN-OR module DyLP (fallback)" >&5
     22510echo $ECHO_N "checking for COIN-OR module DyLP (fallback)... $ECHO_C" >&6
     22511
     22512coin_has_dylp=notGiven
     22513DYLP_LIBS=
     22514DYLP_CFLAGS=
     22515DYLP_DATA=
     22516
     22517
     22518# initial list of dependencies is "osi-dylp", but we need to filter out version number specifications (= x, <= x, >= x)
     22519projtoprocess="osi-dylp"
     22520projprocessed=""
     22521
     22522while test $coin_has_dylp = notGiven ; do
     22523  # setup list of projects that need to be processed in the next round
     22524  nextprojtoprocess=""
     22525
     22526  for proj in $projtoprocess ; do
     22527    # if $proj has been processed already, skip this round
     22528    if test "x$projprocessed" != x ; then
     22529      for projdone in $projprocessed ; do
     22530        if test $projdone = $proj ; then
     22531          continue 2
     22532        fi
     22533      done
     22534    fi
     22535
     22536    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     22537    pcfile=""
     22538    save_IFS="$IFS"
     22539    IFS=":"
     22540    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     22541      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     22542      if test -r "$dir/$proj-uninstalled.pc" ; then
     22543        pcfile="$dir/$proj-uninstalled.pc"
     22544        pcfiledir="$dir"
     22545        break
     22546      fi
     22547    done
     22548    IFS="$save_IFS"
     22549
     22550    if test "x$pcfile" != x ; then
     22551      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     22552      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     22553      DYLP_CFLAGS="$projcflags $DYLP_CFLAGS"
     22554
     22555      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     22556      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     22557      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     22558      if test "x$projlibs" != x ; then
     22559        if test -d "${pcfiledir}/src" ; then
     22560          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     22561        else
     22562          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     22563        fi
     22564      else
     22565        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     22566      fi
     22567      DYLP_LIBS="$projlibs $DYLP_LIBS"
     22568
     22569      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     22570      if test "x$projprocessed" = x ; then
     22571        DYLP_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22572      fi
     22573
     22574      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     22575      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     22576      nextprojtoprocess="$nextprojtoprocess $projrequires"
     22577
     22578      # remember that we have processed $proj
     22579      projprocessed="$projprocessed $proj"
     22580
     22581    else
     22582      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     22583echo "${ECHO_T}no, dependency $proj not available" >&6
     22584      break 2
     22585    fi
     22586
     22587  done
     22588
     22589  projtoprocess="$nextprojtoprocess"
     22590
     22591  if test "x$projtoprocess" = x ; then
     22592    coin_has_dylp=yes
     22593    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     22594echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     22595
     22596    REQUIREDPACKAGES="osi-dylp $REQUIREDPACKAGES"
     22597
     22598cat >>confdefs.h <<\_ACEOF
     22599#define COIN_HAS_DYLP 1
     22600_ACEOF
     22601
     22602
     22603    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22604    if test -n "$DYLP_CFLAGS" ; then
     22605      { echo "$as_me:$LINENO: DyLP CFLAGS are $DYLP_CFLAGS" >&5
     22606echo "$as_me: DyLP CFLAGS are $DYLP_CFLAGS" >&6;}
     22607    fi
     22608    if test -n "$DYLP_LIBS" ; then
     22609      { echo "$as_me:$LINENO: DyLP LIBS   are $DYLP_LIBS" >&5
     22610echo "$as_me: DyLP LIBS   are $DYLP_LIBS" >&6;}
     22611    fi
     22612    if test -n "$DYLP_DATA" ; then
     22613      { echo "$as_me:$LINENO: DyLP DATA   is  $DYLP_DATA" >&5
     22614echo "$as_me: DyLP DATA   is  $DYLP_DATA" >&6;}
     22615    fi
     22616    fi
     22617  fi
     22618done
     22619
     22620
     22621
     22622if test $coin_has_dylp != notGiven &&
     22623                test $coin_has_dylp != skipping; then
     22624  COIN_HAS_DYLP_TRUE=
     22625  COIN_HAS_DYLP_FALSE='#'
     22626else
     22627  COIN_HAS_DYLP_TRUE='#'
     22628  COIN_HAS_DYLP_FALSE=
     22629fi
     22630
     22631
    2170322632
    2170422633  fi
     
    2185122780    export PKG_CONFIG_PATH
    2185222781  else
    21853     #if 4th argument is given, try fallback - whereby we take the first word from osi-vol as basename for the .pc file
    21854     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    21855 echo "${ECHO_T}skipped check via pkg-config" >&6
     22782    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     22783echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     22784
     22785echo "$as_me:$LINENO: checking for COIN-OR module Vol (fallback)" >&5
     22786echo $ECHO_N "checking for COIN-OR module Vol (fallback)... $ECHO_C" >&6
     22787
     22788coin_has_vol=notGiven
     22789VOL_LIBS=
     22790VOL_CFLAGS=
     22791VOL_DATA=
     22792
     22793
     22794# initial list of dependencies is "osi-vol", but we need to filter out version number specifications (= x, <= x, >= x)
     22795projtoprocess="osi-vol"
     22796projprocessed=""
     22797
     22798while test $coin_has_vol = notGiven ; do
     22799  # setup list of projects that need to be processed in the next round
     22800  nextprojtoprocess=""
     22801
     22802  for proj in $projtoprocess ; do
     22803    # if $proj has been processed already, skip this round
     22804    if test "x$projprocessed" != x ; then
     22805      for projdone in $projprocessed ; do
     22806        if test $projdone = $proj ; then
     22807          continue 2
     22808        fi
     22809      done
     22810    fi
     22811
     22812    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     22813    pcfile=""
     22814    save_IFS="$IFS"
     22815    IFS=":"
     22816    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     22817      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     22818      if test -r "$dir/$proj-uninstalled.pc" ; then
     22819        pcfile="$dir/$proj-uninstalled.pc"
     22820        pcfiledir="$dir"
     22821        break
     22822      fi
     22823    done
     22824    IFS="$save_IFS"
     22825
     22826    if test "x$pcfile" != x ; then
     22827      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     22828      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     22829      VOL_CFLAGS="$projcflags $VOL_CFLAGS"
     22830
     22831      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     22832      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     22833      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     22834      if test "x$projlibs" != x ; then
     22835        if test -d "${pcfiledir}/src" ; then
     22836          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     22837        else
     22838          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     22839        fi
     22840      else
     22841        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     22842      fi
     22843      VOL_LIBS="$projlibs $VOL_LIBS"
     22844
     22845      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     22846      if test "x$projprocessed" = x ; then
     22847        VOL_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     22848      fi
     22849
     22850      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     22851      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     22852      nextprojtoprocess="$nextprojtoprocess $projrequires"
     22853
     22854      # remember that we have processed $proj
     22855      projprocessed="$projprocessed $proj"
     22856
     22857    else
     22858      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     22859echo "${ECHO_T}no, dependency $proj not available" >&6
     22860      break 2
     22861    fi
     22862
     22863  done
     22864
     22865  projtoprocess="$nextprojtoprocess"
     22866
     22867  if test "x$projtoprocess" = x ; then
     22868    coin_has_vol=yes
     22869    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     22870echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     22871
     22872    REQUIREDPACKAGES="osi-vol $REQUIREDPACKAGES"
     22873
     22874cat >>confdefs.h <<\_ACEOF
     22875#define COIN_HAS_VOL 1
     22876_ACEOF
     22877
     22878
     22879    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     22880    if test -n "$VOL_CFLAGS" ; then
     22881      { echo "$as_me:$LINENO: Vol CFLAGS are $VOL_CFLAGS" >&5
     22882echo "$as_me: Vol CFLAGS are $VOL_CFLAGS" >&6;}
     22883    fi
     22884    if test -n "$VOL_LIBS" ; then
     22885      { echo "$as_me:$LINENO: Vol LIBS   are $VOL_LIBS" >&5
     22886echo "$as_me: Vol LIBS   are $VOL_LIBS" >&6;}
     22887    fi
     22888    if test -n "$VOL_DATA" ; then
     22889      { echo "$as_me:$LINENO: Vol DATA   is  $VOL_DATA" >&5
     22890echo "$as_me: Vol DATA   is  $VOL_DATA" >&6;}
     22891    fi
     22892    fi
     22893  fi
     22894done
     22895
     22896
     22897
     22898if test $coin_has_vol != notGiven &&
     22899                test $coin_has_vol != skipping; then
     22900  COIN_HAS_VOL_TRUE=
     22901  COIN_HAS_VOL_FALSE='#'
     22902else
     22903  COIN_HAS_VOL_TRUE='#'
     22904  COIN_HAS_VOL_FALSE=
     22905fi
     22906
     22907
    2185622908
    2185722909  fi
     
    2189922951
    2190022952
    21901 
    21902 echo "$as_me:$LINENO: checking for COIN-OR module OsiTests" >&5
    21903 echo $ECHO_N "checking for COIN-OR module OsiTests... $ECHO_C" >&6
    21904 
    21905 coin_has_ositests=notGiven
    21906 
    21907 # check if user wants to skip module in any case
    21908 if test x"$COIN_SKIP_PROJECTS" != x; then
    21909   for dir in $COIN_SKIP_PROJECTS; do
    21910     if test $dir = "OsiTests"; then
    21911       coin_has_ositests=skipping
    21912     fi
    21913   done
    21914 fi
    21915 
    21916 OSITESTS_LIBS=
    21917 OSITESTS_CFLAGS=
    21918 OSITESTS_DATA=
    21919 
    21920 
    21921 
    21922 
    21923 
    21924 #check if user provided LIBS, CFLAGS, or DATA for module
    21925 if test $coin_has_ositests != skipping; then
    21926 
    21927 
    21928 # Check whether --with-m4_tolower(OsiTests)-lib or --without-m4_tolower(OsiTests)-lib was given.
    21929 if test "${with_ositests_lib+set}" = set; then
    21930   withval="$with_ositests_lib"
    21931   coin_has_ositests=yes
    21932        OSITESTS_LIBS="$withval"
    21933 
    21934 
    21935 fi;
    21936 
    21937 
    21938 # Check whether --with-m4_tolower(OsiTests)-incdir or --without-m4_tolower(OsiTests)-incdir was given.
    21939 if test "${with_ositests_incdir+set}" = set; then
    21940   withval="$with_ositests_incdir"
    21941   coin_has_ositests=yes
    21942      OSITESTS_CFLAGS="-I`${CYGPATH_W} $withval`"
    21943 fi;
    21944 
    21945 
    21946 # Check whether --with-m4_tolower(OsiTests)-datadir or --without-m4_tolower(OsiTests)-datadir was given.
    21947 if test "${with_ositests_datadir+set}" = set; then
    21948   withval="$with_ositests_datadir"
    21949   coin_has_ositests=yes
    21950      OSITESTS_DATA="$withval"
    21951 fi;
    21952 fi
    21953 
    21954 if test $coin_has_ositests = notGiven; then
    21955   if test -n "$PKG_CONFIG" ; then
    21956     # set search path for pkg-config
    21957     # need to export variable to be sure that the following pkg-config gets these values
    21958     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    21959     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
    21960     export PKG_CONFIG_PATH
    21961 
    21962     # let pkg-config do it's magic
    21963 
    21964 
    21965 
    21966 if test -n "$PKG_CONFIG" ; then
    21967   if $PKG_CONFIG --exists "osi-unittests"; then
    21968     OSITESTS_VERSIONS="`$PKG_CONFIG --modversion osi-unittests 2>/dev/null`"
    21969      cflags=`$PKG_CONFIG --cflags "osi-unittests" 2>/dev/null`
    21970     # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
    21971         # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
    21972         # but only do this if is not trivial
    21973     if test "$CYGPATH_W" != "echo" ; then
    21974       # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    21975           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    21976         fi
    21977     OSITESTS_CFLAGS="$cflags"
    21978     OSITESTS_LIBS=`$PKG_CONFIG --libs "osi-unittests" 2>/dev/null`
    21979     OSITESTS_DATA=`$PKG_CONFIG --variable=datadir "osi-unittests" 2>/dev/null`
    21980      coin_has_ositests=yes
    21981         echo "$as_me:$LINENO: result: yes: $OSITESTS_VERSIONS" >&5
    21982 echo "${ECHO_T}yes: $OSITESTS_VERSIONS" >&6
    21983 
    21984 
    21985 
    21986   else
    21987     OSITESTS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors osi-unittests`
    21988       coin_has_ositests=notGiven
    21989         echo "$as_me:$LINENO: result: not given: $OSITESTS_PKG_ERRORS" >&5
    21990 echo "${ECHO_T}not given: $OSITESTS_PKG_ERRORS" >&6
    21991 
    21992   fi
    21993 else
    21994   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&5
    21995 echo "$as_me: error: \"Cannot check for existance of module OsiTests without pkg-config\"" >&2;}
    21996    { (exit 1); exit 1; }; }
    21997 fi
    21998 
    21999 
    22000 
    22001 
    22002     # reset PKG_CONFIG_PATH variable
    22003     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22004     export PKG_CONFIG_PATH
    22005   else
    22006     #if 4th argument is given, try fallback - whereby we take the first word from osi-unittests as basename for the .pc file
    22007 
    22008 if test x$coin_has_ositests != "xyes" ; then
    22009 
    22010 
    22011 
    22012 coin_has_ositests=notGiven
    22013 
    22014 # check if user wants to skip module in any case
    22015 if test x"$COIN_SKIP_PROJECTS" != x; then
    22016   for dir in $COIN_SKIP_PROJECTS; do
    22017     if test $dir = "OsiTests"; then
    22018       coin_has_ositests=skipping
    22019     fi
    22020   done
    22021 fi
    22022 
    22023 OSITESTS_LIBS=
    22024 OSITESTS_CFLAGS=
    22025 OSITESTS_DATA=
    22026 
    22027 
    22028 if test $coin_has_ositests != "skipping" ; then
    22029   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    22030   if test -r ../Osi/osi-unittests-uninstalled.pc ; then
    22031     # read CFLAGS and LIBS from m4_bpatsubst(osi-unittests, [ .*], [])-uninstalled.pc file
    22032     # add CYGPATH_W cludge into include flags
    22033     # replace -L${libdir} by absolute path to build directory in linker flags
    22034     # we assume that the build directory is ../Osi/src if this directory exists, otherwise we assume that it is ../Osi
    22035     OSITESTS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Osi/osi-unittests-uninstalled.pc`
    22036     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Osi/osi-unittests-uninstalled.pc`
    22037     if test "x$projectlibs" != x ; then
    22038       if test -d ../Osi/src ; then
    22039         OSITESTS_LIBS="-L`cd ../Osi/src; pwd` $projectlibs"
    22040       else
    22041         OSITESTS_LIBS="-L`cd ../Osi; pwd` $projectlibs"
    22042       fi
    22043     else
    22044       OSITESTS_LIBS=`sed -n -e 's/Libs://p' ../Osi/osi-unittests-uninstalled.pc`
    22045     fi
    22046     OSITESTS_DATA=`sed -n -e 's/datadir=//gp' ../Osi/osi-unittests-uninstalled.pc`
    22047 
    22048 
    22049 
    22050 
    22051 cat >>confdefs.h <<\_ACEOF
    22052 #define COIN_HAS_OSITESTS 1
    22053 _ACEOF
    22054 
    22055 
    22056 
    22057     coin_has_ositests=yes
    22058     echo "$as_me:$LINENO: result: ../Osi" >&5
    22059 echo "${ECHO_T}../Osi" >&6
    22060   else
    22061     echo "$as_me:$LINENO: result: $coin_has_ositests" >&5
    22062 echo "${ECHO_T}$coin_has_ositests" >&6
    22063   fi
    22064 else
    22065   echo "$as_me:$LINENO: result: skipping" >&5
    22066 echo "${ECHO_T}skipping" >&6
    22067 fi
    22068 
    22069 #if user did not disable setting of makefile conditional, do it
    22070 
    22071 
    22072 if test $coin_has_ositests != notGiven &&
    22073                 test $coin_has_ositests != skipping; then
    22074   COIN_HAS_OSITESTS_TRUE=
    22075   COIN_HAS_OSITESTS_FALSE='#'
    22076 else
    22077   COIN_HAS_OSITESTS_TRUE='#'
    22078   COIN_HAS_OSITESTS_FALSE=
    22079 fi
    22080 
    22081 
    22082 fi
    22083 
    22084 
    22085   fi
    22086 
    22087 else
    22088   echo "$as_me:$LINENO: result: $coin_has_ositests" >&5
    22089 echo "${ECHO_T}$coin_has_ositests" >&6
    22090 fi
    22091 
    22092 if test $coin_has_ositests != skipping &&
    22093    test $coin_has_ositests != notGiven ; then
    22094   if test 0 = 1 ; then  #change this test to enable a bit of debugging output
    22095   if test -n "$OSITESTS_CFLAGS" ; then
    22096     { echo "$as_me:$LINENO: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&5
    22097 echo "$as_me: OsiTests CFLAGS are $OSITESTS_CFLAGS" >&6;}
    22098   fi
    22099   if test -n "$OSITESTS_LIBS" ; then
    22100     { echo "$as_me:$LINENO: OsiTests LIBS   are $OSITESTS_LIBS" >&5
    22101 echo "$as_me: OsiTests LIBS   are $OSITESTS_LIBS" >&6;}
    22102   fi
    22103   if test -n "$OSITESTS_DATA" ; then
    22104     { echo "$as_me:$LINENO: OsiTests DATA   is  $OSITESTS_DATA" >&5
    22105 echo "$as_me: OsiTests DATA   is  $OSITESTS_DATA" >&6;}
    22106   fi
    22107   fi
    22108 
    22109 cat >>confdefs.h <<\_ACEOF
    22110 #define COIN_HAS_OSITESTS 1
    22111 _ACEOF
    22112 
    22113 fi
    22114 
    22115 # Define the Makefile conditional
    22116 
    22117 
    22118 if test $coin_has_ositests != notGiven &&
    22119                 test $coin_has_ositests != skipping; then
    22120   COIN_HAS_OSITESTS_TRUE=
    22121   COIN_HAS_OSITESTS_FALSE='#'
    22122 else
    22123   COIN_HAS_OSITESTS_TRUE='#'
    22124   COIN_HAS_OSITESTS_FALSE=
    22125 fi
    22126 
    22127 
    22128 
    22129 
    22130 
    22131 echo "$as_me:$LINENO: checking for COIN-OR module Sample" >&5
    22132 echo $ECHO_N "checking for COIN-OR module Sample... $ECHO_C" >&6
    22133 
    22134 coin_has_sample=notGiven
    22135 
    22136 # check if user wants to skip module in any case
    22137 if test x"$COIN_SKIP_PROJECTS" != x; then
    22138   for dir in $COIN_SKIP_PROJECTS; do
    22139     if test $dir = "Sample"; then
    22140       coin_has_sample=skipping
    22141     fi
    22142   done
    22143 fi
    22144 
    22145 SAMPLE_LIBS=
    22146 SAMPLE_CFLAGS=
    22147 SAMPLE_DATA=
    22148 
    22149 
    22150 
    22151 
    22152 
    22153 #check if user provided LIBS, CFLAGS, or DATA for module
    22154 if test $coin_has_sample != skipping; then
    22155 
    22156 
    22157 # Check whether --with-m4_tolower(Sample)-lib or --without-m4_tolower(Sample)-lib was given.
    22158 if test "${with_sample_lib+set}" = set; then
    22159   withval="$with_sample_lib"
    22160   coin_has_sample=yes
    22161        SAMPLE_LIBS="$withval"
    22162 
    22163 
    22164 fi;
    22165 
    22166 
    22167 # Check whether --with-m4_tolower(Sample)-incdir or --without-m4_tolower(Sample)-incdir was given.
    22168 if test "${with_sample_incdir+set}" = set; then
    22169   withval="$with_sample_incdir"
    22170   coin_has_sample=yes
    22171      SAMPLE_CFLAGS="-I`${CYGPATH_W} $withval`"
    22172 fi;
    22173 
    22174 
    22175 # Check whether --with-m4_tolower(Sample)-datadir or --without-m4_tolower(Sample)-datadir was given.
    22176 if test "${with_sample_datadir+set}" = set; then
    22177   withval="$with_sample_datadir"
    22178   coin_has_sample=yes
    22179      SAMPLE_DATA="$withval"
    22180 fi;
    22181 fi
    22182 
    22183 if test $coin_has_sample = notGiven; then
    22184   if test -n "$PKG_CONFIG" ; then
    22185     # set search path for pkg-config
    22186     # need to export variable to be sure that the following pkg-config gets these values
    22187     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22188     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
    22189     export PKG_CONFIG_PATH
    22190 
    22191     # let pkg-config do it's magic
    22192 
    22193 
    22194 
    22195 if test -n "$PKG_CONFIG" ; then
    22196   if $PKG_CONFIG --exists "coindatasample"; then
    22197     SAMPLE_VERSIONS="`$PKG_CONFIG --modversion coindatasample 2>/dev/null`"
    22198      cflags=`$PKG_CONFIG --cflags "coindatasample" 2>/dev/null`
    22199     # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
    22200         # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
    22201         # but only do this if is not trivial
    22202     if test "$CYGPATH_W" != "echo" ; then
    22203       # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    22204           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    22205         fi
    22206     SAMPLE_CFLAGS="$cflags"
    22207     SAMPLE_LIBS=`$PKG_CONFIG --libs "coindatasample" 2>/dev/null`
    22208     SAMPLE_DATA=`$PKG_CONFIG --variable=datadir "coindatasample" 2>/dev/null`
    22209      coin_has_sample=yes
    22210         echo "$as_me:$LINENO: result: yes: $SAMPLE_VERSIONS" >&5
    22211 echo "${ECHO_T}yes: $SAMPLE_VERSIONS" >&6
    22212 
    22213 
    22214 
    22215   else
    22216     SAMPLE_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatasample`
    22217       coin_has_sample=notGiven
    22218         echo "$as_me:$LINENO: result: not given: $SAMPLE_PKG_ERRORS" >&5
    22219 echo "${ECHO_T}not given: $SAMPLE_PKG_ERRORS" >&6
    22220 
    22221   fi
    22222 else
    22223   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Sample without pkg-config\"" >&5
    22224 echo "$as_me: error: \"Cannot check for existance of module Sample without pkg-config\"" >&2;}
    22225    { (exit 1); exit 1; }; }
    22226 fi
    22227 
    22228 
    22229 
    22230 
    22231     # reset PKG_CONFIG_PATH variable
    22232     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22233     export PKG_CONFIG_PATH
    22234   else
    22235     #if 4th argument is given, try fallback - whereby we take the first word from coindatasample as basename for the .pc file
    22236 
    22237 if test x$coin_has_sample != "xyes" ; then
    22238 
    22239 
    22240 
    22241 coin_has_sample=notGiven
    22242 
    22243 # check if user wants to skip module in any case
    22244 if test x"$COIN_SKIP_PROJECTS" != x; then
    22245   for dir in $COIN_SKIP_PROJECTS; do
    22246     if test $dir = "Sample"; then
    22247       coin_has_sample=skipping
    22248     fi
    22249   done
    22250 fi
    22251 
    22252 SAMPLE_LIBS=
    22253 SAMPLE_CFLAGS=
    22254 SAMPLE_DATA=
    22255 
    22256 
    22257 if test $coin_has_sample != "skipping" ; then
    22258   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    22259   if test -r ../Data/Sample/coindatasample-uninstalled.pc ; then
    22260     # read CFLAGS and LIBS from m4_bpatsubst(coindatasample, [ .*], [])-uninstalled.pc file
    22261     # add CYGPATH_W cludge into include flags
    22262     # replace -L${libdir} by absolute path to build directory in linker flags
    22263     # we assume that the build directory is ../Data/Sample/src if this directory exists, otherwise we assume that it is ../Data/Sample
    22264     SAMPLE_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Data/Sample/coindatasample-uninstalled.pc`
    22265     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Data/Sample/coindatasample-uninstalled.pc`
    22266     if test "x$projectlibs" != x ; then
    22267       if test -d ../Data/Sample/src ; then
    22268         SAMPLE_LIBS="-L`cd ../Data/Sample/src; pwd` $projectlibs"
    22269       else
    22270         SAMPLE_LIBS="-L`cd ../Data/Sample; pwd` $projectlibs"
    22271       fi
    22272     else
    22273       SAMPLE_LIBS=`sed -n -e 's/Libs://p' ../Data/Sample/coindatasample-uninstalled.pc`
    22274     fi
    22275     SAMPLE_DATA=`sed -n -e 's/datadir=//gp' ../Data/Sample/coindatasample-uninstalled.pc`
    22276 
    22277 
    22278 
    22279 
    22280 cat >>confdefs.h <<\_ACEOF
    22281 #define COIN_HAS_SAMPLE 1
    22282 _ACEOF
    22283 
    22284 
    22285 
    22286     coin_has_sample=yes
    22287     echo "$as_me:$LINENO: result: ../Data/Sample" >&5
    22288 echo "${ECHO_T}../Data/Sample" >&6
    22289   else
    22290     echo "$as_me:$LINENO: result: $coin_has_sample" >&5
    22291 echo "${ECHO_T}$coin_has_sample" >&6
    22292   fi
    22293 else
    22294   echo "$as_me:$LINENO: result: skipping" >&5
    22295 echo "${ECHO_T}skipping" >&6
    22296 fi
    22297 
    22298 #if user did not disable setting of makefile conditional, do it
    22299 
    22300 
    22301 if test $coin_has_sample != notGiven &&
    22302                 test $coin_has_sample != skipping; then
    22303   COIN_HAS_SAMPLE_TRUE=
    22304   COIN_HAS_SAMPLE_FALSE='#'
    22305 else
    22306   COIN_HAS_SAMPLE_TRUE='#'
    22307   COIN_HAS_SAMPLE_FALSE=
    22308 fi
    22309 
    22310 
    22311 fi
    22312 
    22313 
    22314   fi
    22315 
    22316 else
    22317   echo "$as_me:$LINENO: result: $coin_has_sample" >&5
    22318 echo "${ECHO_T}$coin_has_sample" >&6
    22319 fi
    22320 
    22321 if test $coin_has_sample != skipping &&
    22322    test $coin_has_sample != notGiven ; then
    22323   if test 0 = 1 ; then  #change this test to enable a bit of debugging output
    22324   if test -n "$SAMPLE_CFLAGS" ; then
    22325     { echo "$as_me:$LINENO: Sample CFLAGS are $SAMPLE_CFLAGS" >&5
    22326 echo "$as_me: Sample CFLAGS are $SAMPLE_CFLAGS" >&6;}
    22327   fi
    22328   if test -n "$SAMPLE_LIBS" ; then
    22329     { echo "$as_me:$LINENO: Sample LIBS   are $SAMPLE_LIBS" >&5
    22330 echo "$as_me: Sample LIBS   are $SAMPLE_LIBS" >&6;}
    22331   fi
    22332   if test -n "$SAMPLE_DATA" ; then
    22333     { echo "$as_me:$LINENO: Sample DATA   is  $SAMPLE_DATA" >&5
    22334 echo "$as_me: Sample DATA   is  $SAMPLE_DATA" >&6;}
    22335   fi
    22336   fi
    22337 
    22338 cat >>confdefs.h <<\_ACEOF
    22339 #define COIN_HAS_SAMPLE 1
    22340 _ACEOF
    22341 
    22342 fi
    22343 
    22344 # Define the Makefile conditional
    22345 
    22346 
    22347 if test $coin_has_sample != notGiven &&
    22348                 test $coin_has_sample != skipping; then
    22349   COIN_HAS_SAMPLE_TRUE=
    22350   COIN_HAS_SAMPLE_FALSE='#'
    22351 else
    22352   COIN_HAS_SAMPLE_TRUE='#'
    22353   COIN_HAS_SAMPLE_FALSE=
    22354 fi
    22355 
    22356 
    22357 
    22358 
    22359 echo "$as_me:$LINENO: checking for COIN-OR module Netlib" >&5
    22360 echo $ECHO_N "checking for COIN-OR module Netlib... $ECHO_C" >&6
    22361 
    22362 coin_has_netlib=notGiven
    22363 
    22364 # check if user wants to skip module in any case
    22365 if test x"$COIN_SKIP_PROJECTS" != x; then
    22366   for dir in $COIN_SKIP_PROJECTS; do
    22367     if test $dir = "Netlib"; then
    22368       coin_has_netlib=skipping
    22369     fi
    22370   done
    22371 fi
    22372 
    22373 NETLIB_LIBS=
    22374 NETLIB_CFLAGS=
    22375 NETLIB_DATA=
    22376 
    22377 
    22378 
    22379 
    22380 
    22381 #check if user provided LIBS, CFLAGS, or DATA for module
    22382 if test $coin_has_netlib != skipping; then
    22383 
    22384 
    22385 # Check whether --with-m4_tolower(Netlib)-lib or --without-m4_tolower(Netlib)-lib was given.
    22386 if test "${with_netlib_lib+set}" = set; then
    22387   withval="$with_netlib_lib"
    22388   coin_has_netlib=yes
    22389        NETLIB_LIBS="$withval"
    22390 
    22391 
    22392 fi;
    22393 
    22394 
    22395 # Check whether --with-m4_tolower(Netlib)-incdir or --without-m4_tolower(Netlib)-incdir was given.
    22396 if test "${with_netlib_incdir+set}" = set; then
    22397   withval="$with_netlib_incdir"
    22398   coin_has_netlib=yes
    22399      NETLIB_CFLAGS="-I`${CYGPATH_W} $withval`"
    22400 fi;
    22401 
    22402 
    22403 # Check whether --with-m4_tolower(Netlib)-datadir or --without-m4_tolower(Netlib)-datadir was given.
    22404 if test "${with_netlib_datadir+set}" = set; then
    22405   withval="$with_netlib_datadir"
    22406   coin_has_netlib=yes
    22407      NETLIB_DATA="$withval"
    22408 fi;
    22409 fi
    22410 
    22411 if test $coin_has_netlib = notGiven; then
    22412   if test -n "$PKG_CONFIG" ; then
    22413     # set search path for pkg-config
    22414     # need to export variable to be sure that the following pkg-config gets these values
    22415     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22416     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
    22417     export PKG_CONFIG_PATH
    22418 
    22419     # let pkg-config do it's magic
    22420 
    22421 
    22422 
    22423 if test -n "$PKG_CONFIG" ; then
    22424   if $PKG_CONFIG --exists "coindatanetlib"; then
    22425     NETLIB_VERSIONS="`$PKG_CONFIG --modversion coindatanetlib 2>/dev/null`"
    22426      cflags=`$PKG_CONFIG --cflags "coindatanetlib" 2>/dev/null`
    22427     # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
    22428         # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
    22429         # but only do this if is not trivial
    22430     if test "$CYGPATH_W" != "echo" ; then
    22431       # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    22432           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    22433         fi
    22434     NETLIB_CFLAGS="$cflags"
    22435     NETLIB_LIBS=`$PKG_CONFIG --libs "coindatanetlib" 2>/dev/null`
    22436     NETLIB_DATA=`$PKG_CONFIG --variable=datadir "coindatanetlib" 2>/dev/null`
    22437      coin_has_netlib=yes
    22438         echo "$as_me:$LINENO: result: yes: $NETLIB_VERSIONS" >&5
    22439 echo "${ECHO_T}yes: $NETLIB_VERSIONS" >&6
    22440 
    22441 
    22442 
    22443   else
    22444     NETLIB_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatanetlib`
    22445       coin_has_netlib=notGiven
    22446         echo "$as_me:$LINENO: result: not given: $NETLIB_PKG_ERRORS" >&5
    22447 echo "${ECHO_T}not given: $NETLIB_PKG_ERRORS" >&6
    22448 
    22449   fi
    22450 else
    22451   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&5
    22452 echo "$as_me: error: \"Cannot check for existance of module Netlib without pkg-config\"" >&2;}
    22453    { (exit 1); exit 1; }; }
    22454 fi
    22455 
    22456 
    22457 
    22458 
    22459     # reset PKG_CONFIG_PATH variable
    22460     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22461     export PKG_CONFIG_PATH
    22462   else
    22463     #if 4th argument is given, try fallback - whereby we take the first word from coindatanetlib as basename for the .pc file
    22464 
    22465 if test x$coin_has_netlib != "xyes" ; then
    22466 
    22467 
    22468 
    22469 coin_has_netlib=notGiven
    22470 
    22471 # check if user wants to skip module in any case
    22472 if test x"$COIN_SKIP_PROJECTS" != x; then
    22473   for dir in $COIN_SKIP_PROJECTS; do
    22474     if test $dir = "Netlib"; then
    22475       coin_has_netlib=skipping
    22476     fi
    22477   done
    22478 fi
    22479 
    22480 NETLIB_LIBS=
    22481 NETLIB_CFLAGS=
    22482 NETLIB_DATA=
    22483 
    22484 
    22485 if test $coin_has_netlib != "skipping" ; then
    22486   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    22487   if test -r ../Data/Netlib/coindatanetlib-uninstalled.pc ; then
    22488     # read CFLAGS and LIBS from m4_bpatsubst(coindatanetlib, [ .*], [])-uninstalled.pc file
    22489     # add CYGPATH_W cludge into include flags
    22490     # replace -L${libdir} by absolute path to build directory in linker flags
    22491     # we assume that the build directory is ../Data/Netlib/src if this directory exists, otherwise we assume that it is ../Data/Netlib
    22492     NETLIB_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Data/Netlib/coindatanetlib-uninstalled.pc`
    22493     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Data/Netlib/coindatanetlib-uninstalled.pc`
    22494     if test "x$projectlibs" != x ; then
    22495       if test -d ../Data/Netlib/src ; then
    22496         NETLIB_LIBS="-L`cd ../Data/Netlib/src; pwd` $projectlibs"
    22497       else
    22498         NETLIB_LIBS="-L`cd ../Data/Netlib; pwd` $projectlibs"
    22499       fi
    22500     else
    22501       NETLIB_LIBS=`sed -n -e 's/Libs://p' ../Data/Netlib/coindatanetlib-uninstalled.pc`
    22502     fi
    22503     NETLIB_DATA=`sed -n -e 's/datadir=//gp' ../Data/Netlib/coindatanetlib-uninstalled.pc`
    22504 
    22505 
    22506 
    22507 
    22508 cat >>confdefs.h <<\_ACEOF
    22509 #define COIN_HAS_NETLIB 1
    22510 _ACEOF
    22511 
    22512 
    22513 
    22514     coin_has_netlib=yes
    22515     echo "$as_me:$LINENO: result: ../Data/Netlib" >&5
    22516 echo "${ECHO_T}../Data/Netlib" >&6
    22517   else
    22518     echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
    22519 echo "${ECHO_T}$coin_has_netlib" >&6
    22520   fi
    22521 else
    22522   echo "$as_me:$LINENO: result: skipping" >&5
    22523 echo "${ECHO_T}skipping" >&6
    22524 fi
    22525 
    22526 #if user did not disable setting of makefile conditional, do it
    22527 
    22528 
    22529 if test $coin_has_netlib != notGiven &&
    22530                 test $coin_has_netlib != skipping; then
    22531   COIN_HAS_NETLIB_TRUE=
    22532   COIN_HAS_NETLIB_FALSE='#'
    22533 else
    22534   COIN_HAS_NETLIB_TRUE='#'
    22535   COIN_HAS_NETLIB_FALSE=
    22536 fi
    22537 
    22538 
    22539 fi
    22540 
    22541 
    22542   fi
    22543 
    22544 else
    22545   echo "$as_me:$LINENO: result: $coin_has_netlib" >&5
    22546 echo "${ECHO_T}$coin_has_netlib" >&6
    22547 fi
    22548 
    22549 if test $coin_has_netlib != skipping &&
    22550    test $coin_has_netlib != notGiven ; then
    22551   if test 0 = 1 ; then  #change this test to enable a bit of debugging output
    22552   if test -n "$NETLIB_CFLAGS" ; then
    22553     { echo "$as_me:$LINENO: Netlib CFLAGS are $NETLIB_CFLAGS" >&5
    22554 echo "$as_me: Netlib CFLAGS are $NETLIB_CFLAGS" >&6;}
    22555   fi
    22556   if test -n "$NETLIB_LIBS" ; then
    22557     { echo "$as_me:$LINENO: Netlib LIBS   are $NETLIB_LIBS" >&5
    22558 echo "$as_me: Netlib LIBS   are $NETLIB_LIBS" >&6;}
    22559   fi
    22560   if test -n "$NETLIB_DATA" ; then
    22561     { echo "$as_me:$LINENO: Netlib DATA   is  $NETLIB_DATA" >&5
    22562 echo "$as_me: Netlib DATA   is  $NETLIB_DATA" >&6;}
    22563   fi
    22564   fi
    22565 
    22566 cat >>confdefs.h <<\_ACEOF
    22567 #define COIN_HAS_NETLIB 1
    22568 _ACEOF
    22569 
    22570 fi
    22571 
    22572 # Define the Makefile conditional
    22573 
    22574 
    22575 if test $coin_has_netlib != notGiven &&
    22576                 test $coin_has_netlib != skipping; then
    22577   COIN_HAS_NETLIB_TRUE=
    22578   COIN_HAS_NETLIB_FALSE='#'
    22579 else
    22580   COIN_HAS_NETLIB_TRUE='#'
    22581   COIN_HAS_NETLIB_FALSE=
    22582 fi
    22583 
    22584 
    22585 
    22586 
    22587 echo "$as_me:$LINENO: checking for COIN-OR module Miplib3" >&5
    22588 echo $ECHO_N "checking for COIN-OR module Miplib3... $ECHO_C" >&6
    22589 
    22590 coin_has_miplib3=notGiven
    22591 
    22592 # check if user wants to skip module in any case
    22593 if test x"$COIN_SKIP_PROJECTS" != x; then
    22594   for dir in $COIN_SKIP_PROJECTS; do
    22595     if test $dir = "Miplib3"; then
    22596       coin_has_miplib3=skipping
    22597     fi
    22598   done
    22599 fi
    22600 
    22601 MIPLIB3_LIBS=
    22602 MIPLIB3_CFLAGS=
    22603 MIPLIB3_DATA=
    22604 
    22605 
    22606 
    22607 
    22608 
    22609 #check if user provided LIBS, CFLAGS, or DATA for module
    22610 if test $coin_has_miplib3 != skipping; then
    22611 
    22612 
    22613 # Check whether --with-m4_tolower(Miplib3)-lib or --without-m4_tolower(Miplib3)-lib was given.
    22614 if test "${with_miplib3_lib+set}" = set; then
    22615   withval="$with_miplib3_lib"
    22616   coin_has_miplib3=yes
    22617        MIPLIB3_LIBS="$withval"
    22618 
    22619 
    22620 fi;
    22621 
    22622 
    22623 # Check whether --with-m4_tolower(Miplib3)-incdir or --without-m4_tolower(Miplib3)-incdir was given.
    22624 if test "${with_miplib3_incdir+set}" = set; then
    22625   withval="$with_miplib3_incdir"
    22626   coin_has_miplib3=yes
    22627      MIPLIB3_CFLAGS="-I`${CYGPATH_W} $withval`"
    22628 fi;
    22629 
    22630 
    22631 # Check whether --with-m4_tolower(Miplib3)-datadir or --without-m4_tolower(Miplib3)-datadir was given.
    22632 if test "${with_miplib3_datadir+set}" = set; then
    22633   withval="$with_miplib3_datadir"
    22634   coin_has_miplib3=yes
    22635      MIPLIB3_DATA="$withval"
    22636 fi;
    22637 fi
    22638 
    22639 if test $coin_has_miplib3 = notGiven; then
    22640   if test -n "$PKG_CONFIG" ; then
    22641     # set search path for pkg-config
    22642     # need to export variable to be sure that the following pkg-config gets these values
    22643     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    22644     PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH:$COIN_PKG_CONFIG_PATH_UNINSTALLED"
    22645     export PKG_CONFIG_PATH
    22646 
    22647     # let pkg-config do it's magic
    22648 
    22649 
    22650 
    22651 if test -n "$PKG_CONFIG" ; then
    22652   if $PKG_CONFIG --exists "coindatamiplib3"; then
    22653     MIPLIB3_VERSIONS="`$PKG_CONFIG --modversion coindatamiplib3 2>/dev/null`"
    22654      cflags=`$PKG_CONFIG --cflags "coindatamiplib3" 2>/dev/null`
    22655     # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
    22656         # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
    22657         # but only do this if is not trivial
    22658     if test "$CYGPATH_W" != "echo" ; then
    22659       # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    22660           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    22661         fi
    22662     MIPLIB3_CFLAGS="$cflags"
    22663     MIPLIB3_LIBS=`$PKG_CONFIG --libs "coindatamiplib3" 2>/dev/null`
    22664     MIPLIB3_DATA=`$PKG_CONFIG --variable=datadir "coindatamiplib3" 2>/dev/null`
    22665      coin_has_miplib3=yes
    22666         echo "$as_me:$LINENO: result: yes: $MIPLIB3_VERSIONS" >&5
    22667 echo "${ECHO_T}yes: $MIPLIB3_VERSIONS" >&6
    22668 
    22669 
    22670 
    22671   else
    22672     MIPLIB3_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coindatamiplib3`
    22673       coin_has_miplib3=notGiven
    22674         echo "$as_me:$LINENO: result: not given: $MIPLIB3_PKG_ERRORS" >&5
    22675 echo "${ECHO_T}not given: $MIPLIB3_PKG_ERRORS" >&6
    22676 
    22677   fi
    22678 else
    22679   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&5
    22680 echo "$as_me: error: \"Cannot check for existance of module Miplib3 without pkg-config\"" >&2;}
    22681    { (exit 1); exit 1; }; }
    22682 fi
    22683 
    22684 
    22685 
    22686 
    22687     # reset PKG_CONFIG_PATH variable
    22688     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    22689     export PKG_CONFIG_PATH
    22690   else
    22691     #if 4th argument is given, try fallback - whereby we take the first word from coindatamiplib3 as basename for the .pc file
    22692 
    22693 if test x$coin_has_miplib3 != "xyes" ; then
    22694 
    22695 
    22696 
    22697 coin_has_miplib3=notGiven
    22698 
    22699 # check if user wants to skip module in any case
    22700 if test x"$COIN_SKIP_PROJECTS" != x; then
    22701   for dir in $COIN_SKIP_PROJECTS; do
    22702     if test $dir = "Miplib3"; then
    22703       coin_has_miplib3=skipping
    22704     fi
    22705   done
    22706 fi
    22707 
    22708 MIPLIB3_LIBS=
    22709 MIPLIB3_CFLAGS=
    22710 MIPLIB3_DATA=
    22711 
    22712 
    22713 if test $coin_has_miplib3 != "skipping" ; then
    22714   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    22715   if test -r ../Data/Miplib3/coindatamiplib3-uninstalled.pc ; then
    22716     # read CFLAGS and LIBS from m4_bpatsubst(coindatamiplib3, [ .*], [])-uninstalled.pc file
    22717     # add CYGPATH_W cludge into include flags
    22718     # replace -L${libdir} by absolute path to build directory in linker flags
    22719     # we assume that the build directory is ../Data/Miplib3/src if this directory exists, otherwise we assume that it is ../Data/Miplib3
    22720     MIPLIB3_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
    22721     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
    22722     if test "x$projectlibs" != x ; then
    22723       if test -d ../Data/Miplib3/src ; then
    22724         MIPLIB3_LIBS="-L`cd ../Data/Miplib3/src; pwd` $projectlibs"
    22725       else
    22726         MIPLIB3_LIBS="-L`cd ../Data/Miplib3; pwd` $projectlibs"
    22727       fi
    22728     else
    22729       MIPLIB3_LIBS=`sed -n -e 's/Libs://p' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
    22730     fi
    22731     MIPLIB3_DATA=`sed -n -e 's/datadir=//gp' ../Data/Miplib3/coindatamiplib3-uninstalled.pc`
    22732 
    22733 
    22734 
    22735 
    22736 cat >>confdefs.h <<\_ACEOF
    22737 #define COIN_HAS_MIPLIB3 1
    22738 _ACEOF
    22739 
    22740 
    22741 
    22742     coin_has_miplib3=yes
    22743     echo "$as_me:$LINENO: result: ../Data/Miplib3" >&5
    22744 echo "${ECHO_T}../Data/Miplib3" >&6
    22745   else
    22746     echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5
    22747 echo "${ECHO_T}$coin_has_miplib3" >&6
    22748   fi
    22749 else
    22750   echo "$as_me:$LINENO: result: skipping" >&5
    22751 echo "${ECHO_T}skipping" >&6
    22752 fi
    22753 
    22754 #if user did not disable setting of makefile conditional, do it
    22755 
    22756 
    22757 if test $coin_has_miplib3 != notGiven &&
    22758                 test $coin_has_miplib3 != skipping; then
    22759   COIN_HAS_MIPLIB3_TRUE=
    22760   COIN_HAS_MIPLIB3_FALSE='#'
    22761 else
    22762   COIN_HAS_MIPLIB3_TRUE='#'
    22763   COIN_HAS_MIPLIB3_FALSE=
    22764 fi
    22765 
    22766 
    22767 fi
    22768 
    22769 
    22770   fi
    22771 
    22772 else
    22773   echo "$as_me:$LINENO: result: $coin_has_miplib3" >&5
    22774 echo "${ECHO_T}$coin_has_miplib3" >&6
    22775 fi
    22776 
    22777 if test $coin_has_miplib3 != skipping &&
    22778    test $coin_has_miplib3 != notGiven ; then
    22779   if test 0 = 1 ; then  #change this test to enable a bit of debugging output
    22780   if test -n "$MIPLIB3_CFLAGS" ; then
    22781     { echo "$as_me:$LINENO: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&5
    22782 echo "$as_me: Miplib3 CFLAGS are $MIPLIB3_CFLAGS" >&6;}
    22783   fi
    22784   if test -n "$MIPLIB3_LIBS" ; then
    22785     { echo "$as_me:$LINENO: Miplib3 LIBS   are $MIPLIB3_LIBS" >&5
    22786 echo "$as_me: Miplib3 LIBS   are $MIPLIB3_LIBS" >&6;}
    22787   fi
    22788   if test -n "$MIPLIB3_DATA" ; then
    22789     { echo "$as_me:$LINENO: Miplib3 DATA   is  $MIPLIB3_DATA" >&5
    22790 echo "$as_me: Miplib3 DATA   is  $MIPLIB3_DATA" >&6;}
    22791   fi
    22792   fi
    22793 
    22794 cat >>confdefs.h <<\_ACEOF
    22795 #define COIN_HAS_MIPLIB3 1
    22796 _ACEOF
    22797 
    22798 fi
    22799 
    22800 # Define the Makefile conditional
    22801 
    22802 
    22803 if test $coin_has_miplib3 != notGiven &&
    22804                 test $coin_has_miplib3 != skipping; then
    22805   COIN_HAS_MIPLIB3_TRUE=
    22806   COIN_HAS_MIPLIB3_FALSE='#'
    22807 else
    22808   COIN_HAS_MIPLIB3_TRUE='#'
    22809   COIN_HAS_MIPLIB3_FALSE=
    22810 fi
    22811 
    22812 
    22813 
    22814 
    22815 #############################################################################
    22816 #                            Third party solvers                            #
    22817 #############################################################################
    22818 
    22819 # Check which third party solvers are available
    2282022953
    2282122954echo "$as_me:$LINENO: checking for COIN-OR module Cpx" >&5
     
    2292323056    export PKG_CONFIG_PATH
    2292423057  else
    22925     #if 4th argument is given, try fallback - whereby we take the first word from osi-cplex as basename for the .pc file
    22926     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    22927 echo "${ECHO_T}skipped check via pkg-config" >&6
     23058    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     23059echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     23060
     23061echo "$as_me:$LINENO: checking for COIN-OR module Cpx (fallback)" >&5
     23062echo $ECHO_N "checking for COIN-OR module Cpx (fallback)... $ECHO_C" >&6
     23063
     23064coin_has_cpx=notGiven
     23065CPX_LIBS=
     23066CPX_CFLAGS=
     23067CPX_DATA=
     23068
     23069
     23070# initial list of dependencies is "osi-cplex", but we need to filter out version number specifications (= x, <= x, >= x)
     23071projtoprocess="osi-cplex"
     23072projprocessed=""
     23073
     23074while test $coin_has_cpx = notGiven ; do
     23075  # setup list of projects that need to be processed in the next round
     23076  nextprojtoprocess=""
     23077
     23078  for proj in $projtoprocess ; do
     23079    # if $proj has been processed already, skip this round
     23080    if test "x$projprocessed" != x ; then
     23081      for projdone in $projprocessed ; do
     23082        if test $projdone = $proj ; then
     23083          continue 2
     23084        fi
     23085      done
     23086    fi
     23087
     23088    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     23089    pcfile=""
     23090    save_IFS="$IFS"
     23091    IFS=":"
     23092    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     23093      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     23094      if test -r "$dir/$proj-uninstalled.pc" ; then
     23095        pcfile="$dir/$proj-uninstalled.pc"
     23096        pcfiledir="$dir"
     23097        break
     23098      fi
     23099    done
     23100    IFS="$save_IFS"
     23101
     23102    if test "x$pcfile" != x ; then
     23103      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     23104      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     23105      CPX_CFLAGS="$projcflags $CPX_CFLAGS"
     23106
     23107      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     23108      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     23109      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     23110      if test "x$projlibs" != x ; then
     23111        if test -d "${pcfiledir}/src" ; then
     23112          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     23113        else
     23114          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     23115        fi
     23116      else
     23117        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     23118      fi
     23119      CPX_LIBS="$projlibs $CPX_LIBS"
     23120
     23121      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     23122      if test "x$projprocessed" = x ; then
     23123        CPX_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23124      fi
     23125
     23126      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     23127      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     23128      nextprojtoprocess="$nextprojtoprocess $projrequires"
     23129
     23130      # remember that we have processed $proj
     23131      projprocessed="$projprocessed $proj"
     23132
     23133    else
     23134      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     23135echo "${ECHO_T}no, dependency $proj not available" >&6
     23136      break 2
     23137    fi
     23138
     23139  done
     23140
     23141  projtoprocess="$nextprojtoprocess"
     23142
     23143  if test "x$projtoprocess" = x ; then
     23144    coin_has_cpx=yes
     23145    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     23146echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     23147
     23148    REQUIREDPACKAGES="osi-cplex $REQUIREDPACKAGES"
     23149
     23150cat >>confdefs.h <<\_ACEOF
     23151#define COIN_HAS_CPX 1
     23152_ACEOF
     23153
     23154
     23155    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23156    if test -n "$CPX_CFLAGS" ; then
     23157      { echo "$as_me:$LINENO: Cpx CFLAGS are $CPX_CFLAGS" >&5
     23158echo "$as_me: Cpx CFLAGS are $CPX_CFLAGS" >&6;}
     23159    fi
     23160    if test -n "$CPX_LIBS" ; then
     23161      { echo "$as_me:$LINENO: Cpx LIBS   are $CPX_LIBS" >&5
     23162echo "$as_me: Cpx LIBS   are $CPX_LIBS" >&6;}
     23163    fi
     23164    if test -n "$CPX_DATA" ; then
     23165      { echo "$as_me:$LINENO: Cpx DATA   is  $CPX_DATA" >&5
     23166echo "$as_me: Cpx DATA   is  $CPX_DATA" >&6;}
     23167    fi
     23168    fi
     23169  fi
     23170done
     23171
     23172
     23173
     23174if test $coin_has_cpx != notGiven &&
     23175                test $coin_has_cpx != skipping; then
     23176  COIN_HAS_CPX_TRUE=
     23177  COIN_HAS_CPX_FALSE='#'
     23178else
     23179  COIN_HAS_CPX_TRUE='#'
     23180  COIN_HAS_CPX_FALSE=
     23181fi
     23182
     23183
    2292823184
    2292923185  fi
     
    2307623332    export PKG_CONFIG_PATH
    2307723333  else
    23078     #if 4th argument is given, try fallback - whereby we take the first word from osi-glpk as basename for the .pc file
    23079     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    23080 echo "${ECHO_T}skipped check via pkg-config" >&6
     23334    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     23335echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     23336
     23337echo "$as_me:$LINENO: checking for COIN-OR module Glpk (fallback)" >&5
     23338echo $ECHO_N "checking for COIN-OR module Glpk (fallback)... $ECHO_C" >&6
     23339
     23340coin_has_glpk=notGiven
     23341GLPK_LIBS=
     23342GLPK_CFLAGS=
     23343GLPK_DATA=
     23344
     23345
     23346# initial list of dependencies is "osi-glpk", but we need to filter out version number specifications (= x, <= x, >= x)
     23347projtoprocess="osi-glpk"
     23348projprocessed=""
     23349
     23350while test $coin_has_glpk = notGiven ; do
     23351  # setup list of projects that need to be processed in the next round
     23352  nextprojtoprocess=""
     23353
     23354  for proj in $projtoprocess ; do
     23355    # if $proj has been processed already, skip this round
     23356    if test "x$projprocessed" != x ; then
     23357      for projdone in $projprocessed ; do
     23358        if test $projdone = $proj ; then
     23359          continue 2
     23360        fi
     23361      done
     23362    fi
     23363
     23364    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     23365    pcfile=""
     23366    save_IFS="$IFS"
     23367    IFS=":"
     23368    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     23369      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     23370      if test -r "$dir/$proj-uninstalled.pc" ; then
     23371        pcfile="$dir/$proj-uninstalled.pc"
     23372        pcfiledir="$dir"
     23373        break
     23374      fi
     23375    done
     23376    IFS="$save_IFS"
     23377
     23378    if test "x$pcfile" != x ; then
     23379      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     23380      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     23381      GLPK_CFLAGS="$projcflags $GLPK_CFLAGS"
     23382
     23383      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     23384      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     23385      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     23386      if test "x$projlibs" != x ; then
     23387        if test -d "${pcfiledir}/src" ; then
     23388          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     23389        else
     23390          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     23391        fi
     23392      else
     23393        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     23394      fi
     23395      GLPK_LIBS="$projlibs $GLPK_LIBS"
     23396
     23397      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     23398      if test "x$projprocessed" = x ; then
     23399        GLPK_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23400      fi
     23401
     23402      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     23403      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     23404      nextprojtoprocess="$nextprojtoprocess $projrequires"
     23405
     23406      # remember that we have processed $proj
     23407      projprocessed="$projprocessed $proj"
     23408
     23409    else
     23410      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     23411echo "${ECHO_T}no, dependency $proj not available" >&6
     23412      break 2
     23413    fi
     23414
     23415  done
     23416
     23417  projtoprocess="$nextprojtoprocess"
     23418
     23419  if test "x$projtoprocess" = x ; then
     23420    coin_has_glpk=yes
     23421    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     23422echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     23423
     23424    REQUIREDPACKAGES="osi-glpk $REQUIREDPACKAGES"
     23425
     23426cat >>confdefs.h <<\_ACEOF
     23427#define COIN_HAS_GLPK 1
     23428_ACEOF
     23429
     23430
     23431    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23432    if test -n "$GLPK_CFLAGS" ; then
     23433      { echo "$as_me:$LINENO: Glpk CFLAGS are $GLPK_CFLAGS" >&5
     23434echo "$as_me: Glpk CFLAGS are $GLPK_CFLAGS" >&6;}
     23435    fi
     23436    if test -n "$GLPK_LIBS" ; then
     23437      { echo "$as_me:$LINENO: Glpk LIBS   are $GLPK_LIBS" >&5
     23438echo "$as_me: Glpk LIBS   are $GLPK_LIBS" >&6;}
     23439    fi
     23440    if test -n "$GLPK_DATA" ; then
     23441      { echo "$as_me:$LINENO: Glpk DATA   is  $GLPK_DATA" >&5
     23442echo "$as_me: Glpk DATA   is  $GLPK_DATA" >&6;}
     23443    fi
     23444    fi
     23445  fi
     23446done
     23447
     23448
     23449
     23450if test $coin_has_glpk != notGiven &&
     23451                test $coin_has_glpk != skipping; then
     23452  COIN_HAS_GLPK_TRUE=
     23453  COIN_HAS_GLPK_FALSE='#'
     23454else
     23455  COIN_HAS_GLPK_TRUE='#'
     23456  COIN_HAS_GLPK_FALSE=
     23457fi
     23458
     23459
    2308123460
    2308223461  fi
     
    2322923608    export PKG_CONFIG_PATH
    2323023609  else
    23231     #if 4th argument is given, try fallback - whereby we take the first word from osi-gurobi as basename for the .pc file
    23232     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    23233 echo "${ECHO_T}skipped check via pkg-config" >&6
     23610    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     23611echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     23612
     23613echo "$as_me:$LINENO: checking for COIN-OR module Grb (fallback)" >&5
     23614echo $ECHO_N "checking for COIN-OR module Grb (fallback)... $ECHO_C" >&6
     23615
     23616coin_has_grb=notGiven
     23617GRB_LIBS=
     23618GRB_CFLAGS=
     23619GRB_DATA=
     23620
     23621
     23622# initial list of dependencies is "osi-gurobi", but we need to filter out version number specifications (= x, <= x, >= x)
     23623projtoprocess="osi-gurobi"
     23624projprocessed=""
     23625
     23626while test $coin_has_grb = notGiven ; do
     23627  # setup list of projects that need to be processed in the next round
     23628  nextprojtoprocess=""
     23629
     23630  for proj in $projtoprocess ; do
     23631    # if $proj has been processed already, skip this round
     23632    if test "x$projprocessed" != x ; then
     23633      for projdone in $projprocessed ; do
     23634        if test $projdone = $proj ; then
     23635          continue 2
     23636        fi
     23637      done
     23638    fi
     23639
     23640    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     23641    pcfile=""
     23642    save_IFS="$IFS"
     23643    IFS=":"
     23644    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     23645      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     23646      if test -r "$dir/$proj-uninstalled.pc" ; then
     23647        pcfile="$dir/$proj-uninstalled.pc"
     23648        pcfiledir="$dir"
     23649        break
     23650      fi
     23651    done
     23652    IFS="$save_IFS"
     23653
     23654    if test "x$pcfile" != x ; then
     23655      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     23656      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     23657      GRB_CFLAGS="$projcflags $GRB_CFLAGS"
     23658
     23659      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     23660      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     23661      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     23662      if test "x$projlibs" != x ; then
     23663        if test -d "${pcfiledir}/src" ; then
     23664          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     23665        else
     23666          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     23667        fi
     23668      else
     23669        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     23670      fi
     23671      GRB_LIBS="$projlibs $GRB_LIBS"
     23672
     23673      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     23674      if test "x$projprocessed" = x ; then
     23675        GRB_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23676      fi
     23677
     23678      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     23679      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     23680      nextprojtoprocess="$nextprojtoprocess $projrequires"
     23681
     23682      # remember that we have processed $proj
     23683      projprocessed="$projprocessed $proj"
     23684
     23685    else
     23686      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     23687echo "${ECHO_T}no, dependency $proj not available" >&6
     23688      break 2
     23689    fi
     23690
     23691  done
     23692
     23693  projtoprocess="$nextprojtoprocess"
     23694
     23695  if test "x$projtoprocess" = x ; then
     23696    coin_has_grb=yes
     23697    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     23698echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     23699
     23700    REQUIREDPACKAGES="osi-gurobi $REQUIREDPACKAGES"
     23701
     23702cat >>confdefs.h <<\_ACEOF
     23703#define COIN_HAS_GRB 1
     23704_ACEOF
     23705
     23706
     23707    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23708    if test -n "$GRB_CFLAGS" ; then
     23709      { echo "$as_me:$LINENO: Grb CFLAGS are $GRB_CFLAGS" >&5
     23710echo "$as_me: Grb CFLAGS are $GRB_CFLAGS" >&6;}
     23711    fi
     23712    if test -n "$GRB_LIBS" ; then
     23713      { echo "$as_me:$LINENO: Grb LIBS   are $GRB_LIBS" >&5
     23714echo "$as_me: Grb LIBS   are $GRB_LIBS" >&6;}
     23715    fi
     23716    if test -n "$GRB_DATA" ; then
     23717      { echo "$as_me:$LINENO: Grb DATA   is  $GRB_DATA" >&5
     23718echo "$as_me: Grb DATA   is  $GRB_DATA" >&6;}
     23719    fi
     23720    fi
     23721  fi
     23722done
     23723
     23724
     23725
     23726if test $coin_has_grb != notGiven &&
     23727                test $coin_has_grb != skipping; then
     23728  COIN_HAS_GRB_TRUE=
     23729  COIN_HAS_GRB_FALSE='#'
     23730else
     23731  COIN_HAS_GRB_TRUE='#'
     23732  COIN_HAS_GRB_FALSE=
     23733fi
     23734
     23735
    2323423736
    2323523737  fi
     
    2338223884    export PKG_CONFIG_PATH
    2338323885  else
    23384     #if 4th argument is given, try fallback - whereby we take the first word from osi-mosek as basename for the .pc file
    23385     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    23386 echo "${ECHO_T}skipped check via pkg-config" >&6
     23886    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     23887echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     23888
     23889echo "$as_me:$LINENO: checking for COIN-OR module Msk (fallback)" >&5
     23890echo $ECHO_N "checking for COIN-OR module Msk (fallback)... $ECHO_C" >&6
     23891
     23892coin_has_msk=notGiven
     23893MSK_LIBS=
     23894MSK_CFLAGS=
     23895MSK_DATA=
     23896
     23897
     23898# initial list of dependencies is "osi-mosek", but we need to filter out version number specifications (= x, <= x, >= x)
     23899projtoprocess="osi-mosek"
     23900projprocessed=""
     23901
     23902while test $coin_has_msk = notGiven ; do
     23903  # setup list of projects that need to be processed in the next round
     23904  nextprojtoprocess=""
     23905
     23906  for proj in $projtoprocess ; do
     23907    # if $proj has been processed already, skip this round
     23908    if test "x$projprocessed" != x ; then
     23909      for projdone in $projprocessed ; do
     23910        if test $projdone = $proj ; then
     23911          continue 2
     23912        fi
     23913      done
     23914    fi
     23915
     23916    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     23917    pcfile=""
     23918    save_IFS="$IFS"
     23919    IFS=":"
     23920    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     23921      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     23922      if test -r "$dir/$proj-uninstalled.pc" ; then
     23923        pcfile="$dir/$proj-uninstalled.pc"
     23924        pcfiledir="$dir"
     23925        break
     23926      fi
     23927    done
     23928    IFS="$save_IFS"
     23929
     23930    if test "x$pcfile" != x ; then
     23931      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     23932      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     23933      MSK_CFLAGS="$projcflags $MSK_CFLAGS"
     23934
     23935      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     23936      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     23937      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     23938      if test "x$projlibs" != x ; then
     23939        if test -d "${pcfiledir}/src" ; then
     23940          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     23941        else
     23942          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     23943        fi
     23944      else
     23945        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     23946      fi
     23947      MSK_LIBS="$projlibs $MSK_LIBS"
     23948
     23949      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     23950      if test "x$projprocessed" = x ; then
     23951        MSK_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     23952      fi
     23953
     23954      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     23955      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     23956      nextprojtoprocess="$nextprojtoprocess $projrequires"
     23957
     23958      # remember that we have processed $proj
     23959      projprocessed="$projprocessed $proj"
     23960
     23961    else
     23962      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     23963echo "${ECHO_T}no, dependency $proj not available" >&6
     23964      break 2
     23965    fi
     23966
     23967  done
     23968
     23969  projtoprocess="$nextprojtoprocess"
     23970
     23971  if test "x$projtoprocess" = x ; then
     23972    coin_has_msk=yes
     23973    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     23974echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     23975
     23976    REQUIREDPACKAGES="osi-mosek $REQUIREDPACKAGES"
     23977
     23978cat >>confdefs.h <<\_ACEOF
     23979#define COIN_HAS_MSK 1
     23980_ACEOF
     23981
     23982
     23983    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     23984    if test -n "$MSK_CFLAGS" ; then
     23985      { echo "$as_me:$LINENO: Msk CFLAGS are $MSK_CFLAGS" >&5
     23986echo "$as_me: Msk CFLAGS are $MSK_CFLAGS" >&6;}
     23987    fi
     23988    if test -n "$MSK_LIBS" ; then
     23989      { echo "$as_me:$LINENO: Msk LIBS   are $MSK_LIBS" >&5
     23990echo "$as_me: Msk LIBS   are $MSK_LIBS" >&6;}
     23991    fi
     23992    if test -n "$MSK_DATA" ; then
     23993      { echo "$as_me:$LINENO: Msk DATA   is  $MSK_DATA" >&5
     23994echo "$as_me: Msk DATA   is  $MSK_DATA" >&6;}
     23995    fi
     23996    fi
     23997  fi
     23998done
     23999
     24000
     24001
     24002if test $coin_has_msk != notGiven &&
     24003                test $coin_has_msk != skipping; then
     24004  COIN_HAS_MSK_TRUE=
     24005  COIN_HAS_MSK_FALSE='#'
     24006else
     24007  COIN_HAS_MSK_TRUE='#'
     24008  COIN_HAS_MSK_FALSE=
     24009fi
     24010
     24011
    2338724012
    2338824013  fi
     
    2353524160    export PKG_CONFIG_PATH
    2353624161  else
    23537     #if 4th argument is given, try fallback - whereby we take the first word from osi-soplex as basename for the .pc file
    23538     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    23539 echo "${ECHO_T}skipped check via pkg-config" >&6
     24162    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     24163echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     24164
     24165echo "$as_me:$LINENO: checking for COIN-OR module Spx (fallback)" >&5
     24166echo $ECHO_N "checking for COIN-OR module Spx (fallback)... $ECHO_C" >&6
     24167
     24168coin_has_spx=notGiven
     24169SPX_LIBS=
     24170SPX_CFLAGS=
     24171SPX_DATA=
     24172
     24173
     24174# initial list of dependencies is "osi-soplex", but we need to filter out version number specifications (= x, <= x, >= x)
     24175projtoprocess="osi-soplex"
     24176projprocessed=""
     24177
     24178while test $coin_has_spx = notGiven ; do
     24179  # setup list of projects that need to be processed in the next round
     24180  nextprojtoprocess=""
     24181
     24182  for proj in $projtoprocess ; do
     24183    # if $proj has been processed already, skip this round
     24184    if test "x$projprocessed" != x ; then
     24185      for projdone in $projprocessed ; do
     24186        if test $projdone = $proj ; then
     24187          continue 2
     24188        fi
     24189      done
     24190    fi
     24191
     24192    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     24193    pcfile=""
     24194    save_IFS="$IFS"
     24195    IFS=":"
     24196    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     24197      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     24198      if test -r "$dir/$proj-uninstalled.pc" ; then
     24199        pcfile="$dir/$proj-uninstalled.pc"
     24200        pcfiledir="$dir"
     24201        break
     24202      fi
     24203    done
     24204    IFS="$save_IFS"
     24205
     24206    if test "x$pcfile" != x ; then
     24207      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     24208      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     24209      SPX_CFLAGS="$projcflags $SPX_CFLAGS"
     24210
     24211      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     24212      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     24213      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     24214      if test "x$projlibs" != x ; then
     24215        if test -d "${pcfiledir}/src" ; then
     24216          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     24217        else
     24218          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     24219        fi
     24220      else
     24221        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     24222      fi
     24223      SPX_LIBS="$projlibs $SPX_LIBS"
     24224
     24225      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     24226      if test "x$projprocessed" = x ; then
     24227        SPX_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     24228      fi
     24229
     24230      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     24231      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     24232      nextprojtoprocess="$nextprojtoprocess $projrequires"
     24233
     24234      # remember that we have processed $proj
     24235      projprocessed="$projprocessed $proj"
     24236
     24237    else
     24238      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     24239echo "${ECHO_T}no, dependency $proj not available" >&6
     24240      break 2
     24241    fi
     24242
     24243  done
     24244
     24245  projtoprocess="$nextprojtoprocess"
     24246
     24247  if test "x$projtoprocess" = x ; then
     24248    coin_has_spx=yes
     24249    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     24250echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     24251
     24252    REQUIREDPACKAGES="osi-soplex $REQUIREDPACKAGES"
     24253
     24254cat >>confdefs.h <<\_ACEOF
     24255#define COIN_HAS_SPX 1
     24256_ACEOF
     24257
     24258
     24259    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     24260    if test -n "$SPX_CFLAGS" ; then
     24261      { echo "$as_me:$LINENO: Spx CFLAGS are $SPX_CFLAGS" >&5
     24262echo "$as_me: Spx CFLAGS are $SPX_CFLAGS" >&6;}
     24263    fi
     24264    if test -n "$SPX_LIBS" ; then
     24265      { echo "$as_me:$LINENO: Spx LIBS   are $SPX_LIBS" >&5
     24266echo "$as_me: Spx LIBS   are $SPX_LIBS" >&6;}
     24267    fi
     24268    if test -n "$SPX_DATA" ; then
     24269      { echo "$as_me:$LINENO: Spx DATA   is  $SPX_DATA" >&5
     24270echo "$as_me: Spx DATA   is  $SPX_DATA" >&6;}
     24271    fi
     24272    fi
     24273  fi
     24274done
     24275
     24276
     24277
     24278if test $coin_has_spx != notGiven &&
     24279                test $coin_has_spx != skipping; then
     24280  COIN_HAS_SPX_TRUE=
     24281  COIN_HAS_SPX_FALSE='#'
     24282else
     24283  COIN_HAS_SPX_TRUE='#'
     24284  COIN_HAS_SPX_FALSE=
     24285fi
     24286
     24287
    2354024288
    2354124289  fi
     
    2368824436    export PKG_CONFIG_PATH
    2368924437  else
    23690     #if 4th argument is given, try fallback - whereby we take the first word from osi-xpress as basename for the .pc file
    23691     echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5
    23692 echo "${ECHO_T}skipped check via pkg-config" >&6
     24438    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     24439echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     24440
     24441echo "$as_me:$LINENO: checking for COIN-OR module Xpr (fallback)" >&5
     24442echo $ECHO_N "checking for COIN-OR module Xpr (fallback)... $ECHO_C" >&6
     24443
     24444coin_has_xpr=notGiven
     24445XPR_LIBS=
     24446XPR_CFLAGS=
     24447XPR_DATA=
     24448
     24449
     24450# initial list of dependencies is "osi-xpress", but we need to filter out version number specifications (= x, <= x, >= x)
     24451projtoprocess="osi-xpress"
     24452projprocessed=""
     24453
     24454while test $coin_has_xpr = notGiven ; do
     24455  # setup list of projects that need to be processed in the next round
     24456  nextprojtoprocess=""
     24457
     24458  for proj in $projtoprocess ; do
     24459    # if $proj has been processed already, skip this round
     24460    if test "x$projprocessed" != x ; then
     24461      for projdone in $projprocessed ; do
     24462        if test $projdone = $proj ; then
     24463          continue 2
     24464        fi
     24465      done
     24466    fi
     24467
     24468    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     24469    pcfile=""
     24470    save_IFS="$IFS"
     24471    IFS=":"
     24472    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     24473      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     24474      if test -r "$dir/$proj-uninstalled.pc" ; then
     24475        pcfile="$dir/$proj-uninstalled.pc"
     24476        pcfiledir="$dir"
     24477        break
     24478      fi
     24479    done
     24480    IFS="$save_IFS"
     24481
     24482    if test "x$pcfile" != x ; then
     24483      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     24484      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     24485      XPR_CFLAGS="$projcflags $XPR_CFLAGS"
     24486
     24487      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     24488      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     24489      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     24490      if test "x$projlibs" != x ; then
     24491        if test -d "${pcfiledir}/src" ; then
     24492          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     24493        else
     24494          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     24495        fi
     24496      else
     24497        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
     24498      fi
     24499      XPR_LIBS="$projlibs $XPR_LIBS"
     24500
     24501      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     24502      if test "x$projprocessed" = x ; then
     24503        XPR_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     24504      fi
     24505
     24506      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     24507      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     24508      nextprojtoprocess="$nextprojtoprocess $projrequires"
     24509
     24510      # remember that we have processed $proj
     24511      projprocessed="$projprocessed $proj"
     24512
     24513    else
     24514      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     24515echo "${ECHO_T}no, dependency $proj not available" >&6
     24516      break 2
     24517    fi
     24518
     24519  done
     24520
     24521  projtoprocess="$nextprojtoprocess"
     24522
     24523  if test "x$projtoprocess" = x ; then
     24524    coin_has_xpr=yes
     24525    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     24526echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
     24527
     24528    REQUIREDPACKAGES="osi-xpress $REQUIREDPACKAGES"
     24529
     24530cat >>confdefs.h <<\_ACEOF
     24531#define COIN_HAS_XPR 1
     24532_ACEOF
     24533
     24534
     24535    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     24536    if test -n "$XPR_CFLAGS" ; then
     24537      { echo "$as_me:$LINENO: Xpr CFLAGS are $XPR_CFLAGS" >&5
     24538echo "$as_me: Xpr CFLAGS are $XPR_CFLAGS" >&6;}
     24539    fi
     24540    if test -n "$XPR_LIBS" ; then
     24541      { echo "$as_me:$LINENO: Xpr LIBS   are $XPR_LIBS" >&5
     24542echo "$as_me: Xpr LIBS   are $XPR_LIBS" >&6;}
     24543    fi
     24544    if test -n "$XPR_DATA" ; then
     24545      { echo "$as_me:$LINENO: Xpr DATA   is  $XPR_DATA" >&5
     24546echo "$as_me: Xpr DATA   is  $XPR_DATA" >&6;}
     24547    fi
     24548    fi
     24549  fi
     24550done
     24551
     24552
     24553
     24554if test $coin_has_xpr != notGiven &&
     24555                test $coin_has_xpr != skipping; then
     24556  COIN_HAS_XPR_TRUE=
     24557  COIN_HAS_XPR_FALSE='#'
     24558else
     24559  COIN_HAS_XPR_TRUE='#'
     24560  COIN_HAS_XPR_FALSE=
     24561fi
     24562
     24563
    2369324564
    2369424565  fi
     
    2384724718    export PKG_CONFIG_PATH
    2384824719  else
    23849     #if 4th argument is given, try fallback - whereby we take the first word from coinasl as basename for the .pc file
    23850 
    23851 if test x$coin_has_asl != "xyes" ; then
    23852 
    23853 
     24720    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     24721echo "${ECHO_T}skipped check via pkg-config, redirect to fallback" >&6
     24722
     24723echo "$as_me:$LINENO: checking for COIN-OR module ASL (fallback)" >&5
     24724echo $ECHO_N "checking for COIN-OR module ASL (fallback)... $ECHO_C" >&6
    2385424725
    2385524726coin_has_asl=notGiven
    23856 
    23857 # check if user wants to skip module in any case
    23858 if test x"$COIN_SKIP_PROJECTS" != x; then
    23859   for dir in $COIN_SKIP_PROJECTS; do
    23860     if test $dir = "ASL"; then
    23861       coin_has_asl=skipping
    23862     fi
    23863   done
    23864 fi
    23865 
    2386624727ASL_LIBS=
    2386724728ASL_CFLAGS=
     
    2386924730
    2387024731
    23871 if test $coin_has_asl != "skipping" ; then
    23872   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    23873   if test -r ../ThirdParty/ASL/coinasl-uninstalled.pc ; then
    23874     # read CFLAGS and LIBS from m4_bpatsubst(coinasl, [ .*], [])-uninstalled.pc file
    23875     # add CYGPATH_W cludge into include flags
    23876     # replace -L${libdir} by absolute path to build directory in linker flags
    23877     # we assume that the build directory is ../ThirdParty/ASL/src if this directory exists, otherwise we assume that it is ../ThirdParty/ASL
    23878     ASL_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/ASL/coinasl-uninstalled.pc`
    23879     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/ASL/coinasl-uninstalled.pc`
    23880     if test "x$projectlibs" != x ; then
    23881       if test -d ../ThirdParty/ASL/src ; then
    23882         ASL_LIBS="-L`cd ../ThirdParty/ASL/src; pwd` $projectlibs"
     24732# initial list of dependencies is "coinasl", but we need to filter out version number specifications (= x, <= x, >= x)
     24733projtoprocess="coinasl"
     24734projprocessed=""
     24735
     24736while test $coin_has_asl = notGiven ; do
     24737  # setup list of projects that need to be processed in the next round
     24738  nextprojtoprocess=""
     24739
     24740  for proj in $projtoprocess ; do
     24741    # if $proj has been processed already, skip this round
     24742    if test "x$projprocessed" != x ; then
     24743      for projdone in $projprocessed ; do
     24744        if test $projdone = $proj ; then
     24745          continue 2
     24746        fi
     24747      done
     24748    fi
     24749
     24750    # if $proj is available and configured, then a project-uninstalled.pc file should have been created, so search for it
     24751    pcfile=""
     24752    save_IFS="$IFS"
     24753    IFS=":"
     24754    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
     24755      # the base directory configure should have setup coin_subdirs.txt in a way that it does not contain projects that should be skipped, so we do not need to test this here again
     24756      if test -r "$dir/$proj-uninstalled.pc" ; then
     24757        pcfile="$dir/$proj-uninstalled.pc"
     24758        pcfiledir="$dir"
     24759        break
     24760      fi
     24761    done
     24762    IFS="$save_IFS"
     24763
     24764    if test "x$pcfile" != x ; then
     24765      # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
     24766      projcflags=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' "$pcfile"`
     24767      ASL_CFLAGS="$projcflags $ASL_CFLAGS"
     24768
     24769      # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
     24770      # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
     24771      projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
     24772      if test "x$projlibs" != x ; then
     24773        if test -d "${pcfiledir}/src" ; then
     24774          projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
     24775        else
     24776          projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
     24777        fi
    2388324778      else
    23884         ASL_LIBS="-L`cd ../ThirdParty/ASL; pwd` $projectlibs"
     24779        projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    2388524780      fi
     24781      ASL_LIBS="$projlibs $ASL_LIBS"
     24782
     24783      # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
     24784      if test "x$projprocessed" = x ; then
     24785        ASL_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     24786      fi
     24787
     24788      # read dependencies from $pcfile, filter it, and add to list of projects that need to be processed next
     24789      projrequires=`sed -n -e 's/Requires://gp' "$pcfile" | sed -e 's/<\?>\?=[  ]*[^    ]\+//g'`
     24790      nextprojtoprocess="$nextprojtoprocess $projrequires"
     24791
     24792      # remember that we have processed $proj
     24793      projprocessed="$projprocessed $proj"
     24794
    2388624795    else
    23887       ASL_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/ASL/coinasl-uninstalled.pc`
     24796      echo "$as_me:$LINENO: result: no, dependency $proj not available" >&5
     24797echo "${ECHO_T}no, dependency $proj not available" >&6
     24798      break 2
    2388824799    fi
    23889     ASL_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/ASL/coinasl-uninstalled.pc`
    23890 
     24800
     24801  done
     24802
     24803  projtoprocess="$nextprojtoprocess"
     24804
     24805  if test "x$projtoprocess" = x ; then
     24806    coin_has_asl=yes
     24807    echo "$as_me:$LINENO: result: yes, dependencies are$projprocessed" >&5
     24808echo "${ECHO_T}yes, dependencies are$projprocessed" >&6
    2389124809
    2389224810
     
    2389724815
    2389824816
    23899 
    23900     coin_has_asl=yes
    23901     echo "$as_me:$LINENO: result: ../ThirdParty/ASL" >&5
    23902 echo "${ECHO_T}../ThirdParty/ASL" >&6
    23903   else
    23904     echo "$as_me:$LINENO: result: $coin_has_asl" >&5
    23905 echo "${ECHO_T}$coin_has_asl" >&6
    23906   fi
    23907 else
    23908   echo "$as_me:$LINENO: result: skipping" >&5
    23909 echo "${ECHO_T}skipping" >&6
    23910 fi
    23911 
    23912 #if user did not disable setting of makefile conditional, do it
     24817    if test 1 = 0 ; then  #change this test to enable a bit of debugging output
     24818    if test -n "$ASL_CFLAGS" ; then
     24819      { echo "$as_me:$LINENO: ASL CFLAGS are $ASL_CFLAGS" >&5
     24820echo "$as_me: ASL CFLAGS are $ASL_CFLAGS" >&6;}
     24821    fi
     24822    if test -n "$ASL_LIBS" ; then
     24823      { echo "$as_me:$LINENO: ASL LIBS   are $ASL_LIBS" >&5
     24824echo "$as_me: ASL LIBS   are $ASL_LIBS" >&6;}
     24825    fi
     24826    if test -n "$ASL_DATA" ; then
     24827      { echo "$as_me:$LINENO: ASL DATA   is  $ASL_DATA" >&5
     24828echo "$as_me: ASL DATA   is  $ASL_DATA" >&6;}
     24829    fi
     24830    fi
     24831  fi
     24832done
     24833
    2391324834
    2391424835
     
    2392224843fi
    2392324844
    23924 
    23925 fi
    2392624845
    2392724846
     
    2473525654   { (exit 1); exit 1; }; }
    2473625655fi
     25656if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then
     25657  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     25658Usually this means the macro was only invoked conditionally." >&5
     25659echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     25660Usually this means the macro was only invoked conditionally." >&2;}
     25661   { (exit 1); exit 1; }; }
     25662fi
     25663if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then
     25664  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     25665Usually this means the macro was only invoked conditionally." >&5
     25666echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     25667Usually this means the macro was only invoked conditionally." >&2;}
     25668   { (exit 1); exit 1; }; }
     25669fi
     25670if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then
     25671  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     25672Usually this means the macro was only invoked conditionally." >&5
     25673echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     25674Usually this means the macro was only invoked conditionally." >&2;}
     25675   { (exit 1); exit 1; }; }
     25676fi
     25677if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then
     25678  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     25679Usually this means the macro was only invoked conditionally." >&5
     25680echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
     25681Usually this means the macro was only invoked conditionally." >&2;}
     25682   { (exit 1); exit 1; }; }
     25683fi
     25684if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then
     25685  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     25686Usually this means the macro was only invoked conditionally." >&5
     25687echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     25688Usually this means the macro was only invoked conditionally." >&2;}
     25689   { (exit 1); exit 1; }; }
     25690fi
     25691if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then
     25692  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     25693Usually this means the macro was only invoked conditionally." >&5
     25694echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined.
     25695Usually this means the macro was only invoked conditionally." >&2;}
     25696   { (exit 1); exit 1; }; }
     25697fi
     25698if test -z "${COIN_HAS_MIPLIB3_TRUE}" && test -z "${COIN_HAS_MIPLIB3_FALSE}"; then
     25699  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     25700Usually this means the macro was only invoked conditionally." >&5
     25701echo "$as_me: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     25702Usually this means the macro was only invoked conditionally." >&2;}
     25703   { (exit 1); exit 1; }; }
     25704fi
     25705if test -z "${COIN_HAS_MIPLIB3_TRUE}" && test -z "${COIN_HAS_MIPLIB3_FALSE}"; then
     25706  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     25707Usually this means the macro was only invoked conditionally." >&5
     25708echo "$as_me: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     25709Usually this means the macro was only invoked conditionally." >&2;}
     25710   { (exit 1); exit 1; }; }
     25711fi
    2473725712if test -z "${COIN_HAS_DYLP_TRUE}" && test -z "${COIN_HAS_DYLP_FALSE}"; then
    2473825713  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_DYLP\" was never defined.
     
    2474225717   { (exit 1); exit 1; }; }
    2474325718fi
     25719if test -z "${COIN_HAS_DYLP_TRUE}" && test -z "${COIN_HAS_DYLP_FALSE}"; then
     25720  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_DYLP\" was never defined.
     25721Usually this means the macro was only invoked conditionally." >&5
     25722echo "$as_me: error: conditional \"COIN_HAS_DYLP\" was never defined.
     25723Usually this means the macro was only invoked conditionally." >&2;}
     25724   { (exit 1); exit 1; }; }
     25725fi
    2474425726if test -z "${COIN_HAS_VOL_TRUE}" && test -z "${COIN_HAS_VOL_FALSE}"; then
    2474525727  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_VOL\" was never defined.
     
    2474925731   { (exit 1); exit 1; }; }
    2475025732fi
    24751 if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then
    24752   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
     25733if test -z "${COIN_HAS_VOL_TRUE}" && test -z "${COIN_HAS_VOL_FALSE}"; then
     25734  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_VOL\" was never defined.
    2475325735Usually this means the macro was only invoked conditionally." >&5
    24754 echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
    24755 Usually this means the macro was only invoked conditionally." >&2;}
    24756    { (exit 1); exit 1; }; }
    24757 fi
    24758 if test -z "${COIN_HAS_OSITESTS_TRUE}" && test -z "${COIN_HAS_OSITESTS_FALSE}"; then
    24759   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
    24760 Usually this means the macro was only invoked conditionally." >&5
    24761 echo "$as_me: error: conditional \"COIN_HAS_OSITESTS\" was never defined.
    24762 Usually this means the macro was only invoked conditionally." >&2;}
    24763    { (exit 1); exit 1; }; }
    24764 fi
    24765 if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then
    24766   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
    24767 Usually this means the macro was only invoked conditionally." >&5
    24768 echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
    24769 Usually this means the macro was only invoked conditionally." >&2;}
    24770    { (exit 1); exit 1; }; }
    24771 fi
    24772 if test -z "${COIN_HAS_SAMPLE_TRUE}" && test -z "${COIN_HAS_SAMPLE_FALSE}"; then
    24773   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
    24774 Usually this means the macro was only invoked conditionally." >&5
    24775 echo "$as_me: error: conditional \"COIN_HAS_SAMPLE\" was never defined.
    24776 Usually this means the macro was only invoked conditionally." >&2;}
    24777    { (exit 1); exit 1; }; }
    24778 fi
    24779 if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then
    24780   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined.
    24781 Usually this means the macro was only invoked conditionally." >&5
    24782 echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined.
    24783 Usually this means the macro was only invoked conditionally." >&2;}
    24784    { (exit 1); exit 1; }; }
    24785 fi
    24786 if test -z "${COIN_HAS_NETLIB_TRUE}" && test -z "${COIN_HAS_NETLIB_FALSE}"; then
    24787   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_NETLIB\" was never defined.
    24788 Usually this means the macro was only invoked conditionally." >&5
    24789 echo "$as_me: error: conditional \"COIN_HAS_NETLIB\" was never defined.
    24790 Usually this means the macro was only invoked conditionally." >&2;}
    24791    { (exit 1); exit 1; }; }
    24792 fi
    24793 if test -z "${COIN_HAS_MIPLIB3_TRUE}" && test -z "${COIN_HAS_MIPLIB3_FALSE}"; then
    24794   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
    24795 Usually this means the macro was only invoked conditionally." >&5
    24796 echo "$as_me: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
    24797 Usually this means the macro was only invoked conditionally." >&2;}
    24798    { (exit 1); exit 1; }; }
    24799 fi
    24800 if test -z "${COIN_HAS_MIPLIB3_TRUE}" && test -z "${COIN_HAS_MIPLIB3_FALSE}"; then
    24801   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
    24802 Usually this means the macro was only invoked conditionally." >&5
    24803 echo "$as_me: error: conditional \"COIN_HAS_MIPLIB3\" was never defined.
     25736echo "$as_me: error: conditional \"COIN_HAS_VOL\" was never defined.
    2480425737Usually this means the macro was only invoked conditionally." >&2;}
    2480525738   { (exit 1); exit 1; }; }
     
    2481225745   { (exit 1); exit 1; }; }
    2481325746fi
     25747if test -z "${COIN_HAS_CPX_TRUE}" && test -z "${COIN_HAS_CPX_FALSE}"; then
     25748  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_CPX\" was never defined.
     25749Usually this means the macro was only invoked conditionally." >&5
     25750echo "$as_me: error: conditional \"COIN_HAS_CPX\" was never defined.
     25751Usually this means the macro was only invoked conditionally." >&2;}
     25752   { (exit 1); exit 1; }; }
     25753fi
    2481425754if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
    2481525755  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
     
    2481925759   { (exit 1); exit 1; }; }
    2482025760fi
     25761if test -z "${COIN_HAS_GLPK_TRUE}" && test -z "${COIN_HAS_GLPK_FALSE}"; then
     25762  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GLPK\" was never defined.
     25763Usually this means the macro was only invoked conditionally." >&5
     25764echo "$as_me: error: conditional \"COIN_HAS_GLPK\" was never defined.
     25765Usually this means the macro was only invoked conditionally." >&2;}
     25766   { (exit 1); exit 1; }; }
     25767fi
    2482125768if test -z "${COIN_HAS_GRB_TRUE}" && test -z "${COIN_HAS_GRB_FALSE}"; then
    2482225769  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GRB\" was never defined.
     
    2482625773   { (exit 1); exit 1; }; }
    2482725774fi
     25775if test -z "${COIN_HAS_GRB_TRUE}" && test -z "${COIN_HAS_GRB_FALSE}"; then
     25776  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_GRB\" was never defined.
     25777Usually this means the macro was only invoked conditionally." >&5
     25778echo "$as_me: error: conditional \"COIN_HAS_GRB\" was never defined.
     25779Usually this means the macro was only invoked conditionally." >&2;}
     25780   { (exit 1); exit 1; }; }
     25781fi
    2482825782if test -z "${COIN_HAS_MSK_TRUE}" && test -z "${COIN_HAS_MSK_FALSE}"; then
    2482925783  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MSK\" was never defined.
     
    2483325787   { (exit 1); exit 1; }; }
    2483425788fi
     25789if test -z "${COIN_HAS_MSK_TRUE}" && test -z "${COIN_HAS_MSK_FALSE}"; then
     25790  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_MSK\" was never defined.
     25791Usually this means the macro was only invoked conditionally." >&5
     25792echo "$as_me: error: conditional \"COIN_HAS_MSK\" was never defined.
     25793Usually this means the macro was only invoked conditionally." >&2;}
     25794   { (exit 1); exit 1; }; }
     25795fi
    2483525796if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then
    2483625797  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.
    2483725798Usually this means the macro was only invoked conditionally." >&5
    2483825799echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.
     25800Usually this means the macro was only invoked conditionally." >&2;}
     25801   { (exit 1); exit 1; }; }
     25802fi
     25803if test -z "${COIN_HAS_SPX_TRUE}" && test -z "${COIN_HAS_SPX_FALSE}"; then
     25804  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_SPX\" was never defined.
     25805Usually this means the macro was only invoked conditionally." >&5
     25806echo "$as_me: error: conditional \"COIN_HAS_SPX\" was never defined.
     25807Usually this means the macro was only invoked conditionally." >&2;}
     25808   { (exit 1); exit 1; }; }
     25809fi
     25810if test -z "${COIN_HAS_XPR_TRUE}" && test -z "${COIN_HAS_XPR_FALSE}"; then
     25811  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_XPR\" was never defined.
     25812Usually this means the macro was only invoked conditionally." >&5
     25813echo "$as_me: error: conditional \"COIN_HAS_XPR\" was never defined.
    2483925814Usually this means the macro was only invoked conditionally." >&2;}
    2484025815   { (exit 1); exit 1; }; }
     
    2559726572s,@COIN_HAS_CLP_TRUE@,$COIN_HAS_CLP_TRUE,;t t
    2559826573s,@COIN_HAS_CLP_FALSE@,$COIN_HAS_CLP_FALSE,;t t
    25599 s,@DYLP_LIBS@,$DYLP_LIBS,;t t
    25600 s,@DYLP_CFLAGS@,$DYLP_CFLAGS,;t t
    25601 s,@DYLP_DATA@,$DYLP_DATA,;t t
    25602 s,@COIN_HAS_DYLP_TRUE@,$COIN_HAS_DYLP_TRUE,;t t
    25603 s,@COIN_HAS_DYLP_FALSE@,$COIN_HAS_DYLP_FALSE,;t t
    25604 s,@VOL_LIBS@,$VOL_LIBS,;t t
    25605 s,@VOL_CFLAGS@,$VOL_CFLAGS,;t t
    25606 s,@VOL_DATA@,$VOL_DATA,;t t
    25607 s,@COIN_HAS_VOL_TRUE@,$COIN_HAS_VOL_TRUE,;t t
    25608 s,@COIN_HAS_VOL_FALSE@,$COIN_HAS_VOL_FALSE,;t t
    2560926574s,@OSITESTS_LIBS@,$OSITESTS_LIBS,;t t
    2561026575s,@OSITESTS_CFLAGS@,$OSITESTS_CFLAGS,;t t
     
    2562726592s,@COIN_HAS_MIPLIB3_TRUE@,$COIN_HAS_MIPLIB3_TRUE,;t t
    2562826593s,@COIN_HAS_MIPLIB3_FALSE@,$COIN_HAS_MIPLIB3_FALSE,;t t
     26594s,@DYLP_LIBS@,$DYLP_LIBS,;t t
     26595s,@DYLP_CFLAGS@,$DYLP_CFLAGS,;t t
     26596s,@DYLP_DATA@,$DYLP_DATA,;t t
     26597s,@COIN_HAS_DYLP_TRUE@,$COIN_HAS_DYLP_TRUE,;t t
     26598s,@COIN_HAS_DYLP_FALSE@,$COIN_HAS_DYLP_FALSE,;t t
     26599s,@VOL_LIBS@,$VOL_LIBS,;t t
     26600s,@VOL_CFLAGS@,$VOL_CFLAGS,;t t
     26601s,@VOL_DATA@,$VOL_DATA,;t t
     26602s,@COIN_HAS_VOL_TRUE@,$COIN_HAS_VOL_TRUE,;t t
     26603s,@COIN_HAS_VOL_FALSE@,$COIN_HAS_VOL_FALSE,;t t
    2562926604s,@CPX_LIBS@,$CPX_LIBS,;t t
    2563026605s,@CPX_CFLAGS@,$CPX_CFLAGS,;t t
Note: See TracChangeset for help on using the changeset viewer.