1 # Check for BZR snapshot build
2 # (c) 2009 Krzysztof KosiĆski
3 # Released under GNU GPL; see the file COPYING for more information
5 AC_DEFUN([INK_BZR_SNAPSHOT_BUILD],
6 [
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 fi
12 ])
13 AM_CONDITIONAL([USE_BZR_VERSION], [test "x$ink_cv_bzr_snapshot_build" = "xyes"])
14 ])