(DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore.
authorRichard Stallman <rms@gnu.org>
Mon, 28 Jun 1993 04:54:15 +0000 (04:54 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 28 Jun 1993 04:54:15 +0000 (04:54 +0000)
(option_map): Add --include-with-prefix-before and
--include-with-prefix-after.

From-SVN: r4782

gcc/gcc.c

index 24205a4f1bde4dd47e739015ceb073a8ec475b6e..504ceb275bc286425e2dfea7d4b05c5a762c7412 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -399,7 +399,7 @@ static char *switches_need_spaces = SWITCHES_NEED_SPACES;
   || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
   || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
   || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
-  || !strcmp (STR, "iwithprefix"))
+  || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore"))
 
 #ifndef WORD_SWITCH_TAKES_ARG
 #define WORD_SWITCH_TAKES_ARG(STR) DEFAULT_WORD_SWITCH_TAKES_ARG (STR)
@@ -649,6 +649,8 @@ struct option_map option_map[] =
    {"--include-prefix", "-iprefix", "a"},
    {"--include-directory-after", "-idirafter", "a"},
    {"--include-with-prefix", "-iwithprefix", "a"},
+   {"--include-with-prefix-before", "-iwithprefixbefore", "a"},
+   {"--include-with-prefix-after", "-iwithprefix", "a"},
    {"--machine-", "-m", "*j"},
    {"--machine", "-m", "aj"},
    {"--no-standard-includes", "-nostdinc", 0},