diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-05-24 09:37:57 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-05-24 14:23:50 -0400 |
commit | 3a6c1f049bb3643c86eb87f6c69cf7c3d3c95c86 (patch) | |
tree | 8793e871cc4ee1b3d3ff82b73d04c9264aaf12a9 /src/parse.c | |
parent | 64fcb1d975e8ec8ac70f7ae8add2f7499e6fe6e9 (diff) | |
download | bfs-3a6c1f049bb3643c86eb87f6c69cf7c3d3c95c86.tar.xz |
configure: Use --with/--without for libraries
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse.c b/src/parse.c index 5dd85de..539aa05 100644 --- a/src/parse.c +++ b/src/parse.c @@ -2258,7 +2258,7 @@ static struct bfs_expr *parse_regextype(struct bfs_parser *parser, int arg1, int parser->regex_type = BFS_REGEX_POSIX_BASIC; } else if (strcmp(type, "posix-extended") == 0) { parser->regex_type = BFS_REGEX_POSIX_EXTENDED; -#if BFS_USE_ONIGURUMA +#if BFS_WITH_ONIGURUMA } else if (strcmp(type, "emacs") == 0) { parser->regex_type = BFS_REGEX_EMACS; } else if (strcmp(type, "grep") == 0) { @@ -2280,7 +2280,7 @@ list_types: cfprintf(cfile, " ${bld}posix-basic${rs}: POSIX basic regular expressions (BRE)\n"); cfprintf(cfile, " ${bld}posix-extended${rs}: POSIX extended regular expressions (ERE)\n"); cfprintf(cfile, " ${bld}ed${rs}: Like ${grn}ed${rs} (same as ${bld}posix-basic${rs})\n"); -#if BFS_USE_ONIGURUMA +#if BFS_WITH_ONIGURUMA cfprintf(cfile, " ${bld}emacs${rs}: Like ${grn}emacs${rs}\n"); cfprintf(cfile, " ${bld}grep${rs}: Like ${grn}grep${rs}\n"); #endif |