Commit graph

335 commits

Author SHA1 Message Date
Ian Lance Taylor
feb522ad4a fix last patch 1996-04-08 19:33:54 +00:00
Ian Lance Taylor
d4be776500 * configure.in: Permit --enable-shared to specify a list of
directories.
1996-04-08 18:46:26 +00:00
Jason Molenda
e94c0e40b2 * configure.in (host==solaris): Pass only the first word of $CC
to /usr/bin/which when checking if we're using /usr/ccs/bin/cc.

/usr/ucb/which on Solaris barfs out an error if $CC is set to
seomthing like "cc -xcg92" or "gcc -mv8".  It is harmless, but it looks
bad.
1996-04-05 16:32:37 +00:00
Tom Tromey
0f8f1d33d8 * Makefile.in (ALL_MODULES): Include all-perl.
(CROSS_CHECK_MODULES): Include check-perl.
        (INSTALL_MODULES): Include install-perl.
        (ALL_X11_MODULES): Include all-guile.
        (CHECK_X11_MODULES): Include check-guile.
        (INSTALL_X11_MODULES): Include install-guile.
        (all-perl): New target.
        (all-guile): New target.

        * configure.in (host_tools): Include perl and guile.
        (native_only): Include perl and guile.
        (noconfigdirs): Don't build guile and perl; no ports have been
        done.
