mutt stable branch with some hacks
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Generate version string during make not configure

Switch to generating the version string during make process rather than
at configure time. This makes it easier to keep the detailed version
string accurate when doing development which doesn't require that the
configure script be rerun.

authored by

Aaron Schrab and committed by
Kevin McCarthy
a7e1572d 03004467

+14 -4
+1
.gitignore
··· 45 45 /smime_keys 46 46 /txt2c 47 47 /stamp-doc-rc 48 + /version.h 48 49 /doc/instdoc 49 50 /doc/manual.txt 50 51 /doc/manual.xml
+6 -1
Makefile.am
··· 22 22 HCVERSION = hcversion.h 23 23 endif 24 24 25 - BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h conststrings.c $(HCVERSION) 25 + BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h conststrings.c version.h $(HCVERSION) 26 26 27 27 bin_PROGRAMS = mutt $(DOTLOCK_TARGET) $(PGPAUX_TARGET) 28 28 mutt_SOURCES = \ ··· 139 139 $(srcdir)/gen_defs $(srcdir)/OPS $(srcdir)/OPS.SIDEBAR $(srcdir)/OPS.PGP \ 140 140 $(srcdir)/OPS.MIX $(srcdir)/OPS.CRYPT $(srcdir)/OPS.SMIME \ 141 141 > keymap_alldefs.h 142 + 143 + version.h: FORCE 144 + echo '#define MUTT_VERSION "'`sh "$(srcdir)/version.sh"`'"' > $@.tmp 145 + cmp -s $@ $@.tmp && rm -f $@.tmp || mv $@.tmp $@ 146 + FORCE: 142 147 143 148 reldate.h: $(srcdir)/mkreldate.sh $(srcdir)/ChangeLog 144 149 echo 'const char *ReleaseDate = "'`(cd $(srcdir) && ./mkreldate.sh)`'";' > reldate.h
+1
commands.c
··· 21 21 # include "config.h" 22 22 #endif 23 23 24 + #include "version.h" 24 25 #include "mutt.h" 25 26 #include "mutt_curses.h" 26 27 #include "mutt_menu.h"
+1
compose.c
··· 21 21 # include "config.h" 22 22 #endif 23 23 24 + #include "version.h" 24 25 #include "mutt.h" 25 26 #include "mutt_curses.h" 26 27 #include "mutt_idna.h"
-3
configure.ac
··· 10 10 11 11 AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/VERSION']) 12 12 13 - MUTT_VERSION=`env sh "$srcdir/version.sh"` 14 - AC_DEFINE_UNQUOTED(MUTT_VERSION,"$MUTT_VERSION", [Full textual version string.]) 15 - 16 13 AC_USE_SYSTEM_EXTENSIONS 17 14 18 15 ALL_LINGUAS="de eu ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca bg ga fi"
+1
dotlock.c
··· 46 46 #include <limits.h> 47 47 #endif 48 48 49 + #include "version.h" 49 50 #include "dotlock.h" 50 51 51 52 #ifdef HAVE_GETOPT_H
+1
init.c
··· 20 20 # include "config.h" 21 21 #endif 22 22 23 + #include "version.h" 23 24 #include "mutt.h" 24 25 #include "mapping.h" 25 26 #include "mutt_curses.h"
+1
muttlib.c
··· 21 21 # include "config.h" 22 22 #endif 23 23 24 + #include "version.h" 24 25 #include "mutt.h" 25 26 #include "mutt_curses.h" 26 27 #include "mime.h"
+1
sendlib.c
··· 22 22 # include "config.h" 23 23 #endif 24 24 25 + #include "version.h" 25 26 #include "mutt.h" 26 27 #include "mutt_curses.h" 27 28 #include "rfc2047.h"
+1
status.c
··· 20 20 # include "config.h" 21 21 #endif 22 22 23 + #include "version.h" 23 24 #include "mutt.h" 24 25 #include "mutt_menu.h" 25 26 #include "mutt_curses.h"