aboutsummaryrefslogtreecommitdiff
path: root/m4/guile.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/guile.m4')
-rw-r--r--m4/guile.m417
1 files changed, 8 insertions, 9 deletions
diff --git a/m4/guile.m4 b/m4/guile.m4
index 731917b..33fcbff 100644
--- a/m4/guile.m4
+++ b/m4/guile.m4
@@ -1,22 +1,21 @@
1dnl This file is part of GNU mailutils. 1dnl This file is part of GNU mailutils.
2dnl Copyright (C) 2001,2004 Free Software Foundation, Inc. 2dnl Copyright (C) 2001, 2004, 2007 Free Software Foundation, Inc.
3dnl 3dnl
4dnl This program is free software; you can redistribute it and/or modify 4dnl This program is free software; you can redistribute it and/or modify it
5dnl it under the terms of the GNU General Public License as published by 5dnl under the terms of the GNU General Public License as published by the
6dnl the Free Software Foundation; either version 2 of the License, or 6dnl Free Software Foundation; either version 3 of the License, or (at your
7dnl (at your option) any later version. 7dnl option) any later version.
8dnl 8dnl
9dnl This program is distributed in the hope that it will be useful, 9dnl This program is distributed in the hope that it will be useful,
10dnl but WITHOUT ANY WARRANTY; without even the implied warranty of 10dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12dnl GNU General Public License for more details. 12dnl GNU General Public License for more details.
13dnl 13dnl
14dnl You should have received a copy of the GNU General Public License 14dnl You should have received a copy of the GNU General Public License along
15dnl along with this program; if not, write to the Free Software Foundation, 15dnl with this program. If not, see <http://www.gnu.org/licenses/>.
16dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17dnl 16dnl
18 17
19dnl MU_RESULT_ACTIONS -- generate shell code for the result of a test 18dnl MU_RESULT_ACTIONS -- generate shell code for the result of a test
20dnl $1 -- CVAR -- cache variable to check 19dnl $1 -- CVAR -- cache variable to check
21dnl $2 -- NAME -- if not empty, used to generate a default value TRUE: 20dnl $2 -- NAME -- if not empty, used to generate a default value TRUE:
22dnl `AC_DEFINE(HAVE_NAME)' 21dnl `AC_DEFINE(HAVE_NAME)'
@@ -46,13 +45,13 @@ AC_DEFUN([MU_CHECK_GUILE],
46 45
47 if test $GUILE_CONFIG != no; then 46 if test $GUILE_CONFIG != no; then
48 AC_MSG_CHECKING(for guile version 1.6 or higher) 47 AC_MSG_CHECKING(for guile version 1.6 or higher)
49 GUILE_VERSION=`($GUILE_CONFIG --version 2>&1; echo '')|sed -n 's/guile-config - Guile version \([[0-9]][[0-9]]*\)\.\([[0-9]][[0-9]]*\).*/\1\2/p'` 48 GUILE_VERSION=`($GUILE_CONFIG --version 2>&1; echo '')|sed -n 's/guile-config - Guile version \([[0-9]][[0-9]]*\)\.\([[0-9]][[0-9]]*\).*/\1\2/p'`
50 case "x$GUILE_VERSION" in 49 case "x$GUILE_VERSION" in
51 x[[0-9]]*) 50 x[[0-9]]*)
52 if test $GUILE_VERSION -lt 16; then 51 if test $GUILE_VERSION -lt 18; then
53 AC_MSG_RESULT(Nope. Version number too low.) 52 AC_MSG_RESULT(Nope. Version number too low.)
54 mu_cv_lib_guile=no 53 mu_cv_lib_guile=no
55 else 54 else
56 AC_DEFINE_UNQUOTED(GUILE_VERSION, $GUILE_VERSION, 55 AC_DEFINE_UNQUOTED(GUILE_VERSION, $GUILE_VERSION,
57 [Guile version number: MAX*10 + MIN]) 56 [Guile version number: MAX*10 + MIN])
58 AC_MSG_RESULT(OK) 57 AC_MSG_RESULT(OK)

Return to:

Send suggestions and report system problems to the System administrator.