Commit Graph

162 Commits

Author SHA1 Message Date
Daniel Jacobowitz
d253f9ba03 configure.in: Set RAW_CXX_FOR_TARGET if unset.
* configure.in: Set RAW_CXX_FOR_TARGET if unset.
	* configure: Regenerated.

From-SVN: r70861
2003-08-27 21:16:14 +00:00
Phil Edwards
415d7ef97d configure.in: Use newline instead of semicolon when assuming shell arguments in a for loop.
2003-08-23  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Use newline instead of semicolon when assuming
	shell arguments in a for loop.
	* configure:  Regenerated.

From-SVN: r70728
2003-08-23 04:17:04 +00:00
Geoffrey Keating
078cfb668e Index: ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

	PR 8180
	* configure.in: When testing with_libs and with_headers, treat
	'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
	* configure: Regenerate.

Index: gcc/ChangeLog
2003-08-20  Geoffrey Keating  <geoffk@apple.com>

	PR 8180
	* configure.in: When testing with_libs and with_headers, treat
	'no' as unset.  Based on a patch by Dan Kegel <dank@kegel.com>.
	* configure: Regenerate.

From-SVN: r70691
2003-08-22 17:05:20 +00:00
Geoffrey Keating
b348267b2e configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for make, shell, etc.
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS): Quote properly for
	make, shell, etc.
	(baseargs): Likewise.
	* configure: Regenerate.

From-SVN: r70633
2003-08-21 02:14:45 +00:00
Geoffrey Keating
940cde4d77 configure.in: Disable libgcj for darwin not on powerpc.
* configure.in: Disable libgcj for darwin not on powerpc.
	* configure: Rebuild.

From-SVN: r70587
2003-08-20 00:50:20 +00:00
Andrew Cagney
c197e30661 configure.in (noconfigdirs): Do not add GDB when m32r-*-*.
2003-08-01  Andrew Cagney  <cagney@redhat.com>

	* configure.in (noconfigdirs): Do not add GDB when m32r-*-*.
	* configure: Ditto.

From-SVN: r70071
2003-08-01 21:34:32 +00:00
Andreas Tobler
8d9b3f2eef configure.in: Enable libgcj for darwin.
2003-07-30  Andreas Tobler  <a.tobler@schweiz.ch>

        * configure.in: Enable libgcj for darwin.
        * configure: Rebuild.

From-SVN: r69954
2003-07-30 09:32:39 +02:00
Nathanael Nerode
b4acb5ef4b Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when...
* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
	creating target and build subdirs to build all parent dirs as needed.
	* Makefile.in: Rebuild.
	* configure.in: Don't build dirs explicitly here.
	* configure: Rebuild.

From-SVN: r69871
2003-07-28 03:25:51 +00:00
Nathanael Nerode
775956d094 re PR bootstrap/11273 (make install fails in libobjc directory)
PR bootstrap/11273
	PR bootstrap/11408
	* Makefile.tpl: Set INSTALL and friends using autoconf.  Remove
	unused INSTALL_PROGRAM_ARGS.
	* configure.in: Use AC_PROG_INSTALL.
	* Makefile.in: Regenerate.
	* configure: Regenerate.

From-SVN: r69304
2003-07-13 20:47:31 +00:00
Alexandre Oliva
33952f6f7b configure: Rebuilt.
* configure: Rebuilt.
2001-09-26  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (noconfigdirs) [am33_2.0-*-linux*]: Don't build
newlib nor libgloss.
Wed May  9 10:07:19 2001  Alexandre Oliva  <aoliva@redhat.com>
* configure.in (am33_2.0-*-linux*): Added.

From-SVN: r69173
2003-07-10 05:04:03 +00:00
Bob Wilson
0d4f1b4ead configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
* configure.in: Add ${libgcj} to noconfigdirs for xtensa-*-* targets.
        * configure: Regenerate.

From-SVN: r69172
2003-07-10 04:57:45 +00:00
Nathanael Nerode
07d1940e1c configure.in: Clean up config-lang.in handling.
* configure.in: Clean up config-lang.in handling.  Delete
	useless assignment to "subdirs".
	* configure: Regenerate.

