aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
blob: 9995c38a4ffa5ae5f184cfa021767c94435cc11c (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
35
36
37
38
39
AC_INIT([guix-build-coordinator], [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

if test "$cross_compiling" != no; then
   GUILE_TARGET="--target=$host_alias"
   AC_SUBST([GUILE_TARGET])
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