Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
a8b0d144
Commit
a8b0d144
authored
Apr 02, 2009
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* So, AMDiS now also compiles :)
parent
eec8781f
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
926 additions
and
1972 deletions
+926
-1972
AMDiS/Makefile.in
AMDiS/Makefile.in
+0
-1
AMDiS/aclocal.m4
AMDiS/aclocal.m4
+6
-28
AMDiS/bin/Makefile.in
AMDiS/bin/Makefile.in
+0
-1
AMDiS/config.guess
AMDiS/config.guess
+77
-39
AMDiS/config.sub
AMDiS/config.sub
+80
-28
AMDiS/configure
AMDiS/configure
+53
-155
AMDiS/libtool
AMDiS/libtool
+363
-875
AMDiS/ltmain.sh
AMDiS/ltmain.sh
+333
-836
AMDiS/src/VtkWriter.cc
AMDiS/src/VtkWriter.cc
+3
-3
AMDiS/src/VtkWriter.h
AMDiS/src/VtkWriter.h
+11
-6
No files found.
AMDiS/Makefile.in
View file @
a8b0d144
...
...
@@ -139,7 +139,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION
=
@PACKAGE_VERSION@
PATH_SEPARATOR
=
@PATH_SEPARATOR@
RANLIB
=
@RANLIB@
SED
=
@SED@
SET_MAKE
=
@SET_MAKE@
SHELL
=
@SHELL@
STRIP
=
@STRIP@
...
...
AMDiS/aclocal.m4
View file @
a8b0d144
...
...
@@ -1578,27 +1578,10 @@ linux*)
# before this can be enabled.
hardcode_into_libs=yes
# find out which ABI we are using
libsuff=
case "$host_cpu" in
x86_64*|s390x*|powerpc64*)
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
if AC_TRY_EVAL(ac_compile); then
case `/usr/bin/file conftest.$ac_objext` in
*64-bit*)
libsuff=64
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
;;
esac
fi
rm -rf conftest*
;;
esac
# Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s
2>/dev/null
", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="/lib
${libsuff} /usr/lib${libsuff}
$lt_ld_extra"
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="/lib
/usr/lib
$lt_ld_extra"
fi
# We used to test for /lib/ld.so.1 and disable shared libraries on
...
...
@@ -4305,9 +4288,6 @@ CC=$lt_[]_LT_AC_TAGVAR(compiler, $1)
# Is the compiler the GNU C compiler?
with_gcc=$_LT_AC_TAGVAR(GCC, $1)
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
gcc_ver=\`gcc -dumpversion\`
# An ERE matcher.
EGREP=$lt_EGREP
...
...
@@ -4441,11 +4421,11 @@ striplib=$lt_striplib
# Dependencies to place before the objects being linked to create a
# shared library.
predep_objects=
\`echo
$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
| \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
# Dependencies to place after the objects being linked to create a
# shared library.
postdep_objects=
\`echo
$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
| \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
# Dependencies to place before the objects being linked to create a
# shared library.
...
...
@@ -4457,7 +4437,7 @@ postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
# The library search path used internally by the compiler when linking
# a shared library.
compiler_lib_search_path=
\`echo
$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
| \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
# Method to check whether dependent libraries are shared objects.
deplibs_check_method=$lt_deplibs_check_method
...
...
@@ -4537,7 +4517,7 @@ variables_saved_for_relink="$variables_saved_for_relink"
link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
# Compile-time system search path for libraries
sys_lib_search_path_spec=
\`echo
$lt_sys_lib_search_path_spec
| \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
# Run-time system search path for libraries
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
...
...
@@ -6373,7 +6353,6 @@ do
done
done
done
IFS=$as_save_IFS
lt_ac_max=0
lt_ac_count=0
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
...
...
@@ -6406,7 +6385,6 @@ for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
done
])
SED=$lt_cv_path_SED
AC_SUBST([SED])
AC_MSG_RESULT([$SED])
])
...
...
AMDiS/bin/Makefile.in
View file @
a8b0d144
...
...
@@ -427,7 +427,6 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION
=
@PACKAGE_VERSION@
PATH_SEPARATOR
=
@PATH_SEPARATOR@
RANLIB
=
@RANLIB@
SED
=
@SED@
SET_MAKE
=
@SET_MAKE@
SHELL
=
@SHELL@
STRIP
=
@STRIP@
...
...
AMDiS/config.guess
View file @
a8b0d144
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003
, 2004
Free Software Foundation, Inc.
timestamp
=
'200
3
-0
6
-1
7
'
timestamp
=
'200
4
-0
7
-1
9
'
# 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
...
...
@@ -53,7 +53,7 @@ version="\
GNU config.guess (
$timestamp
)
Originally written by Per Bothner.
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
, 2002, 2003, 2004
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
...
...
@@ -136,13 +136,6 @@ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM
=
`
(
uname
-s
)
2>/dev/null
`
||
UNAME_SYSTEM
=
unknown
UNAME_VERSION
=
`
(
uname
-v
)
2>/dev/null
`
||
UNAME_VERSION
=
unknown
## for Red Hat Linux
if
test
-f
/etc/redhat-release
;
then
VENDOR
=
redhat
;
else
VENDOR
=
;
fi
# Note: order is significant - the case branches are not exclusive.
case
"
${
UNAME_MACHINE
}
:
${
UNAME_SYSTEM
}
:
${
UNAME_RELEASE
}
:
${
UNAME_VERSION
}
"
in
...
...
@@ -204,15 +197,24 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
echo
"
${
machine
}
-
${
os
}${
release
}
"
exit
0
;;
amd64:OpenBSD:
*
:
*
)
echo
x86_64-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
amiga:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
arc:OpenBSD:
*
:
*
)
echo
mipsel-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
cats:OpenBSD:
*
:
*
)
echo
arm-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
hp300:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
luna88k:OpenBSD:
*
:
*
)
echo
m88k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
mac68k:OpenBSD:
*
:
*
)
echo
m68k-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
...
...
@@ -243,10 +245,24 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*
:OpenBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-openbsd
${
UNAME_RELEASE
}
exit
0
;;
*
:ekkoBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-ekkobsd
${
UNAME_RELEASE
}
exit
0
;;
macppc:MirBSD:
*
:
*
)
echo
powerppc-unknown-mirbsd
${
UNAME_RELEASE
}
exit
0
;;
*
:MirBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-mirbsd
${
UNAME_RELEASE
}
exit
0
;;
alpha:OSF1:
*
:
*
)
if
test
$UNAME_RELEASE
=
"V4.0"
;
then
case
$UNAME_RELEASE
in
*
4.0
)
UNAME_RELEASE
=
`
/usr/sbin/sizer
-v
|
awk
'{print $3}'
`
fi
;;
*
5.
*
)
UNAME_RELEASE
=
`
/usr/sbin/sizer
-v
|
awk
'{print $4}'
`
;;
esac
# According to Compaq, /usr/sbin/psrinfo has been available on
# OSF/1 and Tru64 systems produced since 1995. I hope that
# covers most systems running today. This code pipes the CPU
...
...
@@ -284,14 +300,12 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
"EV7.9 (21364A)"
)
UNAME_MACHINE
=
"alphaev79"
;;
esac
# A Pn.n version is a patched version.
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
echo
${
UNAME_MACHINE
}
-dec-osf
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/^[VTX]//'
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
exit
0
;;
Alpha
*
:OpenVMS:
*
:
*
)
echo
alpha-hp-vms
echo
${
UNAME_MACHINE
}
-dec-osf
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/^[PVTX]//'
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
exit
0
;;
Alpha
\
*
:Windows_NT
*
:
*
)
# How do we know it's Interix rather than the generic POSIX subsystem?
...
...
@@ -314,6 +328,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*
:OS/390:
*
:
*
)
echo
i370-ibm-openedition
exit
0
;;
*
:OS400:
*
:
*
)
echo
powerpc-ibm-os400
exit
0
;;
arm:RISC
*
:1.[012]
*
:
*
|
arm:riscix:1.[012]
*
:
*
)
echo
arm-acorn-riscix
${
UNAME_RELEASE
}
exit
0
;;
...
...
@@ -406,6 +423,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*
:
*
MiNT:
*
:
*
|
*
:
*
mint:
*
:
*
|
*
:
*
TOS:
*
:
*
)
echo
m68k-unknown-mint
${
UNAME_RELEASE
}
exit
0
;;
m68k:machten:
*
:
*
)
echo
m68k-apple-machten
${
UNAME_RELEASE
}
exit
0
;;
powerpc:machten:
*
:
*
)
echo
powerpc-apple-machten
${
UNAME_RELEASE
}
exit
0
;;
...
...
@@ -741,7 +761,7 @@ EOF
echo
sv1-cray-unicos
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
exit
0
;;
*
:UNICOS/mp:
*
:
*
)
echo
nv
1
-cray-unicosmp
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
echo
cray
nv-cray-unicosmp
${
UNAME_RELEASE
}
|
sed
-e
's/\.[^.]*$/.X/'
exit
0
;;
F30[01]:UNIX_System_V:
*
:
*
|
F700:UNIX_System_V:
*
:
*
)
FUJITSU_PROC
=
`
uname
-m
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
`
...
...
@@ -749,6 +769,11 @@ EOF
FUJITSU_REL
=
`
echo
${
UNAME_RELEASE
}
|
sed
-e
's/ /_/'
`
echo
"
${
FUJITSU_PROC
}
-fujitsu-
${
FUJITSU_SYS
}${
FUJITSU_REL
}
"
exit
0
;;
5000:UNIX_System_V:4.
*
:
*
)
FUJITSU_SYS
=
`
uname
-p
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
|
sed
-e
's/\///'
`
FUJITSU_REL
=
`
echo
${
UNAME_RELEASE
}
|
tr
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
'abcdefghijklmnopqrstuvwxyz'
|
sed
-e
's/ /_/'
`
echo
"sparc-fujitsu-
${
FUJITSU_SYS
}${
FUJITSU_REL
}
"
exit
0
;;
i
*
86:BSD/386:
*
:
*
|
i
*
86:BSD/OS:
*
:
*
|
*
:Ascend
\
Embedded/OS:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-bsdi
${
UNAME_RELEASE
}
exit
0
;;
...
...
@@ -758,19 +783,8 @@ EOF
*
:BSD/OS:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-bsdi
${
UNAME_RELEASE
}
exit
0
;;
*
:FreeBSD:
*
:
*
|
*
:GNU/FreeBSD:
*
:
*
)
# Determine whether the default compiler uses glibc.
eval
$set_cc_for_build
sed
's/^ //'
<<
EOF
>
$dummy
.c
#include <features.h>
#if __GLIBC__ >= 2
LIBC=gnu
#else
LIBC=
#endif
EOF
eval
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
grep
^LIBC
=
`
echo
${
UNAME_MACHINE
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
${
LIBC
:+-
$LIBC
}
*
:FreeBSD:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-freebsd
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
exit
0
;;
i
*
:CYGWIN
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-cygwin
...
...
@@ -803,8 +817,13 @@ EOF
echo
powerpcle-unknown-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
0
;;
*
:GNU:
*
:
*
)
# the GNU system
echo
`
echo
${
UNAME_MACHINE
}
|sed
-e
's,[-/].*$,,'
`
-unknown-gnu
`
echo
${
UNAME_RELEASE
}
|sed
-e
's,/.*$,,'
`
exit
0
;;
*
:GNU/
*
:
*
:
*
)
# other systems with GNU libc and userland
echo
${
UNAME_MACHINE
}
-unknown-
`
echo
${
UNAME_SYSTEM
}
|
sed
's,^[^/]*/,,'
|
tr
'[A-Z]'
'[a-z]'
``
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
-gnu
exit
0
;;
i
*
86:Minix:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-minix
exit
0
;;
...
...
@@ -815,7 +834,10 @@ EOF
echo
cris-axis-linux-gnu
exit
0
;;
ia64:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-
${
VENDOR
:-
unknown
}
-linux-gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
m32r
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
m68
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
...
...
@@ -859,10 +881,10 @@ EOF
test
x
"
${
CPU
}
"
!=
x
&&
echo
"
${
CPU
}
-unknown-linux-gnu"
&&
exit
0
;;
ppc:Linux:
*
:
*
)
echo
powerpc-
${
VENDOR
:-
unknown
}
-linux-gnu
echo
powerpc-unknown-linux-gnu
exit
0
;;
ppc64:Linux:
*
:
*
)
echo
powerpc64-
${
VENDOR
:-
unknown
}
-linux-gnu
echo
powerpc64-unknown-linux-gnu
exit
0
;;
alpha:Linux:
*
:
*
)
case
`
sed
-n
'/^cpu model/s/^.*: \(.*\)/\1/p'
< /proc/cpuinfo
`
in
...
...
@@ -890,7 +912,7 @@ EOF
echo
hppa64-unknown-linux-gnu
exit
0
;;
s390:Linux:
*
:
*
|
s390x:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-
${
VENDOR
:-
ibm
}
-linux
-gnu
echo
${
UNAME_MACHINE
}
-ibm-linux
exit
0
;;
sh64
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
...
...
@@ -902,7 +924,7 @@ EOF
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
0
;;
x86_64:Linux:
*
:
*
)
echo
x86_64-
${
VENDOR
:-
unknown
}
-linux-gnu
echo
x86_64-unknown-linux-gnu
exit
0
;;
i
*
86:Linux:
*
:
*
)
# The BFD linker knows what the default object file format is, so
...
...
@@ -952,9 +974,12 @@ EOF
LIBC=gnuaout
#endif
#endif
#ifdef __dietlibc__
LIBC=dietlibc
#endif
EOF
eval
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null |
grep
^LIBC
=
`
test
x
"
${
LIBC
}
"
!=
x
&&
echo
"
${
UNAME_MACHINE
}
-
${
VENDOR
:-
pc
}
-linux-
${
LIBC
}
"
&&
exit
0
test
x
"
${
LIBC
}
"
!=
x
&&
echo
"
${
UNAME_MACHINE
}
-pc-linux-
${
LIBC
}
"
&&
exit
0
test
x
"
${
TENTATIVE
}
"
!=
x
&&
echo
"
${
TENTATIVE
}
"
&&
exit
0
;;
i
*
86:DYNIX/ptx:4
*
:
*
)
...
...
@@ -982,6 +1007,9 @@ EOF
i
*
86:atheos:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-atheos
exit
0
;;
i
*
86:syllable:
*
:
*
)
echo
${
UNAME_MACHINE
}
-pc-syllable
exit
0
;;
i
*
86:LynxOS:2.
*
:
*
|
i
*
86:LynxOS:3.[01]
*
:
*
|
i
*
86:LynxOS:4.0
*
:
*
)
echo
i386-unknown-lynxos
${
UNAME_RELEASE
}
exit
0
;;
...
...
@@ -1051,9 +1079,9 @@ EOF
M680?0:D-NIX:5.3:
*
)
echo
m68k-diab-dnix
exit
0
;;
M68
*
:
*
:R3V[567]
*
:
*
)
M68
*
:
*
:R3V[567
8
]
*
:
*
)
test
-r
/sysV68
&&
echo
'm68k-motorola-sysv'
&&
exit
0
;;
3[34]??:
*
:4.0:3.0
|
3[34]??A:
*
:4.0:3.0
|
3[34]??,
*
:
*
:4.0:3.0
|
3[34]??/
*
:
*
:4.0:3.0
|
4400:
*
:4.0:3.0
|
4850:
*
:4.0:3.0
|
SKA40:
*
:4.0:3.0
|
SDS2:
*
:4.0:3.0
|
SHG2:
*
:4.0:3.0
)
3[34
5
]??:
*
:4.0:3.0
|
3[34]??A:
*
:4.0:3.0
|
3[34]??,
*
:
*
:4.0:3.0
|
3[34]??/
*
:
*
:4.0:3.0
|
4400:
*
:4.0:3.0
|
4850:
*
:4.0:3.0
|
SKA40:
*
:4.0:3.0
|
SDS2:
*
:4.0:3.0
|
SHG2:
*
:4.0:3.0
|
S7501
*
:
*
:4.0:3.0
)
OS_REL
=
''
test
-r
/etc/.relid
\
&&
OS_REL
=
.
`
sed
-n
's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p'
< /etc/.relid
`
...
...
@@ -1168,7 +1196,7 @@ EOF
*
:QNX:
*
:4
*
)
echo
i386-pc-qnx
exit
0
;;
NSR-
[DGKLNPTVW]
:NONSTOP_KERNEL:
*
:
*
)
NSR-
?
:NONSTOP_KERNEL:
*
:
*
)
echo
nsr-tandem-nsk
${
UNAME_RELEASE
}
exit
0
;;
*
:NonStop-UX:
*
:
*
)
...
...
@@ -1212,6 +1240,16 @@ EOF
SEI:
*
:
*
:SEIUX
)
echo
mips-sei-seiux
${
UNAME_RELEASE
}
exit
0
;;
*
:DragonFly:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-dragonfly
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[-(].*//'
`
exit
0
;;
*
:
*
VMS:
*
:
*
)
UNAME_MACHINE
=
`
(
uname
-p
)
2>/dev/null
`
case
"
${
UNAME_MACHINE
}
"
in
A
*
)
echo
alpha-dec-vms
&&
exit
0
;;
I
*
)
echo
ia64-dec-vms
&&
exit
0
;;
V
*
)
echo
vax-dec-vms
&&
exit
0
;;
esac
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
...
...
AMDiS/config.sub
View file @
a8b0d144
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# 2000, 2001, 2002, 2003
, 2004
Free Software Foundation, Inc.
timestamp
=
'200
3
-06-
18
'
timestamp
=
'200
4
-06-
24
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
@@ -70,7 +70,7 @@ 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
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
, 2002, 2003, 2004
Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
...
...
@@ -118,7 +118,8 @@ esac
# 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
*
|
freebsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
storm-chaos
*
|
os2-emx
*
|
rtmk-nova
*
)
nto-qnx
*
|
linux-gnu
*
|
linux-dietlibc
|
linux-uclibc
*
|
uclinux-uclibc
*
|
uclinux-gnu
*
|
\
kfreebsd
*
-gnu
*
|
knetbsd
*
-gnu
*
|
netbsd
*
-gnu
*
|
storm-chaos
*
|
os2-emx
*
|
rtmk-nova
*
)
os
=
-
$maybe_os
basic_machine
=
`
echo
$1
|
sed
's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'
`
;;
...
...
@@ -144,7 +145,7 @@ case $os in
-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
)
-apple
|
-axis
|
-knuth
|
-cray
)
os
=
basic_machine
=
$1
;;
...
...
@@ -228,14 +229,15 @@ case $basic_machine in
|
a29k
\
|
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
\
|
c4x
|
clipper
\
|
d10v
|
d30v
|
dlx
|
dsp16xx
\
|
fr30
|
frv
\
|
h8300
|
h8500
|
hppa
|
hppa1.[01]
|
hppa2.0
|
hppa2.0[nw]
|
hppa64
\
|
i370
|
i860
|
i960
|
ia64
\
|
ip2k
\
|
m32r
|
m68000
|
m68k
|
m88k
|
mcore
\
|
ip2k
|
iq2000
\
|
m32r
|
m32rle
|
m68000
|
m68k
|
m88k
|
mcore
\
|
mips
|
mipsbe
|
mipseb
|
mipsel
|
mipsle
\
|
mips16
\
|
mips64
|
mips64el
\
...
...
@@ -247,6 +249,7 @@ case $basic_machine in
|
mipsisa32
|
mipsisa32el
\
|
mipsisa32r2
|
mipsisa32r2el
\
|
mipsisa64
|
mipsisa64el
\
|
mipsisa64r2
|
mipsisa64r2el
\
|
mipsisa64sb1
|
mipsisa64sb1el
\
|
mipsisa64sr71k
|
mipsisa64sr71kel
\
|
mipstx39
|
mipstx39el
\
...
...
@@ -257,7 +260,6 @@ case $basic_machine in
|
pdp10
|
pdp11
|
pj
|
pjl
\
|
powerpc
|
powerpc64
|
powerpc64le
|
powerpcle
|
ppcbe
\
|
pyramid
\
|
s390
|
s390x
\
|
sh
|
sh[1234]
|
sh[23]e
|
sh[34]eb
|
shbe
|
shle
|
sh[1234]le
|
sh3ele
\
|
sh64
|
sh64le
\
|
sparc
|
sparc64
|
sparc86x
|
sparclet
|
sparclite
|
sparcv8
|
sparcv9
|
sparcv9b
\
...
...
@@ -298,15 +300,15 @@ case $basic_machine in
|
avr-
*
\
|
bs2000-
*
\
|
c[123]
*
|
c30-
*
|
[
cjt]90-
*
|
c4x-
*
|
c54x-
*
|
c55x-
*
|
c6x-
*
\
|
clipper-
*
|
cydra-
*
\
|
clipper-
*
|
craynv-
*
|
cydra-
*
\
|
d10v-
*
|
d30v-
*
|
dlx-
*
\
|
elxsi-
*
\
|
f30[01]-
*
|
f700-
*
|
fr30-
*
|
frv-
*
|
fx80-
*
\
|
h8300-
*
|
h8500-
*
\
|
hppa-
*
|
hppa1.[01]-
*
|
hppa2.0-
*
|
hppa2.0[nw]-
*
|
hppa64-
*
\
|
i
*
86-
*
|
i860-
*
|
i960-
*
|
ia64-
*
\
|
ip2k-
*
\
|
m32r-
*
\
|
ip2k-
*
|
iq2000-
*
\
|
m32r-
*
|
m32rle-
*
\
|
m68000-
*
|
m680[012346]0-
*
|
m68360-
*
|
m683?2-
*
|
m68k-
*
\
|
m88110-
*
|
m88k-
*
|
mcore-
*
\
|
mips-
*
|
mipsbe-
*
|
mipseb-
*
|
mipsel-
*
|
mipsle-
*
\
...
...
@@ -320,17 +322,18 @@ case $basic_machine in
|
mipsisa32-
*
|
mipsisa32el-
*
\
|
mipsisa32r2-
*
|
mipsisa32r2el-
*
\
|
mipsisa64-
*
|
mipsisa64el-
*
\
|
mipsisa64r2-
*
|
mipsisa64r2el-
*
\
|
mipsisa64sb1-
*
|
mipsisa64sb1el-
*
\
|
mipsisa64sr71k-
*
|
mipsisa64sr71kel-
*
\
|
mipstx39-
*
|
mipstx39el-
*
\
|
mmix-
*
\
|
msp430-
*
\
|
none-
*
|
np1-
*
|
nv1-
*
|
ns16k-
*
|
ns32k-
*
\
|
none-
*
|
np1-
*
|
ns16k-
*
|
ns32k-
*
\
|
orion-
*
\
|
pdp10-
*
|
pdp11-
*
|
pj-
*
|
pjl-
*
|
pn-
*
|
power-
*
\
|
powerpc-
*
|
powerpc64-
*
|
powerpc64le-
*
|
powerpcle-
*
|
ppcbe-
*
\
|
pyramid-
*
\
|
romp-
*
|
rs6000-
*
\
|
s390-
*
|
s390x-
*
\
|
sh-
*
|
sh[1234]-
*
|
sh[23]e-
*
|
sh[34]eb-
*
|
shbe-
*
\
|
shle-
*
|
sh[1234]le-
*
|
sh3ele-
*
|
sh64-
*
|
sh64le-
*
\
|
sparc-
*
|
sparc64-
*
|
sparc86x-
*
|
sparclet-
*
|
sparclite-
*
\
...
...
@@ -361,6 +364,9 @@ case $basic_machine in
basic_machine
=
a29k-amd
os
=
-udi
;;
abacus
)
basic_machine
=
abacus-unknown
;;
adobe68k
)
basic_machine
=
m68010-adobe
os
=
-scout
...
...
@@ -378,6 +384,9 @@ case $basic_machine in
amd64
)
basic_machine
=
x86_64-pc
;;
amd64-
*
)
basic_machine
=
x86_64-
`
echo
$basic_machine
|
sed
's/^[^-]*-//'
`
;;
amdahl
)
basic_machine
=
580-amdahl
os
=
-sysv
...
...
@@ -437,12 +446,24 @@ case $basic_machine in
basic_machine
=
j90-cray
os
=
-unicos
;;
craynv
)
basic_machine
=
craynv-cray
os
=
-unicosmp
;;
cr16c
)
basic_machine
=
cr16c-unknown
os
=
-elf
;;
crds
|
unos
)
basic_machine
=
m68k-crds
;;
cris
|
cris-
*
|
etrax
*
)
basic_machine
=
cris-axis
;;
crx
)
basic_machine
=
crx-unknown
os
=
-elf
;;
da30
|
da30-
*
)
basic_machine
=
m68k-da30
;;
...
...
@@ -643,10 +664,6 @@ case $basic_machine in
mips3
*
)
basic_machine
=
`
echo
$basic_machine
|
sed
-e
's/mips3/mips64/'
`
-unknown
;;
mmix
*
)
basic_machine
=
mmix-knuth
os
=
-mmixware
;;
monitor
)
basic_machine
=
m68k-rom68k
os
=
-coff
...
...
@@ -727,10 +744,6 @@ case $basic_machine in
np1
)
basic_machine
=
np1-gould
;;
nv1
)
basic_machine
=
nv1-cray
os
=
-unicosmp
;;
nsr-tandem
)
basic_machine
=
nsr-tandem
;;
...
...
@@ -742,6 +755,10 @@ case $basic_machine in
basic_machine
=
or32-unknown
os
=
-coff
;;
os400
)
basic_machine
=
powerpc-ibm
os
=
-os400
;;
OSE68000
|
ose68000
)
basic_machine
=
m68000-ericsson
os
=
-ose
...
...
@@ -833,6 +850,12 @@ case $basic_machine in
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
...
...
@@ -956,6 +979,10 @@ case $basic_machine in
tower
|
tower-32
)
basic_machine
=
m68k-ncr
;;
tpf
)
basic_machine
=
s390x-ibm
os
=
-tpf
;;
udi29k
)
basic_machine
=
a29k-amd
os
=
-udi
...
...
@@ -1029,6 +1056,9 @@ case $basic_machine in
romp
)
basic_machine
=
romp-ibm
;;
mmix
)
basic_machine
=
mmix-knuth
;;
rs6000
)
basic_machine
=
rs6000-ibm
;;
...
...
@@ -1124,19 +1154,20 @@ case $os in
|
-aos
*
\
|
-nindy
*
|
-vxsim
*
|
-vxworks
*
|
-ebmon
*
|
-hms
*
|
-mvs
*
\
|
-clix
*
|
-riscos
*
|
-uniplus
*
|
-iris
*
|
-rtu
*
|
-xenix
*
\
|
-hiux
*
|
-386bsd
*
|
-netbsd
*
|
-openbsd
*
|
-freebsd
*
|
-riscix
*
\
|
-lynxos
*
|
-bosx
*
|
-nextstep
*
|
-cxux
*
|
-aout
*
|
-elf
*
|
-oabi
*
\
|
-hiux
*
|
-386bsd
*
|
-knetbsd
*
|
-mirbsd
*
|
-netbsd
*
|
-openbsd
*
\
|
-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
*
\
|
-cygwin
*
|
-pe
*
|
-psos
*
|
-moss
*
|
-proelf
*
|
-rtems
*
\
|
-mingw32
*
|
-linux-gnu
*
|
-uxpv
*
|
-beos
*
|
-mpeix
*
|
-udk
*
\
|
-mingw32
*
|
-linux-gnu
*
|
-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
*
)
|
-powermax
*
|
-dnix
*
|
-nx6
|
-nx7
|
-sei
*
|
-dragonfly
*
)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-qnx
*
)
...
...
@@ -1160,6 +1191,9 @@ case $os in
-mac
*
)
os
=
`
echo
$os
|
sed
-e
's|mac|macos|'
`
;;
-linux-dietlibc
)
os
=
-linux-dietlibc
;;
-linux
*
)
os
=
`
echo
$os
|
sed
-e
's|linux|linux-gnu|'
`
;;
...
...
@@ -1172,6 +1206,9 @@ case $os in
-opened
*
)
os
=
-openedition
;;
-os400
*
)
os
=
-os400
;;
-wince
*
)
os
=
-wince