From-SVN: r68588
2003-06-27 17:33:51 +00:00
Nathanael Nerode
4dbda6f04a configure.in: Rename 'target_libs' to 'target_libraries'.
* configure.in: Rename 'target_libs' to 'target_libraries'.
	Remove useless reference to 'target_libs'.
	* configure: Regenerate.

From-SVN: r68543
2003-06-26 20:18:34 +00:00
Hans-Peter Nilsson
fb87ad5d04 configure.in (noconfigdirs): Disable target-newlib and target-libgloss.
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
	and target-libgloss.
	<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
	<h8300*-*-*>: Disable libf2c and ${libgcj}.
	* configure: Regenerate.

From-SVN: r68354
2003-06-23 00:42:54 +00:00
Benjamin Kosnik
a7956a48e5 configure.in: Update testsuite_flags to new location.
2003-06-17  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in: Update testsuite_flags to new location.
	* configure. Regenerate.

From-SVN: r68133
2003-06-18 01:55:13 +00:00
Rainer Orth
655b71665a configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
* configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
	* configure. Regenerate.

	gcc:
	* config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
	DWARF 2 default.

	* config/mips/dbxmdebug.h: New file.
	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
	gas and --with-stabs.

From-SVN: r67780
2003-06-11 16:19:18 +00:00
Nathanael Nerode
bf1d3e81e8 configure.in: Disable serial configure by default.
* configure.in: Disable serial configure by default.
	* configure: Regenerate.
	* Makefile.tpl: Abolish .NOTPARALLEL.
	* Makefile.in: Regenerate.

From-SVN: r67747
2003-06-11 03:04:44 +00:00
Nathanael Nerode
1358ccea48 Makefile.tpl: Make 'recursive targets' using autogen rather than shell loop.
* Makefile.tpl: Make 'recursive targets' using autogen rather
	than shell loop.  Remove duplicate 'clean' targets and false
	comments.
	* Makefile.def: Add systematic dependencies to 'recursive' targets.
	Add systematic method of specifying missing targets in subdirs.
	Add copyright boilerplate.
	* Makefile.in: Regenerate.
	* configure.in: Add 'recursive targets' to maybe list.
	* configure: Regenerate.

From-SVN: r67402
2003-06-03 20:42:13 +00:00
Maciej W. Rozycki
df44510411 configure.in: Use curly braces in the definition of tooldir.
* configure.in: Use curly braces in the definition of tooldir.
* configure: Regenerate.

From-SVN: r67078
2003-05-21 22:49:07 -04:00
Nathanael Nerode
7e2dbcef01 configure.in: Switch more things to use maybe dependencies.
2003-05-19  Nathanael Nerode  <neroden@gcc.gnu.org>

	* configure.in: Switch more things to use maybe dependencies.
	* Makefile.tpl: Switch more things to use maybe dependencies.
	Factor out common code from autogen IF statements.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r66982
2003-05-20 01:04:20 +00:00
Kelley Cook
f2a0e225a2 configure.in: Accept i[3456789]86 for machine type.
* configure.in: Accept i[3456789]86 for machine type.
* configure: Regenerate.

From-SVN: r66969
2003-05-19 14:10:21 -04:00
Nathanael Nerode
8b87bb9624 <top level>
<top level>
	* configure.in: Switch more things to use maybe dependencies.
	Rearrange a little.  Use GCC_TOPLEV_SUBDIRS.
	* configure: Regenerate.
	* Makefile.tpl: Switch more things to use maybe dependencies.
	* Makefile.in: Regenerate.

<config>
	* config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
	_GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
	GCC_TOPLEV_SUBDIRS.

From-SVN: r66932
2003-05-18 15:43:44 +00:00
Andreas Jaeger
a3d056ba9b Regenerate configure correctly.
From-SVN: r66758
2003-05-13 13:54:59 +02:00
Corinna Vinschen
aa8f1f5793 configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin and $$s/newlib/libc/sys/cygwin32 include paths.
2003-05-12  Corinna Vinschen  <corinna@vinschen.de>

	* configure.in (FLAGS_FOR_TARGET): Remove $$s/newlib/libc/sys/cygwin
	and $$s/newlib/libc/sys/cygwin32 include paths.
	* configure: Ditto.

