Changeset 1536
- Timestamp:
- Apr 30, 2010 9:06:40 AM (11 years ago)
- Location:
- ThirdParty/Mumps/branches/split
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Mumps/branches/split/configure
r1514 r1536 23632 23632 23633 23633 if test "x$use_blas" = xBUILD ; then 23634 if test -d ../ThirdParty/Blas ; then 23634 23635 23635 23636 echo "$as_me:$LINENO: checking for COIN-OR module Blas" >&5 … … 23770 23771 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 23771 23772 else 23772 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 23773 echo "${ECHO_T}skipped check via pkg-config" >&6 23773 #if 4th argument is given, try fallback - whereby we take the first word from coinblas as basename for the .pc file 23774 23775 if test x$coin_has_blas != "xyes" ; then 23776 23777 23778 23779 coin_has_blas=notGiven 23780 23781 # check if user wants to skip module in any case 23782 if test x"$COIN_SKIP_PROJECTS" != x; then 23783 for dir in $COIN_SKIP_PROJECTS; do 23784 if test $dir = "Blas"; then 23785 coin_has_blas=skipping 23786 fi 23787 done 23788 fi 23789 23790 BLAS_LIBS= 23791 BLAS_CFLAGS= 23792 BLAS_DATA= 23793 23794 23795 if test $coin_has_blas != "skipping" ; then 23796 # 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 23798 # read CFLAGS and LIBS from m4_bpatsubst(coinblas, [ .*], [])-uninstalled.pc file 23799 # add CYGPATH_W cludge into include flags 23800 # 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` 23804 if test "x$projectlibs" != x ; then 23805 if test -d ../ThirdParty/Blas/src ; then 23806 BLAS_LIBS="-L`cd ../ThirdParty/Blas/src; pwd` $projectlibs" 23807 else 23808 BLAS_LIBS="-L`cd ../ThirdParty/Blas; pwd` $projectlibs" 23809 fi 23810 else 23811 BLAS_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Blas/coinblas-uninstalled.pc` 23812 fi 23813 BLAS_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Blas/coinblas-uninstalled.pc` 23814 23815 ADDLIBS="$ADDLIBS $BLAS_LIBS" 23816 REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas" 23817 23818 23819 23820 cat >>confdefs.h <<\_ACEOF 23821 #define COIN_HAS_BLAS 1 23822 _ACEOF 23823 23824 23825 23826 coin_has_blas=yes 23827 echo "$as_me:$LINENO: result: ../ThirdParty/Blas" >&5 23828 echo "${ECHO_T}../ThirdParty/Blas" >&6 23829 else 23830 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 23831 echo "${ECHO_T}$coin_has_blas" >&6 23832 fi 23833 else 23834 echo "$as_me:$LINENO: result: skipping" >&5 23835 echo "${ECHO_T}skipping" >&6 23836 fi 23837 23838 #if user did not disable setting of makefile conditional, do it 23839 23840 23841 if test $coin_has_blas != notGiven && 23842 test $coin_has_blas != skipping; then 23843 COIN_HAS_BLAS_TRUE= 23844 COIN_HAS_BLAS_FALSE='#' 23845 else 23846 COIN_HAS_BLAS_TRUE='#' 23847 COIN_HAS_BLAS_FALSE= 23848 fi 23849 23850 23851 fi 23852 23853 23774 23854 fi 23775 23855 … … 23816 23896 23817 23897 23818 23819 elif test "x$use_blas" != x && test "$use_blas" != no; then 23820 coin_has_blas=yes 23821 23822 23823 if test 0 = 0; then 23824 COIN_HAS_BLAS_TRUE= 23825 COIN_HAS_BLAS_FALSE='#' 23826 else 23827 COIN_HAS_BLAS_TRUE='#' 23828 COIN_HAS_BLAS_FALSE= 23829 fi 23830 23831 23832 cat >>confdefs.h <<\_ACEOF 23833 #define COIN_HAS_BLAS 1 23834 _ACEOF 23835 23836 BLAS_LIBS="$use_blas" 23837 BLAS_CFLAGS= 23838 BLAS_DATA= 23839 23840 23841 23842 23843 else 23844 coin_has_blas=no 23845 23846 23847 if test 0 = 1; then 23848 COIN_HAS_BLAS_TRUE= 23849 COIN_HAS_BLAS_FALSE='#' 23850 else 23851 COIN_HAS_BLAS_TRUE='#' 23852 COIN_HAS_BLAS_FALSE= 23853 fi 23854 23855 fi 23856 23857 #call fallback in case the previous failed, maybe because pkg-config was not available 23858 23859 if test x$coin_has_blas != "xyes" ; then 23860 echo "$as_me:$LINENO: checking for COIN-OR module Blas (fallback)" >&5 23861 echo $ECHO_N "checking for COIN-OR module Blas (fallback)... $ECHO_C" >&6 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 23862 23902 23863 23903 coin_has_blas=notGiven … … 23877 23917 23878 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 23879 24059 if test $coin_has_blas != "skipping" ; then 23880 24060 # if the project is available and configured, then a project-uninstalled.pc file should have been created 23881 if test -r ../ ThirdParty/Blas/coinblas-uninstalled.pc ; then23882 # read CFLAGS and LIBS from coinblas-uninstalled.pc file24061 if test -r ../Blas/coinblas-uninstalled.pc ; then 24062 # read CFLAGS and LIBS from m4_bpatsubst(coinblas, [ .*], [])-uninstalled.pc file 23883 24063 # add CYGPATH_W cludge into include flags 23884 24064 # replace -L${libdir} by absolute path to build directory in linker flags 23885 # we assume that the build directory is ../ ThirdParty/Blas/src if this directory exists, otherwise we assume that it is ../ThirdParty/Blas23886 BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\( [^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Blas/coinblas-uninstalled.pc`23887 projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ ThirdParty/Blas/coinblas-uninstalled.pc`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` 23888 24068 if test "x$projectlibs" != x ; then 23889 if test -d ../ ThirdParty/Blas/src ; then23890 BLAS_LIBS="-L`cd ../ ThirdParty/Blas/src; pwd` $projectlibs"24069 if test -d ../Blas/src ; then 24070 BLAS_LIBS="-L`cd ../Blas/src; pwd` $projectlibs" 23891 24071 else 23892 BLAS_LIBS="-L`cd ../ ThirdParty/Blas; pwd` $projectlibs"24072 BLAS_LIBS="-L`cd ../Blas; pwd` $projectlibs" 23893 24073 fi 23894 24074 else 23895 BLAS_LIBS=`sed -n -e 's/Libs://p' ../ ThirdParty/Blas/coinblas-uninstalled.pc`24075 BLAS_LIBS=`sed -n -e 's/Libs://p' ../Blas/coinblas-uninstalled.pc` 23896 24076 fi 23897 BLAS_DATA=`sed -n -e 's/datadir=//gp' ../ ThirdParty/Blas/coinblas-uninstalled.pc`24077 BLAS_DATA=`sed -n -e 's/datadir=//gp' ../Blas/coinblas-uninstalled.pc` 23898 24078 23899 24079 ADDLIBS="$ADDLIBS $BLAS_LIBS" … … 23909 24089 23910 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 23911 24096 fi 24097 else 24098 echo "$as_me:$LINENO: result: skipping" >&5 24099 echo "${ECHO_T}skipping" >&6 23912 24100 fi 23913 24101 … … 23925 24113 23926 24114 23927 23928 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 24115 fi 24116 24117 24118 fi 24119 24120 else 24121 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 23929 24122 echo "${ECHO_T}$coin_has_blas" >&6 23930 24123 fi 23931 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 24163 24164 elif test "x$use_blas" != x && test "$use_blas" != no; then 24165 coin_has_blas=yes 24166 24167 24168 if test 0 = 0; then 24169 COIN_HAS_BLAS_TRUE= 24170 COIN_HAS_BLAS_FALSE='#' 24171 else 24172 COIN_HAS_BLAS_TRUE='#' 24173 COIN_HAS_BLAS_FALSE= 24174 fi 24175 24176 24177 cat >>confdefs.h <<\_ACEOF 24178 #define COIN_HAS_BLAS 1 24179 _ACEOF 24180 24181 BLAS_LIBS="$use_blas" 24182 BLAS_CFLAGS= 24183 BLAS_DATA= 24184 24185 24186 24187 24188 else 24189 coin_has_blas=no 24190 24191 24192 if test 0 = 1; then 24193 COIN_HAS_BLAS_TRUE= 24194 COIN_HAS_BLAS_FALSE='#' 24195 else 24196 COIN_HAS_BLAS_TRUE='#' 24197 COIN_HAS_BLAS_FALSE= 24198 fi 24199 24200 fi 23932 24201 23933 24202 … … 24070 24339 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 24071 24340 else 24072 echo "$as_me:$LINENO: result: skipped check via pkg-config" >&5 24073 echo "${ECHO_T}skipped check via pkg-config" >&6 24341 #if 4th argument is given, try fallback - whereby we take the first word from coinmetis >= 4.0 as basename for the .pc file 24342 24343 if test x$coin_has_metis != "xyes" ; then 24344 24345 24346 24347 coin_has_metis=notGiven 24348 24349 # check if user wants to skip module in any case 24350 if test x"$COIN_SKIP_PROJECTS" != x; then 24351 for dir in $COIN_SKIP_PROJECTS; do 24352 if test $dir = "Metis"; then 24353 coin_has_metis=skipping 24354 fi 24355 done 24356 fi 24357 24358 METIS_LIBS= 24359 METIS_CFLAGS= 24360 METIS_DATA= 24361 24362 24363 if test $coin_has_metis != "skipping" ; then 24364 # if the project is available and configured, then a project-uninstalled.pc file should have been created 24365 if test -r ../Metis/coinmetis-uninstalled.pc ; then 24366 # read CFLAGS and LIBS from m4_bpatsubst(coinmetis >= 4.0, [ .*], [])-uninstalled.pc file 24367 # add CYGPATH_W cludge into include flags 24368 # replace -L${libdir} by absolute path to build directory in linker flags 24369 # 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` 24371 projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Metis/coinmetis-uninstalled.pc` 24372 if test "x$projectlibs" != x ; then 24373 if test -d ../Metis/src ; then 24374 METIS_LIBS="-L`cd ../Metis/src; pwd` $projectlibs" 24375 else 24376 METIS_LIBS="-L`cd ../Metis; pwd` $projectlibs" 24377 fi 24378 else 24379 METIS_LIBS=`sed -n -e 's/Libs://p' ../Metis/coinmetis-uninstalled.pc` 24380 fi 24381 METIS_DATA=`sed -n -e 's/datadir=//gp' ../Metis/coinmetis-uninstalled.pc` 24382 24383 ADDLIBS="$ADDLIBS $METIS_LIBS" 24384 REQUIREDPACKAGES="$REQUIREDPACKAGES coinmetis" 24385 24386 24387 24388 cat >>confdefs.h <<\_ACEOF 24389 #define COIN_HAS_METIS 1 24390 _ACEOF 24391 24392 24393 24394 coin_has_metis=yes 24395 echo "$as_me:$LINENO: result: ../Metis" >&5 24396 echo "${ECHO_T}../Metis" >&6 24397 else 24398 echo "$as_me:$LINENO: result: $coin_has_metis" >&5 24399 echo "${ECHO_T}$coin_has_metis" >&6 24400 fi 24401 else 24402 echo "$as_me:$LINENO: result: skipping" >&5 24403 echo "${ECHO_T}skipping" >&6 24404 fi 24405 24406 #if user did not disable setting of makefile conditional, do it 24407 24408 24409 if test $coin_has_metis != notGiven && 24410 test $coin_has_metis != skipping; then 24411 COIN_HAS_METIS_TRUE= 24412 COIN_HAS_METIS_FALSE='#' 24413 else 24414 COIN_HAS_METIS_TRUE='#' 24415 COIN_HAS_METIS_FALSE= 24416 fi 24417 24418 24419 fi 24420 24421 24074 24422 fi 24075 24423 … … 24115 24463 24116 24464 24117 24118 24119 if test x$coin_has_metis != "xyes" ; then24120 echo "$as_me:$LINENO: checking for COIN-OR module Metis (fallback)" >&524121 echo $ECHO_N "checking for COIN-OR module Metis (fallback)... $ECHO_C" >&624122 24123 coin_has_metis=notGiven24124 24125 # check if user wants to skip module in any case24126 if test x"$COIN_SKIP_PROJECTS" != x; then24127 for dir in $COIN_SKIP_PROJECTS; do24128 if test $dir = "Metis"; then24129 coin_has_metis=skipping24130 fi24131 done24132 fi24133 24134 METIS_LIBS=24135 METIS_CFLAGS=24136 METIS_DATA=24137 24138 24139 if test $coin_has_metis != "skipping" ; then24140 # if the project is available and configured, then a project-uninstalled.pc file should have been created24141 if test -r ../Metis/coinmetis-uninstalled.pc ; then24142 # read CFLAGS and LIBS from coinmetis-uninstalled.pc file24143 # add CYGPATH_W cludge into include flags24144 # replace -L${libdir} by absolute path to build directory in linker flags24145 # we assume that the build directory is ../Metis/src if this directory exists, otherwise we assume that it is ../Metis24146 METIS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Metis/coinmetis-uninstalled.pc`24147 projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Metis/coinmetis-uninstalled.pc`24148 if test "x$projectlibs" != x ; then24149 if test -d ../Metis/src ; then24150 METIS_LIBS="-L`cd ../Metis/src; pwd` $projectlibs"24151 else24152 METIS_LIBS="-L`cd ../Metis; pwd` $projectlibs"24153 fi24154 else24155 METIS_LIBS=`sed -n -e 's/Libs://p' ../Metis/coinmetis-uninstalled.pc`24156 fi24157 METIS_DATA=`sed -n -e 's/datadir=//gp' ../Metis/coinmetis-uninstalled.pc`24158 24159 ADDLIBS="$ADDLIBS $METIS_LIBS"24160 REQUIREDPACKAGES="$REQUIREDPACKAGES coinmetis"24161 24162 24163 24164 cat >>confdefs.h <<\_ACEOF24165 #define COIN_HAS_METIS 124166 _ACEOF24167 24168 24169 24170 coin_has_metis=yes24171 fi24172 fi24173 24174 #if user did not disable setting of makefile conditional, do it24175 24176 24177 if test $coin_has_metis != notGiven &&24178 test $coin_has_metis != skipping; then24179 COIN_HAS_METIS_TRUE=24180 COIN_HAS_METIS_FALSE='#'24181 else24182 COIN_HAS_METIS_TRUE='#'24183 COIN_HAS_METIS_FALSE=24184 fi24185 24186 24187 24188 echo "$as_me:$LINENO: result: $coin_has_metis" >&524189 echo "${ECHO_T}$coin_has_metis" >&624190 fi24191 24465 24192 24466 … … 24591 24865 Usually this means the macro was only invoked conditionally." >&5 24592 24866 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 24867 Usually this means the macro was only invoked conditionally." >&2;} 24868 { (exit 1); exit 1; }; } 24869 fi 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. 24872 Usually 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. 24593 24881 Usually this means the macro was only invoked conditionally." >&2;} 24594 24882 { (exit 1); exit 1; }; } -
ThirdParty/Mumps/branches/split/configure.ac
r1508 r1536 97 97 98 98 AC_COIN_HAS_MODULE_BLAS 99 AC_COIN_HAS_MODULE(Metis, [coinmetis >= 4.0]) 100 AC_COIN_HAS_MODULE_FALLBACK(Metis, [coinmetis], [../Metis]) 99 AC_COIN_HAS_MODULE(Metis, [coinmetis >= 4.0], [], [../Metis]) 101 100 102 101 if test "$coin_has_metis" = yes; then
Note: See TracChangeset
for help on using the changeset viewer.