aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
blob: 86e90b27ae8e35c6986e594e6b73803a01a37c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
AC_INIT([guix-data-service], [m4_translit(m4_esyscmd([cat VERSION]),m4_newline)])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([gnu color-tests -Wall -Wno-portability foreign])

GUILE_PKG([3.0])
GUILE_PROGS
if test "x$GUILD" = "x"; then
   AC_MSG_ERROR(['guild' binary not found; please check your guile-3.x installation.])
fi

AC_PATH_PROG([guix], [guix])

AC_PATH_PROG([sqitch], [sqitch])
AC_PATH_PROG([sqlite3], [sqlite3])
AC_PATH_PROG([psql], [psql])


AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
AC_CONFIG_FILES([guix-build-coordinator/config.scm])
AC_CONFIG_FILES(
  [scripts/guix-build-coordinator],
  [chmod +x scripts/guix-build-coordinator]
)
AC_CONFIG_FILES(
  [scripts/guix-build-coordinator-agent],
  [chmod +x scripts/guix-build-coordinator-agent]
)
AC_CONFIG_FILES(
  [scripts/guix-build-coordinator-queue-builds-from-guix-data-service],
  [chmod +x scripts/guix-build-coordinator-queue-builds-from-guix-data-service]
)

AC_OUTPUT