Changeset 2155 for trunk


Ignore:
Timestamp:
Mar 30, 2011 9:43:05 AM (9 years ago)
Author:
stefan
Message:

fix check for svn revision again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2145 r2155  
    106106    AC_SUBST(m4_toupper($1_SVN_REV))
    107107    svn_rev_tmp=`LANG=en_EN svnversion $srcdir 2>/dev/null`
    108     if test "$m4_toupper($1_SVN_REV)" != exported; then
     108    if test "x$svn_rev_tmp" != xexported -a "x$svn_rev_tmp" != x; then
    109109      m4_toupper($1_SVN_REV)=`echo $svn_rev_tmp | sed -n -e 's/^@<:@0-9@:>@*://' -e 's/\(@<:@0-9@:>@\)@<:@^0-9@:>@*$/\1/p'`
    110110      AC_DEFINE_UNQUOTED(m4_toupper($1_SVN_REV), $m4_toupper($1_SVN_REV), [SVN revision number of project])
Note: See TracChangeset for help on using the changeset viewer.