mu4e: bump minimal required emacs to 24.4
We didn't really support older versions anyway, so let's make it official.
This commit is contained in:
28
Makefile.am
28
Makefile.am
@ -1,4 +1,4 @@
|
|||||||
## Copyright (C) 2008-2013 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
## Copyright (C) 2008-2018 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||||
##
|
##
|
||||||
## This program is free software; you can redistribute it and/or modify
|
## This program is free software; you can redistribute it and/or modify
|
||||||
## it under the terms of the GNU General Public License as published by
|
## it under the terms of the GNU General Public License as published by
|
||||||
@ -52,7 +52,7 @@ tags:
|
|||||||
# which is a sign that it needs some refactoring. requires the pmccabe
|
# which is a sign that it needs some refactoring. requires the pmccabe
|
||||||
# tool. If all is fine, it outputs nothing
|
# tool. If all is fine, it outputs nothing
|
||||||
cc10:
|
cc10:
|
||||||
@$(PMCCABE) `find . -name '*.c' -o -name '*.cc'` \
|
@$(PMCCABE) `find . -name '*.c' -o -name '*.cc'` \
|
||||||
| grep -v mu-str-normalize.c \
|
| grep -v mu-str-normalize.c \
|
||||||
| grep -v mu_str_subject_normalize \
|
| grep -v mu_str_subject_normalize \
|
||||||
| grep -v tests \
|
| grep -v tests \
|
||||||
@ -77,20 +77,20 @@ fixme:
|
|||||||
|
|
||||||
# check whether we can run make distcheck from the repo version
|
# check whether we can run make distcheck from the repo version
|
||||||
gitcheck:
|
gitcheck:
|
||||||
cd `mktemp -d`; \
|
cd `mktemp -d`; \
|
||||||
git clone git://github.com/djcb/mu.git ; \
|
git clone git://github.com/djcb/mu.git ; \
|
||||||
cd mu; \
|
cd mu; \
|
||||||
autoreconf -i ; \
|
autoreconf -i ; \
|
||||||
./configure ; \
|
./configure ; \
|
||||||
make distcheck
|
make distcheck
|
||||||
|
|
||||||
EXTRA_DIST= \
|
EXTRA_DIST= \
|
||||||
TODO \
|
TODO \
|
||||||
HACKING \
|
HACKING \
|
||||||
gtest.mk \
|
gtest.mk \
|
||||||
NEWS \
|
NEWS \
|
||||||
NEWS.org \
|
NEWS.org \
|
||||||
autogen.sh
|
autogen.sh
|
||||||
|
|
||||||
doc_DATA = \
|
doc_DATA = \
|
||||||
NEWS.org
|
NEWS.org
|
||||||
|
|||||||
@ -73,11 +73,13 @@ AC_ARG_ENABLE([mu4e],
|
|||||||
AS_IF([test "x$enable_mu4e" != "xno"], [
|
AS_IF([test "x$enable_mu4e" != "xno"], [
|
||||||
AM_PATH_LISPDIR
|
AM_PATH_LISPDIR
|
||||||
AS_IF([test "x$lispdir" != "xno"], [
|
AS_IF([test "x$lispdir" != "xno"], [
|
||||||
emacs_version="`$EMACS --version | head -1`"
|
emacs_version="$($EMACS --version | head -1)"
|
||||||
lispdir="${lispdir}/mu4e/"
|
lispdir="${lispdir}/mu4e/"
|
||||||
])
|
])
|
||||||
AS_CASE([$emacs_version],[*23*|*24*|*25*|*26*|*27*],[build_mu4e=yes],
|
AS_CASE([$emacs_version],
|
||||||
[AC_WARN([emacs is too old to build mu4e (need emacs >= 23.x)])])
|
[*24.4*|*24.5*],[build_mu4e=yes],
|
||||||
|
[*25*|*26*|*27*],[build_mu4e=yes],
|
||||||
|
[AC_WARN([emacs is too old to build mu4e (need emacs >= 24.4)])])
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL(BUILD_MU4E, test "x$build_mu4e" = "xyes")
|
AM_CONDITIONAL(BUILD_MU4E, test "x$build_mu4e" = "xyes")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user