Changeset 499 for branches/devel/Cbc


Ignore:
Timestamp:
Dec 7, 2006 6:05:47 PM (13 years ago)
Author:
andreasw
Message:

added ASL library also for linking of cbc-generic

Location:
branches/devel/Cbc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/configure

    r459 r499  
    28332833  fi
    28342834
     2835  # if PM doesn't want the warning messages, take them out
     2836  if test x"$coin_skip_warn_cflags" = xyes; then
     2837    coin_warn_cflags=
     2838  fi
     2839
    28352840  if test x${DBG_CFLAGS+set} != xset; then
    28362841    DBG_CFLAGS="$coin_dbg_cflags $coin_add_cflags $coin_warn_cflags"
     
    36183623  fi
    36193624
     3625  # if PM doesn't want the warning messages, take them out
     3626  if test x"$coin_skip_warn_cxxflags" = xyes; then
     3627    coin_warn_cxxflags=
     3628  fi
     3629
    36203630  if test x${DBG_CXXFLAGS+set} != xset; then
    36213631    DBG_CXXFLAGS="$coin_dbg_cxxflags $coin_add_cxxflags $coin_warn_cxxflags"
     
    48014811*-*-irix6*)
    48024812  # Find out which ABI we are using.
    4803   echo '#line 4803 "configure"' > conftest.$ac_ext
     4813  echo '#line 4813 "configure"' > conftest.$ac_ext
    48044814  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    48054815  (eval $ac_compile) 2>&5
     
    59355945
    59365946# Provide some information about the compiler.
    5937 echo "$as_me:5937:" \
     5947echo "$as_me:5947:" \
    59385948     "checking for Fortran 77 compiler version" >&5
    59395949ac_compiler=`set X $ac_compile; echo $2`
     
    70027012   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    70037013   -e 's:$: $lt_compiler_flag:'`
    7004    (eval echo "\"\$as_me:7004: $lt_compile\"" >&5)
     7014   (eval echo "\"\$as_me:7014: $lt_compile\"" >&5)
    70057015   (eval "$lt_compile" 2>conftest.err)
    70067016   ac_status=$?
    70077017   cat conftest.err >&5
    7008    echo "$as_me:7008: \$? = $ac_status" >&5
     7018   echo "$as_me:7018: \$? = $ac_status" >&5
    70097019   if (exit $ac_status) && test -s "$ac_outfile"; then
    70107020     # The compiler can only warn and ignore the option if not recognized
     
    72707280   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    72717281   -e 's:$: $lt_compiler_flag:'`
    7272    (eval echo "\"\$as_me:7272: $lt_compile\"" >&5)
     7282   (eval echo "\"\$as_me:7282: $lt_compile\"" >&5)
    72737283   (eval "$lt_compile" 2>conftest.err)
    72747284   ac_status=$?
    72757285   cat conftest.err >&5
    7276    echo "$as_me:7276: \$? = $ac_status" >&5
     7286   echo "$as_me:7286: \$? = $ac_status" >&5
    72777287   if (exit $ac_status) && test -s "$ac_outfile"; then
    72787288     # The compiler can only warn and ignore the option if not recognized
     
    73747384   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    73757385   -e 's:$: $lt_compiler_flag:'`
    7376    (eval echo "\"\$as_me:7376: $lt_compile\"" >&5)
     7386   (eval echo "\"\$as_me:7386: $lt_compile\"" >&5)
    73777387   (eval "$lt_compile" 2>out/conftest.err)
    73787388   ac_status=$?
    73797389   cat out/conftest.err >&5
    7380    echo "$as_me:7380: \$? = $ac_status" >&5
     7390   echo "$as_me:7390: \$? = $ac_status" >&5
    73817391   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    73827392   then
     
    97199729  lt_status=$lt_dlunknown
    97209730  cat > conftest.$ac_ext <<EOF
    9721 #line 9721 "configure"
     9731#line 9731 "configure"
    97229732#include "confdefs.h"
    97239733
     
    98199829  lt_status=$lt_dlunknown
    98209830  cat > conftest.$ac_ext <<EOF
    9821 #line 9821 "configure"
     9831#line 9831 "configure"
    98229832#include "confdefs.h"
    98239833
     
    1216312173   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1216412174   -e 's:$: $lt_compiler_flag:'`
    12165    (eval echo "\"\$as_me:12165: $lt_compile\"" >&5)
     12175   (eval echo "\"\$as_me:12175: $lt_compile\"" >&5)
    1216612176   (eval "$lt_compile" 2>conftest.err)
    1216712177   ac_status=$?
    1216812178   cat conftest.err >&5
    12169    echo "$as_me:12169: \$? = $ac_status" >&5
     12179   echo "$as_me:12179: \$? = $ac_status" >&5
    1217012180   if (exit $ac_status) && test -s "$ac_outfile"; then
    1217112181     # The compiler can only warn and ignore the option if not recognized
     
    1226712277   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1226812278   -e 's:$: $lt_compiler_flag:'`
    12269    (eval echo "\"\$as_me:12269: $lt_compile\"" >&5)
     12279   (eval echo "\"\$as_me:12279: $lt_compile\"" >&5)
    1227012280   (eval "$lt_compile" 2>out/conftest.err)
    1227112281   ac_status=$?
    1227212282   cat out/conftest.err >&5
    12273    echo "$as_me:12273: \$? = $ac_status" >&5
     12283   echo "$as_me:12283: \$? = $ac_status" >&5
    1227412284   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1227512285   then
     
    1383713847   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1383813848   -e 's:$: $lt_compiler_flag:'`
    13839    (eval echo "\"\$as_me:13839: $lt_compile\"" >&5)
     13849   (eval echo "\"\$as_me:13849: $lt_compile\"" >&5)
    1384013850   (eval "$lt_compile" 2>conftest.err)
    1384113851   ac_status=$?
    1384213852   cat conftest.err >&5
    13843    echo "$as_me:13843: \$? = $ac_status" >&5
     13853   echo "$as_me:13853: \$? = $ac_status" >&5
    1384413854   if (exit $ac_status) && test -s "$ac_outfile"; then
    1384513855     # The compiler can only warn and ignore the option if not recognized
     
    1394113951   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1394213952   -e 's:$: $lt_compiler_flag:'`
    13943    (eval echo "\"\$as_me:13943: $lt_compile\"" >&5)
     13953   (eval echo "\"\$as_me:13953: $lt_compile\"" >&5)
    1394413954   (eval "$lt_compile" 2>out/conftest.err)
    1394513955   ac_status=$?
    1394613956   cat out/conftest.err >&5
    13947    echo "$as_me:13947: \$? = $ac_status" >&5
     13957   echo "$as_me:13957: \$? = $ac_status" >&5
    1394813958   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1394913959   then
     
    1614816158   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1614916159   -e 's:$: $lt_compiler_flag:'`
    16150    (eval echo "\"\$as_me:16150: $lt_compile\"" >&5)
     16160   (eval echo "\"\$as_me:16160: $lt_compile\"" >&5)
    1615116161   (eval "$lt_compile" 2>conftest.err)
    1615216162   ac_status=$?
    1615316163   cat conftest.err >&5
    16154    echo "$as_me:16154: \$? = $ac_status" >&5
     16164   echo "$as_me:16164: \$? = $ac_status" >&5
    1615516165   if (exit $ac_status) && test -s "$ac_outfile"; then
    1615616166     # The compiler can only warn and ignore the option if not recognized
     
    1641616426   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1641716427   -e 's:$: $lt_compiler_flag:'`
    16418    (eval echo "\"\$as_me:16418: $lt_compile\"" >&5)
     16428   (eval echo "\"\$as_me:16428: $lt_compile\"" >&5)
    1641916429   (eval "$lt_compile" 2>conftest.err)
    1642016430   ac_status=$?
    1642116431   cat conftest.err >&5
    16422    echo "$as_me:16422: \$? = $ac_status" >&5
     16432   echo "$as_me:16432: \$? = $ac_status" >&5
    1642316433   if (exit $ac_status) && test -s "$ac_outfile"; then
    1642416434     # The compiler can only warn and ignore the option if not recognized
     
    1652016530   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1652116531   -e 's:$: $lt_compiler_flag:'`
    16522    (eval echo "\"\$as_me:16522: $lt_compile\"" >&5)
     16532   (eval echo "\"\$as_me:16532: $lt_compile\"" >&5)
    1652316533   (eval "$lt_compile" 2>out/conftest.err)
    1652416534   ac_status=$?
    1652516535   cat out/conftest.err >&5
    16526    echo "$as_me:16526: \$? = $ac_status" >&5
     16536   echo "$as_me:16536: \$? = $ac_status" >&5
    1652716537   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1652816538   then
     
    2349523505
    2349623506if test x"$coin_vpath_link_files" = x; then : ; else
    23497   { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
     23507  lnkcmd=
     23508  if test "$enable_doscompile" = yes; then
     23509    lnkcmd=cp
     23510  fi
     23511  case "$CC" in
     23512    cl* | */cl*)
     23513      lnkcmd=cp ;;
     23514  esac
     23515  if test "$lnkcmd" = cp; then
     23516    { echo "$as_me:$LINENO: Copying data files for VPATH configuration" >&5
     23517echo "$as_me: Copying data files for VPATH configuration" >&6;}
     23518  else
     23519    echo "$as_me:$LINENO: checking whether ln -s works" >&5
     23520echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     23521LN_S=$as_ln_s
     23522if test "$LN_S" = "ln -s"; then
     23523  echo "$as_me:$LINENO: result: yes" >&5
     23524echo "${ECHO_T}yes" >&6
     23525else
     23526  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     23527echo "${ECHO_T}no, using $LN_S" >&6
     23528fi
     23529
     23530    { echo "$as_me:$LINENO: Creating VPATH links for data files" >&5
    2349823531echo "$as_me: Creating VPATH links for data files" >&6;}
     23532    lnkcmd="$LN_S"
     23533  fi
    2349923534  for file in $coin_vpath_link_files; do
     23535    dir=`(dirname "./$file") 2>/dev/null ||
     23536$as_expr X"./$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     23537         X"./$file" : 'X\(//\)[^/]' \| \
     23538         X"./$file" : 'X\(//\)$' \| \
     23539         X"./$file" : 'X\(/\)' \| \
     23540         .     : '\(.\)' 2>/dev/null ||
     23541echo X"./$file" |
     23542    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     23543          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     23544          /^X\(\/\/\)$/{ s//\1/; q; }
     23545          /^X\(\/\).*/{ s//\1/; q; }
     23546          s/.*/./; q'`
     23547    if test -d $dir; then : ; else
     23548      { if $as_mkdir_p; then
     23549    mkdir -p $dir
     23550  else
     23551    as_dir=$dir
     23552    as_dirs=
     23553    while test ! -d "$as_dir"; do
     23554      as_dirs="$as_dir $as_dirs"
     23555      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     23556$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     23557         X"$as_dir" : 'X\(//\)[^/]' \| \
     23558         X"$as_dir" : 'X\(//\)$' \| \
     23559         X"$as_dir" : 'X\(/\)' \| \
     23560         .     : '\(.\)' 2>/dev/null ||
     23561echo X"$as_dir" |
     23562    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     23563          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     23564          /^X\(\/\/\)$/{ s//\1/; q; }
     23565          /^X\(\/\).*/{ s//\1/; q; }
     23566          s/.*/./; q'`
     23567    done
     23568    test ! -n "$as_dirs" || mkdir $as_dirs
     23569  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dir" >&5
     23570echo "$as_me: error: cannot create directory $dir" >&2;}
     23571   { (exit 1); exit 1; }; }; }
     23572
     23573    fi
    2350023574    rm -f $file
    23501     $LN_S $abs_source_dir/$file $file
     23575    $lnkcmd $abs_source_dir/$file $file
    2350223576  done
    2350323577fi
  • branches/devel/Cbc/src/Makefile.am

    r496 r499  
    163163cbc_generic_LDFLAGS = -rpath $(libdir)
    164164
     165# If we have the Ampl solver library, we need to add additional things
     166if COIN_HAS_ASL
     167cbc_generic_LDADD += $(ASLLIB)
     168endif
     169
    165170########################################################################
    166171#                            cbc program                               #
  • branches/devel/Cbc/src/Makefile.in

    r496 r499  
    109109@COIN_HAS_XPR_TRUE@am__append_27 = $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la
    110110
     111# If we have the Ampl solver library, we need to add additional things
     112@COIN_HAS_ASL_TRUE@am__append_28 = $(ASLLIB)
     113
    111114########################################################################
    112115#                            cbc program                               #
     
    115118# Name of the executable compiled in this directory.  We want it to be
    116119# installed in the 'bin' directory
    117 @COIN_HAS_CLP_TRUE@am__append_28 = cbc
     120@COIN_HAS_CLP_TRUE@am__append_29 = cbc
    118121
    119122# If we have the Ampl solver library, we need to add additional things
    120 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_29 = $(ASLLIB)
    121 @COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_30 = $(ASL_CPPFLAGS)
     123@COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_30 = $(ASLLIB)
     124@COIN_HAS_ASL_TRUE@@COIN_HAS_CLP_TRUE@am__append_31 = $(ASL_CPPFLAGS)
    122125subdir = src
    123126DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
     
    218221@COIN_HAS_XPR_TRUE@am__DEPENDENCIES_13 =  \
    219222@COIN_HAS_XPR_TRUE@     $(OSIOBJDIR)/src/OsiXpr/libOsiXpr.la
     223@COIN_HAS_ASL_TRUE@am__DEPENDENCIES_14 = $(am__DEPENDENCIES_1)
    220224cbc_generic_DEPENDENCIES = libCbc.la $(CGLOBJDIR)/src/libCgl.la \
    221225        $(OSIOBJDIR)/src/OsiCbc/libOsiCbc.la $(am__DEPENDENCIES_3) \
     
    226230        $(am__DEPENDENCIES_12) $(am__DEPENDENCIES_13) \
    227231        $(OSIOBJDIR)/src/libOsi.la \
    228         $(COINUTILSOBJDIR)/src/libCoinUtils.la
     232        $(COINUTILSOBJDIR)/src/libCoinUtils.la $(am__DEPENDENCIES_14)
    229233depcomp = $(SHELL) $(top_srcdir)/../depcomp
    230234am__depfiles_maybe = depfiles
     
    497501        $(am__append_19) $(am__append_21) $(am__append_24) \
    498502        $(am__append_27) $(OSIOBJDIR)/src/libOsi.la \
    499         $(COINUTILSOBJDIR)/src/libCoinUtils.la
     503        $(COINUTILSOBJDIR)/src/libCoinUtils.la $(am__append_28)
    500504
    501505########################################################################
     
    513517        $(am__append_12) $(am__append_14) $(am__append_16) \
    514518        $(am__append_18) $(am__append_20) $(am__append_23) \
    515         $(am__append_26) $(am__append_30) -I`$(CYGPATH_W) \
     519        $(am__append_26) $(am__append_31) -I`$(CYGPATH_W) \
    516520        $(CGLSRCDIR)/src` -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglClique` \
    517521        -I`$(CYGPATH_W) $(CGLSRCDIR)/src/CglDuplicateRow` \
     
    550554@COIN_HAS_CLP_TRUE@     $(CLPOBJDIR)/src/libClp.la \
    551555@COIN_HAS_CLP_TRUE@     $(COINUTILSOBJDIR)/src/libCoinUtils.la \
    552 @COIN_HAS_CLP_TRUE@     $(am__append_29)
     556@COIN_HAS_CLP_TRUE@     $(am__append_30)
    553557
    554558# Finally, the -rpath flag is used by libtool to make sure that the shared
Note: See TracChangeset for help on using the changeset viewer.