From-SVN: r66754
2003-05-13 10:58:24 +02:00
Michael Eager
243aa302a6 configure.in: Correct sed script so that options in quotes are not deleted.
2003-05-12  Michael Eager <eager@mvista.com>

	* configure.in: Correct sed script so that options in quotes are not
	deleted.
	* configure: Rebuild.

From-SVN: r66750
2003-05-13 08:31:02 +02:00
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
Joseph Myers
63f6bcd791 * ChangeLog, configure: Fix spelling errors.
From-SVN: r46579
2001-10-28 12:08:43 +00:00
Joseph Myers
50f5f79326 * configure: Handle temporary files securely using mkdir.
From-SVN: r45939
2001-10-02 07:39:18 +01:00
Anthony Green
7aa9922d28 Fix typo applying previous patch.
From-SVN: r42503
2001-05-23 17:24:49 +00:00
Anthony Green
f1b03787e5 Missed hunk from old GCJ_FOR_TARGET patch.
From-SVN: r42501
2001-05-23 17:19:40 +00:00
Ben Elliston
7739adfb17 * configure: Output host type to stdout, not stderr.
From-SVN: r39505
2001-02-06 20:03:16 -05:00
Laurynas Biveinis
071091103c * configure: handle DOS-style absolute paths.
From-SVN: r38621
2001-01-02 10:44:40 -05:00
Joseph Myers
cc1e60ea6a configure: Provide the original toplevel configure arguments (including $0) to...
* configure: Provide the original toplevel configure arguments
	(including $0) to subprocesses in the environment rather than
	through gcc/configargs.h.

gcc:
	* configure.in: Take toplevel configure arguments from the
	environment to create configargs.h and substitute
	gcc_config_arguments, taking account of any existing configargs.h
	if reconfiguring.
	* configure: Regenerate.
	* gccbug.in: Include toplevel configure arguments in gccbug.

From-SVN: r37423
2000-11-13 13:39:36 +00:00
Mark Mitchell
34f6fbdb65 configure: Turn on libstdc++ V3 by default.
* configure: Turn on libstdc++ V3 by default.

	* configure.in: Turn on libstdc++ V3 by default.
	* configure: Regenerated.

From-SVN: r37415
2000-11-13 01:15:40 +00:00
Michael Meissner
a5e1b54847 Only create gcc/configargs.h if gcc build directory is present
From-SVN: r36894
2000-10-17 03:00:51 +00:00
Phil Edwards
f5fa9a5bd0 configure: Save configure arguments to gcc/configargs.h.
* configure: Save configure arguments to gcc/configargs.h.

        * gcc.c (main): Include generated configargs.h header
        and use arguments in '-v' output.

From-SVN: r36734
2000-10-05 15:55:19 -07:00
Zack Weinberg
57119aa9eb top level:
* configure: Make enable_threads and enable_shared defaults
	explicit.  Substitute enable_threads into generated Makefiles.
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	* libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*.
gcc:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	* fixinc/inclhack.def: Likewise.
	* fixinc/mkfixinc.sh: Likewise.
	* configure: Regenerate.
	* fixinc/fixincl.x: Regenerate.
	* install.texi: Document equivalence of linux and linux-gnu.
libio:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	Honor --disable-threads.
libstdc++:
	* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
	Honor --disable-threads.
libstdc++-v3:
	* configure: Regenerate after change to ../libtool.m4.
libobjc:
	* configure: Regenerate after change to ../libtool.m4.

From-SVN: r35680
2000-08-14 18:08:46 +00:00
Michael Sokolov
1adcd14938 * configure (topsrcdir): Don't use dirname.
From-SVN: r35207
2000-07-23 11:41:56 -06:00
Jason Merrill
d207ebef02 merge with /cvs/src
From-SVN: r35188
2000-07-22 04:08:22 -04:00
Kaveh R. Ghazi
4746ee266f configure (gcc_version): When setting, narrow search to lines containing `version_string'.
* configure (gcc_version): When setting, narrow search to
	lines containing `version_string'.

