diff options
author | Christopher Baines <mail@cbaines.net> | 2020-10-20 12:32:28 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-10-20 12:32:28 +0100 |
commit | 5f11c6009fba7ad635987a839d5769c4d9ca8f29 (patch) | |
tree | ec1a57148a0f77ad7d16d5f5f29da76280777399 | |
parent | 4f5af788514a44c63f07c90b86ab76f82f016d54 (diff) | |
download | build-coordinator-5f11c6009fba7ad635987a839d5769c4d9ca8f29.tar build-coordinator-5f11c6009fba7ad635987a839d5769c4d9ca8f29.tar.gz |
Update configure.ac for zlib and lzlib dependencies
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 73c6ffb..313cecc 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,17 @@ AC_PATH_PROG([sqlite3], [sqlite3]) AC_PATH_PROG([psql], [psql]) AC_PATH_PROG([bzip2], [bzip2]) +dnl Check for Guile-zlib. +GUILE_MODULE_AVAILABLE([have_guile_zlib], [(zlib)]) +if test "x$have_guile_zlib" != "xyes"; then + AC_MSG_ERROR([Guile-zlib is missing; please install it.]) +fi + +dnl Check for Guile-lzlib. +GUILE_MODULE_AVAILABLE([have_guile_lzlib], [(lzlib)]) +if test "x$have_guile_lzlib" != "xyes"; then + AC_MSG_ERROR([Guile-lzlib is missing; please install it.]) +fi AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) |