Commit Graph

87 Commits

Author SHA1 Message Date
Jakub Jelinek
e9b841813c configure.in (powerpc64*-*-linux*): Remove.
* configure.in (powerpc64*-*-linux*): Remove.
	* configure: Rebuilt.
libffi/
	* include/ffi.h.in (POWERPC64): Define if 64-bit.
	(enum ffi_abi): Add FFI_LINUX64 on POWERPC.
	Make it the default on POWERPC64.
	(FFI_TRAMPOLINE_SIZE): Define to 24 on POWERPC64.
	* configure.in: Change powerpc-*-linux* into powerpc*-*-linux*.
	* configure: Rebuilt.
	* src/powerpc/ffi.c (hidden): Define.
	(ffi_prep_args_SYSV): Renamed from
	ffi_prep_args.  Cast pointers to unsigned long to shut up warnings.
	(NUM_GPR_ARG_REGISTERS64, NUM_FPR_ARG_REGISTERS64,
	ASM_NEEDS_REGISTERS64): New.
	(ffi_prep_args64): New function.
	(ffi_prep_cif_machdep): Handle FFI_LINUX64 ABI.
	(ffi_call): Likewise.
	(ffi_prep_closure): Likewise.
	(flush_icache): Surround by #ifndef POWERPC64.
	(ffi_dblfl): New union type.
	(ffi_closure_helper_SYSV): Use it to avoid aliasing problems.
	(ffi_closure_helper_LINUX64): New function.
	* src/powerpc/ppc_closure.S: Surround whole file by #ifndef
	__powerpc64__.
	* src/powerpc/sysv.S: Likewise.
	(ffi_call_SYSV): Rename ffi_prep_args to ffi_prep_args_SYSV.
	* src/powerpc/linux64.S: New file.
	* src/powerpc/linux64_closure.S: New file.
	* Makefile.am (EXTRA_DIST): Add src/powerpc/linux64.S and
	src/powerpc/linux64_closure.S.
	(TARGET_SRC_POWERPC): Likewise.

	* src/ffitest.c (closure_test_fn, closure_test_fn1, closure_test_fn2,
	closure_test_fn3): Fix result printing on big-endian 64-bit
	machines.
	(main): Print tst2_arg instead of uninitialized tst2_result.

	* src/ffitest.c (main): Hide what closure pointer really points to
	from the compiler.

From-SVN: r65781
2003-04-18 14:32:36 +02:00
Richard Earnshaw
0590b963aa configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure: Regenerated.

From-SVN: r65694
2003-04-16 18:33:59 +00:00
Nathanael Nerode
73458fb759 Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.
(toplev)
	* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.  Delete unused
	Make macro.
	* Makefile.in: Regenerate.
	* configure.in: Clean up gxx_include_dir logic.
	* configure: Regenerate.

(gcc)
	* Makefile.in: Eliminate all.indirect.  Update and clean up comments.
	Rearrange.  Reorganize.
	* configure.in: Rearrange.
	* configure: Regenerate.

From-SVN: r64260
2003-03-12 20:41:00 +00:00
Franz Sirl
9a27ac7a2b configure.in (gxx_include_dir): Fix typo.
2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* configure.in (gxx_include_dir): Fix typo.
	* configure: Regenerated.

From-SVN: r64038
2003-03-09 17:08:17 +00:00
Nathanael Nerode
3aa8317698 Makefile.tpl: Reindent.
* Makefile.tpl: Reindent.
	* Makefile.in: Regenerate.
	* configure.in: Reindent.  Don't set unused variables.
	* configure: Regenerate.

From-SVN: r63823
2003-03-05 01:45:09 +00:00
Daniel Jacobowitz
9124bc53e9 configure.in: Include $(build_tooldir)/sys-include in FLAGS_FOR_TARGET.
* configure.in: Include $(build_tooldir)/sys-include in
	FLAGS_FOR_TARGET.
	* configure: Regenerated.

