Changeset 1316


Ignore:
Timestamp:
Jul 8, 2009 1:40:33 PM (11 years ago)
Author:
andreasw
Message:

added option to set -version-info argument with AC_COIN_PROJECTDIR_INIT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/BSPsplit/coin.m4

    r1315 r1316  
    177177# that we are in a project main directory
    178178coin_projectdir=yes
     179
     180# Check if a library version is set for libtool
     181m4_ifvaln([$1],[coin_libversion=$1],[coin_libversion=unset])
    179182]) # AC_COIN_PROJECTDIR_INIT
    180183
     
    17031706# to comile DLLs under Windows.
    17041707LT_LDFLAGS=
     1708
     1709# Check if we want to set the library version
     1710AC_MSG_CHECKING([if library version is set])
     1711if test "$coin_libversion" != unset; then
     1712  LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion"
     1713  AC_MSG_RESULT([$coin_libversion])
     1714else
     1715  AC_MSG_RESULT([no])
     1716fi
     1717
    17051718AC_SUBST(LT_LDFLAGS)
    17061719
Note: See TracChangeset for help on using the changeset viewer.