Changeset 1503
- Timestamp:
- Apr 22, 2010 4:48:02 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/coin.m4
r1502 r1503 309 309 AC_DEFINE_UNQUOTED(m4_toupper(${PACKAGE_NAME}_VERSION), "$PACKAGE_VERSION", "Project version string") 310 310 311 AC_CHECK_PROG([have_svnversion],[svnversion],[yes],[no]) 312 if test x$have_svnversion = xyes; then 313 AC_SUBST(m4_toupper($1_SVN_REV)) 314 m4_toupper($1_SVN_REV)=`cd $srcdir/$m4_tolower(coin_has_$1) ; svnversion` 315 if test $m4_toupper($1_SVN_REV) != exported; then 316 AC_DEFINE_UNQUOTED(m4_toupper($1_SVN_REV), $m4_toupper($1_SVN_REV), [SVN revision number of project]) 317 fi 318 fi 319 311 320 # We set the following variable so that we know later in AC_COIN_FINALIZE 312 321 # that we are in a project main directory … … 2534 2543 AC_SUBST(m4_toupper($1DOCDIR)) 2535 2544 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; then2538 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; then2541 AC_DEFINE_UNQUOTED(m4_toupper($1_SVN_REV), $m4_toupper($1_SVN_REV), [SVN revision number of project])2542 fi2543 2545 fi 2544 2546
Note: See TracChangeset
for help on using the changeset viewer.