You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1.1 KiB
31 lines
1.1 KiB
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ([2.72])
|
|
AC_INIT([Yet Another Covid Statistics Web App], [1.0], [me@bradymcd.ca])
|
|
|
|
# Pull in environment variables
|
|
AC_SUBST([server_name], [yacswa.home])
|
|
AC_SUBST([public_dir], [/srv/yacswa.home])
|
|
AC_SUBST([nginx_dir], [/etc/nginx/])
|
|
AC_SUBST([nginx_config], [yacswa.home.conf])
|
|
|
|
# Checks for programs.
|
|
AC_PROG_MAKE_SET
|
|
AC_CHECK_PROG(GUILE, [guile], [guile], [no])
|
|
test "$GUILE" == "no" && AC_MSG_ERROR([Guile's interpreter: 'guile' not found.])
|
|
AC_CHECK_PROG(GUILD, [guild], [guild], [no])
|
|
test "$GUILD" == "no" && AC_MSG_ERROR([Guile's compiler: 'guild' not found.])
|
|
AC_CHECK_PROG(ART, [art], [art], [no])
|
|
test "$ART" == "no" && AC_MSG_ERROR([Guile Artanis webserver: 'art' not found.])
|
|
AC_CHECK_PROG(ELM, [elm], [elm], [no])
|
|
test "$ELM" == "no" && AC_MSG_ERROR([Elm's compiler: 'elm' not found.])
|
|
AC_PROG_LN_S
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
backend/Makefile
|
|
frontend/Makefile
|
|
nginx/yacswa.conf])
|
|
AC_OUTPUT
|