# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
-AC_INIT(unbound,1.1.2, unbound-bugs@nlnetlabs.nl, unbound)
+AC_INIT(unbound, 1.1.2, unbound-bugs@nlnetlabs.nl, unbound)
LIBUNBOUND_CURRENT=0
LIBUNBOUND_REVISION=17
+16 December 2008: Wouter
+ - follow makedist improvements from ldns, for maintainers prereleases.
+
11 December 2008: Wouter
- better fix for bug #219: use LOG_NDELAY with openlog() call.
Thanks to Tamas Tevesz.
cd unbound || error_cleanup "Unbound not exported correctly from SVN"
info "Adding libtool utils (libtoolize)."
-libtoolize -c || error_cleanup "libtoolize failed"
+libtoolize -c --install || libtoolize -c || error_cleanup "Libtoolize failed."
info "Building configure script (autoreconf)."
autoreconf || error_cleanup "Autoconf failed."
if [ "$SNAPSHOT" = "yes" ]; then
info "Building Unbound snapshot."
- version="$version-`date +%Y%m%d`"
- info "Snapshot version number: $version"
+ version2="$version-`date +%Y%m%d`"
+ info "Snapshot version number: $version2"
+
+ replace_text "configure.ac" "AC_INIT(unbound, $version" "AC_INIT(unbound, $version2"
+ version="$version2"
+
+ info "Rebuilding configure script (autoconf) snapshot."
+ autoreconf || error_cleanup "Autoconf failed."
fi
replace_all doc/README