summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2007-09-13 14:53:13 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2007-09-13 14:53:13 (GMT)
commit9169473a2e981f2d4d5716c23c1e22c5366b6557 (patch) (side-by-side diff)
treeb7d4fa1b1d58cae13d8649b32d5cf56768f4bc5d
parent2c22da692b38ffa3e157d1529c3f718989a58106 (diff)
downloadmailfromd-9169473a2e981f2d4d5716c23c1e22c5366b6557.tar.gz
mailfromd-9169473a2e981f2d4d5716c23c1e22c5366b6557.tar.bz2
Fix MU version detection
git-svn-id: file:///svnroot/mailfromd/trunk@1511 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 261f3db..79e6ce0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-13 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * configure.ac (MAILUTILS_VERSION): Bugfix.
+
2007-09-12 Sergey Poznyakoff <gray@gnu.org.ua>
* src/main.c (log_setup): Set up gacopyz_syslog_log_printer when
diff --git a/configure.ac b/configure.ac
index 6360a52..885a804 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,7 +93,7 @@ fi
AC_SUBST(MAILUTILS_VERSION)
AC_SUBST(MAILUTILS_INCLUDES)
AC_SUBST(MAILUTILS_LIBS)
-MAILUTILS_VERSION=`$MU_CONFIG --info version`
+MAILUTILS_VERSION=`$MU_CONFIG --info version|sed 's/VERSION=//'`
case $MAILUTILS_VERSION in
0.*) AC_MSG_ERROR([Mailutils version too old; at least 1.0 is required]);;
1.1*) MAILUTILS_LIBS=`$MU_CONFIG --link auth`;;
@@ -201,7 +201,7 @@ esac])
check_bdb() {
ver=`echo $1 | tr -d '.'`
major=`expr $ver : '\(.\).*'`
- AC_CHECK_LIB($2, $3,
+ AC_CHECK_LIB($2, $3,
[AC_CHECK_HEADERS(db.h)
if test $ac_cv_header_db_h = yes; then
LIBS="$LIBS -l$2"

Return to:

Send suggestions and report system problems to the System administrator.