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