Changeset 1610 for trunk


Ignore:
Timestamp:
Mar 9, 2011 5:57:30 AM (8 years ago)
Author:
stefan
Message:

more dependencies: add Mumps for Clp, add Metis for Mumps; rerun autotools

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:externals
      •  

        old new  
        44ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.3
        55ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/trunk
         6ThirdParty/Metis  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/stable/1.2
         7ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/stable/1.4
        68Data/Sample       https://projects.coin-or.org/svn/Data/Sample/stable/1.2
        79Data/miplib3      https://projects.coin-or.org/svn/Data/miplib3/stable/1.2
  • trunk/Cbc/configure

    r1604 r1610  
    17581758coin_projectdir=yes
    17591759
    1760 # Set the project's version number
     1760# Set the project's version numbers
    17611761
    17621762
    17631763cat >>confdefs.h <<_ACEOF
    17641764#define CBC_VERSION "$PACKAGE_VERSION"
     1765_ACEOF
     1766
     1767
     1768  coin_majorver=`echo $PACKAGE_VERSION | sed -n -e 's/^\([0-9]*\).*/\1/gp'`
     1769  coin_minorver=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.\([0-9]*\).*/\1/gp'`
     1770  coin_releasever=`echo $PACKAGE_VERSION | sed -n -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\).*/\1/gp'`
     1771  if test "x$coin_majorver" = x ; then coin_majorver=9999 ; fi
     1772  if test "x$coin_minorver" = x ; then coin_minorver=9999 ; fi
     1773  if test "x$coin_releasever" = x ; then coin_releasever=9999 ; fi
     1774
     1775cat >>confdefs.h <<_ACEOF
     1776#define CBC_VERSION_MAJOR $coin_majorver
     1777_ACEOF
     1778
     1779
     1780cat >>confdefs.h <<_ACEOF
     1781#define CBC_VERSION_MINOR $coin_minorver
     1782_ACEOF
     1783
     1784
     1785cat >>confdefs.h <<_ACEOF
     1786#define CBC_VERSION_RELEASE $coin_releasever
    17651787_ACEOF
    17661788
     
    28562878        coin_add_cflags="-pipe"
    28572879        coin_dbg_cflags="-g"
    2858         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     2880        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    28592881        case $build in
    28602882          *-darwin*)
     
    37833805        coin_add_cxxflags="-pipe"
    37843806        coin_dbg_cxxflags="-g"
    3785         coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas"
     3807        coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long"
    37863808        case $build in
    37873809          *-darwin*)
     
    59515973*-*-irix6*)
    59525974  # Find out which ABI we are using.
    5953   echo '#line 5953 "configure"' > conftest.$ac_ext
     5975  echo '#line 5975 "configure"' > conftest.$ac_ext
    59545976  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    59555977  (eval $ac_compile) 2>&5
     
    70857107
    70867108# Provide some information about the compiler.
    7087 echo "$as_me:7087:" \
     7109echo "$as_me:7109:" \
    70887110     "checking for Fortran 77 compiler version" >&5
    70897111ac_compiler=`set X $ac_compile; echo $2`
     
    81528174   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    81538175   -e 's:$: $lt_compiler_flag:'`
    8154    (eval echo "\"\$as_me:8154: $lt_compile\"" >&5)
     8176   (eval echo "\"\$as_me:8176: $lt_compile\"" >&5)
    81558177   (eval "$lt_compile" 2>conftest.err)
    81568178   ac_status=$?
    81578179   cat conftest.err >&5
    8158    echo "$as_me:8158: \$? = $ac_status" >&5
     8180   echo "$as_me:8180: \$? = $ac_status" >&5
    81598181   if (exit $ac_status) && test -s "$ac_outfile"; then
    81608182     # The compiler can only warn and ignore the option if not recognized
     
    84208442   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    84218443   -e 's:$: $lt_compiler_flag:'`
    8422    (eval echo "\"\$as_me:8422: $lt_compile\"" >&5)
     8444   (eval echo "\"\$as_me:8444: $lt_compile\"" >&5)
    84238445   (eval "$lt_compile" 2>conftest.err)
    84248446   ac_status=$?
    84258447   cat conftest.err >&5
    8426    echo "$as_me:8426: \$? = $ac_status" >&5
     8448   echo "$as_me:8448: \$? = $ac_status" >&5
    84278449   if (exit $ac_status) && test -s "$ac_outfile"; then
    84288450     # The compiler can only warn and ignore the option if not recognized
     
    85248546   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    85258547   -e 's:$: $lt_compiler_flag:'`
    8526    (eval echo "\"\$as_me:8526: $lt_compile\"" >&5)
     8548   (eval echo "\"\$as_me:8548: $lt_compile\"" >&5)
    85278549   (eval "$lt_compile" 2>out/conftest.err)
    85288550   ac_status=$?
    85298551   cat out/conftest.err >&5
    8530    echo "$as_me:8530: \$? = $ac_status" >&5
     8552   echo "$as_me:8552: \$? = $ac_status" >&5
    85318553   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    85328554   then
     
    1086910891  lt_status=$lt_dlunknown
    1087010892  cat > conftest.$ac_ext <<EOF
    10871 #line 10871 "configure"
     10893#line 10893 "configure"
    1087210894#include "confdefs.h"
    1087310895
     
    1096910991  lt_status=$lt_dlunknown
    1097010992  cat > conftest.$ac_ext <<EOF
    10971 #line 10971 "configure"
     10993#line 10993 "configure"
    1097210994#include "confdefs.h"
    1097310995
     
    1331313335   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1331413336   -e 's:$: $lt_compiler_flag:'`
    13315    (eval echo "\"\$as_me:13315: $lt_compile\"" >&5)
     13337   (eval echo "\"\$as_me:13337: $lt_compile\"" >&5)
    1331613338   (eval "$lt_compile" 2>conftest.err)
    1331713339   ac_status=$?
    1331813340   cat conftest.err >&5
    13319    echo "$as_me:13319: \$? = $ac_status" >&5
     13341   echo "$as_me:13341: \$? = $ac_status" >&5
    1332013342   if (exit $ac_status) && test -s "$ac_outfile"; then
    1332113343     # The compiler can only warn and ignore the option if not recognized
     
    1341713439   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1341813440   -e 's:$: $lt_compiler_flag:'`
    13419    (eval echo "\"\$as_me:13419: $lt_compile\"" >&5)
     13441   (eval echo "\"\$as_me:13441: $lt_compile\"" >&5)
    1342013442   (eval "$lt_compile" 2>out/conftest.err)
    1342113443   ac_status=$?
    1342213444   cat out/conftest.err >&5
    13423    echo "$as_me:13423: \$? = $ac_status" >&5
     13445   echo "$as_me:13445: \$? = $ac_status" >&5
    1342413446   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1342513447   then
     
    1498715009   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1498815010   -e 's:$: $lt_compiler_flag:'`
    14989    (eval echo "\"\$as_me:14989: $lt_compile\"" >&5)
     15011   (eval echo "\"\$as_me:15011: $lt_compile\"" >&5)
    1499015012   (eval "$lt_compile" 2>conftest.err)
    1499115013   ac_status=$?
    1499215014   cat conftest.err >&5
    14993    echo "$as_me:14993: \$? = $ac_status" >&5
     15015   echo "$as_me:15015: \$? = $ac_status" >&5
    1499415016   if (exit $ac_status) && test -s "$ac_outfile"; then
    1499515017     # The compiler can only warn and ignore the option if not recognized
     
    1509115113   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1509215114   -e 's:$: $lt_compiler_flag:'`
    15093    (eval echo "\"\$as_me:15093: $lt_compile\"" >&5)
     15115   (eval echo "\"\$as_me:15115: $lt_compile\"" >&5)
    1509415116   (eval "$lt_compile" 2>out/conftest.err)
    1509515117   ac_status=$?
    1509615118   cat out/conftest.err >&5
    15097    echo "$as_me:15097: \$? = $ac_status" >&5
     15119   echo "$as_me:15119: \$? = $ac_status" >&5
    1509815120   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1509915121   then
     
    1729817320   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1729917321   -e 's:$: $lt_compiler_flag:'`
    17300    (eval echo "\"\$as_me:17300: $lt_compile\"" >&5)
     17322   (eval echo "\"\$as_me:17322: $lt_compile\"" >&5)
    1730117323   (eval "$lt_compile" 2>conftest.err)
    1730217324   ac_status=$?
    1730317325   cat conftest.err >&5
    17304    echo "$as_me:17304: \$? = $ac_status" >&5
     17326   echo "$as_me:17326: \$? = $ac_status" >&5
    1730517327   if (exit $ac_status) && test -s "$ac_outfile"; then
    1730617328     # The compiler can only warn and ignore the option if not recognized
     
    1756617588   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1756717589   -e 's:$: $lt_compiler_flag:'`
    17568    (eval echo "\"\$as_me:17568: $lt_compile\"" >&5)
     17590   (eval echo "\"\$as_me:17590: $lt_compile\"" >&5)
    1756917591   (eval "$lt_compile" 2>conftest.err)
    1757017592   ac_status=$?
    1757117593   cat conftest.err >&5
    17572    echo "$as_me:17572: \$? = $ac_status" >&5
     17594   echo "$as_me:17594: \$? = $ac_status" >&5
    1757317595   if (exit $ac_status) && test -s "$ac_outfile"; then
    1757417596     # The compiler can only warn and ignore the option if not recognized
     
    1767017692   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1767117693   -e 's:$: $lt_compiler_flag:'`
    17672    (eval echo "\"\$as_me:17672: $lt_compile\"" >&5)
     17694   (eval echo "\"\$as_me:17694: $lt_compile\"" >&5)
    1767317695   (eval "$lt_compile" 2>out/conftest.err)
    1767417696   ac_status=$?
    1767517697   cat out/conftest.err >&5
    17676    echo "$as_me:17676: \$? = $ac_status" >&5
     17698   echo "$as_me:17698: \$? = $ac_status" >&5
    1767717699   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1767817700   then
  • trunk/Cbc/inc/config_cbc.h.in

    r1501 r1610  
    1313/* Version number of project */
    1414#undef CBC_VERSION
     15
     16/* Major Version number of project */
     17#undef CBC_VERSION_MAJOR
     18
     19/* Minor Version number of project */
     20#undef CBC_VERSION_MINOR
     21
     22/* Release Version number of project */
     23#undef CBC_VERSION_RELEASE
    1524
    1625/* Define to the debug sanity check level (0 is no test) */
  • trunk/Dependencies

    r1609 r1610  
    44ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.3
    55ThirdParty/Glpk   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Glpk/trunk
     6ThirdParty/Metis  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Metis/stable/1.2
     7ThirdParty/Mumps  https://projects.coin-or.org/svn/BuildTools/ThirdParty/Mumps/stable/1.4
    68Data/Sample       https://projects.coin-or.org/svn/Data/Sample/stable/1.2
    79Data/miplib3      https://projects.coin-or.org/svn/Data/miplib3/stable/1.2
  • trunk/configure

    r1604 r1610  
    478478ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
    479479ac_subdirs_all="$ac_subdirs_all ThirdParty/Glpk"
     480ac_subdirs_all="$ac_subdirs_all ThirdParty/Metis"
     481ac_subdirs_all="$ac_subdirs_all ThirdParty/Mumps"
    480482ac_subdirs_all="$ac_subdirs_all Data/Sample"
    481483ac_subdirs_all="$ac_subdirs_all Data/Netlib"
     
    11521154  --with-glpk-incdir directory with header files for using project Glpk
    11531155  --with-glpk-datadir directory with data files for using project Glpk
     1156  --with-metis-lib linker flags for using project Metis
     1157  --with-metis-incdir directory with header files for using project Metis
     1158  --with-metis-datadir directory with data files for using project Metis
     1159  --with-mumps-lib linker flags for using project Mumps
     1160  --with-mumps-incdir directory with header files for using project Mumps
     1161  --with-mumps-datadir directory with data files for using project Mumps
    11541162  --with-sample-lib linker flags for using project Sample
    11551163  --with-sample-incdir directory with header files for using project Sample
     
    27292737        coin_add_cflags="-pipe"
    27302738        coin_dbg_cflags="-g"
    2731         coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas"
     2739        coin_warn_cflags="-Wimplicit -Wparentheses -Wsequence-point -Wreturn-type -Wcast-qual -Wall -Wno-unknown-pragmas -Wno-long-long"
    27322740        case $build in
    27332741          *-darwin*)
     
    36583666        coin_add_cxxflags="-pipe"
    36593667        coin_dbg_cxxflags="-g"
    3660         coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas"
     3668        coin_warn_cxxflags="-Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long"
    36613669        case $build in
    36623670          *-darwin*)
     
    42614269
    42624270# Provide some information about the compiler.
    4263 echo "$as_me:4263:" \
     4271echo "$as_me:4271:" \
    42644272     "checking for Fortran 77 compiler version" >&5
    42654273ac_compiler=`set X $ac_compile; echo $2`
     
    65276535*-*-irix6*)
    65286536  # Find out which ABI we are using.
    6529   echo '#line 6529 "configure"' > conftest.$ac_ext
     6537  echo '#line 6537 "configure"' > conftest.$ac_ext
    65306538  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    65316539  (eval $ac_compile) 2>&5
     
    84918499   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    84928500   -e 's:$: $lt_compiler_flag:'`
    8493    (eval echo "\"\$as_me:8493: $lt_compile\"" >&5)
     8501   (eval echo "\"\$as_me:8501: $lt_compile\"" >&5)
    84948502   (eval "$lt_compile" 2>conftest.err)
    84958503   ac_status=$?
    84968504   cat conftest.err >&5
    8497    echo "$as_me:8497: \$? = $ac_status" >&5
     8505   echo "$as_me:8505: \$? = $ac_status" >&5
    84988506   if (exit $ac_status) && test -s "$ac_outfile"; then
    84998507     # The compiler can only warn and ignore the option if not recognized
     
    87598767   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    87608768   -e 's:$: $lt_compiler_flag:'`
    8761    (eval echo "\"\$as_me:8761: $lt_compile\"" >&5)
     8769   (eval echo "\"\$as_me:8769: $lt_compile\"" >&5)
    87628770   (eval "$lt_compile" 2>conftest.err)
    87638771   ac_status=$?
    87648772   cat conftest.err >&5
    8765    echo "$as_me:8765: \$? = $ac_status" >&5
     8773   echo "$as_me:8773: \$? = $ac_status" >&5
    87668774   if (exit $ac_status) && test -s "$ac_outfile"; then
    87678775     # The compiler can only warn and ignore the option if not recognized
     
    88638871   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    88648872   -e 's:$: $lt_compiler_flag:'`
    8865    (eval echo "\"\$as_me:8865: $lt_compile\"" >&5)
     8873   (eval echo "\"\$as_me:8873: $lt_compile\"" >&5)
    88668874   (eval "$lt_compile" 2>out/conftest.err)
    88678875   ac_status=$?
    88688876   cat out/conftest.err >&5
    8869    echo "$as_me:8869: \$? = $ac_status" >&5
     8877   echo "$as_me:8877: \$? = $ac_status" >&5
    88708878   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    88718879   then
     
    1120811216  lt_status=$lt_dlunknown
    1120911217  cat > conftest.$ac_ext <<EOF
    11210 #line 11210 "configure"
     11218#line 11218 "configure"
    1121111219#include "confdefs.h"
    1121211220
     
    1130811316  lt_status=$lt_dlunknown
    1130911317  cat > conftest.$ac_ext <<EOF
    11310 #line 11310 "configure"
     11318#line 11318 "configure"
    1131111319#include "confdefs.h"
    1131211320
     
    1365213660   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1365313661   -e 's:$: $lt_compiler_flag:'`
    13654    (eval echo "\"\$as_me:13654: $lt_compile\"" >&5)
     13662   (eval echo "\"\$as_me:13662: $lt_compile\"" >&5)
    1365513663   (eval "$lt_compile" 2>conftest.err)
    1365613664   ac_status=$?
    1365713665   cat conftest.err >&5
    13658    echo "$as_me:13658: \$? = $ac_status" >&5
     13666   echo "$as_me:13666: \$? = $ac_status" >&5
    1365913667   if (exit $ac_status) && test -s "$ac_outfile"; then
    1366013668     # The compiler can only warn and ignore the option if not recognized
     
    1375613764   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1375713765   -e 's:$: $lt_compiler_flag:'`
    13758    (eval echo "\"\$as_me:13758: $lt_compile\"" >&5)
     13766   (eval echo "\"\$as_me:13766: $lt_compile\"" >&5)
    1375913767   (eval "$lt_compile" 2>out/conftest.err)
    1376013768   ac_status=$?
    1376113769   cat out/conftest.err >&5
    13762    echo "$as_me:13762: \$? = $ac_status" >&5
     13770   echo "$as_me:13770: \$? = $ac_status" >&5
    1376313771   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1376413772   then
     
    1532615334   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1532715335   -e 's:$: $lt_compiler_flag:'`
    15328    (eval echo "\"\$as_me:15328: $lt_compile\"" >&5)
     15336   (eval echo "\"\$as_me:15336: $lt_compile\"" >&5)
    1532915337   (eval "$lt_compile" 2>conftest.err)
    1533015338   ac_status=$?
    1533115339   cat conftest.err >&5
    15332    echo "$as_me:15332: \$? = $ac_status" >&5
     15340   echo "$as_me:15340: \$? = $ac_status" >&5
    1533315341   if (exit $ac_status) && test -s "$ac_outfile"; then
    1533415342     # The compiler can only warn and ignore the option if not recognized
     
    1543015438   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1543115439   -e 's:$: $lt_compiler_flag:'`
    15432    (eval echo "\"\$as_me:15432: $lt_compile\"" >&5)
     15440   (eval echo "\"\$as_me:15440: $lt_compile\"" >&5)
    1543315441   (eval "$lt_compile" 2>out/conftest.err)
    1543415442   ac_status=$?
    1543515443   cat out/conftest.err >&5
    15436    echo "$as_me:15436: \$? = $ac_status" >&5
     15444   echo "$as_me:15444: \$? = $ac_status" >&5
    1543715445   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1543815446   then
     
    1763717645   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1763817646   -e 's:$: $lt_compiler_flag:'`
    17639    (eval echo "\"\$as_me:17639: $lt_compile\"" >&5)
     17647   (eval echo "\"\$as_me:17647: $lt_compile\"" >&5)
    1764017648   (eval "$lt_compile" 2>conftest.err)
    1764117649   ac_status=$?
    1764217650   cat conftest.err >&5
    17643    echo "$as_me:17643: \$? = $ac_status" >&5
     17651   echo "$as_me:17651: \$? = $ac_status" >&5
    1764417652   if (exit $ac_status) && test -s "$ac_outfile"; then
    1764517653     # The compiler can only warn and ignore the option if not recognized
     
    1790517913   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1790617914   -e 's:$: $lt_compiler_flag:'`
    17907    (eval echo "\"\$as_me:17907: $lt_compile\"" >&5)
     17915   (eval echo "\"\$as_me:17915: $lt_compile\"" >&5)
    1790817916   (eval "$lt_compile" 2>conftest.err)
    1790917917   ac_status=$?
    1791017918   cat conftest.err >&5
    17911    echo "$as_me:17911: \$? = $ac_status" >&5
     17919   echo "$as_me:17919: \$? = $ac_status" >&5
    1791217920   if (exit $ac_status) && test -s "$ac_outfile"; then
    1791317921     # The compiler can only warn and ignore the option if not recognized
     
    1800918017   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1801018018   -e 's:$: $lt_compiler_flag:'`
    18011    (eval echo "\"\$as_me:18011: $lt_compile\"" >&5)
     18019   (eval echo "\"\$as_me:18019: $lt_compile\"" >&5)
    1801218020   (eval "$lt_compile" 2>out/conftest.err)
    1801318021   ac_status=$?
    1801418022   cat out/conftest.err >&5
    18015    echo "$as_me:18015: \$? = $ac_status" >&5
     18023   echo "$as_me:18023: \$? = $ac_status" >&5
    1801618024   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1801718025   then
     
    2138921397
    2139021398subdirs="$subdirs ThirdParty/Glpk"
     21399
     21400  fi
     21401fi
     21402
     21403
     21404echo "$as_me:$LINENO: checking whether source of project Metis is available and should be compiled" >&5
     21405echo $ECHO_N "checking whether source of project Metis is available and should be compiled... $ECHO_C" >&6
     21406
     21407coin_has_metis=notGiven
     21408coin_reason=
     21409
     21410# check if user wants to skip project in any case
     21411
     21412if test x"$COIN_SKIP_PROJECTS" != x; then
     21413  for dir in $COIN_SKIP_PROJECTS; do
     21414    if test $dir = "Metis"; then
     21415      coin_has_metis="no"
     21416      coin_reason="Metis has been specified in COIN_SKIP_PROJECTS"
     21417    fi
     21418
     21419    if test $dir = "ThirdParty/Metis"; then
     21420      coin_has_metis="no"
     21421      coin_reason="ThirdParty/Metis has been specified in COIN_SKIP_PROJECTS"
     21422    fi
     21423  done
     21424fi
     21425
     21426if test "$coin_has_metis" != no; then
     21427
     21428# Check whether --with-m4_tolower(Metis)-lib or --without-m4_tolower(Metis)-lib was given.
     21429if test "${with_metis_lib+set}" = set; then
     21430  withval="$with_metis_lib"
     21431  if test "$withval" = no ; then
     21432       coin_has_metis="no"
     21433       coin_reason="--without-metis-lib has been specified"
     21434     else
     21435       coin_has_metis="no"
     21436       coin_reason="--with-metis-lib has been specified"
     21437     fi
     21438fi;
     21439fi
     21440
     21441if test "$coin_has_metis" != no; then
     21442
     21443# Check whether --with-m4_tolower(Metis)-incdir or --without-m4_tolower(Metis)-incdir was given.
     21444if test "${with_metis_incdir+set}" = set; then
     21445  withval="$with_metis_incdir"
     21446  if test "$withval" = no ; then
     21447       coin_has_metis="no"
     21448       coin_reason="--without-metis-incdir has been specified"
     21449     else
     21450       coin_has_metis="no"
     21451       coin_reason="--with-metis-incdir has been specified"
     21452     fi
     21453fi;
     21454fi
     21455
     21456if test "$coin_has_metis" != no; then
     21457
     21458# Check whether --with-m4_tolower(Metis)-datadir or --without-m4_tolower(Metis)-datadir was given.
     21459if test "${with_metis_datadir+set}" = set; then
     21460  withval="$with_metis_datadir"
     21461  if test "$withval" = no ; then
     21462       coin_has_metis="no"
     21463       coin_reason="--without-metis-datadir has been specified"
     21464     else
     21465       coin_has_metis="no"
     21466       coin_reason="--with-metis-datadir has been specified"
     21467     fi
     21468fi;
     21469fi
     21470
     21471
     21472
     21473
     21474
     21475# check if project is available in present directory
     21476if test "$coin_has_metis" = notGiven; then
     21477  coin_has_metis=no
     21478  if test -d $srcdir/ThirdParty/Metis; then
     21479    coin_reason="source in ThirdParty/Metis"
     21480    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21481    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21482    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21483    for i in $srcdir/ThirdParty/Metis/metis-4.0/Lib/balance.c; do
     21484         if test -r $i; then
     21485           coin_has_metis="yes"
     21486         else
     21487           coin_has_metis="no"
     21488           coin_reason="source file $i not available"
     21489           break
     21490         fi
     21491       done
     21492
     21493  fi
     21494fi
     21495
     21496if test -z "$coin_reason" ; then
     21497  echo "$as_me:$LINENO: result: $coin_has_metis" >&5
     21498echo "${ECHO_T}$coin_has_metis" >&6
     21499else
     21500  echo "$as_me:$LINENO: result: $coin_has_metis, $coin_reason" >&5
     21501echo "${ECHO_T}$coin_has_metis, $coin_reason" >&6
     21502fi
     21503
     21504if test "$coin_has_metis" = yes ; then
     21505  if test -r $srcdir/ThirdParty/Metis/configure; then
     21506    coin_subdirs="$coin_subdirs ThirdParty/Metis"
     21507
     21508
     21509subdirs="$subdirs ThirdParty/Metis"
     21510
     21511  fi
     21512fi
     21513
     21514
     21515echo "$as_me:$LINENO: checking whether source of project Mumps is available and should be compiled" >&5
     21516echo $ECHO_N "checking whether source of project Mumps is available and should be compiled... $ECHO_C" >&6
     21517
     21518coin_has_mumps=notGiven
     21519coin_reason=
     21520
     21521# check if user wants to skip project in any case
     21522
     21523if test x"$COIN_SKIP_PROJECTS" != x; then
     21524  for dir in $COIN_SKIP_PROJECTS; do
     21525    if test $dir = "Mumps"; then
     21526      coin_has_mumps="no"
     21527      coin_reason="Mumps has been specified in COIN_SKIP_PROJECTS"
     21528    fi
     21529
     21530    if test $dir = "ThirdParty/Mumps"; then
     21531      coin_has_mumps="no"
     21532      coin_reason="ThirdParty/Mumps has been specified in COIN_SKIP_PROJECTS"
     21533    fi
     21534  done
     21535fi
     21536
     21537if test "$coin_has_mumps" != no; then
     21538
     21539# Check whether --with-m4_tolower(Mumps)-lib or --without-m4_tolower(Mumps)-lib was given.
     21540if test "${with_mumps_lib+set}" = set; then
     21541  withval="$with_mumps_lib"
     21542  if test "$withval" = no ; then
     21543       coin_has_mumps="no"
     21544       coin_reason="--without-mumps-lib has been specified"
     21545     else
     21546       coin_has_mumps="no"
     21547       coin_reason="--with-mumps-lib has been specified"
     21548     fi
     21549fi;
     21550fi
     21551
     21552if test "$coin_has_mumps" != no; then
     21553
     21554# Check whether --with-m4_tolower(Mumps)-incdir or --without-m4_tolower(Mumps)-incdir was given.
     21555if test "${with_mumps_incdir+set}" = set; then
     21556  withval="$with_mumps_incdir"
     21557  if test "$withval" = no ; then
     21558       coin_has_mumps="no"
     21559       coin_reason="--without-mumps-incdir has been specified"
     21560     else
     21561       coin_has_mumps="no"
     21562       coin_reason="--with-mumps-incdir has been specified"
     21563     fi
     21564fi;
     21565fi
     21566
     21567if test "$coin_has_mumps" != no; then
     21568
     21569# Check whether --with-m4_tolower(Mumps)-datadir or --without-m4_tolower(Mumps)-datadir was given.
     21570if test "${with_mumps_datadir+set}" = set; then
     21571  withval="$with_mumps_datadir"
     21572  if test "$withval" = no ; then
     21573       coin_has_mumps="no"
     21574       coin_reason="--without-mumps-datadir has been specified"
     21575     else
     21576       coin_has_mumps="no"
     21577       coin_reason="--with-mumps-datadir has been specified"
     21578     fi
     21579fi;
     21580fi
     21581
     21582
     21583
     21584
     21585
     21586# check if project is available in present directory
     21587if test "$coin_has_mumps" = notGiven; then
     21588  coin_has_mumps=no
     21589  if test -d $srcdir/ThirdParty/Mumps; then
     21590    coin_reason="source in ThirdParty/Mumps"
     21591    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21592    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21593    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21594    for i in $srcdir/ThirdParty/Mumps/MUMPS/src/dmumps_part1.F; do
     21595         if test -r $i; then
     21596           coin_has_mumps="yes"
     21597         else
     21598           coin_has_mumps="no"
     21599           coin_reason="source file $i not available"
     21600           break
     21601         fi
     21602       done
     21603
     21604  fi
     21605fi
     21606
     21607if test -z "$coin_reason" ; then
     21608  echo "$as_me:$LINENO: result: $coin_has_mumps" >&5
     21609echo "${ECHO_T}$coin_has_mumps" >&6
     21610else
     21611  echo "$as_me:$LINENO: result: $coin_has_mumps, $coin_reason" >&5
     21612echo "${ECHO_T}$coin_has_mumps, $coin_reason" >&6
     21613fi
     21614
     21615if test "$coin_has_mumps" = yes ; then
     21616  if test -r $srcdir/ThirdParty/Mumps/configure; then
     21617    coin_subdirs="$coin_subdirs ThirdParty/Mumps"
     21618
     21619
     21620subdirs="$subdirs ThirdParty/Mumps"
    2139121621
    2139221622  fi
  • trunk/configure.ac

    r1604 r1610  
    4747AC_COIN_MAIN_PACKAGEDIR(Lapack, ThirdParty,[LAPACK/SRC/dlarf.f])
    4848AC_COIN_MAIN_PACKAGEDIR(Glpk,   ThirdParty,[glpk/include/glpk.h])
     49AC_COIN_MAIN_PACKAGEDIR(Metis,  ThirdParty,[metis-4.0/Lib/balance.c])
     50AC_COIN_MAIN_PACKAGEDIR(Mumps,  ThirdParty,[MUMPS/src/dmumps_part1.F])
    4951AC_COIN_MAIN_PACKAGEDIR(Sample, Data)
    5052AC_COIN_MAIN_PACKAGEDIR(Netlib, Data)
Note: See TracChangeset for help on using the changeset viewer.