summaryrefslogtreecommitdiff
path: root/apps/interpreters
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-01 17:38:09 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-01 17:38:09 -0600
commitc6e22fd3479d9f9e75cb33231cc9375f61348bbe (patch)
tree4d65225890ce64a01fc9fe546278ca23f0936c27 /apps/interpreters
parentaa8b8057743fb027fba32e76fe94267c6a645d84 (diff)
downloadnuttx-c6e22fd3479d9f9e75cb33231cc9375f61348bbe.tar.gz
nuttx-c6e22fd3479d9f9e75cb33231cc9375f61348bbe.tar.bz2
nuttx-c6e22fd3479d9f9e75cb33231cc9375f61348bbe.zip
Remove more files that are unnecessary for NuttX
Diffstat (limited to 'apps/interpreters')
-rw-r--r--apps/interpreters/bas/config.sub1779
-rw-r--r--apps/interpreters/bas/de.po1113
-rw-r--r--apps/interpreters/bas/install-sh527
3 files changed, 0 insertions, 3419 deletions
diff --git a/apps/interpreters/bas/config.sub b/apps/interpreters/bas/config.sub
deleted file mode 100644
index 59bb593f1..000000000
--- a/apps/interpreters/bas/config.sub
+++ /dev/null
@@ -1,1779 +0,0 @@
-#! /bin/sh
-# Configuration validation subroutine script.
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-# 2011, 2012 Free Software Foundation, Inc.
-
-timestamp='2012-04-18'
-
-# This file is (in principle) common to ALL GNU software.
-# The presence of a machine in this file suggests that SOME GNU software
-# can handle that machine. It does not imply ALL GNU software can.
-#
-# 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, see <http://www.gnu.org/licenses/>.
-#
-# 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 send patches to <config-patches@gnu.org>. Submit a context
-# diff and a properly formatted GNU ChangeLog entry.
-#
-# Configuration subroutine to validate and canonicalize a configuration type.
-# Supply the specified configuration type as an argument.
-# If it is invalid, we print an error message on stderr and exit with code 1.
-# Otherwise, we print the canonical config type on stdout and succeed.
-
-# You can get the latest version of this script from:
-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
-
-# This file is supposed to be the same for all GNU packages
-# and recognize all the CPU types, system types and aliases
-# that are meaningful with *any* GNU software.
-# Each package is responsible for reporting which valid configurations
-# it does not support. The user should be able to distinguish
-# a failure to support a valid configuration from a meaningless
-# configuration.
-
-# The goal of this file is to map all the various variations of a given
-# machine specification into a single specification in the form:
-# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
-# or in some cases, the newer four-part form:
-# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
-# It is wrong to echo any other type of specification.
-
-me=`echo "$0" | sed -e 's,.*/,,'`
-
-usage="\
-Usage: $0 [OPTION] CPU-MFR-OPSYS
- $0 [OPTION] ALIAS
-
-Canonicalize a configuration name.
-
-Operation modes:
- -h, --help print this help, then exit
- -t, --time-stamp print date of last modification, then exit
- -v, --version print version number, then exit
-
-Report bugs and patches to <config-patches@gnu.org>."
-
-version="\
-GNU config.sub ($timestamp)
-
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
-Free Software Foundation, Inc.
-
-This is free software; see the source for copying conditions. There is NO
-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
-
-help="
-Try \`$me --help' for more information."
-
-# Parse command line
-while test $# -gt 0 ; do
- case $1 in
- --time-stamp | --time* | -t )
- echo "$timestamp" ; exit ;;
- --version | -v )
- echo "$version" ; exit ;;
- --help | --h* | -h )
- echo "$usage"; exit ;;
- -- ) # Stop option processing
- shift; break ;;
- - ) # Use stdin as input.
- break ;;
- -* )
- echo "$me: invalid option $1$help"
- exit 1 ;;
-
- *local*)
- # First pass through any local machine types.
- echo $1
- exit ;;
-
- * )
- break ;;
- esac
-done
-
-case $# in
- 0) echo "$me: missing argument$help" >&2
- exit 1;;
- 1) ;;
- *) echo "$me: too many arguments$help" >&2
- exit 1;;
-esac
-
-# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
-# Here we must recognize all the valid KERNEL-OS combinations.
-maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
-case $maybe_os in
- nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
- knetbsd*-gnu* | netbsd*-gnu* | \
- kopensolaris*-gnu* | \
- storm-chaos* | os2-emx* | rtmk-nova*)
- os=-$maybe_os
- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
- ;;
- android-linux)
- os=-linux-android
- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
- ;;
- *)
- basic_machine=`echo $1 | sed 's/-[^-]*$//'`
- if [ $basic_machine != $1 ]
- then os=`echo $1 | sed 's/.*-/-/'`
- else os=; fi
- ;;
-esac
-
-### Let's recognize common machines as not being operating systems so
-### that things like config.sub decstation-3100 work. We also
-### recognize some manufacturers as not being operating systems, so we
-### can provide default operating systems below.
-case $os in
- -sun*os*)
- # Prevent following clause from handling this invalid input.
- ;;
- -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
- -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
- -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
- -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
- -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
- -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
- -apple | -axis | -knuth | -cray | -microblaze)
- os=
- basic_machine=$1
- ;;
- -bluegene*)
- os=-cnk
- ;;
- -sim | -cisco | -oki | -wec | -winbond)
- os=
- basic_machine=$1
- ;;
- -scout)
- ;;
- -wrs)
- os=-vxworks
- basic_machine=$1
- ;;
- -chorusos*)
- os=-chorusos
- basic_machine=$1
- ;;
- -chorusrdb)
- os=-chorusrdb
- basic_machine=$1
- ;;
- -hiux*)
- os=-hiuxwe2
- ;;
- -sco6)
- os=-sco5v6
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco5)
- os=-sco3.2v5
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco4)
- os=-sco3.2v4
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2.[4-9]*)
- os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2v[4-9]*)
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco5v6*)
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco*)
- os=-sco3.2v2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -udk*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -isc)
- os=-isc2.2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -clix*)
- basic_machine=clipper-intergraph
- ;;
- -isc*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -lynx*178)
- os=-lynxos178
- ;;
- -lynx*5)
- os=-lynxos5
- ;;
- -lynx*)
- os=-lynxos
- ;;
- -ptx*)
- basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
- ;;
- -windowsnt*)
- os=`echo $os | sed -e 's/windowsnt/winnt/'`
- ;;
- -psos*)
- os=-psos
- ;;
- -mint | -mint[0-9]*)
- basic_machine=m68k-atari
- os=-mint
- ;;
-esac
-
-# Decode aliases for certain CPU-COMPANY combinations.
-case $basic_machine in
- # Recognize the basic CPU types without company name.
- # Some are omitted here because they have special meanings below.
- 1750a | 580 \
- | a29k \
- | aarch64 | aarch64_be \
- | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
- | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
- | am33_2.0 \
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
- | be32 | be64 \
- | bfin \
- | c4x | clipper \
- | d10v | d30v | dlx | dsp16xx \
- | epiphany \
- | fido | fr30 | frv \
- | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
- | hexagon \
- | i370 | i860 | i960 | ia64 \
- | ip2k | iq2000 \
- | le32 | le64 \
- | lm32 \
- | m32c | m32r | m32rle | m68000 | m68k | m88k \
- | maxq | mb | microblaze | mcore | mep | metag \
- | mips | mipsbe | mipseb | mipsel | mipsle \
- | mips16 \
- | mips64 | mips64el \
- | mips64octeon | mips64octeonel \
- | mips64orion | mips64orionel \
- | mips64r5900 | mips64r5900el \
- | mips64vr | mips64vrel \
- | mips64vr4100 | mips64vr4100el \
- | mips64vr4300 | mips64vr4300el \
- | mips64vr5000 | mips64vr5000el \
- | mips64vr5900 | mips64vr5900el \
- | mipsisa32 | mipsisa32el \
- | mipsisa32r2 | mipsisa32r2el \
- | mipsisa64 | mipsisa64el \
- | mipsisa64r2 | mipsisa64r2el \
- | mipsisa64sb1 | mipsisa64sb1el \
- | mipsisa64sr71k | mipsisa64sr71kel \
- | mipstx39 | mipstx39el \
- | mn10200 | mn10300 \
- | moxie \
- | mt \
- | msp430 \
- | nds32 | nds32le | nds32be \
- | nios | nios2 \
- | ns16k | ns32k \
- | open8 \
- | or32 \
- | pdp10 | pdp11 | pj | pjl \
- | powerpc | powerpc64 | powerpc64le | powerpcle \
- | pyramid \
- | rl78 | rx \
- | score \
- | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
- | sh64 | sh64le \
- | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
- | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
- | spu \
- | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
- | ubicom32 \
- | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
- | we32k \
- | x86 | xc16x | xstormy16 | xtensa \
- | z8k | z80)
- basic_machine=$basic_machine-unknown
- ;;
- c54x)
- basic_machine=tic54x-unknown
- ;;
- c55x)
- basic_machine=tic55x-unknown
- ;;
- c6x)
- basic_machine=tic6x-unknown
- ;;
- m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
- basic_machine=$basic_machine-unknown
- os=-none
- ;;
- m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
- ;;
- ms1)
- basic_machine=mt-unknown
- ;;
-
- strongarm | thumb | xscale)
- basic_machine=arm-unknown
- ;;
- xgate)
- basic_machine=$basic_machine-unknown
- os=-none
- ;;
- xscaleeb)
- basic_machine=armeb-unknown
- ;;
-
- xscaleel)
- basic_machine=armel-unknown
- ;;
-
- # We use `pc' rather than `unknown'
- # because (1) that's what they normally are, and
- # (2) the word "unknown" tends to confuse beginning users.
- i*86 | x86_64)
- basic_machine=$basic_machine-pc
- ;;
- # Object if more than one company name word.
- *-*-*)
- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- exit 1
- ;;
- # Recognize the basic CPU types with company name.
- 580-* \
- | a29k-* \
- | aarch64-* | aarch64_be-* \
- | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
- | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
- | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
- | avr-* | avr32-* \
- | be32-* | be64-* \
- | bfin-* | bs2000-* \
- | c[123]* | c30-* | [cjt]90-* | c4x-* \
- | clipper-* | craynv-* | cydra-* \
- | d10v-* | d30v-* | dlx-* \
- | elxsi-* \
- | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
- | h8300-* | h8500-* \
- | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
- | hexagon-* \
- | i*86-* | i860-* | i960-* | ia64-* \
- | ip2k-* | iq2000-* \
- | le32-* | le64-* \
- | lm32-* \
- | m32c-* | m32r-* | m32rle-* \
- | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
- | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
- | mips16-* \
- | mips64-* | mips64el-* \
- | mips64octeon-* | mips64octeonel-* \
- | mips64orion-* | mips64orionel-* \
- | mips64r5900-* | mips64r5900el-* \
- | mips64vr-* | mips64vrel-* \
- | mips64vr4100-* | mips64vr4100el-* \
- | mips64vr4300-* | mips64vr4300el-* \
- | mips64vr5000-* | mips64vr5000el-* \
- | mips64vr5900-* | mips64vr5900el-* \
- | mipsisa32-* | mipsisa32el-* \
- | mipsisa32r2-* | mipsisa32r2el-* \
- | mipsisa64-* | mipsisa64el-* \
- | mipsisa64r2-* | mipsisa64r2el-* \
- | mipsisa64sb1-* | mipsisa64sb1el-* \
- | mipsisa64sr71k-* | mipsisa64sr71kel-* \
- | mipstx39-* | mipstx39el-* \
- | mmix-* \
- | mt-* \
- | msp430-* \
- | nds32-* | nds32le-* | nds32be-* \
- | nios-* | nios2-* \
- | none-* | np1-* | ns16k-* | ns32k-* \
- | open8-* \
- | orion-* \
- | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
- | pyramid-* \
- | rl78-* | romp-* | rs6000-* | rx-* \
- | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
- | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
- | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
- | sparclite-* \
- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
- | tahoe-* \
- | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
- | tile*-* \
- | tron-* \
- | ubicom32-* \
- | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
- | vax-* \
- | we32k-* \
- | x86-* | x86_64-* | xc16x-* | xps100-* \
- | xstormy16-* | xtensa*-* \
- | ymp-* \
- | z8k-* | z80-*)
- ;;
- # Recognize the basic CPU types without company name, with glob match.
- xtensa*)
- basic_machine=$basic_machine-unknown
- ;;
- # Recognize the various machine names and aliases which stand
- # for a CPU type and a company and sometimes even an OS.
- 386bsd)
- basic_machine=i386-unknown
- os=-bsd
- ;;
- 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
- basic_machine=m68000-att
- ;;
- 3b*)
- basic_machine=we32k-att
- ;;
- a29khif)
- basic_machine=a29k-amd
- os=-udi
- ;;
- abacus)
- basic_machine=abacus-unknown
- ;;
- adobe68k)
- basic_machine=m68010-adobe
- os=-scout
- ;;
- alliant | fx80)
- basic_machine=fx80-alliant
- ;;
- altos | altos3068)
- basic_machine=m68k-altos
- ;;
- am29k)
- basic_machine=a29k-none
- os=-bsd
- ;;
- amd64)
- basic_machine=x86_64-pc
- ;;
- amd64-*)
- basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- amdahl)
- basic_machine=580-amdahl
- os=-sysv
- ;;
- amiga | amiga-*)
- basic_machine=m68k-unknown
- ;;
- amigaos | amigados)
- basic_machine=m68k-unknown
- os=-amigaos
- ;;
- amigaunix | amix)
- basic_machine=m68k-unknown
- os=-sysv4
- ;;
- apollo68)
- basic_machine=m68k-apollo
- os=-sysv
- ;;
- apollo68bsd)
- basic_machine=m68k-apollo
- os=-bsd
- ;;
- aros)
- basic_machine=i386-pc
- os=-aros
- ;;
- aux)
- basic_machine=m68k-apple
- os=-aux
- ;;
- balance)
- basic_machine=ns32k-sequent
- os=-dynix
- ;;
- blackfin)
- basic_machine=bfin-unknown
- os=-linux
- ;;
- blackfin-*)
- basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
- os=-linux
- ;;
- bluegene*)
- basic_machine=powerpc-ibm
- os=-cnk
- ;;
- c54x-*)
- basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- c55x-*)
- basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- c6x-*)
- basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- c90)
- basic_machine=c90-cray
- os=-unicos
- ;;
- cegcc)
- basic_machine=arm-unknown
- os=-cegcc
- ;;
- convex-c1)
- basic_machine=c1-convex
- os=-bsd
- ;;
- convex-c2)
- basic_machine=c2-convex
- os=-bsd
- ;;
- convex-c32)
- basic_machine=c32-convex
- os=-bsd
- ;;
- convex-c34)
- basic_machine=c34-convex
- os=-bsd
- ;;
- convex-c38)
- basic_machine=c38-convex
- os=-bsd
- ;;
- cray | j90)
- basic_machine=j90-cray
- os=-unicos
- ;;
- craynv)
- basic_machine=craynv-cray
- os=-unicosmp
- ;;
- cr16 | cr16-*)
- basic_machine=cr16-unknown
- os=-elf
- ;;
- crds | unos)
- basic_machine=m68k-crds
- ;;
- crisv32 | crisv32-* | etraxfs*)
- basic_machine=crisv32-axis
- ;;
- cris | cris-* | etrax*)
- basic_machine=cris-axis
- ;;
- crx)
- basic_machine=crx-unknown
- os=-elf
- ;;
- da30 | da30-*)
- basic_machine=m68k-da30
- ;;
- decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
- basic_machine=mips-dec
- ;;
- decsystem10* | dec10*)
- basic_machine=pdp10-dec
- os=-tops10
- ;;
- decsystem20* | dec20*)
- basic_machine=pdp10-dec
- os=-tops20
- ;;
- delta | 3300 | motorola-3300 | motorola-delta \
- | 3300-motorola | delta-motorola)
- basic_machine=m68k-motorola
- ;;
- delta88)
- basic_machine=m88k-motorola
- os=-sysv3
- ;;
- dicos)
- basic_machine=i686-pc
- os=-dicos
- ;;
- djgpp)
- basic_machine=i586-pc
- os=-msdosdjgpp
- ;;
- dpx20 | dpx20-*)
- basic_machine=rs6000-bull
- os=-bosx
- ;;
- dpx2* | dpx2*-bull)
- basic_machine=m68k-bull
- os=-sysv3
- ;;
- ebmon29k)
- basic_machine=a29k-amd
- os=-ebmon
- ;;
- elxsi)
- basic_machine=elxsi-elxsi
- os=-bsd
- ;;
- encore | umax | mmax)
- basic_machine=ns32k-encore
- ;;
- es1800 | OSE68k | ose68k | ose | OSE)
- basic_machine=m68k-ericsson
- os=-ose
- ;;
- fx2800)
- basic_machine=i860-alliant
- ;;
- genix)
- basic_machine=ns32k-ns
- ;;
- gmicro)
- basic_machine=tron-gmicro
- os=-sysv
- ;;
- go32)
- basic_machine=i386-pc
- os=-go32
- ;;
- h3050r* | hiux*)
- basic_machine=hppa1.1-hitachi
- os=-hiuxwe2
- ;;
- h8300hms)
- basic_machine=h8300-hitachi
- os=-hms
- ;;
- h8300xray)
- basic_machine=h8300-hitachi
- os=-xray
- ;;
- h8500hms)
- basic_machine=h8500-hitachi
- os=-hms
- ;;
- harris)
- basic_machine=m88k-harris
- os=-sysv3
- ;;
- hp300-*)
- basic_machine=m68k-hp
- ;;
- hp300bsd)
- basic_machine=m68k-hp
- os=-bsd
- ;;
- hp300hpux)
- basic_machine=m68k-hp
- os=-hpux
- ;;
- hp3k9[0-9][0-9] | hp9[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hp9k2[0-9][0-9] | hp9k31[0-9])
- basic_machine=m68000-hp
- ;;
- hp9k3[2-9][0-9])
- basic_machine=m68k-hp
- ;;
- hp9k6[0-9][0-9] | hp6[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hp9k7[0-79][0-9] | hp7[0-79][0-9])
- basic_machine=hppa1.1-hp
- ;;
- hp9k78[0-9] | hp78[0-9])
- # FIXME: really hppa2.0-hp
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
- # FIXME: really hppa2.0-hp
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[0-9][13679] | hp8[0-9][13679])
- basic_machine=hppa1.1-hp
- ;;
- hp9k8[0-9][0-9] | hp8[0-9][0-9])
- basic_machine=hppa1.0-hp
- ;;
- hppa-next)
- os=-nextstep3
- ;;
- hppaosf)
- basic_machine=hppa1.1-hp
- os=-osf
- ;;
- hppro)
- basic_machine=hppa1.1-hp
- os=-proelf
- ;;
- i370-ibm* | ibm*)
- basic_machine=i370-ibm
- ;;
- i*86v32)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv32
- ;;
- i*86v4*)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv4
- ;;
- i*86v)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-sysv
- ;;
- i*86sol2)
- basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
- os=-solaris2
- ;;
- i386mach)
- basic_machine=i386-mach
- os=-mach
- ;;
- i386-vsta | vsta)
- basic_machine=i386-unknown
- os=-vsta
- ;;
- iris | iris4d)
- basic_machine=mips-sgi
- case $os in
- -irix*)
- ;;
- *)
- os=-irix4
- ;;
- esac
- ;;
- isi68 | isi)
- basic_machine=m68k-isi
- os=-sysv
- ;;
- m68knommu)
- basic_machine=m68k-unknown
- os=-linux
- ;;
- m68knommu-*)
- basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
- os=-linux
- ;;
- m88k-omron*)
- basic_machine=m88k-omron
- ;;
- magnum | m3230)
- basic_machine=mips-mips
- os=-sysv
- ;;
- merlin)
- basic_machine=ns32k-utek
- os=-sysv
- ;;
- microblaze)
- basic_machine=microblaze-xilinx
- ;;
- mingw32)
- basic_machine=i386-pc
- os=-mingw32
- ;;
- mingw32ce)
- basic_machine=arm-unknown
- os=-mingw32ce
- ;;
- miniframe)
- basic_machine=m68000-convergent
- ;;
- *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
- basic_machine=m68k-atari
- os=-mint
- ;;
- mips3*-*)
- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
- ;;
- mips3*)
- basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
- ;;
- monitor)
- basic_machine=m68k-rom68k
- os=-coff
- ;;
- morphos)
- basic_machine=powerpc-unknown
- os=-morphos
- ;;
- msdos)
- basic_machine=i386-pc
- os=-msdos
- ;;
- ms1-*)
- basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
- ;;
- msys)
- basic_machine=i386-pc
- os=-msys
- ;;
- mvs)
- basic_machine=i370-ibm
- os=-mvs
- ;;
- nacl)
- basic_machine=le32-unknown
- os=-nacl
- ;;
- ncr3000)
- basic_machine=i486-ncr
- os=-sysv4
- ;;
- netbsd386)
- basic_machine=i386-unknown
- os=-netbsd
- ;;
- netwinder)
- basic_machine=armv4l-rebel
- os=-linux
- ;;
- news | news700 | news800 | news900)
- basic_machine=m68k-sony
- os=-newsos
- ;;
- news1000)
- basic_machine=m68030-sony
- os=-newsos
- ;;
- news-3600 | risc-news)
- basic_machine=mips-sony
- os=-newsos
- ;;
- necv70)
- basic_machine=v70-nec
- os=-sysv
- ;;
- next | m*-next )
- basic_machine=m68k-next
- case $os in
- -nextstep* )
- ;;
- -ns2*)
- os=-nextstep2
- ;;
- *)
- os=-nextstep3
- ;;
- esac
- ;;
- nh3000)
- basic_machine=m68k-harris
- os=-cxux
- ;;
- nh[45]000)
- basic_machine=m88k-harris
- os=-cxux
- ;;
- nindy960)
- basic_machine=i960-intel
- os=-nindy
- ;;
- mon960)
- basic_machine=i960-intel
- os=-mon960
- ;;
- nonstopux)
- basic_machine=mips-compaq
- os=-nonstopux
- ;;
- np1)
- basic_machine=np1-gould
- ;;
- neo-tandem)
- basic_machine=neo-tandem
- ;;
- nse-tandem)
- basic_machine=nse-tandem
- ;;
- nsr-tandem)
- basic_machine=nsr-tandem
- ;;
- op50n-* | op60c-*)
- basic_machine=hppa1.1-oki
- os=-proelf
- ;;
- openrisc | openrisc-*)
- basic_machine=or32-unknown
- ;;
- os400)
- basic_machine=powerpc-ibm
- os=-os400
- ;;
- OSE68000 | ose68000)
- basic_machine=m68000-ericsson
- os=-ose
- ;;
- os68k)
- basic_machine=m68k-none
- os=-os68k
- ;;
- pa-hitachi)
- basic_machine=hppa1.1-hitachi
- os=-hiuxwe2
- ;;
- paragon)
- basic_machine=i860-intel
- os=-osf
- ;;
- parisc)
- basic_machine=hppa-unknown
- os=-linux
- ;;
- parisc-*)
- basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
- os=-linux
- ;;
- pbd)
- basic_machine=sparc-tti
- ;;
- pbb)
- basic_machine=m68k-tti
- ;;
- pc532 | pc532-*)
- basic_machine=ns32k-pc532
- ;;
- pc98)
- basic_machine=i386-pc
- ;;
- pc98-*)
- basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentium | p5 | k5 | k6 | nexgen | viac3)
- basic_machine=i586-pc
- ;;
- pentiumpro | p6 | 6x86 | athlon | athlon_*)
- basic_machine=i686-pc
- ;;
- pentiumii | pentium2 | pentiumiii | pentium3)
- basic_machine=i686-pc
- ;;
- pentium4)
- basic_machine=i786-pc
- ;;
- pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
- basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentiumpro-* | p6-* | 6x86-* | athlon-*)
- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
- basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pentium4-*)
- basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- pn)
- basic_machine=pn-gould
- ;;
- power) basic_machine=power-ibm
- ;;
- ppc | ppcbe) basic_machine=powerpc-unknown
- ;;
- ppc-* | ppcbe-*)
- basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppcle | powerpclittle | ppc-le | powerpc-little)
- basic_machine=powerpcle-unknown
- ;;
- ppcle-* | powerpclittle-*)
- basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppc64) basic_machine=powerpc64-unknown
- ;;
- ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ppc64le | powerpc64little | ppc64-le | powerpc64-little)
- basic_machine=powerpc64le-unknown
- ;;
- ppc64le-* | powerpc64little-*)
- basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- ps2)
- basic_machine=i386-ibm
- ;;
- pw32)
- basic_machine=i586-unknown
- os=-pw32
- ;;
- rdos)
- basic_machine=i386-pc
- os=-rdos
- ;;
- rom68k)
- basic_machine=m68k-rom68k
- os=-coff
- ;;
- rm[46]00)
- basic_machine=mips-siemens
- ;;
- rtpc | rtpc-*)
- basic_machine=romp-ibm
- ;;
- s390 | s390-*)
- basic_machine=s390-ibm
- ;;
- s390x | s390x-*)
- basic_machine=s390x-ibm
- ;;
- sa29200)
- basic_machine=a29k-amd
- os=-udi
- ;;
- sb1)
- basic_machine=mipsisa64sb1-unknown
- ;;
- sb1el)
- basic_machine=mipsisa64sb1el-unknown
- ;;
- sde)
- basic_machine=mipsisa32-sde
- os=-elf
- ;;
- sei)
- basic_machine=mips-sei
- os=-seiux
- ;;
- sequent)
- basic_machine=i386-sequent
- ;;
- sh)
- basic_machine=sh-hitachi
- os=-hms
- ;;
- sh5el)
- basic_machine=sh5le-unknown
- ;;
- sh64)
- basic_machine=sh64-unknown
- ;;
- sparclite-wrs | simso-wrs)
- basic_machine=sparclite-wrs
- os=-vxworks
- ;;
- sps7)
- basic_machine=m68k-bull
- os=-sysv2
- ;;
- spur)
- basic_machine=spur-unknown
- ;;
- st2000)
- basic_machine=m68k-tandem
- ;;
- stratus)
- basic_machine=i860-stratus
- os=-sysv4
- ;;
- strongarm-* | thumb-*)
- basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
- ;;
- sun2)
- basic_machine=m68000-sun
- ;;
- sun2os3)
- basic_machine=m68000-sun
- os=-sunos3
- ;;
- sun2os4)
- basic_machine=m68000-sun
- os=-sunos4
- ;;
- sun3os3)
- basic_machine=m68k-sun
- os=-sunos3
- ;;
- sun3os4)
- basic_machine=m68k-sun
- os=-sunos4
- ;;
- sun4os3)
- basic_machine=sparc-sun
- os=-sunos3
- ;;
- sun4os4)
- basic_machine=sparc-sun
- os=-sunos4
- ;;
- sun4sol2)
- basic_machine=sparc-sun
- os=-solaris2
- ;;
- sun3 | sun3-*)
- basic_machine=m68k-sun
- ;;
- sun4)
- basic_machine=sparc-sun
- ;;
- sun386 | sun386i | roadrunner)
- basic_machine=i386-sun
- ;;
- sv1)
- basic_machine=sv1-cray
- os=-unicos
- ;;
- symmetry)
- basic_machine=i386-sequent
- os=-dynix
- ;;
- t3e)
- basic_machine=alphaev5-cray
- os=-unicos
- ;;
- t90)
- basic_machine=t90-cray
- os=-unicos
- ;;
- tile*)
- basic_machine=$basic_machine-unknown
- os=-linux-gnu
- ;;
- tx39)
- basic_machine=mipstx39-unknown
- ;;
- tx39el)
- basic_machine=mipstx39el-unknown
- ;;
- toad1)
- basic_machine=pdp10-xkl
- os=-tops20
- ;;
- tower | tower-32)
- basic_machine=m68k-ncr
- ;;
- tpf)
- basic_machine=s390x-ibm
- os=-tpf
- ;;
- udi29k)
- basic_machine=a29k-amd
- os=-udi
- ;;
- ultra3)
- basic_machine=a29k-nyu
- os=-sym1
- ;;
- v810 | necv810)
- basic_machine=v810-nec
- os=-none
- ;;
- vaxv)
- basic_machine=vax-dec
- os=-sysv
- ;;
- vms)
- basic_machine=vax-dec
- os=-vms
- ;;
- vpp*|vx|vx-*)
- basic_machine=f301-fujitsu
- ;;
- vxworks960)
- basic_machine=i960-wrs
- os=-vxworks
- ;;
- vxworks68)
- basic_machine=m68k-wrs
- os=-vxworks
- ;;
- vxworks29k)
- basic_machine=a29k-wrs
- os=-vxworks
- ;;
- w65*)
- basic_machine=w65-wdc
- os=-none
- ;;
- w89k-*)
- basic_machine=hppa1.1-winbond
- os=-proelf
- ;;
- xbox)
- basic_machine=i686-pc
- os=-mingw32
- ;;
- xps | xps100)
- basic_machine=xps100-honeywell
- ;;
- xscale-* | xscalee[bl]-*)
- basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
- ;;
- ymp)
- basic_machine=ymp-cray
- os=-unicos
- ;;
- z8k-*-coff)
- basic_machine=z8k-unknown
- os=-sim
- ;;
- z80-*-coff)
- basic_machine=z80-unknown
- os=-sim
- ;;
- none)
- basic_machine=none-none
- os=-none
- ;;
-
-# Here we handle the default manufacturer of certain CPU types. It is in
-# some cases the only manufacturer, in others, it is the most popular.
- w89k)
- basic_machine=hppa1.1-winbond
- ;;
- op50n)
- basic_machine=hppa1.1-oki
- ;;
- op60c)
- basic_machine=hppa1.1-oki
- ;;
- romp)
- basic_machine=romp-ibm
- ;;
- mmix)
- basic_machine=mmix-knuth
- ;;
- rs6000)
- basic_machine=rs6000-ibm
- ;;
- vax)
- basic_machine=vax-dec
- ;;
- pdp10)
- # there are many clones, so DEC is not a safe bet
- basic_machine=pdp10-unknown
- ;;
- pdp11)
- basic_machine=pdp11-dec
- ;;
- we32k)
- basic_machine=we32k-att
- ;;
- sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
- basic_machine=sh-unknown
- ;;
- sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
- basic_machine=sparc-sun
- ;;
- cydra)
- basic_machine=cydra-cydrome
- ;;
- orion)
- basic_machine=orion-highlevel
- ;;
- orion105)
- basic_machine=clipper-highlevel
- ;;
- mac | mpw | mac-mpw)
- basic_machine=m68k-apple
- ;;
- pmac | pmac-mpw)
- basic_machine=powerpc-apple
- ;;
- *-unknown)
- # Make sure to match an already-canonicalized machine name.
- ;;
- *)
- echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
- exit 1
- ;;
-esac
-
-# Here we canonicalize certain aliases for manufacturers.
-case $basic_machine in
- *-digital*)
- basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
- ;;
- *-commodore*)
- basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
- ;;
- *)
- ;;
-esac
-
-# Decode manufacturer-specific aliases for certain operating systems.
-
-if [ x"$os" != x"" ]
-then
-case $os in
- # First match some system type aliases
- # that might get confused with valid system types.
- # -solaris* is a basic system type, with this one exception.
- -auroraux)
- os=-auroraux
- ;;
- -solaris1 | -solaris1.*)
- os=`echo $os | sed -e 's|solaris1|sunos4|'`
- ;;
- -solaris)
- os=-solaris2
- ;;
- -svr4*)
- os=-sysv4
- ;;
- -unixware*)
- os=-sysv4.2uw
- ;;
- -gnu/linux*)
- os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
- ;;
- # First accept the basic system types.
- # The portable systems comes first.
- # Each alternative MUST END IN A *, to match a version number.
- # -sysv* is not here because it comes later, after sysvr4.
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
- | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
- | -sym* | -kopensolaris* \
- | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
- | -aos* | -aros* \
- | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
- | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
- | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
- | -openbsd* | -solidbsd* \
- | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
- | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
- | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
- | -chorusos* | -chorusrdb* | -cegcc* \
- | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
- | -mingw32* | -linux-gnu* | -linux-android* \
- | -linux-newlib* | -linux-uclibc* \
- | -uxpv* | -beos* | -mpeix* | -udk* \
- | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
- | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
- | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
- | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
- | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
- | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
- # Remember, each alternative MUST END IN *, to match a version number.
- ;;
- -qnx*)
- case $basic_machine in
- x86-* | i*86-*)
- ;;
- *)
- os=-nto$os
- ;;
- esac
- ;;
- -nto-qnx*)
- ;;
- -nto*)
- os=`echo $os | sed -e 's|nto|nto-qnx|'`
- ;;
- -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
- | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
- | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
- ;;
- -mac*)
- os=`echo $os | sed -e 's|mac|macos|'`
- ;;
- -linux-dietlibc)
- os=-linux-dietlibc
- ;;
- -linux*)
- os=`echo $os | sed -e 's|linux|linux-gnu|'`
- ;;
- -sunos5*)
- os=`echo $os | sed -e 's|sunos5|solaris2|'`
- ;;
- -sunos6*)
- os=`echo $os | sed -e 's|sunos6|solaris3|'`
- ;;
- -opened*)
- os=-openedition
- ;;
- -os400*)
- os=-os400
- ;;
- -wince*)
- os=-wince
- ;;
- -osfrose*)
- os=-osfrose
- ;;
- -osf*)
- os=-osf
- ;;
- -utek*)
- os=-bsd
- ;;
- -dynix*)
- os=-bsd
- ;;
- -acis*)
- os=-aos
- ;;
- -atheos*)
- os=-atheos
- ;;
- -syllable*)
- os=-syllable
- ;;
- -386bsd)
- os=-bsd
- ;;
- -ctix* | -uts*)
- os=-sysv
- ;;
- -nova*)
- os=-rtmk-nova
- ;;
- -ns2 )
- os=-nextstep2
- ;;
- -nsk*)
- os=-nsk
- ;;
- # Preserve the version number of sinix5.
- -sinix5.*)
- os=`echo $os | sed -e 's|sinix|sysv|'`
- ;;
- -sinix*)
- os=-sysv4
- ;;
- -tpf*)
- os=-tpf
- ;;
- -triton*)
- os=-sysv3
- ;;
- -oss*)
- os=-sysv3
- ;;
- -svr4)
- os=-sysv4
- ;;
- -svr3)
- os=-sysv3
- ;;
- -sysvr4)
- os=-sysv4
- ;;
- # This must come after -sysvr4.
- -sysv*)
- ;;
- -ose*)
- os=-ose
- ;;
- -es1800*)
- os=-ose
- ;;
- -xenix)
- os=-xenix
- ;;
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- os=-mint
- ;;
- -aros*)
- os=-aros
- ;;
- -kaos*)
- os=-kaos
- ;;
- -zvmoe)
- os=-zvmoe
- ;;
- -dicos*)
- os=-dicos
- ;;
- -nacl*)
- ;;
- -none)
- ;;
- *)
- # Get rid of the `-' at the beginning of $os.
- os=`echo $os | sed 's/[^-]*-//'`
- echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
- exit 1
- ;;
-esac
-else
-
-# Here we handle the default operating systems that come with various machines.
-# The value should be what the vendor currently ships out the door with their
-# machine or put another way, the most popular os provided with the machine.
-
-# Note that if you're going to try to match "-MANUFACTURER" here (say,
-# "-sun"), then you have to tell the case statement up towards the top
-# that MANUFACTURER isn't an operating system. Otherwise, code above
-# will signal an error saying that MANUFACTURER isn't an operating
-# system, and we'll never get to this point.
-
-case $basic_machine in
- score-*)
- os=-elf
- ;;
- spu-*)
- os=-elf
- ;;
- *-acorn)
- os=-riscix1.2
- ;;
- arm*-rebel)
- os=-linux
- ;;
- arm*-semi)
- os=-aout
- ;;
- c4x-* | tic4x-*)
- os=-coff
- ;;
- tic54x-*)
- os=-coff
- ;;
- tic55x-*)
- os=-coff
- ;;
- tic6x-*)
- os=-coff
- ;;
- # This must come before the *-dec entry.
- pdp10-*)
- os=-tops20
- ;;
- pdp11-*)
- os=-none
- ;;
- *-dec | vax-*)
- os=-ultrix4.2
- ;;
- m68*-apollo)
- os=-domain
- ;;
- i386-sun)
- os=-sunos4.0.2
- ;;
- m68000-sun)
- os=-sunos3
- ;;
- m68*-cisco)
- os=-aout
- ;;
- mep-*)
- os=-elf
- ;;
- mips*-cisco)
- os=-elf
- ;;
- mips*-*)
- os=-elf
- ;;
- or32-*)
- os=-coff
- ;;
- *-tti) # must be before sparc entry or we get the wrong os.
- os=-sysv3
- ;;
- sparc-* | *-sun)
- os=-sunos4.1.1
- ;;
- *-be)
- os=-beos
- ;;
- *-haiku)
- os=-haiku
- ;;
- *-ibm)
- os=-aix
- ;;
- *-knuth)
- os=-mmixware
- ;;
- *-wec)
- os=-proelf
- ;;
- *-winbond)
- os=-proelf
- ;;
- *-oki)
- os=-proelf
- ;;
- *-hp)
- os=-hpux
- ;;
- *-hitachi)
- os=-hiux
- ;;
- i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
- os=-sysv
- ;;
- *-cbm)
- os=-amigaos
- ;;
- *-dg)
- os=-dgux
- ;;
- *-dolphin)
- os=-sysv3
- ;;
- m68k-ccur)
- os=-rtu
- ;;
- m88k-omron*)
- os=-luna
- ;;
- *-next )
- os=-nextstep
- ;;
- *-sequent)
- os=-ptx
- ;;
- *-crds)
- os=-unos
- ;;
- *-ns)
- os=-genix
- ;;
- i370-*)
- os=-mvs
- ;;
- *-next)
- os=-nextstep3
- ;;
- *-gould)
- os=-sysv
- ;;
- *-highlevel)
- os=-bsd
- ;;
- *-encore)
- os=-bsd
- ;;
- *-sgi)
- os=-irix
- ;;
- *-siemens)
- os=-sysv4
- ;;
- *-masscomp)
- os=-rtu
- ;;
- f30[01]-fujitsu | f700-fujitsu)
- os=-uxpv
- ;;
- *-rom68k)
- os=-coff
- ;;
- *-*bug)
- os=-coff
- ;;
- *-apple)
- os=-macos
- ;;
- *-atari*)
- os=-mint
- ;;
- *)
- os=-none
- ;;
-esac
-fi
-
-# Here we handle the case where we know the os, and the CPU type, but not the
-# manufacturer. We pick the logical manufacturer.
-vendor=unknown
-case $basic_machine in
- *-unknown)
- case $os in
- -riscix*)
- vendor=acorn
- ;;
- -sunos*)
- vendor=sun
- ;;
- -cnk*|-aix*)
- vendor=ibm
- ;;
- -beos*)
- vendor=be
- ;;
- -hpux*)
- vendor=hp
- ;;
- -mpeix*)
- vendor=hp
- ;;
- -hiux*)
- vendor=hitachi
- ;;
- -unos*)
- vendor=crds
- ;;
- -dgux*)
- vendor=dg
- ;;
- -luna*)
- vendor=omron
- ;;
- -genix*)
- vendor=ns
- ;;
- -mvs* | -opened*)
- vendor=ibm
- ;;
- -os400*)
- vendor=ibm
- ;;
- -ptx*)
- vendor=sequent
- ;;
- -tpf*)
- vendor=ibm
- ;;
- -vxsim* | -vxworks* | -windiss*)
- vendor=wrs
- ;;
- -aux*)
- vendor=apple
- ;;
- -hms*)
- vendor=hitachi
- ;;
- -mpw* | -macos*)
- vendor=apple
- ;;
- -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
- vendor=atari
- ;;
- -vos*)
- vendor=stratus
- ;;
- esac
- basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
- ;;
-esac
-
-echo $basic_machine$os
-exit
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "timestamp='"
-# time-stamp-format: "%:y-%02m-%02d"
-# time-stamp-end: "'"
-# End:
diff --git a/apps/interpreters/bas/de.po b/apps/interpreters/bas/de.po
deleted file mode 100644
index eea1f6de0..000000000
--- a/apps/interpreters/bas/de.po
+++ /dev/null
@@ -1,1113 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: bas 1.2\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-10-25 20:16+0200\n"
-"PO-Revision-Date: 2002-11-09 18:26+0100\n"
-"Last-Translator: Michael Haardt <michael@moria.de>\n"
-"Language-Team: Deutsch <michael@moria.de>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-15\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: auto.c:145
-msgid "Called"
-msgstr "Aufruf"
-
-#: auto.c:155
-msgid "Proc Called"
-msgstr "Prozeduraufruf"
-
-#: bas.c:181
-msgid "index"
-msgstr "Index"
-
-#: bas.c:277
-msgid "actual parameter"
-msgstr "Aktualparameter"
-
-#: bas.c:651
-msgid "operand"
-msgstr "Operand"
-
-#: bas.c:847
-msgid "binary operand"
-msgstr "binären Operanden"
-
-#: bas.c:898
-msgid "unary operand"
-msgstr "monadischen Operanden"
-
-#: bas.c:988
-msgid "parenthetic"
-msgstr "Klammerausdruck"
-
-#: bas.c:1133
-msgid "program"
-msgstr "Programm"
-
-#: bas.c:1137
-msgid "`if' branch"
-msgstr "`if' Zweig"
-
-#: bas.c:1138
-msgid "`do' loop"
-msgstr "`do' Schleife"
-
-#: bas.c:1139
-msgid "`do while' or `do until' loop"
-msgstr "`do while' oder `do until' Schleife"
-
-#: bas.c:1140
-msgid "`else' branch"
-msgstr "`else' Zweig"
-
-#: bas.c:1141
-msgid "`for' loop"
-msgstr "`for' Schleife"
-
-#: bas.c:1142
-msgid "`while' loop"
-msgstr "`while' Schleife"
-
-#: bas.c:1143
-msgid "`repeat' loop"
-msgstr "`repeat' Schleife"
-
-#: bas.c:1144
-msgid "`select case' control structure"
-msgstr "`select case' Steuerstruktur"
-
-#: bas.c:1145
-msgid "function or procedure"
-msgstr "Funktion oder Prozedur"
-
-#: bas.c:1180 global.c:179 global.c:208 global.c:955
-msgid "position"
-msgstr "Position"
-
-#: bas.c:1187 bas.c:1189 global.c:180 global.c:196 global.c:209 global.c:242
-#: global.c:841 global.c:863 global.c:886 global.c:1048 global.c:1071
-#: global.c:1185 global.c:1240 global.c:1289 global.c:1299 global.c:1318
-msgid "length"
-msgstr "Länge"
-
-#: bas.c:1197 bas.c:1242 statement.c:1671
-msgid "rhs"
-msgstr "rechte Seite"
-
-#: bas.c:1367 bas.c:1415
-msgid "Error: "
-msgstr "Fehler: "
-
-#: bas.c:1435 bas.c:1440 bas.c:1448 bas.c:1453 statement.c:503 statement.c:511
-msgid "dimension"
-msgstr "Dimension"
-
-#: bas.c:1476 bas.c:1479 statement.c:413 value.c:56
-msgid "integer"
-msgstr "Ganzzahl"
-
-#: bas.c:1480 bas.c:1496
-msgid "converted value"
-msgstr "Konvertierter Wert"
-
-#: bas.c:1492 bas.c:1495 statement.c:414 value.c:57
-msgid "real"
-msgstr "Fließkomma"
-
-#: bas.c:1597
-msgid "bas: Executing `"
-msgstr "bas: Ausführung von `"
-
-#: bas.c:1599
-msgid "' failed ("
-msgstr "' nicht möglich ("
-
-#: bas.c:1601
-msgid ").\n"
-msgstr ").\n"
-
-#: bas.c:1645
-msgid "This is free software with ABSOLUTELY NO WARRANTY.\n"
-msgstr "Dies ist freie Software ohne JEGLICHE GEWÄHRLEISTUNG.\n"
-
-#: bas.c:1663
-msgid ""
-"\n"
-"Break\n"
-msgstr ""
-"\n"
-"Abbruch\n"
-
-#: bas.c:1701 error.h:95
-msgid "Use `renum' to number program first"
-msgstr "Benutzen sie `renum' um das Programm erst zu nummerieren"
-
-#: bas.c:1711
-msgid "END program\n"
-msgstr "END benutzt\n"
-
-#: bas.c:1717
-msgid "Invalid line\n"
-msgstr "Ungültige Zeile\n"
-
-#: error.h:15
-msgid "Formal parameter already declared"
-msgstr "Formaler Parameter bereits deklariert"
-
-#: error.h:16
-msgid "Variable already declared as `local'"
-msgstr "Variable ist bereits als `local' deklariert"
-
-#: error.h:17
-#, c-format
-msgid "Identifier can not be declared as %s"
-msgstr "Bezeichner kann nicht als %s deklariert werden"
-
-#: error.h:18
-msgid "Ranges must be constructed from single letter identifiers"
-msgstr "Bereiche müssen durch einbuchstabige Bezeichner gebildet werden"
-
-#: error.h:19
-#, c-format
-msgid "Missing line number at the beginning of text line %d"
-msgstr "Fehlende Zeilennummer zu Beginn der Textzeile %d"
-
-#: error.h:20
-msgid "Invalid unary operand"
-msgstr "Ungültiger monadischer Operand"
-
-#: error.h:21
-msgid "Invalid binary operand"
-msgstr "Ungültiger binärer Operand"
-
-#: error.h:22
-msgid "Missing `as'"
-msgstr "Fehlendes `as'"
-
-#: error.h:23
-msgid "Missing colon `:'"
-msgstr "Fehlender Doppelpunkt `:'"
-
-#: error.h:24
-msgid "Missing comma `,'"
-msgstr "Fehlendes Komma `,'"
-
-#: error.h:25
-msgid "Missing right parenthesis `)'"
-msgstr "Fehlende schließende Klammer `)'"
-
-#: error.h:26
-msgid "Missing `data' input"
-msgstr "Fehlende `data' Eingabe"
-
-#: error.h:27
-msgid "Missing `dec'/`inc' variable identifier"
-msgstr "Fehlender `dec'/`inc' Variablenbezeichner"
-
-#: error.h:28
-msgid "Missing equal sign `='"
-msgstr "Fehlendes Gleichheitszeichen `='"
-
-#: error.h:29
-#, c-format
-msgid "Expected %s expression"
-msgstr "Fehlender Ausdruck für %s"
-
-#: error.h:30
-msgid "Missing `file'"
-msgstr "Fehlendes `file'"
-
-#: error.h:31
-msgid "Missing `goto' or `gosub'"
-msgstr "Fehlendes `goto' oder `gosub'"
-
-#: error.h:32
-msgid "Missing variable identifier"
-msgstr "Fehlender Variablenbezeichner"
-
-#: error.h:33
-msgid "Missing procedure identifier"
-msgstr "Fehlender Prozedurbezeichner"
-
-#: error.h:34
-msgid "Missing function identifier"
-msgstr "Fehlender Funktionsbezeichner"
-
-#: error.h:35
-msgid "Missing array variable identifier"
-msgstr "Fehlender Feldvariablenbezeichner"
-
-#: error.h:36
-msgid "Missing string variable identifier"
-msgstr "Fehlender Zeichenkettenvariablenbezeichner"
-
-#: error.h:37
-msgid "Missing loop variable identifier"
-msgstr "Fehlender Schleifenvariablenbezeichner"
-
-#: error.h:38
-msgid "Missing formal parameter identifier"
-msgstr "Fehlender Formalparameterbezeichner"
-
-#: error.h:39
-msgid "Missing `read' variable identifier"
-msgstr "Fehlender `read' Variablenbezeichner"
-
-#: error.h:40
-msgid "Missing `swap' variable identifier"
-msgstr "Fehlender `swap' Variablenbezeichner"
-
-#: error.h:41
-msgid "Missing matrix variable identifier"
-msgstr "Fehlender Matrixvariablenbezeichner"
-
-#: error.h:42
-msgid "Missing line increment"
-msgstr "Fehlendes Zeileninkrement"
-
-#: error.h:43
-msgid "Missing `len'"
-msgstr "Fehlendes `len'"
-
-#: error.h:44
-msgid "Missing line number"
-msgstr "Fehlende Zeilennummer"
-
-#: error.h:45
-msgid "Missing left parenthesis `('"
-msgstr "Fehlende öffnende Klammer `('"
-
-#: error.h:46
-msgid "Missing semicolon `;'"
-msgstr "Fehlender Strichpunkt `;'"
-
-#: error.h:47
-msgid "Missing semicolon `;' or comma `,'"
-msgstr "Fehlender Strichpunkt `;'"
-
-#: error.h:48
-msgid "Missing star `*'"
-msgstr "Fehlender Stern `*'"
-
-#: error.h:49
-msgid "Missing statement"
-msgstr "Fehlende Anweisung"
-
-#: error.h:50
-msgid "Missing `then'"
-msgstr "Fehlendes `then'"
-
-#: error.h:51
-msgid "Missing `to'"
-msgstr "Fehlendes `to'"
-
-#: error.h:52
-msgid "Nested definition"
-msgstr "Verschachtelte Definition"
-
-#: error.h:53
-msgid "No program"
-msgstr "Kein Programm"
-
-#: error.h:54
-msgid "No such `data' line"
-msgstr "Es gibt keine solche `data' Zeile"
-
-#: error.h:55
-msgid "No such line"
-msgstr "Diese Zeile gibt es nicht"
-
-#: error.h:56
-msgid "Redeclaration as different kind of symbol"
-msgstr "Wiederholte Deklaration mit anderem Symboltyp"
-
-#: error.h:57
-msgid "`case' without `select case'"
-msgstr "`case' ohne `select case'"
-
-#: error.h:58
-msgid "`do' without `loop'"
-msgstr "`do' ohne `loop'"
-
-#: error.h:59
-msgid "`do while' or `do until' without `loop'"
-msgstr "`do while' oder `do until' ohne `loop'"
-
-#: error.h:60
-msgid "`else' without `if'"
-msgstr "`else' ohne `if'"
-
-#: error.h:61
-msgid "`else' without `end if'"
-msgstr "`else' ohne `end if'"
-
-#: error.h:62
-msgid "`end if' without multiline `if' or `else'"
-msgstr "`end if' ohne mehrzeiliges `if' oder `else'"
-
-#: error.h:63
-#, c-format
-msgid "`subend', `end sub' or `endproc' without `sub' or `def proc' inside %s"
-msgstr ""
-"`subend', `end sub' oder `endproc' ohne `sub' oder `def proc' innerhalb von %"
-"s"
-
-#: error.h:64
-#, c-format
-msgid "`subexit' without `sub' inside %s"
-msgstr "`subexit' ohne `sub' innerhalb %s"
-
-#: error.h:65
-msgid "`end select' without `select case'"
-msgstr "`end select' ohne `select case'"
-
-#: error.h:66
-msgid "`end function' without `def fn' or `function'"
-msgstr "`end function' ohne `def fn' oder `function'"
-
-#: error.h:67
-msgid "`=' returning from function without `def fn'"
-msgstr "`=' beendet Funktion ohne `def fn'"
-
-#: error.h:68
-msgid "`exit do' without `do'"
-msgstr "`exit do' ohne `do'"
-
-#: error.h:69
-msgid "`exit for' without `for'"
-msgstr "`exit for' ohne `for'"
-
-#: error.h:70
-msgid "`fnend' without `def fn'"
-msgstr "`fnend' ohne `def fn'"
-
-#: error.h:71
-msgid "`exit function' outside function declaration"
-msgstr "`exit function' außerhalb einer Funktionsdeklaration"
-
-#: error.h:72
-msgid "`fnreturn' without `def fn'"
-msgstr "`fnreturn' ohne `def fn'"
-
-#: error.h:73
-msgid "`for' without `next'"
-msgstr "`for' ohne `next'"
-
-#: error.h:74
-msgid "Function/procedure declaration without end"
-msgstr "Funktions-/Prozedurdeklaration ohne Ende"
-
-#: error.h:75
-msgid "`if' without `end if'"
-msgstr "`if' ohne `end if'"
-
-#: error.h:76
-msgid "`local' without `def fn' or `def proc'"
-msgstr "`local' ohne `def fn' oder `def proc'"
-
-#: error.h:77
-msgid "`loop' without `do'"
-msgstr "`loop' ohne `do'"
-
-#: error.h:78
-msgid "`loop until' without `do'"
-msgstr "`loop until' ohne `do'"
-
-#: error.h:79
-#, c-format
-msgid "`next' without `for' inside %s"
-msgstr "`next' ohne `for' innerhalb %s"
-
-#: error.h:80
-msgid "`repeat' without `until'"
-msgstr "`repeat' ohne `until'"
-
-#: error.h:81
-msgid "`select case' without `end select'"
-msgstr "`select case' ohne `end select'"
-
-#: error.h:82
-msgid "`until' without `repeat'"
-msgstr "`until' ohne `repeat'"
-
-#: error.h:83
-#, c-format
-msgid "`wend' without `while' inside %s"
-msgstr "`wend' ohne `while' innerhalb %s"
-
-#: error.h:84
-msgid "`while' without `wend'"
-msgstr "`while' ohne `wend'"
-
-#: error.h:85
-msgid "Syntax"
-msgstr "Syntax"
-
-#: error.h:86
-msgid "Too few parameters"
-msgstr "Zu wenige Parameter"
-
-#: error.h:87
-msgid "Too many parameters"
-msgstr "Zu viele Parameter"
-
-#: error.h:88
-#, c-format
-msgid "Type mismatch (has %s, need %s)"
-msgstr "Typfehler (%s ist angegeben, %s wird benötigt)"
-
-#: error.h:89
-#, c-format
-msgid "Type mismatch of argument %d"
-msgstr "Typfehler bei Argument %d"
-
-#: error.h:90
-#, c-format
-msgid "%s of argument %d"
-msgstr "%s bei Argument %d"
-
-#: error.h:91
-msgid "Type mismatch (need string variable)"
-msgstr "Typfehler (Zeichenkette-Variable wird benötigt)"
-
-#: error.h:92
-msgid "Type mismatch (need numeric variable)"
-msgstr "Typfehler (Numerische Variable wird benötigt)"
-
-#: error.h:93
-msgid "Type mismatch (need numeric value)"
-msgstr "Typfehler (Numerischer Wert wird benötigt)"
-
-#: error.h:94
-msgid "Undeclared function or variable"
-msgstr "Undeklarierte Funktion oder Variable"
-
-#: error.h:96
-msgid "Line out of scope"
-msgstr "Zeile außerhalb des gültigen Bereiches"
-
-#: error.h:97
-msgid "Procedures do not return values"
-msgstr "Prozeduren geben keine Werte zurück"
-
-#: error.h:98
-msgid "Unreachable statement"
-msgstr "Unerreichbarer Befehl"
-
-#: error.h:99
-msgid "Wrong access mode"
-msgstr "Falscher Zugriffsmodus"
-
-#: error.h:100
-msgid "`next' variable does not match `for' variable"
-msgstr "`next' Variable passt nicht zu `for' Variable"
-
-#: error.h:101
-msgid "No such `image' line"
-msgstr "Es gibt keine solche `image' Zeile"
-
-#: error.h:102
-msgid "Missing `image' format"
-msgstr "Fehlendes `image' Format"
-
-#: error.h:103
-msgid "Missing relational operator"
-msgstr "Fehlender Vergleichsoperator"
-
-#: error.h:107
-msgid "Missing `input' data"
-msgstr "Fehlende Daten für `input'"
-
-#: error.h:108
-msgid "Missing character after underscore `_' in format string"
-msgstr "In der Format-Zeichenkette fehlt nach dem Unterstrich `_' ein Zeichen"
-
-#: error.h:109
-msgid "Not allowed in interactive mode"
-msgstr "Im interaktiven Modus nicht erlaubt"
-
-#: error.h:110
-msgid "Not allowed in program mode"
-msgstr "Im Programm-Modus nicht erlaubt"
-
-#: error.h:111
-msgid "Break"
-msgstr "Abbruch"
-
-#: error.h:112
-#, c-format
-msgid "%s is undefined"
-msgstr "%s ist nicht definiert"
-
-#: error.h:113
-#, c-format
-msgid "%s is out of range"
-msgstr "%s ist außerhalb des zulässigen Bereiches"
-
-#: error.h:114
-msgid "`resume' without exception"
-msgstr "`resume' ohne Exception"
-
-#: error.h:115
-msgid "`return' without `gosub'"
-msgstr "`return' ohne `gosub'"
-
-#: error.h:116
-#, c-format
-msgid "Bad %s conversion"
-msgstr "%s-Konvertierung nicht möglich"
-
-#: error.h:117
-#, c-format
-msgid "Input/Output error (%s)"
-msgstr "Ein-/Ausgabefehler (%s)"
-
-#: error.h:118
-#, c-format
-msgid "Input/Output error (Creating `%s' failed: %s)"
-msgstr "Ein-/Ausgabefehler (Erzeugung von `%s' nicht möglich: %s)"
-
-#: error.h:119
-#, c-format
-msgid "Input/Output error (Closing `%s' failed: %s)"
-msgstr "Ein-/Ausgabefehler (Schließen von `%s' nicht möglich: %s)"
-
-#: error.h:120
-#, c-format
-msgid "Input/Output error (Opening `%s' failed: %s)"
-msgstr "Ein-/Ausgabefehler (Öffnen von `%s' nicht möglich: %s)"
-
-#: error.h:121
-#, c-format
-msgid "Setting environment variable failed (%s)"
-msgstr "Die Umgebungsvariable kann nicht gesetzt werden (%s)."
-
-#: error.h:122
-msgid "Trying to redimension existing array"
-msgstr "Bereits existierende Fehler können nicht redimensioniert werden."
-
-#: error.h:123
-#, c-format
-msgid "Forking child process failed (%s)"
-msgstr "Es konnte kein Prozeß erzeugt werden (%s)"
-
-#: error.h:124
-msgid "Invalid mode"
-msgstr "Ungültiger Modus"
-
-#: error.h:125
-msgid "end of `data'"
-msgstr "Ende von `data'"
-
-#: error.h:126
-msgid "Dimension mismatch"
-msgstr "Die Dimensionen stimmen nicht überein"
-
-#: error.h:127
-#, c-format
-msgid "Variable dimension must be 2 (is %d), base must be 0 or 1 (is %d)"
-msgstr ""
-"Die Variablendimension muß 2 sein (ist %d) und die Basis muss 0 oder 1 sein "
-"(ist %d)"
-
-#: error.h:128
-msgid "Singular matrix"
-msgstr "Singuläre Matrix"
-
-#: error.h:129
-msgid "Syntax error in print format"
-msgstr "Syntaktisch fehlerhaftes Druckformat"
-
-#: error.h:130
-msgid "Out of memory"
-msgstr "Nicht genug Speicher"
-
-#: error.h:131
-msgid "Restricted"
-msgstr ""
-
-#: fs.c:80
-#, c-format
-msgid "channel #%d not open"
-msgstr "Kanal #%d nicht offen"
-
-#: fs.c:90
-#, c-format
-msgid "channel #%d not opened for writing"
-msgstr "Kanal #%d nicht zum Schreiben geöffnet"
-
-#: fs.c:96
-#, c-format
-msgid "channel #%d not opened for reading"
-msgstr "Kanal #%d nicht zum Lesen geöffnet"
-
-#: fs.c:102
-#, c-format
-msgid "channel #%d not opened for random access"
-msgstr "Kanal #%d nicht für direkten Zugriff geöffnet"
-
-#: fs.c:108
-#, c-format
-msgid "channel #%d not opened for binary access"
-msgstr "Kanal #%d nicht für binären Zugriff geöffnet"
-
-#: fs.c:114
-#, c-format
-msgid "channel #%d not opened for random or binary access"
-msgstr "Kanal #%d nicht für direkten oder binären Zugriff geöffnet"
-
-#: fs.c:241
-msgid "environment variable TERM is not set"
-msgstr "Umgebungsvariable TERM ist nicht gesetzt"
-
-#: fs.c:248
-msgid "reading terminal description failed"
-msgstr "Einlesen der Terminalbeschreibung nicht möglich"
-
-#: fs.c:253
-#, c-format
-msgid "unknown terminal type %s"
-msgstr "Unbekannter Terminaltyp %s"
-
-#: fs.c:281
-#, c-format
-msgid "terminal type %s can not clear the screen"
-msgstr "Terminaltyp %s kann den Bildschirm nicht löschen"
-
-#: fs.c:294
-#, c-format
-msgid "terminal type %s can not position the cursor"
-msgstr "Terminaltyp %s kann den Cursor nicht positionieren"
-
-#: fs.c:356 fs.c:362 fs.c:368
-msgid "This installation does not support terminal handling"
-msgstr "Diese Installation bietet keine Terminalunterstützung"
-
-#: fs.c:396 fs.c:477 fs.c:550 fs.c:599 fs.c:632
-msgid "channel already open"
-msgstr "Kanal bereits offen"
-
-#: fs.c:669 fs.c:692 fs.c:736 fs.c:768 fs.c:1338
-msgid "channel not open"
-msgstr "Kanal #%d nicht offen"
-
-#: fs.c:924 fs.c:940 fs.c:956
-msgid "End of file"
-msgstr "Dateiende"
-
-#: fs.c:1010
-msgid "negative width"
-msgstr "Negative Breite"
-
-#: fs.c:1022
-msgid "non-positive zone width"
-msgstr "Nichtpositive Zonenbreite"
-
-#: fs.c:1037 fs.c:1054 fs.c:1071
-msgid "not a terminal"
-msgstr "ist kein Terminal"
-
-#: fs.c:1400 fs.c:1412
-msgid "Direct port access not available"
-msgstr "Direkter Portzugriff ist nicht möglich"
-
-#: fs.c:1406 fs.c:1418
-msgid "Direct memory access not available"
-msgstr "Direkter Speicherzugriff ist nicht möglich"
-
-#: getopt.c:681
-#, c-format
-msgid "%s: option `%s' is ambiguous\n"
-msgstr "%s: Option `%s' ist mehrdeutig.\n"
-
-#: getopt.c:705
-#, c-format
-msgid "%s: option `--%s' doesn't allow an argument\n"
-msgstr "%s: Option `--%s' erlaubt kein Argument.\n"
-
-#: getopt.c:710
-#, c-format
-msgid "%s: option `%c%s' doesn't allow an argument\n"
-msgstr "%s: Option `%c%s' erlaubt kein Argument.\n"
-
-#: getopt.c:727 getopt.c:900
-#, c-format
-msgid "%s: option `%s' requires an argument\n"
-msgstr "%s: Option `%s' benötigt ein Argument.\n"
-
-#. --option
-#: getopt.c:756
-#, c-format
-msgid "%s: unrecognized option `--%s'\n"
-msgstr "%s: Unbekannte Option `--%s'\n"
-
-#. +option or -option
-#: getopt.c:760
-#, c-format
-msgid "%s: unrecognized option `%c%s'\n"
-msgstr "%s: Unbekannte Option `%c%s'\n"
-
-#. 1003.2 specifies the format of this message.
-#: getopt.c:786
-#, c-format
-msgid "%s: illegal option -- %c\n"
-msgstr "%s: Ungültige Option -- %c\n"
-
-#: getopt.c:789
-#, c-format
-msgid "%s: invalid option -- %c\n"
-msgstr "%s: Ungültige Option -- %c\n"
-
-#. 1003.2 specifies the format of this message.
-#: getopt.c:819 getopt.c:949
-#, c-format
-msgid "%s: option requires an argument -- %c\n"
-msgstr "%s: Option benötigt ein Argument -- %c\n"
-
-#: getopt.c:866
-#, c-format
-msgid "%s: option `-W %s' is ambiguous\n"
-msgstr "%s: Option `-W %s' ist mehrdeutig\n"
-
-#: getopt.c:884
-#, c-format
-msgid "%s: option `-W %s' doesn't allow an argument\n"
-msgstr "%s: Option `-W %s' erlaubt kein Argument\n"
-
-#: global.c:197
-msgid "code"
-msgstr "Code"
-
-#: global.c:258
-msgid "variable number"
-msgstr "Variablennummer"
-
-#: global.c:283
-msgid "`asc' or `code' of empty string"
-msgstr "`asc' oder `code' von leerer Zeichenkette"
-
-#: global.c:303 global.c:318 global.c:338 global.c:424 global.c:434
-#: global.c:552 global.c:614 global.c:652 global.c:670 global.c:690
-#: global.c:707
-msgid "number"
-msgstr "Zahl"
-
-#: global.c:328 global.c:340 global.c:680 global.c:692
-msgid "digits"
-msgstr "Ziffern"
-
-#: global.c:348 global.c:1279 global.c:1301
-msgid "character code"
-msgstr "Zeichencode"
-
-#: global.c:383 global.c:399
-msgid "argument number"
-msgstr "Argumentnummer"
-
-#: global.c:748 global.c:778
-msgid "time"
-msgstr "Zeit"
-
-#: global.c:763 global.c:780 statement.c:179 statement.c:1036 statement.c:1208
-#: statement.c:1387 statement.c:1590 statement.c:1793 statement.c:2142
-#: statement.c:2262 statement.c:2477 statement.c:2808 statement.c:2815
-#: statement.c:2887 statement.c:3035 statement.c:3825 statement.c:3947
-#: statement.c:3981 statement.c:4040
-msgid "channel"
-msgstr "Kanal"
-
-#: global.c:813 global.c:825 global.c:851 global.c:861 global.c:1033
-#: global.c:1058 global.c:1069
-msgid "start"
-msgstr "Start"
-
-#: global.c:911 global.c:918 global.c:925
-msgid "Logarithm of negative value"
-msgstr "Logarithmus von negativem Wert"
-
-#: global.c:1208 statement.c:2608
-msgid "limit"
-msgstr "Grenze"
-
-#: global.c:1249
-msgid "Square root argument"
-msgstr "Argument der Quadratwurzel"
-
-#: global.c:1307 global.c:1319
-msgid "`string$' of empty string"
-msgstr "`string$' von leerer Zeichenkette"
-
-#: main.c:76
-#, fuzzy
-msgid "Usage: bas [-b] [-l file] [-r] [-u] [program [argument ...]]\n"
-msgstr "Aufruf: bas [-b] [-l Datei] [-u] [Programm [Argument ...]]\n"
-
-#: main.c:77 main.c:87
-#, fuzzy
-msgid ""
-" bas [--backslash-colon] [--lp file] [--restricted] [--uppercase] "
-"[program [argument ...]]\n"
-msgstr ""
-" bas [--backslash-colon] [--lp Datei] [--uppercase] [Programm "
-"[Argument ...]]\n"
-
-#: main.c:78 main.c:88
-msgid " bas -h|--help\n"
-msgstr " bas -h|--help\n"
-
-#: main.c:79 main.c:89
-msgid " bas --version\n"
-msgstr " bas --version\n"
-
-#: main.c:81
-msgid "Try `bas -h' or `bas --help' for more information.\n"
-msgstr "Versuchen Sie `bas -h' oder `bas --help' für weitere Informationen.\n"
-
-#: main.c:86
-msgid "Usage: bas [-b] [-l file] [-u] [program [argument ...]]\n"
-msgstr "Aufruf: bas [-b] [-l Datei] [-u] [Programm [Argument ...]]\n"
-
-#: main.c:91
-msgid "BASIC interpreter.\n"
-msgstr "BASIC Interpreter.\n"
-
-#: main.c:93
-msgid "-b, --backslash-colon convert backslashs to colons\n"
-msgstr ""
-"-b, --backslash-colon Konvertiert linksseitige Schrägstriche in\n"
-" Doppelpunkte\n"
-
-#: main.c:94
-msgid "-l, --lp write LPRINT output to file\n"
-msgstr "-l, --lp Schreibt LPRINT Ausgaben in die Datei\n"
-
-#: main.c:95
-msgid "-r, --restricted forbid SHELL\n"
-msgstr ""
-
-#: main.c:96
-msgid "-u, --uppercase output all tokens in uppercase\n"
-msgstr "-u, --uppercase Alle Tokens in Großbuchstaben ausgeben\n"
-
-#: main.c:97
-msgid "-h, --help display this help and exit\n"
-msgstr "-h, --help Diese Hilfe anzeigen und beenden\n"
-
-#: main.c:98
-msgid " --version output version information and exit\n"
-msgstr " --version Versionsinformation ausgeben und beenden\n"
-
-#: main.c:100
-msgid "Report bugs to <michael@moria.de>.\n"
-msgstr "Teilen Sie Fehler <michael@moria.de> mit.\n"
-
-#: main.c:105
-#, c-format
-msgid "bas: Opening `%s' for line printer output failed (%s).\n"
-msgstr ""
-"bas: Die Datei `%s' kann nicht für Druckausgaben geöffnet werden (%s).\n"
-
-#: program.c:295
-#, c-format
-msgid " in line %ld at:\n"
-msgstr " in Zeile %ld:\n"
-
-#: program.c:302
-msgid " at: end of program\n"
-msgstr ": Ende des Programms\n"
-
-#: program.c:307
-msgid " at: "
-msgstr ": "
-
-#: program.c:309
-msgid "end of line\n"
-msgstr "Zeilenende\n"
-
-#: program.c:744
-msgid "Function Referenced in line\n"
-msgstr "Funktion Referenziert in Zeile\n"
-
-#: program.c:753
-msgid "Variable Referenced in line\n"
-msgstr "Variable Referenziert in Zeile\n"
-
-#: program.c:762
-msgid "Gosub Referenced in line\n"
-msgstr "Gosub Referenziert in Zeile\n"
-
-#: program.c:771
-msgid "Goto Referenced in line\n"
-msgstr "Goto Referenziert in Zeile\n"
-
-#: statement.c:136
-msgid "directory"
-msgstr "Verzeichnis"
-
-#: statement.c:224
-msgid "foreground colour"
-msgstr "Vordergrundfarbe"
-
-#: statement.c:239
-msgid "background colour"
-msgstr "Hintergrundfarbe"
-
-#: statement.c:256
-msgid "border colour"
-msgstr "Rahmenfarbe"
-
-#: statement.c:415 value.c:58
-msgid "string"
-msgstr "Zeichenkette"
-
-#: statement.c:570 statement.c:1355 statement.c:1483 statement.c:2547
-#: statement.c:2555 statement.c:2818 statement.c:3427
-msgid "file name"
-msgstr "Dateiname"
-
-#: statement.c:674
-msgid "generating temporary file name failed"
-msgstr "Erzeugung eines temporären Dateinamens nicht möglich"
-
-#: statement.c:890
-msgid "environment variable"
-msgstr "Umgebungsvariable"
-
-#: statement.c:956
-msgid "return"
-msgstr "Funktionswert"
-
-#: statement.c:1050 statement.c:1056
-msgid "field width"
-msgstr "Feldbreite"
-
-#: statement.c:1187
-msgid "implicit STEP 1:"
-msgstr "Impliziter Schritt 1:"
-
-#: statement.c:1227
-msgid "record number"
-msgstr "Datensatznummer"
-
-#: statement.c:1245
-msgid "`put'/`get' data"
-msgstr "`put'/`get' Daten"
-
-#: statement.c:1420 statement.c:1828 statement.c:2198
-msgid "end of file"
-msgstr "Dateiende"
-
-#: statement.c:1556 statement.c:1562
-msgid "row"
-msgstr "Zeile"
-
-#: statement.c:1567 statement.c:1573
-msgid "column"
-msgstr "Spalte"
-
-#: statement.c:1628 statement.c:1728 statement.c:3855 statement.c:3915
-msgid "condition"
-msgstr "Bedingung"
-
-#: statement.c:1901
-msgid "Too much input data\n"
-msgstr "Zu viele Eingabedaten\n"
-
-#: statement.c:1990
-msgid "factor"
-msgstr "Faktor"
-
-#. }}}
-#: statement.c:2130
-msgid "matrix"
-msgstr "Matrix"
-
-#: statement.c:2284 statement.c:3057
-msgid "format string"
-msgstr "Formatzeichenkette"
-
-#: statement.c:2614
-msgid "step"
-msgstr "Schrittweite"
-
-#: statement.c:2695 statement.c:3464
-msgid "selector"
-msgstr "Auswahl"
-
-#: statement.c:2785
-msgid "mode or file"
-msgstr "Modus oder Datei"
-
-#: statement.c:2828 statement.c:2840 statement.c:2913 statement.c:2925
-msgid "record length"
-msgstr "Satzlänge"
-
-#: statement.c:2967
-msgid "array subscript base"
-msgstr "Feldindexbasis"
-
-#: statement.c:3003 statement.c:3876
-msgid "address"
-msgstr "Adresse"
-
-#: statement.c:3008
-msgid "output value"
-msgstr "Ausgabewert"
-
-#: statement.c:3125
-msgid "count"
-msgstr "Anzahl"
-
-#: statement.c:3196
-msgid "random number generator seed"
-msgstr "Zufallszahlengenerator Start"
-
-#: statement.c:3239
-msgid "source file"
-msgstr "Quelldatei"
-
-#: statement.c:3252
-msgid "destination file"
-msgstr "Zieldatei"
-
-#: statement.c:3691 statement.c:3698
-msgid "pause"
-msgstr "Pause"
-
-#: statement.c:3778
-msgid "Quit without saving? (y/n) "
-msgstr "Beenden ohne zu speichern? (j/n) "
-
-#: statement.c:3785
-msgid "yes"
-msgstr "ja"
-
-#: statement.c:3881
-msgid "mask"
-msgstr "Maske"
-
-#: statement.c:3887
-msgid "select"
-msgstr "Auswahl"
-
-#. }}}
-#: statement.c:3963 statement.c:4046
-msgid "zone width"
-msgstr "Zonenbreite"
-
-#: value.c:59
-msgid "void"
-msgstr "leer"
-
-#: value.c:1289
-msgid "unpaired \\ in format"
-msgstr "Unpaariges \\ im Format"
-
-#: var.c:100
-msgid "array index"
-msgstr "Feldindex"
-
-#~ msgid "line number"
-#~ msgstr "Zeilennummer"
diff --git a/apps/interpreters/bas/install-sh b/apps/interpreters/bas/install-sh
deleted file mode 100644
index 377bb8687..000000000
--- a/apps/interpreters/bas/install-sh
+++ /dev/null
@@ -1,527 +0,0 @@
-#!/bin/sh
-# install - install a program, script, or datafile
-
-scriptversion=2011-11-20.07; # UTC
-
-# This originates from X11R5 (mit/util/scripts/install.sh), which was
-# later released in X11R6 (xc/config/util/install.sh) with the
-# following copyright and license.
-#
-# Copyright (C) 1994 X Consortium
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to
-# deal in the Software without restriction, including without limitation the
-# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-# sell copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
-# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
-# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-#
-# Except as contained in this notice, the name of the X Consortium shall not
-# be used in advertising or otherwise to promote the sale, use or other deal-
-# ings in this Software without prior written authorization from the X Consor-
-# tium.
-#
-#
-# FSF changes to this file are in the public domain.
-#
-# Calling this script install-sh is preferred over install.sh, to prevent
-# 'make' implicit rules from creating a file called install from it
-# when there is no Makefile.
-#
-# This script is compatible with the BSD install script, but was written
-# from scratch.
-
-nl='
-'
-IFS=" "" $nl"
-
-# set DOITPROG to echo to test this script
-
-# Don't use :- since 4.3BSD and earlier shells don't like it.
-doit=${DOITPROG-}
-if test -z "$doit"; then
- doit_exec=exec
-else
- doit_exec=$doit
-fi
-
-# Put in absolute file names if you don't have them in your path;
-# or use environment vars.
-
-chgrpprog=${CHGRPPROG-chgrp}
-chmodprog=${CHMODPROG-chmod}
-chownprog=${CHOWNPROG-chown}
-cmpprog=${CMPPROG-cmp}
-cpprog=${CPPROG-cp}
-mkdirprog=${MKDIRPROG-mkdir}
-mvprog=${MVPROG-mv}
-rmprog=${RMPROG-rm}
-stripprog=${STRIPPROG-strip}
-
-posix_glob='?'
-initialize_posix_glob='
- test "$posix_glob" != "?" || {
- if (set -f) 2>/dev/null; then
- posix_glob=
- else
- posix_glob=:
- fi
- }
-'
-
-posix_mkdir=
-
-# Desired mode of installed file.
-mode=0755
-
-chgrpcmd=
-chmodcmd=$chmodprog
-chowncmd=
-mvcmd=$mvprog
-rmcmd="$rmprog -f"
-stripcmd=
-
-src=
-dst=
-dir_arg=
-dst_arg=
-
-copy_on_change=false
-no_target_directory=
-
-usage="\
-Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
- or: $0 [OPTION]... SRCFILES... DIRECTORY
- or: $0 [OPTION]... -t DIRECTORY SRCFILES...
- or: $0 [OPTION]... -d DIRECTORIES...
-
-In the 1st form, copy SRCFILE to DSTFILE.
-In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
-In the 4th, create DIRECTORIES.
-
-Options:
- --help display this help and exit.
- --version display version info and exit.
-
- -c (ignored)
- -C install only if different (preserve the last data modification time)
- -d create directories instead of installing files.
- -g GROUP $chgrpprog installed files to GROUP.
- -m MODE $chmodprog installed files to MODE.
- -o USER $chownprog installed files to USER.
- -s $stripprog installed files.
- -t DIRECTORY install into DIRECTORY.
- -T report an error if DSTFILE is a directory.
-
-Environment variables override the default commands:
- CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
- RMPROG STRIPPROG
-"
-
-while test $# -ne 0; do
- case $1 in
- -c) ;;
-
- -C) copy_on_change=true;;
-
- -d) dir_arg=true;;
-
- -g) chgrpcmd="$chgrpprog $2"
- shift;;
-
- --help) echo "$usage"; exit $?;;
-
- -m) mode=$2
- case $mode in
- *' '* | *' '* | *'
-'* | *'*'* | *'?'* | *'['*)
- echo "$0: invalid mode: $mode" >&2
- exit 1;;
- esac
- shift;;
-
- -o) chowncmd="$chownprog $2"
- shift;;
-
- -s) stripcmd=$stripprog;;
-
- -t) dst_arg=$2
- # Protect names problematic for 'test' and other utilities.
- case $dst_arg in
- -* | [=\(\)!]) dst_arg=./$dst_arg;;
- esac
- shift;;
-
- -T) no_target_directory=true;;
-
- --version) echo "$0 $scriptversion"; exit $?;;
-
- --) shift
- break;;
-
- -*) echo "$0: invalid option: $1" >&2
- exit 1;;
-
- *) break;;
- esac
- shift
-done
-
-if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
- # When -d is used, all remaining arguments are directories to create.
- # When -t is used, the destination is already specified.
- # Otherwise, the last argument is the destination. Remove it from $@.
- for arg
- do
- if test -n "$dst_arg"; then
- # $@ is not empty: it contains at least $arg.
- set fnord "$@" "$dst_arg"
- shift # fnord
- fi
- shift # arg
- dst_arg=$arg
- # Protect names problematic for 'test' and other utilities.
- case $dst_arg in
- -* | [=\(\)!]) dst_arg=./$dst_arg;;
- esac
- done
-fi
-
-if test $# -eq 0; then
- if test -z "$dir_arg"; then
- echo "$0: no input file specified." >&2
- exit 1
- fi
- # It's OK to call 'install-sh -d' without argument.
- # This can happen when creating conditional directories.
- exit 0
-fi
-
-if test -z "$dir_arg"; then
- do_exit='(exit $ret); exit $ret'
- trap "ret=129; $do_exit" 1
- trap "ret=130; $do_exit" 2
- trap "ret=141; $do_exit" 13
- trap "ret=143; $do_exit" 15
-
- # Set umask so as not to create temps with too-generous modes.
- # However, 'strip' requires both read and write access to temps.
- case $mode in
- # Optimize common cases.
- *644) cp_umask=133;;
- *755) cp_umask=22;;
-
- *[0-7])
- if test -z "$stripcmd"; then
- u_plus_rw=
- else
- u_plus_rw='% 200'
- fi
- cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
- *)
- if test -z "$stripcmd"; then
- u_plus_rw=
- else
- u_plus_rw=,u+rw
- fi
- cp_umask=$mode$u_plus_rw;;
- esac
-fi
-
-for src
-do
- # Protect names problematic for 'test' and other utilities.
- case $src in
- -* | [=\(\)!]) src=./$src;;
- esac
-
- if test -n "$dir_arg"; then
- dst=$src
- dstdir=$dst
- test -d "$dstdir"
- dstdir_status=$?
- else
-
- # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
- # might cause directories to be created, which would be especially bad
- # if $src (and thus $dsttmp) contains '*'.
- if test ! -f "$src" && test ! -d "$src"; then
- echo "$0: $src does not exist." >&2
- exit 1
- fi
-
- if test -z "$dst_arg"; then
- echo "$0: no destination specified." >&2
- exit 1
- fi
- dst=$dst_arg
-
- # If destination is a directory, append the input filename; won't work
- # if double slashes aren't ignored.
- if test -d "$dst"; then
- if test -n "$no_target_directory"; then
- echo "$0: $dst_arg: Is a directory" >&2
- exit 1
- fi
- dstdir=$dst
- dst=$dstdir/`basename "$src"`
- dstdir_status=0
- else
- # Prefer dirname, but fall back on a substitute if dirname fails.
- dstdir=`
- (dirname "$dst") 2>/dev/null ||
- expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$dst" : 'X\(//\)[^/]' \| \
- X"$dst" : 'X\(//\)$' \| \
- X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
- echo X"$dst" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'
- `
-
- test -d "$dstdir"
- dstdir_status=$?
- fi
- fi
-
- obsolete_mkdir_used=false
-
- if test $dstdir_status != 0; then
- case $posix_mkdir in
- '')
- # Create intermediate dirs using mode 755 as modified by the umask.
- # This is like FreeBSD 'install' as of 1997-10-28.
- umask=`umask`
- case $stripcmd.$umask in
- # Optimize common cases.
- *[2367][2367]) mkdir_umask=$umask;;
- .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
-
- *[0-7])
- mkdir_umask=`expr $umask + 22 \
- - $umask % 100 % 40 + $umask % 20 \
- - $umask % 10 % 4 + $umask % 2
- `;;
- *) mkdir_umask=$umask,go-w;;
- esac
-
- # With -d, create the new directory with the user-specified mode.
- # Otherwise, rely on $mkdir_umask.
- if test -n "$dir_arg"; then
- mkdir_mode=-m$mode
- else
- mkdir_mode=
- fi
-
- posix_mkdir=false
- case $umask in
- *[123567][0-7][0-7])
- # POSIX mkdir -p sets u+wx bits regardless of umask, which
- # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
- ;;
- *)
- tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
- trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
-
- if (umask $mkdir_umask &&
- exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
- then
- if test -z "$dir_arg" || {
- # Check for POSIX incompatibilities with -m.
- # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
- # other-writable bit of parent directory when it shouldn't.
- # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
- ls_ld_tmpdir=`ls -ld "$tmpdir"`
- case $ls_ld_tmpdir in
- d????-?r-*) different_mode=700;;
- d????-?--*) different_mode=755;;
- *) false;;
- esac &&
- $mkdirprog -m$different_mode -p -- "$tmpdir" && {
- ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
- test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
- }
- }
- then posix_mkdir=:
- fi
- rmdir "$tmpdir/d" "$tmpdir"
- else
- # Remove any dirs left behind by ancient mkdir implementations.
- rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
- fi
- trap '' 0;;
- esac;;
- esac
-
- if
- $posix_mkdir && (
- umask $mkdir_umask &&
- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
- )
- then :
- else
-
- # The umask is ridiculous, or mkdir does not conform to POSIX,
- # or it failed possibly due to a race condition. Create the
- # directory the slow way, step by step, checking for races as we go.
-
- case $dstdir in
- /*) prefix='/';;
- [-=\(\)!]*) prefix='./';;
- *) prefix='';;
- esac
-
- eval "$initialize_posix_glob"
-
- oIFS=$IFS
- IFS=/
- $posix_glob set -f
- set fnord $dstdir
- shift
- $posix_glob set +f
- IFS=$oIFS
-
- prefixes=
-
- for d
- do
- test X"$d" = X && continue
-
- prefix=$prefix$d
- if test -d "$prefix"; then
- prefixes=
- else
- if $posix_mkdir; then
- (umask=$mkdir_umask &&
- $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
- # Don't fail if two instances are running concurrently.
- test -d "$prefix" || exit 1
- else
- case $prefix in
- *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
- *) qprefix=$prefix;;
- esac
- prefixes="$prefixes '$qprefix'"
- fi
- fi
- prefix=$prefix/
- done
-
- if test -n "$prefixes"; then
- # Don't fail if two instances are running concurrently.
- (umask $mkdir_umask &&
- eval "\$doit_exec \$mkdirprog $prefixes") ||
- test -d "$dstdir" || exit 1
- obsolete_mkdir_used=true
- fi
- fi
- fi
-
- if test -n "$dir_arg"; then
- { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
- { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
- { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
- test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
- else
-
- # Make a couple of temp file names in the proper directory.
- dsttmp=$dstdir/_inst.$$_
- rmtmp=$dstdir/_rm.$$_
-
- # Trap to clean up those temp files at exit.
- trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
-
- # Copy the file name to the temp name.
- (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
-
- # and set any options; do chmod last to preserve setuid bits.
- #
- # If any of these fail, we abort the whole thing. If we want to
- # ignore errors from any of these, just make sure not to ignore
- # errors from the above "$doit $cpprog $src $dsttmp" command.
- #
- { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
- { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
- { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
- { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
-
- # If -C, don't bother to copy if it wouldn't change the file.
- if $copy_on_change &&
- old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
- new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
-
- eval "$initialize_posix_glob" &&
- $posix_glob set -f &&
- set X $old && old=:$2:$4:$5:$6 &&
- set X $new && new=:$2:$4:$5:$6 &&
- $posix_glob set +f &&
-
- test "$old" = "$new" &&
- $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
- then
- rm -f "$dsttmp"
- else
- # Rename the file to the real destination.
- $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
-
- # The rename failed, perhaps because mv can't rename something else
- # to itself, or perhaps because mv is so ancient that it does not
- # support -f.
- {
- # Now remove or move aside any old file at destination location.
- # We try this two ways since rm can't unlink itself on some
- # systems and the destination file might be busy for other
- # reasons. In this case, the final cleanup might fail but the new
- # file should still install successfully.
- {
- test ! -f "$dst" ||
- $doit $rmcmd -f "$dst" 2>/dev/null ||
- { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
- { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
- } ||
- { echo "$0: cannot unlink or rename $dst" >&2
- (exit 1); exit 1
- }
- } &&
-
- # Now rename the file to the real destination.
- $doit $mvcmd "$dsttmp" "$dst"
- }
- fi || exit 1
-
- trap '' 0
- fi
-done
-
-# Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
-# End: