autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Generated options for autoconf...


From: Bruce Korb
Subject: Generated options for autoconf...
Date: Fri, 10 Nov 2000 19:29:24 -0800

Hi all,

The attached is the result of a few minutes of copying the
current autoconf arguments into AutoOpts form and generating.
It is not a perfect match for what you all want, but close.
Plus, I can generate man pages and info docs....

Cheers,
        Bruce

Attachment: acopts.sh
Description: Bourne shell script

AutoGen Definitions options;

prog-name   = autoconf;
long-opts;
argument    = "[TEMPLATE-FILE]";
prog-title  = "Generate a configuration script";
test_main   = putShellParse;
explain     =

"Generate a configuration script from a TEMPLATE-FILE if given, or
`configure.in' by default.  Output is sent to the standard output if
TEMPLATE-FILE is given, else into `configure'.

report bugs to <address@hidden>.";

help-value    = h;
version       = "3.0";

flag = {
   name      = debug;
   value     = d;
   descrip   = "don't remove temporary files";
};

#define VERBOSE_FLAG
#include stdoptions.def

flag = {
   name      = output;
   value     = o;
   arg_type  = string;
   descrip   = "output file";
};

flag = {
   name      = warnings;
   value     = W;
   arg_type  = keyword;
   arg_default = obsolete;
   keyword   = cross, obsolete, syntax, all, error,
               no-cross, no-obsolete, no-syntax, none;
   max       = 4;
   descrip   = 'report warnings in category';
};

flag = {
   name      = dir_docs;
   documentation;
   descrip   = 'library directories';
};

flag = {
   name      = autoconf_dir;
   value     = A;
   arg_type  = string;
   descrip   = "macro file dir (rarely needed)";
};

flag = {
   name      = local_dir;
   value     = l;
   arg_type  = string;
   descrip   = "dir containing `aclocal.m4'";
};

flag = {
   name      = trace_docs;
   documentation;
   descrip   = 'tracing';
};

flag = {
   name      = trace;
   arg_type  = string;
   value     = t;
   descrip   = 'report invocations of MACRO';
   arg_name  = MACRO;
   max       = NOLIMIT;
};

flag = {
   name      = initialization;
   value     = i;
   descrip   = "trace Autoconf's initialization process";
};


reply via email to

[Prev in Thread] Current Thread [Next in Thread]