Long option for -W (--word-regexp) accepted without ENABLE_CHANGEWORD defined
Vitezslav Crhonek <[email protected]> Wed, 05 Feb 2014 14:58:28 +0100
| Newsgroups | gmane.comp.gnu.m4.patches |
|---|---|
| Message-ID | <[email protected]> |
Hello,
small issue I've found today, here's the fix:
--- m4-1.4.17/src/m4.c.orig 2013-09-22 07:50:43.000000000 +0200
+++ m4-1.4.17/src/m4.c 2014-02-05 14:49:06.706025544 +0100
@@ -307,7 +307,9 @@
{"trace", required_argument, NULL, 't'},
{"traditional", no_argument, NULL, 'G'},
{"undefine", required_argument, NULL, 'U'},
+#ifdef ENABLE_CHANGEWORD
{"word-regexp", required_argument, NULL, 'W'},
+#endif
{"debugfile", optional_argument, NULL, DEBUGFILE_OPTION},
{"diversions", required_argument, NULL, DIVERSIONS_OPTION},
Best regards,
Vitezslav Crhonek