2015-04-30  Bruce Korb  <bruce.korb@hgst.com>

	correct library version bump

2015-04-26  Bruce Korb  <bruce.korb@hgst.com>

	libopts need rev bump, too

2015-04-25  Bruce Korb  <bruce.korb@hgst.com>

	update NEWS

	more Guile-config somersaults
	* config/misc.def: sometimes, "pkg-config --cflags-only-I" yields
	  multiple directories for Guile and that incantation is the only
	  way to find libguile/version.h and that header is the only way
	  to determine the micro version and the micro version is the best
	  way to check for certain types of breakage.  (Testing is too
	  convoluted.)

2015-04-18  Bruce Korb  <bruce.korb@hgst.com>

	remove Guile 1.6 support
	Also, prep for release

2015-04-14  Bruce Korb  <bkorb@gnu.org>

	in for-each-file main's, allow calle to free file text
	* autoopts/tpl/optmain.tlib (validate_fname):
	  if the file text is read in and passed to the handler function,
	  omit the "free(3)" call in the presence of a "handler-frees"
	  attribute.
	* doc/autogen-texi.txt: update documentation

2015-02-25  Bruce Korb  <bkorb@gnu.org>

	Add warning messages to the option code
	When "warn-code" is specified in the options definitions,
	warning_msg() and vwarning_msg() will be added to the
	generated code.  Calling either will ensure (eventually)
	a non-zero exit when exit(2) is ultimately called.

	fix size computation
	Thanks to siddharthkabra.
	The PAGE_USAGE_FMT uses "fname" twice, so the requirement size
	must double the string length.

2015-02-05  Bruce Korb  <bkorb@gnu.org>

	fix guile directory
	* autoopts/mk-tpl-config.sh (fix_guile): invoke the find_libguiledir
	  function with GUILE_CFLAGS as separate tokens.

	fix guile directory
	* autoopts/mk-tpl-config.sh (fix_guile): invoke the find_libguiledir
	  function with GUILE_CFLAGS as separate tokens.

2015-01-17  Bruce Korb  <bkorb@gnu.org>

	cright-update cleanup
	Finish handling embedded copyright mark expressions.
	Replace "nobase_data_DATA" with "pkgconfig_DATA".
	Update some copyright marks.

2015-01-04  Bruce Korb  <bkorb@gnu.org>

	cright-update cleanup
	Finish handling embedded copyright mark expressions.
	Replace "nobase_data_DATA" with "pkgconfig_DATA".
	Update some copyright marks.

2015-01-01  Bruce Korb  <bkorb@gnu.org>

	happy 2015

	pointer usage cleanup

2014-11-29  Bruce Korb  <bkorb@gnu.org>

	bump minor version

	use libdatadir for finding templates
	Now that it has been added, it is also useful to use it.
	* agen5/agInit.c (prep_env): add LIBDATADIR to end of search list
	* autoopts/Makefile.am (install-data-hook): add DESTlibdatadir to
	  install-hook environment
	* autoopts/install-hook.sh: copy tpl-config.tlib to this directory.

2014-11-23  Bruce Korb  <bkorb@gnu.org>

	Finish adding libdatadir to build.
	tpl-config.tlib needs to be installed in a target plaatform directory.
	Thus, we put it into nodist_libdata_DATA.
	* */Makefile.am: renameing of GUILE macros due to guile.m4
	* config/bootstrap.local: install pkg.m4, too
	* config/misc.def: remove Guile macros in favor of guile.m4, but also
	  add code to compute the full Guile micro version.  Not provided by Guile.

	add libdatadir to build.
	tpl-config.tlib needs to be installed in a target plaatform directory.
	Thus, we put it into nodist_libdata_DATA.  This is phase 1.
	* autoopts/bootstrap.dir: do so
	* autoopts/init.c: remove ao_ver_string
	* autoopts/mk-tpl-config.sh: generate ao_ver_string
	* autoopts/install-hook.sh: After sedding tpl-config.tlib in place,
	  copy it to $DESTlibdatadir

