~inkscape.dev/inkscape/trunk

« back to all changes in this revision

Viewing changes to m4/ink_bzr_snapshot_build.m4

  • Committer: JazzyNico
  • Date: 2010-01-02 10:03:58 UTC
  • Revision ID: nicoduf@yahoo.fr-20100102100358-roapckufj0k9v3ds
Inkscape version: replace svn check with bzr check

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Check for SVN snapshot build
 
1
# Check for BZR snapshot build
2
2
# (c) 2009 Krzysztof Kosiński
3
3
# Released under GNU GPL; see the file COPYING for more information
4
4
 
5
 
AC_DEFUN([INK_SVN_SNAPSHOT_BUILD],
 
5
AC_DEFUN([INK_BZR_SNAPSHOT_BUILD],
6
6
[
7
 
  AC_CACHE_CHECK([for SVN snapshot build], ink_cv_svn_snapshot_build,
8
 
                 [ink_cv_svn_snapshot_build=no
9
 
                  if which svn > /dev/null && test -e $srcdir/.svn/entries; then
10
 
                    ink_cv_svn_snapshot_build=yes
 
7
  AC_CACHE_CHECK([for BZR snapshot build], ink_cv_bzr_snapshot_build,
 
8
                 [ink_cv_bzr_snapshot_build=no
 
9
                  if which bzr > /dev/null && test -e $srcdir/.bzr/branch/last-revision; then
 
10
                    ink_cv_bzr_snapshot_build=yes
11
11
                  fi
12
12
  ])
13
 
  AM_CONDITIONAL([USE_SVN_VERSION], [test "x$ink_cv_svn_snapshot_build" = "xyes"])
 
13
  AM_CONDITIONAL([USE_BZR_VERSION], [test "x$ink_cv_bzr_snapshot_build" = "xyes"])
14
14
])