diff options
author | cvs2svn <> | 2003-08-21 18:03:24 +0400 |
---|---|---|
committer | cvs2svn <> | 2003-08-21 18:03:24 +0400 |
commit | 5be60f99b7d5a81dcbad8c9e1d8812297936052b (patch) | |
tree | 37901739cc6eab474f820349165a34248708acab /config-ml.in | |
parent | 5da8118f47003400ecf5d3cecb383359e5a5642b (diff) |
This commit was manufactured by cvs2svn to create branchcagney_x86i386-20030821-branchpointcagney_x86i386-20030821-branch
'cagney_x86i386-20030821-branch'.
Sprout from gdb_6_0-branch 2003-06-22 16:35:52 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'gdb_6_0-branch'.'
Cherrypick from master 2003-08-21 14:03:23 UTC Nick Clifton <nickc@redhat.com> 'Add PGI extensions':
ChangeLog
MAINTAINERS
Makefile.def
Makefile.in
Makefile.tpl
config-ml.in
config.if
config.sub
config/ChangeLog
config/gettext.m4
config/progtest.m4
configure
configure.in
include/ChangeLog
include/bfdlink.h
include/coff/ChangeLog
include/coff/ecoff.h
include/coff/i860.h
include/coff/pe.h
include/coff/ti.h
include/coff/xcoff.h
include/demangle.h
include/dis-asm.h
include/elf/ChangeLog
include/elf/dwarf2.h
include/elf/mips.h
include/elf/mmix.h
include/elf/mn10300.h
include/elf/msp430.h
include/elf/ppc.h
include/elf/reloc-macros.h
include/elf/s390.h
include/elf/v850.h
include/nlm/ChangeLog
include/nlm/internal.h
include/opcode/ChangeLog
include/opcode/alpha.h
include/opcode/arc.h
include/opcode/cgen.h
include/opcode/d10v.h
include/opcode/d30v.h
include/opcode/h8300.h
include/opcode/i370.h
include/opcode/i386.h
include/opcode/i860.h
include/opcode/mips.h
include/opcode/mn10300.h
include/opcode/or32.h
include/opcode/pj.h
include/opcode/ppc.h
include/opcode/s390.h
include/opcode/sparc.h
include/opcode/tic80.h
include/opcode/v850.h
include/xtensa-config.h
mkinstalldirs
src-release
symlink-tree
Diffstat (limited to 'config-ml.in')
-rw-r--r-- | config-ml.in | 36 |
1 files changed, 31 insertions, 5 deletions
diff --git a/config-ml.in b/config-ml.in index e227500c4..865275ce3 100644 --- a/config-ml.in +++ b/config-ml.in @@ -1,6 +1,32 @@ # Configure fragment invoked in the post-target section for subdirs # wanting multilib support. # +# Copyright (C) 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. +# +# This file is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. +# +# Please report bugs to <gcc-bugs@gnu.org> +# and send patches to <gcc-patches@gnu.org>. + # It is advisable to support a few --enable/--disable options to let the # user select which libraries s/he really wants. # @@ -500,7 +526,7 @@ multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ] cat > Multi.tem <<\EOF -PWD=$${PWDCMD-pwd} +PWD_COMMAND=$${PWDCMD-pwd} # FIXME: There should be an @-sign in front of the `if'. # Leave out until this is tested a bit more. @@ -508,8 +534,8 @@ multi-do: if [ -z "$(MULTIDIRS)" ]; then \ true; \ else \ - rootpre=`${PWD}`/; export rootpre; \ - srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \ + rootpre=`${PWD_COMMAND}`/; export rootpre; \ + srcrootpre=`cd $(srcdir); ${PWD_COMMAND}`/; export srcrootpre; \ lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \ compiler="$(CC)"; \ for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \ @@ -546,7 +572,7 @@ multi-clean: if [ -z "$(MULTIDIRS)" ]; then \ true; \ else \ - lib=`${PWD} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \ + lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \ for dir in Makefile $(MULTIDIRS); do \ if [ -f ../$${dir}/$${lib}/Makefile ]; then \ if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \ @@ -740,7 +766,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then fi # find compiler flag corresponding to ${ml_dir} - for i in `${CC-gcc} --print-multi-lib 2>/dev/null`; do + for i in `${CC-gcc} --print-multi-lib 2>/dev/null`; do dir=`echo $i | sed -e 's/;.*$//'` if [ "${dir}" = "${ml_dir}" ]; then flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'` |