Changeset 1362 for trunk/coin.m4


Ignore:
Timestamp:
Jul 21, 2009 1:52:15 PM (12 years ago)
Author:
tkr
Message:

Merging changes related to setting version info

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/coin.m4

    r1324 r1362  
    309309# that we are in a project main directory
    310310coin_projectdir=yes
     311
     312# Check if a library version is set for libtool
     313m4_ifvaln([$1],[coin_libversion=$1],[])
    311314]) # AC_COIN_PROJECTDIR_INIT
    312315
     
    18351838# to comile DLLs under Windows.
    18361839LT_LDFLAGS=
     1840
     1841# Check if we want to set the library version
     1842AC_MSG_CHECKING([if library version is set])
     1843if test x"$coin_libversion" != x; then
     1844  LT_LDFLAGS="$LT_LDFLAGS -version-info $coin_libversion"
     1845  AC_MSG_RESULT([$coin_libversion])
     1846else
     1847  AC_MSG_RESULT([no])
     1848fi
     1849
    18371850AC_SUBST(LT_LDFLAGS)
    18381851
Note: See TracChangeset for help on using the changeset viewer.