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.if | |
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.if')
-rw-r--r-- | config.if | 51 |
1 files changed, 0 insertions, 51 deletions
@@ -3,7 +3,6 @@ # determine: # # 1. libstcxx_incdir: the interface name for libstdc++. -# 2. libc_interface: the interface name for libc. # # Get the top level src dir. @@ -36,53 +35,3 @@ if test -z "$gcc_version"; then fi libstdcxx_incdir=c++/${gcc_version} -# The trickiest part is libc_interface. -if [ -z "${libc_interface}" ] -then - case ${target_os} in - *linux*libc1*|*linux*libc5*) - case ${target_alias} in - *alpha*|*powerpc*) - libc_interface=-libc5.9- - ;; - *) - libc_interface=-libc5- - ;; - esac - ;; - *linux*gnu*) - # We have to work harder to figure it out. - if [ ${target_alias} = ${build_alias} ] - then - dummy=if$$ - cat >$dummy.c <<EOF -#include <features.h> -main(argc, argv) - int argc; - char *argv[]; -{ - printf("%d\n", __GLIBC_MINOR__); - return 0; -} -EOF - ${CC-cc} $dummy.c -o $dummy 2>/dev/null - if [ "$?" = 0 ] - then - libc_interface=-libc6.`./$dummy`- - rm -f $dummy.c $dummy - else - # It should never happen. - echo "Cannot find the GNU C library minor version number." >&2 - rm -f $dummy.c $dummy - exit 1 - fi - else - # Cross compiling. Assume glibc 2.1. - libc_interface=-libc6.1- - fi - ;; - *) - libc_interface=- - ;; - esac -fi |