gcc:
	* version.c: Include gansidecl.h and version.h.

	* version.h: Wrap entire file in macro __GCC_VERSION_H__.

	* configure.in (gcc_version): When setting, narrow search to
	lines containing `version_string'.

	* Makefile.in (mainversion): Likewise.
	(GCC_H): New variable.
	(gcc.h): Delete target.
	(gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
	(version.o): Depend on version.h.
	(dbxout.o): Don't depend on gcc.h.

gcc/cp:
	* Make-lang.in (g++spec.o): Depend on $(GCC_H), not gcc.h.

gcc/f:
	* Make-lang.in (g77spec.o): Depend on $(GCC_H), not gcc.h.

gcc/java:
	* Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h.

libf2c:
	* configure.in (gcc_version): When setting, narrow search to
	lines containing `version_string'.

From-SVN: r32009
2000-02-16 16:22:47 +00:00
Andreas Schwab
1722c704a2 * configure: Fix quoting inside arguments of eval.
From-SVN: r30179
1999-10-25 23:47:42 -06:00
H.J. Lu
88101ab976 configure (gxx_include_dir): Removed.
* configure (gxx_include_dir): Removed.
	* configure.in (gxx_include_dir): Handle it.
	* Makefile.in: Likewise.
	* libio/configure.in (gxx_include_dir): Handle it.
	* libio/Makefile.in: Likewise.
	* libstdc++/configure.in (gxx_include_dir): Handle it.
	* libstdc++/Makefile.in: Likewise.

From-SVN: r26126
1999-04-02 07:17:49 -07:00
Manfred Hollstein
71205e0b3f configure (skip-this-dir): Add handling for new shell script...
./ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (skip-this-dir): Add handling for new shell script, which
	might be created by a sub-directory's configure to indicate, this particular
	directory is "unwanted".
	* Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise.
