50 lines
1.7 KiB
Plaintext
50 lines
1.7 KiB
Plaintext
# Copyright (C) 2023 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
AC_PREREQ([2.69])
|
|
AC_INIT([mumble-vm], [0.1], [GNUtoo@cyberdimension.org])
|
|
AC_CONFIG_SRCDIR([mumble-vm-system.scm.tmpl])
|
|
AC_PROG_AWK
|
|
AC_PROG_MKDIR_P
|
|
AM_INIT_AUTOMAKE([foreign])
|
|
|
|
AC_CHECK_PROG([GUIX], [guix], [guix])
|
|
AC_CHECK_PROG([SED], [sed], [sed])
|
|
|
|
AC_SUBST([DOMAIN], [])
|
|
AC_SUBST([LETSENCRYPT_EMAIL], [])
|
|
|
|
AC_ARG_WITH([domain],
|
|
[AS_HELP_STRING([--with-domain=DOMAIN],
|
|
[Use custom domain (default=audio.experimental.a-lec.org)])],
|
|
[DOMAIN=$withval],
|
|
[DOMAIN=audio.experimental.a-lec.org])
|
|
|
|
AC_ARG_WITH([letsencrypt-email],
|
|
[AS_HELP_STRING([--with-letsencrypt-email=LETSENCRYPT_EMAIL], [Use
|
|
custom email address for Let's Encrypt registration and recovery
|
|
contact. (default=cominfra@a-lec.org)])],
|
|
[LETSENCRYPT_EMAIL=$withval],
|
|
[LETSENCRYPT_EMAIL=cominfra@a-lec.org])
|
|
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|
|
|
|
echo
|
|
echo "Configuration options:"
|
|
echo "======================"
|
|
echo "- Domain: $DOMAIN"
|
|
echo "- Let's Encrypt email: $LETSENCRYPT_EMAIL"
|