Changeset 1514
- Timestamp:
- Apr 24, 2010 4:11:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Mumps/branches/split/configure
r1508 r1514 23857 23857 #call fallback in case the previous failed, maybe because pkg-config was not available 23858 23858 23859 if test $coin_has_blas != "yes" ; then23859 if test x$coin_has_blas != "xyes" ; then 23860 23860 echo "$as_me:$LINENO: checking for COIN-OR module Blas (fallback)" >&5 23861 23861 echo $ECHO_N "checking for COIN-OR module Blas (fallback)... $ECHO_C" >&6 … … 23883 23883 # add CYGPATH_W cludge into include flags 23884 23884 # 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/Blas 23885 23886 BLAS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../ThirdParty/Blas/coinblas-uninstalled.pc` 23886 23887 projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../ThirdParty/Blas/coinblas-uninstalled.pc` 23887 23888 if test "x$projectlibs" != x ; then 23888 BLAS_LIBS="-L`cd ../ThirdParty/Blas; pwd` $projectlibs" 23889 if test -d ../ThirdParty/Blas/src ; then 23890 BLAS_LIBS="-L`cd ../ThirdParty/Blas/src; pwd` $projectlibs" 23891 else 23892 BLAS_LIBS="-L`cd ../ThirdParty/Blas; pwd` $projectlibs" 23893 fi 23894 else 23895 BLAS_LIBS=`sed -n -e 's/Libs://p' ../ThirdParty/Blas/coinblas-uninstalled.pc` 23889 23896 fi 23890 23897 BLAS_DATA=`sed -n -e 's/datadir=//gp' ../ThirdParty/Blas/coinblas-uninstalled.pc` 23891 23898 23892 23899 ADDLIBS="$ADDLIBS $BLAS_LIBS" 23893 23894 REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas" 23900 REQUIREDPACKAGES="$REQUIREDPACKAGES coinblas" 23901 23895 23902 23896 23903 … … 24110 24117 24111 24118 24112 if test $coin_has_metis != "yes" ; then24119 if test x$coin_has_metis != "xyes" ; then 24113 24120 echo "$as_me:$LINENO: checking for COIN-OR module Metis (fallback)" >&5 24114 24121 echo $ECHO_N "checking for COIN-OR module Metis (fallback)... $ECHO_C" >&6 … … 24136 24143 # add CYGPATH_W cludge into include flags 24137 24144 # replace -L${libdir} by absolute path to build directory in linker flags 24145 # we assume that the build directory is ../Metis/src if this directory exists, otherwise we assume that it is ../Metis 24138 24146 METIS_CFLAGS=`sed -n -e 's/Cflags://' -e 's/-I\([^ ]*\)/-I\`${CYGPATH_W} \1\`/gp' ../Metis/coinmetis-uninstalled.pc` 24139 24147 projectlibs=`sed -n -e 's/Libs://' -e 's/-L\${libdir}//p' ../Metis/coinmetis-uninstalled.pc` 24140 24148 if test "x$projectlibs" != x ; then 24141 METIS_LIBS="-L`cd ../Metis; pwd` $projectlibs" 24149 if test -d ../Metis/src ; then 24150 METIS_LIBS="-L`cd ../Metis/src; pwd` $projectlibs" 24151 else 24152 METIS_LIBS="-L`cd ../Metis; pwd` $projectlibs" 24153 fi 24154 else 24155 METIS_LIBS=`sed -n -e 's/Libs://p' ../Metis/coinmetis-uninstalled.pc` 24142 24156 fi 24143 24157 METIS_DATA=`sed -n -e 's/datadir=//gp' ../Metis/coinmetis-uninstalled.pc` 24144 24158 24145 24159 ADDLIBS="$ADDLIBS $METIS_LIBS" 24146 24147 REQUIREDPACKAGES="$REQUIREDPACKAGES coinmetis" 24160 REQUIREDPACKAGES="$REQUIREDPACKAGES coinmetis" 24161 24148 24162 24149 24163
Note: See TracChangeset
for help on using the changeset viewer.