Commit Graph

134 Commits

Author SHA1 Message Date
Ian Lance Taylor
72d8a21508 * configure: When handling a Canadian Cross, handle YACC as well as
BISON.  Just set BISON to bison.  When setting YACC, prefer bison.
1997-08-14 18:43:48 +00:00
Ian Lance Taylor
f9d1d57586 * configure: If OSTYPE matches *win32*, try to find a good value for
CONFIG_SHELL.
1997-08-13 02:40:46 +00:00
Ian Lance Taylor
92d902a8e9 Tue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* configure: Treat msdosdjgpp like go32.
1997-07-22 22:56:36 +00:00
Ian Lance Taylor
e59df24357 Tue Jul 22 14:50:42 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
* configure: Change Makefile.tem2 to Makefile.tm2.
1997-07-22 18:51:59 +00:00
Martin Hunt
2c3acdf8b3 Mon Jul 14 11:01:15 1997 Martin M. Hunt <hunt@cygnus.com>
* configure (GDB_TK): Needs itcl and tix.
1997-07-14 20:18:16 +00:00
Ian Lance Taylor
d29cd97071 * Makefile.in (WINDRES): New variable.
(WINDRES_FOR_TARGET): New variable.
	(BASE_FLAGS_TO_PASS): Add WINDRES_FOR_TARGET.
	(EXTRA_HOST_FLAGS): Add WINDRES.
	(EXTRA_TARGET_FLAGS): Add WINDRES.
	(EXTRA_GCC_FLAGS): Add WINDRES.
	($(DO_X)): Pass down WINDRES.
	($(CONFIGURE_TARGET_MODULES)): Set WINDRES when configuring.
	* configure: Treat WINDRES like DLLTOOL, and WINDRES_FOR_TARGET like
	DLLTOOL_FOR_TARGET.
1997-06-26 18:00:57 +00:00
Ian Lance Taylor
572728c6f9 * configure: Set CFLAGS and CXXFLAGS, and substitute them into
Makefile.  From Jeff Makey <jeff@cts.com>.
	* Makefile.in: Add comment for CFLAGS and CXXFLAGS.
1997-06-16 19:46:12 +00:00
Rob Savoye
f14c4109f8 * configure: Use '|' instead of ":" as the seperator in
sed. Otherwise sed chokes on NT path names with drive
	designators. Also look for "?:*" as the leading characters in an
	absolute pathname.
1997-06-11 20:09:55 +00:00
Ian Lance Taylor
3274332f90 * configure: Don't get confused by CPU-VENDOR-linux-gnu. 1996-10-10 18:15:03 +00:00
Ian Lance Taylor
d9f3f187da * configure: Rework yesterday's sed script patch. 1996-10-10 17:03:43 +00:00
Jeff Law
4efa6b75d8 * configure: Avoid hpux10.20 sed bug. 1996-10-09 12:08:15 +00:00
Steve Chamberlain
84aa3e6938 Mon Jan 22 10:41:56 1996 Steve Chamberlain <sac@slash.cygnus.com>
* Makefile.in (DLLTOOL): New.
	(DLLTOOL_FOR_TARGET): New.
	(EXTRA_HOST_FLAGS): Pass down DLLTOOL.
	(EXTRA_TARGET_FLAGS): Ditto.
	(EXTRA_GCC_FLAGS): Ditto.
	(CONFIGURE_TARGET_MODULES): Ditto.
	(DO_X): Ditto.
	* configure: Add DLLTOOL.
