From 579cae885dbeae7e25e60096c7342ebb0e86aa99 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 22 Mar 2004 13:26:54 +0000 Subject: prepare release 0.4: use madvise() fix mmap() copy bug update for libd 4.2 git-svn-id: file:///home/lennart/svn/public/syrep/trunk@53 07ea20a6-d2c5-0310-9e02-9ef735347d72 --- Makefile.am | 12 ++++++------ configure.ac | 16 ++++++++-------- doc/README.html.in | 10 +++++++--- doc/style.css | 1 + src/syrep.c | 9 +++++++-- src/util.c | 28 +++++++++++++++++++++------- 6 files changed, 50 insertions(+), 26 deletions(-) diff --git a/Makefile.am b/Makefile.am index 575c227..1595fa7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,13 +28,13 @@ README: ln -s doc/README README homepage: all dist - test -d $$HOME/homepage/lennart - mkdir -p $$HOME/homepage/lennart/projects/syrep - cp *.tar.gz $$HOME/homepage/lennart/projects/syrep - cp doc/README.html doc/style.css man/syrep.1.xml man/xmltoman.css man/xmltoman.xsl man/xmltoman.dtd $$HOME/homepage/lennart/projects/syrep - ln -sf $$HOME/homepage/lennart/projects/syrep/README.html $$HOME/homepage/lennart/projects/syrep/index.html + test -d $$HOME/homepage/private + mkdir -p $$HOME/homepage/private/projects/syrep + cp *.tar.gz $$HOME/homepage/private/projects/syrep + cp doc/README.html doc/style.css man/syrep.1.xml man/xmltoman.css man/xmltoman.xsl man/xmltoman.dtd $$HOME/homepage/private/projects/syrep + ln -sf $$HOME/homepage/private/projects/syrep/README.html $$HOME/homepage/private/projects/syrep/index.html distcleancheck: - @: + @: .PHONY: homepage distcleancheck diff --git a/configure.ac b/configure.ac index 203b481..fe9941d 100644 --- a/configure.ac +++ b/configure.ac @@ -19,8 +19,8 @@ # along with syrep; if not, write to the Free Software Foundation, # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. -AC_PREREQ(2.57) -AC_INIT([syrep], [0.4], [mzflerc (at) 0pointer (dot) de]) +AC_PREREQ(2.59) +AC_INIT([syrep],[0.4],[mzflerc (at) 0pointer (dot) de]) AC_CONFIG_SRCDIR([src/syrep.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign -Wall]) @@ -50,11 +50,11 @@ AC_CHECK_HEADER([db.h],, [AC_MSG_ERROR([*** Sorry, you have to install the Berke LIBS="$LIBS -ldb" # Checking libdb version number -AC_MSG_CHECKING([for Berkeley libdb 4.1]) +AC_MSG_CHECKING([for Berkeley libdb 4.2]) AC_LANG_PUSH(C) AC_PREPROC_IFELSE([AC_LANG_SOURCE([[ #include -#if (DB_VERSION_MAJOR != 4) || (DB_VERSION_MINOR != 1) +#if (DB_VERSION_MAJOR != 4) || (DB_VERSION_MINOR != 2) #error "foo" #endif ]])], @@ -104,7 +104,7 @@ AC_CHECK_FUNCS([atexit ftruncate getcwd gethostname memset mkdir munmap rmdir se # LYNX documentation generation AC_ARG_ENABLE(lynx, - AC_HELP_STRING([--disable-lynx], [Turn off lynx usage for documentation generation]), + AS_HELP_STRING(--disable-lynx,Turn off lynx usage for documentation generation), [case "${enableval}" in yes) lynx=yes ;; no) lynx=no ;; @@ -123,7 +123,7 @@ AM_CONDITIONAL([USE_LYNX], [test "x$lynx" = xyes]) # XMLTOMAN manpage generation AC_ARG_ENABLE(xmltoman, - AC_HELP_STRING([--disable-xmltoman], [Disable rebuilding of man pages with xmltoman]), + AS_HELP_STRING(--disable-xmltoman,Disable rebuilding of man pages with xmltoman), [case "${enableval}" in yes) xmltoman=yes ;; no) xmltoman=no ;; @@ -143,7 +143,7 @@ AM_CONDITIONAL([USE_XMLTOMAN], [test "x$xmltoman" = xyes]) # gengetopt command line parser generation AC_ARG_ENABLE(gengetopt, - AC_HELP_STRING([--disable-gengetopt], [Disable rebuilding of command line parser with gengetopt]), + AS_HELP_STRING(--disable-gengetopt,Disable rebuilding of command line parser with gengetopt), [case "${enableval}" in yes) gengetopt=yes ;; no) gengetopt=no ;; @@ -163,7 +163,7 @@ AM_CONDITIONAL([USE_GENGETOPT], [test "x$gengetopt" = xyes]) # subversion release number generation AC_ARG_ENABLE(subversion, - AC_HELP_STRING([--disable-subversion], [Disable rebuilding of svn-release.h]), + AS_HELP_STRING(--disable-subversion,Disable rebuilding of svn-release.h), [case "${enableval}" in yes) subversion=yes ;; no) subversion=no ;; diff --git a/doc/README.html.in b/doc/README.html.in index a5551fa..5e723e4 100644 --- a/doc/README.html.in +++ b/doc/README.html.in @@ -10,7 +10,7 @@

syrep @PACKAGE_VERSION@

-

Copyright 2003 Lennart Poettering <@PACKAGE_BUGREPORT@>

+

Copyright 2003,2004 Lennart Poettering <@PACKAGE_BUGREPORT@>