--- autogen-5.9.5.orig/debian/rules
+++ autogen-5.9.5/debian/rules
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+CONFIGUREFLAGS=$(if $(findstring debug,$(DEB_BUILD_OPTIONS)),--enable-debug,)
+CFLAGS=$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),-O0,-O2)
+LDFLAGS=-Wl,--as-needed
+export CFLAGS LDFLAGS
+
+configure: patch configure-stamp
+configure-stamp:
+	dh_testdir
+	./configure $(CONFIGUREFLAGS) \
+		--prefix=/usr \
+		--mandir=\$${prefix}/share/man \
+		--infodir=\$${prefix}/share/info
+	touch $@
+
+build: configure build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE)
+	$(MAKE) check
+	$(MAKE) -C doc autogen.ps info
+	(cd doc; texi2html -split=chapter -subdir=html autogen.texi)
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f install-stamp build-stamp configure-stamp
+	rm -f snprintfv/snprintfv.h
+	rm -Rf doc/html
+	find -name '*.tar.gz' | xargs rm -f
+	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_clean
+
+install: build install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	$(MAKE) install prefix=$(CURDIR)/debian/tmp/usr
+	find . -type f | grep 'tar.gz' | xargs rm
+	dh_movefiles
+	touch $@
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_installinfo
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure patch unpatch
--- autogen-5.9.5.orig/debian/copyright
+++ autogen-5.9.5/debian/copyright
@@ -0,0 +1,77 @@
+This package was debianized by James R. Van Zandt <jrv@vanzandt.mv.com> on
+Fri, 18 Jun 1999 21:23:48 -0400.
+
+The current maintainer is Bradley Smith <brad@brad-smith.co.uk>.
+
+It was downloaded from
+ftp://ftp.gnu.org/gnu/autogen/rel5.9.5/autogen-5.9.5.tar.gz
+
+Copyright:
+
+ *  AutoGen copyright (c) 1992-2008 by Bruce Korb - all rights reserved
+ *
+ * AutoGen is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * AutoGen is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+You can find a copy of this license in
+/usr/share/common-licenses/GPL-3.
+
+##  AutoOpts is copyright (c) 1992-2008 by Bruce Korb - all rights reserved
+##
+##  AutoOpts is available under any one of two licenses.  The license
+##  in use must be one of these two and the choice is under the control
+##  of the user of the license.
+##
+##   The GNU Lesser General Public License, version 3 or later
+##      See the files "COPYING.lgplv3" and "COPYING.gplv3"
+##
+##   The Modified Berkeley Software Distribution License
+##      See the file "COPYING.mbsd"
+##
+##  These files have the following md5sums:
+##
+##  239588c55c22c60ffe159946a760a33e pkg/libopts/COPYING.gplv3
+##  fa82ca978890795162346e661b47161a pkg/libopts/COPYING.lgplv3
+##  66a5cedaf62c4b2637025f049f9b826f pkg/libopts/COPYING.mbsd
+
+You can find a copy of the GNU Lesser General Public License, version
+3, in /usr/share/common-licenses/LGPL-3.
+
+Here is the Modified Berkeley Software Distribution License:
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright
+       notice, this list of conditions and the following disclaimer.
+
+    2. Redistributions in binary form must reproduce the above
+       copyright notice, this list of conditions and the following
+       disclaimer in the documentation and/or other materials provided
+       with the distribution.
+
+    3. The name of the author may not be used to endorse or promote
+       products derived from this software without specific prior
+       written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
--- autogen-5.9.5.orig/debian/autogen.docs
+++ autogen-5.9.5/debian/autogen.docs
@@ -0,0 +1,2 @@
+doc/autogen.ps
+doc/html
--- autogen-5.9.5.orig/debian/control
+++ autogen-5.9.5/debian/control
@@ -0,0 +1,48 @@
+Source: autogen
+Section: devel
+Priority: optional
+Maintainer: Bradley Smith <brad@brad-smith.co.uk>
+Build-Depends: debhelper (>= 5), autotools-dev, gperf, guile-1.6-dev, libxml2-dev, texinfo, tetex-bin, texi2html, quilt
+Standards-Version: 3.7.3
+Homepage: http://www.gnu.org/software/autogen/
+
+Package: autogen
+Architecture: any
+Depends: base-files (>= 4.0.1~bpo40+1), ${shlibs:Depends}, libopts25-dev (>=${binary:Version})
+Description: an automated text file generator
+ AutoGen is a tool designed for generating program files that contain
+ repetitive text with varied substitutions.  This is especially
+ valuable if there are several blocks of such text that must be kept
+ synchronized.
+ .
+ Included with AutoGen is a tool that virtually eliminates the hassle
+ of processing options, keeping usage text up to date and so on.  This
+ tool allows you to specify several program attributes, innumerable
+ options and option attributes, then it produces all the code necessary
+ to parse and handle the command line and initialization file options.
+ .
+ This package contains the development tools. libopts25-dev contains the static
+ libraries and header files. libopts25 contains the shared libraries.
+
+Package: libopts25
+Architecture: any
+Depends: base-files (>= 4.0.1~bpo40+1), ${shlibs:Depends}
+Conflicts: libopts9
+Replaces: autogen, libopts9
+Section: libs
+Description: automated option processing library based on autogen - runtime
+ This package contains the shared libraries needed by binaries that
+ use autoopts for option processing.  The package containing the
+ header files and static libraries is libopts25-dev.  The package
+ containing the development tools is autogen.
+
+Package: libopts25-dev
+Architecture: any
+Depends: base-files (>= 4.0.1~bpo40+1), libopts25 (>=${binary:Version})
+Conflicts: libopts9-dev
+Replaces: autogen, libopts9-dev
+Section: libdevel
+Description: automated option processing library based on autogen - development
+ This package contains the header files and static libraries used by
+ autoopts.  The package containing the shared libraries is libopts25.
+ The package containing the development tools is autogen.
--- autogen-5.9.5.orig/debian/main.c
+++ autogen-5.9.5/debian/main.c
@@ -0,0 +1,20 @@
+#include "checkopt.h"
+
+main( int argc, char** argv )
+{
+  {
+    int optct = optionProcess( &checkOptions, argc, argv );
+    argc -= optct;
+    argv += optct;
+  }
+  if (ENABLED_OPT( SHOW_DEFS )) {
+    int    dirct = STACKCT_OPT( CHECK_DIRS );
+    char** dirs  = STACKLST_OPT( CHECK_DIRS );
+    while (dirct-- > 0) {
+      char* dir = *dirs++;
+      /*
+     ...
+      */
+    }
+  }
+}
--- autogen-5.9.5.orig/debian/Makefile
+++ autogen-5.9.5/debian/Makefile
@@ -0,0 +1,29 @@
+# use autoopts-config to determine
+# 1) the locatation autogen      (autoopts-config --autogen)
+# 2) the data dir for autogen    (autoopts-config --pkgdatadir)
+# 3) the include dir for autogen (autoopts-config --cflags)
+# 4) the lib dir for autogen     (autoopts-config --libs)
+
+AUTOGEN_PROGRAM=$(shell autoopts-config --autogen)
+AUTOGEN_DATADIR=$(shell autoopts-config --pkgdatadir)
+AUTOGEN_FLAGS=-L$(AUTOGEN_DATADIR)
+
+AUTOGEN_CFLAGS=$(shell autoopts-config --cflags)
+AUTOGEN_LDFLAGS=$(shell autoopts-config --libs)
+
+CFLAGS+=$(AUTOGEN_CFLAGS) -DTEST_CHECK_OPTS
+LDFLAGS+=$(AUTOGEN_LDFLAGS)
+
+.PHONY: build
+build: main
+
+.PHONY: clean
+clean:
+	rm -f *.o main checkopt.c checkopt.h
+
+main: checkopt.c main.c
+checkopt.c checkopt.h: checkopt.def
+
+# additional rules
+%.c: %.def
+	$(AUTOGEN_PROGRAM) $(AUTOGEN_FLAGS) $^
--- autogen-5.9.5.orig/debian/autogen.doc-base
+++ autogen-5.9.5/debian/autogen.doc-base
@@ -0,0 +1,18 @@
+Document: autogen
+Title: AutoGen - The Automated Program Generator
+Author: Bruce Korb
+Abstract: AutoGen is a tool designed for generating program files that
+ contain repetitive text with varied substitutions.  Its goal is to simplify
+ the maintenance of programs that contain large amounts of repetitious text.
+ This is especially valuable if there are several blocks of such text that must
+ be kept synchronized.  A common example where this would be useful is in
+ creating and maintaining the code required for processing program options.
+Section: Programming
+
+Format: postscript
+Files: /usr/share/doc/autogen/autogen.ps.gz
+
+Format: HTML
+Index: /usr/share/doc/autogen/html/autogen_toc.html
+Files: /usr/share/doc/autogen/html/*
+
--- autogen-5.9.5.orig/debian/autogen.manpages
+++ autogen-5.9.5/debian/autogen.manpages
@@ -0,0 +1,4 @@
+agen5/autogen.1
+getdefs/getdefs.1
+columns/columns.1
+debian/autoopts-config.1
--- autogen-5.9.5.orig/debian/libopts25.files
+++ autogen-5.9.5/debian/libopts25.files
@@ -0,0 +1,2 @@
+usr/lib/libopts.so.*
+usr/lib/libguileopts.so.*
--- autogen-5.9.5.orig/debian/autogen.files
+++ autogen-5.9.5/debian/autogen.files
@@ -0,0 +1,31 @@
+usr/lib/pkgconfig/autoopts.pc
+usr/share/info/autogen.info*
+usr/share/aclocal/autoopts.m4
+usr/share/autogen/aginfo.tpl
+usr/share/autogen/aginfo3.tpl
+usr/share/autogen/agman-lib.tpl
+usr/share/autogen/agman1.tpl
+usr/share/autogen/agman3.tpl
+usr/share/autogen/conftest.tpl
+usr/share/autogen/confmacs.tpl
+usr/share/autogen/getopt.tpl
+usr/share/autogen/optcode.tpl
+usr/share/autogen/opthead.tpl
+usr/share/autogen/options.tpl
+usr/share/autogen/optlib.tpl
+usr/share/autogen/optmain.tpl
+usr/share/autogen/rc-sample.tpl
+usr/share/autogen/stdoptions.def
+usr/share/autogen/fsm.tpl
+usr/share/autogen/fsm-macro.tpl
+usr/share/autogen/fsm-trans.tpl
+usr/share/man/man1/autogen.1
+usr/share/man/man1/getdefs.1
+usr/share/man/man1/columns.1
+usr/share/man/man1/xml2ag.1
+usr/share/man/man1/autoopts-config.1
+usr/bin/autoopts-config
+usr/bin/autogen
+usr/bin/getdefs
+usr/bin/columns
+usr/bin/xml2ag
--- autogen-5.9.5.orig/debian/autoopts-config.1
+++ autogen-5.9.5/debian/autoopts-config.1
@@ -0,0 +1,54 @@
+.TH autoopts-config 1 2001-08-12 "" "Programmer's Manual"
+.SH NAME
+autoopts-config \- script to get information about installed version of
+autoopts
+.SH SYNOPSIS
+.B autoopts-config
+.B [--prefix[=DIR]] [--exec-prefix[=DIR]]  [--version] [--libs] [--pkgdatadir] [--cflags] [--autogen]
+.PP
+.SH DESCRIPTION
+\fBautoopts-config\fP is a tool that is used by configure to determine the
+compile and linker flags that should be used to compile and link programs that
+use autoopts.
+.SH OPTIONS
+.TP
+.BR --prefix[=DIR]
+.sp
+If specified, use PREFIX instead of the installation prefix that autoopts was
+built with when computing the output for the --cflags and --libs options. This
+option is also used for the exec prefix if --exec-prefix was not specified.
+This option must be specified before any --libs or --cflags options.
+.TP
+.BR --exec-prefix[=DIR]
+.sp
+If specified, use PREFIX instead of the installation exec prefix that autoopts
+was built with when computing the output for the --cflags and --libs options.
+This option must be specified before any --libs or --cflags options.
+.TP
+.BR --version
+.sp
+Print the currently installed version of autoopts on the standart output.
+.TP
+.BR --libs
+.sp
+Print the linker flags that are necessary to link an autoopts program.
+.TP
+.BR --pkgdatadir
+.sp
+Print the directory containing support files used by autogen.
+.TP
+.BR --cflags
+.sp
+Print the compiler flags that are necessary to compile an autoopts program.
+.TP
+.BR --autogen
+.sp
+Use this option to locate the autogen binary.
+.SH "SEE ALSO"
+.IR Autogen
+Info system documentation.
+.SH AUTHOR
+autogen is the work of Bruce Korb <bkorb@gnu.org>. Luca Filipozzi
+<lfilipoz@debian.org> wrote this horrid manpage for the Debian package.
+.PP
+Released under the GNU General Public License.
--- autogen-5.9.5.orig/debian/README.Debian
+++ autogen-5.9.5/debian/README.Debian
@@ -0,0 +1,69 @@
+autogen for Debian
+----------------------
+
+
+Here is a feature comparison of six command line parser generators.
+
+package			clig	genparse gaa	autogen	gengetopt wyg
+			[1]	[2]	[3]	[4]	[5]	[6]
+runs per project [7]	many	many	many	many	once	many	
+input			file	file	file	file	file	file
+C language app		yes	yes	yes	yes	yes	yes
+shell script app	no	no	no	yes	no	no
+package result		parser	parser	parser	parser	main.c	parser
+
+config file input	no	no	yes	yes	no	yes
+environment input	no	no	no	yes	no	no
+config file output	no	no	no	yes	no	no
+command line		yes	yes	yes	yes	yes	yes
+
+short options		[8]	yes	yes	yes	yes	yes
+combined short options	no	yes	yes	yes	yes	yes
+long options		[8]	yes	yes	yes	yes	yes
+parameter types		4	5	5	any	11	4
+callback functions	no	yes	yes	yes	yes	no
+multiple parameters	yes	no	no	yes	no	no
+optional parameters	yes	no	no	yes	no	no
+default values		yes	yes	yes	yes	no	yes
+range checks		yes	yes	no	no	no	no
+option data		struct	struct	struct	struct	variables struct
+
+usage()			yes	yes	yes	yes	yes	yes
+man page		yes	no	no	no	no	no
+makefile		no	no	no	no	no	no
+
+developer dependencies	tcl	none	none	none	none	bison,flex
+user dependencies	none	none	none	[9]	none	none
+
+ [1] clig is the only tool that generates a skeleton man page.  It
+also updates a previously generated man page.
+ [2,3] genparse and gaa have very similar capabilities.  genparse
+supports range checks, and gaa supports option input from a
+configuration file as well as the command line.  NOTE HOWEVER: gaa is
+not maintained upstream.
+ [4] autogen has many capabilities, but here we concentrate on the
+portion called AutoOpts.  AutoOpts is the most general of these
+programs, and has the most extensive documentation.  It is the only
+one that supports shell scripts as well as C programs.  It also
+supports input from a configuration file or the environment.
+ [5] gengetopt is the only one that generates a skeleton main.c
+instead of a separate parsing function.
+ [6] wyg uses flex and bison to generate a configuration file parser,
+but uses getopt_long to parse the command line options.
+ [7] A program run "once" produces files which the user is expected to
+edit.  If it's run again, the user would lose his edits.  A program
+supporting "many" runs, the user is not expected to edit the result.
+Thus, to change the interface (to add an option, for example), the
+user could edit the description file and re-run the parser generator.
+ [8] xlig supports either a short or long name for a given option, but
+not both, and in either case it is introduced by a single dash.
+ [9] There is a user-visible dependency iff the developer does a
+dynamic link to the libopts.so library.  Developers are free to either
+link statically or ship libopts.so with their product.  A Debian
+package would need only a dependency on the package supplying libopts
+(libopts2, at present).
+
+.
+
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>, Fri, 18 Jun 1999 21:23:48 -0400
--- autogen-5.9.5.orig/debian/changelog
+++ autogen-5.9.5/debian/changelog
@@ -0,0 +1,722 @@
+autogen (1:5.9.5-2~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+  * Depend on base-files (>= 4.0.1~bpo40+1) for GPL-3 licence text.
+
+ -- Bradley Smith <brad@brad-smith.co.uk>  Thu, 25 Sep 2008 15:09:00 +0100
+
+autogen (1:5.9.5-2) unstable; urgency=low
+
+  * Fix 01_fix_manpages.diff. Closes: #485180.
+
+ -- Bradley Smith <brad@brad-smith.co.uk>  Sun, 08 Jun 2008 18:25:31 +0100
+
+autogen (1:5.9.5-1) unstable; urgency=low
+
+  * New upstream release. Closes: #482881.
+  * Bump debhelper dependency to (>= 5).
+  * Add quilt patch system.
+   + 00_fix_as-needed. Fix -Wl,--as-needed flag.
+   + 01_fix_manpages. Fix errors in manpages.
+  * Update debian/copyright.
+
+ -- Bradley Smith <brad@brad-smith.co.uk>  Sun, 25 May 2008 21:33:58 +0100
+
+autogen (1:5.9.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * New Maintainer. Closes: #466329
+  * Update compat version to 5.
+  * Build depend on just libguile-1.6-dev, (Build currently fails with 1.8)
+  * Corrected section in doc-base.
+
+ -- Bradley Smith <brad@brad-smith.co.uk>  Thu, 06 Mar 2008 16:57:12 +0000
+
+autogen (1:5.9.4~pre12-1) experimental; urgency=low
+
+  * New upstream prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 11 Dec 2007 00:03:11 -0800
+
+autogen (1:5.9.3-4) unstable; urgency=low
+
+  * Add a Homepage field to debian/control.
+
+ -- Matt Kraai <kraai@debian.org>  Fri, 30 Nov 2007 10:09:36 -0800
+
+autogen (1:5.9.3-3) unstable; urgency=low
+
+  * Add " debian uupdate" to debian/watch.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 13 Nov 2007 00:25:17 -0800
+
+autogen (1:5.9.3-2) unstable; urgency=low
+
+  * Update debian/watch, thanks to Bruce Korb, closes: #449690.
+
+ -- Matt Kraai <kraai@debian.org>  Thu, 08 Nov 2007 21:59:41 -0800
+
+autogen (1:5.9.3-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Sun, 07 Oct 2007 15:33:47 -0700
+
+autogen (1:5.9.2-3) unstable; urgency=low
+
+  * Reference the GNU GPL and GNU LGPL in /usr/share/common-licenses and
+    add dependencies on base-files (>=4.0.1).
+
+ -- Matt Kraai <kraai@debian.org>  Sat, 06 Oct 2007 01:23:19 -0700
+
+autogen (1:5.9.2-2) unstable; urgency=low
+
+  * Do not ignore errors from $(MAKE) distclean in debian/rules.
+  * Change ${Source-Version} to ${binary:Version} in debian/control.
+  * Update the index path for the HTML documentation in autogen.doc-base.
+
+ -- Matt Kraai <kraai@debian.org>  Sat, 28 Jul 2007 15:37:18 -0700
+
+autogen (1:5.9.2-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Sat, 28 Jul 2007 14:57:26 -0700
+
+autogen (1:5.9.1-2) unstable; urgency=low
+
+  * Move the debhelper compatibility level setting from debian/rules to
+    debian/compat.
+  * Update the Standards-Version to 3.7.2.
+  * Convert debian/changelog to UTF-8.
+  * Change pkgconfig_SCRIPTS to pkgconfig_DATA in autoopts/Makefile.am and
+    ran automake.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 15 May 2007 23:19:17 -0700
+
+autogen (1:5.9.1-1) unstable; urgency=low
+
+  * New release.
+  * Prepend $f to LD_LIBRARY_PATH in getopt.tpl.
+
+ -- Matt Kraai <kraai@debian.org>  Thu, 10 May 2007 06:45:47 -0700
+
+autogen (1:5.9-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 10 Apr 2007 21:14:32 -0700
+
+autogen (1:5.8.9-2) experimental; urgency=low
+
+  * Decrement AO_AGE, closes: #409056.
+
+ -- Matt Kraai <kraai@debian.org>  Sat,  3 Feb 2007 08:22:50 -0800
+
+autogen (1:5.8.9-1) experimental; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Wed, 31 Jan 2007 06:27:15 -0800
+
+autogen (1:5.8.8-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 19 Dec 2006 00:04:12 -0800
+
+autogen (1:5.8.7-2) unstable; urgency=low
+
+  * Remove an extra backslash in error.test.
+  * Ignore "Aborted" messages in error.test, closes: #373666.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 19 Dec 2006 00:03:34 -0800
+
+autogen (1:5.8.7-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Sun,  3 Dec 2006 09:47:30 -0800
+
+autogen (1:5.8.3-2) unstable; urgency=low
+
+  * Fix the MIPS test failures, closes: #357990.
+
+ -- Matt Kraai <kraai@debian.org>  Wed, 22 Mar 2006 15:31:28 -0800
+
+autogen (1:5.8.3-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Sat,  4 Feb 2006 07:57:44 -0800
+
+autogen (1:5.8.2-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Wed,  1 Feb 2006 18:54:54 -0800
+
+autogen (1:5.8.1-4) unstable; urgency=low
+
+  * Add one to pMI->txt_size before passing it to mmap (closes:
+    Bug#340851).
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 31 Jan 2006 18:45:05 -0800
+
+autogen (1:5.8.1-3) unstable; urgency=low
+
+  * Change the timeout in gperf.test to 30 seconds to allow enough time on
+    m68k.
+  * Add MAP_PRIVATE to a call to mmap.
+  * Change some occurrences of ' to ` in getdefs/opts.def, thanks to
+    Nicolas François (closes: Bug#349823).
+
+ -- Matt Kraai <kraai@debian.org>  Wed, 25 Jan 2006 22:49:14 -0800
+
+autogen (1:5.8.1-2) unstable; urgency=low
+
+  * Change the Standards-Version to 3.6.2.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 24 Jan 2006 20:54:54 -0800
+
+autogen (1:5.8.1-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Fri, 13 Jan 2006 14:46:53 -0800
+
+autogen (1:5.7.3+5.8.1pre4-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Fri,  6 Jan 2006 08:55:33 -0800
+
+autogen (1:5.7.3+5.8pre6-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Sun, 27 Nov 2005 08:14:55 -0800
+
+autogen (1:5.7.3+5.7.4pre2-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 25 Oct 2005 08:46:29 -0700
+
+autogen (1:5.7.3-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 10 Oct 2005 14:23:21 -0700
+
+autogen (1:5.7.2+5.7.3-pre3-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Mon,  5 Sep 2005 22:11:08 -0700
+
+autogen (1:5.7.2+5.7.3-pre1-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 29 Aug 2005 16:20:27 -0700
+
+autogen (1:5.7.2-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Thu, 28 Jul 2005 22:34:12 -0700
+
+autogen (1:5.7-5) unstable; urgency=low
+
+  * Define PATH_MAX if it isn't defined, thanks to Michael Banck (closes:
+    #319911).
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 26 Jul 2005 10:12:33 -0700
+
+autogen (1:5.7-4) unstable; urgency=low
+
+  * Remove the build-dependency on procps (closes: #315387).
+
+ -- Matt Kraai <kraai@debian.org>  Thu, 23 Jun 2005 08:32:33 -0700
+
+autogen (1:5.7-3) unstable; urgency=low
+
+  * Include /usr/share/autogen/agman-lib.tpl,
+    /usr/share/autogen/getopt.tpl, and /usr/share/autogen/rc-sample.tpl in
+    autogen.
+
+ -- Matt Kraai <kraai@debian.org>  Thu,  9 Jun 2005 13:24:31 -0700
+
+autogen (1:5.7-2) unstable; urgency=low
+
+  * Remove debugging commands.
+  * Make libopts25 and libopts25-dev conflict with and replace libopts9
+    and libopts9-dev, respectively (closes: #308218).
+
+ -- Matt Kraai <kraai@debian.org>  Sun,  8 May 2005 18:56:33 -0700
+
+autogen (1:5.7-1) unstable; urgency=low
+
+  * New release.
+  * Change libopts9 and libopts9-dev to libopts25 and libopts25-dev,
+    respectively.
+
+ -- Matt Kraai <kraai@debian.org>  Thu, 28 Apr 2005 09:13:02 -0700
+
+autogen (1:5.6.6+5.6.7pre3-2) experimental; urgency=low
+
+  * Build-depend on gperf and procps.
+  * Run the test suite.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 14 Feb 2005 16:09:59 -0800
+
+autogen (1:5.6.6+5.6.7pre3-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 14 Feb 2005 15:13:59 -0800
+
+autogen (1:5.6.6-2) unstable; urgency=low
+
+  * Include autogen.info-1 and autogen.info-2, thanks to Sheplyakov Alexei
+    (closes: #298898).
+
+ -- Matt Kraai <kraai@debian.org>  Fri, 11 Mar 2005 06:28:03 -0800
+
+autogen (1:5.6.6-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Sun,  6 Feb 2005 14:41:40 -0800
+
+autogen (1:5.6.5+5.6.6pre5-1) experimental; urgency=low
+
+  * New prerelease.
+  * Move /usr/include/options.h to /usr/include/autogen/options.h.
+  * Include /usr/include/autogen/usage-txt.h in libopts9-dev.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 31 Jan 2005 15:03:01 -0800
+
+autogen (1:5.6.5-1) unstable; urgency=low
+
+  * New release.
+
+ -- Matt Kraai <kraai@debian.org>  Sun,  2 Jan 2005 09:44:46 -0800
+
+autogen (1:5.6.4+5.6.5pre9-1) experimental; urgency=low
+
+  * New prerelease.
+  * Include autoopts.pc in the autogen package.
+  * Revise the descriptions of libopts9 and libopts9-dev.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 20 Dec 2004 15:17:29 -0800
+
+autogen (1:5.6.4+5.6.5pre8-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 13 Dec 2004 12:47:20 -0800
+
+autogen (1:5.6.4+5.6.5pre7-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Wed, 24 Nov 2004 12:36:31 -0800
+
+autogen (1:5.6.4+5.6.5pre5-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Fri, 19 Nov 2004 15:29:13 -0800
+
+autogen (1:5.6.4+5.6.5pre4-1) experimental; urgency=low
+
+  * New prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Tue, 16 Nov 2004 11:31:48 -0800
+
+autogen (1:5.6.4+5.6.5pre2-1) experimental; urgency=low
+
+  * New prerelease.
+  * Use ${CLexe} instead of columns in directive.tpl.
+
+ -- Matt Kraai <kraai@debian.org>  Wed, 10 Nov 2004 10:10:59 -0800
+
+autogen (1:5.6.4-1) unstable; urgency=low
+
+  * New release.
+  * Remove the build-dependency on automake1.8 | automake.
+  * Add a build-dependency on autotools-dev.
+
+ -- Matt Kraai <kraai@debian.org>  Sun, 24 Oct 2004 17:16:18 -0700
+
+autogen (1:5.6.2+5.6.3pre11-1) experimental; urgency=low
+
+  * New upstream prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Fri, 15 Oct 2004 02:56:49 -0700
+
+autogen (1:5.6.2+5.6.3pre9-1) experimental; urgency=low
+
+  * New upstream prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 11 Oct 2004 21:24:18 -0700
+
+autogen (1:5.6.2+5.6.3pre8-1) experimental; urgency=low
+
+  * New upstream prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Thu, 07 Oct 2004 14:10:48 -0700
+
+autogen (1:5.6.2+5.6.3pre7-1) experimental; urgency=low
+
+  * New upstream prerelease.
+
+ -- Matt Kraai <kraai@debian.org>  Sun, 03 Oct 2004 15:21:27 -0700
+
+autogen (1:5.6.2+5.6.3pre6-1) experimental; urgency=low
+
+  * New upstream prerelease.
+  * Update the copyright file.
+
+ -- Matt Kraai <kraai@debian.org>  Mon, 27 Sep 2004 11:16:34 -0700
+
+autogen (1:5.6.2-1) unstable; urgency=low
+
+  * New upstream release (closes: #252522).
+  * New maintainer (closes: #266458).
+  * Change the build-dependency on automake1.4 | automake to automake1.8.
+
+ -- Matt Kraai <kraai@debian.org>  Wed, 15 Sep 2004 08:24:31 -0700
+
+autogen (1:5.5.5-3) unstable; urgency=high
+
+  * QA Upload
+  * Set maintainer to QA Group
+    - Acknowledge NMUs (Closes: #216646, #221356)
+  * Apply patch by Bruce Korb <bkorb@veritas.com> to
+    fix FTBFS (Closes: #264346)
+
+ -- Frank Lichtenheld <djpig@debian.org>  Thu, 19 Aug 2004 18:08:54 +0200
+
+autogen (1:5.5.5-2.2) unstable; urgency=low
+
+  * NMU during BSP.
+  * Undefined symbols in libopts9 fixed (closes: #220064).
+    Thanks to Jurij Smakov for the patch.
+
+ -- Sebastian Muszynski <do2ksm@linkt.de>  Sun, 21 Mar 2004 16:47:56 +0100
+
+autogen (1:5.5.5-2.1) unstable; urgency=low
+
+  * NMU.
+  * Fix guile build dependency (closes: #216646).
+
+ -- Matthias Klose <doko@debian.org>  Mon, 17 Nov 2003 22:19:49 +0100
+
+autogen (1:5.5.5-2) unstable; urgency=low
+
+  * fix override disparity 
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 14 Jun 2003 10:42:21 -0700
+
+autogen (1:5.5.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 14 Jun 2003 10:09:16 -0700
+
+autogen (1:5.5.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Mon, 19 May 2003 21:37:02 -0700
+
+autogen (1:5.5.3-2) unstable; urgency=low
+
+  * fix override disparity 
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sun, 16 Mar 2003 21:47:08 -0800
+
+autogen (1:5.5.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sun, 16 Mar 2003 20:15:14 -0800
+
+autogen (1:5.5.2-1) unstable; urgency=low
+
+  * New upstream release
+  * FTBFS problem fixed by upstream author (Closes: Bug#174317)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Mon, 24 Feb 2003 19:32:07 -0800
+
+autogen (1:5.4.8a-1) unstable; urgency=low
+
+  * New upstream release
+  * upstream author posted an advisory on December 29th, 2002 stating that
+    the 5.5.x series should not be used under any circumstances... therefore
+    epoch is incremented to permit uploading of 5.4.8a
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat,  4 Jan 2003 21:29:24 -0800
+
+autogen (5.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Tue, 24 Dec 2002 20:14:18 -0800
+
+autogen (5.4.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sun, 13 Oct 2002 14:15:39 -0700
+
+autogen (5.4.5-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 12 Oct 2002 13:26:31 -0700
+
+autogen (5.4.4-1) unstable; urgency=low
+
+  * New upstream release
+  * includes fix that allows it to be compiled by gcc-3.x (closes: #161837)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 28 Sep 2002 18:21:41 -0700
+
+autogen (5.4.3-1) unstable; urgency=low
+
+  * New upstream release (go figure)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 21 Sep 2002 16:53:14 -0700
+
+autogen (5.4.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 21 Sep 2002 14:18:19 -0700
+
+autogen (5.3.9-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@emyr.net>  Fri, 12 Jul 2002 22:05:43 -0700
+
+autogen (5.3.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sun,  2 Jun 2002 17:20:07 -0700
+
+autogen (5.3.5-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/watch: uses uscan version 2 syntax
+  * debian/rules: added hack to touch getdefs/gen-stamp getdefs/opts-stamp
+                  and columns/gen-stamp to prevent auto-regeneration of
+                  distributed opts.c and opts.h files (Closes: Bug#142040)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 13 Apr 2002 11:05:35 -0700
+
+autogen (5.3.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 23 Mar 2002 15:49:16 -0800
+
+autogen (5.3.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sat, 23 Feb 2002 23:57:48 -0800
+
+autogen (5.3.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sun, 17 Feb 2002 12:23:57 -0800
+
+autogen (5.2.13-1) unstable; urgency=low
+
+  * New upstream release (Closes: Bug#127081)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Mon, 31 Dec 2001 11:15:18 -0800
+
+autogen (5.2.12-2) unstable; urgency=low
+
+  * modified debian/control to create new binary package: libopts9-dev
+    noting that autogen      depends on libopts9-dev
+    and that    libopts9-dev depends on libopts9 (>=${Source-Version})
+    we see that autogen      depends on libopts9 (>=${Source-Version})
+    (Closes: Bug#126396)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Wed, 26 Dec 2001 15:14:17 -0800
+
+autogen (5.2.12-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Wed, 19 Dec 2001 12:15:56 -0800
+
+autogen (5.2.10-3) unstable; urgency=low
+
+  * created debian/autogen.info (Closes: Bug#117674) 
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Mon,  5 Nov 2001 18:08:13 -0800
+
+autogen (5.2.10-2) unstable; urgency=low
+
+  * New Maintainer (well, it's still me, just fixed my name in debian/control)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Wed, 24 Oct 2001 16:06:25 -0700
+
+autogen (5.2.10-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control required a "Replaces: autogen" because libopts9 now
+    contains files previously in autogen (Closes: Bug#111195)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Tue, 23 Oct 2001 14:06:10 -0700
+
+autogen (5.2.8-1) unstable; urgency=low
+
+  * New Maintainer
+  * New upstream release (Closes: #106657, #42525)
+  * Completely reworked the debian/* files
+  * Installs autoopts-config for use in Makefile(s)
+
+ -- Luca Filipozzi <lfilipoz@debian.org>  Sun, 12 Aug 2001 11:42:31 -0700
+
+autogen (5.2.7-3) unstable; urgency=low
+
+  * build-depend on libguile-dev vice libguile9-dev, link against
+    libguile9 rather than libguile6 (closes:bug#107592,bug#108004,bug#107914)
+
+ -- James R. Van Zandt <jrv@debian.org>  Fri, 10 Aug 2001 19:42:20 -0400
+
+autogen (5.2.7-2) unstable; urgency=low
+
+  * build-depend on tetex-bin and libguile9-dev (vice libguile6-dev)
+    (closes:bug#107267,bug#107280,bug#107592)  
+
+ -- James R. Van Zandt <jrv@debian.org>  Sat,  4 Aug 2001 18:30:29 -0400
+
+autogen (5.2.7-1) unstable; urgency=low
+
+  * New upstream release (closes:bug#99470,bug#100599)
+  * debian/control: move Build-Depends line to source section
+    (closes:bug#104303), update to policy version 3.2.1, rename libopts3
+    to libopts9. 
+  * debian/control: build-depends on texinfo
+  * debian/rules: honor DEB_BUILD_OPTIONS.  Install .info files.
+  * README.example, checkopt.def: update per example in autoopt.texi file
+  * debian/libopts9.postinst: call ldconfig
+  * Makefile.am: move  $(GUILE_INC) to the end of the include directory
+    search path, so local files are found before those that may have been
+    installed in the same directory as guile, fix courtesy of Alexandre
+    Duret-Lutz  <duret_g@epita.fr> (closes:bug#101666)
+  * upstream package now has recent config.guess and config.sub files
+    (closes:bug#96608)
+  * new maintainer email
+
+ -- James R. Van Zandt <jrv@debian.org>  Sat, 28 Jul 2001 13:33:33 -0400
+
+autogen (5.1.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Build-Depends: libguile6-dev
+  * update URL in watch file
+  * update URL in copyright file
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sat, 17 Mar 2001 15:13:54 -0500
+
+autogen (4.5.11-4) unstable; urgency=low
+
+  * Build-Depends: debhelper (Closes:Bug#70222)
+  * libopts3.postinst: eliminate extra "exit 0" (Thanks to Gordon Sadler
+    <gbsadler1@ispchannel.com> Closes:Bug#74130)
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sun,  8 Oct 2000 21:33:34 -0400
+
+autogen (4.5.11-3) unstable; urgency=low
+
+  * install autogen.info (closes:Bug#69044)
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Mon, 14 Aug 2000 21:21:45 -0400
+
+autogen (4.5.11-2) unstable; urgency=low
+
+  * update policy to 3.1.1
+  * in copyright file, don't refer to former directory
+  * upload everything, since the package unaccountably disappeared from
+    unstable (closes:Bug#60308)
+  
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sat,  4 Mar 2000 09:26:38 -0500
+
+autogen (4.5.11-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Mon,  8 Nov 1999 20:01:37 -0500
+
+autogen (4.5.10-1) unstable; urgency=low
+
+  * New upstream release
+  * Supply shlibs.local so autogen package declares its dependency on
+    libopts3.
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Thu, 21 Oct 1999 20:10:56 -0400
+
+autogen (4.5.8-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Mon, 27 Sep 1999 17:10:43 -0400
+
+autogen (4.5.6-2) unstable; urgency=low
+
+  * Link against glibc2.1
+  * update to FHS
+  * update GPL reference in copyright file
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sat,  4 Sep 1999 13:39:19 -0400
+
+autogen (4.5.6-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sat, 21 Aug 1999 18:15:29 -0400
+
+autogen (4.5.4-3) unstable; urgency=low
+
+  * Actually revise description (Closes: Bug#42144).
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sat,  7 Aug 1999 14:45:47 -0400
+
+autogen (4.5.4-2) unstable; urgency=low
+
+  * Revise description (Closes: Bug#42144).
+  * In rules, add `-f' flag so that `rm snprintfv/snprintfv.h' does not fail
+    gratuitously (Closes: Bug#42070)
+  * In /usr/share/aclocal/autoopts.m4, put AC_LANG_* calls around the
+    AC_TRY_* calls, so that the C compiler is used no matter what language
+    mode the configure script is in when the macro(s) are called.
+    (Closes: Bug#42525)
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sat,  7 Aug 1999 08:26:46 -0400
+
+autogen (4.5.4-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Sun, 27 Jun 1999 21:35:03 -0400
+
+autogen (4.5.3-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- James R. Van Zandt <jrv@vanzandt.mv.com>  Fri, 18 Jun 1999 22:09:00 -0400
+
+
--- autogen-5.9.5.orig/debian/libopts25-dev.files
+++ autogen-5.9.5/debian/libopts25-dev.files
@@ -0,0 +1,15 @@
+usr/lib/libopts.a
+usr/lib/libopts.la
+usr/lib/libopts.so
+usr/lib/libguileopts.a
+usr/lib/libguileopts.la
+usr/lib/libguileopts.so
+usr/include/autoopts/options.h
+usr/include/autoopts/usage-txt.h
+usr/share/man/man3/optionFree.3
+usr/share/man/man3/optionLoadLine.3
+usr/share/man/man3/optionProcess.3
+usr/share/man/man3/optionRestore.3
+usr/share/man/man3/optionSaveFile.3
+usr/share/man/man3/optionSaveState.3
+usr/share/man/man3/optionVersion.3
--- autogen-5.9.5.orig/debian/compat
+++ autogen-5.9.5/debian/compat
@@ -0,0 +1 @@
+5
--- autogen-5.9.5.orig/debian/autogen.info
+++ autogen-5.9.5/debian/autogen.info
@@ -0,0 +1 @@
+doc/autogen.info*
--- autogen-5.9.5.orig/debian/autogen.examples
+++ autogen-5.9.5/debian/autogen.examples
@@ -0,0 +1,3 @@
+debian/main.c
+debian/Makefile
+debian/checkopt.def
--- autogen-5.9.5.orig/debian/checkopt.def
+++ autogen-5.9.5/debian/checkopt.def
@@ -0,0 +1,22 @@
+AutoGen Definitions options;
+prog_name     = check;
+prog_title    = "Checkout Automated Options";
+long_opts;
+
+flag = {
+    name      = check_dirs;
+    value     = L;        /* flag style option character */
+    arg_type  = string;   /* option argument indication  */
+    max       = NOLIMIT;  /* occurrance limit (none)     */
+    stack_arg;            /* save opt args in a stack    */
+    descrip   = "Checkout directory list";
+};
+
+flag = {
+    name      = show_defs;
+    descrip   = "Show the definition tree";
+    name      = show_defs;
+    descrip   = "Show the definition tree";
+    disable   = dont;     /* mark as enable/disable type */
+                          /* option.  Disable as `dont-' */
+};
--- autogen-5.9.5.orig/debian/watch
+++ autogen-5.9.5/debian/watch
@@ -0,0 +1,3 @@
+version=3
+ftp://ftp.gnu.org/gnu/autogen/rel([\d\.]+)/autogen-([\d\.]+)\.tar\.gz debian \
+  uupdate
--- autogen-5.9.5.orig/debian/patches/01_fix_manpages.diff
+++ autogen-5.9.5/debian/patches/01_fix_manpages.diff
@@ -0,0 +1,12 @@
+diff -Naur autogen/autoopts/agman1.tpl autogen.new/autoopts/agman1.tpl
+--- autogen/autoopts/agman1.tpl	2008-05-25 20:41:01.000000000 +0100
++++ autogen.new/autoopts/agman1.tpl	2008-05-25 21:20:52.000000000 +0100
+@@ -515,7 +515,7 @@
+ .nf
+   \fB[+: (. PROG_NAME) :+]_<option-name>\fP or \fB[+: (. PROG_NAME) :+]\fP
+ .fi
+-.aj[+:
++[+:
+     IF (exist? "homerc") :+]
+ The environmental presets take precedence (are processed later than)
+ the configuration files.[+:
--- autogen-5.9.5.orig/debian/patches/00_fix_as-needed.diff
+++ autogen-5.9.5/debian/patches/00_fix_as-needed.diff
@@ -0,0 +1,30 @@
+--- a/config/ltmain.sh.orig	2006-03-29 15:45:36.000000000 +0200
++++ b/config/ltmain.sh	2006-03-29 16:39:30.000000000 +0200
+@@ -4112,6 +4112,11 @@
+ 	arg=$func_stripname_result
+ 	;;
+ 
++      -Wl,--as-needed)
++	deplibs="$deplibs $arg"
++	continue
++	;;
++
+       -Wl,*)
+ 	func_stripname '-Wl,' '' "$arg"
+ 	args=$func_stripname_result
+@@ -4463,6 +4468,15 @@
+ 	lib=
+ 	found=no
+ 	case $deplib in
++	-Wl,--as-needed)
++	  if test "$linkmode,$pass" = "prog,link"; then
++	    compile_deplibs="$deplib $compile_deplibs"
++	    finalize_deplibs="$deplib $finalize_deplibs"
++	  else
++	    deplibs="$deplib $deplibs"
++	  fi
++	  continue
++	  ;;
+ 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
+ 	  if test "$linkmode,$pass" = "prog,link"; then
+ 	    compile_deplibs="$deplib $compile_deplibs"
--- autogen-5.9.5.orig/debian/patches/series
+++ autogen-5.9.5/debian/patches/series
@@ -0,0 +1,2 @@
+00_fix_as-needed.diff
+01_fix_manpages.diff