2014-09-14  Bruce Korb  <bkorb@gnu.org>

	licensing & DASH shell tweak
	* agen5/test/format.test: export AUTOGEN_DNE_DATE explicitly.
	  DASH does not export when the assignment is on the same line
	  as a shell function invocation.
	* autoopts/tpl/*.pl: document the licensing of the perl scripts.

2014-09-01  Bruce Korb  <bkorb@gnu.org>

	put man page sections in SEC subdirectory
	Some platforms to no support in-memory file io.  These use the $tmp_dir
	directory to stash temp files.  The "cmd-doc.tlib" template assumes
	that all files in that directory are man page sections.  Oops.
	* autoopts/tpl/cmd-doc.tlib: rework to avoid this
	* other files: strictly cleanup

2014-08-30  Bruce Korb  <bkorb@gnu.org>

	set release version

2014-08-24  Bruce Korb  <bkorb@gnu.org>

	remove unused strings
	* agen5/ag-text.def: many of the strings are no longer used.
	  Also, in the shell initialization, ensure "set +o verbose"
	  has been processed.
	* agen5/agUtils.c (fswarn): new, for when fs errors are not fatal.
	* agen5/defDirect.c (file_size): use it
	  (doDir_include): use it
	* agen5/expExtract.c (load_file): if fstat(3) fails, return errno
	* agen5/funcEval.c (emit_insertion_file): use load_file()
	* autoopts/tpl/cmd-doc.tlib: use new functionality

2014-08-23  Bruce Korb  <bkorb@gnu.org>

	add insert-file function
	Sometimes, it is just easier to insert the contents of a file
	than to go through "shell" and "cat" it into the output.
	* agen5/ag-text.def (LD_EXTRACT_BAD_READ): no longer used
	* agen5/agUtils.c (open_trace_file): use "fserr" call instead of AG_ABEND
	* agen5/expExtract.c (load_file): likewise
	* agen5/funcEval.c (ag_scm_insert_file): new function to implement
	plus documentation and testing changes to support this.

2014-08-22  Bruce Korb  <bkorb@gnu.org>

	warn about using "test-main"

	minor tweaks

2014-08-16  Bruce Korb  <bkorb@gnu.org>

	tweak NEWS

	fix return macro, add warn function
	* agen5/ag-text.def (WARN_FMT): for "warn" function
	* agen5/expFormat.c (ag_scm_warn): implementation
	* agen5/autogen.h (for_state_t): added fields to support RETURN
	* agen5/funcFor.c (for_by_step): adjust for new context fields
	  (for_each): likewise
	  (free_for_context): rewritten to handle this stuff
	* agen5/test/return.test: new test

2014-08-15  Bruce Korb  <bkorb@gnu.org>

	add documentation and testing
	It is useful for folks to know how to use AUTOGEN_DNE_DATE.

2014-08-14  Bruce Korb  <bkorb@gnu.org>

	dne - Do Not Edit and AUTOGEN_DNE_DATE
	This Scheme function has "traditionally" included a date and time stamp
	in the resulting output and that could be suppressed by providing it a
	"-d" option.  Due to very reasonable complaints, the new default is to
	<strong>not</strong> include the date and require a "-D" option to
	<i>en</i>able dates.  However, even that is not completely satisfactory.
	The <strong>user</strong> of the template needs a way to select
	behavior.  Enter the newly recognized environment variable:
	<tt>AUTOGEN_DNE_DATE</tt> If set, it will override any "-D" option in
	the template.  If set to the empty string or a string with the first
	character being one of <tt>0nNfF</tt> (zero or the first letter of
	"false" or "no"), then the date will not be emitted.  Otherwise, the
	presence of this environment variable will cause the date to be emitted.

2014-08-09  Bruce Korb  <bkorb@gnu.org>

	Clarify start/end of AutoGen tracing
	It is sometimes hard to match them up during a nested run
	* agen5/ag-text.def: mark the start and end of tracing more clearly
	* agen5/agUtils.c (open_trace_file): local function
	  (check_make_dep_env): likewise
	  (count_nl): move to defLex.c -- the only place used
	  (skip_expr) DeCamelization
	* agen5/defLex.c (count_nl): new
	* agen5/test/debug.test: adjust for new start/end markers
	* doc/Makefile.am: run_mktexi needs to specify the source directory

2014-08-08  Bruce Korb  <bkorb@gnu.org>

	remove timestamp from dne, add option to include it
	Recording the timestamp in generated files creates unnecessary noise as
	files that haven't really changed at all will show up as different when
	comparing builds, which is something downstream distributions would like
	to do.
	default to not adding date and version information (old behaviour when
	'-d' was passed) and add a new option '-D' that restores the timestamp,
	in case anyone desperately needs it.

	give credit where credit is due
	All the documentation scripts + cleanup of the
	libopts source library Makefile.am file.
	* THANKS: add Harlan Stenn
	* autoopts/tpl/*.pl: Credit Harlan Stenn
	* pkg/libopts/mklibsrc.sh: clean up Makefile.am output

2014-07-07  Bruce Korb  <bkorb@gnu.org>

	fix failures
	From Andreas Schwab

2014-07-06  Bruce Korb  <bkorb@gnu.org>

	build stdnoreturn.h in tear-off lib
	Pull in the gnulib stdnoreturn module.
	Modified files:
	* autoopts/version.c (optionPrintVersionAndReturn): export it
	* config/bootstrap.local: stash the relevant makefile hackery
	  and _Noreturn.h header data
	* config/libopts.def: invoke gl_STDNORETURN_H
	* config/misc.def: do not invoke it twice
	* pkg/libopts/mklibsrc.sh: incorporate stdnoreturn.in.h and
	  _Noterurn.h stuff in the library source.

	fix GFDL license
	* pkg/gnudir.tpl: no need for 3 withs

2014-07-02  Bruce Korb  <bkorb@gnu.org>

	man page cleanup
	Very noticable improvements to generated man pages
	Modified files:
	* autoopts/bootstrap.dir
	* autoopts/mk-tpl-config.sh
	* autoopts/tpl/Mdoc.pm
	* autoopts/tpl/agman-cmd.tpl
	* autoopts/tpl/agmdoc-cmd.tpl
	* autoopts/tpl/cmd-doc.tlib
	* autoopts/tpl/mdoc2man.pl
	* autoopts/tpl/mdoc2man.sh
	* autoopts/tpl/mdoc2texi.pl

	Fix up Guile fix up script
	Guile both misuses the token "noreturn" in its headers
	and rearranged its headers between releases.  It is tricky
	to fix up headers in different places and not fix headers
	that finally got fixed
	* autoopts/mk-tpl-config.sh (find_libguiledir):
	  look for libguile.h in a specific order to maximize
	  the chances of finding the correct directory.

2014-06-28  Bruce Korb  <bkorb@gnu.org>

	facilitate version procs
	In order to use the default version code and augment it,
	there is now a version of optionPrintVersion that returns.
	Hex numbers in definition files need not be quoted any more.
	* agen5/defLex.c (gather_name): accept hex numbers
	* agen5/test/define.test: test it
	* autoopts/version.c (optionPrintVersionAndReturn): new
	* doc/autogen-texi.txt: augment getopt.tpl doc

2014-06-15  Bruce Korb  <bkorb@gnu.org>

	fix format-arg macro
	"argc" is not defined in the test program.

2014-05-17  Bruce Korb  <bkorb@gnu.org>

	release version

2014-05-10  Bruce Korb  <bkorb@gnu.org>

	add delays to kill signals
	It seems that on some platforms, if signals arrive too quickly,
	the process winds up hanging instead of dying.  Therefore, in
	the shell die() function, wait a second between signals.
	* agen5/ag-text.def (SHELL_INIT_STR): wait one second after
	  the SIGTERM, SIGINT and SIGHUP signals.  Afterwards, send
	  a SIGKILL signal.
	* autoopts/mk-tpl-config.sh (fix_guile): this function runs
	  under "set -e", so do not fail-exit if grep does not find
	  the "noreturn" word.

2014-05-03  Bruce Korb  <bkorb@gnu.org>

	clean up "noreturn"
	This is a more rigorous fix for the libguile usage of the "noreturn"
	token.  It must *always* run, so it is folded into the
	mk-tpl-config.sh script.

	fix month
