2007-04-05 13:06 -0700 Jukka Salmi <j+mutt@2007.salmi.ch> (3638701db407)
- * ChangeLog, configure.ac: Check for BDB4 libs in $lib as well as
+ * configure.ac: Check for BDB4 libs in $lib as well as
$lib/$ver (fixes pkgsrc BDB4 detection)
2007-04-05 12:55 -0700 Brendan Cully <brendan@kublai.com> (4f435337507e)
makedoc.c makedoc-defs.h stamp-doc-rc README.SSL smime.h \
muttbug pgppacket.h depcomp ascii.h BEWARE PATCHES patchlist.sh \
ChangeLog ChangeLog.old mkchangelog.sh cvslog2changelog.pl mutt_idna.h \
- snprintf.c regex.c crypt-gpgme.h hcachever.sh
+ snprintf.c regex.c crypt-gpgme.h hcachever.sh.in
EXTRA_SCRIPTS = smime_keys
hcversion.h: $(srcdir)/mutt.h $(srcdir)/rfc822.h
( echo '#include "config.h"'; echo '#include "mutt.h"'; ) \
- | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - | $(srcdir)/hcachever.sh hcversion.h
+ | $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) - | sh ./hcachever.sh hcversion.h
patchlist.c: $(srcdir)/PATCHES $(srcdir)/patchlist.sh
$(srcdir)/patchlist.sh < $(srcdir)/PATCHES > patchlist.c
need_md5="yes"
+ dnl hcachever.sh tool for calculating struct digest
+ AC_CHECK_PROGS([MD5], [md5 md5sum openssl], [none])
+
use_qdbm=no
AC_ARG_WITH(qdbm, AC_HELP_STRING([--without-qdbm], [Don't use qdbm even if it is available]))
if test "$with_qdbm" != "no"
fi
AC_SUBST(DSLROOT)
-AC_OUTPUT(Makefile intl/Makefile m4/Makefile
- po/Makefile.in doc/Makefile contrib/Makefile
- muttbug.sh
- imap/Makefile
- doc/instdoc.sh)
+AC_OUTPUT(Makefile contrib/Makefile doc/Makefile imap/Makefile
+ intl/Makefile m4/Makefile po/Makefile.in
+ hcachever.sh muttbug.sh doc/instdoc.sh)
BASEVERSION=1
-if test -x "`which md5`"
-then
- MD5=md5
-elif test -x "`which md5sum`"
-then
- MD5=md5sum
-elif test -x "`which openssl`"
+MD5=@MD5@
+if test "$MD5" = "openssl"
then
MD5="openssl md5 -hex"
-else
+elif test "$MD5" = "none"
+then
echo "ERROR: no MD5 tool found"
exit 1
fi