diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2018-11-04 14:29:11 +0300 |
---|---|---|
committer | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2018-11-10 00:24:30 +0300 |
commit | 14eb2e28f83a78573225bd6910f4048e17090564 (patch) | |
tree | 95ecf1872dcb7a9ce5e92207741966ef26991271 /src/args-std.def.in | |
parent | 4151d1173f1937f64813222faca710410fe4ec14 (diff) | |
download | gnutls-14eb2e28f83a78573225bd6910f4048e17090564.tar.gz |
src: args-std.def: substitute variables using configure
Use standard way (configure script) to substiture variables in
args-std.def file, instead of manually replacing them in dist-hook.
Fixes #567
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'src/args-std.def.in')
-rw-r--r-- | src/args-std.def.in | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/args-std.def.in b/src/args-std.def.in new file mode 100644 index 0000000000..93634a1857 --- /dev/null +++ b/src/args-std.def.in @@ -0,0 +1,58 @@ + +prog-group = GnuTLS; +config-header = config.h; +gnu-usage; +disable-save; +long-opts; +no-xlate = opt; +version = "@VERSION@"; +no-misuse-usage; +export = '#include <gettext.h>'; + +copyright = { + date = "2000-@YEAR@"; + owner = "Free Software Foundation, and others"; + author = "Nikos Mavrogiannopoulos, Simon Josefsson and others; " + "see /usr/share/doc/gnutls/AUTHORS for a complete list."; + eaddr = "@PACKAGE_BUGREPORT@"; + type = gpl; +}; + +help-value = h; +flag = { + name = debug; + value = d; + arg-type = number; + arg-range = "0 -> 9999"; + descrip = "Enable debugging"; + doc = "Specifies the debug level."; +}; + +#ifdef VERBOSE_OPT +flag = { + name = verbose; + value = V; + max = NOLIMIT; + descrip = "More verbose output"; + doc = ""; +}; +#endif + +#ifdef INFILE_OPT +flag = { + name = infile; + arg-type = file; + file-exists = yes; + descrip = "Input file"; + doc = ""; +}; +#endif + +#ifdef OUTFILE_OPT +flag = { + name = outfile; + arg-type = string; + descrip = "Output file"; + doc = ""; +}; +#endif |