110 Commits

Author SHA1 Message Date
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
4b82ae34dc * configure: Set program_transform_nameoption correctly. 1994-06-02 23:03:52 +00:00
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
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
0ffb871ed3 * configure: Ignore --x-includes and --x-libraries, for Autoconf
compatibility.
1994-04-08 19:03:23 +00:00
d2d324f831 * configure: Support --silent, --quiet. 1994-03-31 12:57:02 +00:00
bfb089946f * configure: Support --disable-FEATURE. 1994-03-31 05:45:16 +00:00
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
00f5639008 * configure: Add --enable-* options. Clean up usage message and
some comments.
1994-03-26 05:53:17 +00:00
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
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
03abfb2cbc fix replacement of multiline values for CC and CXX 1993-09-15 02:11:35 +00:00
c0c7096622 support for --host HOST 1993-09-08 00:31:08 +00:00
eb4b02ae07 add support for CONFIG_SHELL 1993-08-02 18:58:17 +00:00
9d8c0ead6b work around lynxos /bin/sh lossage 1993-07-16 20:21:43 +00:00
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
26e4818b03 remove another fixme 1993-07-08 00:59:41 +00:00
0ed316a062 quote program_transform_name value 1993-06-17 23:59:43 +00:00
d6d49c646d Forgot to check in. (Change definition of tool_dir.) 1993-05-04 18:37:03 +00:00
70d3fab7ec configure has embedded tabs, which I accidentially nuked 1993-03-22 23:28:43 +00:00
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
73f1f5ba7a handle lack of Makefile.in in a more graceful manner 1993-03-22 01:47:59 +00:00
34bdab1698 added package_makefile_frag support 1993-03-22 00:47:26 +00:00
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
6559fbdb52 * config.guess: add GPL.
* Makefile.in, config.guess, config.sub, configure: bump
  copyrights to 93.
1993-03-10 20:10:33 +00:00
09e0b9929b check return code of mkdir, print error message on failure. addresses bug #2079 1993-02-01 20:39:43 +00:00
5cc24596c8 * guess-systype: Renamed to ...
* config.guess:  ... by popular request.
	* configure.in, Makefile.in:  Update accordingly.
1993-01-23 21:55:04 +00:00
fc11b71ac4 from p3. Some shells leave PWD in the environment (old tcsh, ksh at least)
screws nested configures. "unset PWD" is the right answer, except that
Decstation sh doesn't *have* unset.
	Note also that the send-pr build will fail if you have PWD in your
environment, because emacs also (foolishly) trusts it.

	* configure: just set PWD=`pwd` at the top, since Ultrix sh
	doesn't have unset and all success paths (and most error paths)
	out set it anyway. (Note: should change all uses of ${PWD=`pwd`}
	to just ${PWD} to avoid confusion.)
1992-09-18 06:16:37 +00:00
c51083226c Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 16:00:54 1992  Ian Lance Taylor  (ian@cygnus.com)

	* configure: always set $(tooldir) to $(libdir)/$(target_alias),
	even for a native compilation.
1992-09-15 23:26:16 +00:00
4347369fb1 * configure: fix various problems with propogating
makefile_target_frag in subdirs.
	* configure.in: config libgcc if its there
1992-06-23 01:32:47 +00:00
3b6f914fb4 print Building message only when subdir != . AND verbose 1992-05-08 19:34:32 +00:00
a98e98d368 remove -s, rework -v to better accomodate guested configures 1992-05-08 18:29:38 +00:00
734e5c1a83 ooops. 1992-04-23 00:00:09 +00:00
3a63a5f515 Test for nonexistance of files before trying to mv them. 1992-04-22 21:48:18 +00:00
53988f33e8 correct final line of config.status 1992-04-21 19:52:54 +00:00
86112802a9 configure: patch from eggert. Avoids a protection problem if the
original Makefile.in is read only.
1992-04-21 19:49:03 +00:00
196377eec6 configure: use move-if-change from gcc to create config.status. Some
makefiles depend on config.status to tell if a directory has been
reconfigured for a different host.  This change prevents those
directories from remaking everything in the case where the reconfig
was only intended to rebuild a Makefile.
1992-04-21 19:36:11 +00:00
94c7ae212d configure: test for config.sub with "config.sub sun4" rather than
"config.sub ${host_alias}".  Otherwise we can't tell a bad host alias
from a missing config.sub.
1992-04-21 19:33:13 +00:00
9546e9b45c correct makesrcdir when subdir is . 1992-04-21 04:05:37 +00:00
ee1dc1b77d correction to makesrcdir for relative srcdir 1992-04-16 01:24:59 +00:00
8becd045a3 * configure: Add support for 'subdirs' variable, which is
like 'configdirs', except that configure doesn't re-invoke
	itself for subdirs, it just creates a Makefile for each subdir.
	* configure.texi:  Document subdirs.
1992-04-14 19:02:48 +00:00
0e693d0b0e pass site_option to recursions 1992-03-25 07:49:53 +00:00
8fd24008f7 added check for conflicting configurations (srcdir vs not) 1992-03-11 06:24:19 +00:00
c9b0df66be remove trailing slashes from srcdir so gdb-mode won't get cranky 1992-03-11 06:07:29 +00:00
c1e4672ca0 use relative paths for configure and srcdir when possible 1992-03-11 05:50:05 +00:00
bcdbe02f82 In configure{.in} {host|target}_makefile_frag should name a file
relative to srcdir.  I think it now does.  configure has been
corrected.  configure.texi has been clarified.
1992-02-08 08:57:08 +00:00
3a07a6ace2 Optimized Makefile generation for a ~30% time win. 1992-02-07 02:04:53 +00:00
424f020272 Fix so that "guested" configure scripts work when using -srcdir. 1992-02-07 00:33:49 +00:00
46772bd112 reversed tense on a test -> case conversion 1992-02-06 04:05:26 +00:00
a98bbe5810 Converting "[ -n" and "[ -z" into case statements looks like a small
time penalty for modern shells which have "[" builtin.  I've elected
to take it anyway as a compensation for older, slower shells.
1992-02-06 01:21:44 +00:00