Changeset 1502


Ignore:
Timestamp:
Apr 22, 2010 4:41:18 PM (10 years ago)
Author:
tkr
Message:

Setting variable for SVN revision number

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r1501 r1502  
    25342534  AC_SUBST(m4_toupper($1DOCDIR))
    25352535  m4_toupper($1DOCDIR)=$abs_lib_dir/../share/doc/coin/$1
     2536  AC_CHECK_PROG([have_svnversion],[svnversion],[yes],[no])
     2537  if test x$have_svnversion = xyes; then
     2538    AC_SUBST(m4_toupper($1_SVN_REV))
     2539    m4_toupper($1_SVN_REV)=`cd $srcdir/$m4_tolower(coin_has_$1) ; svnversion`
     2540    if test $m4_toupper($1_SVN_REV) != exported; then
     2541      AC_DEFINE_UNQUOTED(m4_toupper($1_SVN_REV), $m4_toupper($1_SVN_REV), [SVN revision number of project])
     2542    fi
    25362543fi
    25372544
Note: See TracChangeset for help on using the changeset viewer.