aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/fixfixes.c
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-10-15 07:58:38 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2004-10-15 07:58:38 +0000
commitad643a75f71cefbfe50788933c5c847211a09fe4 (patch)
tree0988a96569fcf89616a90abf081927a8c8328cf8 /fixincludes/fixfixes.c
parente26ce7eddf63a239c48619d4ed8f2e635dc6d8d9 (diff)
downloadgcc-ad643a75f71cefbfe50788933c5c847211a09fe4.zip
gcc-ad643a75f71cefbfe50788933c5c847211a09fe4.tar.gz
gcc-ad643a75f71cefbfe50788933c5c847211a09fe4.tar.bz2
re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)
2004-08-14 Paolo Bonzini <bonzini@gnu.org> PR other/17991 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o. Update copyright year. * fixfixes.c (main): Call initialize_opts from fixopts.c. * fixincl.c (initialize): Call initialize_opts from fixopts.c, do not include code for parsing options (environment vars). (fix_with_system): Use a search path for applyfix, so that you can run the test suite with two-process fixincludes. * fixopts.c: New file. * configure.ac: Add --enable-twoprocess. Export ac_exeext to config.h. Default to --enable-twoprocess for MinGW32. * config.h.in: Regenerate. * configure: Regenerate. From-SVN: r89087
Diffstat (limited to 'fixincludes/fixfixes.c')
-rw-r--r--fixincludes/fixfixes.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fixincludes/fixfixes.c b/fixincludes/fixfixes.c
index 19fa27e..ade3c4d 100644
--- a/fixincludes/fixfixes.c
+++ b/fixincludes/fixfixes.c
@@ -3,7 +3,7 @@
Test to see if a particular fix should be applied to a header file.
- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003
+ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2003, 2004
Free Software Foundation, Inc.
= = = = = = = = = = = = = = = = = = = = = = = = =
@@ -749,6 +749,8 @@ main( int argc, char** argv )
return EXIT_FAILURE;
}
+ initialize_opts ();
+
{
char* pz = argv[1];
long idx;