X-Git-Url: https://git.jsancho.org/?p=guile-irrlicht.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=afdd3c34e92eb03ef0a3f613e9db18ff5df7afdf;hp=9b85b9a50aad2dea3ea65f5a3ad06af237ff27a2;hb=1289b18b5a3277202d3e5eb3ae65186447142aae;hpb=76c7a4c5a9009ce53938163bbb74712c309a760b diff --git a/configure.ac b/configure.ac index 9b85b9a..afdd3c3 100644 --- a/configure.ac +++ b/configure.ac @@ -1,34 +1,45 @@ -# guile-irrlicht --- GNU Guile bindings for Irrlicht Engine -# -# Copyright (C) 2020 Javier Sancho -# -# This file is part of guile-irrlicht. -# -# guile-irrlicht is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License as -# published by the Free Software Foundation; either version 3 of the -# License, or (at your option) any later version. -# -# guile-irrlicht 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 Lesser General Public -# License along with guile-irrlicht. If not, see -# . +define(GUILE_IRRLICHT_CONFIGURE_COPYRIGHT, [[ +guile-irrlicht --- GNU Guile bindings for Irrlicht Engine + +Copyright (C) 2020-2021 Javier Sancho + +This file is part of guile-irrlicht. + +guile-irrlicht is free software; you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as +published by the Free Software Foundation; either version 3 of the +License, or (at your option) any later version. + +guile-irrlicht 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 Lesser General Public +License along with guile-irrlicht. If not, see +. + +]]) AC_INIT([guile-irrlicht], [0.1], [jsf@jsancho.org]) -AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects]) -AC_CONFIG_MACRO_DIRS([m4]) +AC_CONFIG_AUX_DIR([build-aux]) +AC_CONFIG_MACRO_DIR([m4]) +AC_COPYRIGHT(GUILE_IRRLICHT_CONFIGURE_COPYRIGHT) + +AM_INIT_AUTOMAKE([color-tests subdir-objects -Wall -Wno-portability foreign]) +AM_SILENT_RULES([yes]) AM_PROG_AR AC_PROG_CXX LT_INIT -PKG_CHECK_MODULES([GUILE], [guile-2.2]) +# Check for 'guile' +PKG_CHECK_MODULES([GUILE], [guile-3.0],, [ + PKG_CHECK_MODULES([GUILE], [guile-2.2]) +]) GUILE_SITE_DIR +# Check for 'irrlicht' AC_CHECK_LIB( [Irrlicht], [createDevice], @@ -36,8 +47,7 @@ AC_CHECK_LIB( AC_MSG_ERROR([Missing Irrlicht lib. Try option --with-irrlicht-lib]) ) -AC_CONFIG_FILES([ - Makefile -]) +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) AC_OUTPUT