* gengtype.c: Don't include gtyp-gen.h.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Mar 2007 21:07:27 +0000 (21:07 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Mar 2007 21:07:27 +0000 (21:07 +0000)
commit570af75a16610c2ff3fe4591de6498eb24d52112
tree194b565efb539d208f63cc21e757c0f303b1a775
parent4097676c581cbc58c3e2535ca21d4e2c0fbf40a3
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused.  Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else.  No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there.  Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123234 138bc75d-0d04-0410-961f-82ee72b054a4
configure
gcc/ChangeLog
gcc/Makefile.in
gcc/c-config-lang.in
gcc/configure.ac
gcc/cp/config-lang.in
gcc/gengtype.c
gcc/objc/config-lang.in
gcc/objcp/config-lang.in