From-SVN: r63792
2003-03-04 19:43:35 +00:00
Nathanael Nerode
865fb6f5c1 Make sure I committed the right version. :-(
From-SVN: r63779
2003-03-04 08:35:25 +00:00
Nathanael Nerode
aa9c3ab4b1 Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
* Makefile.tpl: Don't set unused enable_shared, enable_threads macros.
	* Makefile.in: Regenerate.
	* configure.in: Remove unused logic relating to --enable-shared
	and --enable-threads.  Remove bogus comments.  Remove redundant
	noconfigdirs.
	* configure: Regenerate.

From-SVN: r63776
2003-03-04 07:27:54 +00:00
Nathanael Nerode
cb543528a6 configure.in: Replace ${libstdcxx_version} by its value.
* configure.in: Replace ${libstdcxx_version} by its value.
	Remove reference to mh-dgux.
	* configure: Regenerate.

	* mh-dgux: Delete.

From-SVN: r63775
2003-03-04 07:23:56 +00:00
Nick Clifton
4cf8cbf05a remove site-file support - it is obsolete
From-SVN: r63409
2003-02-25 14:05:36 +00:00
Uwe Stieber
ef4e756902 Add support for kaOS as cross build target system.
From-SVN: r63400
2003-02-25 10:45:00 +00:00
Alexandre Oliva
ee03dc5e15 configure.in: Introduce --enable-maintainer-mode.
* configure.in: Introduce --enable-maintainer-mode.
* configure: Rebuilt.
* Makefile.tpl (Makefile.in, configure): Enable dependencies only
for maintainer mode.
* Makefile.in: Rebuilt.

From-SVN: r63134
2003-02-19 23:37:24 +00:00
Geoffrey Keating
c8e5d1afc5 configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*, don't configure target-libobjc.
* configure.in (*-*-darwin*): Rename from powerpc*-*-darwin*,
	don't configure target-libobjc.
	* configure: Regenerate.

From-SVN: r62956
2003-02-16 01:09:27 +00:00
Keith R Seitz
61b56b2e4b Makefile.def: Remove "snavigator", "grep", and "db" modules.
* Makefile.def: Remove "snavigator", "grep", and "db" modules.
* Makefile.tpl: Remove "all-snavigator" and "all-grep".
* Makefile.in: Regenerated.
* configure.in: Remove all traces of snavigator, db, and grep.
* configure: Regenerated.

From-SVN: r62496
2003-02-06 15:55:11 -05:00
Alexandre Oliva
ca9f4b814b Rebuilt with autoconf 2.13
From-SVN: r61890
2003-01-27 17:22:12 +00:00
Phil Edwards
842e91ecd2 configure.in: Revert 24Jan change.
2003-01-27  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Revert 24Jan change.
	* configure:  Regenerate.

From-SVN: r61888
2003-01-27 14:56:12 +00:00
Nathanael Nerode
97286f7fe0 No, really this time.
From-SVN: r61689
2003-01-24 00:39:39 +00:00
Nathanael Nerode
806e09354f configure.in: Revert previous change.
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Revert previous change.
	* configure: Regenerate.

From-SVN: r61676
2003-01-23 22:32:25 +00:00
Nathanael Nerode
307a98643c configure.in: Make rda native-only.
2003-01-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Make rda native-only.
	* configure: Regenerate.

From-SVN: r61668
2003-01-23 19:56:00 +00:00
Nathanael Nerode
77d187bc37 configure.in: Add missing \.
* configure.in: Add missing \.
	* configure: Rebuilt.

From-SVN: r61487
2003-01-19 23:44:28 +00:00
Jakub Jelinek
a94a2d4cfb configure.in (baseargs): Avoid using \| in sed regular expressions.
* configure.in (baseargs): Avoid using \| in sed regular
	expressions.
	* configure: Rebuilt.

From-SVN: r61431
2003-01-17 09:02:23 +01:00
Jakub Jelinek
73f849244a configure.in (baseargs): Remove all supported forms of --cache-file...
* configure.in (baseargs): Remove all supported forms of
	--cache-file, --srcdir, --host, --build and --target options
	from argument lists.
	* configure: Rebuilt.

From-SVN: r61397
2003-01-16 17:31:49 +01:00
Alexandre Oliva
7c005a3a45 configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

From-SVN: r61325
2003-01-15 11:24:15 +00:00
Nathanael Nerode
3dfabf6338 configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
* configure.in: Substitute TOPLEVEL_CONFIGURE_ARGUMENTS.
	* Makefile.tpl: Pass TOPLEVEL_CONFIGURE_ARGUMENTS to gcc.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

From-SVN: r61161
2003-01-10 16:41:48 +00:00
Alexandre Oliva
cf53ae10de configure.in: Remove Makefile in build...
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

From-SVN: r61126
2003-01-09 20:44:53 +00:00
Christopher Faylor
b5038cfb82 * configure: Regenerate with proper autoconf 2.13.
From-SVN: r61022
2003-01-07 21:57:34 +00:00
Christopher Faylor
d02c69bed7 * configure.in: Add AC_PREREQ for consistency.
From-SVN: r61015
2003-01-07 20:40:40 +00:00
Andrew Cagney
e914a57172 configure.in (GDB_TK): Add tcl directories conditional on gdb/gdbtk directory being present.
2003-01-06  Andrew Cagney  <ac131313@redhat.com>

	* configure.in (GDB_TK): Add tcl directories conditional on
	gdb/gdbtk directory being present.
	* configure: Regenerate.

From-SVN: r60943
2003-01-06 17:37:24 +00:00
John David Anglin
7057154564 configure.in (LD): Improve test for gcc.
* configure.in (LD): Improve test for gcc.  Try to set LD to the ld used
	by gcc if LD is not defined and we are not doing a Canadian Cross.
	* configure: Rebuilt.

From-SVN: r60891
2003-01-04 20:49:49 +00:00
Andreas Schwab
3f4f56e27a configure.in: Fix use of $program_transform_name.
* configure.in: Fix use of $program_transform_name.
	* configure: Regenerated.

From-SVN: r60704
2002-12-31 18:01:38 +00:00
Daniel Jacobowitz
6c1b8d0a73 * configure.in (baseargs): Don't remove first configure argument.
From-SVN: r60673
2002-12-31 03:12:53 +00:00
Alexandre Oliva
ade82b16ba configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.

From-SVN: r60606
2002-12-29 19:04:40 +00:00
Alexandre Oliva
903de29523 configure.in (host_configargs): Replace reference to no-longer-defined buildopts with --build=${build_alias}.
* configure.in (host_configargs): Replace reference to
no-longer-defined buildopts with --build=${build_alias}.
* configure: Rebuilt.

From-SVN: r60582
2002-12-28 17:57:14 +00:00
Nathanael Nerode
53fbfb580b Makefile.tpl: Fix dramatic bustage due to change in program_transform_name.
* Makefile.tpl: Fix dramatic bustage due to change in
	program_transform_name.
	* Makefile.in: Regenerate.

	* configure.in: Remove unnecessary PATH setting.
	* configure: Regnerate.

	* configure.in: Don't default to unprefixed tools unless
	the native tools will work.
	* configure: Regenerate.

From-SVN: r60568
2002-12-28 09:12:19 +00:00
Nathanael Nerode
671aa708d9 configure.in: Convert to autoconf script.
(toplev)
	* configure.in: Convert to autoconf script.  Blow away lots
	of now-redundant Makefile fragments.
	* configure: Generate using Autoconf.
	* Makefile.tpl: Rewrite to reflect autoconfiscation.
	* Makefile.in: Regenerate.
(config)
	* acx.m4: New.
	* mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300,
	mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition,
	mh-riscos, mh-sysv: Delete.
	* mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000,
	mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.

From-SVN: r60558
2002-12-28 06:57:50 +00:00
Nathanael Nerode
3fedb74514 configure: Fix stupid bug where RANLIB was mistakenly included.
* configure: Fix stupid bug where RANLIB was mistakenly included.

	* configure.in: Rename (buildargs, hostargs, targargs) to
	(build_configargs, host_configargs, target_configargs).

	* configure.in: Move logic out of sed statement.

From-SVN: r60551
2002-12-28 00:59:52 +00:00
Nathanael Nerode
57f4082661 configure: Remove unneeded 'export's.
* configure: Remove unneeded 'export's.  Make CC_FOR_TARGET,
	CXX_FOR_TARGET, GCJ_FOR_TARGET substituted in configure.in only.

From-SVN: r60550
2002-12-27 23:15:39 +00:00
Geoffrey Keating
2a72691876 configure.in (extra_ranlibflags_for_target): New variable.
* configure.in (extra_ranlibflags_for_target): New variable.
	(*-*-darwin): Add -c to ranlib commands.
	* configure (tooldir): Handle extra_ranlibflags_for_target.

From-SVN: r60397
2002-12-22 06:46:41 +00:00
Zack Weinberg
4977bab6ed Merge basic-improvements-branch to trunk
From-SVN: r60174
2002-12-16 18:23:00 +00:00
Nathanael Nerode
9e60a678fc configure: Revert accidentally applied changes.
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure: Revert accidentally applied changes.

From-SVN: r57626
2002-09-29 16:11:24 +00:00
Nathanael Nerode
dd30b57d9d Makefile.tpl: Make more autoconf-friendly.
2002-09-29  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Make more autoconf-friendly.
	* Makefile.in: Regenerate.
	* configure: Make substitution more autoconf-like.

From-SVN: r57625
2002-09-29 15:53:23 +00:00
Nathanael Nerode
0dffceed44 Makefile.tpl: Make subsituted variables more autoconfy.
2002-09-25  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.tpl: Make subsituted variables more autoconfy.
	* Makefile.in: Regenerate.
	* configure: Make seds more autoconfy.

From-SVN: r57522
2002-09-26 04:14:02 +00:00
Phil Edwards
93da83395a configure, .cvsignore: Revert previous change...
2002-06-19  Phil Edwards  <pme@gcc.gnu.org>

	* configure, .cvsignore:  Revert previous change...
	* Makefile:  ...delete.

From-SVN: r54792
2002-06-19 18:10:09 +00:00
Phil Edwards
26e4af5477 configure: Remove garbage from previous commit.
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

	* configure:  Remove garbage from previous commit.

From-SVN: r54763
2002-06-18 20:41:47 +00:00
Phil Edwards
bb20b7dafd configure: For in-source builds, make a subdir and re-exec there.
2002-06-18  Phil Edwards  <pme@gcc.gnu.org>

	* configure:  For in-source builds, make a subdir and re-exec there.
	* Makefile:  New file.  Pass targets through to build directory.
	* .cvsignore:  No longer ignore "Makefile".

From-SVN: r54759
2002-06-18 20:02:21 +00:00
Nathanael Nerode
efe1f35795 Makefile.in: Replace HOST_PREFIX...
* Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 with BUILD_PREFIX,
BUILD_PREFIX_1, to correct nomenclature.
* configure: Likewise.

From-SVN: r54119
2002-05-31 16:12:31 -04: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
Nathanael Nerode
6cdef75d09 configure: move some logic to configure.in
* configure: move some logic to configure.in
* configure.in: move some logic from configure

From-SVN: r53432
2002-05-13 16:55:30 -04:00
Douglas B Rupp
4ee43206b1 * configure, configure.in: Use temp file for long sed commands.
From-SVN: r47669
2001-12-05 07:40:39 -05:00
Zack Weinberg
e490616e33 top level:
2001-11-27  DJ Delorie <dj@redhat.com>
	    Zack Weinberg  <zack@codesourcery.com>

	When build != host, create libiberty for the build machine.

	* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
	CONFIG_ARGUMENTS.
	(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
	New variables.
	(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
	and rules.
	(all.normal): Depend on ALL_BUILD_MODULES.
	(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
	(all-build-libiberty): Depend on configure-build-libiberty.

	* configure: Calculate and substitute proper value for
	ALL_BUILD_MODULES.
	* configure.in: Create the build subdirectory.
	Calculate and substitute TARGET_CONFIGARGS (formerly
	CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).

libiberty:
2001-11-27  Zack Weinberg  <zack@codesourcery.com>

	* _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
	in libiberty context.  Fix typo in leading comment.
	* configure.in: Fix various AC_DEFINEs so autoheader works.
	If any of vprintf, vsprintf, vfprintf is missing from libc,
	then AC_REPLACE_FUNCS(_doprnt).

From-SVN: r47393
2001-11-28 01:37:24 +00:00