]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/configure.in
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
authorZack Weinberg <zack@gcc.gnu.org>
Fri, 27 Oct 2000 20:22:28 +0000 (20:22 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Fri, 27 Oct 2000 20:22:28 +0000 (20:22 +0000)
commitb8dad04b688e9cb9c34b0c0beba09fd0dc626389
treed68bb6ec0165cb1817a78141ea65d0c48a903fa0
parentfadb729c6d312aa1064e1fcb7cdd6286deeff9bd
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.

* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'.  Make zlibdir, zlibinc relative to
top level.  Kill oldstyle_subdirs.  Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs.  Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants.  Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@.  Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.

        * Makefile.in: Expunge all traces of extra_c_objs,
        extra_cxx_objs, and extra_cpp_objs.  Set MAYBE_CPPLIB from
        @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS.  Set
        warning options via a three level scheme so that -pedantic and
        -Wtraditional are not used for non-C front ends: LOOSE_WARN,
        STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
        WARN_CFLAGS.  Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC.  Do not set P,
        LANG_FLAGS_TO_PASS.  Add OUTPUT_OPTION to all object-file
        generation rules.  Wrap all rules that change the current
        directory in parentheses; pmake doesn't spawn a new shell for
        each command.  Expunge all references to $(P).  When one
        command depends on another and they're run all at once, use &&
        to separate them, not ;.  Add libgcc_s$(SHLIB_EXT) to files
        deleted on make clean.  Force OUTPUT_OPTION='-o $@' in stage2
        and beyond.

* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses.  Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;.  Add OUTPUT_OPTION to
all object-file generation rules.  Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.

* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.

* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.

From-SVN: r37088
20 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/config.in
gcc/configure
gcc/configure.in
gcc/configure.lang [deleted file]
gcc/cp/ChangeLog
gcc/cp/Make-lang.in
gcc/cp/Makefile.in [deleted file]
gcc/cp/config-lang.in
gcc/f/ChangeLog
gcc/f/Make-lang.in
gcc/f/Makefile.in [deleted file]
gcc/f/config-lang.in
gcc/java/ChangeLog
gcc/java/Make-lang.in
gcc/java/Makefile.in [deleted file]
gcc/java/config-lang.in
gcc/objc/Make-lang.in
gcc/objc/Makefile.in [deleted file]