Changeset 1925
- Timestamp:
- Dec 19, 2010 11:40:37 AM (10 years ago)
- Location:
- ThirdParty/Mumps/stable/1.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Mumps/stable/1.3
- Property svn:mergeinfo changed
/ThirdParty/Mumps/trunk (added) merged: 1765,1829,1876,1887,1908,1914
- Property svn:mergeinfo changed
-
ThirdParty/Mumps/stable/1.3/Makefile.in
r1747 r1925 150 150 AWK = @AWK@ 151 151 BLAS_CFLAGS = @BLAS_CFLAGS@ 152 BLAS_CFLAGS_INSTALLED = @BLAS_CFLAGS_INSTALLED@ 152 153 BLAS_DATA = @BLAS_DATA@ 154 BLAS_DATA_INSTALLED = @BLAS_DATA_INSTALLED@ 155 BLAS_DEPENDENCIES = @BLAS_DEPENDENCIES@ 153 156 BLAS_LIBS = @BLAS_LIBS@ 157 BLAS_LIBS_INSTALLED = @BLAS_LIBS_INSTALLED@ 154 158 BUILDTOOLSDIR = @BUILDTOOLSDIR@ 155 159 CC = @CC@ … … 157 161 CDEFS = @CDEFS@ 158 162 CFLAGS = @CFLAGS@ $(MY_DEFS) 163 COIN_CC_IS_CL_FALSE = @COIN_CC_IS_CL_FALSE@ 164 COIN_CC_IS_CL_TRUE = @COIN_CC_IS_CL_TRUE@ 159 165 COIN_HAS_BLAS_FALSE = @COIN_HAS_BLAS_FALSE@ 160 166 COIN_HAS_BLAS_TRUE = @COIN_HAS_BLAS_TRUE@ … … 208 214 MAKEINFO = @MAKEINFO@ 209 215 METIS_CFLAGS = @METIS_CFLAGS@ 216 METIS_CFLAGS_INSTALLED = @METIS_CFLAGS_INSTALLED@ 210 217 METIS_DATA = @METIS_DATA@ 218 METIS_DATA_INSTALLED = @METIS_DATA_INSTALLED@ 219 METIS_DEPENDENCIES = @METIS_DEPENDENCIES@ 211 220 METIS_LIBS = @METIS_LIBS@ 221 METIS_LIBS_INSTALLED = @METIS_LIBS_INSTALLED@ 212 222 MPICC = @MPICC@ 213 223 MPIF77 = @MPIF77@ … … 216 226 MUMPSSRCDIR = @MUMPSSRCDIR@ 217 227 MUMPS_CFLAGS = @MUMPS_CFLAGS@ 228 MUMPS_CFLAGS_INSTALLED = @MUMPS_CFLAGS_INSTALLED@ 229 MUMPS_DEPENDENCIES = @MUMPS_DEPENDENCIES@ 218 230 MUMPS_LIBS = @MUMPS_LIBS@ 231 MUMPS_LIBS_INSTALLED = @MUMPS_LIBS_INSTALLED@ 219 232 MUMPS_PCLIBS = @MUMPS_PCLIBS@ 220 233 MUMPS_PCREQUIRES = @MUMPS_PCREQUIRES@ -
ThirdParty/Mumps/stable/1.3/coinmumps-uninstalled.pc.in
r1684 r1925 5 5 Description: Multifrontal Massively Parallel sparse direct Solver 6 6 Version: 4.9 7 Libs: -L${libdir} -lcoinmumps@MUMPS_PCLIBS@7 Libs: ${libdir}/libcoinmumps.la @MUMPS_PCLIBS@ 8 8 Cflags: -I@abs_source_dir@/MUMPS/libseq -I@abs_source_dir@/MUMPS/include 9 9 Requires: @MUMPS_PCREQUIRES@ -
ThirdParty/Mumps/stable/1.3/configure
r1858 r1925 473 473 #endif" 474 474 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 C DEFS 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_DATACOIN_HAS_METIS_TRUE COIN_HAS_METIS_FALSE MUMPSDIR MUMPSOBJDIR MUMPSSRCDIR MY_FDEFS LIBEXT VPATH_DISTCLEANFILES ABSBUILDDIR LIBOBJS LTLIBOBJS'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 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' 476 476 ac_subst_files='' 477 477 … … 1947 1947 fi 1948 1948 1949 # add automake conditional so we can recognize cl compiler in makefile 1950 coin_cc_is_cl=false 1951 if 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 1957 fi 1958 1959 1960 if test $coin_cc_is_cl = true; then 1961 COIN_CC_IS_CL_TRUE= 1962 COIN_CC_IS_CL_FALSE='#' 1963 else 1964 COIN_CC_IS_CL_TRUE='#' 1965 COIN_CC_IS_CL_FALSE= 1966 fi 1967 1968 1949 1969 1950 1970 … … 3377 3397 3378 3398 # Provide some information about the compiler. 3379 echo "$as_me:33 79:" \3399 echo "$as_me:3399:" \ 3380 3400 "checking for Fortran 77 compiler version" >&5 3381 3401 ac_compiler=`set X $ac_compile; echo $2` … … 3945 3965 ac_save_FFLAGS=$FFLAGS 3946 3966 FFLAGS="$FFLAGS $ac_verb" 3947 (eval echo $as_me:39 47: \"$ac_link\") >&53967 (eval echo $as_me:3967: \"$ac_link\") >&5 3948 3968 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 3949 3969 echo "$ac_f77_v_output" >&5 … … 4023 4043 ac_save_FFLAGS=$FFLAGS 4024 4044 FFLAGS="$FFLAGS $ac_cv_prog_f77_v" 4025 (eval echo $as_me:40 25: \"$ac_link\") >&54045 (eval echo $as_me:4045: \"$ac_link\") >&5 4026 4046 ac_f77_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'` 4027 4047 echo "$ac_f77_v_output" >&5 … … 7082 7102 *-*-irix6*) 7083 7103 # Find out which ABI we are using. 7084 echo '#line 7 084 "configure"' > conftest.$ac_ext7104 echo '#line 7104 "configure"' > conftest.$ac_ext 7085 7105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 7086 7106 (eval $ac_compile) 2>&5 … … 9078 9098 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9079 9099 -e 's:$: $lt_compiler_flag:'` 9080 (eval echo "\"\$as_me:9 080: $lt_compile\"" >&5)9100 (eval echo "\"\$as_me:9100: $lt_compile\"" >&5) 9081 9101 (eval "$lt_compile" 2>conftest.err) 9082 9102 ac_status=$? 9083 9103 cat conftest.err >&5 9084 echo "$as_me:9 084: \$? = $ac_status" >&59104 echo "$as_me:9104: \$? = $ac_status" >&5 9085 9105 if (exit $ac_status) && test -s "$ac_outfile"; then 9086 9106 # The compiler can only warn and ignore the option if not recognized … … 9346 9366 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9347 9367 -e 's:$: $lt_compiler_flag:'` 9348 (eval echo "\"\$as_me:93 48: $lt_compile\"" >&5)9368 (eval echo "\"\$as_me:9368: $lt_compile\"" >&5) 9349 9369 (eval "$lt_compile" 2>conftest.err) 9350 9370 ac_status=$? 9351 9371 cat conftest.err >&5 9352 echo "$as_me:93 52: \$? = $ac_status" >&59372 echo "$as_me:9372: \$? = $ac_status" >&5 9353 9373 if (exit $ac_status) && test -s "$ac_outfile"; then 9354 9374 # The compiler can only warn and ignore the option if not recognized … … 9450 9470 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9451 9471 -e 's:$: $lt_compiler_flag:'` 9452 (eval echo "\"\$as_me:94 52: $lt_compile\"" >&5)9472 (eval echo "\"\$as_me:9472: $lt_compile\"" >&5) 9453 9473 (eval "$lt_compile" 2>out/conftest.err) 9454 9474 ac_status=$? 9455 9475 cat out/conftest.err >&5 9456 echo "$as_me:94 56: \$? = $ac_status" >&59476 echo "$as_me:9476: \$? = $ac_status" >&5 9457 9477 if (exit $ac_status) && test -s out/conftest2.$ac_objext 9458 9478 then … … 11867 11887 lt_status=$lt_dlunknown 11868 11888 cat > conftest.$ac_ext <<EOF 11869 #line 118 69 "configure"11889 #line 11889 "configure" 11870 11890 #include "confdefs.h" 11871 11891 … … 11967 11987 lt_status=$lt_dlunknown 11968 11988 cat > conftest.$ac_ext <<EOF 11969 #line 119 69 "configure"11989 #line 11989 "configure" 11970 11990 #include "confdefs.h" 11971 11991 … … 14327 14347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14328 14348 -e 's:$: $lt_compiler_flag:'` 14329 (eval echo "\"\$as_me:143 29: $lt_compile\"" >&5)14349 (eval echo "\"\$as_me:14349: $lt_compile\"" >&5) 14330 14350 (eval "$lt_compile" 2>conftest.err) 14331 14351 ac_status=$? 14332 14352 cat conftest.err >&5 14333 echo "$as_me:143 33: \$? = $ac_status" >&514353 echo "$as_me:14353: \$? = $ac_status" >&5 14334 14354 if (exit $ac_status) && test -s "$ac_outfile"; then 14335 14355 # The compiler can only warn and ignore the option if not recognized … … 14431 14451 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 14432 14452 -e 's:$: $lt_compiler_flag:'` 14433 (eval echo "\"\$as_me:144 33: $lt_compile\"" >&5)14453 (eval echo "\"\$as_me:14453: $lt_compile\"" >&5) 14434 14454 (eval "$lt_compile" 2>out/conftest.err) 14435 14455 ac_status=$? 14436 14456 cat out/conftest.err >&5 14437 echo "$as_me:144 37: \$? = $ac_status" >&514457 echo "$as_me:14457: \$? = $ac_status" >&5 14438 14458 if (exit $ac_status) && test -s out/conftest2.$ac_objext 14439 14459 then … … 16001 16021 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16002 16022 -e 's:$: $lt_compiler_flag:'` 16003 (eval echo "\"\$as_me:160 03: $lt_compile\"" >&5)16023 (eval echo "\"\$as_me:16023: $lt_compile\"" >&5) 16004 16024 (eval "$lt_compile" 2>conftest.err) 16005 16025 ac_status=$? 16006 16026 cat conftest.err >&5 16007 echo "$as_me:160 07: \$? = $ac_status" >&516027 echo "$as_me:16027: \$? = $ac_status" >&5 16008 16028 if (exit $ac_status) && test -s "$ac_outfile"; then 16009 16029 # The compiler can only warn and ignore the option if not recognized … … 16105 16125 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 16106 16126 -e 's:$: $lt_compiler_flag:'` 16107 (eval echo "\"\$as_me:161 07: $lt_compile\"" >&5)16127 (eval echo "\"\$as_me:16127: $lt_compile\"" >&5) 16108 16128 (eval "$lt_compile" 2>out/conftest.err) 16109 16129 ac_status=$? 16110 16130 cat out/conftest.err >&5 16111 echo "$as_me:161 11: \$? = $ac_status" >&516131 echo "$as_me:16131: \$? = $ac_status" >&5 16112 16132 if (exit $ac_status) && test -s out/conftest2.$ac_objext 16113 16133 then … … 18312 18332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18313 18333 -e 's:$: $lt_compiler_flag:'` 18314 (eval echo "\"\$as_me:183 14: $lt_compile\"" >&5)18334 (eval echo "\"\$as_me:18334: $lt_compile\"" >&5) 18315 18335 (eval "$lt_compile" 2>conftest.err) 18316 18336 ac_status=$? 18317 18337 cat conftest.err >&5 18318 echo "$as_me:183 18: \$? = $ac_status" >&518338 echo "$as_me:18338: \$? = $ac_status" >&5 18319 18339 if (exit $ac_status) && test -s "$ac_outfile"; then 18320 18340 # The compiler can only warn and ignore the option if not recognized … … 18580 18600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18581 18601 -e 's:$: $lt_compiler_flag:'` 18582 (eval echo "\"\$as_me:18 582: $lt_compile\"" >&5)18602 (eval echo "\"\$as_me:18602: $lt_compile\"" >&5) 18583 18603 (eval "$lt_compile" 2>conftest.err) 18584 18604 ac_status=$? 18585 18605 cat conftest.err >&5 18586 echo "$as_me:18 586: \$? = $ac_status" >&518606 echo "$as_me:18606: \$? = $ac_status" >&5 18587 18607 if (exit $ac_status) && test -s "$ac_outfile"; then 18588 18608 # The compiler can only warn and ignore the option if not recognized … … 18684 18704 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 18685 18705 -e 's:$: $lt_compiler_flag:'` 18686 (eval echo "\"\$as_me:18 686: $lt_compile\"" >&5)18706 (eval echo "\"\$as_me:18706: $lt_compile\"" >&5) 18687 18707 (eval "$lt_compile" 2>out/conftest.err) 18688 18708 ac_status=$? 18689 18709 cat out/conftest.err >&5 18690 echo "$as_me:18 690: \$? = $ac_status" >&518710 echo "$as_me:18710: \$? = $ac_status" >&5 18691 18711 if (exit $ac_status) && test -s out/conftest2.$ac_objext 18692 18712 then … … 23843 23863 23844 23864 23865 23866 23867 23868 23869 23870 23871 23845 23872 #check if user provided LIBS, CFLAGS, or DATA for module 23846 23873 if test $coin_has_blas != skipping; then … … 23900 23927 if test "$CYGPATH_W" != "echo" ; then 23901 23928 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 23902 23903 23929 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 23930 fi 23904 23931 BLAS_CFLAGS="$cflags" 23905 23932 BLAS_LIBS=`$PKG_CONFIG --libs "coinblas" 2>/dev/null` … … 23908 23935 echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5 23909 23936 echo "${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" 23911 23950 23912 23951 … … 23932 23971 export PKG_CONFIG_PATH 23933 23972 23934 # augment X_CFLAGS and X_LIBS for each build target X in MUMPS23935 23936 MUMPS_CFLAGS="$BLAS_CFLAGS $MUMPS_CFLAGS"23937 MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS"23938 23939 23973 else 23940 23974 echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5 … … 23946 23980 coin_has_blas=notGiven 23947 23981 BLAS_LIBS= 23982 BLAS_LIBS_INSTALLED= 23948 23983 BLAS_CFLAGS= 23984 BLAS_CFLAGS_INSTALLED= 23949 23985 BLAS_DATA= 23986 BLAS_DATA_INSTALLED= 23950 23987 23951 23988 # initial list of dependencies is "coinblas", but we need to filter out version number specifications (= x, <= x, >= x) … … 23954 23991 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 23955 23992 # 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 23956 23994 # also, we setup the DATA variable 23957 23995 allproj="" 23958 23996 allpcfiles="" 23997 allpcifiles="" 23959 23998 while test "x$projtoprocess" != x ; do 23960 23999 … … 23966 24005 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 23967 24006 # 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" ; then24007 if test -r "$dir/${proj}-uninstalled.pc" ; then 23969 24008 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 24013 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 24014 pcifile= 24015 fi 23970 24016 break 23971 24017 fi … … 23981 24027 projtoprocess=${projtoprocess/$proj/$projrequires} 23982 24028 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" 23986 24035 fi 23987 24036 … … 23994 24043 allproj=fail 23995 24044 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 23996 24061 fi 23997 24062 … … 24024 24089 fi 24025 24090 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 24032 24106 BLAS_CFLAGS="$projcflags $BLAS_CFLAGS" 24033 24107 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 24046 24109 BLAS_LIBS="$projlibs $BLAS_LIBS" 24047 24110 … … 24051 24114 done 24052 24115 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 24053 24162 24054 24163 # finish up … … 24062 24171 24063 24172 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 24064 24184 24065 24185 MUMPS_PCREQUIRES="coinblas $MUMPS_PCREQUIRES" 24066 24186 MUMPS_CFLAGS="$BLAS_CFLAGS $MUMPS_CFLAGS" 24067 24187 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 24192 fi 24193 24194 24195 24196 if test $coin_has_blas != notGiven && 24197 test $coin_has_blas != skipping; then 24198 COIN_HAS_BLAS_TRUE= 24199 COIN_HAS_BLAS_FALSE='#' 24200 else 24201 COIN_HAS_BLAS_TRUE='#' 24202 COIN_HAS_BLAS_FALSE= 24203 fi 24204 24205 24206 24207 fi 24208 24209 else 24210 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 24211 echo "${ECHO_T}$coin_has_blas" >&6 24212 fi 24213 24214 if test $coin_has_blas != skipping && 24215 test $coin_has_blas != notGiven ; then 24216 24217 cat >>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'` 24068 24228 24069 24229 … … 24077 24237 echo "$as_me: Blas LIBS are $BLAS_LIBS" >&6;} 24078 24238 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 24241 echo "$as_me: Blas DEPENDENCIES are $BLAS_DEPENDENCIES" >&6;} 24129 24242 fi 24130 24243 if test -n "$BLAS_DATA" ; then … … 24141 24254 { echo "$as_me:$LINENO: MUMPS LIBS are $MUMPS_LIBS" >&5 24142 24255 echo "$as_me: MUMPS LIBS are $MUMPS_LIBS" >&6;} 24256 { echo "$as_me:$LINENO: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&5 24257 echo "$as_me: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&6;} 24143 24258 24144 24259 fi … … 24186 24301 MUMPS_PCLIBS="$BLAS_LIBS $MUMPS_PCLIBS" 24187 24302 MUMPS_LIBS="$BLAS_LIBS $MUMPS_LIBS" 24303 MUMPS_LIBS_INSTALLED="$BLAS_LIBS $MUMPS_LIBS_INSTALLED" 24188 24304 24189 24305 … … 24201 24317 24202 24318 fi 24319 24203 24320 24204 24321 … … 24226 24343 METIS_CFLAGS= 24227 24344 METIS_DATA= 24345 24346 24347 24348 24349 24350 24351 24228 24352 24229 24353 … … 24293 24417 if test "$CYGPATH_W" != "echo" ; then 24294 24418 # need to put into brackets since otherwise autoconf replaces the brackets in the sed command 24295 24296 24419 cflags=`echo $cflags | sed -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/g'` 24420 fi 24297 24421 METIS_CFLAGS="$cflags" 24298 24422 METIS_LIBS=`$PKG_CONFIG --libs "coinmetis >= 4.0" 2>/dev/null` … … 24301 24425 echo "$as_me:$LINENO: result: yes: $METIS_VERSIONS" >&5 24302 24426 echo "${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" 24304 24440 24305 24441 … … 24325 24461 export PKG_CONFIG_PATH 24326 24462 24327 # augment X_CFLAGS and X_LIBS for each build target X in MUMPS24328 24329 MUMPS_CFLAGS="$METIS_CFLAGS $MUMPS_CFLAGS"24330 MUMPS_LIBS="$METIS_LIBS $MUMPS_LIBS"24331 24332 24463 else 24333 24464 echo "$as_me:$LINENO: result: skipped check via pkg-config, redirect to fallback" >&5 … … 24339 24470 coin_has_metis=notGiven 24340 24471 METIS_LIBS= 24472 METIS_LIBS_INSTALLED= 24341 24473 METIS_CFLAGS= 24474 METIS_CFLAGS_INSTALLED= 24342 24475 METIS_DATA= 24476 METIS_DATA_INSTALLED= 24343 24477 24344 24478 # initial list of dependencies is "coinmetis >= 4.0", but we need to filter out version number specifications (= x, <= x, >= x) … … 24347 24481 # we first expand the list of projects to process by adding all dependencies just behind the project which depends on it 24348 24482 # 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 24349 24484 # also, we setup the DATA variable 24350 24485 allproj="" 24351 24486 allpcfiles="" 24487 allpcifiles="" 24352 24488 while test "x$projtoprocess" != x ; do 24353 24489 … … 24359 24495 for dir in $COIN_PKG_CONFIG_PATH_UNINSTALLED ; do 24360 24496 # 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" ; then24497 if test -r "$dir/${proj}-uninstalled.pc" ; then 24362 24498 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 24503 echo "$as_me: WARNING: Found $pcfile, but $dir/${proj}.pc is not available. This may break Makefile's of examples." >&2;} 24504 pcifile= 24505 fi 24363 24506 break 24364 24507 fi … … 24374 24517 projtoprocess=${projtoprocess/$proj/$projrequires} 24375 24518 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" 24379 24525 fi 24380 24526 … … 24387 24533 allproj=fail 24388 24534 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 24389 24551 fi 24390 24552 … … 24417 24579 fi 24418 24580 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 24425 24596 METIS_CFLAGS="$projcflags $METIS_CFLAGS" 24426 24597 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 24439 24599 METIS_LIBS="$projlibs $METIS_LIBS" 24440 24600 … … 24444 24604 done 24445 24605 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 24446 24652 24447 24653 # finish up … … 24455 24661 24456 24662 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 24457 24674 24458 24675 MUMPS_PCREQUIRES="coinmetis >= 4.0 $MUMPS_PCREQUIRES" 24459 24676 MUMPS_CFLAGS="$METIS_CFLAGS $MUMPS_CFLAGS" 24460 24677 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 24682 fi 24683 24684 24685 24686 if test $coin_has_metis != notGiven && 24687 test $coin_has_metis != skipping; then 24688 COIN_HAS_METIS_TRUE= 24689 COIN_HAS_METIS_FALSE='#' 24690 else 24691 COIN_HAS_METIS_TRUE='#' 24692 COIN_HAS_METIS_FALSE= 24693 fi 24694 24695 24696 24697 fi 24698 24699 else 24700 echo "$as_me:$LINENO: result: $coin_has_metis" >&5 24701 echo "${ECHO_T}$coin_has_metis" >&6 24702 fi 24703 24704 if test $coin_has_metis != skipping && 24705 test $coin_has_metis != notGiven ; then 24706 24707 cat >>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'` 24461 24718 24462 24719 … … 24470 24727 echo "$as_me: Metis LIBS are $METIS_LIBS" >&6;} 24471 24728 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 24731 echo "$as_me: Metis DEPENDENCIES are $METIS_DEPENDENCIES" >&6;} 24522 24732 fi 24523 24733 if test -n "$METIS_DATA" ; then … … 24534 24744 { echo "$as_me:$LINENO: MUMPS LIBS are $MUMPS_LIBS" >&5 24535 24745 echo "$as_me: MUMPS LIBS are $MUMPS_LIBS" >&6;} 24746 { echo "$as_me:$LINENO: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&5 24747 echo "$as_me: MUMPS DEPENDENCIES are $MUMPS_DEPENDENCIES" >&6;} 24536 24748 24537 24749 fi … … 24919 25131 Usually this means the macro was only invoked conditionally." >&5 24920 25132 echo "$as_me: error: conditional \"ALWAYS_FALSE\" was never defined. 25133 Usually this means the macro was only invoked conditionally." >&2;} 25134 { (exit 1); exit 1; }; } 25135 fi 25136 if 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. 25138 Usually this means the macro was only invoked conditionally." >&5 25139 echo "$as_me: error: conditional \"COIN_CC_IS_CL\" was never defined. 24921 25140 Usually this means the macro was only invoked conditionally." >&2;} 24922 25141 { (exit 1); exit 1; }; } … … 25544 25763 s,@build_vendor@,$build_vendor,;t t 25545 25764 s,@build_os@,$build_os,;t t 25765 s,@COIN_CC_IS_CL_TRUE@,$COIN_CC_IS_CL_TRUE,;t t 25766 s,@COIN_CC_IS_CL_FALSE@,$COIN_CC_IS_CL_FALSE,;t t 25546 25767 s,@CDEFS@,$CDEFS,;t t 25547 25768 s,@ADD_CFLAGS@,$ADD_CFLAGS,;t t … … 25645 25866 s,@BLAS_CFLAGS@,$BLAS_CFLAGS,;t t 25646 25867 s,@BLAS_DATA@,$BLAS_DATA,;t t 25868 s,@BLAS_DEPENDENCIES@,$BLAS_DEPENDENCIES,;t t 25869 s,@BLAS_LIBS_INSTALLED@,$BLAS_LIBS_INSTALLED,;t t 25870 s,@BLAS_CFLAGS_INSTALLED@,$BLAS_CFLAGS_INSTALLED,;t t 25871 s,@BLAS_DATA_INSTALLED@,$BLAS_DATA_INSTALLED,;t t 25647 25872 s,@MUMPS_CFLAGS@,$MUMPS_CFLAGS,;t t 25648 25873 s,@MUMPS_LIBS@,$MUMPS_LIBS,;t t 25649 25874 s,@MUMPS_PCLIBS@,$MUMPS_PCLIBS,;t t 25650 25875 s,@MUMPS_PCREQUIRES@,$MUMPS_PCREQUIRES,;t t 25876 s,@MUMPS_DEPENDENCIES@,$MUMPS_DEPENDENCIES,;t t 25877 s,@MUMPS_CFLAGS_INSTALLED@,$MUMPS_CFLAGS_INSTALLED,;t t 25878 s,@MUMPS_LIBS_INSTALLED@,$MUMPS_LIBS_INSTALLED,;t t 25651 25879 s,@COIN_HAS_BLAS_TRUE@,$COIN_HAS_BLAS_TRUE,;t t 25652 25880 s,@COIN_HAS_BLAS_FALSE@,$COIN_HAS_BLAS_FALSE,;t t … … 25654 25882 s,@METIS_CFLAGS@,$METIS_CFLAGS,;t t 25655 25883 s,@METIS_DATA@,$METIS_DATA,;t t 25884 s,@METIS_DEPENDENCIES@,$METIS_DEPENDENCIES,;t t 25885 s,@METIS_LIBS_INSTALLED@,$METIS_LIBS_INSTALLED,;t t 25886 s,@METIS_CFLAGS_INSTALLED@,$METIS_CFLAGS_INSTALLED,;t t 25887 s,@METIS_DATA_INSTALLED@,$METIS_DATA_INSTALLED,;t t 25656 25888 s,@COIN_HAS_METIS_TRUE@,$COIN_HAS_METIS_TRUE,;t t 25657 25889 s,@COIN_HAS_METIS_FALSE@,$COIN_HAS_METIS_FALSE,;t t
Note: See TracChangeset
for help on using the changeset viewer.