diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2009-02-19 22:49:38 +0000 |
|---|---|---|
| committer | tweenk <tweenk@users.sourceforge.net> | 2009-02-19 22:49:38 +0000 |
| commit | 8811218bdd8b10a728a15e055ae4bb092be268af (patch) | |
| tree | d9b92be4cd10373850de94d486a1583b1fbc230c /m4 | |
| parent | Remove superfluous FreehandShape LPE (diff) | |
| download | inkscape-8811218bdd8b10a728a15e055ae4bb092be268af.tar.gz inkscape-8811218bdd8b10a728a15e055ae4bb092be268af.zip | |
Fix SVN revision reporting so that it doesn't relink on every make
invocation.
(bzr r7331)
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/ink_svn_snapshot_build.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/ink_svn_snapshot_build.m4 b/m4/ink_svn_snapshot_build.m4 new file mode 100644 index 000000000..2c013eb60 --- /dev/null +++ b/m4/ink_svn_snapshot_build.m4 @@ -0,0 +1,14 @@ +# Check for SVN snapshot build +# (c) 2009 Krzysztof KosiĆski +# Released under GNU GPL; see the file COPYING for more information + +AC_DEFUN([INK_SVN_SNAPSHOT_BUILD], +[ + AC_CACHE_CHECK([for SVN snapshot build], ink_cv_svn_snapshot_build, + [ink_cv_svn_snapshot_build=no + if which svn > /dev/null && test -e $srcdir/.svn/entries; then + ink_cv_svn_snapshot_build=yes + fi + ]) + AM_CONDITIONAL([USE_SVN_VERSION], [test "x$ink_cv_svn_snapshot_build" = "xyes"]) +]) |