1996-03-29 19:02:30 +00:00
Ian Lance Taylor
9bbc0d5836 Wed Mar 20 18:10:57 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in: Add missing global flag in sed substitution when
	deleting `target-' from ${configdirs}.
1996-03-20 23:12:00 +00:00
Ian Lance Taylor
a527d9d7f1 * configure.in (mips*-nec-sysvr4*): Use a host_makefile_frag of
config/mh-necv4.
1996-03-15 00:31:00 +00:00
J.T. Conklin
08714af65c * configure.in (m68k-*-netbsd*): Build everything now. 1996-03-05 16:24:35 +00:00
David Edelsohn
e12079d34e * configure.in (sparclet-*-*): Build everything now. 1996-02-27 19:35:14 +00:00
Ian Lance Taylor
769e064df8 Tue Feb 27 14:31:51 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* configure.in (m68k-*-linux*): New host.
1996-02-27 19:32:39 +00:00
David Edelsohn
be317b066f * configure.in (sparc64-*): Use mh-sparcpic if --enabled-shared. 1996-02-26 23:42:39 +00:00
Michael Meissner
44ccfc3c16 Do not build gdb if building native NT compilers on a UNIX host with a cross compiler 1996-02-16 00:53:00 +00:00
Ian Lance Taylor
0e47ce9751 * configure.in: Don't get CC from the host Makefile fragment if we
can find gcc in PATH, or if this is a Canadian Cross.  Move the
	Solaris test for /usr/ucb/cc to the post target script, just after
	the compiler sanity test.
1996-02-15 22:43:59 +00:00
Ian Lance Taylor
f269309329 * Makefile.in (RPATH_ENVVAR): New variable.
(REALLY_SET_LIB_PATH): Use it.
	* configure.in: On HP/UX, set RPATH_ENVVAR to SHLIB_PATH.
1996-02-13 19:29:03 +00:00
David Edelsohn
e61b005e80 Fix thinko in sparclet config. 1996-02-12 23:41:49 +00:00
David Edelsohn
e08dfe61e9 Recognize sparclet cpu. 1996-02-12 23:31:29 +00:00
Ian Lance Taylor
294fde1fd4 * configure.in: If --enable-shared was used, set SET_LIB_PATH to
$(REALLY_SET_LIB_PATH) in Makefile.
	* Makefile.in (SET_LIB_PATH): New variable.
	(REALLY_SET_LIB_PATH): New variable.
	($(DO_X)): Use $(SET_LIB_PATH).
	(install.all, gcc-no-fixedincludes, $(ALL_MODULES)): Likewise.
	($(NATIVE_CHECK_MODULES), $(CROSS_CHECK_MODULES)): Likewise.
	($(INSTALL_MODULES), $(CONFIGURE_TARGET_MODULES)): Likewise.
	($(ALL_TARGET_MODULES), $(CHECK_TARGET_MODULES)): Likewise.
	($(INSTALL_TARGET_MODULES), $(ALL_X11_MODULES)): Likewise.
	($(CHECK_X11_MODULES), $(INSTALL_X11_MODULES)): Likewise.
	(all-gcc, all-bootstrap, check-gcc, install-gcc): Likewise.
	(install-dosrel): Likewise.
	(all-opcodes): Depend upon all-libiberty.
1996-02-05 21:40:24 +00:00
Michael Meissner
fcfcbf27be Fix typo 1996-02-02 23:01:14 +00:00
Geoffrey Noer
0807a8afd8 Changes to configure.in so that -gm-magic targets won't build libgloss
anymore.
1996-02-02 01:07:16 +00:00
Steve Chamberlain
9daacfc4e4 * configure.in, config.sub: Recognize cygwin32. 1996-02-01 18:23:56 +00:00
Stan Shebs
a48876fcf0 SCO OpenServer 5 changes from Robert Lipe <robertl@dgii.com>:
* configure.in (i[345]86-*-sco3.2v5*): Use mh-sysv instead of
	mh-sco, since old workarounds no longer needed, and don't
	build ld, since libraries have weak symbols in COFF.
1996-01-19 21:44:26 +00:00
Ian Lance Taylor
b5ae841913 * configure.in: Make sure that ${CC} can be used to compile an
executable.
1996-01-12 20:26:05 +00:00
Brendan Kehoe
d4cf72b3cc * configure.in (noconfigdirs): Put ld or gas in this early, if the
user specifically used --with-gnu-ld=no or --with-gnu-as=no.
1996-01-02 03:06:56 +00:00
Brendan Kehoe
0b0124c6cc * configure.in (noconfigdirs): Add gas or ld if --with-gnu-as=no or
--with-gnu-ld=no.

Don't build/configure gas or ld if we said we don't want them.
1995-12-21 01:42:59 +00:00
Jason Molenda
aef95a96bc * configure.in (i386-win32): Don't build expect if we're not
building the tcl subdir.
1995-12-19 01:56:18 +00:00
David Edelsohn
214a9db6a9 Delete jaguar. Delete psion sanitization. 1995-12-14 22:48:32 +00:00
Jason Molenda
a51794f15a * configure.in (host==powerpc-pe): Add many directories to noconfigdirs
for powerpc-pe native.
        (target==i386-win32): add tcl, make to noconfigdirs if canadian cross.
        (target==powerpc-pe): duplicate i386-win32 entry.
1995-12-11 23:34:30 +00:00
Jim Wilson
406477a696 Disable newlib for all vxworks targets. 1995-12-09 22:59:09 +00:00
J.T. Conklin
d25fd70ded * configure.in (noconfigdirs): Disable target-libio on v810-*-*.
* config/mt-v810 (CC_FOR_TARGET, AS_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET): Set as appropriate for NEC v810 toolchain.
1995-11-29 21:57:12 +00:00
Ian Lance Taylor
2a3486d2f9 * configure.in: Don't configure gas for alpha-dec-osf*. 1995-11-29 17:09:41 +00:00
Ian Lance Taylor
4f0ad91b9b * configure.in: Default to --with-stabs for some targets for which
it makes sense: mips*-*-*, alpha*-*-osf*, i[345]86*-*-sysv4* and
	i[345]86*-*-unixware*.
1995-11-28 22:15:27 +00:00
David Edelsohn
90bdf86429 * configure.in (targargs): Fix typo. 1995-11-22 00:49:42 +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
Jason Molenda
77cd090ad5 * configure.in (target_configdirs): add target-winsup only
for win32 target systems.
1995-11-18 01:43:37 +00:00
Jason Molenda
600b2f21c9 * configure.in (target_libs): add target-winsup.
(target==i386-win32): add patch diff flex make to $noconfigdirs.
        (target==ppcle-pe): remove ld from $noconfigdirs.
1995-11-14 22:58:14 +00:00
Stan Shebs
19b1d034dc * config.sub: Accept pmac and pmac-mpw as names for PowerMacs,
accept mpw and mac-mpw as names for m68k Macs, change macos7 to
 	just macos.
	* configure.in: Configure grez resource compiler if targeting Mac.
	* Makefile.in (all-grez, install-grez): New targets.
1995-11-13 20:47:41 +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
b58d9e5d03 * configure.in: Before checking for the existence of various files,
use sed to filter out "target-".
1995-11-03 16:08:08 +00:00
Ian Lance Taylor
fba668022c * configure.in: If the only directory in target_configdirs which
actually exists is libiberty, then set target_configdirs to empty,
	to avoid trying to build a target libiberty in a gas or gdb
	distribution.
1995-11-01 17:25:21 +00:00
J.T. Conklin
39772dd8f1 * configure.in (host_makefile_frag): Use m68k-sun-sunos* instead
of m68k-sun-* when selecting mh-sun3 to avoid matching NetBSD/sun3
systems.
1995-11-01 02:02:21 +00:00
Jim Wilson
52b5deb997 Patches to make fixincludes work for cross toolchains. 1995-11-01 01:03:31 +00:00
Steve Chamberlain
82dbdc50e7 * Makefile.in, configure.in: Make winsup builds work with
new scheme.
1995-10-31 20:01:18 +00:00
Steve Chamberlain
309dca2a1e * Makefile.in, configure.in: Make winsup builds work with
new scheme.
1995-10-31 18:32:51 +00:00
Ian Lance Taylor
92caaa6a62 * configure.in: Build the linker on AIX. 1995-10-30 23:58:15 +00:00
Per Bothner
ab1cbc6742 * configure.in: Rename libFOO to target-libFOO, and xiberty
to target-xiberty, to provide more flexibility.
	(target_subdir):  Define.  Create if cross.
	Set TARGET_SUBDIR in Makefile to ${target_subdir}.
	* Makefile.in:  Rename all-libFOO -> all-target-libFOO, all-xiberty
	-> all-target-libiberty, configure-libFOO -> configure-target-libFOO,
	check-libFOO -> check-target-libFOO, etc.
	($(DO_X)):  Iterate over TARGET_CONFIGDIRS after SUBDIRS.
	($(CONFIGURE_TARGET_MODULES), $(CHECK_TARGET_MODULES),
	$(ALL_TARGET_MODULES), $(INSTALL_TARGET_MODULES)): Update accordingly.
	(configure-target-XXX):  Depend on $(ALL_GCC), not all-gcc, to
	allow ALL_GCC="" to only configure.
	(DEVO_SUPPORT):  Add cfg-ml-com.in and cfg-ml-pos.in.
	(ETC_SUPPORT, ETC_SUPPORT_PFX):  Merge;  update 'taz' accordingly.
	(LIBGXX_SUPPORT_DIRS):  Remove xiberty.
1995-10-28 06:28:42 +00:00
Stu Grossman
2f9bfdfa15 * configure.in: Make sure that CC is undefined (as opposed to
null) if toplevel/config/mh-{host} doesn't define it.  Fixes a
	problem with autoconf trying to configure on a host without GCC.

	* config.sub:  Add `magic' as an OS target for General Magic.
