Commit c45b1b69 c45b1b69f95547932b8e0437c757d3e81538b6f3 by Sergey Poznyakoff

Use improved sed expression, proposed by Thien-Thi Nguyen.

1 parent a666aeb0
1 dnl This file is part of GNU mailutils. 1 dnl This file is part of GNU mailutils.
2 dnl Copyright (C) 2001 Free Software Foundation, Inc. 2 dnl Copyright (C) 2001, 2006 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
5 dnl it under the terms of the GNU General Public License as published by 5 dnl it under the terms of the GNU General Public License as published by
...@@ -46,7 +46,7 @@ AC_DEFUN([MU_CHECK_GUILE], ...@@ -46,7 +46,7 @@ AC_DEFUN([MU_CHECK_GUILE],
46 46
47 if test $GUILE_CONFIG != no; then 47 if test $GUILE_CONFIG != no; then
48 AC_MSG_CHECKING(for guile version 1.4 or higher) 48 AC_MSG_CHECKING(for guile version 1.4 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'` 49 GUILE_VERSION=`($GUILE_CONFIG --version 2>&1; echo '')|sed -n 's/guile-config [[^0-9]]* \([[0-9]][[0-9]]*\)\.\([[0-9]][[0-9]]*\).*/\1\2/p'`
50 case "x$GUILE_VERSION" in 50 case "x$GUILE_VERSION" in
51 x[[0-9]]*) 51 x[[0-9]]*)
52 if test $GUILE_VERSION -lt 14; then 52 if test $GUILE_VERSION -lt 14; then
......