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.
33 years ago
David D. Zuhn
03abfb2cbc
fix replacement of multiline values for CC and CXX
33 years ago
David D. Zuhn
c0c7096622
support for --host HOST
33 years ago
David D. Zuhn
eb4b02ae07
add support for CONFIG_SHELL
34 years ago
David D. Zuhn
9d8c0ead6b
work around lynxos /bin/sh lossage
34 years ago
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.
34 years ago
David D. Zuhn
26e4818b03
remove another fixme
34 years ago
David D. Zuhn
0ed316a062
quote program_transform_name value
34 years ago
Per Bothner
d6d49c646d
Forgot to check in. (Change definition of tool_dir.)
34 years ago
David D. Zuhn
70d3fab7ec
configure has embedded tabs, which I accidentially nuked
34 years ago
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
34 years ago
David D. Zuhn
73f1f5ba7a
handle lack of Makefile.in in a more graceful manner
34 years ago
David D. Zuhn
34bdab1698
added package_makefile_frag support
34 years ago
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.
34 years ago
K. Richard Pixley
6559fbdb52
* config.guess: add GPL.
* Makefile.in, config.guess, config.sub, configure: bump
copyrights to 93.
34 years ago
K. Richard Pixley
09e0b9929b
check return code of mkdir, print error message on failure. addresses bug #2079
34 years ago
Per Bothner
5cc24596c8
* guess-systype: Renamed to ...
* config.guess: ... by popular request.
* configure.in, Makefile.in: Update accordingly.
34 years ago
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.)
34 years ago
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.
34 years ago
Steve Chamberlain
4347369fb1
* configure: fix various problems with propogating
makefile_target_frag in subdirs.
* configure.in: config libgcc if its there
35 years ago
K. Richard Pixley
3b6f914fb4
print Building message only when subdir != . AND verbose
35 years ago
K. Richard Pixley
a98e98d368
remove -s, rework -v to better accomodate guested configures
35 years ago
K. Richard Pixley
734e5c1a83
ooops.
35 years ago
Fred Fish
3a63a5f515
Test for nonexistance of files before trying to mv them.
35 years ago
K. Richard Pixley
53988f33e8
correct final line of config.status
35 years ago
K. Richard Pixley
86112802a9
configure: patch from eggert. Avoids a protection problem if the
original Makefile.in is read only.
35 years ago
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.
35 years ago
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.
35 years ago
K. Richard Pixley
9546e9b45c
correct makesrcdir when subdir is .
35 years ago
K. Richard Pixley
ee1dc1b77d
correction to makesrcdir for relative srcdir
35 years ago
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.
35 years ago
K. Richard Pixley
0e693d0b0e
pass site_option to recursions
35 years ago
K. Richard Pixley
8fd24008f7
added check for conflicting configurations (srcdir vs not)
35 years ago
K. Richard Pixley
c9b0df66be
remove trailing slashes from srcdir so gdb-mode won't get cranky
35 years ago
K. Richard Pixley
c1e4672ca0
use relative paths for configure and srcdir when possible
35 years ago
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.
35 years ago
K. Richard Pixley
3a07a6ace2
Optimized Makefile generation for a ~30% time win.
35 years ago
K. Richard Pixley
424f020272
Fix so that "guested" configure scripts work when using -srcdir.
35 years ago
K. Richard Pixley
46772bd112
reversed tense on a test -> case conversion
35 years ago
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.
35 years ago
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.
35 years ago
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.
35 years ago
Jim Wilson
1395529c9d
Steve's version_path stuff bites the dust.
35 years ago
K. Richard Pixley
079399f6df
small changes to accomodate other versions of configure
35 years ago
K. Richard Pixley
53b28d354e
oops, but in last patch
35 years ago
K. Richard Pixley
e488e58118
Be less sensitive to spaces in Makefile.in. Kills bug #556 .
35 years ago
K. Richard Pixley
b940b7c22e
print version number nicely
35 years ago
K. Richard Pixley
0c72405d83
added -V for version number option
35 years ago
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.
35 years ago
K. Richard Pixley
7da1d33424
find config.subr again
35 years ago