Commit Graph

66 Commits

Author SHA1 Message Date
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