Commit Graph

40 Commits

Author SHA1 Message Date
Kelley Cook
366ccddb2b Update FSF address.
From-SVN: r101317
2005-06-25 02:02:01 +00:00
Nathanael Nerode
cbbf876bb2 fixproto: Define NULL and size_t in generated stdlib.h and unistd.h.
* fixproto: Define NULL and size_t in generated stdlib.h and
	unistd.h.  Kill unused required_stdlib_h, required_unistd_h.
	Rearrange file generation loop for readability.  Generate time.h,
	string.h if missing.
	* tsystem.h: Include <string.h>, <time.h> unconditionally.
	* config.gcc: Blow away POSIX defines.

From-SVN: r64690
2003-03-22 00:15:53 +00:00
Rainer Orth
1e6347d8b9 Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
	* config-ml.in: Likewise.
	* configure: Likewise.
	* configure.in: Likewise.

	boehm-gc:
	* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	config:
	* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.

	contrib:
	* test_installed: Allow for PWDCMD to override hardcoded pwd.
	* test_summary: Likewise.

	gcc:
	* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
	* configure.in: Likewise.
	* fixinc/check.tpl: Likewise.
	* fixinc/fixinc.dgux: Likewise.
	* fixinc/fixinc.svr4: Likewise.
	* fixinc/fixinc.winnt: Likewise.
	* fixinc/fixincl.sh: Likewise.
	* fixproto: Likewise.
	* configure: Regenerate.

	gcc/ada:
	* Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
	* Makefile.in: Likewise.

	gcc/f:
	* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.

	gcc/java:
	* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.

	gcc/po:
	* exgettext: Allow for PWDCMD to override hardcoded pwd.

	gcc/treelang:
	* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.

	libf2c:
	* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
	* aclocal.m4: Likewise.
	* configure: Regenerate.

	libjava:
	* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
	* configure.in: Likewise.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

	libobjc:
	* aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
	* configure: Regenerate.

	libstdc++-v3:
	* Makefile.am: Allow for PWDCMD to override hardcoded pwd.
	* acinclude.m4: Likewise.
	* docs/html/Makefile: Likewise.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

	zlib:
	* configure.in: Allow for PWDCMD to override hardcoded pwd.
	* configure: Regenerate.

	* ChangeLog: Move entries to ChangeLog.gcj.

From-SVN: r53523
2002-05-16 17:43:21 +00:00
Lars Brinkhoff
1322177dbd Makefile.in, [...]: replace "GNU CC" with "GCC".
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
	bitmap.h, builtin-types.def, builtins.c, builtins.def,
	c-aux-info.c, c-common.c, c-common.def, c-common.h,
	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
	conditions.h, config.gcc, configure.frag, configure.in,
	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
	emit-rtl.c, errors.c, errors.h, except.c, except.h,
	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
	gencheck.c, gencodes.c, genconfig.c, genemit.c,
	genextract.c, genflags.c, gengenrtl.c, genmultilib,
	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
	params.h, predict.c, predict.def, predict.h, prefix.c,
	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
	xcoffout.h: replace "GNU CC" with "GCC".

From-SVN: r45105
2001-08-22 14:35:51 +00:00
Michael Sokolov
825ac70419 fixproto: Correctly install synthesised unistd.h and stdlib.h when they didn't need fixing.
* fixproto: Correctly install synthesised unistd.h and stdlib.h when
	they didn't need fixing.

From-SVN: r39304
2001-01-27 21:07:57 +00:00
Laurynas Biveinis
87cf27fece * fixproto: Recognize DOS paths with drive letters as absolute paths.
From-SVN: r35636
2000-08-11 09:20:10 -06:00
Kaveh R. Ghazi
01b2995f8b Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
* Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.

        * fixproto: If fix-header fails, exit with an error.

From-SVN: r33208
2000-04-17 14:40:03 +00:00
Alexandre Oliva
bcf1ba1d14 Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to fixproto.
* Makefile.in (stmp-fixproto): Pass location of mkinstalldirs to
        fixproto.
        * fixproto: Avoid unportable constructs such as `basename' and
        `mkdir -p'.  Use mkinstalldirs from the environment if `mkdir -p'
        fails.

From-SVN: r26983
1999-05-17 17:07:40 -06:00
Jeffrey A Law
fa27306655 * fixproto: Change "mkdir" calls to "mkdir -p"
From-SVN: r26894
1999-05-11 17:45:59 -06:00
Jeff Law
4283012f9f Copyright fixes.
From-SVN: r24535
1999-01-06 13:44:41 -07:00
Manfred Hollstein
08fbf99d63 fix-header.c (enum special_file): Undefine enumerators if they are already defined by include files.
a
	* fix-header.c (enum special_file): Undefine enumerators if they
	are already defined by include files.
	* fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
	macro with '__' to not pollute user namespace.

From-SVN: r19298
1998-04-19 06:48:08 +00:00
Manfred Hollstein
7a79083780 Makefile.in (stmp-fixinc): If we're actually fixing include files...
a
	* Makefile.in (stmp-fixinc): If we're actually fixing include
	files, copy gcc's assert.h into the fixed include dir.
	* fixincludes (assert.h): Avoid any attempts to fix a probably
	broken system specific assert.h file.
	* fixproto (stdlib.h): Make sure, it'll contain a definition of
	size_t.

