Changeset 1925


Ignore:
Timestamp:
Dec 19, 2010 11:40:37 AM (9 years ago)
Author:
stefan
Message:

sync with trunk rev1924

Location:
ThirdParty/Mumps/stable/1.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/stable/1.3

  • ThirdParty/Mumps/stable/1.3/Makefile.in

    r1747 r1925  
    150150AWK = @AWK@
    151151BLAS_CFLAGS = @BLAS_CFLAGS@
     152BLAS_CFLAGS_INSTALLED = @BLAS_CFLAGS_INSTALLED@
    152153BLAS_DATA = @BLAS_DATA@
     154BLAS_DATA_INSTALLED = @BLAS_DATA_INSTALLED@
     155BLAS_DEPENDENCIES = @BLAS_DEPENDENCIES@
    153156BLAS_LIBS = @BLAS_LIBS@
     157BLAS_LIBS_INSTALLED = @BLAS_LIBS_INSTALLED@
    154158BUILDTOOLSDIR = @BUILDTOOLSDIR@
    155159CC = @CC@
     
    157161CDEFS = @CDEFS@
    158162CFLAGS = @CFLAGS@ $(MY_DEFS)
     163COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
     164COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
    159165COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    160166COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
     
    208214MAKEINFO = @MAKEINFO@
    209215METIS_CFLAGS = @METIS_CFLAGS@
     216METIS_CFLAGS_INSTALLED = @METIS_CFLAGS_INSTALLED@
    210217METIS_DATA = @METIS_DATA@
     218METIS_DATA_INSTALLED = @METIS_DATA_INSTALLED@
     219METIS_DEPENDENCIES = @METIS_DEPENDENCIES@
    211220METIS_LIBS = @METIS_LIBS@
     221METIS_LIBS_INSTALLED = @METIS_LIBS_INSTALLED@
    212222MPICC = @MPICC@
    213223MPIF77 = @MPIF77@
     
    216226MUMPSSRCDIR = @MUMPSSRCDIR@
    217227MUMPS_CFLAGS = @MUMPS_CFLAGS@
     228MUMPS_CFLAGS_INSTALLED = @MUMPS_CFLAGS_INSTALLED@
     229MUMPS_DEPENDENCIES = @MUMPS_DEPENDENCIES@
    218230MUMPS_LIBS = @MUMPS_LIBS@
     231MUMPS_LIBS_INSTALLED = @MUMPS_LIBS_INSTALLED@
    219232MUMPS_PCLIBS = @MUMPS_PCLIBS@
    220233MUMPS_PCREQUIRES = @MUMPS_PCREQUIRES@
  • ThirdParty/Mumps/stable/1.3/coinmumps-uninstalled.pc.in

    r1684 r1925  
    55Description: Multifrontal Massively Parallel sparse direct Solver
    66Version: 4.9
    7 Libs: -L${libdir} -lcoinmumps @MUMPS_PCLIBS@
     7Libs: ${libdir}/libcoinmumps.la @MUMPS_PCLIBS@
    88Cflags: -I@abs_source_dir@/MUMPS/libseq -I@abs_source_dir@/MUMPS/include
    99Requires: @MUMPS_PCREQUIRES@
  • ThirdParty/Mumps/stable/1.3/configure

    r1858 r1925  
    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 ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion MUMPS_SVN_REV build build_cpu build_vendor build_os CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED BLAS_LIBS BLAS_CFLAGS BLAS_DATA MUMPS_CFLAGS MUMPS_LIBS MUMPS_PCLIBS MUMPS_PCREQUIRES COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSDIR MUMPSOBJDIR MUMPSSRCDIR MY_FDEFS 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 ADDLIBS PCADDLIBS FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE have_svnversion MUMPS_SVN_REV build build_cpu build_vendor build_os COIN_CC_IS_CL_TRUE COIN_CC_IS_CL_FALSE CDEFS ADD_CFLAGS DBG_CFLAGS OPT_CFLAGS sol_cc_compiler CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT MPICC ADD_FFLAGS DBG_FFLAGS OPT_FFLAGS F77 FFLAGS ac_ct_F77 MPIF77 FLIBS CPP EGREP MY_DEFS 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 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 CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP LIBTOOL ac_c_preproc_warn_flag ac_cxx_preproc_warn_flag RPATH_FLAGS LT_LDFLAGS PKG_CONFIG ac_pt_PKG_CONFIG COIN_HAS_PKGCONFIG_TRUE COIN_HAS_PKGCONFIG_FALSE COIN_PKG_CONFIG_PATH COIN_PKG_CONFIG_PATH_UNINSTALLED BLAS_LIBS BLAS_CFLAGS BLAS_DATA BLAS_DEPENDENCIES BLAS_LIBS_INSTALLED BLAS_CFLAGS_INSTALLED BLAS_DATA_INSTALLED MUMPS_CFLAGS MUMPS_LIBS MUMPS_PCLIBS MUMPS_PCREQUIRES MUMPS_DEPENDENCIES MUMPS_CFLAGS_INSTALLED MUMPS_LIBS_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA METIS_DEPENDENCIES METIS_LIBS_INSTALLED METIS_CFLAGS_INSTALLED METIS_DATA_INSTALLED COIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSDIR MUMPSOBJDIR MUMPSSRCDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'
    476476ac_subst_files=''
    477477
     
    19471947fi
    19481948
     1949# add automake conditional so we can recognize cl compiler in makefile
     1950coin_cc_is_cl=false
     1951if test x"$CXX" != x; then
     1952  case "$CXX" in
     1953    cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
     1954      coin_cc_is_cl=true
     1955      ;;
     1956  esac
     1957fi
     1958
     1959
     1960if test $coin_cc_is_cl = true; then
     1961  COIN_CC_IS_CL_TRUE=
     1962  COIN_CC_IS_CL_FALSE='#'
     1963else
     1964  COIN_CC_IS_CL_TRUE='#'
     1965  COIN_CC_IS_CL_FALSE=
     1966fi
     1967
     1968
    19491969
    19501970
     
    33773397
    33783398# Provide some information about the compiler.
    3379 echo "$as_me:3379:" \
     3399echo "$as_me:3399:" \
    33803400     "checking for Fortran 77 compiler version" >&5
    33813401ac_compiler=`set X $ac_compile; echo $2`
     
    39453965ac_save_FFLAGS=$FFLAGS
    39463966FFLAGS="$FFLAGS $ac_verb"
    3947 (eval echo $as_me:3947: \"$ac_link\") >&5
     3967(eval echo $as_me:3967: \"$ac_link\") >&5
    39483968ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    39493969echo "$ac_f77_v_output" >&5
     
    40234043ac_save_FFLAGS=$FFLAGS
    40244044FFLAGS="$FFLAGS $ac_cv_prog_f77_v"
    4025 (eval echo $as_me:4025: \"$ac_link\") >&5
     4045(eval echo $as_me:4045: \"$ac_link\") >&5
    40264046ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
    40274047echo "$ac_f77_v_output" >&5
     
    70827102*-*-irix6*)
    70837103  # Find out which ABI we are using.
    7084   echo '#line 7084 "configure"' > conftest.$ac_ext
     7104  echo '#line 7104 "configure"' > conftest.$ac_ext
    70857105  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    70867106  (eval $ac_compile) 2>&5
     
    90789098   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    90799099   -e 's:$: $lt_compiler_flag:'`
    9080    (eval echo "\"\$as_me:9080: $lt_compile\"" >&5)
     9100   (eval echo "\"\$as_me:9100: $lt_compile\"" >&5)
    90819101   (eval "$lt_compile" 2>conftest.err)
    90829102   ac_status=$?
    90839103   cat conftest.err >&5
    9084    echo "$as_me:9084: \$? = $ac_status" >&5
     9104   echo "$as_me:9104: \$? = $ac_status" >&5
    90859105   if (exit $ac_status) && test -s "$ac_outfile"; then
    90869106     # The compiler can only warn and ignore the option if not recognized
     
    93469366   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93479367   -e 's:$: $lt_compiler_flag:'`
    9348    (eval echo "\"\$as_me:9348: $lt_compile\"" >&5)
     9368   (eval echo "\"\$as_me:9368: $lt_compile\"" >&5)
    93499369   (eval "$lt_compile" 2>conftest.err)
    93509370   ac_status=$?
    93519371   cat conftest.err >&5
    9352    echo "$as_me:9352: \$? = $ac_status" >&5
     9372   echo "$as_me:9372: \$? = $ac_status" >&5
    93539373   if (exit $ac_status) && test -s "$ac_outfile"; then
    93549374     # The compiler can only warn and ignore the option if not recognized
     
    94509470   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    94519471   -e 's:$: $lt_compiler_flag:'`
    9452    (eval echo "\"\$as_me:9452: $lt_compile\"" >&5)
     9472   (eval echo "\"\$as_me:9472: $lt_compile\"" >&5)
    94539473   (eval "$lt_compile" 2>out/conftest.err)
    94549474   ac_status=$?
    94559475   cat out/conftest.err >&5
    9456    echo "$as_me:9456: \$? = $ac_status" >&5
     9476   echo "$as_me:9476: \$? = $ac_status" >&5
    94579477   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    94589478   then
     
    1186711887  lt_status=$lt_dlunknown
    1186811888  cat > conftest.$ac_ext <<EOF
    11869 #line 11869 "configure"
     11889#line 11889 "configure"
    1187011890#include "confdefs.h"
    1187111891
     
    1196711987  lt_status=$lt_dlunknown
    1196811988  cat > conftest.$ac_ext <<EOF
    11969 #line 11969 "configure"
     11989#line 11989 "configure"
    1197011990#include "confdefs.h"
    1197111991
     
    1432714347   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1432814348   -e 's:$: $lt_compiler_flag:'`
    14329    (eval echo "\"\$as_me:14329: $lt_compile\"" >&5)
     14349   (eval echo "\"\$as_me:14349: $lt_compile\"" >&5)
    1433014350   (eval "$lt_compile" 2>conftest.err)
    1433114351   ac_status=$?
    1433214352   cat conftest.err >&5
    14333    echo "$as_me:14333: \$? = $ac_status" >&5
     14353   echo "$as_me:14353: \$? = $ac_status" >&5
    1433414354   if (exit $ac_status) && test -s "$ac_outfile"; then
    1433514355     # The compiler can only warn and ignore the option if not recognized
     
    1443114451   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1443214452   -e 's:$: $lt_compiler_flag:'`
    14433    (eval echo "\"\$as_me:14433: $lt_compile\"" >&5)
     14453   (eval echo "\"\$as_me:14453: $lt_compile\"" >&5)
    1443414454   (eval "$lt_compile" 2>out/conftest.err)
    1443514455   ac_status=$?
    1443614456   cat out/conftest.err >&5
    14437    echo "$as_me:14437: \$? = $ac_status" >&5
     14457   echo "$as_me:14457: \$? = $ac_status" >&5
    1443814458   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1443914459   then
     
    1600116021   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1600216022   -e 's:$: $lt_compiler_flag:'`
    16003    (eval echo "\"\$as_me:16003: $lt_compile\"" >&5)
     16023   (eval echo "\"\$as_me:16023: $lt_compile\"" >&5)
    1600416024   (eval "$lt_compile" 2>conftest.err)
    1600516025   ac_status=$?
    1600616026   cat conftest.err >&5
    16007    echo "$as_me:16007: \$? = $ac_status" >&5
     16027   echo "$as_me:16027: \$? = $ac_status" >&5
    1600816028   if (exit $ac_status) && test -s "$ac_outfile"; then
    1600916029     # The compiler can only warn and ignore the option if not recognized
     
    1610516125   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1610616126   -e 's:$: $lt_compiler_flag:'`
    16107    (eval echo "\"\$as_me:16107: $lt_compile\"" >&5)
     16127   (eval echo "\"\$as_me:16127: $lt_compile\"" >&5)
    1610816128   (eval "$lt_compile" 2>out/conftest.err)
    1610916129   ac_status=$?
    1611016130   cat out/conftest.err >&5
    16111    echo "$as_me:16111: \$? = $ac_status" >&5
     16131   echo "$as_me:16131: \$? = $ac_status" >&5
    1611216132   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1611316133   then
     
    1831218332   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1831318333   -e 's:$: $lt_compiler_flag:'`
    18314    (eval echo "\"\$as_me:18314: $lt_compile\"" >&5)
     18334   (eval echo "\"\$as_me:18334: $lt_compile\"" >&5)
    1831518335   (eval "$lt_compile" 2>conftest.err)
    1831618336   ac_status=$?
    1831718337   cat conftest.err >&5
    18318    echo "$as_me:18318: \$? = $ac_status" >&5
     18338   echo "$as_me:18338: \$? = $ac_status" >&5
    1831918339   if (exit $ac_status) && test -s "$ac_outfile"; then
    1832018340     # The compiler can only warn and ignore the option if not recognized
     
    1858018600   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1858118601   -e 's:$: $lt_compiler_flag:'`
    18582    (eval echo "\"\$as_me:18582: $lt_compile\"" >&5)
     18602   (eval echo "\"\$as_me:18602: $lt_compile\"" >&5)
    1858318603   (eval "$lt_compile" 2>conftest.err)
    1858418604   ac_status=$?
    1858518605   cat conftest.err >&5
    18586    echo "$as_me:18586: \$? = $ac_status" >&5
     18606   echo "$as_me:18606: \$? = $ac_status" >&5
    1858718607   if (exit $ac_status) && test -s "$ac_outfile"; then
    1858818608     # The compiler can only warn and ignore the option if not recognized
     
    1868418704   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1868518705   -e 's:$: $lt_compiler_flag:'`
    18686    (eval echo "\"\$as_me:18686: $lt_compile\"" >&5)
     18706   (eval echo "\"\$as_me:18706: $lt_compile\"" >&5)
    1868718707   (eval "$lt_compile" 2>out/conftest.err)
    1868818708   ac_status=$?
    1868918709   cat out/conftest.err >&5
    18690    echo "$as_me:18690: \$? = $ac_status" >&5
     18710   echo "$as_me:18710: \$? = $ac_status" >&5
    1869118711   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1869218712   then
     
    2384323863
    2384423864
     23865
     23866
     23867
     23868
     23869
     23870
     23871
    2384523872#check if user provided LIBS, CFLAGS, or DATA for module
    2384623873if test $coin_has_blas != skipping; then
     
    2390023927    if test "$CYGPATH_W" != "echo" ; then
    2390123928      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    23902           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    23903         fi
     23929      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     23930    fi
    2390423931    BLAS_CFLAGS="$cflags"
    2390523932    BLAS_LIBS=`$PKG_CONFIG --libs "coinblas" 2>/dev/null`
     
    2390823935        echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5
    2390923936echo "${ECHO_T}yes: $BLAS_VERSIONS" >&6
    23910         MUMPS_PCREQUIRES="coinblas $MUMPS_PCREQUIRES"
     23937
     23938        # adjust linker flags for (i)cl compiler
     23939        # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl)
     23940        if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     23941        then
     23942          BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     23943        fi
     23944
     23945        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in MUMPS
     23946
     23947          MUMPS_PCREQUIRES="coinblas $MUMPS_PCREQUIRES"
     23948          MUMPS_CFLAGS="$BLAS_CFLAGS $MUMPS_CFLAGS"
     23949          MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS"
    2391123950
    2391223951
     
    2393223971    export PKG_CONFIG_PATH
    2393323972
    23934     # augment X_CFLAGS and X_LIBS for each build target X in MUMPS
    23935 
    23936       MUMPS_CFLAGS="$BLAS_CFLAGS $MUMPS_CFLAGS"
    23937       MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS"
    23938 
    2393923973  else
    2394023974    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     
    2394623980coin_has_blas=notGiven
    2394723981BLAS_LIBS=
     23982BLAS_LIBS_INSTALLED=
    2394823983BLAS_CFLAGS=
     23984BLAS_CFLAGS_INSTALLED=
    2394923985BLAS_DATA=
     23986BLAS_DATA_INSTALLED=
    2395023987
    2395123988# initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2395423991# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2395523992# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     23993# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2395623994# also, we setup the DATA variable
    2395723995allproj=""
    2395823996allpcfiles=""
     23997allpcifiles=""
    2395923998while test "x$projtoprocess" != x ; do
    2396023999
     
    2396624005    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2396724006      # 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
    23968       if test -r "$dir/$proj-uninstalled.pc" ; then
     24007      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2396924008        pcfile="$dir/$proj-uninstalled.pc"
     24009        if test -r "$dir/${proj}.pc" ; then
     24010          pcifile="$dir/${proj}.pc"
     24011        else
     24012          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     24013echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     24014          pcifile=
     24015        fi
    2397024016        break
    2397124017      fi
     
    2398124027      projtoprocess=${projtoprocess/$proj/$projrequires}
    2398224028
    23983       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    23984       if test "x$allproj" = x ; then
    23985         BLAS_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     24029      # read DATA from $pcfile, if _DATA is still empty
     24030      if test "x$BLAS_DATA" = x ; then
     24031        projdatadir=
     24032        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     24033        eval `sh -c "$pcfilemod"`
     24034        BLAS_DATA="$projdatadir"
    2398624035      fi
    2398724036
     
    2399424043      allproj=fail
    2399524044      break 2
     24045    fi
     24046
     24047    if test "x$pcifile" != x ; then
     24048      allpcifiles="$pcifile:$allpcifiles"
     24049
     24050      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     24051      if test "x$BLAS_DATA_INSTALLED" = x ; then
     24052        projdatadir=
     24053        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     24054        eval `sh -c "$pcifilemod"`
     24055        if test "${CYGPATH_W}" != "echo"; then
     24056          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     24057        fi
     24058        BLAS_DATA_INSTALLED="$projdatadir"
     24059      fi
     24060
    2399624061    fi
    2399724062
     
    2402424089    fi
    2402524090
    24026     # reconstruct the directory where the .pc file is located
    24027     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    24028 
    24029     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    24030     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
    24031     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24091    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24092    #   replace "Libs:" by "echo projlibs="
     24093    #   replace "Cflags:" by "echo projcflags="
     24094    #   remove every line starting with <some word>:
     24095    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24096
     24097    # set projcflags and projlibs variables by running $pcfilemod
     24098    projcflags=
     24099    projlibs=
     24100    eval `sh -c "$pcfilemod"`
     24101
     24102    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24103    if test "${CYGPATH_W}" != "echo"; then
     24104      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24105    fi
    2403224106    BLAS_CFLAGS="$projcflags $BLAS_CFLAGS"
    2403324107
    24034     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    24035     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    24036     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    24037     if test "x$projlibs" != x ; then
    24038       if test -d "${pcfiledir}/src" ; then
    24039         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    24040       else
    24041         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    24042       fi
    24043     else
    24044       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    24045     fi
     24108    # set LIBS variable
    2404624109    BLAS_LIBS="$projlibs $BLAS_LIBS"
    2404724110
     
    2405124114  done
    2405224115  IFS="$save_IFS"
     24116
     24117
     24118  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     24119  # important is here again to obey the reverse order that has been setup before,
     24120  # since then libraries that are required by several others should be after these other libraries
     24121  pcfilesprocessed=""
     24122
     24123  save_IFS="$IFS"
     24124  IFS=":"
     24125  for pcfile in $allpcifiles ; do
     24126
     24127    # if $pcfile has been processed already, skip this round
     24128    if test "x$pcfilesprocessed" != x ; then
     24129      for pcfiledone in $pcfilesprocessed ; do
     24130        if test "$pcfiledone" = "$pcfile" ; then
     24131          continue 2
     24132        fi
     24133      done
     24134    fi
     24135
     24136    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24137    #   replace "Libs:" by "echo projlibs="
     24138    #   replace "Cflags:" by "echo projcflags="
     24139    #   remove every line starting with <some word>:
     24140    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24141
     24142    # set projcflags and projlibs variables by running $pcfilemod
     24143    projcflags=
     24144    projlibs=
     24145    eval `sh -c "$pcfilemod"`
     24146
     24147    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24148    if test "${CYGPATH_W}" != "echo"; then
     24149      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24150    fi
     24151    BLAS_CFLAGS_INSTALLED="$projcflags $BLAS_CFLAGS_INSTALLED"
     24152
     24153    # set LIBS variable
     24154    BLAS_LIBS_INSTALLED="$projlibs $BLAS_LIBS_INSTALLED"
     24155
     24156    # remember that we have processed $pcfile
     24157    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     24158
     24159  done
     24160  IFS="$save_IFS"
     24161
    2405324162
    2405424163  # finish up
     
    2406224171
    2406324172
     24173  # adjust linker flags for (i)cl compiler
     24174  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
     24175  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
     24176  #    everything of the form "-Lpath" by "/libpath:`$(CYGPATH_W) path`, and
     24177  #    everything of the form "-lname" by "libname.lib"
     24178  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     24179  then
     24180    BLAS_LIBS=`echo " $BLAS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     24181    BLAS_LIBS_INSTALLED=`echo " $BLAS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     24182  fi
     24183
    2406424184
    2406524185    MUMPS_PCREQUIRES="coinblas $MUMPS_PCREQUIRES"
    2406624186    MUMPS_CFLAGS="$BLAS_CFLAGS $MUMPS_CFLAGS"
    2406724187    MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS"
     24188    MUMPS_CFLAGS_INSTALLED="$BLAS_CFLAGS_INSTALLED $MUMPS_CFLAGS_INSTALLED"
     24189    MUMPS_LIBS_INSTALLED="$BLAS_LIBS_INSTALLED $MUMPS_LIBS_INSTALLED"
     24190
     24191
     24192fi
     24193
     24194
     24195
     24196if test $coin_has_blas != notGiven &&
     24197                test $coin_has_blas != skipping; then
     24198  COIN_HAS_BLAS_TRUE=
     24199  COIN_HAS_BLAS_FALSE='#'
     24200else
     24201  COIN_HAS_BLAS_TRUE='#'
     24202  COIN_HAS_BLAS_FALSE=
     24203fi
     24204
     24205
     24206
     24207  fi
     24208
     24209else
     24210  echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     24211echo "${ECHO_T}$coin_has_blas" >&6
     24212fi
     24213
     24214if test $coin_has_blas != skipping &&
     24215   test $coin_has_blas != notGiven ; then
     24216
     24217cat >>confdefs.h <<\_ACEOF
     24218#define COIN_HAS_BLAS 1
     24219_ACEOF
     24220
     24221
     24222  # construct dependencies variables from LIBS variables
     24223  # we add an extra space in LIBS so we can substitute out everything starting with " -"
     24224  # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl)
     24225  BLAS_DEPENDENCIES=`echo " $BLAS_LIBS" | sed -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     24226
     24227    MUMPS_DEPENDENCIES=`echo " $MUMPS_LIBS " | sed -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    2406824228
    2406924229
     
    2407724237echo "$as_me: Blas LIBS   are $BLAS_LIBS" >&6;}
    2407824238    fi
    24079     if test -n "$BLAS_DATA" ; then
    24080       { echo "$as_me:$LINENO: Blas DATA   is  $BLAS_DATA" >&5
    24081 echo "$as_me: Blas DATA   is  $BLAS_DATA" >&6;}
    24082     fi
    24083 
    24084       { echo "$as_me:$LINENO: MUMPS CFLAGS are $MUMPS_CFLAGS" >&5
    24085 echo "$as_me: MUMPS CFLAGS are $MUMPS_CFLAGS" >&6;}
    24086       { echo "$as_me:$LINENO: MUMPS LIBS   are $MUMPS_LIBS" >&5
    24087 echo "$as_me: MUMPS LIBS   are $MUMPS_LIBS" >&6;}
    24088 
    24089   fi
    24090 
    24091 fi
    24092 
    24093 
    24094 
    24095 if test $coin_has_blas != notGiven &&
    24096                 test $coin_has_blas != skipping; then
    24097   COIN_HAS_BLAS_TRUE=
    24098   COIN_HAS_BLAS_FALSE='#'
    24099 else
    24100   COIN_HAS_BLAS_TRUE='#'
    24101   COIN_HAS_BLAS_FALSE=
    24102 fi
    24103 
    24104 
    24105 
    24106   fi
    24107 
    24108 else
    24109   echo "$as_me:$LINENO: result: $coin_has_blas" >&5
    24110 echo "${ECHO_T}$coin_has_blas" >&6
    24111 fi
    24112 
    24113 if test $coin_has_blas != skipping &&
    24114    test $coin_has_blas != notGiven ; then
    24115 
    24116 cat >>confdefs.h <<\_ACEOF
    24117 #define COIN_HAS_BLAS 1
    24118 _ACEOF
    24119 
    24120 
    24121   if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    24122     if test -n "$BLAS_CFLAGS" ; then
    24123       { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5
    24124 echo "$as_me: Blas CFLAGS are $BLAS_CFLAGS" >&6;}
    24125     fi
    24126     if test -n "$BLAS_LIBS" ; then
    24127       { echo "$as_me:$LINENO: Blas LIBS   are $BLAS_LIBS" >&5
    24128 echo "$as_me: Blas LIBS   are $BLAS_LIBS" >&6;}
     24239    if test -n "$BLAS_DEPENDENCIES" ; then
     24240      { echo "$as_me:$LINENO: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&5
     24241echo "$as_me: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&6;}
    2412924242    fi
    2413024243    if test -n "$BLAS_DATA" ; then
     
    2414124254      { echo "$as_me:$LINENO: MUMPS LIBS   are $MUMPS_LIBS" >&5
    2414224255echo "$as_me: MUMPS LIBS   are $MUMPS_LIBS" >&6;}
     24256      { echo "$as_me:$LINENO: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&5
     24257echo "$as_me: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&6;}
    2414324258
    2414424259  fi
     
    2418624301    MUMPS_PCLIBS="$BLAS_LIBS $MUMPS_PCLIBS"
    2418724302    MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS"
     24303    MUMPS_LIBS_INSTALLED="$BLAS_LIBS $MUMPS_LIBS_INSTALLED"
    2418824304
    2418924305
     
    2420124317
    2420224318fi
     24319
    2420324320
    2420424321
     
    2422624343METIS_CFLAGS=
    2422724344METIS_DATA=
     24345
     24346
     24347
     24348
     24349
     24350
     24351
    2422824352
    2422924353
     
    2429324417    if test "$CYGPATH_W" != "echo" ; then
    2429424418      # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    24295           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    24296         fi
     24419      cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24420    fi
    2429724421    METIS_CFLAGS="$cflags"
    2429824422    METIS_LIBS=`$PKG_CONFIG --libs "coinmetis >= 4.0" 2>/dev/null`
     
    2430124425        echo "$as_me:$LINENO: result: yes: $METIS_VERSIONS" >&5
    2430224426echo "${ECHO_T}yes: $METIS_VERSIONS" >&6
    24303         MUMPS_PCREQUIRES="coinmetis >= 4.0 $MUMPS_PCREQUIRES"
     24427
     24428        # adjust linker flags for (i)cl compiler
     24429        # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl)
     24430        if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     24431        then
     24432          METIS_LIBS=`echo " $METIS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     24433        fi
     24434
     24435        # augment X_PCREQUIRES, X_CFLAGS, and X_LIBS for each build target X in MUMPS
     24436
     24437          MUMPS_PCREQUIRES="coinmetis >= 4.0 $MUMPS_PCREQUIRES"
     24438          MUMPS_CFLAGS="$METIS_CFLAGS $MUMPS_CFLAGS"
     24439          MUMPS_LIBS="$METIS_LIBS $MUMPS_LIBS"
    2430424440
    2430524441
     
    2432524461    export PKG_CONFIG_PATH
    2432624462
    24327     # augment X_CFLAGS and X_LIBS for each build target X in MUMPS
    24328 
    24329       MUMPS_CFLAGS="$METIS_CFLAGS $MUMPS_CFLAGS"
    24330       MUMPS_LIBS="$METIS_LIBS $MUMPS_LIBS"
    24331 
    2433224463  else
    2433324464    echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5
     
    2433924470coin_has_metis=notGiven
    2434024471METIS_LIBS=
     24472METIS_LIBS_INSTALLED=
    2434124473METIS_CFLAGS=
     24474METIS_CFLAGS_INSTALLED=
    2434224475METIS_DATA=
     24476METIS_DATA_INSTALLED=
    2434324477
    2434424478# initial list of dependencies is "coinmetis >= 4.0", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2434724481# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2434824482# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     24483# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2434924484# also, we setup the DATA variable
    2435024485allproj=""
    2435124486allpcfiles=""
     24487allpcifiles=""
    2435224488while test "x$projtoprocess" != x ; do
    2435324489
     
    2435924495    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2436024496      # 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
    24361       if test -r "$dir/$proj-uninstalled.pc" ; then
     24497      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2436224498        pcfile="$dir/$proj-uninstalled.pc"
     24499        if test -r "$dir/${proj}.pc" ; then
     24500          pcifile="$dir/${proj}.pc"
     24501        else
     24502          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     24503echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     24504          pcifile=
     24505        fi
    2436324506        break
    2436424507      fi
     
    2437424517      projtoprocess=${projtoprocess/$proj/$projrequires}
    2437524518
    24376       # read DATA from $pcfile, if this is the first .pc file we are processing (so assume that its the main one)
    24377       if test "x$allproj" = x ; then
    24378         METIS_DATA=`sed -n -e 's/datadir=//gp' "$pcfile"`
     24519      # read DATA from $pcfile, if _DATA is still empty
     24520      if test "x$METIS_DATA" = x ; then
     24521        projdatadir=
     24522        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     24523        eval `sh -c "$pcfilemod"`
     24524        METIS_DATA="$projdatadir"
    2437924525      fi
    2438024526
     
    2438724533      allproj=fail
    2438824534      break 2
     24535    fi
     24536
     24537    if test "x$pcifile" != x ; then
     24538      allpcifiles="$pcifile:$allpcifiles"
     24539
     24540      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     24541      if test "x$METIS_DATA_INSTALLED" = x ; then
     24542        projdatadir=
     24543        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     24544        eval `sh -c "$pcifilemod"`
     24545        if test "${CYGPATH_W}" != "echo"; then
     24546          projdatadir="\`\$(CYGPATH_W) ${projdatadir} | sed -e 's/\\\\\\\\/\\\\\\\\\\\\\\\\/g'\`"
     24547        fi
     24548        METIS_DATA_INSTALLED="$projdatadir"
     24549      fi
     24550
    2438924551    fi
    2439024552
     
    2441724579    fi
    2441824580
    24419     # reconstruct the directory where the .pc file is located
    24420     pcfiledir=`echo $pcfile | sed -e 's/\/[^\/]*$//'`
    24421 
    24422     # read CFLAGS from $pcfile and add CYGPATH_W cludge into include flags
    24423     projcflags=`sed -n -e 's/Cflags://p' "$pcfile"`
    24424     projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24581    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24582    #   replace "Libs:" by "echo projlibs="
     24583    #   replace "Cflags:" by "echo projcflags="
     24584    #   remove every line starting with <some word>:
     24585    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24586
     24587    # set projcflags and projlibs variables by running $pcfilemod
     24588    projcflags=
     24589    projlibs=
     24590    eval `sh -c "$pcfilemod"`
     24591
     24592    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24593    if test "${CYGPATH_W}" != "echo"; then
     24594      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24595    fi
    2442524596    METIS_CFLAGS="$projcflags $METIS_CFLAGS"
    2442624597
    24427     # read LIBS from $pcfile and replace -L${libdir} by absolute path to build directory in linker flags
    24428     # we assume that the build directory is $pcfiledir/src if this directory exists, otherwise we assume that it is $pcfiledir
    24429     projlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' "$pcfile"`
    24430     if test "x$projlibs" != x ; then
    24431       if test -d "${pcfiledir}/src" ; then
    24432         projlibs="-L`cd "${pcfiledir}/src"; pwd` $projlibs"
    24433       else
    24434         projlibs="-L`cd "$pcfiledir"; pwd` $projlibs"
    24435       fi
    24436     else
    24437       projlibs=`sed -n -e 's/Libs://p' "$pcfile"`
    24438     fi
     24598    # set LIBS variable
    2443924599    METIS_LIBS="$projlibs $METIS_LIBS"
    2444024600
     
    2444424604  done
    2444524605  IFS="$save_IFS"
     24606
     24607
     24608  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     24609  # important is here again to obey the reverse order that has been setup before,
     24610  # since then libraries that are required by several others should be after these other libraries
     24611  pcfilesprocessed=""
     24612
     24613  save_IFS="$IFS"
     24614  IFS=":"
     24615  for pcfile in $allpcifiles ; do
     24616
     24617    # if $pcfile has been processed already, skip this round
     24618    if test "x$pcfilesprocessed" != x ; then
     24619      for pcfiledone in $pcfilesprocessed ; do
     24620        if test "$pcfiledone" = "$pcfile" ; then
     24621          continue 2
     24622        fi
     24623      done
     24624    fi
     24625
     24626    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24627    #   replace "Libs:" by "echo projlibs="
     24628    #   replace "Cflags:" by "echo projcflags="
     24629    #   remove every line starting with <some word>:
     24630    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24631
     24632    # set projcflags and projlibs variables by running $pcfilemod
     24633    projcflags=
     24634    projlibs=
     24635    eval `sh -c "$pcfilemod"`
     24636
     24637    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24638    if test "${CYGPATH_W}" != "echo"; then
     24639      projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24640    fi
     24641    METIS_CFLAGS_INSTALLED="$projcflags $METIS_CFLAGS_INSTALLED"
     24642
     24643    # set LIBS variable
     24644    METIS_LIBS_INSTALLED="$projlibs $METIS_LIBS_INSTALLED"
     24645
     24646    # remember that we have processed $pcfile
     24647    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     24648
     24649  done
     24650  IFS="$save_IFS"
     24651
    2444624652
    2444724653  # finish up
     
    2445524661
    2445624662
     24663  # adjust linker flags for (i)cl compiler
     24664  # for the LIBS, we replace everything of the form "/somepath/name.lib" by "`$(CYGPATH_W) /somepath/`name.lib | sed -e s|\|/|g" (where we have to use excessive many \ to get the \ into the command line for cl),
     24665  # for the LIBS_INSTALLED, we replace everything of the form "/somepath/" by "`$(CYGPATH_W) /somepath/`",
     24666  #    everything of the form "-Lpath" by "/libpath:`$(CYGPATH_W) path`, and
     24667  #    everything of the form "-lname" by "libname.lib"
     24668  if test x$coin_cxx_is_cl = xtrue || test x$coin_cc_is_cl = xtrue ;
     24669  then
     24670    METIS_LIBS=`echo " $METIS_LIBS " | sed -e 's/ \(\/[^ ]*\/\)\([^ ]*\)\.lib / \`$(CYGPATH_W) \1 | sed -e "s|\\\\\\\\\\\\\\\\\\\\|\/|g"\`\2.lib /g'`
     24671    METIS_LIBS_INSTALLED=`echo " $METIS_LIBS_INSTALLED" | sed -e 's/ \(\/[^ ]*\/\)/ \`$(CYGPATH_W) \1\`/g' -e 's/ -L\([^ ]*\)/ \/libpath:\`$(CYGPATH_W) \1\`/g' -e 's/ -l\([^ ]*\)/ lib\1.lib/g'`
     24672  fi
     24673
    2445724674
    2445824675    MUMPS_PCREQUIRES="coinmetis >= 4.0 $MUMPS_PCREQUIRES"
    2445924676    MUMPS_CFLAGS="$METIS_CFLAGS $MUMPS_CFLAGS"
    2446024677    MUMPS_LIBS="$METIS_LIBS $MUMPS_LIBS"
     24678    MUMPS_CFLAGS_INSTALLED="$METIS_CFLAGS_INSTALLED $MUMPS_CFLAGS_INSTALLED"
     24679    MUMPS_LIBS_INSTALLED="$METIS_LIBS_INSTALLED $MUMPS_LIBS_INSTALLED"
     24680
     24681
     24682fi
     24683
     24684
     24685
     24686if test $coin_has_metis != notGiven &&
     24687                test $coin_has_metis != skipping; then
     24688  COIN_HAS_METIS_TRUE=
     24689  COIN_HAS_METIS_FALSE='#'
     24690else
     24691  COIN_HAS_METIS_TRUE='#'
     24692  COIN_HAS_METIS_FALSE=
     24693fi
     24694
     24695
     24696
     24697  fi
     24698
     24699else
     24700  echo "$as_me:$LINENO: result: $coin_has_metis" >&5
     24701echo "${ECHO_T}$coin_has_metis" >&6
     24702fi
     24703
     24704if test $coin_has_metis != skipping &&
     24705   test $coin_has_metis != notGiven ; then
     24706
     24707cat >>confdefs.h <<\_ACEOF
     24708#define COIN_HAS_METIS 1
     24709_ACEOF
     24710
     24711
     24712  # construct dependencies variables from LIBS variables
     24713  # we add an extra space in LIBS so we can substitute out everything starting with " -"
     24714  # also substitute out everything of the form `xxx`yyy (may have been added for cygwin/cl)
     24715  METIS_DEPENDENCIES=`echo " $METIS_LIBS" | sed -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
     24716
     24717    MUMPS_DEPENDENCIES=`echo " $MUMPS_LIBS " | sed -e 's/ -[^ ]*//g' -e 's/\`[^\`]*\`[^ ]* //g'`
    2446124718
    2446224719
     
    2447024727echo "$as_me: Metis LIBS   are $METIS_LIBS" >&6;}
    2447124728    fi
    24472     if test -n "$METIS_DATA" ; then
    24473       { echo "$as_me:$LINENO: Metis DATA   is  $METIS_DATA" >&5
    24474 echo "$as_me: Metis DATA   is  $METIS_DATA" >&6;}
    24475     fi
    24476 
    24477       { echo "$as_me:$LINENO: MUMPS CFLAGS are $MUMPS_CFLAGS" >&5
    24478 echo "$as_me: MUMPS CFLAGS are $MUMPS_CFLAGS" >&6;}
    24479       { echo "$as_me:$LINENO: MUMPS LIBS   are $MUMPS_LIBS" >&5
    24480 echo "$as_me: MUMPS LIBS   are $MUMPS_LIBS" >&6;}
    24481 
    24482   fi
    24483 
    24484 fi
    24485 
    24486 
    24487 
    24488 if test $coin_has_metis != notGiven &&
    24489                 test $coin_has_metis != skipping; then
    24490   COIN_HAS_METIS_TRUE=
    24491   COIN_HAS_METIS_FALSE='#'
    24492 else
    24493   COIN_HAS_METIS_TRUE='#'
    24494   COIN_HAS_METIS_FALSE=
    24495 fi
    24496 
    24497 
    24498 
    24499   fi
    24500 
    24501 else
    24502   echo "$as_me:$LINENO: result: $coin_has_metis" >&5
    24503 echo "${ECHO_T}$coin_has_metis" >&6
    24504 fi
    24505 
    24506 if test $coin_has_metis != skipping &&
    24507    test $coin_has_metis != notGiven ; then
    24508 
    24509 cat >>confdefs.h <<\_ACEOF
    24510 #define COIN_HAS_METIS 1
    24511 _ACEOF
    24512 
    24513 
    24514   if test 1 = 0 ; then  #change this test to enable a bit of debugging output
    24515     if test -n "$METIS_CFLAGS" ; then
    24516       { echo "$as_me:$LINENO: Metis CFLAGS are $METIS_CFLAGS" >&5
    24517 echo "$as_me: Metis CFLAGS are $METIS_CFLAGS" >&6;}
    24518     fi
    24519     if test -n "$METIS_LIBS" ; then
    24520       { echo "$as_me:$LINENO: Metis LIBS   are $METIS_LIBS" >&5
    24521 echo "$as_me: Metis LIBS   are $METIS_LIBS" >&6;}
     24729    if test -n "$METIS_DEPENDENCIES" ; then
     24730      { echo "$as_me:$LINENO: Metis DEPENDENCIES are $METIS_DEPENDENCIES" >&5
     24731echo "$as_me: Metis DEPENDENCIES are $METIS_DEPENDENCIES" >&6;}
    2452224732    fi
    2452324733    if test -n "$METIS_DATA" ; then
     
    2453424744      { echo "$as_me:$LINENO: MUMPS LIBS   are $MUMPS_LIBS" >&5
    2453524745echo "$as_me: MUMPS LIBS   are $MUMPS_LIBS" >&6;}
     24746      { echo "$as_me:$LINENO: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&5
     24747echo "$as_me: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&6;}
    2453624748
    2453724749  fi
     
    2491925131Usually this means the macro was only invoked conditionally." >&5
    2492025132echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined.
     25133Usually this means the macro was only invoked conditionally." >&2;}
     25134   { (exit 1); exit 1; }; }
     25135fi
     25136if test -z "${COIN_CC_IS_CL_TRUE}" && test -z "${COIN_CC_IS_CL_FALSE}"; then
     25137  { { echo "$as_me:$LINENO: error: conditional \"COIN_CC_IS_CL\" was never defined.
     25138Usually this means the macro was only invoked conditionally." >&5
     25139echo "$as_me: error: conditional \"COIN_CC_IS_CL\" was never defined.
    2492125140Usually this means the macro was only invoked conditionally." >&2;}
    2492225141   { (exit 1); exit 1; }; }
     
    2554425763s,@build_vendor@,$build_vendor,;t t
    2554525764s,@build_os@,$build_os,;t t
     25765s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
     25766s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2554625767s,@CDEFS@,$CDEFS,;t t
    2554725768s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2564525866s,@BLAS_CFLAGS@,$BLAS_CFLAGS,;t t
    2564625867s,@BLAS_DATA@,$BLAS_DATA,;t t
     25868s,@BLAS_DEPENDENCIES@,$BLAS_DEPENDENCIES,;t t
     25869s,@BLAS_LIBS_INSTALLED@,$BLAS_LIBS_INSTALLED,;t t
     25870s,@BLAS_CFLAGS_INSTALLED@,$BLAS_CFLAGS_INSTALLED,;t t
     25871s,@BLAS_DATA_INSTALLED@,$BLAS_DATA_INSTALLED,;t t
    2564725872s,@MUMPS_CFLAGS@,$MUMPS_CFLAGS,;t t
    2564825873s,@MUMPS_LIBS@,$MUMPS_LIBS,;t t
    2564925874s,@MUMPS_PCLIBS@,$MUMPS_PCLIBS,;t t
    2565025875s,@MUMPS_PCREQUIRES@,$MUMPS_PCREQUIRES,;t t
     25876s,@MUMPS_DEPENDENCIES@,$MUMPS_DEPENDENCIES,;t t
     25877s,@MUMPS_CFLAGS_INSTALLED@,$MUMPS_CFLAGS_INSTALLED,;t t
     25878s,@MUMPS_LIBS_INSTALLED@,$MUMPS_LIBS_INSTALLED,;t t
    2565125879s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t
    2565225880s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t
     
    2565425882s,@METIS_CFLAGS@,$METIS_CFLAGS,;t t
    2565525883s,@METIS_DATA@,$METIS_DATA,;t t
     25884s,@METIS_DEPENDENCIES@,$METIS_DEPENDENCIES,;t t
     25885s,@METIS_LIBS_INSTALLED@,$METIS_LIBS_INSTALLED,;t t
     25886s,@METIS_CFLAGS_INSTALLED@,$METIS_CFLAGS_INSTALLED,;t t
     25887s,@METIS_DATA_INSTALLED@,$METIS_DATA_INSTALLED,;t t
    2565625888s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2565725889s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
Note: See TracChangeset for help on using the changeset viewer.