autogen_back

AutoGen   Version 5.9.8
AutoOpts   Version 32.1

Main
AutoGen
Pages

Home
Announce
FAQ
docs
XML Defs
testimonials
downloads

Automated
Options

AutoOpts
Comparison
Man example
Redistribute
Licensing
local use
using getopt

GCC's
Fixincludes

fixincludes

Automated
FSM

description
example
usagefsm

Addons
addon

Project GNU
Home Page

Automated
XDR

xdr project

i

Pre-Announcement for R.S.N.

5.9.8

portability bug fixes
Mac OS/X and very old guile problems

option deprecation
By specifying the option attribute, deprecated, there will be two effects: the usage text will not show the option, and the generated documentation will mark it with: NOTE: THIS OPTION IS DEPRECATED

command line disablement
Sometimes, options just should not be specifiable on the command line. So, you may now specify that the command line may not load or save options and options you specify may also be prohibited from the command line. disable-load and disable-save will disable loading and saving option state on the command line, and the no-command attribute will prevent your option from being recognized on the command line. They are also omitted from the usage text.

Announcement for December 2008

5.9.7

-Werror causes problems
...especially on Cygwin. So, "configure" has been modified so that it gets inserted on compilations only if export WERROR=yes has been set for configure time.

flags-must and flags-cant
When option names are used as C variables, hyphens must be replaced with underscores. This wasn't being done for these option conflict tests.

usage.tpl compilations
This template is used to produce usage text at build time, instead of the "normal" run time. Relative path names in -I options were not working correctly.

--more-help and getopt.tpl
``--more-help'' is supported within libopts. Thus, if you are avoiding using libopts by using the getopt.tpl template, there will be no support for it. You must specify, no-libopts; in your option definitions. This will remove any mention of ``--more-help'' in any generated documentation or usage text.

--used-defines option to AutoGen
This will cause the autogen program to print out each definition name it tried to look up, whether found or not. I have found it useful for ensuring that all option definition file attributes get defined.

Announcement for November 2008

5.9.6

Saving options (configurations) to a file
Support has now been added to save hierarchically valued options (options with "suboptions"). (See also Automatically Supported Options.)

This is very useful for automated editing of daemon process config files. Instead of using an editor and changing it directly, the optionProcess function validates the new state before writing it out. At that point, the "configuration file editor" program can signal the daemon to reload its configuration.

new option: reset-option
This option will take as its argument the name of another option. The state of that option will be completely cleared, as if it had never been specified. This is the only way to remove a configured value, if you wish to rewrite the config file.

New option argument type: time
The argument is a string representing a duration of time. Internally, your program will see the time_t value in seconds. The conversion will be done by the soon-to-be-released GNU lib function, "parse_duration()". I have also added the SCM function time-string->number


top  Viewable With Any Browser  Valid XHTML 1.0!


AutoGen, AutoOpts, columns, getdefs, AutoFSM, AutoXDR and these web pages copyright (c) 1999-2002 Bruce Korb, all rights reserved.

Return to GNU's home page.

Please send FSF & GNU inquiries & questions to gnu@gnu.org. There are also other ways to contact the FSF.

Please send comments on these web pages to webmasters@www.gnu.org, send other questions to gnu@gnu.org.

This article, Copyright © 2000-2002 by Bruce Korb

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. Last modified: Sat May 16 08:52:53 PDT 2009