aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.opt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2009-04-20 15:05:56 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2009-04-20 16:24:02 +0300
commit3a6373d888021388473bd96c000a8fdab8aedaa5 (patch)
treeacff526d947280ced0912c49af1308031e672158 /src/cmdline.opt
parentdf8c51d2db6f5d16b97ae2f2b62bd625e5a96833 (diff)
downloadwydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.gz
wydawca-3a6373d888021388473bd96c000a8fdab8aedaa5.tar.bz2
Switch to the Grecs submodule.
* gconf: Remove * Makefile.am (ACLOCAL_AMFLAGS): Add -I grecs/am. (SUBDIRS): Replace gconf with grecs (make-ChangeLog): Remove spurious rule. * bootstrap.conf: Init submodules. * configure.ac: Call GRECS_SETUP (AC_CONFIG_FILES): Add grecs/Makefile, grecs/src/Makefile. * src/wydawca.h: Include grecs.h * src/Makefile.am (LDADD,INCLUDES): Refer to grecs. * tests/Makefile.am: Likewise. * src/cmdline.opt, src/config.c, src/diskio.c, src/tcpwrap.c, src/wydawca.c: Use grecs. * README-hacking: Update
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r--src/cmdline.opt18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index fd87e5e..3515072 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -133,7 +133,7 @@ GROUP(Preprocessor control)
OPTION(include-directory,I,DIR,
[<add include directory>])
BEGIN
- gconf_preproc_add_include_dir (optarg);
+ grecs_preproc_add_include_dir (optarg);
END
OPTION(define,D,SYMBOL[=VALUE],
@@ -159,13 +159,13 @@ END
OPTION(preprocessor,,COMMAND,
[<use COMMAND instead of the default preprocessor>])
BEGIN
- gconf_preprocessor = optarg;
+ grecs_preprocessor = optarg;
END
OPTION(no-preprocessor,,,
[<disable preprocessing>])
BEGIN
- gconf_preprocessor = NULL;
+ grecs_preprocessor = NULL;
END
GROUP(Debugging)
@@ -179,13 +179,13 @@ END
OPTION(dump-grammar-trace,,,
[<dump configuration grammar traces>])
BEGIN
- gconf_gram_trace (1);
+ grecs_gram_trace (1);
END
OPTION(dump-lex-trace,,,
[<dump lexical analyzer traces>])
BEGIN
- gconf_lex_trace (1);
+ grecs_lex_trace (1);
END
GROUP([<Additional help>])
@@ -202,13 +202,13 @@ void
parse_options(int argc, char *argv[])
{
GETOPT(argc, argv)
- if (pp_cmd_stack_init && gconf_preprocessor)
+ if (pp_cmd_stack_init && grecs_preprocessor)
{
char *defs = obstack_finish (&pp_cmd_stack);
- char *cmd = xmalloc (strlen (gconf_preprocessor) + strlen (defs) + 1);
- strcpy (cmd, gconf_preprocessor);
+ char *cmd = xmalloc (strlen (grecs_preprocessor) + strlen (defs) + 1);
+ strcpy (cmd, grecs_preprocessor);
strcat (cmd, defs);
- gconf_preprocessor = cmd;
+ grecs_preprocessor = cmd;
obstack_free (&pp_cmd_stack, NULL);
}
}

Return to:

Send suggestions and report system problems to the System administrator.