diff options
Diffstat (limited to 'linden/indra/libgcrypt/libgcrypt-1.2.2/mpi/config.links')
-rw-r--r--[-rwxr-xr-x] | linden/indra/libgcrypt/libgcrypt-1.2.2/mpi/config.links | 700 |
1 files changed, 350 insertions, 350 deletions
diff --git a/linden/indra/libgcrypt/libgcrypt-1.2.2/mpi/config.links b/linden/indra/libgcrypt/libgcrypt-1.2.2/mpi/config.links index 1c69f6e..a5abb67 100755..100644 --- a/linden/indra/libgcrypt/libgcrypt-1.2.2/mpi/config.links +++ b/linden/indra/libgcrypt/libgcrypt-1.2.2/mpi/config.links | |||
@@ -1,350 +1,350 @@ | |||
1 | # config.links - helper for ../configure | 1 | # config.links - helper for ../configure |
2 | # Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. | 2 | # Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
3 | # | 3 | # |
4 | # This file is part of Libgcrypt. | 4 | # This file is part of Libgcrypt. |
5 | # | 5 | # |
6 | # Libgcrypt is free software; you can redistribute it and/or modify | 6 | # Libgcrypt is free software; you can redistribute it and/or modify |
7 | # it under the terms of the GNU Lesser General Public License as | 7 | # it under the terms of the GNU Lesser General Public License as |
8 | # published by the Free Software Foundation; either version 2.1 of | 8 | # published by the Free Software Foundation; either version 2.1 of |
9 | # the License, or (at your option) any later version. | 9 | # the License, or (at your option) any later version. |
10 | # | 10 | # |
11 | # Libgcrypt is distributed in the hope that it will be useful, | 11 | # Libgcrypt is distributed in the hope that it will be useful, |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | # GNU Lesser General Public License for more details. | 14 | # GNU Lesser General Public License for more details. |
15 | # | 15 | # |
16 | # You should have received a copy of the GNU Lesser General Public | 16 | # You should have received a copy of the GNU Lesser General Public |
17 | # License along with this program; if not, write to the Free Software | 17 | # License along with this program; if not, write to the Free Software |
18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | 18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
19 | # | 19 | # |
20 | # sourced by ../configure to get the list of files to link | 20 | # sourced by ../configure to get the list of files to link |
21 | # this should set $mpi_ln_list. | 21 | # this should set $mpi_ln_list. |
22 | # Note: this is called from the above directory. | 22 | # Note: this is called from the above directory. |
23 | 23 | ||
24 | mpi_sflags= | 24 | mpi_sflags= |
25 | mpi_extra_modules= | 25 | mpi_extra_modules= |
26 | 26 | ||
27 | test -d ./mpi || mkdir ./mpi | 27 | test -d ./mpi || mkdir ./mpi |
28 | 28 | ||
29 | # We grep the list of modules from the Makefile so that | 29 | # We grep the list of modules from the Makefile so that |
30 | # we don't need to maintain them here. | 30 | # we don't need to maintain them here. |
31 | mpi_standard_modules=`$AWK '/^#BEGIN_ASM_LIST/,/^#END_ASM_LIST/ { | 31 | mpi_standard_modules=`$AWK '/^#BEGIN_ASM_LIST/,/^#END_ASM_LIST/ { |
32 | if( $3 != "O" ) print $2 }' $srcdir/mpi/Makefile.am` | 32 | if( $3 != "O" ) print $2 }' $srcdir/mpi/Makefile.am` |
33 | mpi_optional_modules=`$AWK '/^#BEGIN_ASM_LIST/,/^#END_ASM_LIST/ { | 33 | mpi_optional_modules=`$AWK '/^#BEGIN_ASM_LIST/,/^#END_ASM_LIST/ { |
34 | if( $3 == "O" ) print $2 }' $srcdir/mpi/Makefile.am` | 34 | if( $3 == "O" ) print $2 }' $srcdir/mpi/Makefile.am` |
35 | 35 | ||
36 | 36 | ||
37 | echo '/* created by config.links - do not edit */' >./mpi/asm-syntax.h | 37 | echo '/* created by config.links - do not edit */' >./mpi/asm-syntax.h |
38 | echo "/* Target: ${target} */" >>./mpi/asm-syntax.h | 38 | echo "/* Target: ${target} */" >>./mpi/asm-syntax.h |
39 | 39 | ||
40 | if test "$try_asm_modules" = "yes" ; then | 40 | if test "$try_asm_modules" = "yes" ; then |
41 | case "${target}" in | 41 | case "${target}" in |
42 | powerpc-apple-darwin* | \ | 42 | powerpc-apple-darwin* | \ |
43 | i[34567]86*-*-openbsd[12]* | \ | 43 | i[34567]86*-*-openbsd[12]* | \ |
44 | i[34567]86*-*-openbsd3.[0123]*) | 44 | i[34567]86*-*-openbsd3.[0123]*) |
45 | echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h | 45 | echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h |
46 | path="" | 46 | path="" |
47 | ;; | 47 | ;; |
48 | i[3467]86*-*-openbsd* | \ | 48 | i[3467]86*-*-openbsd* | \ |
49 | i[3467]86*-*-freebsd*-elf | \ | 49 | i[3467]86*-*-freebsd*-elf | \ |
50 | i[3467]86*-*-freebsd[3-9]* | \ | 50 | i[3467]86*-*-freebsd[3-9]* | \ |
51 | i[3467]86*-*-freebsdelf* | \ | 51 | i[3467]86*-*-freebsdelf* | \ |
52 | i[3467]86*-*-netbsd* | \ | 52 | i[3467]86*-*-netbsd* | \ |
53 | i[3467]86*-*-k*bsd*) | 53 | i[3467]86*-*-k*bsd*) |
54 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 54 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
55 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 55 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
56 | path="i386" | 56 | path="i386" |
57 | ;; | 57 | ;; |
58 | i586*-*-openbsd* | \ | 58 | i586*-*-openbsd* | \ |
59 | i586*-*-freebsd*-elf | \ | 59 | i586*-*-freebsd*-elf | \ |
60 | i586*-*-freebsd[3-9]* | \ | 60 | i586*-*-freebsd[3-9]* | \ |
61 | i586*-*-freebsdelf* | \ | 61 | i586*-*-freebsdelf* | \ |
62 | i586*-*-netbsd* | \ | 62 | i586*-*-netbsd* | \ |
63 | i586*-*-k*bsd* | \ | 63 | i586*-*-k*bsd* | \ |
64 | pentium-*-netbsd* | \ | 64 | pentium-*-netbsd* | \ |
65 | pentiumpro-*-netbsd*) | 65 | pentiumpro-*-netbsd*) |
66 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 66 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
67 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 67 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
68 | path="i586 i386" | 68 | path="i586 i386" |
69 | ;; | 69 | ;; |
70 | i[34]86*-*-bsdi4*) | 70 | i[34]86*-*-bsdi4*) |
71 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 71 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
72 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 72 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
73 | path="i386" | 73 | path="i386" |
74 | ;; | 74 | ;; |
75 | i[3467]86*-*-linuxaout* | \ | 75 | i[3467]86*-*-linuxaout* | \ |
76 | i[3467]86*-*-linuxoldld* | \ | 76 | i[3467]86*-*-linuxoldld* | \ |
77 | i[3467]86*-*-*bsd*) | 77 | i[3467]86*-*-*bsd*) |
78 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h | 78 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h |
79 | echo '#define X86_BROKEN_ALIGN' >>./mpi/asm-syntax.h | 79 | echo '#define X86_BROKEN_ALIGN' >>./mpi/asm-syntax.h |
80 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 80 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
81 | path="i386" | 81 | path="i386" |
82 | ;; | 82 | ;; |
83 | i586*-*-linuxaout* | \ | 83 | i586*-*-linuxaout* | \ |
84 | i586*-*-linuxoldld* | \ | 84 | i586*-*-linuxoldld* | \ |
85 | i586*-*-*bsd*) | 85 | i586*-*-*bsd*) |
86 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h | 86 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h |
87 | echo '#define X86_BROKEN_ALIGN' >>./mpi/asm-syntax.h | 87 | echo '#define X86_BROKEN_ALIGN' >>./mpi/asm-syntax.h |
88 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 88 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
89 | path="i586 i386" | 89 | path="i586 i386" |
90 | ;; | 90 | ;; |
91 | i[3467]86*-msdosdjgpp*) | 91 | i[3467]86*-msdosdjgpp*) |
92 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h | 92 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h |
93 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 93 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
94 | path="i386" | 94 | path="i386" |
95 | ;; | 95 | ;; |
96 | i586*-msdosdjgpp*) | 96 | i586*-msdosdjgpp*) |
97 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h | 97 | echo '#define BSD_SYNTAX' >>./mpi/asm-syntax.h |
98 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 98 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
99 | path="i586 i386" | 99 | path="i586 i386" |
100 | ;; | 100 | ;; |
101 | i[3467]86*-*-*) | 101 | i[3467]86*-*-*) |
102 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 102 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
103 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 103 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
104 | path="i386" | 104 | path="i386" |
105 | ;; | 105 | ;; |
106 | i586*-*-* | \ | 106 | i586*-*-* | \ |
107 | pentium-*-* | \ | 107 | pentium-*-* | \ |
108 | pentiumpro-*-*) | 108 | pentiumpro-*-*) |
109 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 109 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
110 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h | 110 | cat $srcdir/mpi/i386/syntax.h >>./mpi/asm-syntax.h |
111 | path="i586 i386" | 111 | path="i586 i386" |
112 | ;; | 112 | ;; |
113 | alpha*-*-*) | 113 | alpha*-*-*) |
114 | echo '/* configured for alpha */' >>./mpi/asm-syntax.h | 114 | echo '/* configured for alpha */' >>./mpi/asm-syntax.h |
115 | path="alpha" | 115 | path="alpha" |
116 | mpi_extra_modules="udiv-qrnnd" | 116 | mpi_extra_modules="udiv-qrnnd" |
117 | ;; | 117 | ;; |
118 | hppa7000*-*-*) | 118 | hppa7000*-*-*) |
119 | echo '/* configured for HPPA (pa7000) */' >>./mpi/asm-syntax.h | 119 | echo '/* configured for HPPA (pa7000) */' >>./mpi/asm-syntax.h |
120 | path="hppa1.1 hppa" | 120 | path="hppa1.1 hppa" |
121 | mpi_extra_modules="udiv-qrnnd" | 121 | mpi_extra_modules="udiv-qrnnd" |
122 | ;; | 122 | ;; |
123 | hppa1.0*-*-*) | 123 | hppa1.0*-*-*) |
124 | echo '/* configured for HPPA 1.0 */' >>./mpi/asm-syntax.h | 124 | echo '/* configured for HPPA 1.0 */' >>./mpi/asm-syntax.h |
125 | path="hppa" | 125 | path="hppa" |
126 | mpi_extra_modules="udiv-qrnnd" | 126 | mpi_extra_modules="udiv-qrnnd" |
127 | ;; | 127 | ;; |
128 | hppa*-*-*) # assume pa7100 | 128 | hppa*-*-*) # assume pa7100 |
129 | echo '/* configured for HPPA (pa7100) */' >>./mpi/asm-syntax.h | 129 | echo '/* configured for HPPA (pa7100) */' >>./mpi/asm-syntax.h |
130 | path="pa7100 hppa1.1 hppa" | 130 | path="pa7100 hppa1.1 hppa" |
131 | mpi_extra_modules="udiv-qrnnd" | 131 | mpi_extra_modules="udiv-qrnnd" |
132 | ;; | 132 | ;; |
133 | sparc64-*-linux-gnu) | 133 | sparc64-*-linux-gnu) |
134 | # An extra rule because we have an report for this one only. | 134 | # An extra rule because we have an report for this one only. |
135 | # Should be compared against the next GMP version | 135 | # Should be compared against the next GMP version |
136 | echo '/* configured for sparc64-*-linux-gnu */' >>./mpi/asm-syntax.h | 136 | echo '/* configured for sparc64-*-linux-gnu */' >>./mpi/asm-syntax.h |
137 | path="sparc32v8 sparc32" | 137 | path="sparc32v8 sparc32" |
138 | mpi_extra_modules="udiv" | 138 | mpi_extra_modules="udiv" |
139 | ;; | 139 | ;; |
140 | sparc64-sun-solaris2*) | 140 | sparc64-sun-solaris2*) |
141 | # Got a report that udiv is missing, so we try this one | 141 | # Got a report that udiv is missing, so we try this one |
142 | echo '/* configured for sparc64-sun-solaris2 */' >>./mpi/asm-syntax.h | 142 | echo '/* configured for sparc64-sun-solaris2 */' >>./mpi/asm-syntax.h |
143 | path="sparc32v8 sparc32" | 143 | path="sparc32v8 sparc32" |
144 | mpi_extra_modules="udiv" | 144 | mpi_extra_modules="udiv" |
145 | ;; | 145 | ;; |
146 | sparc64-*-netbsd* | sparc64-*-freebsd* | sparc64-*-openbsd*) | 146 | sparc64-*-netbsd* | sparc64-*-freebsd* | sparc64-*-openbsd*) |
147 | # There are no sparc64 assembler modules that work on the | 147 | # There are no sparc64 assembler modules that work on the |
148 | # *BSDs, so use the generic C functions. | 148 | # *BSDs, so use the generic C functions. |
149 | echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h | 149 | echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h |
150 | path="" | 150 | path="" |
151 | ;; | 151 | ;; |
152 | sparc9*-*-* | \ | 152 | sparc9*-*-* | \ |
153 | sparc64*-*-* | \ | 153 | sparc64*-*-* | \ |
154 | ultrasparc*-*-* ) | 154 | ultrasparc*-*-* ) |
155 | echo '/* configured for sparc9 or higher */' >>./mpi/asm-syntax.h | 155 | echo '/* configured for sparc9 or higher */' >>./mpi/asm-syntax.h |
156 | path="sparc32v8 sparc32" | 156 | path="sparc32v8 sparc32" |
157 | ;; | 157 | ;; |
158 | sparc8*-*-* | \ | 158 | sparc8*-*-* | \ |
159 | microsparc*-*-*) | 159 | microsparc*-*-*) |
160 | echo '/* configured for sparc8 */' >>./mpi/asm-syntax.h | 160 | echo '/* configured for sparc8 */' >>./mpi/asm-syntax.h |
161 | path="sparc32v8 sparc32" | 161 | path="sparc32v8 sparc32" |
162 | ;; | 162 | ;; |
163 | supersparc*-*-*) | 163 | supersparc*-*-*) |
164 | echo '/* configured for supersparc */' >>./mpi/asm-syntax.h | 164 | echo '/* configured for supersparc */' >>./mpi/asm-syntax.h |
165 | path="supersparc sparc32v8 sparc32" | 165 | path="supersparc sparc32v8 sparc32" |
166 | mpi_extra_modules="udiv" | 166 | mpi_extra_modules="udiv" |
167 | ;; | 167 | ;; |
168 | sparc*-*-*) | 168 | sparc*-*-*) |
169 | echo '/* configured for sparc */' >>./mpi/asm-syntax.h | 169 | echo '/* configured for sparc */' >>./mpi/asm-syntax.h |
170 | path="sparc32" | 170 | path="sparc32" |
171 | mpi_extra_modules="udiv" | 171 | mpi_extra_modules="udiv" |
172 | ;; | 172 | ;; |
173 | mips[34]*-*-* | \ | 173 | mips[34]*-*-* | \ |
174 | mips*-*-irix6*) | 174 | mips*-*-irix6*) |
175 | echo '/* configured for MIPS3 */' >>./mpi/asm-syntax.h | 175 | echo '/* configured for MIPS3 */' >>./mpi/asm-syntax.h |
176 | path="mips3" | 176 | path="mips3" |
177 | ;; | 177 | ;; |
178 | mips*-*-*) | 178 | mips*-*-*) |
179 | echo '/* configured for MIPS2 */' >>./mpi/asm-syntax.h | 179 | echo '/* configured for MIPS2 */' >>./mpi/asm-syntax.h |
180 | path="mips2" | 180 | path="mips2" |
181 | ;; | 181 | ;; |
182 | 182 | ||
183 | # Motorola 68k configurations. Let m68k mean 68020-68040. | 183 | # Motorola 68k configurations. Let m68k mean 68020-68040. |
184 | # mc68000 or mc68060 configurations need to be specified explicitly | 184 | # mc68000 or mc68060 configurations need to be specified explicitly |
185 | m680[234]0*-*-linuxaout* | \ | 185 | m680[234]0*-*-linuxaout* | \ |
186 | m68k*-*-linuxaout*) | 186 | m68k*-*-linuxaout*) |
187 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h | 187 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h |
188 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h | 188 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h |
189 | path="m68k/mc68020 m68k" | 189 | path="m68k/mc68020 m68k" |
190 | ;; | 190 | ;; |
191 | m68060*-*-linuxaout*) | 191 | m68060*-*-linuxaout*) |
192 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h | 192 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h |
193 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h | 193 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h |
194 | path="m68k" | 194 | path="m68k" |
195 | ;; | 195 | ;; |
196 | m680[234]0*-*-linux* | \ | 196 | m680[234]0*-*-linux* | \ |
197 | m68k*-*-linux*) | 197 | m68k*-*-linux*) |
198 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 198 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
199 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h | 199 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h |
200 | ;; | 200 | ;; |
201 | m68060*-*-linux*) | 201 | m68060*-*-linux*) |
202 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 202 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
203 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h | 203 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h |
204 | path="m68k" | 204 | path="m68k" |
205 | ;; | 205 | ;; |
206 | m68k-atari-mint) | 206 | m68k-atari-mint) |
207 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h | 207 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h |
208 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h | 208 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h |
209 | path="m68k/mc68020 m68k" | 209 | path="m68k/mc68020 m68k" |
210 | ;; | 210 | ;; |
211 | m68000*-*-* | \ | 211 | m68000*-*-* | \ |
212 | m68060*-*-*) | 212 | m68060*-*-*) |
213 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h | 213 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h |
214 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h | 214 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h |
215 | path="m68k/mc68000" | 215 | path="m68k/mc68000" |
216 | ;; | 216 | ;; |
217 | m680[234]0*-*-* | \ | 217 | m680[234]0*-*-* | \ |
218 | m68k*-*-*) | 218 | m68k*-*-*) |
219 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h | 219 | echo '#define MIT_SYNTAX' >>./mpi/asm-syntax.h |
220 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h | 220 | cat $srcdir/mpi/m68k/syntax.h >>./mpi/asm-syntax.h |
221 | path="m68k/mc68020 m68k" | 221 | path="m68k/mc68020 m68k" |
222 | ;; | 222 | ;; |
223 | 223 | ||
224 | powerpc*-*-linux*) | 224 | powerpc*-*-linux*) |
225 | echo '/* configured for powerpc/ELF */' >>./mpi/asm-syntax.h | 225 | echo '/* configured for powerpc/ELF */' >>./mpi/asm-syntax.h |
226 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 226 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
227 | cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h | 227 | cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h |
228 | path="powerpc32" | 228 | path="powerpc32" |
229 | ;; | 229 | ;; |
230 | 230 | ||
231 | powerpc*-*-netbsd* | powerpc*-*-openbsd*) | 231 | powerpc*-*-netbsd* | powerpc*-*-openbsd*) |
232 | echo '/* configured {Open,Net}BSD on powerpc */' >>./mpi/asm-syntax.h | 232 | echo '/* configured {Open,Net}BSD on powerpc */' >>./mpi/asm-syntax.h |
233 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h | 233 | echo '#define ELF_SYNTAX' >>./mpi/asm-syntax.h |
234 | cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h | 234 | cat $srcdir/mpi/powerpc32/syntax.h >>./mpi/asm-syntax.h |
235 | mpi_sflags="-Wa,-mppc" | 235 | mpi_sflags="-Wa,-mppc" |
236 | path="powerpc32" | 236 | path="powerpc32" |
237 | ;; | 237 | ;; |
238 | 238 | ||
239 | rs6000-*-aix[456789]* | \ | 239 | rs6000-*-aix[456789]* | \ |
240 | rs6000-*-aix3.2.[456789]) | 240 | rs6000-*-aix3.2.[456789]) |
241 | mpi_sflags="-Wa,-mpwr" | 241 | mpi_sflags="-Wa,-mpwr" |
242 | path="power" | 242 | path="power" |
243 | mpi_extra_modules="udiv-w-sdiv" | 243 | mpi_extra_modules="udiv-w-sdiv" |
244 | ;; | 244 | ;; |
245 | rs6000-*-* | \ | 245 | rs6000-*-* | \ |
246 | power-*-* | \ | 246 | power-*-* | \ |
247 | power2-*-*) | 247 | power2-*-*) |
248 | mpi_sflags="-Wa,-mppc" | 248 | mpi_sflags="-Wa,-mppc" |
249 | path="power" | 249 | path="power" |
250 | mpi_extra_modules="udiv-w-sdiv" | 250 | mpi_extra_modules="udiv-w-sdiv" |
251 | ;; | 251 | ;; |
252 | powerpc-ibm-aix4.2.* ) | 252 | powerpc-ibm-aix4.2.* ) |
253 | # I am not sure about this one but a machine identified by | 253 | # I am not sure about this one but a machine identified by |
254 | # powerpc-ibm-aix4.2.1.0 cannot use the powerpc32 code. | 254 | # powerpc-ibm-aix4.2.1.0 cannot use the powerpc32 code. |
255 | mpi_sflags="-Wa,-mpwr" | 255 | mpi_sflags="-Wa,-mpwr" |
256 | path="power" | 256 | path="power" |
257 | mpi_extra_modules="udiv-w-sdiv" | 257 | mpi_extra_modules="udiv-w-sdiv" |
258 | ;; | 258 | ;; |
259 | ppc601-*-*) | 259 | ppc601-*-*) |
260 | mpi_sflags="-Wa,-mppc" | 260 | mpi_sflags="-Wa,-mppc" |
261 | path="power powerpc32" | 261 | path="power powerpc32" |
262 | ;; | 262 | ;; |
263 | ppc60[234]*-*-*) | 263 | ppc60[234]*-*-*) |
264 | mpi_sflags="-Wa,-mppc" | 264 | mpi_sflags="-Wa,-mppc" |
265 | path="powerpc32" | 265 | path="powerpc32" |
266 | ;; | 266 | ;; |
267 | ppc620-*-* | \ | 267 | ppc620-*-* | \ |
268 | powerpc64*-*-*) | 268 | powerpc64*-*-*) |
269 | mpi_sflags="-Wa,-mppc" | 269 | mpi_sflags="-Wa,-mppc" |
270 | path="powerpc64" | 270 | path="powerpc64" |
271 | ;; | 271 | ;; |
272 | powerpc*-*-*) | 272 | powerpc*-*-*) |
273 | mpi_sflags="-Wa,-mppc" | 273 | mpi_sflags="-Wa,-mppc" |
274 | path="powerpc32" | 274 | path="powerpc32" |
275 | ;; | 275 | ;; |
276 | *) | 276 | *) |
277 | echo '/* No assembler modules configured */' >>./mpi/asm-syntax.h | 277 | echo '/* No assembler modules configured */' >>./mpi/asm-syntax.h |
278 | path="" | 278 | path="" |
279 | ;; | 279 | ;; |
280 | esac | 280 | esac |
281 | else | 281 | else |
282 | echo '/* Assembler modules disabled on request */' >>./mpi/asm-syntax.h | 282 | echo '/* Assembler modules disabled on request */' >>./mpi/asm-syntax.h |
283 | path="" | 283 | path="" |
284 | fi | 284 | fi |
285 | 285 | ||
286 | 286 | ||
287 | # Make sysdep.h | 287 | # Make sysdep.h |
288 | echo '/* created by config.links - do not edit */' >./mpi/sysdep.h | 288 | echo '/* created by config.links - do not edit */' >./mpi/sysdep.h |
289 | if test x$ac_cv_sys_symbol_underscore = xyes; then | 289 | if test x$ac_cv_sys_symbol_underscore = xyes; then |
290 | cat <<EOF >>./mpi/sysdep.h | 290 | cat <<EOF >>./mpi/sysdep.h |
291 | #if __STDC__ | 291 | #if __STDC__ |
292 | #define C_SYMBOL_NAME(name) _##name | 292 | #define C_SYMBOL_NAME(name) _##name |
293 | #else | 293 | #else |
294 | #define C_SYMBOL_NAME(name) _/**/name | 294 | #define C_SYMBOL_NAME(name) _/**/name |
295 | #endif | 295 | #endif |
296 | EOF | 296 | EOF |
297 | else | 297 | else |
298 | cat <<EOF >>./mpi/sysdep.h | 298 | cat <<EOF >>./mpi/sysdep.h |
299 | #define C_SYMBOL_NAME(name) name | 299 | #define C_SYMBOL_NAME(name) name |
300 | EOF | 300 | EOF |
301 | fi | 301 | fi |
302 | 302 | ||
303 | 303 | ||
304 | # Figure the required modules out | 304 | # Figure the required modules out |
305 | mpi_required_modules=$mpi_standard_modules | 305 | mpi_required_modules=$mpi_standard_modules |
306 | if test "$mpi_extra_modules" != ""; then | 306 | if test "$mpi_extra_modules" != ""; then |
307 | for fn in $mpi_extra_modules; do | 307 | for fn in $mpi_extra_modules; do |
308 | for i in $mpi_optional_modules; do | 308 | for i in $mpi_optional_modules; do |
309 | if test "$fn" = "$i" ; then | 309 | if test "$fn" = "$i" ; then |
310 | mpi_required_modules="$mpi_required_modules $fn" | 310 | mpi_required_modules="$mpi_required_modules $fn" |
311 | fi | 311 | fi |
312 | done | 312 | done |
313 | done | 313 | done |
314 | fi | 314 | fi |
315 | 315 | ||
316 | # try to get file to link from the assembler subdirectory and | 316 | # try to get file to link from the assembler subdirectory and |
317 | # if this fails get it from the generic subdirectory. | 317 | # if this fails get it from the generic subdirectory. |
318 | mpi_ln_list= | 318 | mpi_ln_list= |
319 | mpi_mod_list= | 319 | mpi_mod_list= |
320 | path="$path generic" | 320 | path="$path generic" |
321 | for fn in $mpi_required_modules ; do | 321 | for fn in $mpi_required_modules ; do |
322 | fnu=`echo $fn | sed 's/-/_/g'` | 322 | fnu=`echo $fn | sed 's/-/_/g'` |
323 | eval mpi_mod_c_${fnu}=no | 323 | eval mpi_mod_c_${fnu}=no |
324 | eval mpi_mod_asm_${fnu}=no | 324 | eval mpi_mod_asm_${fnu}=no |
325 | for dir in $path ; do | 325 | for dir in $path ; do |
326 | rm -f $srcdir/mpi/$fn.[Sc] | 326 | rm -f $srcdir/mpi/$fn.[Sc] |
327 | if test -f $srcdir/mpi/$dir/$fn.S ; then | 327 | if test -f $srcdir/mpi/$dir/$fn.S ; then |
328 | mpi_ln_list="$mpi_ln_list mpi/$fn.S:mpi/$dir/$fn.S" | 328 | mpi_ln_list="$mpi_ln_list mpi/$fn.S:mpi/$dir/$fn.S" |
329 | eval mpi_mod_asm_${fnu}=yes | 329 | eval mpi_mod_asm_${fnu}=yes |
330 | mpi_mod_list="$mpi_mod_list $fn" | 330 | mpi_mod_list="$mpi_mod_list $fn" |
331 | break; | 331 | break; |
332 | elif test -f $srcdir/mpi/$dir/$fn.c ; then | 332 | elif test -f $srcdir/mpi/$dir/$fn.c ; then |
333 | mpi_ln_list="$mpi_ln_list mpi/$fn.c:mpi/$dir/$fn.c" | 333 | mpi_ln_list="$mpi_ln_list mpi/$fn.c:mpi/$dir/$fn.c" |
334 | eval mpi_mod_c_${fnu}=yes | 334 | eval mpi_mod_c_${fnu}=yes |
335 | mpi_mod_list="$mpi_mod_list $fn" | 335 | mpi_mod_list="$mpi_mod_list $fn" |
336 | break; | 336 | break; |
337 | fi | 337 | fi |
338 | done | 338 | done |
339 | done | 339 | done |
340 | 340 | ||
341 | # Same thing for the file which defines the limb size | 341 | # Same thing for the file which defines the limb size |
342 | path="$path generic" | 342 | path="$path generic" |
343 | for dir in $path ; do | 343 | for dir in $path ; do |
344 | rm -f $srcdir/mpi/mpi-asm-defs.h | 344 | rm -f $srcdir/mpi/mpi-asm-defs.h |
345 | if test -f $srcdir/mpi/$dir/mpi-asm-defs.h ; then | 345 | if test -f $srcdir/mpi/$dir/mpi-asm-defs.h ; then |
346 | mpi_ln_list="$mpi_ln_list mpi/mpi-asm-defs.h:mpi/$dir/mpi-asm-defs.h" | 346 | mpi_ln_list="$mpi_ln_list mpi/mpi-asm-defs.h:mpi/$dir/mpi-asm-defs.h" |
347 | break; | 347 | break; |
348 | fi | 348 | fi |
349 | done | 349 | done |
350 | 350 | ||