|
|
|
@ -1,7 +1,7 @@
|
|
|
|
# -*- Autoconf -*-
|
|
|
|
# -*- Autoconf -*-
|
|
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
|
|
|
|
AC_PREREQ([2.72])
|
|
|
|
AC_PREREQ([2.69])
|
|
|
|
AC_INIT([Yet Another Covid Statistics Web App], [1.0], [me@bradymcd.ca])
|
|
|
|
AC_INIT([Yet Another Covid Statistics Web App], [1.0], [me@bradymcd.ca])
|
|
|
|
|
|
|
|
|
|
|
|
# Pull in environment variables
|
|
|
|
# Pull in environment variables
|
|
|
|
@ -11,8 +11,8 @@ AC_ARG_VAR([nginx_dir], [The nginx config directory containing sites_available a
|
|
|
|
AC_ARG_VAR([nginx_config], [The name to give the nginx config file in sites_available])
|
|
|
|
AC_ARG_VAR([nginx_config], [The name to give the nginx config file in sites_available])
|
|
|
|
# Default values
|
|
|
|
# Default values
|
|
|
|
test "$server_name" || server_name=yacswa.home
|
|
|
|
test "$server_name" || server_name=yacswa.home
|
|
|
|
test "$public_dir" || public_dir=/srv/yacswa.home
|
|
|
|
test "$public_dir" || public_dir=/srv/yacswa.home/
|
|
|
|
test "$nginx_dir" || nginx_dir=/etc/nginx
|
|
|
|
test "$nginx_dir" || nginx_dir=/etc/nginx/
|
|
|
|
test "$nginx_config" || nginx_config=yacswa.home.conf
|
|
|
|
test "$nginx_config" || nginx_config=yacswa.home.conf
|
|
|
|
|
|
|
|
|
|
|
|
# Checks for programs.
|
|
|
|
# Checks for programs.
|
|
|
|
|