From-SVN: r18852
1998-03-27 00:01:08 +00:00
Richard Kenner
f6ae488b65 (std_files): Add sys/socket.h.
From-SVN: r13139
1996-11-12 14:37:01 -05:00
Brendan Kehoe
80e4a749b7 * fixproto (std_files): Add utime.h.
From-SVN: r12531
1996-07-19 15:24:59 -04:00
Paul Eggert
b9a48d63c5 (subdirs): Work around Solaris 2.5
/usr/xpgr/bin/sed problem with \+\+.

From-SVN: r12179
1996-06-06 21:31:55 +00:00
Richard Kenner
de18aff348 Change FSF address.
From-SVN: r9988
1995-06-15 17:06:59 -04:00
Richard Kenner
9faa82d8c0 Fix typos in comments.
From-SVN: r9712
1995-05-16 08:39:54 -04:00
Per Bothner
b3ca463cda Re-write fixproto/fix-header/etc to use cpplib.
From-SVN: r9316
1995-04-05 14:16:26 -07:00
Per Bothner
1a655ca39b fixproto: Define FIX_HEADER (needed by Aug 19 change).
* fixproto:  Define FIX_HEADER (needed by Aug 19 change).
Use FIX_HEADER instead of $original_dir/fix-header (twice).

From-SVN: r8011
1994-08-31 17:43:07 -07:00
Per Bothner
47685b9c8d Use $FIX_HEADER macro instead of calling fix-header directly.
From-SVN: r7952
1994-08-19 16:49:28 -07:00
Jason Merrill
6bfc4303bd Lose assert.h hacking
From-SVN: r7523
1994-06-18 21:51:42 +00:00
Jason Merrill
e93ce7d416 Use ${FIXPROTO_DEFINES}.
From-SVN: r7334
1994-05-18 23:08:30 +00:00
Jason Merrill
b6083bc9f8 Add missing fns to required list for string.h
From-SVN: r6957
1994-04-01 22:36:00 +00:00
Richard Kenner
b9b63425c6 Add popen and pclose to required list for stdio.h.
Add putenv to required list for stdlib.h.
Add getopt to required list for unistd.h.

From-SVN: r6510
1994-02-08 19:30:01 -05:00
Richard Kenner
2628709d5a Append "#include <stdlib.h>" to assert.h if it uses exit or abort.
From-SVN: r6507
1994-02-08 19:21:44 -05:00
Richard Kenner
17a08984d3 Add lstat to required_list for sys/stat.h
From-SVN: r6483
1994-02-05 07:05:24 -05:00
Jim Wilson
66a9d9f8d5 (required_unistd_h): Delete getgroups from list.
From-SVN: r6270
1993-12-22 11:31:24 -08:00
Richard Stallman
9080bb7f04 (scanning files_to_check): Create subdirs files are in.
From-SVN: r6168
1993-11-27 11:11:23 +00:00
Richard Stallman
f0013113ae (stdio.h): Reenable adding protos for v*printf.
From-SVN: r6128
1993-11-21 10:11:51 +00:00
Richard Stallman
fdd7822101 (rel_source_subdir): Prune out redundant /subdir/../ to prevent recursion.
From-SVN: r6068
1993-11-11 11:01:01 +00:00
Richard Stallman
328070bb4f (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf.
From-SVN: r6019
1993-11-06 01:34:55 +00:00
Richard Stallman
12a3cb7a2e Don't scan sub-directories whose names end in CC
or contain ++ - these are probably C++ directories.

From-SVN: r6007
1993-11-05 07:51:14 +00:00
Per Bothner
41b21cfc17 Make more robust in two places.
From-SVN: r5978
1993-11-03 00:14:02 -08:00
Richard Stallman
0663081eed (setjmp.h): Don't require siglongjmp and sigsetjmp.
They need sigjmp_buf, and are missing on many systems.

From-SVN: r5969
1993-11-02 03:21:17 +00:00
Richard Stallman
fc51af1af8 (signal.h): Add prototypes only for kill and raise.
Not for the POSIX signal functions.
(sys/resource.h): Delete special handling for this file.

From-SVN: r5892
1993-10-26 06:52:18 +00:00
Richard Stallman
aab7bd1963 Use fix-header.
From-SVN: r5870
1993-10-22 21:50:08 +00:00
Per Bothner
d79438193b Re-write. New logic, assuming implicit extern "C" from cpp.
From-SVN: r5762
1993-10-12 15:58:40 -07:00
Per Bothner
e9cd0b2518 Merge. See ChangeLog.
From-SVN: r5125
1993-08-09 18:59:37 -07:00
Per Bothner
fd602e5abb Pass '-' to tr as the 1-character range '---'.
From-SVN: r5009
1993-07-27 15:45:09 -07:00
Per Bothner
7afe1b4d48 Initial revision
From-SVN: r4985
1993-07-25 17:00:23 -07:00