./gcc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (CONFIG_LANGUAGES): New macro taking all languages
	which can be configured.
	(LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
	(Makefile): Pass actual LANGUAGES through the environment when
	re-configuring.
	(cstamp-h): Likewise.
	(config.status): Likewise.
	* configure.in (enable_languages): Add new configuration parameter
	"--enable-languages=lang1,lang2,...".
	(${srcdir}/*/config-lang.in): Change handling to configure only
	those directories, that the user might have enabled; default to
	"all" existing languages.
	* configure: Regenerate.
./libchill/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libf2c/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libio/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
./libobjc/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.
	* configure: Regenerate.
./libstdc++/ChangeLog:1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (compiler_name): Add check to detect if this
	language's compiler has been built.

From-SVN: r23892
1998-11-26 01:48:34 +00:00
Manfred Hollstein
38ada91eef configure: Add pattern to replace "build_tooldir"'s definition in the generated Makefile...
* configure: Add pattern to replace "build_tooldir"'s
	definition in the generated Makefile with "tooldir"'s
	actual value.

From-SVN: r23048
1998-10-13 10:48:25 +00:00
Jeff Law
5d4a5ee6d9 Final changes from devo<->egcs merge.
Final changes from devo<->egcs merge.  Ugh, a year of configury/Makefile
hacking.

From-SVN: r23012
1998-10-12 04:44:57 -06:00
H.J. Lu
a3cbd10560 configure (gxx_include_dir): Changed to '${prefix}/include/g++'-${libstdcxx_interface}.
* configure (gxx_include_dir): Changed to
        '${prefix}/include/g++'-${libstdcxx_interface}.
        * config.if: New to determine the interfaces.

From-SVN: r22109
1998-08-30 15:15:53 -06:00
Manfred Hollstein
0ce065bdf6 configure: Fix --without/--disable cases for gxx-include-dir.
1998-07-29  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure: Fix --without/--disable cases for gxx-include-dir.

From-SVN: r21486
1998-07-29 17:13:57 -06:00
Manfred Hollstein
f1943b772f Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
d
egcs/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (BASE_FLAGS_TO_PASS): Add gcc_version_trigger.
	(Makefile): Depend on $(gcc_version_trigger).
	* configure (gcc_version): Change default initializer to empty
	string.
	(gcc_version_trigger): New variable; pass this variable down
	to subdir configures to enable them checking gcc's version
	themselves. Emit make macros for both gcc_version vars.
	(topsrcdir): Initialize reliably.
	(recursion line): Remove --with-gcc-version=${gcc_version}.
egcs/gcc/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (gcc_version, gcc_version_trigger): New macros.
	(version): Initialize from $(gcc_version).
	* configure.in (version): Rename to gcc_version.
	(gcc_version_trigger): New variable; call AC_SUBST for it and
	emit it into the generated config.status.
	* configure: Regenerate.
egcs/libf2c/ChangeLog.egcs:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (gcc_version_trigger): Add new macro.
	(config.status): Add dependency upon $(gcc_version_trigger).
	* configure.in (gcc_version_trigger): New variable; initialize
	using value from toplevel configure; add AC_SUBST for it.
	(gcc_version): Change initialization to use this new variable.
	* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-26  Manfred Hollstein  <manfred@s-direktnet.de>
	* config.shared (FLAGS_TO_PASS): Add gcc_version_trigger.
	(Makefile): Add dependency upon $(gcc_version_trigger).

From-SVN: r20736
1998-06-26 02:13:51 +00:00
Manfred Hollstein
e0cb250f7a configure (enable_version_specific_runtime_libs): Implement new flag --enable-version-specific-runtime-libs which installs C++...
d
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (enable_version_specific_runtime_libs): Implement new flag
	--enable-version-specific-runtime-libs which installs C++ runtime stuff in
	$(libsubdir); emit definition in each generated Makefile.
	(gxx_include_dir): Initialize depending on $enable_version_specific_runtime_libs.
egcs/gcc/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure.in (gxx_include_dir): Initialize default value depending on
	new flag --enable-version-specific-runtime-libs; remove superfluous default
	initialization afterwards.
	* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (install): Install _G_config.h depending on new flag
	--enable-version-specific-runtime-libs.
	* config/linux.mt (gxx_include_dir): Remove definition here as we use
	gcc's default anyway.
egcs/libstdc++/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (INSTALLDIR): Add comment to document the fact,
	this macro will be properly initialized at make's runtime.
	(install): Add initialization of INSTALLDIR depending on $(libsubdir)
	and ${enable_version_specific_runtime_libs}; use $${INSTALLDIR} shell variable
	instead of the $(INSTALLDIR) make macro.

From-SVN: r20694
1998-06-24 06:26:02 +00:00
Manfred Hollstein
6174dcf375 configure (gcc_version): Initialize properly depending on how and where configure is started.
d
egcs/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (gcc_version): Initialize properly depending on
	how and where configure is started.
	(recursion line): Pass a --with-gcc-version=${gcc_version}
	to configures in subdirs.
egcs/libf2c/ChangeLog.egcs:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (version): Rename to gcc_version.
	* configure.in (version): Likewise.
	(gcc_version): Add code to use an option passed from parent configure.
	* configure: Regenerate.
egcs/libio/ChangeLog:
1998-06-24  Manfred Hollstein  <manfred@s-direktnet.de>
	* config.shared (FLAGS_TO_PASS): Add gcc_version.

From-SVN: r20687
1998-06-24 06:16:19 +00:00
Manfred Hollstein
0ce2489a47 configure (gcc_version): Add new variable describing the particular gcc version we're building.
�
egcs-19980619/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
	* configure (gcc_version): Add new variable describing the
	particular gcc version we're building.
	* Makefile.in (libsubdir): Add new macro for the directory
	in which the compiler finds executables, libraries, etc.
	(BASE_FLAGS_TO_PASS): Pass down gcc_version, target_alias
	and libsubdir.
egcs-19980619/gcc/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
	* Makefile.in (installdirs): Loop over directories in $(libsubdir)
	creating probably missing ones, instead of single if statements.
egcs-19980619/libio/ChangeLog
1998-06-19  Manfred Hollstein  <manfred@s-direktnet.de>
	* config.shared (FLAGS_TO_PASS): Add libsubdir.

From-SVN: r20582
1998-06-19 05:42:14 +00:00