Commit Graph

138 Commits

Author SHA1 Message Date
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
Per Bothner
5cc24596c8 * guess-systype: Renamed to ...
* config.guess:  ... by popular request.
	* configure.in, Makefile.in:  Update accordingly.
1993-01-23 21:55:04 +00:00
Mark Eichin
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
Ian Lance Taylor
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
Steve Chamberlain
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
K. Richard Pixley
3b6f914fb4 print Building message only when subdir != . AND verbose 1992-05-08 19:34:32 +00:00
K. Richard Pixley
a98e98d368 remove -s, rework -v to better accomodate guested configures 1992-05-08 18:29:38 +00:00
K. Richard Pixley
734e5c1a83 ooops. 1992-04-23 00:00:09 +00:00
Fred Fish
3a63a5f515 Test for nonexistance of files before trying to mv them. 1992-04-22 21:48:18 +00:00
K. Richard Pixley
53988f33e8 correct final line of config.status 1992-04-21 19:52:54 +00:00
K. Richard Pixley
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
K. Richard Pixley
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
K. Richard Pixley
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
K. Richard Pixley
9546e9b45c correct makesrcdir when subdir is . 1992-04-21 04:05:37 +00:00
K. Richard Pixley
ee1dc1b77d correction to makesrcdir for relative srcdir 1992-04-16 01:24:59 +00:00
Per Bothner
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
K. Richard Pixley
0e693d0b0e pass site_option to recursions 1992-03-25 07:49:53 +00:00
K. Richard Pixley
8fd24008f7 added check for conflicting configurations (srcdir vs not) 1992-03-11 06:24:19 +00:00
K. Richard Pixley
c9b0df66be remove trailing slashes from srcdir so gdb-mode won't get cranky 1992-03-11 06:07:29 +00:00
K. Richard Pixley
c1e4672ca0 use relative paths for configure and srcdir when possible 1992-03-11 05:50:05 +00:00
K. Richard Pixley
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
K. Richard Pixley
3a07a6ace2 Optimized Makefile generation for a ~30% time win. 1992-02-07 02:04:53 +00:00
K. Richard Pixley
424f020272 Fix so that "guested" configure scripts work when using -srcdir. 1992-02-07 00:33:49 +00:00
K. Richard Pixley
46772bd112 reversed tense on a test -> case conversion 1992-02-06 04:05:26 +00:00
K. Richard Pixley
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
K. Richard Pixley
eabe8479cf support for subdirs, multiple hosts, and multiple targets was
previously commented out.  This delta removes it entirely.  This makes
a small time difference on cygint.
1992-02-06 01:02:21 +00:00
K. Richard Pixley
1922d8eb8d Removing unnecessary ()'s doesn't seem to make any time difference on
cygint.  I think modern shell's execute this internally without a call
to a separate shell process.  I've left the change in anyway.  It may
help on older, slower machines.
1992-02-06 00:36:10 +00:00
Jim Wilson
1395529c9d Steve's version_path stuff bites the dust. 1992-01-28 00:38:04 +00:00
K. Richard Pixley
079399f6df small changes to accomodate other versions of configure 1991-12-28 03:15:17 +00:00
K. Richard Pixley
53b28d354e oops, but in last patch 1991-12-28 00:50:00 +00:00
K. Richard Pixley
e488e58118 Be less sensitive to spaces in Makefile.in. Kills bug #556. 1991-12-28 00:29:34 +00:00
K. Richard Pixley
b940b7c22e print version number nicely 1991-12-19 23:58:40 +00:00
K. Richard Pixley
0c72405d83 added -V for version number option 1991-12-19 23:55:06 +00:00
K. Richard Pixley
8f861f082d removed -ansi and -languages options from configure, added
configure.texi (a work in progress), configure.man (a terse first
cut), build configure.info and install man page.
1991-12-13 11:54:57 +00:00
K. Richard Pixley
7da1d33424 find config.subr again 1991-12-13 09:38:48 +00:00
K. Richard Pixley
475576aef9 config.sub & config.subr merge 1991-12-12 06:30:17 +00:00
K. Richard Pixley
0e0643c7a6 * configure: \{1,2\} appears to be a sysv'ism. Use a different
regexp.
1991-12-07 10:32:08 +00:00
K. Richard Pixley
4d714963c5 Sat Dec 7 00:17:01 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: unwrapped some for loops so that parallel makes
	  work again and so one can focus one's attention on a particular
	  package.

