Changeset 1468
- Timestamp:
- Feb 6, 2010 3:09:57 PM (11 years ago)
- Location:
- ThirdParty/All/branches/BSPsplit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/All/branches/BSPsplit/configure
r1456 r1468 20975 20975 20976 20976 coin_has_asl=notGiven 20977 coin_have_project_dir=no 20977 20978 20978 20979 # check if user wants to skip project in any case … … 20992 20993 if test $PACKAGE_TARNAME = asl; then 20993 20994 coin_has_asl=. 20995 coin_have_project_dir=yes 20994 20996 fi 20995 20997 … … 21024 21026 # 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 21025 21027 if test -d "$prefix"; then 21026 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21028 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21027 21029 fi 21028 21030 … … 21036 21038 { (exit 1); exit 1; }; } 21037 21039 fi 21038 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21040 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21039 21041 21040 21042 fi; … … 21045 21047 21046 21048 if test -n "$PKG_CONFIG" ; then 21047 if $PKG_CONFIG --exists " asl"; then21048 ASL_VERSION=`$PKG_CONFIG --modversion "asl" 2>/dev/null`21049 coin_has_asl="$ ASL_VERSION"21049 if $PKG_CONFIG --exists "coinasl"; then 21050 COINASL_VERSION=`$PKG_CONFIG --modversion "coinasl" 2>/dev/null` 21051 coin_has_asl="$COINASL_VERSION" 21050 21052 else 21051 ASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "asl"`21052 21053 fi 21054 else 21055 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module ASLwithout pkg-config\"" >&521056 echo "$as_me: error: \"Cannot check for existance of module ASLwithout pkg-config\"" >&2;}21053 COINASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinasl"` 21054 21055 fi 21056 else 21057 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&5 21058 echo "$as_me: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&2;} 21057 21059 { (exit 1); exit 1; }; } 21058 21060 fi … … 21066 21068 if test "$coin_has_asl" = notGiven; then 21067 21069 if test -d $srcdir/ThirdParty/ASL; then 21068 coin_pkg_is_here=no21069 21070 for i in $srcdir/ThirdParty/ASL/solvers/asl.h; do 21070 21071 if test -r $i; then 21071 coin_ pkg_is_here=yes21072 coin_have_project_dir=yes 21072 21073 fi 21073 21074 done 21074 21075 21075 if test $coin_ pkg_is_here= yes; then21076 if test $coin_have_project_dir = yes; then 21076 21077 coin_has_asl=ThirdParty/ASL 21077 21078 fi … … 21084 21085 echo "$as_me:$LINENO: checking whether project ASL need to be configured" >&5 21085 21086 echo $ECHO_N "checking whether project ASL need to be configured... $ECHO_C" >&6 21086 if test "$coin_has_asl" != skipping && 21087 test "$coin_has_asl" != notGiven && 21088 test "$coin_has_asl" != installed; then 21087 if test "$coin_have_project_dir" = yes ; then 21089 21088 21090 21089 if test -r $srcdir/ThirdParty/ASL/configure; then … … 21110 21109 21111 21110 coin_has_blas=notGiven 21111 coin_have_project_dir=no 21112 21112 21113 21113 # check if user wants to skip project in any case … … 21127 21127 if test $PACKAGE_TARNAME = blas; then 21128 21128 coin_has_blas=. 21129 coin_have_project_dir=yes 21129 21130 fi 21130 21131 … … 21159 21160 # 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 21160 21161 if test -d "$prefix"; then 21161 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21162 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21162 21163 fi 21163 21164 … … 21171 21172 { (exit 1); exit 1; }; } 21172 21173 fi 21173 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21174 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21174 21175 21175 21176 fi; … … 21180 21181 21181 21182 if test -n "$PKG_CONFIG" ; then 21182 if $PKG_CONFIG --exists " blas"; then21183 BLAS_VERSION=`$PKG_CONFIG --modversion "blas" 2>/dev/null`21184 coin_has_blas="$ BLAS_VERSION"21183 if $PKG_CONFIG --exists "coinblas"; then 21184 COINBLAS_VERSION=`$PKG_CONFIG --modversion "coinblas" 2>/dev/null` 21185 coin_has_blas="$COINBLAS_VERSION" 21185 21186 else 21186 BLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "blas"`21187 21188 fi 21189 else 21190 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Blas without pkg-config\"" >&521191 echo "$as_me: error: \"Cannot check for existance of module Blas without pkg-config\"" >&2;}21187 COINBLAS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinblas"` 21188 21189 fi 21190 else 21191 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5 21192 echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;} 21192 21193 { (exit 1); exit 1; }; } 21193 21194 fi … … 21201 21202 if test "$coin_has_blas" = notGiven; then 21202 21203 if test -d $srcdir/ThirdParty/Blas; then 21203 coin_pkg_is_here=no21204 21204 for i in $srcdir/ThirdParty/Blas/daxpy.f; do 21205 21205 if test -r $i; then 21206 coin_ pkg_is_here=yes21206 coin_have_project_dir=yes 21207 21207 fi 21208 21208 done 21209 21209 21210 if test $coin_ pkg_is_here= yes; then21210 if test $coin_have_project_dir = yes; then 21211 21211 coin_has_blas=ThirdParty/Blas 21212 21212 fi … … 21219 21219 echo "$as_me:$LINENO: checking whether project Blas need to be configured" >&5 21220 21220 echo $ECHO_N "checking whether project Blas need to be configured... $ECHO_C" >&6 21221 if test "$coin_has_blas" != skipping && 21222 test "$coin_has_blas" != notGiven && 21223 test "$coin_has_blas" != installed; then 21221 if test "$coin_have_project_dir" = yes ; then 21224 21222 21225 21223 if test -r $srcdir/ThirdParty/Blas/configure; then … … 21245 21243 21246 21244 coin_has_filtersqp=notGiven 21245 coin_have_project_dir=no 21247 21246 21248 21247 # check if user wants to skip project in any case … … 21262 21261 if test $PACKAGE_TARNAME = filtersqp; then 21263 21262 coin_has_filtersqp=. 21263 coin_have_project_dir=yes 21264 21264 fi 21265 21265 … … 21294 21294 # 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 21295 21295 if test -d "$prefix"; then 21296 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21296 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21297 21297 fi 21298 21298 … … 21306 21306 { (exit 1); exit 1; }; } 21307 21307 fi 21308 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21308 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21309 21309 21310 21310 fi; … … 21315 21315 21316 21316 if test -n "$PKG_CONFIG" ; then 21317 if $PKG_CONFIG --exists " filtersqp"; then21318 FILTERSQP_VERSION=`$PKG_CONFIG --modversion "filtersqp" 2>/dev/null`21319 coin_has_filtersqp="$ FILTERSQP_VERSION"21317 if $PKG_CONFIG --exists "coinfiltersqp"; then 21318 COINFILTERSQP_VERSION=`$PKG_CONFIG --modversion "coinfiltersqp" 2>/dev/null` 21319 coin_has_filtersqp="$COINFILTERSQP_VERSION" 21320 21320 else 21321 FILTERSQP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "filtersqp"`21322 21323 fi 21324 else 21325 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module FilterSQPwithout pkg-config\"" >&521326 echo "$as_me: error: \"Cannot check for existance of module FilterSQPwithout pkg-config\"" >&2;}21321 COINFILTERSQP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinfiltersqp"` 21322 21323 fi 21324 else 21325 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&5 21326 echo "$as_me: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&2;} 21327 21327 { (exit 1); exit 1; }; } 21328 21328 fi … … 21336 21336 if test "$coin_has_filtersqp" = notGiven; then 21337 21337 if test -d $srcdir/ThirdParty/FilterSQP; then 21338 coin_pkg_is_here=no21339 21338 for i in $srcdir/ThirdParty/FilterSQP/source/src/filter.f; do 21340 21339 if test -r $i; then 21341 coin_ pkg_is_here=yes21340 coin_have_project_dir=yes 21342 21341 fi 21343 21342 done 21344 21343 21345 if test $coin_ pkg_is_here= yes; then21344 if test $coin_have_project_dir = yes; then 21346 21345 coin_has_filtersqp=ThirdParty/FilterSQP 21347 21346 fi … … 21354 21353 echo "$as_me:$LINENO: checking whether project FilterSQP need to be configured" >&5 21355 21354 echo $ECHO_N "checking whether project FilterSQP need to be configured... $ECHO_C" >&6 21356 if test "$coin_has_filtersqp" != skipping && 21357 test "$coin_has_filtersqp" != notGiven && 21358 test "$coin_has_filtersqp" != installed; then 21355 if test "$coin_have_project_dir" = yes ; then 21359 21356 21360 21357 if test -r $srcdir/ThirdParty/FilterSQP/configure; then … … 21380 21377 21381 21378 coin_has_glpk=notGiven 21379 coin_have_project_dir=no 21382 21380 21383 21381 # check if user wants to skip project in any case … … 21397 21395 if test $PACKAGE_TARNAME = glpk; then 21398 21396 coin_has_glpk=. 21397 coin_have_project_dir=yes 21399 21398 fi 21400 21399 … … 21429 21428 # 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 21430 21429 if test -d "$prefix"; then 21431 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21430 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21432 21431 fi 21433 21432 … … 21441 21440 { (exit 1); exit 1; }; } 21442 21441 fi 21443 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21442 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21444 21443 21445 21444 fi; … … 21450 21449 21451 21450 if test -n "$PKG_CONFIG" ; then 21452 if $PKG_CONFIG --exists " glpk"; then21453 GLPK_VERSION=`$PKG_CONFIG --modversion "glpk" 2>/dev/null`21454 coin_has_glpk="$ GLPK_VERSION"21451 if $PKG_CONFIG --exists "coinglpk"; then 21452 COINGLPK_VERSION=`$PKG_CONFIG --modversion "coinglpk" 2>/dev/null` 21453 coin_has_glpk="$COINGLPK_VERSION" 21455 21454 else 21456 GLPK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "glpk"`21457 21458 fi 21459 else 21460 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Glpk without pkg-config\"" >&521461 echo "$as_me: error: \"Cannot check for existance of module Glpk without pkg-config\"" >&2;}21455 COINGLPK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinglpk"` 21456 21457 fi 21458 else 21459 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&5 21460 echo "$as_me: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&2;} 21462 21461 { (exit 1); exit 1; }; } 21463 21462 fi … … 21471 21470 if test "$coin_has_glpk" = notGiven; then 21472 21471 if test -d $srcdir/ThirdParty/Glpk; then 21473 coin_pkg_is_here=no21474 21472 for i in $srcdir/ThirdParty/Glpk/glpk/src/glplpx01.c; do 21475 21473 if test -r $i; then 21476 coin_ pkg_is_here=yes21474 coin_have_project_dir=yes 21477 21475 fi 21478 21476 done 21479 21477 21480 if test $coin_ pkg_is_here= yes; then21478 if test $coin_have_project_dir = yes; then 21481 21479 coin_has_glpk=ThirdParty/Glpk 21482 21480 fi … … 21489 21487 echo "$as_me:$LINENO: checking whether project Glpk need to be configured" >&5 21490 21488 echo $ECHO_N "checking whether project Glpk need to be configured... $ECHO_C" >&6 21491 if test "$coin_has_glpk" != skipping && 21492 test "$coin_has_glpk" != notGiven && 21493 test "$coin_has_glpk" != installed; then 21489 if test "$coin_have_project_dir" = yes ; then 21494 21490 21495 21491 if test -r $srcdir/ThirdParty/Glpk/configure; then … … 21515 21511 21516 21512 coin_has_hsl=notGiven 21513 coin_have_project_dir=no 21517 21514 21518 21515 # check if user wants to skip project in any case … … 21532 21529 if test $PACKAGE_TARNAME = hsl; then 21533 21530 coin_has_hsl=. 21531 coin_have_project_dir=yes 21534 21532 fi 21535 21533 … … 21564 21562 # 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 21565 21563 if test -d "$prefix"; then 21566 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21564 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21567 21565 fi 21568 21566 … … 21576 21574 { (exit 1); exit 1; }; } 21577 21575 fi 21578 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21576 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21579 21577 21580 21578 fi; … … 21585 21583 21586 21584 if test -n "$PKG_CONFIG" ; then 21587 if $PKG_CONFIG --exists " hsl"; then21588 HSL_VERSION=`$PKG_CONFIG --modversion "hsl" 2>/dev/null`21589 coin_has_hsl="$ HSL_VERSION"21585 if $PKG_CONFIG --exists "coinhsl"; then 21586 COINHSL_VERSION=`$PKG_CONFIG --modversion "coinhsl" 2>/dev/null` 21587 coin_has_hsl="$COINHSL_VERSION" 21590 21588 else 21591 HSL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "hsl"`21592 21593 fi 21594 else 21595 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module HSLwithout pkg-config\"" >&521596 echo "$as_me: error: \"Cannot check for existance of module HSLwithout pkg-config\"" >&2;}21589 COINHSL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinhsl"` 21590 21591 fi 21592 else 21593 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinhsl without pkg-config\"" >&5 21594 echo "$as_me: error: \"Cannot check for existance of module coinhsl without pkg-config\"" >&2;} 21597 21595 { (exit 1); exit 1; }; } 21598 21596 fi … … 21606 21604 if test "$coin_has_hsl" = notGiven; then 21607 21605 if test -d $srcdir/ThirdParty/HSL; then 21608 coin_pkg_is_here=no21609 21606 for i in $srcdir/ThirdParty/HSL/configure.ac; do 21610 21607 if test -r $i; then 21611 coin_ pkg_is_here=yes21608 coin_have_project_dir=yes 21612 21609 fi 21613 21610 done 21614 21611 21615 if test $coin_ pkg_is_here= yes; then21612 if test $coin_have_project_dir = yes; then 21616 21613 coin_has_hsl=ThirdParty/HSL 21617 21614 fi … … 21624 21621 echo "$as_me:$LINENO: checking whether project HSL need to be configured" >&5 21625 21622 echo $ECHO_N "checking whether project HSL need to be configured... $ECHO_C" >&6 21626 if test "$coin_has_hsl" != skipping && 21627 test "$coin_has_hsl" != notGiven && 21628 test "$coin_has_hsl" != installed; then 21623 if test "$coin_have_project_dir" = yes ; then 21629 21624 21630 21625 if test -r $srcdir/ThirdParty/HSL/configure; then … … 21650 21645 21651 21646 coin_has_lapack=notGiven 21647 coin_have_project_dir=no 21652 21648 21653 21649 # check if user wants to skip project in any case … … 21667 21663 if test $PACKAGE_TARNAME = lapack; then 21668 21664 coin_has_lapack=. 21665 coin_have_project_dir=yes 21669 21666 fi 21670 21667 … … 21699 21696 # 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 21700 21697 if test -d "$prefix"; then 21701 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21698 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21702 21699 fi 21703 21700 … … 21711 21708 { (exit 1); exit 1; }; } 21712 21709 fi 21713 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21710 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21714 21711 21715 21712 fi; … … 21720 21717 21721 21718 if test -n "$PKG_CONFIG" ; then 21722 if $PKG_CONFIG --exists " lapack"; then21723 LAPACK_VERSION=`$PKG_CONFIG --modversion "lapack" 2>/dev/null`21724 coin_has_lapack="$ LAPACK_VERSION"21719 if $PKG_CONFIG --exists "coinlapack"; then 21720 COINLAPACK_VERSION=`$PKG_CONFIG --modversion "coinlapack" 2>/dev/null` 21721 coin_has_lapack="$COINLAPACK_VERSION" 21725 21722 else 21726 LAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "lapack"`21727 21728 fi 21729 else 21730 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Lapack without pkg-config\"" >&521731 echo "$as_me: error: \"Cannot check for existance of module Lapack without pkg-config\"" >&2;}21723 COINLAPACK_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinlapack"` 21724 21725 fi 21726 else 21727 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5 21728 echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;} 21732 21729 { (exit 1); exit 1; }; } 21733 21730 fi … … 21741 21738 if test "$coin_has_lapack" = notGiven; then 21742 21739 if test -d $srcdir/ThirdParty/Lapack; then 21743 coin_pkg_is_here=no21744 21740 for i in $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; do 21745 21741 if test -r $i; then 21746 coin_ pkg_is_here=yes21742 coin_have_project_dir=yes 21747 21743 fi 21748 21744 done 21749 21745 21750 if test $coin_ pkg_is_here= yes; then21746 if test $coin_have_project_dir = yes; then 21751 21747 coin_has_lapack=ThirdParty/Lapack 21752 21748 fi … … 21759 21755 echo "$as_me:$LINENO: checking whether project Lapack need to be configured" >&5 21760 21756 echo $ECHO_N "checking whether project Lapack need to be configured... $ECHO_C" >&6 21761 if test "$coin_has_lapack" != skipping && 21762 test "$coin_has_lapack" != notGiven && 21763 test "$coin_has_lapack" != installed; then 21757 if test "$coin_have_project_dir" = yes ; then 21764 21758 21765 21759 if test -r $srcdir/ThirdParty/Lapack/configure; then … … 21785 21779 21786 21780 coin_has_metis=notGiven 21781 coin_have_project_dir=no 21787 21782 21788 21783 # check if user wants to skip project in any case … … 21802 21797 if test $PACKAGE_TARNAME = metis; then 21803 21798 coin_has_metis=. 21799 coin_have_project_dir=yes 21804 21800 fi 21805 21801 … … 21834 21830 # 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 21835 21831 if test -d "$prefix"; then 21836 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21832 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21837 21833 fi 21838 21834 … … 21846 21842 { (exit 1); exit 1; }; } 21847 21843 fi 21848 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21844 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21849 21845 21850 21846 fi; … … 21855 21851 21856 21852 if test -n "$PKG_CONFIG" ; then 21857 if $PKG_CONFIG --exists " metis"; then21858 METIS_VERSION=`$PKG_CONFIG --modversion "metis" 2>/dev/null`21859 coin_has_metis="$ METIS_VERSION"21853 if $PKG_CONFIG --exists "coinmetis"; then 21854 COINMETIS_VERSION=`$PKG_CONFIG --modversion "coinmetis" 2>/dev/null` 21855 coin_has_metis="$COINMETIS_VERSION" 21860 21856 else 21861 METIS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "metis"`21862 21863 fi 21864 else 21865 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Metis without pkg-config\"" >&521866 echo "$as_me: error: \"Cannot check for existance of module Metis without pkg-config\"" >&2;}21857 COINMETIS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinmetis"` 21858 21859 fi 21860 else 21861 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&5 21862 echo "$as_me: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&2;} 21867 21863 { (exit 1); exit 1; }; } 21868 21864 fi … … 21876 21872 if test "$coin_has_metis" = notGiven; then 21877 21873 if test -d $srcdir/ThirdParty/Metis; then 21878 coin_pkg_is_here=no21879 21874 for i in $srcdir/ThirdParty/Metis/metis-4.0/Lib/balance.c; do 21880 21875 if test -r $i; then 21881 coin_ pkg_is_here=yes21876 coin_have_project_dir=yes 21882 21877 fi 21883 21878 done 21884 21879 21885 if test $coin_ pkg_is_here= yes; then21880 if test $coin_have_project_dir = yes; then 21886 21881 coin_has_metis=ThirdParty/Metis 21887 21882 fi … … 21894 21889 echo "$as_me:$LINENO: checking whether project Metis need to be configured" >&5 21895 21890 echo $ECHO_N "checking whether project Metis need to be configured... $ECHO_C" >&6 21896 if test "$coin_has_metis" != skipping && 21897 test "$coin_has_metis" != notGiven && 21898 test "$coin_has_metis" != installed; then 21891 if test "$coin_have_project_dir" = yes ; then 21899 21892 21900 21893 if test -r $srcdir/ThirdParty/Metis/configure; then … … 21920 21913 21921 21914 coin_has_mumps=notGiven 21915 coin_have_project_dir=no 21922 21916 21923 21917 # check if user wants to skip project in any case … … 21937 21931 if test $PACKAGE_TARNAME = mumps; then 21938 21932 coin_has_mumps=. 21933 coin_have_project_dir=yes 21939 21934 fi 21940 21935 … … 21969 21964 # 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 21970 21965 if test -d "$prefix"; then 21971 PKG_CONFIG_PATH="$prefix/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21966 PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH" 21972 21967 fi 21973 21968 … … 21981 21976 { (exit 1); exit 1; }; } 21982 21977 fi 21983 PKG_CONFIG_PATH="$withval/lib/ ThirdParty/pkgconfig:$PKG_CONFIG_PATH"21978 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH" 21984 21979 21985 21980 fi; … … 21990 21985 21991 21986 if test -n "$PKG_CONFIG" ; then 21992 if $PKG_CONFIG --exists " mumps"; then21993 MUMPS_VERSION=`$PKG_CONFIG --modversion "mumps" 2>/dev/null`21994 coin_has_mumps="$ MUMPS_VERSION"21987 if $PKG_CONFIG --exists "coinmumps"; then 21988 COINMUMPS_VERSION=`$PKG_CONFIG --modversion "coinmumps" 2>/dev/null` 21989 coin_has_mumps="$COINMUMPS_VERSION" 21995 21990 else 21996 MUMPS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "mumps"`21997 21998 fi 21999 else 22000 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module Mumps without pkg-config\"" >&522001 echo "$as_me: error: \"Cannot check for existance of module Mumps without pkg-config\"" >&2;}21991 COINMUMPS_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinmumps"` 21992 21993 fi 21994 else 21995 { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&5 21996 echo "$as_me: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&2;} 22002 21997 { (exit 1); exit 1; }; } 22003 21998 fi … … 22011 22006 if test "$coin_has_mumps" = notGiven; then 22012 22007 if test -d $srcdir/ThirdParty/Mumps; then 22013 coin_pkg_is_here=no22014 22008 for i in $srcdir/ThirdParty/Mumps/MUMPS/src/dmumps_part1.F; do 22015 22009 if test -r $i; then 22016 coin_ pkg_is_here=yes22010 coin_have_project_dir=yes 22017 22011 fi 22018 22012 done 22019 22013 22020 if test $coin_ pkg_is_here= yes; then22014 if test $coin_have_project_dir = yes; then 22021 22015 coin_has_mumps=ThirdParty/Mumps 22022 22016 fi … … 22029 22023 echo "$as_me:$LINENO: checking whether project Mumps need to be configured" >&5 22030 22024 echo $ECHO_N "checking whether project Mumps need to be configured... $ECHO_C" >&6 22031 if test "$coin_has_mumps" != skipping && 22032 test "$coin_has_mumps" != notGiven && 22033 test "$coin_has_mumps" != installed; then 22025 if test "$coin_have_project_dir" = yes ; then 22034 22026 22035 22027 if test -r $srcdir/ThirdParty/Mumps/configure; then -
ThirdParty/All/branches/BSPsplit/configure.ac
r1447 r1468 42 42 ############################################################################# 43 43 44 AC_COIN_MAIN_PACKAGEDIR([ASL],[ThirdParty],[solvers/asl.h] )45 AC_COIN_MAIN_PACKAGEDIR([Blas],[ThirdParty],[daxpy.f] )46 AC_COIN_MAIN_PACKAGEDIR([FilterSQP],[ThirdParty],[source/src/filter.f] )47 AC_COIN_MAIN_PACKAGEDIR([Glpk],[ThirdParty],[glpk/src/glplpx01.c] )48 AC_COIN_MAIN_PACKAGEDIR([HSL],[ThirdParty],[configure.ac] )49 AC_COIN_MAIN_PACKAGEDIR([Lapack],[ThirdParty],[LAPACK/SRC/dlarf.f] )50 AC_COIN_MAIN_PACKAGEDIR([Metis],[ThirdParty],[metis-4.0/Lib/balance.c] )51 AC_COIN_MAIN_PACKAGEDIR([Mumps],[ThirdParty],[MUMPS/src/dmumps_part1.F] )44 AC_COIN_MAIN_PACKAGEDIR([ASL],[ThirdParty],[solvers/asl.h],[coinasl]) 45 AC_COIN_MAIN_PACKAGEDIR([Blas],[ThirdParty],[daxpy.f],[coinblas]) 46 AC_COIN_MAIN_PACKAGEDIR([FilterSQP],[ThirdParty],[source/src/filter.f],[coinfiltersqp]) 47 AC_COIN_MAIN_PACKAGEDIR([Glpk],[ThirdParty],[glpk/src/glplpx01.c],[coinglpk]) 48 AC_COIN_MAIN_PACKAGEDIR([HSL],[ThirdParty],[configure.ac],[coinhsl]) 49 AC_COIN_MAIN_PACKAGEDIR([Lapack],[ThirdParty],[LAPACK/SRC/dlarf.f],[coinlapack]) 50 AC_COIN_MAIN_PACKAGEDIR([Metis],[ThirdParty],[metis-4.0/Lib/balance.c],[coinmetis]) 51 AC_COIN_MAIN_PACKAGEDIR([Mumps],[ThirdParty],[MUMPS/src/dmumps_part1.F],[coinmumps]) 52 52 53 53 ##############################################################################
Note: See TracChangeset
for help on using the changeset viewer.