Changeset 1539 for ThirdParty/Mumps


Ignore:
Timestamp:
Apr 30, 2010 11:02:15 AM (10 years ago)
Author:
stefan
Message:

rerun autotools; generate addlibs files from .pc files; remove empty README's

Location:
ThirdParty/Mumps/branches/split
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Mumps/branches/split/Makefile.am

    r1487 r1539  
    8080# Module files that need to be deleted
    8181MODEXT = mod
    82 CLEANFILES = *.$(MODEXT)
     82CLEANFILES = *.$(MODEXT)  mumps_addlibs.txt
    8383
    8484# Reset DEFS to that they don't show up for the Fortran compiler
     
    9494  $(MUMPSDIR)/libseq/mpi.h
    9595
     96if COIN_HAS_PKGCONFIG
    9697addlibsdir = $(datadir)/coin/doc/ThirdParty/Mumps
    97 addlibs_DATA = README mumps_addlibs.txt
     98addlibs_DATA = mumps_addlibs.txt
     99
     100mumps_addlibs.txt : coinmumps.pc
     101        PKG_CONFIG_PATH=.:$(libdir)/pkgconfig:${PKG_CONFIG_PATH} $(PKG_CONFIG) --libs coinmumps > mumps_addlibs.txt
     102endif
    98103
    99104pkgconfiglibdir = $(libdir)/pkgconfig
  • ThirdParty/Mumps/branches/split/Makefile.in

    r1508 r1539  
    5353build_triplet = @build@
    5454host_triplet = @host@
    55 DIST_COMMON = README $(am__configure_deps) \
     55DIST_COMMON = $(am__configure_deps) \
    5656        $(srcdir)/../../BuildTools/Makemain.inc $(srcdir)/Makefile.am \
    5757        $(srcdir)/Makefile.in $(srcdir)/coinmumps-uninstalled.pc.in \
    58         $(srcdir)/coinmumps.pc.in $(srcdir)/mumps_addlibs.txt.in \
    59         $(thirdpartyinclude_HEADERS) $(top_srcdir)/configure \
    60         config.guess config.sub depcomp install-sh ltmain.sh missing
     58        $(srcdir)/coinmumps.pc.in $(thirdpartyinclude_HEADERS) \
     59        $(top_srcdir)/configure config.guess config.sub depcomp \
     60        install-sh ltmain.sh missing
    6161@HAVE_EXTERNALS_TRUE@am__append_1 = Externals
    6262@HAVE_EXTERNALS_TRUE@am__append_2 = .Externals-stamp
     
    7070 configure.lineno configure.status.lineno
    7171mkinstalldirs = $(install_sh) -d
    72 CONFIG_CLEAN_FILES = mumps_addlibs.txt coinmumps.pc \
    73         coinmumps-uninstalled.pc
     72CONFIG_CLEAN_FILES = coinmumps.pc coinmumps-uninstalled.pc
    7473am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
    7574am__vpath_adj = case $$p in \
     
    163162COIN_HAS_METIS_FALSE = @COIN_HAS_METIS_FALSE@
    164163COIN_HAS_METIS_TRUE = @COIN_HAS_METIS_TRUE@
     164COIN_HAS_PKGCONFIG_FALSE = @COIN_HAS_PKGCONFIG_FALSE@
     165COIN_HAS_PKGCONFIG_TRUE = @COIN_HAS_PKGCONFIG_TRUE@
    165166CPP = @CPP@
    166167CPPFLAGS = @CPPFLAGS@
     
    332333# Module files that need to be deleted
    333334MODEXT = mod
    334 CLEANFILES = *.$(MODEXT)
     335CLEANFILES = *.$(MODEXT)  mumps_addlibs.txt
    335336thirdpartyincludedir = $(includedir)/coin/ThirdParty
    336337thirdpartyinclude_HEADERS = \
     
    340341  $(MUMPSDIR)/libseq/mpi.h
    341342
    342 addlibsdir = $(datadir)/coin/doc/ThirdParty/Mumps
    343 addlibs_DATA = README mumps_addlibs.txt
     343@COIN_HAS_PKGCONFIG_TRUE@addlibsdir = $(datadir)/coin/doc/ThirdParty/Mumps
     344@COIN_HAS_PKGCONFIG_TRUE@addlibs_DATA = mumps_addlibs.txt
    344345pkgconfiglibdir = $(libdir)/pkgconfig
    345346pkgconfiglib_DATA = coinmumps.pc
     
    390391$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
    391392        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    392 mumps_addlibs.txt: $(top_builddir)/config.status $(srcdir)/mumps_addlibs.txt.in
    393         cd $(top_builddir) && $(SHELL) ./config.status $@
    394393coinmumps.pc: $(top_builddir)/config.status $(srcdir)/coinmumps.pc.in
    395394        cd $(top_builddir) && $(SHELL) ./config.status $@
     
    978977dmumps_part2.lo dmumps_part5.lo dmumps_part8.lo: tools_common_mod.lo
    979978
     979@COIN_HAS_PKGCONFIG_TRUE@mumps_addlibs.txt : coinmumps.pc
     980@COIN_HAS_PKGCONFIG_TRUE@       PKG_CONFIG_PATH=.:$(libdir)/pkgconfig:${PKG_CONFIG_PATH} $(PKG_CONFIG) --libs coinmumps > mumps_addlibs.txt
     981
    980982install-doc: $(DocFiles)
    981983        test -z "$(DocInstallDir)" || $(mkdir_p) "$(DESTDIR)$(DocInstallDir)"
  • ThirdParty/Mumps/branches/split/configure

    r1536 r1539  
    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 FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE 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 BLAS_LIBS BLAS_CFLAGS BLAS_DATA REQUIREDPACKAGES 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 FADDLIBS ALWAYS_FALSE_TRUE ALWAYS_FALSE_FALSE 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 BLAS_LIBS BLAS_CFLAGS BLAS_DATA REQUIREDPACKAGES 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'
    476476ac_subst_files=''
    477477
     
    2165821658
    2165921659
     21660if test -n "$PKG_CONFIG"; then
     21661  COIN_HAS_PKGCONFIG_TRUE=
     21662  COIN_HAS_PKGCONFIG_FALSE='#'
     21663else
     21664  COIN_HAS_PKGCONFIG_TRUE='#'
     21665  COIN_HAS_PKGCONFIG_FALSE=
     21666fi
     21667
     21668
     21669
     21670
     21671
     21672
    2166021673# Check whether --with-blas or --without-blas was given.
    2166121674if test "${with_blas+set}" = set; then
     
    2363323646if test "x$use_blas" = xBUILD ; then
    2363423647  if test -d ../ThirdParty/Blas ; then
     23648    blasdir=../ThirdParty/Blas
     23649  else
     23650    blasdir=../Blas
     23651  fi
    2363523652
    2363623653echo "$as_me:$LINENO: checking for COIN-OR module Blas" >&5
     
    2379523812if test $coin_has_blas != "skipping" ; then
    2379623813  # if the project is available and configured, then a project-uninstalled.pc file should have been created
    23797   if test -r ../ThirdParty/Blas/coinblas-uninstalled.pc ; then
     23814  if test -r $blasdir/coinblas-uninstalled.pc ; then
    2379823815    # read CFLAGS and LIBS from m4_bpatsubst(coinblas, [ .*], [])-uninstalled.pc file
    2379923816    # add CYGPATH_W cludge into include flags
    2380023817    # replace -L${libdir} by absolute path to build directory in linker flags
    23801     # we assume that the build directory is ../ThirdParty/Blas/src if this directory exists, otherwise we assume that it is ../ThirdParty/Blas
    23802     BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\(^ *\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
    23803     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     23818    # we assume that the build directory is $blasdir/src if this directory exists, otherwise we assume that it is $blasdir
     23819    BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' $blasdir/coinblas-uninstalled.pc`
     23820    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' $blasdir/coinblas-uninstalled.pc`
    2380423821    if test "x$projectlibs" != x ; then
    23805       if test -d ../ThirdParty/Blas/src ; then
    23806         BLAS_LIBS="-L`cd ../ThirdParty/Blas/src; pwd` $projectlibs"
     23822      if test -d $blasdir/src ; then
     23823        BLAS_LIBS="-L`cd $blasdir/src; pwd` $projectlibs"
    2380723824      else
    23808         BLAS_LIBS="-L`cd ../ThirdParty/Blas; pwd` $projectlibs"
     23825        BLAS_LIBS="-L`cd $blasdir; pwd` $projectlibs"
    2380923826      fi
    2381023827    else
    23811       BLAS_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     23828      BLAS_LIBS=`sed -n -e 's/Libs://p' $blasdir/coinblas-uninstalled.pc`
    2381223829    fi
    23813     BLAS_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`
     23830    BLAS_DATA=`sed -n -e 's/datadir=//gp' $blasdir/coinblas-uninstalled.pc`
    2381423831
    2381523832    ADDLIBS="$ADDLIBS $BLAS_LIBS"
     
    2382523842
    2382623843    coin_has_blas=yes
    23827     echo "$as_me:$LINENO: result: ../ThirdParty/Blas" >&5
    23828 echo "${ECHO_T}../ThirdParty/Blas" >&6
     23844    echo "$as_me:$LINENO: result: $blasdir" >&5
     23845echo "${ECHO_T}$blasdir" >&6
    2382923846  else
    2383023847    echo "$as_me:$LINENO: result: $coin_has_blas" >&5
     
    2389623913
    2389723914
    23898   elif test -d ../Blas ; then
    23899 
    23900 echo "$as_me:$LINENO: checking for COIN-OR module Blas" >&5
    23901 echo $ECHO_N "checking for COIN-OR module Blas... $ECHO_C" >&6
    23902 
    23903 coin_has_blas=notGiven
    23904 
    23905 # check if user wants to skip module in any case
    23906 if test x"$COIN_SKIP_PROJECTS" != x; then
    23907   for dir in $COIN_SKIP_PROJECTS; do
    23908     if test $dir = "Blas"; then
    23909       coin_has_blas=skipping
    23910     fi
    23911   done
    23912 fi
    23913 
    23914 BLAS_LIBS=
    23915 BLAS_CFLAGS=
    23916 BLAS_DATA=
    23917 
    23918 
    23919 
    23920 
    23921 
    23922 #check if user provided LIBS, CFLAGS, and DATA for module
    23923 if test $coin_has_blas != skipping; then
    23924 
    23925 
    23926 # Check whether --with-m4_tolower(Blas)-lib or --without-m4_tolower(Blas)-lib was given.
    23927 if test "${with_blas_lib+set}" = set; then
    23928   withval="$with_blas_lib"
    23929   coin_has_blas=yes
    23930        BLAS_LIBS="$withval"
    23931        ADDLIBS="$ADDLIBS $withval"
    23932 
    23933 fi;
    23934 
    23935 
    23936 # Check whether --with-m4_tolower(Blas)-incdir or --without-m4_tolower(Blas)-incdir was given.
    23937 if test "${with_blas_incdir+set}" = set; then
    23938   withval="$with_blas_incdir"
    23939   coin_has_blas=yes
    23940      BLAS_CFLAGS="-I`${CYGPATH_W} $withval`"
    23941 fi;
    23942 
    23943 
    23944 # Check whether --with-m4_tolower(Blas)-datadir or --without-m4_tolower(Blas)-datadir was given.
    23945 if test "${with_blas_datadir+set}" = set; then
    23946   withval="$with_blas_datadir"
    23947   coin_has_blas=yes
    23948      BLAS_DATA="$withval"
    23949 fi;
    23950 fi
    23951 
    23952 if test $coin_has_blas = notGiven; then
    23953   if test -n "$PKG_CONFIG" ; then
    23954     # assemble search path for pkg-config
    23955     coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH"
    23956 
    23957     # let's assume that when installing into $prefix, then the user may have installed some other coin projects there before, so it's worth to have a look into there
    23958     # best would actually to use ${libdir}, since .pc files get installed into ${libdir}/pkgconfig,
    23959     # unfortunately, ${libdir} expands to ${exec_prefix}/lib and ${exec_prefix} to ${prefix}...
    23960     if test -d "${prefix}"; then
    23961       PKG_CONFIG_PATH="${prefix}/lib/pkgconfig:$PKG_CONFIG_PATH"
    23962     fi
    23963 
    23964 
    23965 # Check whether --with-coin-instdir or --without-coin-instdir was given.
    23966 if test "${with_coin_instdir+set}" = set; then
    23967   withval="$with_coin_instdir"
    23968   if test -d "$withval"; then : ; else
    23969          { { echo "$as_me:$LINENO: error: argument for --with-coin-instdir not a directory" >&5
    23970 echo "$as_me: error: argument for --with-coin-instdir not a directory" >&2;}
    23971    { (exit 1); exit 1; }; }
    23972        fi
    23973        PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    23974 
    23975 fi;
    23976 
    23977     # in a classic setup, we want to find uninstalled projects
    23978     # their (relative) location is written to coin_subdirs.txt by the configure in the project base directory
    23979     # unfortunately, if the user set prefix, then we do not know where the project base directory is located
    23980     # but it is likely to be either .. (if we are a usual coin project) or ../.. (if we are a unusual coin project like ThirdParty or Data)
    23981     if test -e ../coin_subdirs.txt ; then
    23982       for i in `cat ../coin_subdirs.txt` ; do
    23983         PKG_CONFIG_PATH="../$i:$PKG_CONFIG_PATH"
    23984       done
    23985     fi
    23986 
    23987     if test -e ../../coin_subdirs.txt ; then
    23988       for i in `cat ../../coin_subdirs.txt` ; do
    23989         PKG_CONFIG_PATH="../../$i:$PKG_CONFIG_PATH"
    23990       done
    23991     fi
    23992 
    23993     # let pkg-config do it's magic
    23994     # need to export variable to be sure that the following pkg-config gets these values
    23995     export PKG_CONFIG_PATH
    23996 
    23997 
    23998 
    23999 if test -n "$PKG_CONFIG" ; then
    24000   if $PKG_CONFIG --exists "coinblas"; then
    24001     BLAS_VERSIONS="`$PKG_CONFIG --modversion coinblas 2>/dev/null`"
    24002      cflags=`$PKG_CONFIG --cflags "coinblas" 2>/dev/null`
    24003     # pkg-config cannot handle spaces, so CYGPATH_W cannot be put into .pc files
    24004         # thus, we modify the cflags extracted from pkg-config by putting CYGPATH_W behind -I's
    24005         # but only do this if is not trivial
    24006     if test "$CYGPATH_W" != "echo" ; then
    24007       # need to put into brackets since otherwise autoconf replaces the brackets in the sed command
    24008           cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'`
    24009         fi
    24010     BLAS_CFLAGS="$cflags"
    24011     BLAS_LIBS=`$PKG_CONFIG --libs "coinblas" 2>/dev/null`
    24012     BLAS_DATA=`$PKG_CONFIG --variable=datadir "coinblas" 2>/dev/null`
    24013      coin_has_blas=yes
    24014         echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5
    24015 echo "${ECHO_T}yes: $BLAS_VERSIONS" >&6
    24016         REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas"
    24017 
    24018 
    24019   else
    24020     BLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors coinblas`
    24021       coin_has_blas=notGiven
    24022         echo "$as_me:$LINENO: result: not given: $BLAS_PKG_ERRORS" >&5
    24023 echo "${ECHO_T}not given: $BLAS_PKG_ERRORS" >&6
    24024 
    24025   fi
    24026 else
    24027   { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Blas without pkg-config\"" >&5
    24028 echo "$as_me: error: \"Cannot check for existance of module Blas without pkg-config\"" >&2;}
    24029    { (exit 1); exit 1; }; }
    24030 fi
    24031 
    24032 
    24033 
    24034 
    24035     PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH"
    24036   else
    24037     #if 4th argument is given, try fallback - whereby we take the first word from coinblas as basename for the .pc file
    24038 
    24039 if test x$coin_has_blas != "xyes" ; then
    24040 
    24041 
    24042 
    24043 coin_has_blas=notGiven
    24044 
    24045 # check if user wants to skip module in any case
    24046 if test x"$COIN_SKIP_PROJECTS" != x; then
    24047   for dir in $COIN_SKIP_PROJECTS; do
    24048     if test $dir = "Blas"; then
    24049       coin_has_blas=skipping
    24050     fi
    24051   done
    24052 fi
    24053 
    24054 BLAS_LIBS=
    24055 BLAS_CFLAGS=
    24056 BLAS_DATA=
    24057 
    24058 
    24059 if test $coin_has_blas != "skipping" ; then
    24060   # if the project is available and configured, then a project-uninstalled.pc file should have been created
    24061   if test -r ../Blas/coinblas-uninstalled.pc ; then
    24062     # read CFLAGS and LIBS from m4_bpatsubst(coinblas, [ .*], [])-uninstalled.pc file
    24063     # add CYGPATH_W cludge into include flags
    24064     # replace -L${libdir} by absolute path to build directory in linker flags
    24065     # we assume that the build directory is ../Blas/src if this directory exists, otherwise we assume that it is ../Blas
    24066     BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\(^ *\)/-I\`${CYGPATH_W} \1\`/gp' ../Blas/coinblas-uninstalled.pc`
    24067     projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Blas/coinblas-uninstalled.pc`
    24068     if test "x$projectlibs" != x ; then
    24069       if test -d ../Blas/src ; then
    24070         BLAS_LIBS="-L`cd ../Blas/src; pwd` $projectlibs"
    24071       else
    24072         BLAS_LIBS="-L`cd ../Blas; pwd` $projectlibs"
    24073       fi
    24074     else
    24075       BLAS_LIBS=`sed -n -e 's/Libs://p' ../Blas/coinblas-uninstalled.pc`
    24076     fi
    24077     BLAS_DATA=`sed -n -e 's/datadir=//gp' ../Blas/coinblas-uninstalled.pc`
    24078 
    24079     ADDLIBS="$ADDLIBS $BLAS_LIBS"
    24080        REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas"
    24081 
    24082 
    24083 
    24084 cat >>confdefs.h <<\_ACEOF
    24085 #define COIN_HAS_BLAS 1
    24086 _ACEOF
    24087 
    24088 
    24089 
    24090     coin_has_blas=yes
    24091     echo "$as_me:$LINENO: result: ../Blas" >&5
    24092 echo "${ECHO_T}../Blas" >&6
    24093   else
    24094     echo "$as_me:$LINENO: result: $coin_has_blas" >&5
    24095 echo "${ECHO_T}$coin_has_blas" >&6
    24096   fi
    24097 else
    24098   echo "$as_me:$LINENO: result: skipping" >&5
    24099 echo "${ECHO_T}skipping" >&6
    24100 fi
    24101 
    24102 #if user did not disable setting of makefile conditional, do it
    24103 
    24104 
    24105 if test $coin_has_blas != notGiven &&
    24106                 test $coin_has_blas != skipping; then
    24107   COIN_HAS_BLAS_TRUE=
    24108   COIN_HAS_BLAS_FALSE='#'
    24109 else
    24110   COIN_HAS_BLAS_TRUE='#'
    24111   COIN_HAS_BLAS_FALSE=
    24112 fi
    24113 
    24114 
    24115 fi
    24116 
    24117 
    24118   fi
    24119 
    24120 else
    24121   echo "$as_me:$LINENO: result: $coin_has_blas" >&5
    24122 echo "${ECHO_T}$coin_has_blas" >&6
    24123 fi
    24124 
    24125 if test $coin_has_blas != skipping &&
    24126    test $coin_has_blas != notGiven ; then
    24127   if test 0 = 1 ; then  #change this test to enable a bit of debugging output
    24128   if test -n "$BLAS_CFLAGS" ; then
    24129     { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5
    24130 echo "$as_me: Blas CFLAGS are $BLAS_CFLAGS" >&6;}
    24131   fi
    24132   if test -n "$BLAS_LIBS" ; then
    24133     { echo "$as_me:$LINENO: Blas LIBS   are $BLAS_LIBS" >&5
    24134 echo "$as_me: Blas LIBS   are $BLAS_LIBS" >&6;}
    24135   fi
    24136   if test -n "$BLAS_DATA" ; then
    24137     { echo "$as_me:$LINENO: Blas DATA   is  $BLAS_DATA" >&5
    24138 echo "$as_me: Blas DATA   is  $BLAS_DATA" >&6;}
    24139   fi
    24140   fi
    24141 
    24142 cat >>confdefs.h <<\_ACEOF
    24143 #define COIN_HAS_BLAS 1
    24144 _ACEOF
    24145 
    24146 fi
    24147 
    24148 # Define the Makefile conditional
    24149 
    24150 
    24151 if test $coin_has_blas != notGiven &&
    24152                 test $coin_has_blas != skipping; then
    24153   COIN_HAS_BLAS_TRUE=
    24154   COIN_HAS_BLAS_FALSE='#'
    24155 else
    24156   COIN_HAS_BLAS_TRUE='#'
    24157   COIN_HAS_BLAS_FALSE=
    24158 fi
    24159 
    24160 
    24161 
    24162   fi
    2416323915
    2416423916elif test "x$use_blas" != x && test "$use_blas" != no; then
     
    2436824120    # replace -L${libdir} by absolute path to build directory in linker flags
    2436924121    # we assume that the build directory is ../Metis/src if this directory exists, otherwise we assume that it is ../Metis
    24370     METIS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\(^ *\)/-I\`${CYGPATH_W} \1\`/gp' ../Metis/coinmetis-uninstalled.pc`
     24122    METIS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Metis/coinmetis-uninstalled.pc`
    2437124123    projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Metis/coinmetis-uninstalled.pc`
    2437224124    if test "x$projectlibs" != x ; then
     
    2463424386echo "${ECHO_T}$MY_FDEFS" >&6
    2463524387
    24636                                         ac_config_files="$ac_config_files Makefile mumps_addlibs.txt coinmumps.pc coinmumps-uninstalled.pc"
     24388                              ac_config_files="$ac_config_files Makefile coinmumps.pc coinmumps-uninstalled.pc"
    2463724389
    2463824390
     
    2486824620   { (exit 1); exit 1; }; }
    2486924621fi
    24870 if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
    24871   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
     24622if test -z "${COIN_HAS_PKGCONFIG_TRUE}" && test -z "${COIN_HAS_PKGCONFIG_FALSE}"; then
     24623  { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2487224624Usually this means the macro was only invoked conditionally." >&5
    24873 echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
    24874 Usually this means the macro was only invoked conditionally." >&2;}
    24875    { (exit 1); exit 1; }; }
    24876 fi
    24877 if test -z "${COIN_HAS_BLAS_TRUE}" && test -z "${COIN_HAS_BLAS_FALSE}"; then
    24878   { { echo "$as_me:$LINENO: error: conditional \"COIN_HAS_BLAS\" was never defined.
    24879 Usually this means the macro was only invoked conditionally." >&5
    24880 echo "$as_me: error: conditional \"COIN_HAS_BLAS\" was never defined.
     24625echo "$as_me: error: conditional \"COIN_HAS_PKGCONFIG\" was never defined.
    2488124626Usually this means the macro was only invoked conditionally." >&2;}
    2488224627   { (exit 1); exit 1; }; }
     
    2536425109  # Handling of arguments.
    2536525110  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    25366   "mumps_addlibs.txt" ) CONFIG_FILES="$CONFIG_FILES mumps_addlibs.txt" ;;
    2536725111  "coinmumps.pc" ) CONFIG_FILES="$CONFIG_FILES coinmumps.pc" ;;
    2536825112  "coinmumps-uninstalled.pc" ) CONFIG_FILES="$CONFIG_FILES coinmumps-uninstalled.pc" ;;
     
    2555425298s,@PKG_CONFIG@,$PKG_CONFIG,;t t
    2555525299s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
     25300s,@COIN_HAS_PKGCONFIG_TRUE@,$COIN_HAS_PKGCONFIG_TRUE,;t t
     25301s,@COIN_HAS_PKGCONFIG_FALSE@,$COIN_HAS_PKGCONFIG_FALSE,;t t
    2555625302s,@BLAS_LIBS@,$BLAS_LIBS,;t t
    2555725303s,@BLAS_CFLAGS@,$BLAS_CFLAGS,;t t
  • ThirdParty/Mumps/branches/split/configure.ac

    r1536 r1539  
    144144AC_MSG_RESULT([$MY_FDEFS])
    145145
    146 AC_CONFIG_FILES([Makefile mumps_addlibs.txt coinmumps.pc coinmumps-uninstalled.pc])
     146AC_CONFIG_FILES([Makefile coinmumps.pc coinmumps-uninstalled.pc])
    147147
    148148AC_COIN_FINALIZE
Note: See TracChangeset for help on using the changeset viewer.