ulambda/configure.ac

41 lines
1.4 KiB
Plaintext

# For use by Autoconf
#
# Copyright (C) 2018 Mike Gerwitz
#
# This file is part of Ulambda Scheme
#
# Ulambda Scheme 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 <http://www.gnu.org/licenses/>.
##
AC_INIT([easejs], [0.0.0-dev], [mtg@gnu.org])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([foreign])
# Node.js is required for command-line bootstrapping
AC_ARG_VAR([NODEJS], [The Node.js interpreter])
AC_CHECK_PROGS(NODEJS, [node nodejs])
AM_CONDITIONAL(HAS_NODEJS, [test "$NODEJS"])
# certain portions of the build process require that node be installed (in the
# future, we may be able to allow alternatives, such as SpiderMonkey)
test "$NODEJS" || AC_MSG_WARN([
Node.js is not installed; command-line bootstrapping will not be
available, but you may bootstrap using your web browser.
])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT