diff options
Diffstat (limited to 'm4/guile.m4')
-rw-r--r-- | m4/guile.m4 | 17 |
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 @@ | |||
1 | dnl This file is part of GNU mailutils. | 1 | dnl This file is part of GNU mailutils. |
2 | dnl Copyright (C) 2001,2004 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2001, 2004, 2007 Free Software Foundation, Inc. |
3 | dnl | 3 | dnl |
4 | dnl This program is free software; you can redistribute it and/or modify | 4 | dnl This program is free software; you can redistribute it and/or modify it |
5 | dnl it under the terms of the GNU General Public License as published by | 5 | dnl under the terms of the GNU General Public License as published by the |
6 | dnl the Free Software Foundation; either version 2 of the License, or | 6 | dnl Free Software Foundation; either version 3 of the License, or (at your |
7 | dnl (at your option) any later version. | 7 | dnl option) any later version. |
8 | dnl | 8 | dnl |
9 | dnl This program is distributed in the hope that it will be useful, | 9 | dnl This program is distributed in the hope that it will be useful, |
10 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | dnl but WITHOUT ANY WARRANTY; without even the implied warranty of |
11 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
12 | dnl GNU General Public License for more details. | 12 | dnl GNU General Public License for more details. |
13 | dnl | 13 | dnl |
14 | dnl You should have received a copy of the GNU General Public License | 14 | dnl You should have received a copy of the GNU General Public License along |
15 | dnl along with this program; if not, write to the Free Software Foundation, | 15 | dnl with this program. If not, see <http://www.gnu.org/licenses/>. |
16 | dnl Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | dnl | 16 | dnl |
18 | 17 | ||
19 | dnl MU_RESULT_ACTIONS -- generate shell code for the result of a test | 18 | dnl MU_RESULT_ACTIONS -- generate shell code for the result of a test |
20 | dnl $1 -- CVAR -- cache variable to check | 19 | dnl $1 -- CVAR -- cache variable to check |
21 | dnl $2 -- NAME -- if not empty, used to generate a default value TRUE: | 20 | dnl $2 -- NAME -- if not empty, used to generate a default value TRUE: |
22 | dnl `AC_DEFINE(HAVE_NAME)' | 21 | dnl `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) |