1996-01-22 19:28:13 +00:00
Michael Meissner
01082eaf19 Make all-gdb include all-tcl/all-tk unless gdbtk is not built. 1996-01-06 12:33:59 +00:00
Ian Lance Taylor
81749575db * configure: Don't turn -v into --v. 1995-11-22 16:30:36 +00:00
Ian Lance Taylor
7fc36fdab4 * configure.in: Strip --host and --target options from
CONFIG_ARGUMENTS, and always configure for --host only.  Add
	--with-cross-host option when building with a cross-compiler.
	* configure: Canonicalize the arguments put into config.status by
	always using `=' for an option with an argument.  Pass a presumed
	--host or --target explicitly.
1995-11-21 19:13:51 +00:00
Ian Lance Taylor
bfe725ec1d * configure: Default ${build} correctly. Avoid picking up extra
spaces when reading CC and CXX from Makefile.  When doing a
	Canadian Cross, use plausible default values for numerous
	variables.
	* configure.in: When doing a Canadian Cross, don't try to
	configure tools whose configure script can't handle it.
1995-11-07 23:47:45 +00:00
Per Bothner
96457d7f4d * configure: Remove dubious bug reporting address. 1995-11-05 08:14:38 +00:00
Ian Lance Taylor
ca2ce3b317 * configure: If CC and CXX are not set in the environment, set
them, based on either an existing Makefile or on searching for gcc
	in PATH.  Substitute for CC and CXX in Makefile.
	* configure.in: Remove libm from target_libs.  Separate
	target_configdirs from configdirs.  If CC is not set in
	environment, try to get it from a host Makefile fragment.  Rewrite
	changes of configdirs to use skipdirs instead.  A few minor
	tweaks.  Take directories out of target_configdirs as they are
	taken out of configdirs.  Remove existing Makefile files from
	subdirectories.  Substitute for TARGET_CONFIGDIRS and
	CONFIG_ARGUMENTS in Makefile.
	* Makefile.in (TARGET_CONFIGDIRS): New variable, automatically set
	by configure.in.
	(CONFIG_ARGUMENTS): Likewise.
	(CONFIGURE_TARGET_MODULES): New variable.
	($(DO_X)): Loop over TARGET_CONFIGDIRS as well as SUBDIRS.
	($(CONFIGURE_TARGET_MODULES)): New target.
	(configure-libg++, configure-libio): New targets.
	(all-libg++): Depend upon configure-libg++.
	(all-libio): Depend upon configure-libio.
	(configure-libgloss, all-libgloss): New targets.
	(configure-libstdc++): New target.
	(all-libstdc++): Depend upon configure-libstdc++.
	(configure-librx, all-librx): New targets.
	(configure-newlib): New target.
	(all-newlib): Depend upon configure-newlib
	(configure-xiberty): New target.
	(all-xiberty): Depend upon configure-xiberty.
1995-10-04 16:22:37 +00:00
Ken Raeburn
6109825c73 Handle autoconfiscated directories by running the correct configure script. 1995-06-21 20:57:03 +00:00
Ian Lance Taylor
121bdf8f01 * configure: If the --cache-file is used, pass it down to
configure in subdirectories.
PR 6389.
1995-02-28 22:37:42 +00:00
Ken Raeburn
5a2400c499 configure: Accept and ignore --cache*, for compat w/autoconf 2. 1994-08-26 20:46:31 +00:00
Ian Lance Taylor
1be96eebd8 * configure (version): A few more tweaks to help message. 1994-08-22 15:04:04 +00:00
Ian Lance Taylor
64b7bf9f67 * configure: Fix up help message; from karl@owl.hq.ileaf.com
(Karl Berry).
1994-08-19 14:50:50 +00:00
Stu Grossman
c7f7225314 * configure: Search current dir first in .gdbinit. 1994-07-23 00:54:57 +00:00
Ian Lance Taylor
e08a7c0581 * configure: If there is a package_makefile_frag, remove
${subdir}/Makefile.tem after copying it in.
1994-06-07 19:07:34 +00:00
Ian Lance Taylor
4b82ae34dc * configure: Set program_transform_nameoption correctly. 1994-06-02 23:03:52 +00:00
Ian Lance Taylor
9402894306 * configure: If config.guess result is a prefix of the user
specified target, assume a native build and use the user specified
	target as the host alias.  Remove SunOS patch suffix removal hack.
	* configure.in: Remove SunOS patch suffix removal hack.
1994-06-02 04:40:34 +00:00
Bill Cox
d237841cc5 * Makefile.in: Rename HOST_ONLY to NATIVE.
* configure: Delete SunOs patch suffix from host_canonical
	  and build_canonical variables that are prepended to Makefiles.
	* configure.in: Add comments to patch suffix removal for easier
          maintenance.
1994-06-01 21:38:29 +00:00
David MacKenzie
0ffb871ed3 * configure: Ignore --x-includes and --x-libraries, for Autoconf
compatibility.
1994-04-08 19:03:23 +00:00
David MacKenzie
d2d324f831 * configure: Support --silent, --quiet. 1994-03-31 12:57:02 +00:00
David MacKenzie
bfb089946f * configure: Support --disable-FEATURE. 1994-03-31 05:45:16 +00:00
David MacKenzie
9336e47ee2 * configure: Make unrecognized options give nonfatal warnings
instead of fatal errors, and pass them to any subdirectory
	configures in case they recognize them.
	Make --x equivalent to --with-x.
1994-03-26 20:08:38 +00:00
David MacKenzie
00f5639008 * configure: Add --enable-* options. Clean up usage message and
some comments.
1994-03-26 05:53:17 +00:00
Stu Grossman
24845456a3 * configure: Completely rewrite option processing. Take
advantage of pattern-matching to avoid invoking test frequently.
	Also clean up host and target defaulting logic.
1994-01-22 01:41:21 +00:00
Per Bothner
dbb0309d6c * configure: If only ${target_alias} is given, use that
as the default for ${host_alias}.
	* configure:  Add missing back-slashes before nested quotes.
1993-12-20 04:44:21 +00:00
David D. Zuhn
03abfb2cbc fix replacement of multiline values for CC and CXX 1993-09-15 02:11:35 +00:00
David D. Zuhn
c0c7096622 support for --host HOST 1993-09-08 00:31:08 +00:00
David D. Zuhn
eb4b02ae07 add support for CONFIG_SHELL 1993-08-02 18:58:17 +00:00
David D. Zuhn
9d8c0ead6b work around lynxos /bin/sh lossage 1993-07-16 20:21:43 +00:00
John Gilmore
8d159a48b0 * configure: Remove extraneous output when guessing host type.
* config.guess:  Remove extraneous output when guessing using C
compiler rather than uname, or when guessing fails.
1993-07-09 01:27:26 +00:00
David D. Zuhn
26e4818b03 remove another fixme 1993-07-08 00:59:41 +00:00
David D. Zuhn
0ed316a062 quote program_transform_name value 1993-06-17 23:59:43 +00:00
Per Bothner
d6d49c646d Forgot to check in. (Change definition of tool_dir.) 1993-05-04 18:37:03 +00:00
David D. Zuhn
70d3fab7ec configure has embedded tabs, which I accidentially nuked 1993-03-22 23:28:43 +00:00
David D. Zuhn
e5c6be8f3f * configure: add support for package_makefile_fragment, handle the
case where a directory has a configure.in file but no Makefile.in
	more gracefully (with an actual understandable error message, even);
	add support for --without (and add this to the usage message); also
	explicitly add a --host=${host_alias} to the command line when
	config.guess is used
1993-03-22 05:09:22 +00:00
David D. Zuhn
73f1f5ba7a handle lack of Makefile.in in a more graceful manner 1993-03-22 01:47:59 +00:00
David D. Zuhn
34bdab1698 added package_makefile_frag support 1993-03-22 00:47:26 +00:00
Jim Wilson
82aabe603d We must use both --host and --target options for recursion, because Cygnus and
FSF configure disagree about whether an unadorned machine is target or host.
1993-03-21 20:14:04 +00:00
K. Richard Pixley
6559fbdb52 * config.guess: add GPL.
* Makefile.in, config.guess, config.sub, configure: bump
  copyrights to 93.
1993-03-10 20:10:33 +00:00
K. Richard Pixley
09e0b9929b check return code of mkdir, print error message on failure. addresses bug #2079 1993-02-01 20:39:43 +00:00