1 dnl Copyright (C) 2009 Sun Microsystems
2 dnl This file is free software; Sun Microsystems
3 dnl gives unlimited permission to copy and/or distribute it,
4 dnl with or without modifications, as long as this notice is preserved.
6 AC_DEFUN([PANDORA_BUILDING_FROM_VC],[
8 ac_cv_building_from_vc=no
10 AS_IF([test -d "${srcdir}/.bzr"],[
11 ac_cv_building_from_bzr=yes
12 ac_cv_building_from_vc=yes
14 ac_cv_building_from_bzr=no
17 AS_IF([test -d "${srcdir}/.svn"],[
18 ac_cv_building_from_svn=yes
19 ac_cv_building_from_vc=yes
21 ac_cv_building_from_svn=no
24 AS_IF([test -d "${srcdir}/.hg"],[
25 ac_cv_building_from_hg=yes
26 ac_cv_building_from_vc=yes
28 ac_cv_building_from_hg=no