- Timestamp:
- Nov 13, 2010 7:58:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r1624 r1630 21102 21102 fi 21103 21103 21104 if test $coin_has_blas = notGiven; then 21105 #check for project by using pkg-config, if pkg-config is available 21106 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21107 if test -n "$PKG_CONFIG" ; then 21108 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21109 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21110 21111 if test -n "$PKG_CONFIG" ; then 21112 if $PKG_CONFIG --exists "coinblas"; then 21113 COINBLAS_VERSION=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null` 21114 coin_has_blas="$COINBLAS_VERSION" 21115 else 21116 COINBLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"` 21117 21118 fi 21119 else 21120 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5 21121 echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;} 21122 { (exit 1); exit 1; }; } 21123 fi 21124 21125 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21126 export PKG_CONFIG_PATH 21127 fi 21128 fi 21129 21130 # if not found yet, check if project is available in present directory 21104 # check if project is available in present directory 21131 21105 if test "$coin_has_blas" = notGiven; then 21132 21106 if test -d $srcdir/ThirdParty/Blas; then … … 21146 21120 fi 21147 21121 21122 # check for project by using pkg-config, if pkg-config is available 21123 if test $coin_has_blas = notGiven; then 21124 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21125 if test -n "$PKG_CONFIG" ; then 21126 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21127 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21128 21129 if test -n "$PKG_CONFIG" ; then 21130 if $PKG_CONFIG --exists "coinblas"; then 21131 COINBLAS_VERSION=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null` 21132 coin_has_blas="$COINBLAS_VERSION" 21133 else 21134 COINBLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"` 21135 21136 fi 21137 else 21138 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5 21139 echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;} 21140 { (exit 1); exit 1; }; } 21141 fi 21142 21143 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21144 export PKG_CONFIG_PATH 21145 fi 21146 fi 21147 21148 21148 echo "$as_me:$LINENO: result: $coin_has_blas" >&5 21149 21149 echo "${ECHO_T}$coin_has_blas" >&6 21150 21150 21151 echo "$as_me:$LINENO: checking whether project Blas need to be configured" >&521152 echo $ECHO_N "checking whether project Blas need to be configured... $ECHO_C" >&621151 echo "$as_me:$LINENO: checking whether project Blas needs to be configured" >&5 21152 echo $ECHO_N "checking whether project Blas needs to be configured... $ECHO_C" >&6 21153 21153 if test "$coin_have_project_dir" = yes ; then 21154 21154 … … 21234 21234 fi 21235 21235 21236 if test $coin_has_lapack = notGiven; then 21237 #check for project by using pkg-config, if pkg-config is available 21238 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21239 if test -n "$PKG_CONFIG" ; then 21240 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21241 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21242 21243 if test -n "$PKG_CONFIG" ; then 21244 if $PKG_CONFIG --exists "coinlapack"; then 21245 COINLAPACK_VERSION=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null` 21246 coin_has_lapack="$COINLAPACK_VERSION" 21247 else 21248 COINLAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"` 21249 21250 fi 21251 else 21252 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5 21253 echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;} 21254 { (exit 1); exit 1; }; } 21255 fi 21256 21257 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21258 export PKG_CONFIG_PATH 21259 fi 21260 fi 21261 21262 # if not found yet, check if project is available in present directory 21236 # check if project is available in present directory 21263 21237 if test "$coin_has_lapack" = notGiven; then 21264 21238 if test -d $srcdir/ThirdParty/Lapack; then … … 21278 21252 fi 21279 21253 21254 # check for project by using pkg-config, if pkg-config is available 21255 if test $coin_has_lapack = notGiven; then 21256 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21257 if test -n "$PKG_CONFIG" ; then 21258 coin_save_PKG_CONFIG_PATH="$PKG_CONFIG_PATH" 21259 PKG_CONFIG_PATH="$COIN_PKG_CONFIG_PATH" ; export PKG_CONFIG_PATH 21260 21261 if test -n "$PKG_CONFIG" ; then 21262 if $PKG_CONFIG --exists "coinlapack"; then 21263 COINLAPACK_VERSION=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null` 21264 coin_has_lapack="$COINLAPACK_VERSION" 21265 else 21266 COINLAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"` 21267 21268 fi 21269 else 21270 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5 21271 echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;} 21272 { (exit 1); exit 1; }; } 21273 fi 21274 21275 PKG_CONFIG_PATH="$coin_save_PKG_CONFIG_PATH" 21276 export PKG_CONFIG_PATH 21277 fi 21278 fi 21279 21280 21280 echo "$as_me:$LINENO: result: $coin_has_lapack" >&5 21281 21281 echo "${ECHO_T}$coin_has_lapack" >&6 21282 21282 21283 echo "$as_me:$LINENO: checking whether project Lapack need to be configured" >&521284 echo $ECHO_N "checking whether project Lapack need to be configured... $ECHO_C" >&621283 echo "$as_me:$LINENO: checking whether project Lapack needs to be configured" >&5 21284 echo $ECHO_N "checking whether project Lapack needs to be configured... $ECHO_C" >&6 21285 21285 if test "$coin_have_project_dir" = yes ; then 21286 21286 … … 21355 21355 fi 21356 21356 21357 # check if project is available in present directory 21358 if test "$coin_has_sample" = notGiven; then 21359 if test -d $srcdir/Data/Sample; then 21360 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21361 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21362 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21363 coin_have_project_dir=yes 21364 21365 if test $coin_have_project_dir = yes; then 21366 coin_has_sample=Data/Sample 21367 fi 21368 fi 21369 fi 21370 21371 # check for project by using pkg-config, if pkg-config is available 21357 21372 if test $coin_has_sample = notGiven; then 21358 #check for project by using pkg-config, if pkg-config is available21359 21373 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21360 21374 if test -n "$PKG_CONFIG" ; then … … 21381 21395 fi 21382 21396 21383 # if not found yet, check if project is available in present directory21384 if test "$coin_has_sample" = notGiven; then21385 if test -d $srcdir/Data/Sample; then21386 # If a third argument is given, then we have to check if one one the files given in that third argument is present.21387 # If none of the files in the third argument is available, then we consider the project directory as non-existing.21388 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.21389 coin_have_project_dir=yes21390 21391 if test $coin_have_project_dir = yes; then21392 coin_has_sample=Data/Sample21393 fi21394 fi21395 fi21396 21397 21397 echo "$as_me:$LINENO: result: $coin_has_sample" >&5 21398 21398 echo "${ECHO_T}$coin_has_sample" >&6 21399 21399 21400 echo "$as_me:$LINENO: checking whether project Sample need to be configured" >&521401 echo $ECHO_N "checking whether project Sample need to be configured... $ECHO_C" >&621400 echo "$as_me:$LINENO: checking whether project Sample needs to be configured" >&5 21401 echo $ECHO_N "checking whether project Sample needs to be configured... $ECHO_C" >&6 21402 21402 if test "$coin_have_project_dir" = yes ; then 21403 21403 … … 21472 21472 fi 21473 21473 21474 # check if project is available in present directory 21475 if test "$coin_has_netlib" = notGiven; then 21476 if test -d $srcdir/Data/Netlib; then 21477 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21478 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21479 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21480 coin_have_project_dir=yes 21481 21482 if test $coin_have_project_dir = yes; then 21483 coin_has_netlib=Data/Netlib 21484 fi 21485 fi 21486 fi 21487 21488 # check for project by using pkg-config, if pkg-config is available 21474 21489 if test $coin_has_netlib = notGiven; then 21475 #check for project by using pkg-config, if pkg-config is available21476 21490 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21477 21491 if test -n "$PKG_CONFIG" ; then … … 21498 21512 fi 21499 21513 21500 # if not found yet, check if project is available in present directory21501 if test "$coin_has_netlib" = notGiven; then21502 if test -d $srcdir/Data/Netlib; then21503 # If a third argument is given, then we have to check if one one the files given in that third argument is present.21504 # If none of the files in the third argument is available, then we consider the project directory as non-existing.21505 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.21506 coin_have_project_dir=yes21507 21508 if test $coin_have_project_dir = yes; then21509 coin_has_netlib=Data/Netlib21510 fi21511 fi21512 fi21513 21514 21514 echo "$as_me:$LINENO: result: $coin_has_netlib" >&5 21515 21515 echo "${ECHO_T}$coin_has_netlib" >&6 21516 21516 21517 echo "$as_me:$LINENO: checking whether project Netlib need to be configured" >&521518 echo $ECHO_N "checking whether project Netlib need to be configured... $ECHO_C" >&621517 echo "$as_me:$LINENO: checking whether project Netlib needs to be configured" >&5 21518 echo $ECHO_N "checking whether project Netlib needs to be configured... $ECHO_C" >&6 21519 21519 if test "$coin_have_project_dir" = yes ; then 21520 21520 … … 21589 21589 fi 21590 21590 21591 # check if project is available in present directory 21592 if test "$coin_has_coinutils" = notGiven; then 21593 if test -d $srcdir//CoinUtils; then 21594 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21595 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21596 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21597 coin_have_project_dir=yes 21598 21599 if test $coin_have_project_dir = yes; then 21600 coin_has_coinutils=CoinUtils 21601 fi 21602 fi 21603 fi 21604 21605 # check for project by using pkg-config, if pkg-config is available 21591 21606 if test $coin_has_coinutils = notGiven; then 21592 #check for project by using pkg-config, if pkg-config is available21593 21607 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21594 21608 if test -n "$PKG_CONFIG" ; then … … 21615 21629 fi 21616 21630 21617 # if not found yet, check if project is available in present directory21618 if test "$coin_has_coinutils" = notGiven; then21619 if test -d $srcdir//CoinUtils; then21620 # If a third argument is given, then we have to check if one one the files given in that third argument is present.21621 # If none of the files in the third argument is available, then we consider the project directory as non-existing.21622 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.21623 coin_have_project_dir=yes21624 21625 if test $coin_have_project_dir = yes; then21626 coin_has_coinutils=CoinUtils21627 fi21628 fi21629 fi21630 21631 21631 echo "$as_me:$LINENO: result: $coin_has_coinutils" >&5 21632 21632 echo "${ECHO_T}$coin_has_coinutils" >&6 21633 21633 21634 echo "$as_me:$LINENO: checking whether project CoinUtils need to be configured" >&521635 echo $ECHO_N "checking whether project CoinUtils need to be configured... $ECHO_C" >&621634 echo "$as_me:$LINENO: checking whether project CoinUtils needs to be configured" >&5 21635 echo $ECHO_N "checking whether project CoinUtils needs to be configured... $ECHO_C" >&6 21636 21636 if test "$coin_have_project_dir" = yes ; then 21637 21637 … … 21706 21706 fi 21707 21707 21708 # check if project is available in present directory 21709 if test "$coin_has_osi" = notGiven; then 21710 if test -d $srcdir//Osi; then 21711 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21712 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21713 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21714 coin_have_project_dir=yes 21715 21716 if test $coin_have_project_dir = yes; then 21717 coin_has_osi=Osi 21718 fi 21719 fi 21720 fi 21721 21722 # check for project by using pkg-config, if pkg-config is available 21708 21723 if test $coin_has_osi = notGiven; then 21709 #check for project by using pkg-config, if pkg-config is available21710 21724 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21711 21725 if test -n "$PKG_CONFIG" ; then … … 21732 21746 fi 21733 21747 21734 # if not found yet, check if project is available in present directory21735 if test "$coin_has_osi" = notGiven; then21736 if test -d $srcdir//Osi; then21737 # If a third argument is given, then we have to check if one one the files given in that third argument is present.21738 # If none of the files in the third argument is available, then we consider the project directory as non-existing.21739 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.21740 coin_have_project_dir=yes21741 21742 if test $coin_have_project_dir = yes; then21743 coin_has_osi=Osi21744 fi21745 fi21746 fi21747 21748 21748 echo "$as_me:$LINENO: result: $coin_has_osi" >&5 21749 21749 echo "${ECHO_T}$coin_has_osi" >&6 21750 21750 21751 echo "$as_me:$LINENO: checking whether project Osi need to be configured" >&521752 echo $ECHO_N "checking whether project Osi need to be configured... $ECHO_C" >&621751 echo "$as_me:$LINENO: checking whether project Osi needs to be configured" >&5 21752 echo $ECHO_N "checking whether project Osi needs to be configured... $ECHO_C" >&6 21753 21753 if test "$coin_have_project_dir" = yes ; then 21754 21754 … … 21823 21823 fi 21824 21824 21825 # check if project is available in present directory 21826 if test "$coin_has_clp" = notGiven; then 21827 if test -d $srcdir//Clp; then 21828 # If a third argument is given, then we have to check if one one the files given in that third argument is present. 21829 # If none of the files in the third argument is available, then we consider the project directory as non-existing. 21830 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient. 21831 coin_have_project_dir=yes 21832 21833 if test $coin_have_project_dir = yes; then 21834 coin_has_clp=Clp 21835 fi 21836 fi 21837 fi 21838 21839 # check for project by using pkg-config, if pkg-config is available 21825 21840 if test $coin_has_clp = notGiven; then 21826 #check for project by using pkg-config, if pkg-config is available21827 21841 #we are only interested in installed packages here, so we do not search in $COIN_PKG_CONFIG_PATH_UNINSTALLED 21828 21842 if test -n "$PKG_CONFIG" ; then … … 21849 21863 fi 21850 21864 21851 # if not found yet, check if project is available in present directory21852 if test "$coin_has_clp" = notGiven; then21853 if test -d $srcdir//Clp; then21854 # If a third argument is given, then we have to check if one one the files given in that third argument is present.21855 # If none of the files in the third argument is available, then we consider the project directory as non-existing.21856 # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.21857 coin_have_project_dir=yes21858 21859 if test $coin_have_project_dir = yes; then21860 coin_has_clp=Clp21861 fi21862 fi21863 fi21864 21865 21865 echo "$as_me:$LINENO: result: $coin_has_clp" >&5 21866 21866 echo "${ECHO_T}$coin_has_clp" >&6 21867 21867 21868 echo "$as_me:$LINENO: checking whether project Clp need to be configured" >&521869 echo $ECHO_N "checking whether project Clp need to be configured... $ECHO_C" >&621868 echo "$as_me:$LINENO: checking whether project Clp needs to be configured" >&5 21869 echo $ECHO_N "checking whether project Clp needs to be configured... $ECHO_C" >&6 21870 21870 if test "$coin_have_project_dir" = yes ; then 21871 21871
Note: See TracChangeset
for help on using the changeset viewer.