Changeset 1887


Ignore:
Timestamp:
Nov 28, 2010 3:45:39 PM (9 years ago)
Author:
stefan
Message:

rerun autotools

Location:
ThirdParty/Mumps/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/trunk/Makefile.in

    r1747 r1887  
    151151BLAS_CFLAGS = @BLAS_CFLAGS@
    152152BLAS_DATA = @BLAS_DATA@
     153BLAS_DATA_INSTALLED = @BLAS_DATA_INSTALLED@
    153154BLAS_LIBS = @BLAS_LIBS@
    154155BUILDTOOLSDIR = @BUILDTOOLSDIR@
     
    157158CDEFS = @CDEFS@
    158159CFLAGS = @CFLAGS@ $(MY_DEFS)
     160COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@
     161COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@
    159162COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@
    160163COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@
     
    209212METIS_CFLAGS = @METIS_CFLAGS@
    210213METIS_DATA = @METIS_DATA@
     214METIS_DATA_INSTALLED = @METIS_DATA_INSTALLED@
    211215METIS_LIBS = @METIS_LIBS@
    212216MPICC = @MPICC@
     
    216220MUMPSSRCDIR = @MUMPSSRCDIR@
    217221MUMPS_CFLAGS = @MUMPS_CFLAGS@
     222MUMPS_CFLAGS_INSTALLED = @MUMPS_CFLAGS_INSTALLED@
    218223MUMPS_LIBS = @MUMPS_LIBS@
     224MUMPS_LIBS_INSTALLED = @MUMPS_LIBS_INSTALLED@
    219225MUMPS_PCLIBS = @MUMPS_PCLIBS@
    220226MUMPS_PCREQUIRES = @MUMPS_PCREQUIRES@
  • ThirdParty/Mumps/trunk/configure

    r1876 r1887  
    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 MUMPS_CFLAGS MUMPS_LIBS MUMPS_PCLIBS MUMPS_PCREQUIRES MUMPS_CFLAGS_INSTALLED MUMPS_LIBS_INSTALLED BLAS_DATA_INSTALLED COIN_HAS_BLAS_TRUE COIN_HAS_BLAS_FALSE METIS_LIBS METIS_CFLAGS METIS_DATA 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
     
    2394623966coin_has_blas=notGiven
    2394723967BLAS_LIBS=
     23968BLAS_LIBS_INSTALLED=
    2394823969BLAS_CFLAGS=
     23970BLAS_CFLAGS_INSTALLED=
    2394923971BLAS_DATA=
     23972BLAS_DATA_INSTALLED=
    2395023973
    2395123974# initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2395423977# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2395523978# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     23979# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2395623980# also, we setup the DATA variable
    2395723981allproj=""
    2395823982allpcfiles=""
     23983allpcifiles=""
    2395923984while test "x$projtoprocess" != x ; do
    2396023985
     
    2396623991    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2396723992      # 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
     23993      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2396923994        pcfile="$dir/$proj-uninstalled.pc"
     23995        if test -r "$dir/${proj}.pc" ; then
     23996          pcifile="$dir/${proj}.pc"
     23997        else
     23998          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     23999echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     24000          pcifile=
     24001        fi
    2397024002        break
    2397124003      fi
     
    2398124013      projtoprocess=${projtoprocess/$proj/$projrequires}
    2398224014
    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"`
     24015      # read DATA from $pcfile, if _DATA is still empty
     24016      if test "x$BLAS_DATA" = x ; then
     24017        projdatadir=
     24018        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     24019        eval `sh -c "$pcfilemod"`
     24020        BLAS_DATA="$projdatadir"
    2398624021      fi
    2398724022
     
    2399424029      allproj=fail
    2399524030      break 2
     24031    fi
     24032
     24033    if test "x$pcifile" != x ; then
     24034      allpcifiles="$pcifile:$allpcifiles"
     24035
     24036      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     24037      if test "x$BLAS_DATA_INSTALLED" = x ; then
     24038        projdatadir=
     24039        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     24040        eval `sh -c "$pcifilemod"`
     24041        BLAS_DATA_INSTALLED="$projdatadir"
     24042      fi
     24043
    2399624044    fi
    2399724045
     
    2402424072    fi
    2402524073
    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"`
     24074    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24075    #   replace "Libs:" by "echo projlibs="
     24076    #   replace "Cflags:" by "echo projcflags="
     24077    #   remove every line starting with <some word>:
     24078    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24079
     24080    # set projcflags and projlibs variables by running $pcfilemod
     24081    eval `sh -c "$pcfilemod"`
     24082
     24083    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2403124084    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2403224085    BLAS_CFLAGS="$projcflags $BLAS_CFLAGS"
    2403324086
    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
     24087    # set LIBS variable
    2404624088    BLAS_LIBS="$projlibs $BLAS_LIBS"
    2404724089
     
    2405124093  done
    2405224094  IFS="$save_IFS"
     24095
     24096
     24097  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     24098  # important is here again to obey the reverse order that has been setup before,
     24099  # since then libraries that are required by several others should be after these other libraries
     24100  pcfilesprocessed=""
     24101
     24102  save_IFS="$IFS"
     24103  IFS=":"
     24104  for pcfile in $allpcifiles ; do
     24105
     24106    # if $pcfile has been processed already, skip this round
     24107    if test "x$pcfilesprocessed" != x ; then
     24108      for pcfiledone in $pcfilesprocessed ; do
     24109        if test "$pcfiledone" = "$pcfile" ; then
     24110          continue 2
     24111        fi
     24112      done
     24113    fi
     24114
     24115    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24116    #   replace "Libs:" by "echo projlibs="
     24117    #   replace "Cflags:" by "echo projcflags="
     24118    #   remove every line starting with <some word>:
     24119    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24120
     24121    # set projcflags and projlibs variables by running $pcfilemod
     24122    eval `sh -c "$pcfilemod"`
     24123
     24124    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24125    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24126    BLAS_CFLAGS_INSTALLED="$projcflags $BLAS_CFLAGS_INSTALLED"
     24127
     24128    # set LIBS variable
     24129    BLAS_LIBS_INSTALLED="$projlibs $BLAS_LIBS_INSTALLED"
     24130
     24131    # remember that we have processed $pcfile
     24132    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     24133
     24134  done
     24135  IFS="$save_IFS"
     24136
    2405324137
    2405424138  # finish up
     
    2406624150    MUMPS_CFLAGS="$BLAS_CFLAGS $MUMPS_CFLAGS"
    2406724151    MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS"
     24152    MUMPS_CFLAGS_INSTALLED="$BLAS_CFLAGS_INSTALLED $MUMPS_CFLAGS_INSTALLED"
     24153    MUMPS_LIBS_INSTALLED="$BLAS_LIBS_INSTALLED $MUMPS_LIBS_INSTALLED"
     24154
     24155
     24156
    2406824157
    2406924158
     
    2408124170echo "$as_me: Blas DATA   is  $BLAS_DATA" >&6;}
    2408224171    fi
    24083 
     24172    if test -n "$BLAS_CFLAGS_INSTALLED" ; then
     24173      { echo "$as_me:$LINENO: Blas CFLAGS_INSTALLED are $BLAS_CFLAGS_INSTALLED" >&5
     24174echo "$as_me: Blas CFLAGS_INSTALLED are $BLAS_CFLAGS_INSTALLED" >&6;}
     24175    fi
     24176    if test -n "$BLAS_LIBS_INSTALLED" ; then
     24177      { echo "$as_me:$LINENO: Blas LIBS_INSTALLED   are $BLAS_LIBS_INSTALLED" >&5
     24178echo "$as_me: Blas LIBS_INSTALLED   are $BLAS_LIBS_INSTALLED" >&6;}
     24179    fi
     24180    if test -n "$BLAS_DATA_INSTALLED" ; then
     24181      { echo "$as_me:$LINENO: Blas DATA_INSTALLED   is  $BLAS_DATA_INSTALLED" >&5
     24182echo "$as_me: Blas DATA_INSTALLED   is  $BLAS_DATA_INSTALLED" >&6;}
     24183    fi
     24184
     24185      { echo "$as_me:$LINENO: " >&5
     24186echo "$as_me: " >&6;}
    2408424187      { echo "$as_me:$LINENO: MUMPS CFLAGS are $MUMPS_CFLAGS" >&5
    2408524188echo "$as_me: MUMPS CFLAGS are $MUMPS_CFLAGS" >&6;}
    2408624189      { echo "$as_me:$LINENO: MUMPS LIBS   are $MUMPS_LIBS" >&5
    2408724190echo "$as_me: MUMPS LIBS   are $MUMPS_LIBS" >&6;}
     24191      { echo "$as_me:$LINENO: MUMPS CFLAGS_INSTALLED are $MUMPS_CFLAGS_INSTALLED" >&5
     24192echo "$as_me: MUMPS CFLAGS_INSTALLED are $MUMPS_CFLAGS_INSTALLED" >&6;}
     24193      { echo "$as_me:$LINENO: MUMPS LIBS_INSTALLED   are $MUMPS_LIBS_INSTALLED" >&5
     24194echo "$as_me: MUMPS LIBS_INSTALLED   are $MUMPS_LIBS_INSTALLED" >&6;}
    2408824195
    2408924196  fi
     
    2418624293    MUMPS_PCLIBS="$BLAS_LIBS $MUMPS_PCLIBS"
    2418724294    MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS"
     24295    MUMPS_LIBS_INSTALLED="$BLAS_LIBS $MUMPS_LIBS_INSTALLED"
    2418824296
    2418924297
     
    2420124309
    2420224310fi
     24311
    2420324312
    2420424313
     
    2433924448coin_has_metis=notGiven
    2434024449METIS_LIBS=
     24450METIS_LIBS_INSTALLED=
    2434124451METIS_CFLAGS=
     24452METIS_CFLAGS_INSTALLED=
    2434224453METIS_DATA=
     24454METIS_DATA_INSTALLED=
    2434324455
    2434424456# initial list of dependencies is "coinmetis >= 4.0", but we need to filter out version number specifications (= x, <= x, >= x)
     
    2434724459# we first expand the list of projects to process by adding all dependencies just behind the project which depends on it
    2434824460# further, we collect the list of corresponding .pc files, but do this in reverse order, because we need this order afterwards
     24461# the latter we also do with .pc files corresponding to the installed projects, which will be needed to setup Makefiles for examples
    2434924462# also, we setup the DATA variable
    2435024463allproj=""
    2435124464allpcfiles=""
     24465allpcifiles=""
    2435224466while test "x$projtoprocess" != x ; do
    2435324467
     
    2435924473    for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do
    2436024474      # 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
     24475      if test -r "$dir/${proj}-uninstalled.pc" ; then
    2436224476        pcfile="$dir/$proj-uninstalled.pc"
     24477        if test -r "$dir/${proj}.pc" ; then
     24478          pcifile="$dir/${proj}.pc"
     24479        else
     24480          { echo "$as_me:$LINENO: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&5
     24481echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;}
     24482          pcifile=
     24483        fi
    2436324484        break
    2436424485      fi
     
    2437424495      projtoprocess=${projtoprocess/$proj/$projrequires}
    2437524496
    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"`
     24497      # read DATA from $pcfile, if _DATA is still empty
     24498      if test "x$METIS_DATA" = x ; then
     24499        projdatadir=
     24500        pcfilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcfile`
     24501        eval `sh -c "$pcfilemod"`
     24502        METIS_DATA="$projdatadir"
    2437924503      fi
    2438024504
     
    2438724511      allproj=fail
    2438824512      break 2
     24513    fi
     24514
     24515    if test "x$pcifile" != x ; then
     24516      allpcifiles="$pcifile:$allpcifiles"
     24517
     24518      # read DATA_INSTALLED from $pcifile, if _DATA_INSTALLED is still empty
     24519      if test "x$METIS_DATA_INSTALLED" = x ; then
     24520        projdatadir=
     24521        pcifilemod=`sed -e '/[a-zA-Z]:/d' -e 's/datadir=\(.*\)/echo projdatadir=\\\\"\1\\\\"/g' $pcifile`
     24522        eval `sh -c "$pcifilemod"`
     24523        METIS_DATA_INSTALLED="$projdatadir"
     24524      fi
     24525
    2438924526    fi
    2439024527
     
    2441724554    fi
    2441824555
    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"`
     24556    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24557    #   replace "Libs:" by "echo projlibs="
     24558    #   replace "Cflags:" by "echo projcflags="
     24559    #   remove every line starting with <some word>:
     24560    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24561
     24562    # set projcflags and projlibs variables by running $pcfilemod
     24563    eval `sh -c "$pcfilemod"`
     24564
     24565    # add CYGPATH_W cludge into include flags and set CFLAGS variable
    2442424566    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    2442524567    METIS_CFLAGS="$projcflags $METIS_CFLAGS"
    2442624568
    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
     24569    # set LIBS variable
    2443924570    METIS_LIBS="$projlibs $METIS_LIBS"
    2444024571
     
    2444424575  done
    2444524576  IFS="$save_IFS"
     24577
     24578
     24579  # now go through the list of .pc files for installed projects and assemble compiler and linker flags
     24580  # important is here again to obey the reverse order that has been setup before,
     24581  # since then libraries that are required by several others should be after these other libraries
     24582  pcfilesprocessed=""
     24583
     24584  save_IFS="$IFS"
     24585  IFS=":"
     24586  for pcfile in $allpcifiles ; do
     24587
     24588    # if $pcfile has been processed already, skip this round
     24589    if test "x$pcfilesprocessed" != x ; then
     24590      for pcfiledone in $pcfilesprocessed ; do
     24591        if test "$pcfiledone" = "$pcfile" ; then
     24592          continue 2
     24593        fi
     24594      done
     24595    fi
     24596
     24597    # modify .pc file to a shell script that prints shell commands for setting the compiler and library flags:
     24598    #   replace "Libs:" by "echo projlibs="
     24599    #   replace "Cflags:" by "echo projcflags="
     24600    #   remove every line starting with <some word>:
     24601    pcfilemod=`sed -e 's/Libs:\(.*\)$/echo projlibs=\\\\"\1\\\\"/g' -e 's/Cflags:\(.*\)/echo projcflags=\\\\"\1\\\\"/g' -e '/[a-zA-Z]:/d' $pcfile`
     24602
     24603    # set projcflags and projlibs variables by running $pcfilemod
     24604    eval `sh -c "$pcfilemod"`
     24605
     24606    # add CYGPATH_W cludge into include flags and set CFLAGS variable
     24607    projcflags=`echo "$projcflags" | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
     24608    METIS_CFLAGS_INSTALLED="$projcflags $METIS_CFLAGS_INSTALLED"
     24609
     24610    # set LIBS variable
     24611    METIS_LIBS_INSTALLED="$projlibs $METIS_LIBS_INSTALLED"
     24612
     24613    # remember that we have processed $pcfile
     24614    pcfilesprocessed="$pcfilesprocessed:$pcfile"
     24615
     24616  done
     24617  IFS="$save_IFS"
     24618
    2444624619
    2444724620  # finish up
     
    2445924632    MUMPS_CFLAGS="$METIS_CFLAGS $MUMPS_CFLAGS"
    2446024633    MUMPS_LIBS="$METIS_LIBS $MUMPS_LIBS"
     24634    MUMPS_CFLAGS_INSTALLED="$METIS_CFLAGS_INSTALLED $MUMPS_CFLAGS_INSTALLED"
     24635    MUMPS_LIBS_INSTALLED="$METIS_LIBS_INSTALLED $MUMPS_LIBS_INSTALLED"
     24636
     24637
     24638
    2446124639
    2446224640
     
    2447424652echo "$as_me: Metis DATA   is  $METIS_DATA" >&6;}
    2447524653    fi
    24476 
     24654    if test -n "$METIS_CFLAGS_INSTALLED" ; then
     24655      { echo "$as_me:$LINENO: Metis CFLAGS_INSTALLED are $METIS_CFLAGS_INSTALLED" >&5
     24656echo "$as_me: Metis CFLAGS_INSTALLED are $METIS_CFLAGS_INSTALLED" >&6;}
     24657    fi
     24658    if test -n "$METIS_LIBS_INSTALLED" ; then
     24659      { echo "$as_me:$LINENO: Metis LIBS_INSTALLED   are $METIS_LIBS_INSTALLED" >&5
     24660echo "$as_me: Metis LIBS_INSTALLED   are $METIS_LIBS_INSTALLED" >&6;}
     24661    fi
     24662    if test -n "$METIS_DATA_INSTALLED" ; then
     24663      { echo "$as_me:$LINENO: Metis DATA_INSTALLED   is  $METIS_DATA_INSTALLED" >&5
     24664echo "$as_me: Metis DATA_INSTALLED   is  $METIS_DATA_INSTALLED" >&6;}
     24665    fi
     24666
     24667      { echo "$as_me:$LINENO: " >&5
     24668echo "$as_me: " >&6;}
    2447724669      { echo "$as_me:$LINENO: MUMPS CFLAGS are $MUMPS_CFLAGS" >&5
    2447824670echo "$as_me: MUMPS CFLAGS are $MUMPS_CFLAGS" >&6;}
    2447924671      { echo "$as_me:$LINENO: MUMPS LIBS   are $MUMPS_LIBS" >&5
    2448024672echo "$as_me: MUMPS LIBS   are $MUMPS_LIBS" >&6;}
     24673      { echo "$as_me:$LINENO: MUMPS CFLAGS_INSTALLED are $MUMPS_CFLAGS_INSTALLED" >&5
     24674echo "$as_me: MUMPS CFLAGS_INSTALLED are $MUMPS_CFLAGS_INSTALLED" >&6;}
     24675      { echo "$as_me:$LINENO: MUMPS LIBS_INSTALLED   are $MUMPS_LIBS_INSTALLED" >&5
     24676echo "$as_me: MUMPS LIBS_INSTALLED   are $MUMPS_LIBS_INSTALLED" >&6;}
    2448124677
    2448224678  fi
     
    2491925115Usually this means the macro was only invoked conditionally." >&5
    2492025116echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined.
     25117Usually this means the macro was only invoked conditionally." >&2;}
     25118   { (exit 1); exit 1; }; }
     25119fi
     25120if test -z "${COIN_CC_IS_CL_TRUE}" && test -z "${COIN_CC_IS_CL_FALSE}"; then
     25121  { { echo "$as_me:$LINENO: error: conditional \"COIN_CC_IS_CL\" was never defined.
     25122Usually this means the macro was only invoked conditionally." >&5
     25123echo "$as_me: error: conditional \"COIN_CC_IS_CL\" was never defined.
    2492125124Usually this means the macro was only invoked conditionally." >&2;}
    2492225125   { (exit 1); exit 1; }; }
     
    2554425747s,@build_vendor@,$build_vendor,;t t
    2554525748s,@build_os@,$build_os,;t t
     25749s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t
     25750s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t
    2554625751s,@CDEFS@,$CDEFS,;t t
    2554725752s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t
     
    2564925854s,@MUMPS_PCLIBS@,$MUMPS_PCLIBS,;t t
    2565025855s,@MUMPS_PCREQUIRES@,$MUMPS_PCREQUIRES,;t t
     25856s,@MUMPS_CFLAGS_INSTALLED@,$MUMPS_CFLAGS_INSTALLED,;t t
     25857s,@MUMPS_LIBS_INSTALLED@,$MUMPS_LIBS_INSTALLED,;t t
     25858s,@BLAS_DATA_INSTALLED@,$BLAS_DATA_INSTALLED,;t t
    2565125859s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t
    2565225860s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t
     
    2565425862s,@METIS_CFLAGS@,$METIS_CFLAGS,;t t
    2565525863s,@METIS_DATA@,$METIS_DATA,;t t
     25864s,@METIS_DATA_INSTALLED@,$METIS_DATA_INSTALLED,;t t
    2565625865s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t
    2565725866s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
Note: See TracChangeset for help on using the changeset viewer.