Changeset 1468 for ThirdParty/All


Ignore:
Timestamp:
Feb 6, 2010 3:09:57 PM (10 years ago)
Author:
stefan
Message:

add prefix coin to .pc files; changed install dir for libs and doc

Location:
ThirdParty/All/branches/BSPsplit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/All/branches/BSPsplit/configure

    r1456 r1468  
    2097520975
    2097620976coin_has_asl=notGiven
     20977coin_have_project_dir=no
    2097720978
    2097820979# check if user wants to skip project in any case
     
    2099220993  if test $PACKAGE_TARNAME = asl; then
    2099320994    coin_has_asl=.
     20995    coin_have_project_dir=yes
    2099420996  fi
    2099520997
     
    2102421026    # 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
    2102521027    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"
    2102721029    fi
    2102821030
     
    2103621038   { (exit 1); exit 1; }; }
    2103721039       fi
    21038        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21040       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2103921041
    2104021042fi;
     
    2104521047
    2104621048if test -n "$PKG_CONFIG" ; then
    21047   if $PKG_CONFIG --exists "asl"; then
    21048     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"
    2105021052  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 ASL without pkg-config\"" >&5
    21056 echo "$as_me: error: \"Cannot check for existance of module ASL without pkg-config\"" >&2;}
     21053    COINASL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinasl"`
     21054
     21055  fi
     21056else
     21057  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&5
     21058echo "$as_me: error: \"Cannot check for existance of module coinasl without pkg-config\"" >&2;}
    2105721059   { (exit 1); exit 1; }; }
    2105821060fi
     
    2106621068if test "$coin_has_asl" = notGiven; then
    2106721069  if test -d $srcdir/ThirdParty/ASL; then
    21068     coin_pkg_is_here=no
    2106921070    for i in $srcdir/ThirdParty/ASL/solvers/asl.h; do
    2107021071         if test -r $i; then
    21071            coin_pkg_is_here=yes
     21072           coin_have_project_dir=yes
    2107221073         fi
    2107321074       done
    2107421075
    21075     if test $coin_pkg_is_here = yes; then
     21076    if test $coin_have_project_dir = yes; then
    2107621077      coin_has_asl=ThirdParty/ASL
    2107721078    fi
     
    2108421085echo "$as_me:$LINENO: checking whether project ASL need to be configured" >&5
    2108521086echo $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
     21087if test "$coin_have_project_dir" = yes ; then
    2108921088
    2109021089  if test -r $srcdir/ThirdParty/ASL/configure; then
     
    2111021109
    2111121110coin_has_blas=notGiven
     21111coin_have_project_dir=no
    2111221112
    2111321113# check if user wants to skip project in any case
     
    2112721127  if test $PACKAGE_TARNAME = blas; then
    2112821128    coin_has_blas=.
     21129    coin_have_project_dir=yes
    2112921130  fi
    2113021131
     
    2115921160    # 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
    2116021161    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"
    2116221163    fi
    2116321164
     
    2117121172   { (exit 1); exit 1; }; }
    2117221173       fi
    21173        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21174       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2117421175
    2117521176fi;
     
    2118021181
    2118121182if test -n "$PKG_CONFIG" ; then
    21182   if $PKG_CONFIG --exists "blas"; then
    21183     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"
    2118521186  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\"" >&5
    21191 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
     21190else
     21191  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&5
     21192echo "$as_me: error: \"Cannot check for existance of module coinblas without pkg-config\"" >&2;}
    2119221193   { (exit 1); exit 1; }; }
    2119321194fi
     
    2120121202if test "$coin_has_blas" = notGiven; then
    2120221203  if test -d $srcdir/ThirdParty/Blas; then
    21203     coin_pkg_is_here=no
    2120421204    for i in $srcdir/ThirdParty/Blas/daxpy.f; do
    2120521205         if test -r $i; then
    21206            coin_pkg_is_here=yes
     21206           coin_have_project_dir=yes
    2120721207         fi
    2120821208       done
    2120921209
    21210     if test $coin_pkg_is_here = yes; then
     21210    if test $coin_have_project_dir = yes; then
    2121121211      coin_has_blas=ThirdParty/Blas
    2121221212    fi
     
    2121921219echo "$as_me:$LINENO: checking whether project Blas need to be configured" >&5
    2122021220echo $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
     21221if test "$coin_have_project_dir" = yes ; then
    2122421222
    2122521223  if test -r $srcdir/ThirdParty/Blas/configure; then
     
    2124521243
    2124621244coin_has_filtersqp=notGiven
     21245coin_have_project_dir=no
    2124721246
    2124821247# check if user wants to skip project in any case
     
    2126221261  if test $PACKAGE_TARNAME = filtersqp; then
    2126321262    coin_has_filtersqp=.
     21263    coin_have_project_dir=yes
    2126421264  fi
    2126521265
     
    2129421294    # 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
    2129521295    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"
    2129721297    fi
    2129821298
     
    2130621306   { (exit 1); exit 1; }; }
    2130721307       fi
    21308        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21308       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2130921309
    2131021310fi;
     
    2131521315
    2131621316if test -n "$PKG_CONFIG" ; then
    21317   if $PKG_CONFIG --exists "filtersqp"; then
    21318     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"
    2132021320  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 FilterSQP without pkg-config\"" >&5
    21326 echo "$as_me: error: \"Cannot check for existance of module FilterSQP without pkg-config\"" >&2;}
     21321    COINFILTERSQP_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinfiltersqp"`
     21322
     21323  fi
     21324else
     21325  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&5
     21326echo "$as_me: error: \"Cannot check for existance of module coinfiltersqp without pkg-config\"" >&2;}
    2132721327   { (exit 1); exit 1; }; }
    2132821328fi
     
    2133621336if test "$coin_has_filtersqp" = notGiven; then
    2133721337  if test -d $srcdir/ThirdParty/FilterSQP; then
    21338     coin_pkg_is_here=no
    2133921338    for i in $srcdir/ThirdParty/FilterSQP/source/src/filter.f; do
    2134021339         if test -r $i; then
    21341            coin_pkg_is_here=yes
     21340           coin_have_project_dir=yes
    2134221341         fi
    2134321342       done
    2134421343
    21345     if test $coin_pkg_is_here = yes; then
     21344    if test $coin_have_project_dir = yes; then
    2134621345      coin_has_filtersqp=ThirdParty/FilterSQP
    2134721346    fi
     
    2135421353echo "$as_me:$LINENO: checking whether project FilterSQP need to be configured" >&5
    2135521354echo $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
     21355if test "$coin_have_project_dir" = yes ; then
    2135921356
    2136021357  if test -r $srcdir/ThirdParty/FilterSQP/configure; then
     
    2138021377
    2138121378coin_has_glpk=notGiven
     21379coin_have_project_dir=no
    2138221380
    2138321381# check if user wants to skip project in any case
     
    2139721395  if test $PACKAGE_TARNAME = glpk; then
    2139821396    coin_has_glpk=.
     21397    coin_have_project_dir=yes
    2139921398  fi
    2140021399
     
    2142921428    # 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
    2143021429    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"
    2143221431    fi
    2143321432
     
    2144121440   { (exit 1); exit 1; }; }
    2144221441       fi
    21443        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21442       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2144421443
    2144521444fi;
     
    2145021449
    2145121450if test -n "$PKG_CONFIG" ; then
    21452   if $PKG_CONFIG --exists "glpk"; then
    21453     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"
    2145521454  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\"" >&5
    21461 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
     21458else
     21459  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&5
     21460echo "$as_me: error: \"Cannot check for existance of module coinglpk without pkg-config\"" >&2;}
    2146221461   { (exit 1); exit 1; }; }
    2146321462fi
     
    2147121470if test "$coin_has_glpk" = notGiven; then
    2147221471  if test -d $srcdir/ThirdParty/Glpk; then
    21473     coin_pkg_is_here=no
    2147421472    for i in $srcdir/ThirdParty/Glpk/glpk/src/glplpx01.c; do
    2147521473         if test -r $i; then
    21476            coin_pkg_is_here=yes
     21474           coin_have_project_dir=yes
    2147721475         fi
    2147821476       done
    2147921477
    21480     if test $coin_pkg_is_here = yes; then
     21478    if test $coin_have_project_dir = yes; then
    2148121479      coin_has_glpk=ThirdParty/Glpk
    2148221480    fi
     
    2148921487echo "$as_me:$LINENO: checking whether project Glpk need to be configured" >&5
    2149021488echo $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
     21489if test "$coin_have_project_dir" = yes ; then
    2149421490
    2149521491  if test -r $srcdir/ThirdParty/Glpk/configure; then
     
    2151521511
    2151621512coin_has_hsl=notGiven
     21513coin_have_project_dir=no
    2151721514
    2151821515# check if user wants to skip project in any case
     
    2153221529  if test $PACKAGE_TARNAME = hsl; then
    2153321530    coin_has_hsl=.
     21531    coin_have_project_dir=yes
    2153421532  fi
    2153521533
     
    2156421562    # 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
    2156521563    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"
    2156721565    fi
    2156821566
     
    2157621574   { (exit 1); exit 1; }; }
    2157721575       fi
    21578        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21576       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2157921577
    2158021578fi;
     
    2158521583
    2158621584if test -n "$PKG_CONFIG" ; then
    21587   if $PKG_CONFIG --exists "hsl"; then
    21588     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"
    2159021588  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 HSL without pkg-config\"" >&5
    21596 echo "$as_me: error: \"Cannot check for existance of module HSL without pkg-config\"" >&2;}
     21589    COINHSL_PKG_ERRORS=`$PKG_CONFIG $pkg_short_errors --errors-to-stdout --print-errors "coinhsl"`
     21590
     21591  fi
     21592else
     21593  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinhsl without pkg-config\"" >&5
     21594echo "$as_me: error: \"Cannot check for existance of module coinhsl without pkg-config\"" >&2;}
    2159721595   { (exit 1); exit 1; }; }
    2159821596fi
     
    2160621604if test "$coin_has_hsl" = notGiven; then
    2160721605  if test -d $srcdir/ThirdParty/HSL; then
    21608     coin_pkg_is_here=no
    2160921606    for i in $srcdir/ThirdParty/HSL/configure.ac; do
    2161021607         if test -r $i; then
    21611            coin_pkg_is_here=yes
     21608           coin_have_project_dir=yes
    2161221609         fi
    2161321610       done
    2161421611
    21615     if test $coin_pkg_is_here = yes; then
     21612    if test $coin_have_project_dir = yes; then
    2161621613      coin_has_hsl=ThirdParty/HSL
    2161721614    fi
     
    2162421621echo "$as_me:$LINENO: checking whether project HSL need to be configured" >&5
    2162521622echo $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
     21623if test "$coin_have_project_dir" = yes ; then
    2162921624
    2163021625  if test -r $srcdir/ThirdParty/HSL/configure; then
     
    2165021645
    2165121646coin_has_lapack=notGiven
     21647coin_have_project_dir=no
    2165221648
    2165321649# check if user wants to skip project in any case
     
    2166721663  if test $PACKAGE_TARNAME = lapack; then
    2166821664    coin_has_lapack=.
     21665    coin_have_project_dir=yes
    2166921666  fi
    2167021667
     
    2169921696    # 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
    2170021697    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"
    2170221699    fi
    2170321700
     
    2171121708   { (exit 1); exit 1; }; }
    2171221709       fi
    21713        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21710       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2171421711
    2171521712fi;
     
    2172021717
    2172121718if test -n "$PKG_CONFIG" ; then
    21722   if $PKG_CONFIG --exists "lapack"; then
    21723     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"
    2172521722  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\"" >&5
    21731 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
     21726else
     21727  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&5
     21728echo "$as_me: error: \"Cannot check for existance of module coinlapack without pkg-config\"" >&2;}
    2173221729   { (exit 1); exit 1; }; }
    2173321730fi
     
    2174121738if test "$coin_has_lapack" = notGiven; then
    2174221739  if test -d $srcdir/ThirdParty/Lapack; then
    21743     coin_pkg_is_here=no
    2174421740    for i in $srcdir/ThirdParty/Lapack/LAPACK/SRC/dlarf.f; do
    2174521741         if test -r $i; then
    21746            coin_pkg_is_here=yes
     21742           coin_have_project_dir=yes
    2174721743         fi
    2174821744       done
    2174921745
    21750     if test $coin_pkg_is_here = yes; then
     21746    if test $coin_have_project_dir = yes; then
    2175121747      coin_has_lapack=ThirdParty/Lapack
    2175221748    fi
     
    2175921755echo "$as_me:$LINENO: checking whether project Lapack need to be configured" >&5
    2176021756echo $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
     21757if test "$coin_have_project_dir" = yes ; then
    2176421758
    2176521759  if test -r $srcdir/ThirdParty/Lapack/configure; then
     
    2178521779
    2178621780coin_has_metis=notGiven
     21781coin_have_project_dir=no
    2178721782
    2178821783# check if user wants to skip project in any case
     
    2180221797  if test $PACKAGE_TARNAME = metis; then
    2180321798    coin_has_metis=.
     21799    coin_have_project_dir=yes
    2180421800  fi
    2180521801
     
    2183421830    # 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
    2183521831    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"
    2183721833    fi
    2183821834
     
    2184621842   { (exit 1); exit 1; }; }
    2184721843       fi
    21848        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21844       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2184921845
    2185021846fi;
     
    2185521851
    2185621852if test -n "$PKG_CONFIG" ; then
    21857   if $PKG_CONFIG --exists "metis"; then
    21858     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"
    2186021856  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\"" >&5
    21866 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
     21860else
     21861  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&5
     21862echo "$as_me: error: \"Cannot check for existance of module coinmetis without pkg-config\"" >&2;}
    2186721863   { (exit 1); exit 1; }; }
    2186821864fi
     
    2187621872if test "$coin_has_metis" = notGiven; then
    2187721873  if test -d $srcdir/ThirdParty/Metis; then
    21878     coin_pkg_is_here=no
    2187921874    for i in $srcdir/ThirdParty/Metis/metis-4.0/Lib/balance.c; do
    2188021875         if test -r $i; then
    21881            coin_pkg_is_here=yes
     21876           coin_have_project_dir=yes
    2188221877         fi
    2188321878       done
    2188421879
    21885     if test $coin_pkg_is_here = yes; then
     21880    if test $coin_have_project_dir = yes; then
    2188621881      coin_has_metis=ThirdParty/Metis
    2188721882    fi
     
    2189421889echo "$as_me:$LINENO: checking whether project Metis need to be configured" >&5
    2189521890echo $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
     21891if test "$coin_have_project_dir" = yes ; then
    2189921892
    2190021893  if test -r $srcdir/ThirdParty/Metis/configure; then
     
    2192021913
    2192121914coin_has_mumps=notGiven
     21915coin_have_project_dir=no
    2192221916
    2192321917# check if user wants to skip project in any case
     
    2193721931  if test $PACKAGE_TARNAME = mumps; then
    2193821932    coin_has_mumps=.
     21933    coin_have_project_dir=yes
    2193921934  fi
    2194021935
     
    2196921964    # 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
    2197021965    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"
    2197221967    fi
    2197321968
     
    2198121976   { (exit 1); exit 1; }; }
    2198221977       fi
    21983        PKG_CONFIG_PATH="$withval/lib/ThirdParty/pkgconfig:$PKG_CONFIG_PATH"
     21978       PKG_CONFIG_PATH="$withval/lib/pkgconfig:$PKG_CONFIG_PATH"
    2198421979
    2198521980fi;
     
    2199021985
    2199121986if test -n "$PKG_CONFIG" ; then
    21992   if $PKG_CONFIG --exists "mumps"; then
    21993     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"
    2199521990  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\"" >&5
    22001 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
     21994else
     21995  { { echo "$as_me:$LINENO: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&5
     21996echo "$as_me: error: \"Cannot check for existance of module coinmumps without pkg-config\"" >&2;}
    2200221997   { (exit 1); exit 1; }; }
    2200321998fi
     
    2201122006if test "$coin_has_mumps" = notGiven; then
    2201222007  if test -d $srcdir/ThirdParty/Mumps; then
    22013     coin_pkg_is_here=no
    2201422008    for i in $srcdir/ThirdParty/Mumps/MUMPS/src/dmumps_part1.F; do
    2201522009         if test -r $i; then
    22016            coin_pkg_is_here=yes
     22010           coin_have_project_dir=yes
    2201722011         fi
    2201822012       done
    2201922013
    22020     if test $coin_pkg_is_here = yes; then
     22014    if test $coin_have_project_dir = yes; then
    2202122015      coin_has_mumps=ThirdParty/Mumps
    2202222016    fi
     
    2202922023echo "$as_me:$LINENO: checking whether project Mumps need to be configured" >&5
    2203022024echo $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
     22025if test "$coin_have_project_dir" = yes ; then
    2203422026
    2203522027  if test -r $srcdir/ThirdParty/Mumps/configure; then
  • ThirdParty/All/branches/BSPsplit/configure.ac

    r1447 r1468  
    4242#############################################################################
    4343
    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])
     44AC_COIN_MAIN_PACKAGEDIR([ASL],[ThirdParty],[solvers/asl.h],[coinasl])
     45AC_COIN_MAIN_PACKAGEDIR([Blas],[ThirdParty],[daxpy.f],[coinblas])
     46AC_COIN_MAIN_PACKAGEDIR([FilterSQP],[ThirdParty],[source/src/filter.f],[coinfiltersqp])
     47AC_COIN_MAIN_PACKAGEDIR([Glpk],[ThirdParty],[glpk/src/glplpx01.c],[coinglpk])
     48AC_COIN_MAIN_PACKAGEDIR([HSL],[ThirdParty],[configure.ac],[coinhsl])
     49AC_COIN_MAIN_PACKAGEDIR([Lapack],[ThirdParty],[LAPACK/SRC/dlarf.f],[coinlapack])
     50AC_COIN_MAIN_PACKAGEDIR([Metis],[ThirdParty],[metis-4.0/Lib/balance.c],[coinmetis])
     51AC_COIN_MAIN_PACKAGEDIR([Mumps],[ThirdParty],[MUMPS/src/dmumps_part1.F],[coinmumps])
    5252
    5353##############################################################################
Note: See TracChangeset for help on using the changeset viewer.