]> gcc.gnu.org Git - gcc.git/commitdiff
configure.lang (EXTRA_HEADERS,EXTRA_PASSES,EXTRA_PARTS): Delete.
authorDoug Evans <dje@gnu.org>
Thu, 17 Jul 1997 20:00:03 +0000 (20:00 +0000)
committerDoug Evans <dje@gnu.org>
Thu, 17 Jul 1997 20:00:03 +0000 (20:00 +0000)
* configure.lang (EXTRA_HEADERS,EXTRA_PASSES,EXTRA_PARTS): Delete.
(EXTRA_PROGRAMS,EXTRA_OBJS,EXTRA_GCC_OBJS,MD_DEPS): Delete.
(version) Delete duplicate entry.

From-SVN: r14474

gcc/configure.lang

index 20b4c39eaba707e16a299d39eef20491a383eebd..08bdbf14ab13378efc2a8c047f2e72339e87e5b5 100644 (file)
@@ -137,73 +137,6 @@ do
        # but rather than introduce another level of nesting, we leave them
        # as is.
 
-       # Set EXTRA_HEADERS according to extra_headers.
-       # This substitutes for lots of t-* files.
-       extra_headers_list=
-       if [ "x$extra_headers" = x ]
-       then true
-       else
-               rm -f Makefile.xx
-               sed "s|^EXTRA_HEADERS =|EXTRA_HEADERS = ${extra_headers_list}|" Makefile.tem > Makefile.xx
-               rm -f Makefile.tem
-               mv Makefile.xx Makefile.tem
-       fi
-
-       # Set EXTRA_PASSES according to extra_passes.
-       # This substitutes for lots of t-* files.
-       if [ "x$extra_passes" = x ]
-       then true
-       else
-               rm -f Makefile.xx
-               sed "s/^EXTRA_PASSES =/EXTRA_PASSES = $extra_passes/" Makefile.tem > Makefile.xx
-               rm -f Makefile.tem
-               mv Makefile.xx Makefile.tem
-       fi
-
-       # Set EXTRA_PARTS according to extra_parts.
-       # This substitutes for lots of t-* files.
-       if [ "x$extra_parts" = x ]
-       then true
-       else
-               rm -f Makefile.xx
-               sed "s/^EXTRA_PARTS =/EXTRA_PARTS = $extra_parts/" Makefile.tem > Makefile.xx
-               rm -f Makefile.tem
-               mv Makefile.xx Makefile.tem
-       fi
-
-       # Set EXTRA_PROGRAMS according to extra_programs.
-       if [ "x$extra_programs" = x ]
-       then true
-       else
-               rm -f Makefile.xx
-               sed "s/^EXTRA_PROGRAMS =/EXTRA_PROGRAMS = $extra_programs/" Makefile.tem > Makefile.xx
-               rm -f Makefile.tem
-               mv Makefile.xx Makefile.tem
-       fi
-
-       # Set EXTRA_OBJS according to extra_objs.
-       # This substitutes for lots of t-* files.
-       if [ "x$extra_objs" = x ]
-       then true
-       else
-               rm -f Makefile.xx
-               sed "s|^EXTRA_OBJS =|EXTRA_OBJS = $extra_objs|" Makefile.tem > Makefile.xx
-               rm -f Makefile.tem
-               mv Makefile.xx Makefile.tem
-       fi
-
-       # Set EXTRA_GCC_OBJS according to host_extra_gcc_objs.
-       # This substitutes for lots of x-* files.
-       if [ "x$host_extra_gcc_objs" = x ]
-       then true
-       else
-               rm -f Makefile.xx
-               sed "s|^EXTRA_GCC_OBJS =|EXTRA_GCC_OBJS = $host_extra_gcc_objs|"
-Makefile.tem > Makefile.xx
-               rm -f Makefile.tem
-               mv Makefile.xx Makefile.tem
-       fi
-
        # Add a definition of USE_COLLECT2 if system wants one.
        # Also tell toplev.c what to do.
        # This substitutes for lots of t-* files.
@@ -216,25 +149,6 @@ Makefile.tem > Makefile.xx
                mv Makefile.xx Makefile.tem
        fi
 
-       # Set MD_DEPS if the real md file is in md.pre-cpp.
-       # Set MD_CPP to the cpp to pass the md file through.  Md files use ';'
-       # for line oriented comments, so we must always use a GNU cpp.  If
-       # building gcc with a cross compiler, use the cross compiler just
-       # built.  Otherwise, we can use the cpp just built.
-       if [ "x$md_cppflags" != x ]
-       then
-               rm -f Makefile.xx
-               (if [ x$host = x$build ] ; then
-                       echo "MD_DEPS = $(md_file) cpp" ; echo "MD_CPP = ./cpp"
-               else
-                       echo "MD_DEPS = md.pre-cpp" ; echo "MD_CPP = \$(HOST_CC) -x c -E"
-               fi
-               echo "MD_CPPFLAGS = $md_cppflags") | \
-                 cat - Makefile.tem | sed -e "s|^MD_FILE[      ]*=.*|MD_FILE = md|" > Makefile.xx
-               rm -f Makefile.tem
-               mv Makefile.xx Makefile.tem
-       fi
-
        # If using -program-transform-name, override the installation names.
        if [ "x${program_transform_set}" = "xyes" ] ; then
                sed -e "s/^program_transform_name[      ]*=.*$/program_transform_name =
@@ -372,7 +286,6 @@ $program_transform_name/" \
        echo "s|^xmake_file=.*$|xmake_file=${dep_host_xmake_file}|" >> Makefile.sed
        echo "s|^tmake_file=.*$|tmake_file=${dep_tmake_file}|" >> Makefile.sed
        echo "s|^version=.*$|version=${version}|" >> Makefile.sed
-       echo "s|^version=.*$|version=${version}|" >> Makefile.sed
        echo "s|^out_file=.*$|out_file=${srcdir}/config/${out_file}|" >> Makefile.sed
        echo "s|^out_object_file=.*$|out_object_file=${out_object_file}|" >> Makefile.sed
        echo "s|^md_file=.*$|md_file=${md_file}|" >> Makefile.sed
This page took 0.06773 seconds and 5 git commands to generate.