mirror of git://gcc.gnu.org/git/gcc.git
Avoid tr '\n', for Solaris /usr/bin/tr.
contrib/ * check_warning_flags.sh: Use \012 instead of \n with tr. gcc/: PR gcc/42525 * Makefile.in (write_entries_to_file, install-plugin): Use \012 instead of \n with tr. libjava/: * Makefile.am (write_entries_to_file): Use \012 instead of \n with tr. * scripts/makemake.tcl: Likewise. * sources.am: Regenerate. * Makefile.in: Regenerate. From-SVN: r155963
This commit is contained in:
parent
636cf8b1f9
commit
2fdb618d66
|
|
@ -1,3 +1,7 @@
|
||||||
|
2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* check_warning_flags.sh: Use \012 instead of \n with tr.
|
||||||
|
|
||||||
2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
* dg-extract-results.sh: Don't use tail -n.
|
* dg-extract-results.sh: Don't use tail -n.
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
# Check that the warning flags documented in invoke.texi match up
|
# Check that the warning flags documented in invoke.texi match up
|
||||||
# with what the compiler accepts.
|
# with what the compiler accepts.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
|
# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||||
# Written by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
|
# Written by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
|
||||||
#
|
#
|
||||||
# This script is Free Software, and it can be copied, distributed and
|
# This script is Free Software, and it can be copied, distributed and
|
||||||
|
|
@ -147,7 +147,7 @@ remove_problematic_help_flags='
|
||||||
/-$/d
|
/-$/d
|
||||||
/=/d'
|
/=/d'
|
||||||
help_flags=`
|
help_flags=`
|
||||||
$CC --help -v 2>/dev/null | tr ' ' '\n' |
|
$CC --help -v 2>/dev/null | tr ' ' '\012' |
|
||||||
sed -n '
|
sed -n '
|
||||||
b a
|
b a
|
||||||
:a
|
:a
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
PR gcc/42525
|
||||||
|
* Makefile.in (write_entries_to_file, install-plugin):
|
||||||
|
Use \012 instead of \n with tr.
|
||||||
|
|
||||||
2010-01-16 Richard Sandiford <r.sandiford@uk.ibm.com>
|
2010-01-16 Richard Sandiford <r.sandiford@uk.ibm.com>
|
||||||
|
|
||||||
* configure.ac (HAVE_AS_REF): New C macro.
|
* configure.ac (HAVE_AS_REF): New C macro.
|
||||||
|
|
|
||||||
|
|
@ -290,7 +290,7 @@ write_entries_to_file = $(shell rm -f $(2) || :) $(shell touch $(2)) \
|
||||||
echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
|
echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
|
||||||
$(shell echo "$(wordlist $(range), \
|
$(shell echo "$(wordlist $(range), \
|
||||||
$(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1))" \
|
$(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1))" \
|
||||||
| tr ' ' '\n' >> $(2)))
|
| tr ' ' '\012' >> $(2)))
|
||||||
|
|
||||||
# --------
|
# --------
|
||||||
# UNSORTED
|
# UNSORTED
|
||||||
|
|
@ -4289,7 +4289,7 @@ install-plugin: installdirs lang.install-plugin s-header-vars
|
||||||
# We keep the directory structure for files in config and .def files. All
|
# We keep the directory structure for files in config and .def files. All
|
||||||
# other files are flattened to a single directory.
|
# other files are flattened to a single directory.
|
||||||
$(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
|
$(mkinstalldirs) $(DESTDIR)$(plugin_includedir)
|
||||||
headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\n' | sort -u`; \
|
headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u`; \
|
||||||
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`; \
|
||||||
for file in $$headers; do \
|
for file in $$headers; do \
|
||||||
if [ -f $$file ] ; then \
|
if [ -f $$file ] ; then \
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,11 @@
|
||||||
|
2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||||
|
|
||||||
|
* Makefile.am (write_entries_to_file): Use \012 instead of \n
|
||||||
|
with tr.
|
||||||
|
* scripts/makemake.tcl: Likewise.
|
||||||
|
* sources.am: Regenerate.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
|
||||||
2010-01-09 Jakub Jelinek <jakub@redhat.com>
|
2010-01-09 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
* gnu/gcj/convert/Convert.java (version): Update copyright notice
|
* gnu/gcj/convert/Convert.java (version): Update copyright notice
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ write_entries_to_file = $(shell rm -f $(2) || :) $(shell touch $(2)) \
|
||||||
echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
|
echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
|
||||||
$(shell echo $(wordlist $(range), \
|
$(shell echo $(wordlist $(range), \
|
||||||
$(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1)) \
|
$(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1)) \
|
||||||
| tr ' ' '\n' >> $(2)))
|
| tr ' ' '\012' >> $(2)))
|
||||||
|
|
||||||
## ################################################################
|
## ################################################################
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -893,7 +893,7 @@ write_entries_to_file = $(shell rm -f $(2) || :) $(shell touch $(2)) \
|
||||||
echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
|
echo $$i; i=`expr $$i + $(write_entries_to_file_split)`; done), \
|
||||||
$(shell echo $(wordlist $(range), \
|
$(shell echo $(wordlist $(range), \
|
||||||
$(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1)) \
|
$(shell expr $(range) + $(write_entries_to_file_split) - 1), $(1)) \
|
||||||
| tr ' ' '\n' >> $(2)))
|
| tr ' ' '\012' >> $(2)))
|
||||||
|
|
||||||
|
|
||||||
# This is required by TL_AC_GXX_INCLUDE_DIR.
|
# This is required by TL_AC_GXX_INCLUDE_DIR.
|
||||||
|
|
@ -11946,7 +11946,7 @@ java/io.list: $(java_io_source_files)
|
||||||
|
|
||||||
java/lang.list: $(java_lang_source_files)
|
java/lang.list: $(java_lang_source_files)
|
||||||
@$(mkinstalldirs) $(dir $@)
|
@$(mkinstalldirs) $(dir $@)
|
||||||
echo $(srcdir)/classpath/lib/java/lang/*.class | tr ' ' '\n' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '(Ecos|Posix|Win32)Process' > java/lang.list
|
echo $(srcdir)/classpath/lib/java/lang/*.class | tr ' ' '\012' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '(Ecos|Posix|Win32)Process' > java/lang.list
|
||||||
|
|
||||||
-include java/lang.deps
|
-include java/lang.deps
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -357,7 +357,7 @@ proc emit_package_rule_to_list {package package_files_list} {
|
||||||
# Object and Class are special cases due to an apparent compiler
|
# Object and Class are special cases due to an apparent compiler
|
||||||
# bug. Process is a special case because we don't build all
|
# bug. Process is a special case because we don't build all
|
||||||
# concrete implementations of Process on all platforms.
|
# concrete implementations of Process on all platforms.
|
||||||
set omit "| tr ' ' '\\n' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '\(Ecos\|Posix\|Win32\)Process' "
|
set omit "| tr ' ' '\\012' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '\(Ecos\|Posix\|Win32\)Process' "
|
||||||
} else {
|
} else {
|
||||||
set omit ""
|
set omit ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4722,7 +4722,7 @@ java_lang_header_files = $(filter-out java/lang/Object.h java/lang/Class.h,$(pat
|
||||||
|
|
||||||
java/lang.list: $(java_lang_source_files)
|
java/lang.list: $(java_lang_source_files)
|
||||||
@$(mkinstalldirs) $(dir $@)
|
@$(mkinstalldirs) $(dir $@)
|
||||||
echo $(srcdir)/classpath/lib/java/lang/*.class | tr ' ' '\n' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '(Ecos|Posix|Win32)Process' > java/lang.list
|
echo $(srcdir)/classpath/lib/java/lang/*.class | tr ' ' '\012' | fgrep -v Object.class | fgrep -v Class.class | egrep -v '(Ecos|Posix|Win32)Process' > java/lang.list
|
||||||
|
|
||||||
-include java/lang.deps
|
-include java/lang.deps
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue