1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- define(GUILE_DAEMON_CONFIGURE_COPYRIGHT, [[
- Copyright (C) 2016-2020 Alex Kost <alezost@gmail.com>
- This file is part of Guile-Daemon.
- Guile-Daemon 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.
- Guile-Daemon 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 Guile-Daemon. If not, see <http://www.gnu.org/licenses/>.
- ]])
- AC_INIT([Guile-Daemon], [0.1.3], [alezost@gmail.com], [guile-daemon],
- [https://github.com/alezost/guile-daemon])
- AC_COPYRIGHT(GUILE_DAEMON_CONFIGURE_COPYRIGHT)
- AC_CONFIG_AUX_DIR([build-aux])
- AM_INIT_AUTOMAKE([foreign subdir-objects])
- AM_SILENT_RULES([yes])
- dnl ----------------------------------------------------------------
- dnl Checking for Guile
- GUILE_PKG([3.0 2.2 2.0])
- GUILE_PROGS([2.0.2])
- AC_ARG_WITH([guile-site-dir],
- [AS_HELP_STRING([--with-guile-site-dir],
- [installation directory for Guile (*.scm) files])],
- [guilemoduledir="$withval"],
- [guilemoduledir="$datarootdir/guile/site/$GUILE_EFFECTIVE_VERSION"])
- AC_SUBST([guilemoduledir])
- AC_MSG_CHECKING([for the Guile module directory])
- AC_MSG_RESULT([$guilemoduledir])
- AC_ARG_WITH([guile-site-ccache-dir],
- [AS_HELP_STRING([--with-guile-site-ccache-dir],
- [installation directory for Guile compiled (*.go) files])],
- [guileccachedir="$withval"],
- [guileccachedir="$libdir/guile/$GUILE_EFFECTIVE_VERSION/site-ccache"])
- AC_SUBST([guileccachedir])
- AC_MSG_CHECKING([for the Guile ccache directory])
- AC_MSG_RESULT([$guileccachedir])
- dnl ----------------------------------------------------------------
- COPYRIGHT_YEAR="`date +%Y`"
- AC_SUBST([COPYRIGHT_YEAR])
- AC_CONFIG_FILES([Makefile
- modules/Makefile
- modules/daemon/config.scm
- pre-inst-env.el])
- AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
- AC_CONFIG_FILES([scripts/guile-daemon], [chmod +x scripts/guile-daemon])
- AC_OUTPUT
|