Changeset 219


Ignore:
Timestamp:
Jul 8, 2009 1:47:34 PM (12 years ago)
Author:
andreasw
Message:

correct -version-info option

Location:
stable/BSPsplit/Couenne
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/BSPsplit/Couenne/acinclude.m4

    r214 r219  
    64006400# This file is distributed under the Common Public License.
    64016401#
    6402 ## $Id: coin.m4 1314 2009-07-08 03:03:01Z andreasw $
     6402## $Id: coin.m4 1316 2009-07-08 17:40:33Z andreasw $
    64036403#
    64046404# Author: Andreas Wachter    IBM      2006-04-14
     
    65746574# that we are in a project main directory
    65756575coin_projectdir=yes
     6576
     6577# Check if a library version is set for libtool
     6578m4_ifvaln([$1],[coin_libversion=$1],[])
    65766579]) # AC_COIN_PROJECTDIR_INIT
    65776580
     
    81008103# to comile DLLs under Windows.
    81018104LT_LDFLAGS=
     8105
     8106# Check if we want to set the library version
     8107AC_MSG_CHECKING([if library version is set])
     8108if test x"$coin_libversion" != x; then
     8109  LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion"
     8110  AC_MSG_RESULT([$coin_libversion])
     8111else
     8112  AC_MSG_RESULT([no])
     8113fi
     8114
    81028115AC_SUBST(LT_LDFLAGS)
    81038116
  • stable/BSPsplit/Couenne/configure

    r214 r219  
    17501750coin_projectdir=yes
    17511751
     1752# Check if a library version is set for libtool
     1753
     1754
    17521755
    17531756# Check if user wants to produce debugging code
     
    69076910*-*-irix6*)
    69086911  # Find out which ABI we are using.
    6909   echo '#line 6909 "configure"' > conftest.$ac_ext
     6912  echo '#line 6912 "configure"' > conftest.$ac_ext
    69106913  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    69116914  (eval $ac_compile) 2>&5
     
    80418044
    80428045# Provide some information about the compiler.
    8043 echo "$as_me:8043:" \
     8046echo "$as_me:8046:" \
    80448047     "checking for Fortran 77 compiler version" >&5
    80458048ac_compiler=`set X $ac_compile; echo $2`
     
    91089111   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    91099112   -e 's:$: $lt_compiler_flag:'`
    9110    (eval echo "\"\$as_me:9110: $lt_compile\"" >&5)
     9113   (eval echo "\"\$as_me:9113: $lt_compile\"" >&5)
    91119114   (eval "$lt_compile" 2>conftest.err)
    91129115   ac_status=$?
    91139116   cat conftest.err >&5
    9114    echo "$as_me:9114: \$? = $ac_status" >&5
     9117   echo "$as_me:9117: \$? = $ac_status" >&5
    91159118   if (exit $ac_status) && test -s "$ac_outfile"; then
    91169119     # The compiler can only warn and ignore the option if not recognized
     
    93769379   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    93779380   -e 's:$: $lt_compiler_flag:'`
    9378    (eval echo "\"\$as_me:9378: $lt_compile\"" >&5)
     9381   (eval echo "\"\$as_me:9381: $lt_compile\"" >&5)
    93799382   (eval "$lt_compile" 2>conftest.err)
    93809383   ac_status=$?
    93819384   cat conftest.err >&5
    9382    echo "$as_me:9382: \$? = $ac_status" >&5
     9385   echo "$as_me:9385: \$? = $ac_status" >&5
    93839386   if (exit $ac_status) && test -s "$ac_outfile"; then
    93849387     # The compiler can only warn and ignore the option if not recognized
     
    94809483   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    94819484   -e 's:$: $lt_compiler_flag:'`
    9482    (eval echo "\"\$as_me:9482: $lt_compile\"" >&5)
     9485   (eval echo "\"\$as_me:9485: $lt_compile\"" >&5)
    94839486   (eval "$lt_compile" 2>out/conftest.err)
    94849487   ac_status=$?
    94859488   cat out/conftest.err >&5
    9486    echo "$as_me:9486: \$? = $ac_status" >&5
     9489   echo "$as_me:9489: \$? = $ac_status" >&5
    94879490   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    94889491   then
     
    1182511828  lt_status=$lt_dlunknown
    1182611829  cat > conftest.$ac_ext <<EOF
    11827 #line 11827 "configure"
     11830#line 11830 "configure"
    1182811831#include "confdefs.h"
    1182911832
     
    1192511928  lt_status=$lt_dlunknown
    1192611929  cat > conftest.$ac_ext <<EOF
    11927 #line 11927 "configure"
     11930#line 11930 "configure"
    1192811931#include "confdefs.h"
    1192911932
     
    1426914272   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1427014273   -e 's:$: $lt_compiler_flag:'`
    14271    (eval echo "\"\$as_me:14271: $lt_compile\"" >&5)
     14274   (eval echo "\"\$as_me:14274: $lt_compile\"" >&5)
    1427214275   (eval "$lt_compile" 2>conftest.err)
    1427314276   ac_status=$?
    1427414277   cat conftest.err >&5
    14275    echo "$as_me:14275: \$? = $ac_status" >&5
     14278   echo "$as_me:14278: \$? = $ac_status" >&5
    1427614279   if (exit $ac_status) && test -s "$ac_outfile"; then
    1427714280     # The compiler can only warn and ignore the option if not recognized
     
    1437314376   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1437414377   -e 's:$: $lt_compiler_flag:'`
    14375    (eval echo "\"\$as_me:14375: $lt_compile\"" >&5)
     14378   (eval echo "\"\$as_me:14378: $lt_compile\"" >&5)
    1437614379   (eval "$lt_compile" 2>out/conftest.err)
    1437714380   ac_status=$?
    1437814381   cat out/conftest.err >&5
    14379    echo "$as_me:14379: \$? = $ac_status" >&5
     14382   echo "$as_me:14382: \$? = $ac_status" >&5
    1438014383   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1438114384   then
     
    1594315946   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1594415947   -e 's:$: $lt_compiler_flag:'`
    15945    (eval echo "\"\$as_me:15945: $lt_compile\"" >&5)
     15948   (eval echo "\"\$as_me:15948: $lt_compile\"" >&5)
    1594615949   (eval "$lt_compile" 2>conftest.err)
    1594715950   ac_status=$?
    1594815951   cat conftest.err >&5
    15949    echo "$as_me:15949: \$? = $ac_status" >&5
     15952   echo "$as_me:15952: \$? = $ac_status" >&5
    1595015953   if (exit $ac_status) && test -s "$ac_outfile"; then
    1595115954     # The compiler can only warn and ignore the option if not recognized
     
    1604716050   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1604816051   -e 's:$: $lt_compiler_flag:'`
    16049    (eval echo "\"\$as_me:16049: $lt_compile\"" >&5)
     16052   (eval echo "\"\$as_me:16052: $lt_compile\"" >&5)
    1605016053   (eval "$lt_compile" 2>out/conftest.err)
    1605116054   ac_status=$?
    1605216055   cat out/conftest.err >&5
    16053    echo "$as_me:16053: \$? = $ac_status" >&5
     16056   echo "$as_me:16056: \$? = $ac_status" >&5
    1605416057   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1605516058   then
     
    1825418257   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1825518258   -e 's:$: $lt_compiler_flag:'`
    18256    (eval echo "\"\$as_me:18256: $lt_compile\"" >&5)
     18259   (eval echo "\"\$as_me:18259: $lt_compile\"" >&5)
    1825718260   (eval "$lt_compile" 2>conftest.err)
    1825818261   ac_status=$?
    1825918262   cat conftest.err >&5
    18260    echo "$as_me:18260: \$? = $ac_status" >&5
     18263   echo "$as_me:18263: \$? = $ac_status" >&5
    1826118264   if (exit $ac_status) && test -s "$ac_outfile"; then
    1826218265     # The compiler can only warn and ignore the option if not recognized
     
    1852218525   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1852318526   -e 's:$: $lt_compiler_flag:'`
    18524    (eval echo "\"\$as_me:18524: $lt_compile\"" >&5)
     18527   (eval echo "\"\$as_me:18527: $lt_compile\"" >&5)
    1852518528   (eval "$lt_compile" 2>conftest.err)
    1852618529   ac_status=$?
    1852718530   cat conftest.err >&5
    18528    echo "$as_me:18528: \$? = $ac_status" >&5
     18531   echo "$as_me:18531: \$? = $ac_status" >&5
    1852918532   if (exit $ac_status) && test -s "$ac_outfile"; then
    1853018533     # The compiler can only warn and ignore the option if not recognized
     
    1862618629   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    1862718630   -e 's:$: $lt_compiler_flag:'`
    18628    (eval echo "\"\$as_me:18628: $lt_compile\"" >&5)
     18631   (eval echo "\"\$as_me:18631: $lt_compile\"" >&5)
    1862918632   (eval "$lt_compile" 2>out/conftest.err)
    1863018633   ac_status=$?
    1863118634   cat out/conftest.err >&5
    18632    echo "$as_me:18632: \$? = $ac_status" >&5
     18635   echo "$as_me:18635: \$? = $ac_status" >&5
    1863318636   if (exit $ac_status) && test -s out/conftest2.$ac_objext
    1863418637   then
     
    2151021513# to comile DLLs under Windows.
    2151121514LT_LDFLAGS=
     21515
     21516# Check if we want to set the library version
     21517echo "$as_me:$LINENO: checking if library version is set" >&5
     21518echo $ECHO_N "checking if library version is set... $ECHO_C" >&6
     21519if test x"$coin_libversion" != x; then
     21520  LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion"
     21521  echo "$as_me:$LINENO: result: $coin_libversion" >&5
     21522echo "${ECHO_T}$coin_libversion" >&6
     21523else
     21524  echo "$as_me:$LINENO: result: no" >&5
     21525echo "${ECHO_T}no" >&6
     21526fi
     21527
    2151221528
    2151321529
Note: See TracChangeset for help on using the changeset viewer.