Fri Dec  6 00:22:08 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* configure: added PWD as a stand in for `pwd` (for speed). use
	  elif wherever possible.  make -srcdir work without -objdir.
	  -objdir= commented out.

Thu Dec  5 22:46:52 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* configure: +options become --options.  -subdirs commented out.
	  added -host, -datadir.  Renamed -destdir to -prefix.  Comment in
	  Makefile now at top of generated Makefile.  Removed cvs log
	  entries.  added -srcdir.  create .gdbinit only if there is one
	  in ${srcdir}.

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.

Fri Nov 22 07:38:11 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Freshly created ChangeLog.
1991-12-07 08:20:18 +00:00
Steve Chamberlain
7785cbdd0b Passes down version_path for things which install themselves into
libsubdir.
1991-11-13 20:56:11 +00:00
Steve Chamberlain
ab71ab7b1f The +noversion flag will make an installation happen to the machine/..
directory rather than the machine/version/.. directory.

Steve
1991-11-13 19:49:17 +00:00
K. Richard Pixley
3509822c48 allow +foo bar options. stolen from texinfo configure 1991-11-12 04:41:21 +00:00
K. Richard Pixley
3bb089aa0c correct a comment 1991-11-09 11:34:52 +00:00
K. Richard Pixley
28f3b09449 new install theme 1991-11-01 00:25:28 +00:00
Steve Chamberlain
ee8f0bd734 More name changing 1991-10-25 02:07:18 +00:00
Heinz G. Seidl
ba04ec6e77 Allow for using tmake-sun4 1991-10-24 00:23:59 +00:00
K. Richard Pixley
c5ae567837 Makefiles should include the makefile frag names even if the makefile
frag doesn't exist in *this* directory.  Otherwise we inherit the
variable setting from our parent Makefile.
1991-10-23 21:48:28 +00:00
K. Richard Pixley
5420feaa8e * Die when sub-configure's do.
* get the makefile building message line correct.
* set -e
1991-10-10 04:57:23 +00:00
K. Richard Pixley
50ac10c17a Backed out the "/bin/sh config.sub" change. Fails when config.sub was
on PATH.
1991-10-10 01:04:42 +00:00
K. Richard Pixley
dafcb8be38 Call config.sub as "/bin/sh config.sub" instead of directly. This
protects us from the case where config.sub isn't executable.
1991-10-10 00:38:08 +00:00
K. Richard Pixley
639665deb8 Another patch from jim. 1991-10-09 00:48:26 +00:00
Jim Wilson
bdb7313439 Fix bug in smake- file code. 1991-10-08 06:07:58 +00:00
K. Richard Pixley
49b10446f9 Use john's heuristic for finding ourselves. kinda like hare krishna. 1991-10-04 22:52:09 +00:00
K. Richard Pixley
7875b07ffa Added +site=foo option for naming site specific Makefile fragments. 1991-10-02 06:29:53 +00:00
K. Richard Pixley
6f8ac2d9fb Removed +f option. Used to stand for +forcesubdirs which is now
called +subdirs.
1991-10-02 06:15:13 +00:00
K. Richard Pixley
213195dd9d Added rcs log line. 1991-10-02 06:02:35 +00:00
K. Richard Pixley
c297d71ea1 +template dies an ugly death. 1991-10-02 06:01:47 +00:00
K. Richard Pixley
5a168a17ee resync 1991-10-02 04:15:56 +00:00
K. Richard Pixley
46f3c7cda5 Trivial cleanup. 1991-10-01 03:11:29 +00:00
K. Richard Pixley
b8f8fddc8c * use aliases as directory names.
* put aliases AND parsed triples into Makefiles.
* config.status is a shell script.
* remove formfeeds from resulting Makefile.
1991-10-01 02:44:32 +00:00
K. Richard Pixley
46766962cf Reword recurr. 1991-10-01 02:38:26 +00:00
K. Richard Pixley
3c8735af98 rcs enters the soup. 1991-08-25 23:40:24 +00:00
K. Richard Pixley
5781b1ba03 Adding diff to the fray. 1991-08-25 21:48:40 +00:00
K. Richard Pixley
bc58b41dbc Adding grep to the fray. 1991-08-25 20:18:21 +00:00
K. Richard Pixley
991643f592 +forcesubdirs -> +subdirs 1991-08-07 19:21:32 +00:00
K. Richard Pixley
9fddf5af62 revised option parsing. 1991-08-06 19:26:01 +00:00
K. Richard Pixley
4101d86838 Host-level GNUmakefiles. 1991-08-06 19:12:55 +00:00
John Gilmore
063efd10aa Roll in new configure that handles GDB. Make sure that the "configure"
that is checked-in reflects the latest "configure.in", which includes gdb.
1991-07-20 00:55:20 +00:00
K. Richard Pixley
928126638a Re-arrange so that gcc, which creates directories, gets installed
first.
1991-06-13 04:21:14 +00:00
K. Richard Pixley
ac1d3910bf correctly propogate destdir 1991-06-12 21:23:05 +00:00
K. Richard Pixley
e47a757114 Added +clib option. 1991-06-09 20:40:00 +00:00
K. Richard Pixley
64e81d3aae Removed clib for now. 1991-05-27 21:04:21 +00:00
K. Richard Pixley
6c18e39366 fixed a bug in multiple targets 1991-05-27 20:54:50 +00:00
K. Richard Pixley
fe4c1c5b33 remove gdb until config issues resolve. 1991-05-22 01:44:06 +00:00
K. Richard Pixley
323a23f174 Added gdb. 1991-05-19 08:00:11 +00:00
K. Richard Pixley
9d1e053bdc Changes to deal with missing subdirs gracefully, and changes dictated
from dropping configure over gdb.
1991-05-19 00:32:13 +00:00
K. Richard Pixley
7df723106b Many small changes including the removal of configure.template. Any
valid configure script can now be used as a template.
1991-05-14 14:09:59 +00:00
K. Richard Pixley
67ca110ded Changed getopt to libiberty, commented out an aborted attempt at host
level Makefiles because it caused errors on +rm, add a warning for
directories expected to be removed on +rm but that don't exist.
1991-05-03 19:14:21 +00:00
K. Richard Pixley
6a3958b22d Three staging checkpoint. 1991-04-24 16:52:32 +00:00
K. Richard Pixley
2b34da49e5 Added getopt for binutils, fixed problem with host dependancies in
configure.template.
1991-04-17 01:34:44 +00:00
K. Richard Pixley
6408afbac5 Now handles multiple hosts and targets. 1991-04-16 00:18:22 +00:00
K. Richard Pixley
0df06ca031 Now handles multiple hosts and targets. 1991-04-15 23:46:50 +00:00
K. Richard Pixley
ec342d7d9a Config cut 3. We now almost install a29k. 1991-04-13 02:12:45 +00:00
K. Richard Pixley
131a3881f0 Cut 2 config. Subdirs. 1991-04-11 02:41:53 +00:00
K. Richard Pixley
74cc5508e7 First cut config. builds in place. 1991-04-09 23:52:42 +00:00
K. Richard Pixley
eb02fd64a6 Initial revision 1991-04-04 19:01:18 +00:00