Changeset 1946 for trunk/configure


Ignore:
Timestamp:
Apr 18, 2013 9:39:00 AM (6 years ago)
Author:
forrest
Message:

allow AMPL in Clp

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:externals
      •  

        old new  
        11BuildTools        https://projects.coin-or.org/svn/BuildTools/stable/0.7
         2ThirdParty/ASL    https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/stable/1.2
        23ThirdParty/Blas   https://projects.coin-or.org/svn/BuildTools/ThirdParty/Blas/stable/1.3
        34ThirdParty/Lapack https://projects.coin-or.org/svn/BuildTools/ThirdParty/Lapack/stable/1.4
         
        910CoinUtils         https://projects.coin-or.org/svn/CoinUtils/trunk/CoinUtils
        1011Osi               https://projects.coin-or.org/svn/Osi/trunk/Osi
        11 
  • trunk/configure

    r1913 r1946  
    474474#endif"
    475475
     476ac_subdirs_all="$ac_subdirs_all ThirdParty/ASL"
    476477ac_subdirs_all="$ac_subdirs_all ThirdParty/Blas"
    477478ac_subdirs_all="$ac_subdirs_all ThirdParty/Lapack"
     
    11341135                          include additional configurations [automatic]
    11351136
     1137  --with-asl-lib linker flags for using project ASL
     1138  --with-asl-incdir directory with header files for using project ASL
     1139  --with-asl-datadir directory with data files for using project ASL
    11361140  --with-blas-lib linker flags for using project Blas
    11371141  --with-blas-incdir directory with header files for using project Blas
     
    43104314
    43114315# Provide some information about the compiler.
    4312 echo "$as_me:4312:" \
     4316echo "$as_me:4316:" \
    43134317     "checking for Fortran 77 compiler version" >&5
    43144318ac_compiler=`set X $ac_compile; echo $2`
     
    65766580*-*-irix6*)
    65776581  # Find out which ABI we are using.
    6578   echo '#line 6578 "configure"' > conftest.$ac_ext
     6582  echo '#line 6582 "configure"' > conftest.$ac_ext
    65796583  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    65806584  (eval $ac_compile) 2>&5
     
    85408544   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    85418545   -e 's:$: $lt_compiler_flag:'`
    8542    (eval echo "\"\$as_me:8542: $lt_compile\"" >&5)
     8546   (eval echo "\"\$as_me:8546: $lt_compile\"" >&5)
    85438547   (eval "$lt_compile" 2>conftest.err)
    85448548   ac_status=$?
    85458549   cat conftest.err >&5
    8546    echo "$as_me:8546: \$? = $ac_status" >&5
     8550   echo "$as_me:8550: \$? = $ac_status" >&5
    85478551   if (exit $ac_status) && test -s "$ac_outfile"; then
    85488552     # The compiler can only warn and ignore the option if not recognized
     
    88088812   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    88098813   -e 's:$: $lt_compiler_flag:'`
    8810    (eval echo "\"\$as_me:8810: $lt_compile\"" >&5)
     8814   (eval echo "\"\$as_me:8814: $lt_compile\"" >&5)
    88118815   (eval "$lt_compile" 2>conftest.err)
    88128816   ac_status=$?
    88138817   cat conftest.err >&5
    8814    echo "$as_me:8814: \$? = $ac_status" >&5
     8818   echo "$as_me:8818: \$? = $ac_status" >&5
    88158819   if (exit $ac_status) && test -s "$ac_outfile"; then
    88168820     # The compiler can only warn and ignore the option if not recognized
     
    89128916   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    89138917   -e 's:$: $lt_compiler_flag:'`
    8914    (eval echo "\"\$as_me:8914: $lt_compile\"" >&5)
     8918   (eval echo "\"\$as_me:8918: $lt_compile\"" >&5)
    89158919   (eval "$lt_compile" 2>out/conftest.err)
    89168920   ac_status=$?
    89178921   cat out/conftest.err >&5
    8918    echo "$as_me:8918: \$? = $ac_status" >&5
     8922   echo "$as_me:8922: \$? = $ac_status" >&5
    89198923   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    89208924   then
     
    1125711261  lt_status=$lt_dlunknown
    1125811262  cat > conftest.$ac_ext <<EOF
    11259 #line 11259 "configure"
     11263#line 11263 "configure"
    1126011264#include "confdefs.h"
    1126111265
     
    1135711361  lt_status=$lt_dlunknown
    1135811362  cat > conftest.$ac_ext <<EOF
    11359 #line 11359 "configure"
     11363#line 11363 "configure"
    1136011364#include "confdefs.h"
    1136111365
     
    1370113705   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1370213706   -e 's:$: $lt_compiler_flag:'`
    13703    (eval echo "\"\$as_me:13703: $lt_compile\"" >&5)
     13707   (eval echo "\"\$as_me:13707: $lt_compile\"" >&5)
    1370413708   (eval "$lt_compile" 2>conftest.err)
    1370513709   ac_status=$?
    1370613710   cat conftest.err >&5
    13707    echo "$as_me:13707: \$? = $ac_status" >&5
     13711   echo "$as_me:13711: \$? = $ac_status" >&5
    1370813712   if (exit $ac_status) && test -s "$ac_outfile"; then
    1370913713     # The compiler can only warn and ignore the option if not recognized
     
    1380513809   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1380613810   -e 's:$: $lt_compiler_flag:'`
    13807    (eval echo "\"\$as_me:13807: $lt_compile\"" >&5)
     13811   (eval echo "\"\$as_me:13811: $lt_compile\"" >&5)
    1380813812   (eval "$lt_compile" 2>out/conftest.err)
    1380913813   ac_status=$?
    1381013814   cat out/conftest.err >&5
    13811    echo "$as_me:13811: \$? = $ac_status" >&5
     13815   echo "$as_me:13815: \$? = $ac_status" >&5
    1381213816   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1381313817   then
     
    1537515379   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1537615380   -e 's:$: $lt_compiler_flag:'`
    15377    (eval echo "\"\$as_me:15377: $lt_compile\"" >&5)
     15381   (eval echo "\"\$as_me:15381: $lt_compile\"" >&5)
    1537815382   (eval "$lt_compile" 2>conftest.err)
    1537915383   ac_status=$?
    1538015384   cat conftest.err >&5
    15381    echo "$as_me:15381: \$? = $ac_status" >&5
     15385   echo "$as_me:15385: \$? = $ac_status" >&5
    1538215386   if (exit $ac_status) && test -s "$ac_outfile"; then
    1538315387     # The compiler can only warn and ignore the option if not recognized
     
    1547915483   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1548015484   -e 's:$: $lt_compiler_flag:'`
    15481    (eval echo "\"\$as_me:15481: $lt_compile\"" >&5)
     15485   (eval echo "\"\$as_me:15485: $lt_compile\"" >&5)
    1548215486   (eval "$lt_compile" 2>out/conftest.err)
    1548315487   ac_status=$?
    1548415488   cat out/conftest.err >&5
    15485    echo "$as_me:15485: \$? = $ac_status" >&5
     15489   echo "$as_me:15489: \$? = $ac_status" >&5
    1548615490   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1548715491   then
     
    1768617690   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1768717691   -e 's:$: $lt_compiler_flag:'`
    17688    (eval echo "\"\$as_me:17688: $lt_compile\"" >&5)
     17692   (eval echo "\"\$as_me:17692: $lt_compile\"" >&5)
    1768917693   (eval "$lt_compile" 2>conftest.err)
    1769017694   ac_status=$?
    1769117695   cat conftest.err >&5
    17692    echo "$as_me:17692: \$? = $ac_status" >&5
     17696   echo "$as_me:17696: \$? = $ac_status" >&5
    1769317697   if (exit $ac_status) && test -s "$ac_outfile"; then
    1769417698     # The compiler can only warn and ignore the option if not recognized
     
    1795417958   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1795517959   -e 's:$: $lt_compiler_flag:'`
    17956    (eval echo "\"\$as_me:17956: $lt_compile\"" >&5)
     17960   (eval echo "\"\$as_me:17960: $lt_compile\"" >&5)
    1795717961   (eval "$lt_compile" 2>conftest.err)
    1795817962   ac_status=$?
    1795917963   cat conftest.err >&5
    17960    echo "$as_me:17960: \$? = $ac_status" >&5
     17964   echo "$as_me:17964: \$? = $ac_status" >&5
    1796117965   if (exit $ac_status) && test -s "$ac_outfile"; then
    1796217966     # The compiler can only warn and ignore the option if not recognized
     
    1805818062   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1805918063   -e 's:$: $lt_compiler_flag:'`
    18060    (eval echo "\"\$as_me:18060: $lt_compile\"" >&5)
     18064   (eval echo "\"\$as_me:18064: $lt_compile\"" >&5)
    1806118065   (eval "$lt_compile" 2>out/conftest.err)
    1806218066   ac_status=$?
    1806318067   cat out/conftest.err >&5
    18064    echo "$as_me:18064: \$? = $ac_status" >&5
     18068   echo "$as_me:18068: \$? = $ac_status" >&5
    1806518069   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1806618070   then
     
    2097120975#                  Check which subprojects are there                        #
    2097220976#############################################################################
     20977
     20978
     20979echo "$as_me:$LINENO: checking whether source of project ASL is available and should be compiled" >&5
     20980echo $ECHO_N "checking whether source of project ASL is available and should be compiled... $ECHO_C" >&6
     20981
     20982coin_has_asl=notGiven
     20983coin_reason=
     20984
     20985# check if user wants to skip project in any case
     20986
     20987if test x"$COIN_SKIP_PROJECTS" != x; then
     20988  for dir in $COIN_SKIP_PROJECTS; do
     20989    if test $dir = "ASL"; then
     20990      coin_has_asl="no"
     20991      coin_reason="ASL has been specified in COIN_SKIP_PROJECTS"
     20992    fi
     20993
     20994    if test $dir = "ThirdParty/ASL"; then
     20995      coin_has_asl="no"
     20996      coin_reason="ThirdParty/ASL has been specified in COIN_SKIP_PROJECTS"
     20997    fi
     20998  done
     20999fi
     21000
     21001if test "$coin_has_asl" != no; then
     21002
     21003# Check whether --with-m4_tolower(ASL) or --without-m4_tolower(ASL) was given.
     21004if test "${with_asl+set}" = set; then
     21005  withval="$with_asl"
     21006  if test "$withval" = no ; then
     21007       coin_has_asl="no"
     21008       coin_reason="--without-asl has been specified"
     21009     fi
     21010
     21011fi;
     21012fi
     21013
     21014if test "$coin_has_asl" != no; then
     21015
     21016# Check whether --with-m4_tolower(ASL)-lib or --without-m4_tolower(ASL)-lib was given.
     21017if test "${with_asl_lib+set}" = set; then
     21018  withval="$with_asl_lib"
     21019  if test "$withval" = no ; then
     21020       coin_has_asl="no"
     21021       coin_reason="--without-asl-lib has been specified"
     21022     else
     21023       coin_has_asl="no"
     21024       coin_reason="--with-asl-lib has been specified"
     21025     fi
     21026fi;
     21027fi
     21028
     21029if test "$coin_has_asl" != no; then
     21030
     21031# Check whether --with-m4_tolower(ASL)-incdir or --without-m4_tolower(ASL)-incdir was given.
     21032if test "${with_asl_incdir+set}" = set; then
     21033  withval="$with_asl_incdir"
     21034  if test "$withval" = no ; then
     21035       coin_has_asl="no"
     21036       coin_reason="--without-asl-incdir has been specified"
     21037     else
     21038       coin_has_asl="no"
     21039       coin_reason="--with-asl-incdir has been specified"
     21040     fi
     21041fi;
     21042fi
     21043
     21044if test "$coin_has_asl" != no; then
     21045
     21046# Check whether --with-m4_tolower(ASL)-datadir or --without-m4_tolower(ASL)-datadir was given.
     21047if test "${with_asl_datadir+set}" = set; then
     21048  withval="$with_asl_datadir"
     21049  if test "$withval" = no ; then
     21050       coin_has_asl="no"
     21051       coin_reason="--without-asl-datadir has been specified"
     21052     else
     21053       coin_has_asl="no"
     21054       coin_reason="--with-asl-datadir has been specified"
     21055     fi
     21056fi;
     21057fi
     21058
     21059
     21060
     21061
     21062
     21063# check if project is available in present directory
     21064if test "$coin_has_asl" = notGiven; then
     21065  coin_has_asl=no
     21066  if test -d $srcdir/ThirdParty/ASL; then
     21067    coin_reason="source in ThirdParty/ASL"
     21068    # If a third argument is given, then we have to check if one one the files given in that third argument is present.
     21069    # If none of the files in the third argument is available, then we consider the project directory as non-existing.
     21070    # However, if no third argument is given, then this means that there should be no check, and existence of the directory is sufficient.
     21071    for i in $srcdir/ThirdParty/ASL/solvers/asl.h; do
     21072         if test -r $i; then
     21073           coin_has_asl="yes"
     21074         else
     21075           coin_has_asl="no"
     21076           coin_reason="source file $i not available"
     21077           break
     21078         fi
     21079       done
     21080
     21081  fi
     21082fi
     21083
     21084if test -z "$coin_reason" ; then
     21085  echo "$as_me:$LINENO: result: $coin_has_asl" >&5
     21086echo "${ECHO_T}$coin_has_asl" >&6
     21087else
     21088  echo "$as_me:$LINENO: result: $coin_has_asl, $coin_reason" >&5
     21089echo "${ECHO_T}$coin_has_asl, $coin_reason" >&6
     21090fi
     21091
     21092if test "$coin_has_asl" = yes ; then
     21093  if test -r $srcdir/ThirdParty/ASL/configure; then
     21094    coin_subdirs="$coin_subdirs ThirdParty/ASL"
     21095
     21096
     21097subdirs="$subdirs ThirdParty/ASL"
     21098
     21099  fi
     21100fi
    2097321101
    2097421102
Note: See TracChangeset for help on using the changeset viewer.