1995-10-27 16:39:10 +00:00
Jason Molenda
054f9adaa2 Tue Oct 24 18:19:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
* Makefile.in (X11_LIB): Removed.
        (X11_FLAGS_TO_PASS): pass only X11_EXTRA_CFLAGS and X11_EXTRA_LIBS.

        * configure.in (host_makefile_frag): mh-aix & mh-sun removed.
1995-10-25 01:21:08 +00:00
Steve Chamberlain
e1a1ddc65e * configure.in (i[345]86-*-win32): Always build newlib.
Don't configure cvs, autoconf or texinfo.
(really this time)
1995-10-19 23:14:56 +00:00
Steve Chamberlain
1f6701a0cd Thu Oct 19 10:40:57 1995 steve chamberlain <sac@slash.cygnus.com>
* configure.in (i[345]86-*-win32): Always build newlib.
	Don't configure cvs, autoconf or texinfo.
	* Makefile.in (LD_FOR_TARGET): New.
	(BASE_FLAGS_TO_PASS, EXTRA_TARGET_FLAGS, CONFIGURE_TARGET_MODULES):
	Pass down LD_FOR_TARGET.
1995-10-19 17:43:46 +00:00
Steve Chamberlain
efd7b806cf Wed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com>
* winsup. New directory.
	* Makefile.in: Build winsup.
	* configure.in: Winsup is configured when target is win32.
	Can only build win32 target GDB when native.
1995-10-18 23:45:05 +00:00
David Edelsohn
dee64d723f jaguar support. 1995-10-18 20:23:39 +00:00