Merge lp:~sbeattie/ubuntu/oneiric/rng-tools/lp812121-linux-3.0 into lp:ubuntu/oneiric/rng-tools
- Oneiric (11.10)
- lp812121-linux-3.0
- Merge into oneiric
Proposed by
Steve Beattie
Status: | Merged |
---|---|
Merged at revision: | 10 |
Proposed branch: | lp:~sbeattie/ubuntu/oneiric/rng-tools/lp812121-linux-3.0 |
Merge into: | lp:ubuntu/oneiric/rng-tools |
Diff against target: |
10095 lines (+84/-9881) 11 files modified
.gitignore (+4/-0) ChangeLog (+4/-0) aclocal.m4 (+0/-991) config.guess (+0/-1502) config.sub (+0/-1714) configure (+0/-5635) configure.ac (+1/-1) debian/changelog (+51/-31) debian/control (+1/-1) util.c (+11/-4) viapadlock_engine.c (+12/-2) |
To merge this branch: | bzr merge lp:~sbeattie/ubuntu/oneiric/rng-tools/lp812121-linux-3.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kees Cook | Approve | ||
Review via email: mp+68215@code.launchpad.net |
Commit message
Description of the change
This is a merge of debian rng-tools 2-unofficial-
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added file '.gitignore' |
2 | --- .gitignore 1970-01-01 00:00:00 +0000 |
3 | +++ .gitignore 2011-07-18 07:41:43 +0000 |
4 | @@ -0,0 +1,4 @@ |
5 | +config.sub |
6 | +config.guess |
7 | +aclocal.m4 |
8 | +configure |
9 | |
10 | === modified file 'ChangeLog' |
11 | --- ChangeLog 2010-05-13 23:24:00 +0000 |
12 | +++ ChangeLog 2011-07-18 07:41:43 +0000 |
13 | @@ -1,3 +1,7 @@ |
14 | +Fri Jun 17 2011 Henrique de Moraes Holschuh <hmh@hmh.eng.br> |
15 | + * Work around CPU errata: Nano xstore corrupts memory |
16 | + * Support kernels 3.0 and later |
17 | + |
18 | Sun May 02 2010 Henrique de Moraes Holschuh <hmh@hmh.eng.br> |
19 | * enable LARGE_FILE support, otherwise the VIA Padlock code |
20 | won't work, thanks to Janis Hamme <anmeldung37@arcor.de> |
21 | |
22 | === removed file 'aclocal.m4' |
23 | --- aclocal.m4 2010-11-05 17:23:05 +0000 |
24 | +++ aclocal.m4 1970-01-01 00:00:00 +0000 |
25 | @@ -1,991 +0,0 @@ |
26 | -# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
27 | - |
28 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
29 | -# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
30 | -# This file is free software; the Free Software Foundation |
31 | -# gives unlimited permission to copy and/or distribute it, |
32 | -# with or without modifications, as long as this notice is preserved. |
33 | - |
34 | -# This program is distributed in the hope that it will be useful, |
35 | -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
36 | -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
37 | -# PARTICULAR PURPOSE. |
38 | - |
39 | -m4_ifndef([AC_AUTOCONF_VERSION], |
40 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
41 | -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, |
42 | -[m4_warning([this file was generated for autoconf 2.65. |
43 | -You have another version of autoconf. It may work, but is not guaranteed to. |
44 | -If you have problems, you may need to regenerate the build system entirely. |
45 | -To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
46 | - |
47 | -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
48 | -# |
49 | -# This file is free software; the Free Software Foundation |
50 | -# gives unlimited permission to copy and/or distribute it, |
51 | -# with or without modifications, as long as this notice is preserved. |
52 | - |
53 | -# AM_AUTOMAKE_VERSION(VERSION) |
54 | -# ---------------------------- |
55 | -# Automake X.Y traces this macro to ensure aclocal.m4 has been |
56 | -# generated from the m4 files accompanying Automake X.Y. |
57 | -# (This private macro should not be called outside this file.) |
58 | -AC_DEFUN([AM_AUTOMAKE_VERSION], |
59 | -[am__api_version='1.11' |
60 | -dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
61 | -dnl require some minimum version. Point them to the right macro. |
62 | -m4_if([$1], [1.11.1], [], |
63 | - [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
64 | -]) |
65 | - |
66 | -# _AM_AUTOCONF_VERSION(VERSION) |
67 | -# ----------------------------- |
68 | -# aclocal traces this macro to find the Autoconf version. |
69 | -# This is a private macro too. Using m4_define simplifies |
70 | -# the logic in aclocal, which can simply ignore this definition. |
71 | -m4_define([_AM_AUTOCONF_VERSION], []) |
72 | - |
73 | -# AM_SET_CURRENT_AUTOMAKE_VERSION |
74 | -# ------------------------------- |
75 | -# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
76 | -# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
77 | -AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
78 | -[AM_AUTOMAKE_VERSION([1.11.1])dnl |
79 | -m4_ifndef([AC_AUTOCONF_VERSION], |
80 | - [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
81 | -_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
82 | - |
83 | -# AM_AUX_DIR_EXPAND -*- Autoconf -*- |
84 | - |
85 | -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
86 | -# |
87 | -# This file is free software; the Free Software Foundation |
88 | -# gives unlimited permission to copy and/or distribute it, |
89 | -# with or without modifications, as long as this notice is preserved. |
90 | - |
91 | -# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
92 | -# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
93 | -# `$srcdir', `$srcdir/..', or `$srcdir/../..'. |
94 | -# |
95 | -# Of course, Automake must honor this variable whenever it calls a |
96 | -# tool from the auxiliary directory. The problem is that $srcdir (and |
97 | -# therefore $ac_aux_dir as well) can be either absolute or relative, |
98 | -# depending on how configure is run. This is pretty annoying, since |
99 | -# it makes $ac_aux_dir quite unusable in subdirectories: in the top |
100 | -# source directory, any form will work fine, but in subdirectories a |
101 | -# relative path needs to be adjusted first. |
102 | -# |
103 | -# $ac_aux_dir/missing |
104 | -# fails when called from a subdirectory if $ac_aux_dir is relative |
105 | -# $top_srcdir/$ac_aux_dir/missing |
106 | -# fails if $ac_aux_dir is absolute, |
107 | -# fails when called from a subdirectory in a VPATH build with |
108 | -# a relative $ac_aux_dir |
109 | -# |
110 | -# The reason of the latter failure is that $top_srcdir and $ac_aux_dir |
111 | -# are both prefixed by $srcdir. In an in-source build this is usually |
112 | -# harmless because $srcdir is `.', but things will broke when you |
113 | -# start a VPATH build or use an absolute $srcdir. |
114 | -# |
115 | -# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, |
116 | -# iff we strip the leading $srcdir from $ac_aux_dir. That would be: |
117 | -# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` |
118 | -# and then we would define $MISSING as |
119 | -# MISSING="\${SHELL} $am_aux_dir/missing" |
120 | -# This will work as long as MISSING is not called from configure, because |
121 | -# unfortunately $(top_srcdir) has no meaning in configure. |
122 | -# However there are other variables, like CC, which are often used in |
123 | -# configure, and could therefore not use this "fixed" $ac_aux_dir. |
124 | -# |
125 | -# Another solution, used here, is to always expand $ac_aux_dir to an |
126 | -# absolute PATH. The drawback is that using absolute paths prevent a |
127 | -# configured tree to be moved without reconfiguration. |
128 | - |
129 | -AC_DEFUN([AM_AUX_DIR_EXPAND], |
130 | -[dnl Rely on autoconf to set up CDPATH properly. |
131 | -AC_PREREQ([2.50])dnl |
132 | -# expand $ac_aux_dir to an absolute path |
133 | -am_aux_dir=`cd $ac_aux_dir && pwd` |
134 | -]) |
135 | - |
136 | -# AM_CONDITIONAL -*- Autoconf -*- |
137 | - |
138 | -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 |
139 | -# Free Software Foundation, Inc. |
140 | -# |
141 | -# This file is free software; the Free Software Foundation |
142 | -# gives unlimited permission to copy and/or distribute it, |
143 | -# with or without modifications, as long as this notice is preserved. |
144 | - |
145 | -# serial 9 |
146 | - |
147 | -# AM_CONDITIONAL(NAME, SHELL-CONDITION) |
148 | -# ------------------------------------- |
149 | -# Define a conditional. |
150 | -AC_DEFUN([AM_CONDITIONAL], |
151 | -[AC_PREREQ(2.52)dnl |
152 | - ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], |
153 | - [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl |
154 | -AC_SUBST([$1_TRUE])dnl |
155 | -AC_SUBST([$1_FALSE])dnl |
156 | -_AM_SUBST_NOTMAKE([$1_TRUE])dnl |
157 | -_AM_SUBST_NOTMAKE([$1_FALSE])dnl |
158 | -m4_define([_AM_COND_VALUE_$1], [$2])dnl |
159 | -if $2; then |
160 | - $1_TRUE= |
161 | - $1_FALSE='#' |
162 | -else |
163 | - $1_TRUE='#' |
164 | - $1_FALSE= |
165 | -fi |
166 | -AC_CONFIG_COMMANDS_PRE( |
167 | -[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
168 | - AC_MSG_ERROR([[conditional "$1" was never defined. |
169 | -Usually this means the macro was only invoked conditionally.]]) |
170 | -fi])]) |
171 | - |
172 | -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 |
173 | -# Free Software Foundation, Inc. |
174 | -# |
175 | -# This file is free software; the Free Software Foundation |
176 | -# gives unlimited permission to copy and/or distribute it, |
177 | -# with or without modifications, as long as this notice is preserved. |
178 | - |
179 | -# serial 10 |
180 | - |
181 | -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
182 | -# written in clear, in which case automake, when reading aclocal.m4, |
183 | -# will think it sees a *use*, and therefore will trigger all it's |
184 | -# C support machinery. Also note that it means that autoscan, seeing |
185 | -# CC etc. in the Makefile, will ask for an AC_PROG_CC use... |
186 | - |
187 | - |
188 | -# _AM_DEPENDENCIES(NAME) |
189 | -# ---------------------- |
190 | -# See how the compiler implements dependency checking. |
191 | -# NAME is "CC", "CXX", "GCJ", or "OBJC". |
192 | -# We try a few techniques and use that to set a single cache variable. |
193 | -# |
194 | -# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was |
195 | -# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular |
196 | -# dependency, and given that the user is not expected to run this macro, |
197 | -# just rely on AC_PROG_CC. |
198 | -AC_DEFUN([_AM_DEPENDENCIES], |
199 | -[AC_REQUIRE([AM_SET_DEPDIR])dnl |
200 | -AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl |
201 | -AC_REQUIRE([AM_MAKE_INCLUDE])dnl |
202 | -AC_REQUIRE([AM_DEP_TRACK])dnl |
203 | - |
204 | -ifelse([$1], CC, [depcc="$CC" am_compiler_list=], |
205 | - [$1], CXX, [depcc="$CXX" am_compiler_list=], |
206 | - [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], |
207 | - [$1], UPC, [depcc="$UPC" am_compiler_list=], |
208 | - [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], |
209 | - [depcc="$$1" am_compiler_list=]) |
210 | - |
211 | -AC_CACHE_CHECK([dependency style of $depcc], |
212 | - [am_cv_$1_dependencies_compiler_type], |
213 | -[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
214 | - # We make a subdir and do the tests there. Otherwise we can end up |
215 | - # making bogus files that we don't know about and never remove. For |
216 | - # instance it was reported that on HP-UX the gcc test will end up |
217 | - # making a dummy file named `D' -- because `-MD' means `put the output |
218 | - # in D'. |
219 | - mkdir conftest.dir |
220 | - # Copy depcomp to subdir because otherwise we won't find it if we're |
221 | - # using a relative directory. |
222 | - cp "$am_depcomp" conftest.dir |
223 | - cd conftest.dir |
224 | - # We will build objects and dependencies in a subdirectory because |
225 | - # it helps to detect inapplicable dependency modes. For instance |
226 | - # both Tru64's cc and ICC support -MD to output dependencies as a |
227 | - # side effect of compilation, but ICC will put the dependencies in |
228 | - # the current directory while Tru64 will put them in the object |
229 | - # directory. |
230 | - mkdir sub |
231 | - |
232 | - am_cv_$1_dependencies_compiler_type=none |
233 | - if test "$am_compiler_list" = ""; then |
234 | - am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` |
235 | - fi |
236 | - am__universal=false |
237 | - m4_case([$1], [CC], |
238 | - [case " $depcc " in #( |
239 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; |
240 | - esac], |
241 | - [CXX], |
242 | - [case " $depcc " in #( |
243 | - *\ -arch\ *\ -arch\ *) am__universal=true ;; |
244 | - esac]) |
245 | - |
246 | - for depmode in $am_compiler_list; do |
247 | - # Setup a source with many dependencies, because some compilers |
248 | - # like to wrap large dependency lists on column 80 (with \), and |
249 | - # we should not choose a depcomp mode which is confused by this. |
250 | - # |
251 | - # We need to recreate these files for each test, as the compiler may |
252 | - # overwrite some of them when testing with obscure command lines. |
253 | - # This happens at least with the AIX C compiler. |
254 | - : > sub/conftest.c |
255 | - for i in 1 2 3 4 5 6; do |
256 | - echo '#include "conftst'$i'.h"' >> sub/conftest.c |
257 | - # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
258 | - # Solaris 8's {/usr,}/bin/sh. |
259 | - touch sub/conftst$i.h |
260 | - done |
261 | - echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
262 | - |
263 | - # We check with `-c' and `-o' for the sake of the "dashmstdout" |
264 | - # mode. It turns out that the SunPro C++ compiler does not properly |
265 | - # handle `-M -o', and we need to detect this. Also, some Intel |
266 | - # versions had trouble with output in subdirs |
267 | - am__obj=sub/conftest.${OBJEXT-o} |
268 | - am__minus_obj="-o $am__obj" |
269 | - case $depmode in |
270 | - gcc) |
271 | - # This depmode causes a compiler race in universal mode. |
272 | - test "$am__universal" = false || continue |
273 | - ;; |
274 | - nosideeffect) |
275 | - # after this tag, mechanisms are not by side-effect, so they'll |
276 | - # only be used when explicitly requested |
277 | - if test "x$enable_dependency_tracking" = xyes; then |
278 | - continue |
279 | - else |
280 | - break |
281 | - fi |
282 | - ;; |
283 | - msvisualcpp | msvcmsys) |
284 | - # This compiler won't grok `-c -o', but also, the minuso test has |
285 | - # not run yet. These depmodes are late enough in the game, and |
286 | - # so weak that their functioning should not be impacted. |
287 | - am__obj=conftest.${OBJEXT-o} |
288 | - am__minus_obj= |
289 | - ;; |
290 | - none) break ;; |
291 | - esac |
292 | - if depmode=$depmode \ |
293 | - source=sub/conftest.c object=$am__obj \ |
294 | - depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
295 | - $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
296 | - >/dev/null 2>conftest.err && |
297 | - grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
298 | - grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
299 | - grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
300 | - ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
301 | - # icc doesn't choke on unknown options, it will just issue warnings |
302 | - # or remarks (even with -Werror). So we grep stderr for any message |
303 | - # that says an option was ignored or not supported. |
304 | - # When given -MP, icc 7.0 and 7.1 complain thusly: |
305 | - # icc: Command line warning: ignoring option '-M'; no argument required |
306 | - # The diagnosis changed in icc 8.0: |
307 | - # icc: Command line remark: option '-MP' not supported |
308 | - if (grep 'ignoring option' conftest.err || |
309 | - grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
310 | - am_cv_$1_dependencies_compiler_type=$depmode |
311 | - break |
312 | - fi |
313 | - fi |
314 | - done |
315 | - |
316 | - cd .. |
317 | - rm -rf conftest.dir |
318 | -else |
319 | - am_cv_$1_dependencies_compiler_type=none |
320 | -fi |
321 | -]) |
322 | -AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
323 | -AM_CONDITIONAL([am__fastdep$1], [ |
324 | - test "x$enable_dependency_tracking" != xno \ |
325 | - && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
326 | -]) |
327 | - |
328 | - |
329 | -# AM_SET_DEPDIR |
330 | -# ------------- |
331 | -# Choose a directory name for dependency files. |
332 | -# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
333 | -AC_DEFUN([AM_SET_DEPDIR], |
334 | -[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
335 | -AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
336 | -]) |
337 | - |
338 | - |
339 | -# AM_DEP_TRACK |
340 | -# ------------ |
341 | -AC_DEFUN([AM_DEP_TRACK], |
342 | -[AC_ARG_ENABLE(dependency-tracking, |
343 | -[ --disable-dependency-tracking speeds up one-time build |
344 | - --enable-dependency-tracking do not reject slow dependency extractors]) |
345 | -if test "x$enable_dependency_tracking" != xno; then |
346 | - am_depcomp="$ac_aux_dir/depcomp" |
347 | - AMDEPBACKSLASH='\' |
348 | -fi |
349 | -AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
350 | -AC_SUBST([AMDEPBACKSLASH])dnl |
351 | -_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
352 | -]) |
353 | - |
354 | -# Generate code to set up dependency tracking. -*- Autoconf -*- |
355 | - |
356 | -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
357 | -# Free Software Foundation, Inc. |
358 | -# |
359 | -# This file is free software; the Free Software Foundation |
360 | -# gives unlimited permission to copy and/or distribute it, |
361 | -# with or without modifications, as long as this notice is preserved. |
362 | - |
363 | -#serial 5 |
364 | - |
365 | -# _AM_OUTPUT_DEPENDENCY_COMMANDS |
366 | -# ------------------------------ |
367 | -AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], |
368 | -[{ |
369 | - # Autoconf 2.62 quotes --file arguments for eval, but not when files |
370 | - # are listed without --file. Let's play safe and only enable the eval |
371 | - # if we detect the quoting. |
372 | - case $CONFIG_FILES in |
373 | - *\'*) eval set x "$CONFIG_FILES" ;; |
374 | - *) set x $CONFIG_FILES ;; |
375 | - esac |
376 | - shift |
377 | - for mf |
378 | - do |
379 | - # Strip MF so we end up with the name of the file. |
380 | - mf=`echo "$mf" | sed -e 's/:.*$//'` |
381 | - # Check whether this is an Automake generated Makefile or not. |
382 | - # We used to match only the files named `Makefile.in', but |
383 | - # some people rename them; so instead we look at the file content. |
384 | - # Grep'ing the first line is not enough: some people post-process |
385 | - # each Makefile.in and add a new line on top of each file to say so. |
386 | - # Grep'ing the whole file is not good either: AIX grep has a line |
387 | - # limit of 2048, but all sed's we know have understand at least 4000. |
388 | - if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
389 | - dirpart=`AS_DIRNAME("$mf")` |
390 | - else |
391 | - continue |
392 | - fi |
393 | - # Extract the definition of DEPDIR, am__include, and am__quote |
394 | - # from the Makefile without running `make'. |
395 | - DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
396 | - test -z "$DEPDIR" && continue |
397 | - am__include=`sed -n 's/^am__include = //p' < "$mf"` |
398 | - test -z "am__include" && continue |
399 | - am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
400 | - # When using ansi2knr, U may be empty or an underscore; expand it |
401 | - U=`sed -n 's/^U = //p' < "$mf"` |
402 | - # Find all dependency output files, they are included files with |
403 | - # $(DEPDIR) in their names. We invoke sed twice because it is the |
404 | - # simplest approach to changing $(DEPDIR) to its actual value in the |
405 | - # expansion. |
406 | - for file in `sed -n " |
407 | - s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
408 | - sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
409 | - # Make sure the directory exists. |
410 | - test -f "$dirpart/$file" && continue |
411 | - fdir=`AS_DIRNAME(["$file"])` |
412 | - AS_MKDIR_P([$dirpart/$fdir]) |
413 | - # echo "creating $dirpart/$file" |
414 | - echo '# dummy' > "$dirpart/$file" |
415 | - done |
416 | - done |
417 | -} |
418 | -])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
419 | - |
420 | - |
421 | -# AM_OUTPUT_DEPENDENCY_COMMANDS |
422 | -# ----------------------------- |
423 | -# This macro should only be invoked once -- use via AC_REQUIRE. |
424 | -# |
425 | -# This code is only required when automatic dependency tracking |
426 | -# is enabled. FIXME. This creates each `.P' file that we will |
427 | -# need in order to bootstrap the dependency handling code. |
428 | -AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
429 | -[AC_CONFIG_COMMANDS([depfiles], |
430 | - [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], |
431 | - [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
432 | -]) |
433 | - |
434 | -# Do all the work for Automake. -*- Autoconf -*- |
435 | - |
436 | -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
437 | -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc. |
438 | -# |
439 | -# This file is free software; the Free Software Foundation |
440 | -# gives unlimited permission to copy and/or distribute it, |
441 | -# with or without modifications, as long as this notice is preserved. |
442 | - |
443 | -# serial 16 |
444 | - |
445 | -# This macro actually does too much. Some checks are only needed if |
446 | -# your package does certain things. But this isn't really a big deal. |
447 | - |
448 | -# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
449 | -# AM_INIT_AUTOMAKE([OPTIONS]) |
450 | -# ----------------------------------------------- |
451 | -# The call with PACKAGE and VERSION arguments is the old style |
452 | -# call (pre autoconf-2.50), which is being phased out. PACKAGE |
453 | -# and VERSION should now be passed to AC_INIT and removed from |
454 | -# the call to AM_INIT_AUTOMAKE. |
455 | -# We support both call styles for the transition. After |
456 | -# the next Automake release, Autoconf can make the AC_INIT |
457 | -# arguments mandatory, and then we can depend on a new Autoconf |
458 | -# release and drop the old call support. |
459 | -AC_DEFUN([AM_INIT_AUTOMAKE], |
460 | -[AC_PREREQ([2.62])dnl |
461 | -dnl Autoconf wants to disallow AM_ names. We explicitly allow |
462 | -dnl the ones we care about. |
463 | -m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl |
464 | -AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl |
465 | -AC_REQUIRE([AC_PROG_INSTALL])dnl |
466 | -if test "`cd $srcdir && pwd`" != "`pwd`"; then |
467 | - # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
468 | - # is not polluted with repeated "-I." |
469 | - AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl |
470 | - # test to see if srcdir already configured |
471 | - if test -f $srcdir/config.status; then |
472 | - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
473 | - fi |
474 | -fi |
475 | - |
476 | -# test whether we have cygpath |
477 | -if test -z "$CYGPATH_W"; then |
478 | - if (cygpath --version) >/dev/null 2>/dev/null; then |
479 | - CYGPATH_W='cygpath -w' |
480 | - else |
481 | - CYGPATH_W=echo |
482 | - fi |
483 | -fi |
484 | -AC_SUBST([CYGPATH_W]) |
485 | - |
486 | -# Define the identity of the package. |
487 | -dnl Distinguish between old-style and new-style calls. |
488 | -m4_ifval([$2], |
489 | -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl |
490 | - AC_SUBST([PACKAGE], [$1])dnl |
491 | - AC_SUBST([VERSION], [$2])], |
492 | -[_AM_SET_OPTIONS([$1])dnl |
493 | -dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. |
494 | -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, |
495 | - [m4_fatal([AC_INIT should be called with package and version arguments])])dnl |
496 | - AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
497 | - AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
498 | - |
499 | -_AM_IF_OPTION([no-define],, |
500 | -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
501 | - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl |
502 | - |
503 | -# Some tools Automake needs. |
504 | -AC_REQUIRE([AM_SANITY_CHECK])dnl |
505 | -AC_REQUIRE([AC_ARG_PROGRAM])dnl |
506 | -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) |
507 | -AM_MISSING_PROG(AUTOCONF, autoconf) |
508 | -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) |
509 | -AM_MISSING_PROG(AUTOHEADER, autoheader) |
510 | -AM_MISSING_PROG(MAKEINFO, makeinfo) |
511 | -AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
512 | -AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl |
513 | -AC_REQUIRE([AM_PROG_MKDIR_P])dnl |
514 | -# We need awk for the "check" target. The system "awk" is bad on |
515 | -# some platforms. |
516 | -AC_REQUIRE([AC_PROG_AWK])dnl |
517 | -AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
518 | -AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
519 | -_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], |
520 | - [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], |
521 | - [_AM_PROG_TAR([v7])])]) |
522 | -_AM_IF_OPTION([no-dependencies],, |
523 | -[AC_PROVIDE_IFELSE([AC_PROG_CC], |
524 | - [_AM_DEPENDENCIES(CC)], |
525 | - [define([AC_PROG_CC], |
526 | - defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
527 | -AC_PROVIDE_IFELSE([AC_PROG_CXX], |
528 | - [_AM_DEPENDENCIES(CXX)], |
529 | - [define([AC_PROG_CXX], |
530 | - defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
531 | -AC_PROVIDE_IFELSE([AC_PROG_OBJC], |
532 | - [_AM_DEPENDENCIES(OBJC)], |
533 | - [define([AC_PROG_OBJC], |
534 | - defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl |
535 | -]) |
536 | -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl |
537 | -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the |
538 | -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro |
539 | -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. |
540 | -AC_CONFIG_COMMANDS_PRE(dnl |
541 | -[m4_provide_if([_AM_COMPILER_EXEEXT], |
542 | - [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl |
543 | -]) |
544 | - |
545 | -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not |
546 | -dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further |
547 | -dnl mangled by Autoconf and run in a shell conditional statement. |
548 | -m4_define([_AC_COMPILER_EXEEXT], |
549 | -m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) |
550 | - |
551 | - |
552 | -# When config.status generates a header, we must update the stamp-h file. |
553 | -# This file resides in the same directory as the config header |
554 | -# that is generated. The stamp files are numbered to have different names. |
555 | - |
556 | -# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
557 | -# loop where config.status creates the headers, so we can generate |
558 | -# our stamp files there. |
559 | -AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
560 | -[# Compute $1's index in $config_headers. |
561 | -_am_arg=$1 |
562 | -_am_stamp_count=1 |
563 | -for _am_header in $config_headers :; do |
564 | - case $_am_header in |
565 | - $_am_arg | $_am_arg:* ) |
566 | - break ;; |
567 | - * ) |
568 | - _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
569 | - esac |
570 | -done |
571 | -echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
572 | - |
573 | -# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. |
574 | -# |
575 | -# This file is free software; the Free Software Foundation |
576 | -# gives unlimited permission to copy and/or distribute it, |
577 | -# with or without modifications, as long as this notice is preserved. |
578 | - |
579 | -# AM_PROG_INSTALL_SH |
580 | -# ------------------ |
581 | -# Define $install_sh. |
582 | -AC_DEFUN([AM_PROG_INSTALL_SH], |
583 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
584 | -if test x"${install_sh}" != xset; then |
585 | - case $am_aux_dir in |
586 | - *\ * | *\ *) |
587 | - install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
588 | - *) |
589 | - install_sh="\${SHELL} $am_aux_dir/install-sh" |
590 | - esac |
591 | -fi |
592 | -AC_SUBST(install_sh)]) |
593 | - |
594 | -# Copyright (C) 2003, 2005 Free Software Foundation, Inc. |
595 | -# |
596 | -# This file is free software; the Free Software Foundation |
597 | -# gives unlimited permission to copy and/or distribute it, |
598 | -# with or without modifications, as long as this notice is preserved. |
599 | - |
600 | -# serial 2 |
601 | - |
602 | -# Check whether the underlying file-system supports filenames |
603 | -# with a leading dot. For instance MS-DOS doesn't. |
604 | -AC_DEFUN([AM_SET_LEADING_DOT], |
605 | -[rm -rf .tst 2>/dev/null |
606 | -mkdir .tst 2>/dev/null |
607 | -if test -d .tst; then |
608 | - am__leading_dot=. |
609 | -else |
610 | - am__leading_dot=_ |
611 | -fi |
612 | -rmdir .tst 2>/dev/null |
613 | -AC_SUBST([am__leading_dot])]) |
614 | - |
615 | -# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- |
616 | -# From Jim Meyering |
617 | - |
618 | -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008 |
619 | -# Free Software Foundation, Inc. |
620 | -# |
621 | -# This file is free software; the Free Software Foundation |
622 | -# gives unlimited permission to copy and/or distribute it, |
623 | -# with or without modifications, as long as this notice is preserved. |
624 | - |
625 | -# serial 5 |
626 | - |
627 | -# AM_MAINTAINER_MODE([DEFAULT-MODE]) |
628 | -# ---------------------------------- |
629 | -# Control maintainer-specific portions of Makefiles. |
630 | -# Default is to disable them, unless `enable' is passed literally. |
631 | -# For symmetry, `disable' may be passed as well. Anyway, the user |
632 | -# can override the default with the --enable/--disable switch. |
633 | -AC_DEFUN([AM_MAINTAINER_MODE], |
634 | -[m4_case(m4_default([$1], [disable]), |
635 | - [enable], [m4_define([am_maintainer_other], [disable])], |
636 | - [disable], [m4_define([am_maintainer_other], [enable])], |
637 | - [m4_define([am_maintainer_other], [enable]) |
638 | - m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) |
639 | -AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles]) |
640 | - dnl maintainer-mode's default is 'disable' unless 'enable' is passed |
641 | - AC_ARG_ENABLE([maintainer-mode], |
642 | -[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful |
643 | - (and sometimes confusing) to the casual installer], |
644 | - [USE_MAINTAINER_MODE=$enableval], |
645 | - [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) |
646 | - AC_MSG_RESULT([$USE_MAINTAINER_MODE]) |
647 | - AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) |
648 | - MAINT=$MAINTAINER_MODE_TRUE |
649 | - AC_SUBST([MAINT])dnl |
650 | -] |
651 | -) |
652 | - |
653 | -AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
654 | - |
655 | -# Check to see how 'make' treats includes. -*- Autoconf -*- |
656 | - |
657 | -# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. |
658 | -# |
659 | -# This file is free software; the Free Software Foundation |
660 | -# gives unlimited permission to copy and/or distribute it, |
661 | -# with or without modifications, as long as this notice is preserved. |
662 | - |
663 | -# serial 4 |
664 | - |
665 | -# AM_MAKE_INCLUDE() |
666 | -# ----------------- |
667 | -# Check to see how make treats includes. |
668 | -AC_DEFUN([AM_MAKE_INCLUDE], |
669 | -[am_make=${MAKE-make} |
670 | -cat > confinc << 'END' |
671 | -am__doit: |
672 | - @echo this is the am__doit target |
673 | -.PHONY: am__doit |
674 | -END |
675 | -# If we don't find an include directive, just comment out the code. |
676 | -AC_MSG_CHECKING([for style of include used by $am_make]) |
677 | -am__include="#" |
678 | -am__quote= |
679 | -_am_result=none |
680 | -# First try GNU make style include. |
681 | -echo "include confinc" > confmf |
682 | -# Ignore all kinds of additional output from `make'. |
683 | -case `$am_make -s -f confmf 2> /dev/null` in #( |
684 | -*the\ am__doit\ target*) |
685 | - am__include=include |
686 | - am__quote= |
687 | - _am_result=GNU |
688 | - ;; |
689 | -esac |
690 | -# Now try BSD make style include. |
691 | -if test "$am__include" = "#"; then |
692 | - echo '.include "confinc"' > confmf |
693 | - case `$am_make -s -f confmf 2> /dev/null` in #( |
694 | - *the\ am__doit\ target*) |
695 | - am__include=.include |
696 | - am__quote="\"" |
697 | - _am_result=BSD |
698 | - ;; |
699 | - esac |
700 | -fi |
701 | -AC_SUBST([am__include]) |
702 | -AC_SUBST([am__quote]) |
703 | -AC_MSG_RESULT([$_am_result]) |
704 | -rm -f confinc confmf |
705 | -]) |
706 | - |
707 | -# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
708 | - |
709 | -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 |
710 | -# Free Software Foundation, Inc. |
711 | -# |
712 | -# This file is free software; the Free Software Foundation |
713 | -# gives unlimited permission to copy and/or distribute it, |
714 | -# with or without modifications, as long as this notice is preserved. |
715 | - |
716 | -# serial 6 |
717 | - |
718 | -# AM_MISSING_PROG(NAME, PROGRAM) |
719 | -# ------------------------------ |
720 | -AC_DEFUN([AM_MISSING_PROG], |
721 | -[AC_REQUIRE([AM_MISSING_HAS_RUN]) |
722 | -$1=${$1-"${am_missing_run}$2"} |
723 | -AC_SUBST($1)]) |
724 | - |
725 | - |
726 | -# AM_MISSING_HAS_RUN |
727 | -# ------------------ |
728 | -# Define MISSING if not defined so far and test if it supports --run. |
729 | -# If it does, set am_missing_run to use it, otherwise, to nothing. |
730 | -AC_DEFUN([AM_MISSING_HAS_RUN], |
731 | -[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl |
732 | -AC_REQUIRE_AUX_FILE([missing])dnl |
733 | -if test x"${MISSING+set}" != xset; then |
734 | - case $am_aux_dir in |
735 | - *\ * | *\ *) |
736 | - MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
737 | - *) |
738 | - MISSING="\${SHELL} $am_aux_dir/missing" ;; |
739 | - esac |
740 | -fi |
741 | -# Use eval to expand $SHELL |
742 | -if eval "$MISSING --run true"; then |
743 | - am_missing_run="$MISSING --run " |
744 | -else |
745 | - am_missing_run= |
746 | - AC_MSG_WARN([`missing' script is too old or missing]) |
747 | -fi |
748 | -]) |
749 | - |
750 | -# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
751 | -# |
752 | -# This file is free software; the Free Software Foundation |
753 | -# gives unlimited permission to copy and/or distribute it, |
754 | -# with or without modifications, as long as this notice is preserved. |
755 | - |
756 | -# AM_PROG_MKDIR_P |
757 | -# --------------- |
758 | -# Check for `mkdir -p'. |
759 | -AC_DEFUN([AM_PROG_MKDIR_P], |
760 | -[AC_PREREQ([2.60])dnl |
761 | -AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
762 | -dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, |
763 | -dnl while keeping a definition of mkdir_p for backward compatibility. |
764 | -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. |
765 | -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of |
766 | -dnl Makefile.ins that do not define MKDIR_P, so we do our own |
767 | -dnl adjustment using top_builddir (which is defined more often than |
768 | -dnl MKDIR_P). |
769 | -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl |
770 | -case $mkdir_p in |
771 | - [[\\/$]]* | ?:[[\\/]]*) ;; |
772 | - */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
773 | -esac |
774 | -]) |
775 | - |
776 | -# Helper functions for option handling. -*- Autoconf -*- |
777 | - |
778 | -# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. |
779 | -# |
780 | -# This file is free software; the Free Software Foundation |
781 | -# gives unlimited permission to copy and/or distribute it, |
782 | -# with or without modifications, as long as this notice is preserved. |
783 | - |
784 | -# serial 4 |
785 | - |
786 | -# _AM_MANGLE_OPTION(NAME) |
787 | -# ----------------------- |
788 | -AC_DEFUN([_AM_MANGLE_OPTION], |
789 | -[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
790 | - |
791 | -# _AM_SET_OPTION(NAME) |
792 | -# ------------------------------ |
793 | -# Set option NAME. Presently that only means defining a flag for this option. |
794 | -AC_DEFUN([_AM_SET_OPTION], |
795 | -[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
796 | - |
797 | -# _AM_SET_OPTIONS(OPTIONS) |
798 | -# ---------------------------------- |
799 | -# OPTIONS is a space-separated list of Automake options. |
800 | -AC_DEFUN([_AM_SET_OPTIONS], |
801 | -[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
802 | - |
803 | -# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) |
804 | -# ------------------------------------------- |
805 | -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. |
806 | -AC_DEFUN([_AM_IF_OPTION], |
807 | -[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
808 | - |
809 | -# Check to make sure that the build environment is sane. -*- Autoconf -*- |
810 | - |
811 | -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 |
812 | -# Free Software Foundation, Inc. |
813 | -# |
814 | -# This file is free software; the Free Software Foundation |
815 | -# gives unlimited permission to copy and/or distribute it, |
816 | -# with or without modifications, as long as this notice is preserved. |
817 | - |
818 | -# serial 5 |
819 | - |
820 | -# AM_SANITY_CHECK |
821 | -# --------------- |
822 | -AC_DEFUN([AM_SANITY_CHECK], |
823 | -[AC_MSG_CHECKING([whether build environment is sane]) |
824 | -# Just in case |
825 | -sleep 1 |
826 | -echo timestamp > conftest.file |
827 | -# Reject unsafe characters in $srcdir or the absolute working directory |
828 | -# name. Accept space and tab only in the latter. |
829 | -am_lf=' |
830 | -' |
831 | -case `pwd` in |
832 | - *[[\\\"\#\$\&\'\`$am_lf]]*) |
833 | - AC_MSG_ERROR([unsafe absolute working directory name]);; |
834 | -esac |
835 | -case $srcdir in |
836 | - *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) |
837 | - AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; |
838 | -esac |
839 | - |
840 | -# Do `set' in a subshell so we don't clobber the current shell's |
841 | -# arguments. Must try -L first in case configure is actually a |
842 | -# symlink; some systems play weird games with the mod time of symlinks |
843 | -# (eg FreeBSD returns the mod time of the symlink's containing |
844 | -# directory). |
845 | -if ( |
846 | - set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
847 | - if test "$[*]" = "X"; then |
848 | - # -L didn't work. |
849 | - set X `ls -t "$srcdir/configure" conftest.file` |
850 | - fi |
851 | - rm -f conftest.file |
852 | - if test "$[*]" != "X $srcdir/configure conftest.file" \ |
853 | - && test "$[*]" != "X conftest.file $srcdir/configure"; then |
854 | - |
855 | - # If neither matched, then we have a broken ls. This can happen |
856 | - # if, for instance, CONFIG_SHELL is bash and it inherits a |
857 | - # broken ls alias from the environment. This has actually |
858 | - # happened. Such a system could not be considered "sane". |
859 | - AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken |
860 | -alias in your environment]) |
861 | - fi |
862 | - |
863 | - test "$[2]" = conftest.file |
864 | - ) |
865 | -then |
866 | - # Ok. |
867 | - : |
868 | -else |
869 | - AC_MSG_ERROR([newly created file is older than distributed files! |
870 | -Check your system clock]) |
871 | -fi |
872 | -AC_MSG_RESULT(yes)]) |
873 | - |
874 | -# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
875 | -# |
876 | -# This file is free software; the Free Software Foundation |
877 | -# gives unlimited permission to copy and/or distribute it, |
878 | -# with or without modifications, as long as this notice is preserved. |
879 | - |
880 | -# AM_PROG_INSTALL_STRIP |
881 | -# --------------------- |
882 | -# One issue with vendor `install' (even GNU) is that you can't |
883 | -# specify the program used to strip binaries. This is especially |
884 | -# annoying in cross-compiling environments, where the build's strip |
885 | -# is unlikely to handle the host's binaries. |
886 | -# Fortunately install-sh will honor a STRIPPROG variable, so we |
887 | -# always use install-sh in `make install-strip', and initialize |
888 | -# STRIPPROG with the value of the STRIP variable (set by the user). |
889 | -AC_DEFUN([AM_PROG_INSTALL_STRIP], |
890 | -[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl |
891 | -# Installed binaries are usually stripped using `strip' when the user |
892 | -# run `make install-strip'. However `strip' might not be the right |
893 | -# tool to use in cross-compilation environments, therefore Automake |
894 | -# will honor the `STRIP' environment variable to overrule this program. |
895 | -dnl Don't test for $cross_compiling = yes, because it might be `maybe'. |
896 | -if test "$cross_compiling" != no; then |
897 | - AC_CHECK_TOOL([STRIP], [strip], :) |
898 | -fi |
899 | -INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
900 | -AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
901 | - |
902 | -# Copyright (C) 2006, 2008 Free Software Foundation, Inc. |
903 | -# |
904 | -# This file is free software; the Free Software Foundation |
905 | -# gives unlimited permission to copy and/or distribute it, |
906 | -# with or without modifications, as long as this notice is preserved. |
907 | - |
908 | -# serial 2 |
909 | - |
910 | -# _AM_SUBST_NOTMAKE(VARIABLE) |
911 | -# --------------------------- |
912 | -# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
913 | -# This macro is traced by Automake. |
914 | -AC_DEFUN([_AM_SUBST_NOTMAKE]) |
915 | - |
916 | -# AM_SUBST_NOTMAKE(VARIABLE) |
917 | -# --------------------------- |
918 | -# Public sister of _AM_SUBST_NOTMAKE. |
919 | -AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
920 | - |
921 | -# Check how to create a tarball. -*- Autoconf -*- |
922 | - |
923 | -# Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
924 | -# |
925 | -# This file is free software; the Free Software Foundation |
926 | -# gives unlimited permission to copy and/or distribute it, |
927 | -# with or without modifications, as long as this notice is preserved. |
928 | - |
929 | -# serial 2 |
930 | - |
931 | -# _AM_PROG_TAR(FORMAT) |
932 | -# -------------------- |
933 | -# Check how to create a tarball in format FORMAT. |
934 | -# FORMAT should be one of `v7', `ustar', or `pax'. |
935 | -# |
936 | -# Substitute a variable $(am__tar) that is a command |
937 | -# writing to stdout a FORMAT-tarball containing the directory |
938 | -# $tardir. |
939 | -# tardir=directory && $(am__tar) > result.tar |
940 | -# |
941 | -# Substitute a variable $(am__untar) that extract such |
942 | -# a tarball read from stdin. |
943 | -# $(am__untar) < result.tar |
944 | -AC_DEFUN([_AM_PROG_TAR], |
945 | -[# Always define AMTAR for backward compatibility. |
946 | -AM_MISSING_PROG([AMTAR], [tar]) |
947 | -m4_if([$1], [v7], |
948 | - [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], |
949 | - [m4_case([$1], [ustar],, [pax],, |
950 | - [m4_fatal([Unknown tar format])]) |
951 | -AC_MSG_CHECKING([how to create a $1 tar archive]) |
952 | -# Loop over all known methods to create a tar archive until one works. |
953 | -_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' |
954 | -_am_tools=${am_cv_prog_tar_$1-$_am_tools} |
955 | -# Do not fold the above two line into one, because Tru64 sh and |
956 | -# Solaris sh will not grok spaces in the rhs of `-'. |
957 | -for _am_tool in $_am_tools |
958 | -do |
959 | - case $_am_tool in |
960 | - gnutar) |
961 | - for _am_tar in tar gnutar gtar; |
962 | - do |
963 | - AM_RUN_LOG([$_am_tar --version]) && break |
964 | - done |
965 | - am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' |
966 | - am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' |
967 | - am__untar="$_am_tar -xf -" |
968 | - ;; |
969 | - plaintar) |
970 | - # Must skip GNU tar: if it does not support --format= it doesn't create |
971 | - # ustar tarball either. |
972 | - (tar --version) >/dev/null 2>&1 && continue |
973 | - am__tar='tar chf - "$$tardir"' |
974 | - am__tar_='tar chf - "$tardir"' |
975 | - am__untar='tar xf -' |
976 | - ;; |
977 | - pax) |
978 | - am__tar='pax -L -x $1 -w "$$tardir"' |
979 | - am__tar_='pax -L -x $1 -w "$tardir"' |
980 | - am__untar='pax -r' |
981 | - ;; |
982 | - cpio) |
983 | - am__tar='find "$$tardir" -print | cpio -o -H $1 -L' |
984 | - am__tar_='find "$tardir" -print | cpio -o -H $1 -L' |
985 | - am__untar='cpio -i -H $1 -d' |
986 | - ;; |
987 | - none) |
988 | - am__tar=false |
989 | - am__tar_=false |
990 | - am__untar=false |
991 | - ;; |
992 | - esac |
993 | - |
994 | - # If the value was cached, stop now. We just wanted to have am__tar |
995 | - # and am__untar set. |
996 | - test -n "${am_cv_prog_tar_$1}" && break |
997 | - |
998 | - # tar/untar a dummy directory, and stop if the command works |
999 | - rm -rf conftest.dir |
1000 | - mkdir conftest.dir |
1001 | - echo GrepMe > conftest.dir/file |
1002 | - AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) |
1003 | - rm -rf conftest.dir |
1004 | - if test -s conftest.tar; then |
1005 | - AM_RUN_LOG([$am__untar <conftest.tar]) |
1006 | - grep GrepMe conftest.dir/file >/dev/null 2>&1 && break |
1007 | - fi |
1008 | -done |
1009 | -rm -rf conftest.dir |
1010 | - |
1011 | -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
1012 | -AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
1013 | -AC_SUBST([am__tar]) |
1014 | -AC_SUBST([am__untar]) |
1015 | -]) # _AM_PROG_TAR |
1016 | - |
1017 | |
1018 | === removed file 'config.guess' |
1019 | --- config.guess 2010-05-13 23:24:00 +0000 |
1020 | +++ config.guess 1970-01-01 00:00:00 +0000 |
1021 | @@ -1,1502 +0,0 @@ |
1022 | -#! /bin/sh |
1023 | -# Attempt to guess a canonical system name. |
1024 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
1025 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
1026 | -# Free Software Foundation, Inc. |
1027 | - |
1028 | -timestamp='2009-12-30' |
1029 | - |
1030 | -# This file is free software; you can redistribute it and/or modify it |
1031 | -# under the terms of the GNU General Public License as published by |
1032 | -# the Free Software Foundation; either version 2 of the License, or |
1033 | -# (at your option) any later version. |
1034 | -# |
1035 | -# This program is distributed in the hope that it will be useful, but |
1036 | -# WITHOUT ANY WARRANTY; without even the implied warranty of |
1037 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1038 | -# General Public License for more details. |
1039 | -# |
1040 | -# You should have received a copy of the GNU General Public License |
1041 | -# along with this program; if not, write to the Free Software |
1042 | -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
1043 | -# 02110-1301, USA. |
1044 | -# |
1045 | -# As a special exception to the GNU General Public License, if you |
1046 | -# distribute this file as part of a program that contains a |
1047 | -# configuration script generated by Autoconf, you may include it under |
1048 | -# the same distribution terms that you use for the rest of that program. |
1049 | - |
1050 | - |
1051 | -# Originally written by Per Bothner. Please send patches (context |
1052 | -# diff format) to <config-patches@gnu.org> and include a ChangeLog |
1053 | -# entry. |
1054 | -# |
1055 | -# This script attempts to guess a canonical system name similar to |
1056 | -# config.sub. If it succeeds, it prints the system name on stdout, and |
1057 | -# exits with 0. Otherwise, it exits with 1. |
1058 | -# |
1059 | -# You can get the latest version of this script from: |
1060 | -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
1061 | - |
1062 | -me=`echo "$0" | sed -e 's,.*/,,'` |
1063 | - |
1064 | -usage="\ |
1065 | -Usage: $0 [OPTION] |
1066 | - |
1067 | -Output the configuration name of the system \`$me' is run on. |
1068 | - |
1069 | -Operation modes: |
1070 | - -h, --help print this help, then exit |
1071 | - -t, --time-stamp print date of last modification, then exit |
1072 | - -v, --version print version number, then exit |
1073 | - |
1074 | -Report bugs and patches to <config-patches@gnu.org>." |
1075 | - |
1076 | -version="\ |
1077 | -GNU config.guess ($timestamp) |
1078 | - |
1079 | -Originally written by Per Bothner. |
1080 | -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
1081 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free |
1082 | -Software Foundation, Inc. |
1083 | - |
1084 | -This is free software; see the source for copying conditions. There is NO |
1085 | -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
1086 | - |
1087 | -help=" |
1088 | -Try \`$me --help' for more information." |
1089 | - |
1090 | -# Parse command line |
1091 | -while test $# -gt 0 ; do |
1092 | - case $1 in |
1093 | - --time-stamp | --time* | -t ) |
1094 | - echo "$timestamp" ; exit ;; |
1095 | - --version | -v ) |
1096 | - echo "$version" ; exit ;; |
1097 | - --help | --h* | -h ) |
1098 | - echo "$usage"; exit ;; |
1099 | - -- ) # Stop option processing |
1100 | - shift; break ;; |
1101 | - - ) # Use stdin as input. |
1102 | - break ;; |
1103 | - -* ) |
1104 | - echo "$me: invalid option $1$help" >&2 |
1105 | - exit 1 ;; |
1106 | - * ) |
1107 | - break ;; |
1108 | - esac |
1109 | -done |
1110 | - |
1111 | -if test $# != 0; then |
1112 | - echo "$me: too many arguments$help" >&2 |
1113 | - exit 1 |
1114 | -fi |
1115 | - |
1116 | -trap 'exit 1' 1 2 15 |
1117 | - |
1118 | -# CC_FOR_BUILD -- compiler used by this script. Note that the use of a |
1119 | -# compiler to aid in system detection is discouraged as it requires |
1120 | -# temporary files to be created and, as you can see below, it is a |
1121 | -# headache to deal with in a portable fashion. |
1122 | - |
1123 | -# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still |
1124 | -# use `HOST_CC' if defined, but it is deprecated. |
1125 | - |
1126 | -# Portable tmp directory creation inspired by the Autoconf team. |
1127 | - |
1128 | -set_cc_for_build=' |
1129 | -trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; |
1130 | -trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; |
1131 | -: ${TMPDIR=/tmp} ; |
1132 | - { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || |
1133 | - { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || |
1134 | - { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || |
1135 | - { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; |
1136 | -dummy=$tmp/dummy ; |
1137 | -tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; |
1138 | -case $CC_FOR_BUILD,$HOST_CC,$CC in |
1139 | - ,,) echo "int x;" > $dummy.c ; |
1140 | - for c in cc gcc c89 c99 ; do |
1141 | - if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then |
1142 | - CC_FOR_BUILD="$c"; break ; |
1143 | - fi ; |
1144 | - done ; |
1145 | - if test x"$CC_FOR_BUILD" = x ; then |
1146 | - CC_FOR_BUILD=no_compiler_found ; |
1147 | - fi |
1148 | - ;; |
1149 | - ,,*) CC_FOR_BUILD=$CC ;; |
1150 | - ,*,*) CC_FOR_BUILD=$HOST_CC ;; |
1151 | -esac ; set_cc_for_build= ;' |
1152 | - |
1153 | -# This is needed to find uname on a Pyramid OSx when run in the BSD universe. |
1154 | -# (ghazi@noc.rutgers.edu 1994-08-24) |
1155 | -if (test -f /.attbin/uname) >/dev/null 2>&1 ; then |
1156 | - PATH=$PATH:/.attbin ; export PATH |
1157 | -fi |
1158 | - |
1159 | -UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown |
1160 | -UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown |
1161 | -UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown |
1162 | -UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown |
1163 | - |
1164 | -# Note: order is significant - the case branches are not exclusive. |
1165 | - |
1166 | -case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in |
1167 | - *:NetBSD:*:*) |
1168 | - # NetBSD (nbsd) targets should (where applicable) match one or |
1169 | - # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, |
1170 | - # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently |
1171 | - # switched to ELF, *-*-netbsd* would select the old |
1172 | - # object file format. This provides both forward |
1173 | - # compatibility and a consistent mechanism for selecting the |
1174 | - # object file format. |
1175 | - # |
1176 | - # Note: NetBSD doesn't particularly care about the vendor |
1177 | - # portion of the name. We always set it to "unknown". |
1178 | - sysctl="sysctl -n hw.machine_arch" |
1179 | - UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ |
1180 | - /usr/sbin/$sysctl 2>/dev/null || echo unknown)` |
1181 | - case "${UNAME_MACHINE_ARCH}" in |
1182 | - armeb) machine=armeb-unknown ;; |
1183 | - arm*) machine=arm-unknown ;; |
1184 | - sh3el) machine=shl-unknown ;; |
1185 | - sh3eb) machine=sh-unknown ;; |
1186 | - sh5el) machine=sh5le-unknown ;; |
1187 | - *) machine=${UNAME_MACHINE_ARCH}-unknown ;; |
1188 | - esac |
1189 | - # The Operating System including object format, if it has switched |
1190 | - # to ELF recently, or will in the future. |
1191 | - case "${UNAME_MACHINE_ARCH}" in |
1192 | - arm*|i386|m68k|ns32k|sh3*|sparc|vax) |
1193 | - eval $set_cc_for_build |
1194 | - if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
1195 | - | grep -q __ELF__ |
1196 | - then |
1197 | - # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). |
1198 | - # Return netbsd for either. FIX? |
1199 | - os=netbsd |
1200 | - else |
1201 | - os=netbsdelf |
1202 | - fi |
1203 | - ;; |
1204 | - *) |
1205 | - os=netbsd |
1206 | - ;; |
1207 | - esac |
1208 | - # The OS release |
1209 | - # Debian GNU/NetBSD machines have a different userland, and |
1210 | - # thus, need a distinct triplet. However, they do not need |
1211 | - # kernel version information, so it can be replaced with a |
1212 | - # suitable tag, in the style of linux-gnu. |
1213 | - case "${UNAME_VERSION}" in |
1214 | - Debian*) |
1215 | - release='-gnu' |
1216 | - ;; |
1217 | - *) |
1218 | - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` |
1219 | - ;; |
1220 | - esac |
1221 | - # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: |
1222 | - # contains redundant information, the shorter form: |
1223 | - # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
1224 | - echo "${machine}-${os}${release}" |
1225 | - exit ;; |
1226 | - *:OpenBSD:*:*) |
1227 | - UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` |
1228 | - echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} |
1229 | - exit ;; |
1230 | - *:ekkoBSD:*:*) |
1231 | - echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} |
1232 | - exit ;; |
1233 | - *:SolidBSD:*:*) |
1234 | - echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} |
1235 | - exit ;; |
1236 | - macppc:MirBSD:*:*) |
1237 | - echo powerpc-unknown-mirbsd${UNAME_RELEASE} |
1238 | - exit ;; |
1239 | - *:MirBSD:*:*) |
1240 | - echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} |
1241 | - exit ;; |
1242 | - alpha:OSF1:*:*) |
1243 | - case $UNAME_RELEASE in |
1244 | - *4.0) |
1245 | - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` |
1246 | - ;; |
1247 | - *5.*) |
1248 | - UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` |
1249 | - ;; |
1250 | - esac |
1251 | - # According to Compaq, /usr/sbin/psrinfo has been available on |
1252 | - # OSF/1 and Tru64 systems produced since 1995. I hope that |
1253 | - # covers most systems running today. This code pipes the CPU |
1254 | - # types through head -n 1, so we only detect the type of CPU 0. |
1255 | - ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` |
1256 | - case "$ALPHA_CPU_TYPE" in |
1257 | - "EV4 (21064)") |
1258 | - UNAME_MACHINE="alpha" ;; |
1259 | - "EV4.5 (21064)") |
1260 | - UNAME_MACHINE="alpha" ;; |
1261 | - "LCA4 (21066/21068)") |
1262 | - UNAME_MACHINE="alpha" ;; |
1263 | - "EV5 (21164)") |
1264 | - UNAME_MACHINE="alphaev5" ;; |
1265 | - "EV5.6 (21164A)") |
1266 | - UNAME_MACHINE="alphaev56" ;; |
1267 | - "EV5.6 (21164PC)") |
1268 | - UNAME_MACHINE="alphapca56" ;; |
1269 | - "EV5.7 (21164PC)") |
1270 | - UNAME_MACHINE="alphapca57" ;; |
1271 | - "EV6 (21264)") |
1272 | - UNAME_MACHINE="alphaev6" ;; |
1273 | - "EV6.7 (21264A)") |
1274 | - UNAME_MACHINE="alphaev67" ;; |
1275 | - "EV6.8CB (21264C)") |
1276 | - UNAME_MACHINE="alphaev68" ;; |
1277 | - "EV6.8AL (21264B)") |
1278 | - UNAME_MACHINE="alphaev68" ;; |
1279 | - "EV6.8CX (21264D)") |
1280 | - UNAME_MACHINE="alphaev68" ;; |
1281 | - "EV6.9A (21264/EV69A)") |
1282 | - UNAME_MACHINE="alphaev69" ;; |
1283 | - "EV7 (21364)") |
1284 | - UNAME_MACHINE="alphaev7" ;; |
1285 | - "EV7.9 (21364A)") |
1286 | - UNAME_MACHINE="alphaev79" ;; |
1287 | - esac |
1288 | - # A Pn.n version is a patched version. |
1289 | - # A Vn.n version is a released version. |
1290 | - # A Tn.n version is a released field test version. |
1291 | - # A Xn.n version is an unreleased experimental baselevel. |
1292 | - # 1.2 uses "1.2" for uname -r. |
1293 | - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
1294 | - exit ;; |
1295 | - Alpha\ *:Windows_NT*:*) |
1296 | - # How do we know it's Interix rather than the generic POSIX subsystem? |
1297 | - # Should we change UNAME_MACHINE based on the output of uname instead |
1298 | - # of the specific Alpha model? |
1299 | - echo alpha-pc-interix |
1300 | - exit ;; |
1301 | - 21064:Windows_NT:50:3) |
1302 | - echo alpha-dec-winnt3.5 |
1303 | - exit ;; |
1304 | - Amiga*:UNIX_System_V:4.0:*) |
1305 | - echo m68k-unknown-sysv4 |
1306 | - exit ;; |
1307 | - *:[Aa]miga[Oo][Ss]:*:*) |
1308 | - echo ${UNAME_MACHINE}-unknown-amigaos |
1309 | - exit ;; |
1310 | - *:[Mm]orph[Oo][Ss]:*:*) |
1311 | - echo ${UNAME_MACHINE}-unknown-morphos |
1312 | - exit ;; |
1313 | - *:OS/390:*:*) |
1314 | - echo i370-ibm-openedition |
1315 | - exit ;; |
1316 | - *:z/VM:*:*) |
1317 | - echo s390-ibm-zvmoe |
1318 | - exit ;; |
1319 | - *:OS400:*:*) |
1320 | - echo powerpc-ibm-os400 |
1321 | - exit ;; |
1322 | - arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
1323 | - echo arm-acorn-riscix${UNAME_RELEASE} |
1324 | - exit ;; |
1325 | - arm:riscos:*:*|arm:RISCOS:*:*) |
1326 | - echo arm-unknown-riscos |
1327 | - exit ;; |
1328 | - SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
1329 | - echo hppa1.1-hitachi-hiuxmpp |
1330 | - exit ;; |
1331 | - Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) |
1332 | - # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. |
1333 | - if test "`(/bin/universe) 2>/dev/null`" = att ; then |
1334 | - echo pyramid-pyramid-sysv3 |
1335 | - else |
1336 | - echo pyramid-pyramid-bsd |
1337 | - fi |
1338 | - exit ;; |
1339 | - NILE*:*:*:dcosx) |
1340 | - echo pyramid-pyramid-svr4 |
1341 | - exit ;; |
1342 | - DRS?6000:unix:4.0:6*) |
1343 | - echo sparc-icl-nx6 |
1344 | - exit ;; |
1345 | - DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) |
1346 | - case `/usr/bin/uname -p` in |
1347 | - sparc) echo sparc-icl-nx7; exit ;; |
1348 | - esac ;; |
1349 | - s390x:SunOS:*:*) |
1350 | - echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
1351 | - exit ;; |
1352 | - sun4H:SunOS:5.*:*) |
1353 | - echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
1354 | - exit ;; |
1355 | - sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
1356 | - echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
1357 | - exit ;; |
1358 | - i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) |
1359 | - echo i386-pc-auroraux${UNAME_RELEASE} |
1360 | - exit ;; |
1361 | - i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
1362 | - eval $set_cc_for_build |
1363 | - SUN_ARCH="i386" |
1364 | - # If there is a compiler, see if it is configured for 64-bit objects. |
1365 | - # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. |
1366 | - # This test works for both compilers. |
1367 | - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
1368 | - if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ |
1369 | - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
1370 | - grep IS_64BIT_ARCH >/dev/null |
1371 | - then |
1372 | - SUN_ARCH="x86_64" |
1373 | - fi |
1374 | - fi |
1375 | - echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
1376 | - exit ;; |
1377 | - sun4*:SunOS:6*:*) |
1378 | - # According to config.sub, this is the proper way to canonicalize |
1379 | - # SunOS6. Hard to guess exactly what SunOS6 will be like, but |
1380 | - # it's likely to be more like Solaris than SunOS4. |
1381 | - echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
1382 | - exit ;; |
1383 | - sun4*:SunOS:*:*) |
1384 | - case "`/usr/bin/arch -k`" in |
1385 | - Series*|S4*) |
1386 | - UNAME_RELEASE=`uname -v` |
1387 | - ;; |
1388 | - esac |
1389 | - # Japanese Language versions have a version number like `4.1.3-JL'. |
1390 | - echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` |
1391 | - exit ;; |
1392 | - sun3*:SunOS:*:*) |
1393 | - echo m68k-sun-sunos${UNAME_RELEASE} |
1394 | - exit ;; |
1395 | - sun*:*:4.2BSD:*) |
1396 | - UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
1397 | - test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 |
1398 | - case "`/bin/arch`" in |
1399 | - sun3) |
1400 | - echo m68k-sun-sunos${UNAME_RELEASE} |
1401 | - ;; |
1402 | - sun4) |
1403 | - echo sparc-sun-sunos${UNAME_RELEASE} |
1404 | - ;; |
1405 | - esac |
1406 | - exit ;; |
1407 | - aushp:SunOS:*:*) |
1408 | - echo sparc-auspex-sunos${UNAME_RELEASE} |
1409 | - exit ;; |
1410 | - # The situation for MiNT is a little confusing. The machine name |
1411 | - # can be virtually everything (everything which is not |
1412 | - # "atarist" or "atariste" at least should have a processor |
1413 | - # > m68000). The system name ranges from "MiNT" over "FreeMiNT" |
1414 | - # to the lowercase version "mint" (or "freemint"). Finally |
1415 | - # the system name "TOS" denotes a system which is actually not |
1416 | - # MiNT. But MiNT is downward compatible to TOS, so this should |
1417 | - # be no problem. |
1418 | - atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
1419 | - echo m68k-atari-mint${UNAME_RELEASE} |
1420 | - exit ;; |
1421 | - atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
1422 | - echo m68k-atari-mint${UNAME_RELEASE} |
1423 | - exit ;; |
1424 | - *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
1425 | - echo m68k-atari-mint${UNAME_RELEASE} |
1426 | - exit ;; |
1427 | - milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
1428 | - echo m68k-milan-mint${UNAME_RELEASE} |
1429 | - exit ;; |
1430 | - hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
1431 | - echo m68k-hades-mint${UNAME_RELEASE} |
1432 | - exit ;; |
1433 | - *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
1434 | - echo m68k-unknown-mint${UNAME_RELEASE} |
1435 | - exit ;; |
1436 | - m68k:machten:*:*) |
1437 | - echo m68k-apple-machten${UNAME_RELEASE} |
1438 | - exit ;; |
1439 | - powerpc:machten:*:*) |
1440 | - echo powerpc-apple-machten${UNAME_RELEASE} |
1441 | - exit ;; |
1442 | - RISC*:Mach:*:*) |
1443 | - echo mips-dec-mach_bsd4.3 |
1444 | - exit ;; |
1445 | - RISC*:ULTRIX:*:*) |
1446 | - echo mips-dec-ultrix${UNAME_RELEASE} |
1447 | - exit ;; |
1448 | - VAX*:ULTRIX*:*:*) |
1449 | - echo vax-dec-ultrix${UNAME_RELEASE} |
1450 | - exit ;; |
1451 | - 2020:CLIX:*:* | 2430:CLIX:*:*) |
1452 | - echo clipper-intergraph-clix${UNAME_RELEASE} |
1453 | - exit ;; |
1454 | - mips:*:*:UMIPS | mips:*:*:RISCos) |
1455 | - eval $set_cc_for_build |
1456 | - sed 's/^ //' << EOF >$dummy.c |
1457 | -#ifdef __cplusplus |
1458 | -#include <stdio.h> /* for printf() prototype */ |
1459 | - int main (int argc, char *argv[]) { |
1460 | -#else |
1461 | - int main (argc, argv) int argc; char *argv[]; { |
1462 | -#endif |
1463 | - #if defined (host_mips) && defined (MIPSEB) |
1464 | - #if defined (SYSTYPE_SYSV) |
1465 | - printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); |
1466 | - #endif |
1467 | - #if defined (SYSTYPE_SVR4) |
1468 | - printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); |
1469 | - #endif |
1470 | - #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) |
1471 | - printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); |
1472 | - #endif |
1473 | - #endif |
1474 | - exit (-1); |
1475 | - } |
1476 | -EOF |
1477 | - $CC_FOR_BUILD -o $dummy $dummy.c && |
1478 | - dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && |
1479 | - SYSTEM_NAME=`$dummy $dummyarg` && |
1480 | - { echo "$SYSTEM_NAME"; exit; } |
1481 | - echo mips-mips-riscos${UNAME_RELEASE} |
1482 | - exit ;; |
1483 | - Motorola:PowerMAX_OS:*:*) |
1484 | - echo powerpc-motorola-powermax |
1485 | - exit ;; |
1486 | - Motorola:*:4.3:PL8-*) |
1487 | - echo powerpc-harris-powermax |
1488 | - exit ;; |
1489 | - Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) |
1490 | - echo powerpc-harris-powermax |
1491 | - exit ;; |
1492 | - Night_Hawk:Power_UNIX:*:*) |
1493 | - echo powerpc-harris-powerunix |
1494 | - exit ;; |
1495 | - m88k:CX/UX:7*:*) |
1496 | - echo m88k-harris-cxux7 |
1497 | - exit ;; |
1498 | - m88k:*:4*:R4*) |
1499 | - echo m88k-motorola-sysv4 |
1500 | - exit ;; |
1501 | - m88k:*:3*:R3*) |
1502 | - echo m88k-motorola-sysv3 |
1503 | - exit ;; |
1504 | - AViiON:dgux:*:*) |
1505 | - # DG/UX returns AViiON for all architectures |
1506 | - UNAME_PROCESSOR=`/usr/bin/uname -p` |
1507 | - if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] |
1508 | - then |
1509 | - if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ |
1510 | - [ ${TARGET_BINARY_INTERFACE}x = x ] |
1511 | - then |
1512 | - echo m88k-dg-dgux${UNAME_RELEASE} |
1513 | - else |
1514 | - echo m88k-dg-dguxbcs${UNAME_RELEASE} |
1515 | - fi |
1516 | - else |
1517 | - echo i586-dg-dgux${UNAME_RELEASE} |
1518 | - fi |
1519 | - exit ;; |
1520 | - M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
1521 | - echo m88k-dolphin-sysv3 |
1522 | - exit ;; |
1523 | - M88*:*:R3*:*) |
1524 | - # Delta 88k system running SVR3 |
1525 | - echo m88k-motorola-sysv3 |
1526 | - exit ;; |
1527 | - XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) |
1528 | - echo m88k-tektronix-sysv3 |
1529 | - exit ;; |
1530 | - Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) |
1531 | - echo m68k-tektronix-bsd |
1532 | - exit ;; |
1533 | - *:IRIX*:*:*) |
1534 | - echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` |
1535 | - exit ;; |
1536 | - ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
1537 | - echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
1538 | - exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' |
1539 | - i*86:AIX:*:*) |
1540 | - echo i386-ibm-aix |
1541 | - exit ;; |
1542 | - ia64:AIX:*:*) |
1543 | - if [ -x /usr/bin/oslevel ] ; then |
1544 | - IBM_REV=`/usr/bin/oslevel` |
1545 | - else |
1546 | - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |
1547 | - fi |
1548 | - echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} |
1549 | - exit ;; |
1550 | - *:AIX:2:3) |
1551 | - if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then |
1552 | - eval $set_cc_for_build |
1553 | - sed 's/^ //' << EOF >$dummy.c |
1554 | - #include <sys/systemcfg.h> |
1555 | - |
1556 | - main() |
1557 | - { |
1558 | - if (!__power_pc()) |
1559 | - exit(1); |
1560 | - puts("powerpc-ibm-aix3.2.5"); |
1561 | - exit(0); |
1562 | - } |
1563 | -EOF |
1564 | - if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` |
1565 | - then |
1566 | - echo "$SYSTEM_NAME" |
1567 | - else |
1568 | - echo rs6000-ibm-aix3.2.5 |
1569 | - fi |
1570 | - elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then |
1571 | - echo rs6000-ibm-aix3.2.4 |
1572 | - else |
1573 | - echo rs6000-ibm-aix3.2 |
1574 | - fi |
1575 | - exit ;; |
1576 | - *:AIX:*:[456]) |
1577 | - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
1578 | - if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then |
1579 | - IBM_ARCH=rs6000 |
1580 | - else |
1581 | - IBM_ARCH=powerpc |
1582 | - fi |
1583 | - if [ -x /usr/bin/oslevel ] ; then |
1584 | - IBM_REV=`/usr/bin/oslevel` |
1585 | - else |
1586 | - IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} |
1587 | - fi |
1588 | - echo ${IBM_ARCH}-ibm-aix${IBM_REV} |
1589 | - exit ;; |
1590 | - *:AIX:*:*) |
1591 | - echo rs6000-ibm-aix |
1592 | - exit ;; |
1593 | - ibmrt:4.4BSD:*|romp-ibm:BSD:*) |
1594 | - echo romp-ibm-bsd4.4 |
1595 | - exit ;; |
1596 | - ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and |
1597 | - echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to |
1598 | - exit ;; # report: romp-ibm BSD 4.3 |
1599 | - *:BOSX:*:*) |
1600 | - echo rs6000-bull-bosx |
1601 | - exit ;; |
1602 | - DPX/2?00:B.O.S.:*:*) |
1603 | - echo m68k-bull-sysv3 |
1604 | - exit ;; |
1605 | - 9000/[34]??:4.3bsd:1.*:*) |
1606 | - echo m68k-hp-bsd |
1607 | - exit ;; |
1608 | - hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) |
1609 | - echo m68k-hp-bsd4.4 |
1610 | - exit ;; |
1611 | - 9000/[34678]??:HP-UX:*:*) |
1612 | - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
1613 | - case "${UNAME_MACHINE}" in |
1614 | - 9000/31? ) HP_ARCH=m68000 ;; |
1615 | - 9000/[34]?? ) HP_ARCH=m68k ;; |
1616 | - 9000/[678][0-9][0-9]) |
1617 | - if [ -x /usr/bin/getconf ]; then |
1618 | - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` |
1619 | - sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` |
1620 | - case "${sc_cpu_version}" in |
1621 | - 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 |
1622 | - 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 |
1623 | - 532) # CPU_PA_RISC2_0 |
1624 | - case "${sc_kernel_bits}" in |
1625 | - 32) HP_ARCH="hppa2.0n" ;; |
1626 | - 64) HP_ARCH="hppa2.0w" ;; |
1627 | - '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 |
1628 | - esac ;; |
1629 | - esac |
1630 | - fi |
1631 | - if [ "${HP_ARCH}" = "" ]; then |
1632 | - eval $set_cc_for_build |
1633 | - sed 's/^ //' << EOF >$dummy.c |
1634 | - |
1635 | - #define _HPUX_SOURCE |
1636 | - #include <stdlib.h> |
1637 | - #include <unistd.h> |
1638 | - |
1639 | - int main () |
1640 | - { |
1641 | - #if defined(_SC_KERNEL_BITS) |
1642 | - long bits = sysconf(_SC_KERNEL_BITS); |
1643 | - #endif |
1644 | - long cpu = sysconf (_SC_CPU_VERSION); |
1645 | - |
1646 | - switch (cpu) |
1647 | - { |
1648 | - case CPU_PA_RISC1_0: puts ("hppa1.0"); break; |
1649 | - case CPU_PA_RISC1_1: puts ("hppa1.1"); break; |
1650 | - case CPU_PA_RISC2_0: |
1651 | - #if defined(_SC_KERNEL_BITS) |
1652 | - switch (bits) |
1653 | - { |
1654 | - case 64: puts ("hppa2.0w"); break; |
1655 | - case 32: puts ("hppa2.0n"); break; |
1656 | - default: puts ("hppa2.0"); break; |
1657 | - } break; |
1658 | - #else /* !defined(_SC_KERNEL_BITS) */ |
1659 | - puts ("hppa2.0"); break; |
1660 | - #endif |
1661 | - default: puts ("hppa1.0"); break; |
1662 | - } |
1663 | - exit (0); |
1664 | - } |
1665 | -EOF |
1666 | - (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` |
1667 | - test -z "$HP_ARCH" && HP_ARCH=hppa |
1668 | - fi ;; |
1669 | - esac |
1670 | - if [ ${HP_ARCH} = "hppa2.0w" ] |
1671 | - then |
1672 | - eval $set_cc_for_build |
1673 | - |
1674 | - # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
1675 | - # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
1676 | - # generating 64-bit code. GNU and HP use different nomenclature: |
1677 | - # |
1678 | - # $ CC_FOR_BUILD=cc ./config.guess |
1679 | - # => hppa2.0w-hp-hpux11.23 |
1680 | - # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |
1681 | - # => hppa64-hp-hpux11.23 |
1682 | - |
1683 | - if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |
1684 | - grep -q __LP64__ |
1685 | - then |
1686 | - HP_ARCH="hppa2.0w" |
1687 | - else |
1688 | - HP_ARCH="hppa64" |
1689 | - fi |
1690 | - fi |
1691 | - echo ${HP_ARCH}-hp-hpux${HPUX_REV} |
1692 | - exit ;; |
1693 | - ia64:HP-UX:*:*) |
1694 | - HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
1695 | - echo ia64-hp-hpux${HPUX_REV} |
1696 | - exit ;; |
1697 | - 3050*:HI-UX:*:*) |
1698 | - eval $set_cc_for_build |
1699 | - sed 's/^ //' << EOF >$dummy.c |
1700 | - #include <unistd.h> |
1701 | - int |
1702 | - main () |
1703 | - { |
1704 | - long cpu = sysconf (_SC_CPU_VERSION); |
1705 | - /* The order matters, because CPU_IS_HP_MC68K erroneously returns |
1706 | - true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct |
1707 | - results, however. */ |
1708 | - if (CPU_IS_PA_RISC (cpu)) |
1709 | - { |
1710 | - switch (cpu) |
1711 | - { |
1712 | - case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; |
1713 | - case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; |
1714 | - case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; |
1715 | - default: puts ("hppa-hitachi-hiuxwe2"); break; |
1716 | - } |
1717 | - } |
1718 | - else if (CPU_IS_HP_MC68K (cpu)) |
1719 | - puts ("m68k-hitachi-hiuxwe2"); |
1720 | - else puts ("unknown-hitachi-hiuxwe2"); |
1721 | - exit (0); |
1722 | - } |
1723 | -EOF |
1724 | - $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && |
1725 | - { echo "$SYSTEM_NAME"; exit; } |
1726 | - echo unknown-hitachi-hiuxwe2 |
1727 | - exit ;; |
1728 | - 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) |
1729 | - echo hppa1.1-hp-bsd |
1730 | - exit ;; |
1731 | - 9000/8??:4.3bsd:*:*) |
1732 | - echo hppa1.0-hp-bsd |
1733 | - exit ;; |
1734 | - *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
1735 | - echo hppa1.0-hp-mpeix |
1736 | - exit ;; |
1737 | - hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) |
1738 | - echo hppa1.1-hp-osf |
1739 | - exit ;; |
1740 | - hp8??:OSF1:*:*) |
1741 | - echo hppa1.0-hp-osf |
1742 | - exit ;; |
1743 | - i*86:OSF1:*:*) |
1744 | - if [ -x /usr/sbin/sysversion ] ; then |
1745 | - echo ${UNAME_MACHINE}-unknown-osf1mk |
1746 | - else |
1747 | - echo ${UNAME_MACHINE}-unknown-osf1 |
1748 | - fi |
1749 | - exit ;; |
1750 | - parisc*:Lites*:*:*) |
1751 | - echo hppa1.1-hp-lites |
1752 | - exit ;; |
1753 | - C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
1754 | - echo c1-convex-bsd |
1755 | - exit ;; |
1756 | - C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
1757 | - if getsysinfo -f scalar_acc |
1758 | - then echo c32-convex-bsd |
1759 | - else echo c2-convex-bsd |
1760 | - fi |
1761 | - exit ;; |
1762 | - C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
1763 | - echo c34-convex-bsd |
1764 | - exit ;; |
1765 | - C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
1766 | - echo c38-convex-bsd |
1767 | - exit ;; |
1768 | - C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
1769 | - echo c4-convex-bsd |
1770 | - exit ;; |
1771 | - CRAY*Y-MP:*:*:*) |
1772 | - echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
1773 | - exit ;; |
1774 | - CRAY*[A-Z]90:*:*:*) |
1775 | - echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ |
1776 | - | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ |
1777 | - -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
1778 | - -e 's/\.[^.]*$/.X/' |
1779 | - exit ;; |
1780 | - CRAY*TS:*:*:*) |
1781 | - echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
1782 | - exit ;; |
1783 | - CRAY*T3E:*:*:*) |
1784 | - echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
1785 | - exit ;; |
1786 | - CRAY*SV1:*:*:*) |
1787 | - echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
1788 | - exit ;; |
1789 | - *:UNICOS/mp:*:*) |
1790 | - echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
1791 | - exit ;; |
1792 | - F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
1793 | - FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
1794 | - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
1795 | - FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
1796 | - echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
1797 | - exit ;; |
1798 | - 5000:UNIX_System_V:4.*:*) |
1799 | - FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
1800 | - FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
1801 | - echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
1802 | - exit ;; |
1803 | - i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
1804 | - echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
1805 | - exit ;; |
1806 | - sparc*:BSD/OS:*:*) |
1807 | - echo sparc-unknown-bsdi${UNAME_RELEASE} |
1808 | - exit ;; |
1809 | - *:BSD/OS:*:*) |
1810 | - echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
1811 | - exit ;; |
1812 | - *:FreeBSD:*:*) |
1813 | - case ${UNAME_MACHINE} in |
1814 | - pc98) |
1815 | - echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
1816 | - amd64) |
1817 | - echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
1818 | - *) |
1819 | - echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; |
1820 | - esac |
1821 | - exit ;; |
1822 | - i*:CYGWIN*:*) |
1823 | - echo ${UNAME_MACHINE}-pc-cygwin |
1824 | - exit ;; |
1825 | - *:MINGW*:*) |
1826 | - echo ${UNAME_MACHINE}-pc-mingw32 |
1827 | - exit ;; |
1828 | - i*:windows32*:*) |
1829 | - # uname -m includes "-pc" on this system. |
1830 | - echo ${UNAME_MACHINE}-mingw32 |
1831 | - exit ;; |
1832 | - i*:PW*:*) |
1833 | - echo ${UNAME_MACHINE}-pc-pw32 |
1834 | - exit ;; |
1835 | - *:Interix*:*) |
1836 | - case ${UNAME_MACHINE} in |
1837 | - x86) |
1838 | - echo i586-pc-interix${UNAME_RELEASE} |
1839 | - exit ;; |
1840 | - authenticamd | genuineintel | EM64T) |
1841 | - echo x86_64-unknown-interix${UNAME_RELEASE} |
1842 | - exit ;; |
1843 | - IA64) |
1844 | - echo ia64-unknown-interix${UNAME_RELEASE} |
1845 | - exit ;; |
1846 | - esac ;; |
1847 | - [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
1848 | - echo i${UNAME_MACHINE}-pc-mks |
1849 | - exit ;; |
1850 | - 8664:Windows_NT:*) |
1851 | - echo x86_64-pc-mks |
1852 | - exit ;; |
1853 | - i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |
1854 | - # How do we know it's Interix rather than the generic POSIX subsystem? |
1855 | - # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we |
1856 | - # UNAME_MACHINE based on the output of uname instead of i386? |
1857 | - echo i586-pc-interix |
1858 | - exit ;; |
1859 | - i*:UWIN*:*) |
1860 | - echo ${UNAME_MACHINE}-pc-uwin |
1861 | - exit ;; |
1862 | - amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) |
1863 | - echo x86_64-unknown-cygwin |
1864 | - exit ;; |
1865 | - p*:CYGWIN*:*) |
1866 | - echo powerpcle-unknown-cygwin |
1867 | - exit ;; |
1868 | - prep*:SunOS:5.*:*) |
1869 | - echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
1870 | - exit ;; |
1871 | - *:GNU:*:*) |
1872 | - # the GNU system |
1873 | - echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
1874 | - exit ;; |
1875 | - *:GNU/*:*:*) |
1876 | - # other systems with GNU libc and userland |
1877 | - echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu |
1878 | - exit ;; |
1879 | - i*86:Minix:*:*) |
1880 | - echo ${UNAME_MACHINE}-pc-minix |
1881 | - exit ;; |
1882 | - alpha:Linux:*:*) |
1883 | - case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
1884 | - EV5) UNAME_MACHINE=alphaev5 ;; |
1885 | - EV56) UNAME_MACHINE=alphaev56 ;; |
1886 | - PCA56) UNAME_MACHINE=alphapca56 ;; |
1887 | - PCA57) UNAME_MACHINE=alphapca56 ;; |
1888 | - EV6) UNAME_MACHINE=alphaev6 ;; |
1889 | - EV67) UNAME_MACHINE=alphaev67 ;; |
1890 | - EV68*) UNAME_MACHINE=alphaev68 ;; |
1891 | - esac |
1892 | - objdump --private-headers /bin/sh | grep -q ld.so.1 |
1893 | - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi |
1894 | - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} |
1895 | - exit ;; |
1896 | - arm*:Linux:*:*) |
1897 | - eval $set_cc_for_build |
1898 | - if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
1899 | - | grep -q __ARM_EABI__ |
1900 | - then |
1901 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1902 | - else |
1903 | - echo ${UNAME_MACHINE}-unknown-linux-gnueabi |
1904 | - fi |
1905 | - exit ;; |
1906 | - avr32*:Linux:*:*) |
1907 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1908 | - exit ;; |
1909 | - cris:Linux:*:*) |
1910 | - echo cris-axis-linux-gnu |
1911 | - exit ;; |
1912 | - crisv32:Linux:*:*) |
1913 | - echo crisv32-axis-linux-gnu |
1914 | - exit ;; |
1915 | - frv:Linux:*:*) |
1916 | - echo frv-unknown-linux-gnu |
1917 | - exit ;; |
1918 | - i*86:Linux:*:*) |
1919 | - LIBC=gnu |
1920 | - eval $set_cc_for_build |
1921 | - sed 's/^ //' << EOF >$dummy.c |
1922 | - #ifdef __dietlibc__ |
1923 | - LIBC=dietlibc |
1924 | - #endif |
1925 | -EOF |
1926 | - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` |
1927 | - echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
1928 | - exit ;; |
1929 | - ia64:Linux:*:*) |
1930 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1931 | - exit ;; |
1932 | - m32r*:Linux:*:*) |
1933 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1934 | - exit ;; |
1935 | - m68*:Linux:*:*) |
1936 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1937 | - exit ;; |
1938 | - mips:Linux:*:* | mips64:Linux:*:*) |
1939 | - eval $set_cc_for_build |
1940 | - sed 's/^ //' << EOF >$dummy.c |
1941 | - #undef CPU |
1942 | - #undef ${UNAME_MACHINE} |
1943 | - #undef ${UNAME_MACHINE}el |
1944 | - #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) |
1945 | - CPU=${UNAME_MACHINE}el |
1946 | - #else |
1947 | - #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) |
1948 | - CPU=${UNAME_MACHINE} |
1949 | - #else |
1950 | - CPU= |
1951 | - #endif |
1952 | - #endif |
1953 | -EOF |
1954 | - eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` |
1955 | - test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
1956 | - ;; |
1957 | - or32:Linux:*:*) |
1958 | - echo or32-unknown-linux-gnu |
1959 | - exit ;; |
1960 | - padre:Linux:*:*) |
1961 | - echo sparc-unknown-linux-gnu |
1962 | - exit ;; |
1963 | - parisc64:Linux:*:* | hppa64:Linux:*:*) |
1964 | - echo hppa64-unknown-linux-gnu |
1965 | - exit ;; |
1966 | - parisc:Linux:*:* | hppa:Linux:*:*) |
1967 | - # Look for CPU level |
1968 | - case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in |
1969 | - PA7*) echo hppa1.1-unknown-linux-gnu ;; |
1970 | - PA8*) echo hppa2.0-unknown-linux-gnu ;; |
1971 | - *) echo hppa-unknown-linux-gnu ;; |
1972 | - esac |
1973 | - exit ;; |
1974 | - ppc64:Linux:*:*) |
1975 | - echo powerpc64-unknown-linux-gnu |
1976 | - exit ;; |
1977 | - ppc:Linux:*:*) |
1978 | - echo powerpc-unknown-linux-gnu |
1979 | - exit ;; |
1980 | - s390:Linux:*:* | s390x:Linux:*:*) |
1981 | - echo ${UNAME_MACHINE}-ibm-linux |
1982 | - exit ;; |
1983 | - sh64*:Linux:*:*) |
1984 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1985 | - exit ;; |
1986 | - sh*:Linux:*:*) |
1987 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1988 | - exit ;; |
1989 | - sparc:Linux:*:* | sparc64:Linux:*:*) |
1990 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
1991 | - exit ;; |
1992 | - vax:Linux:*:*) |
1993 | - echo ${UNAME_MACHINE}-dec-linux-gnu |
1994 | - exit ;; |
1995 | - x86_64:Linux:*:*) |
1996 | - echo x86_64-unknown-linux-gnu |
1997 | - exit ;; |
1998 | - xtensa*:Linux:*:*) |
1999 | - echo ${UNAME_MACHINE}-unknown-linux-gnu |
2000 | - exit ;; |
2001 | - i*86:DYNIX/ptx:4*:*) |
2002 | - # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
2003 | - # earlier versions are messed up and put the nodename in both |
2004 | - # sysname and nodename. |
2005 | - echo i386-sequent-sysv4 |
2006 | - exit ;; |
2007 | - i*86:UNIX_SV:4.2MP:2.*) |
2008 | - # Unixware is an offshoot of SVR4, but it has its own version |
2009 | - # number series starting with 2... |
2010 | - # I am not positive that other SVR4 systems won't match this, |
2011 | - # I just have to hope. -- rms. |
2012 | - # Use sysv4.2uw... so that sysv4* matches it. |
2013 | - echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
2014 | - exit ;; |
2015 | - i*86:OS/2:*:*) |
2016 | - # If we were able to find `uname', then EMX Unix compatibility |
2017 | - # is probably installed. |
2018 | - echo ${UNAME_MACHINE}-pc-os2-emx |
2019 | - exit ;; |
2020 | - i*86:XTS-300:*:STOP) |
2021 | - echo ${UNAME_MACHINE}-unknown-stop |
2022 | - exit ;; |
2023 | - i*86:atheos:*:*) |
2024 | - echo ${UNAME_MACHINE}-unknown-atheos |
2025 | - exit ;; |
2026 | - i*86:syllable:*:*) |
2027 | - echo ${UNAME_MACHINE}-pc-syllable |
2028 | - exit ;; |
2029 | - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) |
2030 | - echo i386-unknown-lynxos${UNAME_RELEASE} |
2031 | - exit ;; |
2032 | - i*86:*DOS:*:*) |
2033 | - echo ${UNAME_MACHINE}-pc-msdosdjgpp |
2034 | - exit ;; |
2035 | - i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) |
2036 | - UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` |
2037 | - if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then |
2038 | - echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} |
2039 | - else |
2040 | - echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} |
2041 | - fi |
2042 | - exit ;; |
2043 | - i*86:*:5:[678]*) |
2044 | - # UnixWare 7.x, OpenUNIX and OpenServer 6. |
2045 | - case `/bin/uname -X | grep "^Machine"` in |
2046 | - *486*) UNAME_MACHINE=i486 ;; |
2047 | - *Pentium) UNAME_MACHINE=i586 ;; |
2048 | - *Pent*|*Celeron) UNAME_MACHINE=i686 ;; |
2049 | - esac |
2050 | - echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} |
2051 | - exit ;; |
2052 | - i*86:*:3.2:*) |
2053 | - if test -f /usr/options/cb.name; then |
2054 | - UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` |
2055 | - echo ${UNAME_MACHINE}-pc-isc$UNAME_REL |
2056 | - elif /bin/uname -X 2>/dev/null >/dev/null ; then |
2057 | - UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` |
2058 | - (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 |
2059 | - (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ |
2060 | - && UNAME_MACHINE=i586 |
2061 | - (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ |
2062 | - && UNAME_MACHINE=i686 |
2063 | - (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ |
2064 | - && UNAME_MACHINE=i686 |
2065 | - echo ${UNAME_MACHINE}-pc-sco$UNAME_REL |
2066 | - else |
2067 | - echo ${UNAME_MACHINE}-pc-sysv32 |
2068 | - fi |
2069 | - exit ;; |
2070 | - pc:*:*:*) |
2071 | - # Left here for compatibility: |
2072 | - # uname -m prints for DJGPP always 'pc', but it prints nothing about |
2073 | - # the processor, so we play safe by assuming i586. |
2074 | - # Note: whatever this is, it MUST be the same as what config.sub |
2075 | - # prints for the "djgpp" host, or else GDB configury will decide that |
2076 | - # this is a cross-build. |
2077 | - echo i586-pc-msdosdjgpp |
2078 | - exit ;; |
2079 | - Intel:Mach:3*:*) |
2080 | - echo i386-pc-mach3 |
2081 | - exit ;; |
2082 | - paragon:*:*:*) |
2083 | - echo i860-intel-osf1 |
2084 | - exit ;; |
2085 | - i860:*:4.*:*) # i860-SVR4 |
2086 | - if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |
2087 | - echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 |
2088 | - else # Add other i860-SVR4 vendors below as they are discovered. |
2089 | - echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 |
2090 | - fi |
2091 | - exit ;; |
2092 | - mini*:CTIX:SYS*5:*) |
2093 | - # "miniframe" |
2094 | - echo m68010-convergent-sysv |
2095 | - exit ;; |
2096 | - mc68k:UNIX:SYSTEM5:3.51m) |
2097 | - echo m68k-convergent-sysv |
2098 | - exit ;; |
2099 | - M680?0:D-NIX:5.3:*) |
2100 | - echo m68k-diab-dnix |
2101 | - exit ;; |
2102 | - M68*:*:R3V[5678]*:*) |
2103 | - test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; |
2104 | - 3[345]??:*: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) |
2105 | - OS_REL='' |
2106 | - test -r /etc/.relid \ |
2107 | - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
2108 | - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
2109 | - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } |
2110 | - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
2111 | - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
2112 | - 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
2113 | - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
2114 | - && { echo i486-ncr-sysv4; exit; } ;; |
2115 | - NCR*:*:4.2:* | MPRAS*:*:4.2:*) |
2116 | - OS_REL='.3' |
2117 | - test -r /etc/.relid \ |
2118 | - && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
2119 | - /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
2120 | - && { echo i486-ncr-sysv4.3${OS_REL}; exit; } |
2121 | - /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
2122 | - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } |
2123 | - /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ |
2124 | - && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
2125 | - m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
2126 | - echo m68k-unknown-lynxos${UNAME_RELEASE} |
2127 | - exit ;; |
2128 | - mc68030:UNIX_System_V:4.*:*) |
2129 | - echo m68k-atari-sysv4 |
2130 | - exit ;; |
2131 | - TSUNAMI:LynxOS:2.*:*) |
2132 | - echo sparc-unknown-lynxos${UNAME_RELEASE} |
2133 | - exit ;; |
2134 | - rs6000:LynxOS:2.*:*) |
2135 | - echo rs6000-unknown-lynxos${UNAME_RELEASE} |
2136 | - exit ;; |
2137 | - PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) |
2138 | - echo powerpc-unknown-lynxos${UNAME_RELEASE} |
2139 | - exit ;; |
2140 | - SM[BE]S:UNIX_SV:*:*) |
2141 | - echo mips-dde-sysv${UNAME_RELEASE} |
2142 | - exit ;; |
2143 | - RM*:ReliantUNIX-*:*:*) |
2144 | - echo mips-sni-sysv4 |
2145 | - exit ;; |
2146 | - RM*:SINIX-*:*:*) |
2147 | - echo mips-sni-sysv4 |
2148 | - exit ;; |
2149 | - *:SINIX-*:*:*) |
2150 | - if uname -p 2>/dev/null >/dev/null ; then |
2151 | - UNAME_MACHINE=`(uname -p) 2>/dev/null` |
2152 | - echo ${UNAME_MACHINE}-sni-sysv4 |
2153 | - else |
2154 | - echo ns32k-sni-sysv |
2155 | - fi |
2156 | - exit ;; |
2157 | - PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
2158 | - # says <Richard.M.Bartel@ccMail.Census.GOV> |
2159 | - echo i586-unisys-sysv4 |
2160 | - exit ;; |
2161 | - *:UNIX_System_V:4*:FTX*) |
2162 | - # From Gerald Hewes <hewes@openmarket.com>. |
2163 | - # How about differentiating between stratus architectures? -djm |
2164 | - echo hppa1.1-stratus-sysv4 |
2165 | - exit ;; |
2166 | - *:*:*:FTX*) |
2167 | - # From seanf@swdc.stratus.com. |
2168 | - echo i860-stratus-sysv4 |
2169 | - exit ;; |
2170 | - i*86:VOS:*:*) |
2171 | - # From Paul.Green@stratus.com. |
2172 | - echo ${UNAME_MACHINE}-stratus-vos |
2173 | - exit ;; |
2174 | - *:VOS:*:*) |
2175 | - # From Paul.Green@stratus.com. |
2176 | - echo hppa1.1-stratus-vos |
2177 | - exit ;; |
2178 | - mc68*:A/UX:*:*) |
2179 | - echo m68k-apple-aux${UNAME_RELEASE} |
2180 | - exit ;; |
2181 | - news*:NEWS-OS:6*:*) |
2182 | - echo mips-sony-newsos6 |
2183 | - exit ;; |
2184 | - R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
2185 | - if [ -d /usr/nec ]; then |
2186 | - echo mips-nec-sysv${UNAME_RELEASE} |
2187 | - else |
2188 | - echo mips-unknown-sysv${UNAME_RELEASE} |
2189 | - fi |
2190 | - exit ;; |
2191 | - BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
2192 | - echo powerpc-be-beos |
2193 | - exit ;; |
2194 | - BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. |
2195 | - echo powerpc-apple-beos |
2196 | - exit ;; |
2197 | - BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
2198 | - echo i586-pc-beos |
2199 | - exit ;; |
2200 | - BePC:Haiku:*:*) # Haiku running on Intel PC compatible. |
2201 | - echo i586-pc-haiku |
2202 | - exit ;; |
2203 | - SX-4:SUPER-UX:*:*) |
2204 | - echo sx4-nec-superux${UNAME_RELEASE} |
2205 | - exit ;; |
2206 | - SX-5:SUPER-UX:*:*) |
2207 | - echo sx5-nec-superux${UNAME_RELEASE} |
2208 | - exit ;; |
2209 | - SX-6:SUPER-UX:*:*) |
2210 | - echo sx6-nec-superux${UNAME_RELEASE} |
2211 | - exit ;; |
2212 | - SX-7:SUPER-UX:*:*) |
2213 | - echo sx7-nec-superux${UNAME_RELEASE} |
2214 | - exit ;; |
2215 | - SX-8:SUPER-UX:*:*) |
2216 | - echo sx8-nec-superux${UNAME_RELEASE} |
2217 | - exit ;; |
2218 | - SX-8R:SUPER-UX:*:*) |
2219 | - echo sx8r-nec-superux${UNAME_RELEASE} |
2220 | - exit ;; |
2221 | - Power*:Rhapsody:*:*) |
2222 | - echo powerpc-apple-rhapsody${UNAME_RELEASE} |
2223 | - exit ;; |
2224 | - *:Rhapsody:*:*) |
2225 | - echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} |
2226 | - exit ;; |
2227 | - *:Darwin:*:*) |
2228 | - UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
2229 | - case $UNAME_PROCESSOR in |
2230 | - i386) |
2231 | - eval $set_cc_for_build |
2232 | - if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then |
2233 | - if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ |
2234 | - (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ |
2235 | - grep IS_64BIT_ARCH >/dev/null |
2236 | - then |
2237 | - UNAME_PROCESSOR="x86_64" |
2238 | - fi |
2239 | - fi ;; |
2240 | - unknown) UNAME_PROCESSOR=powerpc ;; |
2241 | - esac |
2242 | - echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
2243 | - exit ;; |
2244 | - *:procnto*:*:* | *:QNX:[0123456789]*:*) |
2245 | - UNAME_PROCESSOR=`uname -p` |
2246 | - if test "$UNAME_PROCESSOR" = "x86"; then |
2247 | - UNAME_PROCESSOR=i386 |
2248 | - UNAME_MACHINE=pc |
2249 | - fi |
2250 | - echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} |
2251 | - exit ;; |
2252 | - *:QNX:*:4*) |
2253 | - echo i386-pc-qnx |
2254 | - exit ;; |
2255 | - NSE-?:NONSTOP_KERNEL:*:*) |
2256 | - echo nse-tandem-nsk${UNAME_RELEASE} |
2257 | - exit ;; |
2258 | - NSR-?:NONSTOP_KERNEL:*:*) |
2259 | - echo nsr-tandem-nsk${UNAME_RELEASE} |
2260 | - exit ;; |
2261 | - *:NonStop-UX:*:*) |
2262 | - echo mips-compaq-nonstopux |
2263 | - exit ;; |
2264 | - BS2000:POSIX*:*:*) |
2265 | - echo bs2000-siemens-sysv |
2266 | - exit ;; |
2267 | - DS/*:UNIX_System_V:*:*) |
2268 | - echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} |
2269 | - exit ;; |
2270 | - *:Plan9:*:*) |
2271 | - # "uname -m" is not consistent, so use $cputype instead. 386 |
2272 | - # is converted to i386 for consistency with other x86 |
2273 | - # operating systems. |
2274 | - if test "$cputype" = "386"; then |
2275 | - UNAME_MACHINE=i386 |
2276 | - else |
2277 | - UNAME_MACHINE="$cputype" |
2278 | - fi |
2279 | - echo ${UNAME_MACHINE}-unknown-plan9 |
2280 | - exit ;; |
2281 | - *:TOPS-10:*:*) |
2282 | - echo pdp10-unknown-tops10 |
2283 | - exit ;; |
2284 | - *:TENEX:*:*) |
2285 | - echo pdp10-unknown-tenex |
2286 | - exit ;; |
2287 | - KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) |
2288 | - echo pdp10-dec-tops20 |
2289 | - exit ;; |
2290 | - XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) |
2291 | - echo pdp10-xkl-tops20 |
2292 | - exit ;; |
2293 | - *:TOPS-20:*:*) |
2294 | - echo pdp10-unknown-tops20 |
2295 | - exit ;; |
2296 | - *:ITS:*:*) |
2297 | - echo pdp10-unknown-its |
2298 | - exit ;; |
2299 | - SEI:*:*:SEIUX) |
2300 | - echo mips-sei-seiux${UNAME_RELEASE} |
2301 | - exit ;; |
2302 | - *:DragonFly:*:*) |
2303 | - echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
2304 | - exit ;; |
2305 | - *:*VMS:*:*) |
2306 | - UNAME_MACHINE=`(uname -p) 2>/dev/null` |
2307 | - case "${UNAME_MACHINE}" in |
2308 | - A*) echo alpha-dec-vms ; exit ;; |
2309 | - I*) echo ia64-dec-vms ; exit ;; |
2310 | - V*) echo vax-dec-vms ; exit ;; |
2311 | - esac ;; |
2312 | - *:XENIX:*:SysV) |
2313 | - echo i386-pc-xenix |
2314 | - exit ;; |
2315 | - i*86:skyos:*:*) |
2316 | - echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' |
2317 | - exit ;; |
2318 | - i*86:rdos:*:*) |
2319 | - echo ${UNAME_MACHINE}-pc-rdos |
2320 | - exit ;; |
2321 | - i*86:AROS:*:*) |
2322 | - echo ${UNAME_MACHINE}-pc-aros |
2323 | - exit ;; |
2324 | -esac |
2325 | - |
2326 | -#echo '(No uname command or uname output not recognized.)' 1>&2 |
2327 | -#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 |
2328 | - |
2329 | -eval $set_cc_for_build |
2330 | -cat >$dummy.c <<EOF |
2331 | -#ifdef _SEQUENT_ |
2332 | -# include <sys/types.h> |
2333 | -# include <sys/utsname.h> |
2334 | -#endif |
2335 | -main () |
2336 | -{ |
2337 | -#if defined (sony) |
2338 | -#if defined (MIPSEB) |
2339 | - /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, |
2340 | - I don't know.... */ |
2341 | - printf ("mips-sony-bsd\n"); exit (0); |
2342 | -#else |
2343 | -#include <sys/param.h> |
2344 | - printf ("m68k-sony-newsos%s\n", |
2345 | -#ifdef NEWSOS4 |
2346 | - "4" |
2347 | -#else |
2348 | - "" |
2349 | -#endif |
2350 | - ); exit (0); |
2351 | -#endif |
2352 | -#endif |
2353 | - |
2354 | -#if defined (__arm) && defined (__acorn) && defined (__unix) |
2355 | - printf ("arm-acorn-riscix\n"); exit (0); |
2356 | -#endif |
2357 | - |
2358 | -#if defined (hp300) && !defined (hpux) |
2359 | - printf ("m68k-hp-bsd\n"); exit (0); |
2360 | -#endif |
2361 | - |
2362 | -#if defined (NeXT) |
2363 | -#if !defined (__ARCHITECTURE__) |
2364 | -#define __ARCHITECTURE__ "m68k" |
2365 | -#endif |
2366 | - int version; |
2367 | - version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; |
2368 | - if (version < 4) |
2369 | - printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); |
2370 | - else |
2371 | - printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); |
2372 | - exit (0); |
2373 | -#endif |
2374 | - |
2375 | -#if defined (MULTIMAX) || defined (n16) |
2376 | -#if defined (UMAXV) |
2377 | - printf ("ns32k-encore-sysv\n"); exit (0); |
2378 | -#else |
2379 | -#if defined (CMU) |
2380 | - printf ("ns32k-encore-mach\n"); exit (0); |
2381 | -#else |
2382 | - printf ("ns32k-encore-bsd\n"); exit (0); |
2383 | -#endif |
2384 | -#endif |
2385 | -#endif |
2386 | - |
2387 | -#if defined (__386BSD__) |
2388 | - printf ("i386-pc-bsd\n"); exit (0); |
2389 | -#endif |
2390 | - |
2391 | -#if defined (sequent) |
2392 | -#if defined (i386) |
2393 | - printf ("i386-sequent-dynix\n"); exit (0); |
2394 | -#endif |
2395 | -#if defined (ns32000) |
2396 | - printf ("ns32k-sequent-dynix\n"); exit (0); |
2397 | -#endif |
2398 | -#endif |
2399 | - |
2400 | -#if defined (_SEQUENT_) |
2401 | - struct utsname un; |
2402 | - |
2403 | - uname(&un); |
2404 | - |
2405 | - if (strncmp(un.version, "V2", 2) == 0) { |
2406 | - printf ("i386-sequent-ptx2\n"); exit (0); |
2407 | - } |
2408 | - if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ |
2409 | - printf ("i386-sequent-ptx1\n"); exit (0); |
2410 | - } |
2411 | - printf ("i386-sequent-ptx\n"); exit (0); |
2412 | - |
2413 | -#endif |
2414 | - |
2415 | -#if defined (vax) |
2416 | -# if !defined (ultrix) |
2417 | -# include <sys/param.h> |
2418 | -# if defined (BSD) |
2419 | -# if BSD == 43 |
2420 | - printf ("vax-dec-bsd4.3\n"); exit (0); |
2421 | -# else |
2422 | -# if BSD == 199006 |
2423 | - printf ("vax-dec-bsd4.3reno\n"); exit (0); |
2424 | -# else |
2425 | - printf ("vax-dec-bsd\n"); exit (0); |
2426 | -# endif |
2427 | -# endif |
2428 | -# else |
2429 | - printf ("vax-dec-bsd\n"); exit (0); |
2430 | -# endif |
2431 | -# else |
2432 | - printf ("vax-dec-ultrix\n"); exit (0); |
2433 | -# endif |
2434 | -#endif |
2435 | - |
2436 | -#if defined (alliant) && defined (i860) |
2437 | - printf ("i860-alliant-bsd\n"); exit (0); |
2438 | -#endif |
2439 | - |
2440 | - exit (1); |
2441 | -} |
2442 | -EOF |
2443 | - |
2444 | -$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && |
2445 | - { echo "$SYSTEM_NAME"; exit; } |
2446 | - |
2447 | -# Apollos put the system type in the environment. |
2448 | - |
2449 | -test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } |
2450 | - |
2451 | -# Convex versions that predate uname can use getsysinfo(1) |
2452 | - |
2453 | -if [ -x /usr/convex/getsysinfo ] |
2454 | -then |
2455 | - case `getsysinfo -f cpu_type` in |
2456 | - c1*) |
2457 | - echo c1-convex-bsd |
2458 | - exit ;; |
2459 | - c2*) |
2460 | - if getsysinfo -f scalar_acc |
2461 | - then echo c32-convex-bsd |
2462 | - else echo c2-convex-bsd |
2463 | - fi |
2464 | - exit ;; |
2465 | - c34*) |
2466 | - echo c34-convex-bsd |
2467 | - exit ;; |
2468 | - c38*) |
2469 | - echo c38-convex-bsd |
2470 | - exit ;; |
2471 | - c4*) |
2472 | - echo c4-convex-bsd |
2473 | - exit ;; |
2474 | - esac |
2475 | -fi |
2476 | - |
2477 | -cat >&2 <<EOF |
2478 | -$0: unable to guess system type |
2479 | - |
2480 | -This script, last modified $timestamp, has failed to recognize |
2481 | -the operating system you are using. It is advised that you |
2482 | -download the most up to date version of the config scripts from |
2483 | - |
2484 | - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD |
2485 | -and |
2486 | - http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
2487 | - |
2488 | -If the version you run ($0) is already up to date, please |
2489 | -send the following data and any information you think might be |
2490 | -pertinent to <config-patches@gnu.org> in order to provide the needed |
2491 | -information to handle your system. |
2492 | - |
2493 | -config.guess timestamp = $timestamp |
2494 | - |
2495 | -uname -m = `(uname -m) 2>/dev/null || echo unknown` |
2496 | -uname -r = `(uname -r) 2>/dev/null || echo unknown` |
2497 | -uname -s = `(uname -s) 2>/dev/null || echo unknown` |
2498 | -uname -v = `(uname -v) 2>/dev/null || echo unknown` |
2499 | - |
2500 | -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` |
2501 | -/bin/uname -X = `(/bin/uname -X) 2>/dev/null` |
2502 | - |
2503 | -hostinfo = `(hostinfo) 2>/dev/null` |
2504 | -/bin/universe = `(/bin/universe) 2>/dev/null` |
2505 | -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` |
2506 | -/bin/arch = `(/bin/arch) 2>/dev/null` |
2507 | -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` |
2508 | -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` |
2509 | - |
2510 | -UNAME_MACHINE = ${UNAME_MACHINE} |
2511 | -UNAME_RELEASE = ${UNAME_RELEASE} |
2512 | -UNAME_SYSTEM = ${UNAME_SYSTEM} |
2513 | -UNAME_VERSION = ${UNAME_VERSION} |
2514 | -EOF |
2515 | - |
2516 | -exit 1 |
2517 | - |
2518 | -# Local variables: |
2519 | -# eval: (add-hook 'write-file-hooks 'time-stamp) |
2520 | -# time-stamp-start: "timestamp='" |
2521 | -# time-stamp-format: "%:y-%02m-%02d" |
2522 | -# time-stamp-end: "'" |
2523 | -# End: |
2524 | |
2525 | === removed file 'config.sub' |
2526 | --- config.sub 2010-05-13 23:24:00 +0000 |
2527 | +++ config.sub 1970-01-01 00:00:00 +0000 |
2528 | @@ -1,1714 +0,0 @@ |
2529 | -#! /bin/sh |
2530 | -# Configuration validation subroutine script. |
2531 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
2532 | -# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
2533 | -# Free Software Foundation, Inc. |
2534 | - |
2535 | -timestamp='2010-01-22' |
2536 | - |
2537 | -# This file is (in principle) common to ALL GNU software. |
2538 | -# The presence of a machine in this file suggests that SOME GNU software |
2539 | -# can handle that machine. It does not imply ALL GNU software can. |
2540 | -# |
2541 | -# This file is free software; you can redistribute it and/or modify |
2542 | -# it under the terms of the GNU General Public License as published by |
2543 | -# the Free Software Foundation; either version 2 of the License, or |
2544 | -# (at your option) any later version. |
2545 | -# |
2546 | -# This program is distributed in the hope that it will be useful, |
2547 | -# but WITHOUT ANY WARRANTY; without even the implied warranty of |
2548 | -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
2549 | -# GNU General Public License for more details. |
2550 | -# |
2551 | -# You should have received a copy of the GNU General Public License |
2552 | -# along with this program; if not, write to the Free Software |
2553 | -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
2554 | -# 02110-1301, USA. |
2555 | -# |
2556 | -# As a special exception to the GNU General Public License, if you |
2557 | -# distribute this file as part of a program that contains a |
2558 | -# configuration script generated by Autoconf, you may include it under |
2559 | -# the same distribution terms that you use for the rest of that program. |
2560 | - |
2561 | - |
2562 | -# Please send patches to <config-patches@gnu.org>. Submit a context |
2563 | -# diff and a properly formatted GNU ChangeLog entry. |
2564 | -# |
2565 | -# Configuration subroutine to validate and canonicalize a configuration type. |
2566 | -# Supply the specified configuration type as an argument. |
2567 | -# If it is invalid, we print an error message on stderr and exit with code 1. |
2568 | -# Otherwise, we print the canonical config type on stdout and succeed. |
2569 | - |
2570 | -# You can get the latest version of this script from: |
2571 | -# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD |
2572 | - |
2573 | -# This file is supposed to be the same for all GNU packages |
2574 | -# and recognize all the CPU types, system types and aliases |
2575 | -# that are meaningful with *any* GNU software. |
2576 | -# Each package is responsible for reporting which valid configurations |
2577 | -# it does not support. The user should be able to distinguish |
2578 | -# a failure to support a valid configuration from a meaningless |
2579 | -# configuration. |
2580 | - |
2581 | -# The goal of this file is to map all the various variations of a given |
2582 | -# machine specification into a single specification in the form: |
2583 | -# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM |
2584 | -# or in some cases, the newer four-part form: |
2585 | -# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM |
2586 | -# It is wrong to echo any other type of specification. |
2587 | - |
2588 | -me=`echo "$0" | sed -e 's,.*/,,'` |
2589 | - |
2590 | -usage="\ |
2591 | -Usage: $0 [OPTION] CPU-MFR-OPSYS |
2592 | - $0 [OPTION] ALIAS |
2593 | - |
2594 | -Canonicalize a configuration name. |
2595 | - |
2596 | -Operation modes: |
2597 | - -h, --help print this help, then exit |
2598 | - -t, --time-stamp print date of last modification, then exit |
2599 | - -v, --version print version number, then exit |
2600 | - |
2601 | -Report bugs and patches to <config-patches@gnu.org>." |
2602 | - |
2603 | -version="\ |
2604 | -GNU config.sub ($timestamp) |
2605 | - |
2606 | -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, |
2607 | -2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free |
2608 | -Software Foundation, Inc. |
2609 | - |
2610 | -This is free software; see the source for copying conditions. There is NO |
2611 | -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
2612 | - |
2613 | -help=" |
2614 | -Try \`$me --help' for more information." |
2615 | - |
2616 | -# Parse command line |
2617 | -while test $# -gt 0 ; do |
2618 | - case $1 in |
2619 | - --time-stamp | --time* | -t ) |
2620 | - echo "$timestamp" ; exit ;; |
2621 | - --version | -v ) |
2622 | - echo "$version" ; exit ;; |
2623 | - --help | --h* | -h ) |
2624 | - echo "$usage"; exit ;; |
2625 | - -- ) # Stop option processing |
2626 | - shift; break ;; |
2627 | - - ) # Use stdin as input. |
2628 | - break ;; |
2629 | - -* ) |
2630 | - echo "$me: invalid option $1$help" |
2631 | - exit 1 ;; |
2632 | - |
2633 | - *local*) |
2634 | - # First pass through any local machine types. |
2635 | - echo $1 |
2636 | - exit ;; |
2637 | - |
2638 | - * ) |
2639 | - break ;; |
2640 | - esac |
2641 | -done |
2642 | - |
2643 | -case $# in |
2644 | - 0) echo "$me: missing argument$help" >&2 |
2645 | - exit 1;; |
2646 | - 1) ;; |
2647 | - *) echo "$me: too many arguments$help" >&2 |
2648 | - exit 1;; |
2649 | -esac |
2650 | - |
2651 | -# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). |
2652 | -# Here we must recognize all the valid KERNEL-OS combinations. |
2653 | -maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` |
2654 | -case $maybe_os in |
2655 | - nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ |
2656 | - uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ |
2657 | - kopensolaris*-gnu* | \ |
2658 | - storm-chaos* | os2-emx* | rtmk-nova*) |
2659 | - os=-$maybe_os |
2660 | - basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
2661 | - ;; |
2662 | - *) |
2663 | - basic_machine=`echo $1 | sed 's/-[^-]*$//'` |
2664 | - if [ $basic_machine != $1 ] |
2665 | - then os=`echo $1 | sed 's/.*-/-/'` |
2666 | - else os=; fi |
2667 | - ;; |
2668 | -esac |
2669 | - |
2670 | -### Let's recognize common machines as not being operating systems so |
2671 | -### that things like config.sub decstation-3100 work. We also |
2672 | -### recognize some manufacturers as not being operating systems, so we |
2673 | -### can provide default operating systems below. |
2674 | -case $os in |
2675 | - -sun*os*) |
2676 | - # Prevent following clause from handling this invalid input. |
2677 | - ;; |
2678 | - -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ |
2679 | - -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ |
2680 | - -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ |
2681 | - -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
2682 | - -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
2683 | - -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
2684 | - -apple | -axis | -knuth | -cray | -microblaze) |
2685 | - os= |
2686 | - basic_machine=$1 |
2687 | - ;; |
2688 | - -bluegene*) |
2689 | - os=-cnk |
2690 | - ;; |
2691 | - -sim | -cisco | -oki | -wec | -winbond) |
2692 | - os= |
2693 | - basic_machine=$1 |
2694 | - ;; |
2695 | - -scout) |
2696 | - ;; |
2697 | - -wrs) |
2698 | - os=-vxworks |
2699 | - basic_machine=$1 |
2700 | - ;; |
2701 | - -chorusos*) |
2702 | - os=-chorusos |
2703 | - basic_machine=$1 |
2704 | - ;; |
2705 | - -chorusrdb) |
2706 | - os=-chorusrdb |
2707 | - basic_machine=$1 |
2708 | - ;; |
2709 | - -hiux*) |
2710 | - os=-hiuxwe2 |
2711 | - ;; |
2712 | - -sco6) |
2713 | - os=-sco5v6 |
2714 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2715 | - ;; |
2716 | - -sco5) |
2717 | - os=-sco3.2v5 |
2718 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2719 | - ;; |
2720 | - -sco4) |
2721 | - os=-sco3.2v4 |
2722 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2723 | - ;; |
2724 | - -sco3.2.[4-9]*) |
2725 | - os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` |
2726 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2727 | - ;; |
2728 | - -sco3.2v[4-9]*) |
2729 | - # Don't forget version if it is 3.2v4 or newer. |
2730 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2731 | - ;; |
2732 | - -sco5v6*) |
2733 | - # Don't forget version if it is 3.2v4 or newer. |
2734 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2735 | - ;; |
2736 | - -sco*) |
2737 | - os=-sco3.2v2 |
2738 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2739 | - ;; |
2740 | - -udk*) |
2741 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2742 | - ;; |
2743 | - -isc) |
2744 | - os=-isc2.2 |
2745 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2746 | - ;; |
2747 | - -clix*) |
2748 | - basic_machine=clipper-intergraph |
2749 | - ;; |
2750 | - -isc*) |
2751 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` |
2752 | - ;; |
2753 | - -lynx*) |
2754 | - os=-lynxos |
2755 | - ;; |
2756 | - -ptx*) |
2757 | - basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` |
2758 | - ;; |
2759 | - -windowsnt*) |
2760 | - os=`echo $os | sed -e 's/windowsnt/winnt/'` |
2761 | - ;; |
2762 | - -psos*) |
2763 | - os=-psos |
2764 | - ;; |
2765 | - -mint | -mint[0-9]*) |
2766 | - basic_machine=m68k-atari |
2767 | - os=-mint |
2768 | - ;; |
2769 | -esac |
2770 | - |
2771 | -# Decode aliases for certain CPU-COMPANY combinations. |
2772 | -case $basic_machine in |
2773 | - # Recognize the basic CPU types without company name. |
2774 | - # Some are omitted here because they have special meanings below. |
2775 | - 1750a | 580 \ |
2776 | - | a29k \ |
2777 | - | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ |
2778 | - | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
2779 | - | am33_2.0 \ |
2780 | - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ |
2781 | - | bfin \ |
2782 | - | c4x | clipper \ |
2783 | - | d10v | d30v | dlx | dsp16xx \ |
2784 | - | fido | fr30 | frv \ |
2785 | - | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
2786 | - | i370 | i860 | i960 | ia64 \ |
2787 | - | ip2k | iq2000 \ |
2788 | - | lm32 \ |
2789 | - | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
2790 | - | maxq | mb | microblaze | mcore | mep | metag \ |
2791 | - | mips | mipsbe | mipseb | mipsel | mipsle \ |
2792 | - | mips16 \ |
2793 | - | mips64 | mips64el \ |
2794 | - | mips64octeon | mips64octeonel \ |
2795 | - | mips64orion | mips64orionel \ |
2796 | - | mips64r5900 | mips64r5900el \ |
2797 | - | mips64vr | mips64vrel \ |
2798 | - | mips64vr4100 | mips64vr4100el \ |
2799 | - | mips64vr4300 | mips64vr4300el \ |
2800 | - | mips64vr5000 | mips64vr5000el \ |
2801 | - | mips64vr5900 | mips64vr5900el \ |
2802 | - | mipsisa32 | mipsisa32el \ |
2803 | - | mipsisa32r2 | mipsisa32r2el \ |
2804 | - | mipsisa64 | mipsisa64el \ |
2805 | - | mipsisa64r2 | mipsisa64r2el \ |
2806 | - | mipsisa64sb1 | mipsisa64sb1el \ |
2807 | - | mipsisa64sr71k | mipsisa64sr71kel \ |
2808 | - | mipstx39 | mipstx39el \ |
2809 | - | mn10200 | mn10300 \ |
2810 | - | moxie \ |
2811 | - | mt \ |
2812 | - | msp430 \ |
2813 | - | nios | nios2 \ |
2814 | - | ns16k | ns32k \ |
2815 | - | or32 \ |
2816 | - | pdp10 | pdp11 | pj | pjl \ |
2817 | - | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
2818 | - | pyramid \ |
2819 | - | rx \ |
2820 | - | score \ |
2821 | - | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
2822 | - | sh64 | sh64le \ |
2823 | - | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ |
2824 | - | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
2825 | - | spu | strongarm \ |
2826 | - | tahoe | thumb | tic4x | tic80 | tron \ |
2827 | - | ubicom32 \ |
2828 | - | v850 | v850e \ |
2829 | - | we32k \ |
2830 | - | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
2831 | - | z8k | z80) |
2832 | - basic_machine=$basic_machine-unknown |
2833 | - ;; |
2834 | - m6811 | m68hc11 | m6812 | m68hc12 | picochip) |
2835 | - # Motorola 68HC11/12. |
2836 | - basic_machine=$basic_machine-unknown |
2837 | - os=-none |
2838 | - ;; |
2839 | - m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
2840 | - ;; |
2841 | - ms1) |
2842 | - basic_machine=mt-unknown |
2843 | - ;; |
2844 | - |
2845 | - # We use `pc' rather than `unknown' |
2846 | - # because (1) that's what they normally are, and |
2847 | - # (2) the word "unknown" tends to confuse beginning users. |
2848 | - i*86 | x86_64) |
2849 | - basic_machine=$basic_machine-pc |
2850 | - ;; |
2851 | - # Object if more than one company name word. |
2852 | - *-*-*) |
2853 | - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
2854 | - exit 1 |
2855 | - ;; |
2856 | - # Recognize the basic CPU types with company name. |
2857 | - 580-* \ |
2858 | - | a29k-* \ |
2859 | - | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ |
2860 | - | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ |
2861 | - | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
2862 | - | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
2863 | - | avr-* | avr32-* \ |
2864 | - | bfin-* | bs2000-* \ |
2865 | - | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
2866 | - | clipper-* | craynv-* | cydra-* \ |
2867 | - | d10v-* | d30v-* | dlx-* \ |
2868 | - | elxsi-* \ |
2869 | - | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
2870 | - | h8300-* | h8500-* \ |
2871 | - | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
2872 | - | i*86-* | i860-* | i960-* | ia64-* \ |
2873 | - | ip2k-* | iq2000-* \ |
2874 | - | lm32-* \ |
2875 | - | m32c-* | m32r-* | m32rle-* \ |
2876 | - | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
2877 | - | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ |
2878 | - | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
2879 | - | mips16-* \ |
2880 | - | mips64-* | mips64el-* \ |
2881 | - | mips64octeon-* | mips64octeonel-* \ |
2882 | - | mips64orion-* | mips64orionel-* \ |
2883 | - | mips64r5900-* | mips64r5900el-* \ |
2884 | - | mips64vr-* | mips64vrel-* \ |
2885 | - | mips64vr4100-* | mips64vr4100el-* \ |
2886 | - | mips64vr4300-* | mips64vr4300el-* \ |
2887 | - | mips64vr5000-* | mips64vr5000el-* \ |
2888 | - | mips64vr5900-* | mips64vr5900el-* \ |
2889 | - | mipsisa32-* | mipsisa32el-* \ |
2890 | - | mipsisa32r2-* | mipsisa32r2el-* \ |
2891 | - | mipsisa64-* | mipsisa64el-* \ |
2892 | - | mipsisa64r2-* | mipsisa64r2el-* \ |
2893 | - | mipsisa64sb1-* | mipsisa64sb1el-* \ |
2894 | - | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
2895 | - | mipstx39-* | mipstx39el-* \ |
2896 | - | mmix-* \ |
2897 | - | mt-* \ |
2898 | - | msp430-* \ |
2899 | - | nios-* | nios2-* \ |
2900 | - | none-* | np1-* | ns16k-* | ns32k-* \ |
2901 | - | orion-* \ |
2902 | - | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
2903 | - | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
2904 | - | pyramid-* \ |
2905 | - | romp-* | rs6000-* | rx-* \ |
2906 | - | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
2907 | - | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
2908 | - | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
2909 | - | sparclite-* \ |
2910 | - | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
2911 | - | tahoe-* | thumb-* \ |
2912 | - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
2913 | - | tile-* | tilegx-* \ |
2914 | - | tron-* \ |
2915 | - | ubicom32-* \ |
2916 | - | v850-* | v850e-* | vax-* \ |
2917 | - | we32k-* \ |
2918 | - | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
2919 | - | xstormy16-* | xtensa*-* \ |
2920 | - | ymp-* \ |
2921 | - | z8k-* | z80-*) |
2922 | - ;; |
2923 | - # Recognize the basic CPU types without company name, with glob match. |
2924 | - xtensa*) |
2925 | - basic_machine=$basic_machine-unknown |
2926 | - ;; |
2927 | - # Recognize the various machine names and aliases which stand |
2928 | - # for a CPU type and a company and sometimes even an OS. |
2929 | - 386bsd) |
2930 | - basic_machine=i386-unknown |
2931 | - os=-bsd |
2932 | - ;; |
2933 | - 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) |
2934 | - basic_machine=m68000-att |
2935 | - ;; |
2936 | - 3b*) |
2937 | - basic_machine=we32k-att |
2938 | - ;; |
2939 | - a29khif) |
2940 | - basic_machine=a29k-amd |
2941 | - os=-udi |
2942 | - ;; |
2943 | - abacus) |
2944 | - basic_machine=abacus-unknown |
2945 | - ;; |
2946 | - adobe68k) |
2947 | - basic_machine=m68010-adobe |
2948 | - os=-scout |
2949 | - ;; |
2950 | - alliant | fx80) |
2951 | - basic_machine=fx80-alliant |
2952 | - ;; |
2953 | - altos | altos3068) |
2954 | - basic_machine=m68k-altos |
2955 | - ;; |
2956 | - am29k) |
2957 | - basic_machine=a29k-none |
2958 | - os=-bsd |
2959 | - ;; |
2960 | - amd64) |
2961 | - basic_machine=x86_64-pc |
2962 | - ;; |
2963 | - amd64-*) |
2964 | - basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` |
2965 | - ;; |
2966 | - amdahl) |
2967 | - basic_machine=580-amdahl |
2968 | - os=-sysv |
2969 | - ;; |
2970 | - amiga | amiga-*) |
2971 | - basic_machine=m68k-unknown |
2972 | - ;; |
2973 | - amigaos | amigados) |
2974 | - basic_machine=m68k-unknown |
2975 | - os=-amigaos |
2976 | - ;; |
2977 | - amigaunix | amix) |
2978 | - basic_machine=m68k-unknown |
2979 | - os=-sysv4 |
2980 | - ;; |
2981 | - apollo68) |
2982 | - basic_machine=m68k-apollo |
2983 | - os=-sysv |
2984 | - ;; |
2985 | - apollo68bsd) |
2986 | - basic_machine=m68k-apollo |
2987 | - os=-bsd |
2988 | - ;; |
2989 | - aros) |
2990 | - basic_machine=i386-pc |
2991 | - os=-aros |
2992 | - ;; |
2993 | - aux) |
2994 | - basic_machine=m68k-apple |
2995 | - os=-aux |
2996 | - ;; |
2997 | - balance) |
2998 | - basic_machine=ns32k-sequent |
2999 | - os=-dynix |
3000 | - ;; |
3001 | - blackfin) |
3002 | - basic_machine=bfin-unknown |
3003 | - os=-linux |
3004 | - ;; |
3005 | - blackfin-*) |
3006 | - basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` |
3007 | - os=-linux |
3008 | - ;; |
3009 | - bluegene*) |
3010 | - basic_machine=powerpc-ibm |
3011 | - os=-cnk |
3012 | - ;; |
3013 | - c90) |
3014 | - basic_machine=c90-cray |
3015 | - os=-unicos |
3016 | - ;; |
3017 | - cegcc) |
3018 | - basic_machine=arm-unknown |
3019 | - os=-cegcc |
3020 | - ;; |
3021 | - convex-c1) |
3022 | - basic_machine=c1-convex |
3023 | - os=-bsd |
3024 | - ;; |
3025 | - convex-c2) |
3026 | - basic_machine=c2-convex |
3027 | - os=-bsd |
3028 | - ;; |
3029 | - convex-c32) |
3030 | - basic_machine=c32-convex |
3031 | - os=-bsd |
3032 | - ;; |
3033 | - convex-c34) |
3034 | - basic_machine=c34-convex |
3035 | - os=-bsd |
3036 | - ;; |
3037 | - convex-c38) |
3038 | - basic_machine=c38-convex |
3039 | - os=-bsd |
3040 | - ;; |
3041 | - cray | j90) |
3042 | - basic_machine=j90-cray |
3043 | - os=-unicos |
3044 | - ;; |
3045 | - craynv) |
3046 | - basic_machine=craynv-cray |
3047 | - os=-unicosmp |
3048 | - ;; |
3049 | - cr16) |
3050 | - basic_machine=cr16-unknown |
3051 | - os=-elf |
3052 | - ;; |
3053 | - crds | unos) |
3054 | - basic_machine=m68k-crds |
3055 | - ;; |
3056 | - crisv32 | crisv32-* | etraxfs*) |
3057 | - basic_machine=crisv32-axis |
3058 | - ;; |
3059 | - cris | cris-* | etrax*) |
3060 | - basic_machine=cris-axis |
3061 | - ;; |
3062 | - crx) |
3063 | - basic_machine=crx-unknown |
3064 | - os=-elf |
3065 | - ;; |
3066 | - da30 | da30-*) |
3067 | - basic_machine=m68k-da30 |
3068 | - ;; |
3069 | - decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) |
3070 | - basic_machine=mips-dec |
3071 | - ;; |
3072 | - decsystem10* | dec10*) |
3073 | - basic_machine=pdp10-dec |
3074 | - os=-tops10 |
3075 | - ;; |
3076 | - decsystem20* | dec20*) |
3077 | - basic_machine=pdp10-dec |
3078 | - os=-tops20 |
3079 | - ;; |
3080 | - delta | 3300 | motorola-3300 | motorola-delta \ |
3081 | - | 3300-motorola | delta-motorola) |
3082 | - basic_machine=m68k-motorola |
3083 | - ;; |
3084 | - delta88) |
3085 | - basic_machine=m88k-motorola |
3086 | - os=-sysv3 |
3087 | - ;; |
3088 | - dicos) |
3089 | - basic_machine=i686-pc |
3090 | - os=-dicos |
3091 | - ;; |
3092 | - djgpp) |
3093 | - basic_machine=i586-pc |
3094 | - os=-msdosdjgpp |
3095 | - ;; |
3096 | - dpx20 | dpx20-*) |
3097 | - basic_machine=rs6000-bull |
3098 | - os=-bosx |
3099 | - ;; |
3100 | - dpx2* | dpx2*-bull) |
3101 | - basic_machine=m68k-bull |
3102 | - os=-sysv3 |
3103 | - ;; |
3104 | - ebmon29k) |
3105 | - basic_machine=a29k-amd |
3106 | - os=-ebmon |
3107 | - ;; |
3108 | - elxsi) |
3109 | - basic_machine=elxsi-elxsi |
3110 | - os=-bsd |
3111 | - ;; |
3112 | - encore | umax | mmax) |
3113 | - basic_machine=ns32k-encore |
3114 | - ;; |
3115 | - es1800 | OSE68k | ose68k | ose | OSE) |
3116 | - basic_machine=m68k-ericsson |
3117 | - os=-ose |
3118 | - ;; |
3119 | - fx2800) |
3120 | - basic_machine=i860-alliant |
3121 | - ;; |
3122 | - genix) |
3123 | - basic_machine=ns32k-ns |
3124 | - ;; |
3125 | - gmicro) |
3126 | - basic_machine=tron-gmicro |
3127 | - os=-sysv |
3128 | - ;; |
3129 | - go32) |
3130 | - basic_machine=i386-pc |
3131 | - os=-go32 |
3132 | - ;; |
3133 | - h3050r* | hiux*) |
3134 | - basic_machine=hppa1.1-hitachi |
3135 | - os=-hiuxwe2 |
3136 | - ;; |
3137 | - h8300hms) |
3138 | - basic_machine=h8300-hitachi |
3139 | - os=-hms |
3140 | - ;; |
3141 | - h8300xray) |
3142 | - basic_machine=h8300-hitachi |
3143 | - os=-xray |
3144 | - ;; |
3145 | - h8500hms) |
3146 | - basic_machine=h8500-hitachi |
3147 | - os=-hms |
3148 | - ;; |
3149 | - harris) |
3150 | - basic_machine=m88k-harris |
3151 | - os=-sysv3 |
3152 | - ;; |
3153 | - hp300-*) |
3154 | - basic_machine=m68k-hp |
3155 | - ;; |
3156 | - hp300bsd) |
3157 | - basic_machine=m68k-hp |
3158 | - os=-bsd |
3159 | - ;; |
3160 | - hp300hpux) |
3161 | - basic_machine=m68k-hp |
3162 | - os=-hpux |
3163 | - ;; |
3164 | - hp3k9[0-9][0-9] | hp9[0-9][0-9]) |
3165 | - basic_machine=hppa1.0-hp |
3166 | - ;; |
3167 | - hp9k2[0-9][0-9] | hp9k31[0-9]) |
3168 | - basic_machine=m68000-hp |
3169 | - ;; |
3170 | - hp9k3[2-9][0-9]) |
3171 | - basic_machine=m68k-hp |
3172 | - ;; |
3173 | - hp9k6[0-9][0-9] | hp6[0-9][0-9]) |
3174 | - basic_machine=hppa1.0-hp |
3175 | - ;; |
3176 | - hp9k7[0-79][0-9] | hp7[0-79][0-9]) |
3177 | - basic_machine=hppa1.1-hp |
3178 | - ;; |
3179 | - hp9k78[0-9] | hp78[0-9]) |
3180 | - # FIXME: really hppa2.0-hp |
3181 | - basic_machine=hppa1.1-hp |
3182 | - ;; |
3183 | - hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) |
3184 | - # FIXME: really hppa2.0-hp |
3185 | - basic_machine=hppa1.1-hp |
3186 | - ;; |
3187 | - hp9k8[0-9][13679] | hp8[0-9][13679]) |
3188 | - basic_machine=hppa1.1-hp |
3189 | - ;; |
3190 | - hp9k8[0-9][0-9] | hp8[0-9][0-9]) |
3191 | - basic_machine=hppa1.0-hp |
3192 | - ;; |
3193 | - hppa-next) |
3194 | - os=-nextstep3 |
3195 | - ;; |
3196 | - hppaosf) |
3197 | - basic_machine=hppa1.1-hp |
3198 | - os=-osf |
3199 | - ;; |
3200 | - hppro) |
3201 | - basic_machine=hppa1.1-hp |
3202 | - os=-proelf |
3203 | - ;; |
3204 | - i370-ibm* | ibm*) |
3205 | - basic_machine=i370-ibm |
3206 | - ;; |
3207 | -# I'm not sure what "Sysv32" means. Should this be sysv3.2? |
3208 | - i*86v32) |
3209 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
3210 | - os=-sysv32 |
3211 | - ;; |
3212 | - i*86v4*) |
3213 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
3214 | - os=-sysv4 |
3215 | - ;; |
3216 | - i*86v) |
3217 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
3218 | - os=-sysv |
3219 | - ;; |
3220 | - i*86sol2) |
3221 | - basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` |
3222 | - os=-solaris2 |
3223 | - ;; |
3224 | - i386mach) |
3225 | - basic_machine=i386-mach |
3226 | - os=-mach |
3227 | - ;; |
3228 | - i386-vsta | vsta) |
3229 | - basic_machine=i386-unknown |
3230 | - os=-vsta |
3231 | - ;; |
3232 | - iris | iris4d) |
3233 | - basic_machine=mips-sgi |
3234 | - case $os in |
3235 | - -irix*) |
3236 | - ;; |
3237 | - *) |
3238 | - os=-irix4 |
3239 | - ;; |
3240 | - esac |
3241 | - ;; |
3242 | - isi68 | isi) |
3243 | - basic_machine=m68k-isi |
3244 | - os=-sysv |
3245 | - ;; |
3246 | - m68knommu) |
3247 | - basic_machine=m68k-unknown |
3248 | - os=-linux |
3249 | - ;; |
3250 | - m68knommu-*) |
3251 | - basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` |
3252 | - os=-linux |
3253 | - ;; |
3254 | - m88k-omron*) |
3255 | - basic_machine=m88k-omron |
3256 | - ;; |
3257 | - magnum | m3230) |
3258 | - basic_machine=mips-mips |
3259 | - os=-sysv |
3260 | - ;; |
3261 | - merlin) |
3262 | - basic_machine=ns32k-utek |
3263 | - os=-sysv |
3264 | - ;; |
3265 | - microblaze) |
3266 | - basic_machine=microblaze-xilinx |
3267 | - ;; |
3268 | - mingw32) |
3269 | - basic_machine=i386-pc |
3270 | - os=-mingw32 |
3271 | - ;; |
3272 | - mingw32ce) |
3273 | - basic_machine=arm-unknown |
3274 | - os=-mingw32ce |
3275 | - ;; |
3276 | - miniframe) |
3277 | - basic_machine=m68000-convergent |
3278 | - ;; |
3279 | - *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) |
3280 | - basic_machine=m68k-atari |
3281 | - os=-mint |
3282 | - ;; |
3283 | - mips3*-*) |
3284 | - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` |
3285 | - ;; |
3286 | - mips3*) |
3287 | - basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown |
3288 | - ;; |
3289 | - monitor) |
3290 | - basic_machine=m68k-rom68k |
3291 | - os=-coff |
3292 | - ;; |
3293 | - morphos) |
3294 | - basic_machine=powerpc-unknown |
3295 | - os=-morphos |
3296 | - ;; |
3297 | - msdos) |
3298 | - basic_machine=i386-pc |
3299 | - os=-msdos |
3300 | - ;; |
3301 | - ms1-*) |
3302 | - basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
3303 | - ;; |
3304 | - mvs) |
3305 | - basic_machine=i370-ibm |
3306 | - os=-mvs |
3307 | - ;; |
3308 | - ncr3000) |
3309 | - basic_machine=i486-ncr |
3310 | - os=-sysv4 |
3311 | - ;; |
3312 | - netbsd386) |
3313 | - basic_machine=i386-unknown |
3314 | - os=-netbsd |
3315 | - ;; |
3316 | - netwinder) |
3317 | - basic_machine=armv4l-rebel |
3318 | - os=-linux |
3319 | - ;; |
3320 | - news | news700 | news800 | news900) |
3321 | - basic_machine=m68k-sony |
3322 | - os=-newsos |
3323 | - ;; |
3324 | - news1000) |
3325 | - basic_machine=m68030-sony |
3326 | - os=-newsos |
3327 | - ;; |
3328 | - news-3600 | risc-news) |
3329 | - basic_machine=mips-sony |
3330 | - os=-newsos |
3331 | - ;; |
3332 | - necv70) |
3333 | - basic_machine=v70-nec |
3334 | - os=-sysv |
3335 | - ;; |
3336 | - next | m*-next ) |
3337 | - basic_machine=m68k-next |
3338 | - case $os in |
3339 | - -nextstep* ) |
3340 | - ;; |
3341 | - -ns2*) |
3342 | - os=-nextstep2 |
3343 | - ;; |
3344 | - *) |
3345 | - os=-nextstep3 |
3346 | - ;; |
3347 | - esac |
3348 | - ;; |
3349 | - nh3000) |
3350 | - basic_machine=m68k-harris |
3351 | - os=-cxux |
3352 | - ;; |
3353 | - nh[45]000) |
3354 | - basic_machine=m88k-harris |
3355 | - os=-cxux |
3356 | - ;; |
3357 | - nindy960) |
3358 | - basic_machine=i960-intel |
3359 | - os=-nindy |
3360 | - ;; |
3361 | - mon960) |
3362 | - basic_machine=i960-intel |
3363 | - os=-mon960 |
3364 | - ;; |
3365 | - nonstopux) |
3366 | - basic_machine=mips-compaq |
3367 | - os=-nonstopux |
3368 | - ;; |
3369 | - np1) |
3370 | - basic_machine=np1-gould |
3371 | - ;; |
3372 | - nsr-tandem) |
3373 | - basic_machine=nsr-tandem |
3374 | - ;; |
3375 | - op50n-* | op60c-*) |
3376 | - basic_machine=hppa1.1-oki |
3377 | - os=-proelf |
3378 | - ;; |
3379 | - openrisc | openrisc-*) |
3380 | - basic_machine=or32-unknown |
3381 | - ;; |
3382 | - os400) |
3383 | - basic_machine=powerpc-ibm |
3384 | - os=-os400 |
3385 | - ;; |
3386 | - OSE68000 | ose68000) |
3387 | - basic_machine=m68000-ericsson |
3388 | - os=-ose |
3389 | - ;; |
3390 | - os68k) |
3391 | - basic_machine=m68k-none |
3392 | - os=-os68k |
3393 | - ;; |
3394 | - pa-hitachi) |
3395 | - basic_machine=hppa1.1-hitachi |
3396 | - os=-hiuxwe2 |
3397 | - ;; |
3398 | - paragon) |
3399 | - basic_machine=i860-intel |
3400 | - os=-osf |
3401 | - ;; |
3402 | - parisc) |
3403 | - basic_machine=hppa-unknown |
3404 | - os=-linux |
3405 | - ;; |
3406 | - parisc-*) |
3407 | - basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` |
3408 | - os=-linux |
3409 | - ;; |
3410 | - pbd) |
3411 | - basic_machine=sparc-tti |
3412 | - ;; |
3413 | - pbb) |
3414 | - basic_machine=m68k-tti |
3415 | - ;; |
3416 | - pc532 | pc532-*) |
3417 | - basic_machine=ns32k-pc532 |
3418 | - ;; |
3419 | - pc98) |
3420 | - basic_machine=i386-pc |
3421 | - ;; |
3422 | - pc98-*) |
3423 | - basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` |
3424 | - ;; |
3425 | - pentium | p5 | k5 | k6 | nexgen | viac3) |
3426 | - basic_machine=i586-pc |
3427 | - ;; |
3428 | - pentiumpro | p6 | 6x86 | athlon | athlon_*) |
3429 | - basic_machine=i686-pc |
3430 | - ;; |
3431 | - pentiumii | pentium2 | pentiumiii | pentium3) |
3432 | - basic_machine=i686-pc |
3433 | - ;; |
3434 | - pentium4) |
3435 | - basic_machine=i786-pc |
3436 | - ;; |
3437 | - pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) |
3438 | - basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` |
3439 | - ;; |
3440 | - pentiumpro-* | p6-* | 6x86-* | athlon-*) |
3441 | - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
3442 | - ;; |
3443 | - pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) |
3444 | - basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` |
3445 | - ;; |
3446 | - pentium4-*) |
3447 | - basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` |
3448 | - ;; |
3449 | - pn) |
3450 | - basic_machine=pn-gould |
3451 | - ;; |
3452 | - power) basic_machine=power-ibm |
3453 | - ;; |
3454 | - ppc) basic_machine=powerpc-unknown |
3455 | - ;; |
3456 | - ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
3457 | - ;; |
3458 | - ppcle | powerpclittle | ppc-le | powerpc-little) |
3459 | - basic_machine=powerpcle-unknown |
3460 | - ;; |
3461 | - ppcle-* | powerpclittle-*) |
3462 | - basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` |
3463 | - ;; |
3464 | - ppc64) basic_machine=powerpc64-unknown |
3465 | - ;; |
3466 | - ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` |
3467 | - ;; |
3468 | - ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
3469 | - basic_machine=powerpc64le-unknown |
3470 | - ;; |
3471 | - ppc64le-* | powerpc64little-*) |
3472 | - basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` |
3473 | - ;; |
3474 | - ps2) |
3475 | - basic_machine=i386-ibm |
3476 | - ;; |
3477 | - pw32) |
3478 | - basic_machine=i586-unknown |
3479 | - os=-pw32 |
3480 | - ;; |
3481 | - rdos) |
3482 | - basic_machine=i386-pc |
3483 | - os=-rdos |
3484 | - ;; |
3485 | - rom68k) |
3486 | - basic_machine=m68k-rom68k |
3487 | - os=-coff |
3488 | - ;; |
3489 | - rm[46]00) |
3490 | - basic_machine=mips-siemens |
3491 | - ;; |
3492 | - rtpc | rtpc-*) |
3493 | - basic_machine=romp-ibm |
3494 | - ;; |
3495 | - s390 | s390-*) |
3496 | - basic_machine=s390-ibm |
3497 | - ;; |
3498 | - s390x | s390x-*) |
3499 | - basic_machine=s390x-ibm |
3500 | - ;; |
3501 | - sa29200) |
3502 | - basic_machine=a29k-amd |
3503 | - os=-udi |
3504 | - ;; |
3505 | - sb1) |
3506 | - basic_machine=mipsisa64sb1-unknown |
3507 | - ;; |
3508 | - sb1el) |
3509 | - basic_machine=mipsisa64sb1el-unknown |
3510 | - ;; |
3511 | - sde) |
3512 | - basic_machine=mipsisa32-sde |
3513 | - os=-elf |
3514 | - ;; |
3515 | - sei) |
3516 | - basic_machine=mips-sei |
3517 | - os=-seiux |
3518 | - ;; |
3519 | - sequent) |
3520 | - basic_machine=i386-sequent |
3521 | - ;; |
3522 | - sh) |
3523 | - basic_machine=sh-hitachi |
3524 | - os=-hms |
3525 | - ;; |
3526 | - sh5el) |
3527 | - basic_machine=sh5le-unknown |
3528 | - ;; |
3529 | - sh64) |
3530 | - basic_machine=sh64-unknown |
3531 | - ;; |
3532 | - sparclite-wrs | simso-wrs) |
3533 | - basic_machine=sparclite-wrs |
3534 | - os=-vxworks |
3535 | - ;; |
3536 | - sps7) |
3537 | - basic_machine=m68k-bull |
3538 | - os=-sysv2 |
3539 | - ;; |
3540 | - spur) |
3541 | - basic_machine=spur-unknown |
3542 | - ;; |
3543 | - st2000) |
3544 | - basic_machine=m68k-tandem |
3545 | - ;; |
3546 | - stratus) |
3547 | - basic_machine=i860-stratus |
3548 | - os=-sysv4 |
3549 | - ;; |
3550 | - sun2) |
3551 | - basic_machine=m68000-sun |
3552 | - ;; |
3553 | - sun2os3) |
3554 | - basic_machine=m68000-sun |
3555 | - os=-sunos3 |
3556 | - ;; |
3557 | - sun2os4) |
3558 | - basic_machine=m68000-sun |
3559 | - os=-sunos4 |
3560 | - ;; |
3561 | - sun3os3) |
3562 | - basic_machine=m68k-sun |
3563 | - os=-sunos3 |
3564 | - ;; |
3565 | - sun3os4) |
3566 | - basic_machine=m68k-sun |
3567 | - os=-sunos4 |
3568 | - ;; |
3569 | - sun4os3) |
3570 | - basic_machine=sparc-sun |
3571 | - os=-sunos3 |
3572 | - ;; |
3573 | - sun4os4) |
3574 | - basic_machine=sparc-sun |
3575 | - os=-sunos4 |
3576 | - ;; |
3577 | - sun4sol2) |
3578 | - basic_machine=sparc-sun |
3579 | - os=-solaris2 |
3580 | - ;; |
3581 | - sun3 | sun3-*) |
3582 | - basic_machine=m68k-sun |
3583 | - ;; |
3584 | - sun4) |
3585 | - basic_machine=sparc-sun |
3586 | - ;; |
3587 | - sun386 | sun386i | roadrunner) |
3588 | - basic_machine=i386-sun |
3589 | - ;; |
3590 | - sv1) |
3591 | - basic_machine=sv1-cray |
3592 | - os=-unicos |
3593 | - ;; |
3594 | - symmetry) |
3595 | - basic_machine=i386-sequent |
3596 | - os=-dynix |
3597 | - ;; |
3598 | - t3e) |
3599 | - basic_machine=alphaev5-cray |
3600 | - os=-unicos |
3601 | - ;; |
3602 | - t90) |
3603 | - basic_machine=t90-cray |
3604 | - os=-unicos |
3605 | - ;; |
3606 | - tic54x | c54x*) |
3607 | - basic_machine=tic54x-unknown |
3608 | - os=-coff |
3609 | - ;; |
3610 | - tic55x | c55x*) |
3611 | - basic_machine=tic55x-unknown |
3612 | - os=-coff |
3613 | - ;; |
3614 | - tic6x | c6x*) |
3615 | - basic_machine=tic6x-unknown |
3616 | - os=-coff |
3617 | - ;; |
3618 | - # This must be matched before tile*. |
3619 | - tilegx*) |
3620 | - basic_machine=tilegx-unknown |
3621 | - os=-linux-gnu |
3622 | - ;; |
3623 | - tile*) |
3624 | - basic_machine=tile-unknown |
3625 | - os=-linux-gnu |
3626 | - ;; |
3627 | - tx39) |
3628 | - basic_machine=mipstx39-unknown |
3629 | - ;; |
3630 | - tx39el) |
3631 | - basic_machine=mipstx39el-unknown |
3632 | - ;; |
3633 | - toad1) |
3634 | - basic_machine=pdp10-xkl |
3635 | - os=-tops20 |
3636 | - ;; |
3637 | - tower | tower-32) |
3638 | - basic_machine=m68k-ncr |
3639 | - ;; |
3640 | - tpf) |
3641 | - basic_machine=s390x-ibm |
3642 | - os=-tpf |
3643 | - ;; |
3644 | - udi29k) |
3645 | - basic_machine=a29k-amd |
3646 | - os=-udi |
3647 | - ;; |
3648 | - ultra3) |
3649 | - basic_machine=a29k-nyu |
3650 | - os=-sym1 |
3651 | - ;; |
3652 | - v810 | necv810) |
3653 | - basic_machine=v810-nec |
3654 | - os=-none |
3655 | - ;; |
3656 | - vaxv) |
3657 | - basic_machine=vax-dec |
3658 | - os=-sysv |
3659 | - ;; |
3660 | - vms) |
3661 | - basic_machine=vax-dec |
3662 | - os=-vms |
3663 | - ;; |
3664 | - vpp*|vx|vx-*) |
3665 | - basic_machine=f301-fujitsu |
3666 | - ;; |
3667 | - vxworks960) |
3668 | - basic_machine=i960-wrs |
3669 | - os=-vxworks |
3670 | - ;; |
3671 | - vxworks68) |
3672 | - basic_machine=m68k-wrs |
3673 | - os=-vxworks |
3674 | - ;; |
3675 | - vxworks29k) |
3676 | - basic_machine=a29k-wrs |
3677 | - os=-vxworks |
3678 | - ;; |
3679 | - w65*) |
3680 | - basic_machine=w65-wdc |
3681 | - os=-none |
3682 | - ;; |
3683 | - w89k-*) |
3684 | - basic_machine=hppa1.1-winbond |
3685 | - os=-proelf |
3686 | - ;; |
3687 | - xbox) |
3688 | - basic_machine=i686-pc |
3689 | - os=-mingw32 |
3690 | - ;; |
3691 | - xps | xps100) |
3692 | - basic_machine=xps100-honeywell |
3693 | - ;; |
3694 | - ymp) |
3695 | - basic_machine=ymp-cray |
3696 | - os=-unicos |
3697 | - ;; |
3698 | - z8k-*-coff) |
3699 | - basic_machine=z8k-unknown |
3700 | - os=-sim |
3701 | - ;; |
3702 | - z80-*-coff) |
3703 | - basic_machine=z80-unknown |
3704 | - os=-sim |
3705 | - ;; |
3706 | - none) |
3707 | - basic_machine=none-none |
3708 | - os=-none |
3709 | - ;; |
3710 | - |
3711 | -# Here we handle the default manufacturer of certain CPU types. It is in |
3712 | -# some cases the only manufacturer, in others, it is the most popular. |
3713 | - w89k) |
3714 | - basic_machine=hppa1.1-winbond |
3715 | - ;; |
3716 | - op50n) |
3717 | - basic_machine=hppa1.1-oki |
3718 | - ;; |
3719 | - op60c) |
3720 | - basic_machine=hppa1.1-oki |
3721 | - ;; |
3722 | - romp) |
3723 | - basic_machine=romp-ibm |
3724 | - ;; |
3725 | - mmix) |
3726 | - basic_machine=mmix-knuth |
3727 | - ;; |
3728 | - rs6000) |
3729 | - basic_machine=rs6000-ibm |
3730 | - ;; |
3731 | - vax) |
3732 | - basic_machine=vax-dec |
3733 | - ;; |
3734 | - pdp10) |
3735 | - # there are many clones, so DEC is not a safe bet |
3736 | - basic_machine=pdp10-unknown |
3737 | - ;; |
3738 | - pdp11) |
3739 | - basic_machine=pdp11-dec |
3740 | - ;; |
3741 | - we32k) |
3742 | - basic_machine=we32k-att |
3743 | - ;; |
3744 | - sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) |
3745 | - basic_machine=sh-unknown |
3746 | - ;; |
3747 | - sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) |
3748 | - basic_machine=sparc-sun |
3749 | - ;; |
3750 | - cydra) |
3751 | - basic_machine=cydra-cydrome |
3752 | - ;; |
3753 | - orion) |
3754 | - basic_machine=orion-highlevel |
3755 | - ;; |
3756 | - orion105) |
3757 | - basic_machine=clipper-highlevel |
3758 | - ;; |
3759 | - mac | mpw | mac-mpw) |
3760 | - basic_machine=m68k-apple |
3761 | - ;; |
3762 | - pmac | pmac-mpw) |
3763 | - basic_machine=powerpc-apple |
3764 | - ;; |
3765 | - *-unknown) |
3766 | - # Make sure to match an already-canonicalized machine name. |
3767 | - ;; |
3768 | - *) |
3769 | - echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 |
3770 | - exit 1 |
3771 | - ;; |
3772 | -esac |
3773 | - |
3774 | -# Here we canonicalize certain aliases for manufacturers. |
3775 | -case $basic_machine in |
3776 | - *-digital*) |
3777 | - basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` |
3778 | - ;; |
3779 | - *-commodore*) |
3780 | - basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` |
3781 | - ;; |
3782 | - *) |
3783 | - ;; |
3784 | -esac |
3785 | - |
3786 | -# Decode manufacturer-specific aliases for certain operating systems. |
3787 | - |
3788 | -if [ x"$os" != x"" ] |
3789 | -then |
3790 | -case $os in |
3791 | - # First match some system type aliases |
3792 | - # that might get confused with valid system types. |
3793 | - # -solaris* is a basic system type, with this one exception. |
3794 | - -auroraux) |
3795 | - os=-auroraux |
3796 | - ;; |
3797 | - -solaris1 | -solaris1.*) |
3798 | - os=`echo $os | sed -e 's|solaris1|sunos4|'` |
3799 | - ;; |
3800 | - -solaris) |
3801 | - os=-solaris2 |
3802 | - ;; |
3803 | - -svr4*) |
3804 | - os=-sysv4 |
3805 | - ;; |
3806 | - -unixware*) |
3807 | - os=-sysv4.2uw |
3808 | - ;; |
3809 | - -gnu/linux*) |
3810 | - os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` |
3811 | - ;; |
3812 | - # First accept the basic system types. |
3813 | - # The portable systems comes first. |
3814 | - # Each alternative MUST END IN A *, to match a version number. |
3815 | - # -sysv* is not here because it comes later, after sysvr4. |
3816 | - -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
3817 | - | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
3818 | - | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ |
3819 | - | -sym* | -kopensolaris* \ |
3820 | - | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
3821 | - | -aos* | -aros* \ |
3822 | - | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
3823 | - | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ |
3824 | - | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
3825 | - | -openbsd* | -solidbsd* \ |
3826 | - | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
3827 | - | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
3828 | - | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
3829 | - | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
3830 | - | -chorusos* | -chorusrdb* | -cegcc* \ |
3831 | - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
3832 | - | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ |
3833 | - | -uxpv* | -beos* | -mpeix* | -udk* \ |
3834 | - | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
3835 | - | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
3836 | - | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
3837 | - | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
3838 | - | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
3839 | - | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
3840 | - | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
3841 | - # Remember, each alternative MUST END IN *, to match a version number. |
3842 | - ;; |
3843 | - -qnx*) |
3844 | - case $basic_machine in |
3845 | - x86-* | i*86-*) |
3846 | - ;; |
3847 | - *) |
3848 | - os=-nto$os |
3849 | - ;; |
3850 | - esac |
3851 | - ;; |
3852 | - -nto-qnx*) |
3853 | - ;; |
3854 | - -nto*) |
3855 | - os=`echo $os | sed -e 's|nto|nto-qnx|'` |
3856 | - ;; |
3857 | - -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ |
3858 | - | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ |
3859 | - | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) |
3860 | - ;; |
3861 | - -mac*) |
3862 | - os=`echo $os | sed -e 's|mac|macos|'` |
3863 | - ;; |
3864 | - -linux-dietlibc) |
3865 | - os=-linux-dietlibc |
3866 | - ;; |
3867 | - -linux*) |
3868 | - os=`echo $os | sed -e 's|linux|linux-gnu|'` |
3869 | - ;; |
3870 | - -sunos5*) |
3871 | - os=`echo $os | sed -e 's|sunos5|solaris2|'` |
3872 | - ;; |
3873 | - -sunos6*) |
3874 | - os=`echo $os | sed -e 's|sunos6|solaris3|'` |
3875 | - ;; |
3876 | - -opened*) |
3877 | - os=-openedition |
3878 | - ;; |
3879 | - -os400*) |
3880 | - os=-os400 |
3881 | - ;; |
3882 | - -wince*) |
3883 | - os=-wince |
3884 | - ;; |
3885 | - -osfrose*) |
3886 | - os=-osfrose |
3887 | - ;; |
3888 | - -osf*) |
3889 | - os=-osf |
3890 | - ;; |
3891 | - -utek*) |
3892 | - os=-bsd |
3893 | - ;; |
3894 | - -dynix*) |
3895 | - os=-bsd |
3896 | - ;; |
3897 | - -acis*) |
3898 | - os=-aos |
3899 | - ;; |
3900 | - -atheos*) |
3901 | - os=-atheos |
3902 | - ;; |
3903 | - -syllable*) |
3904 | - os=-syllable |
3905 | - ;; |
3906 | - -386bsd) |
3907 | - os=-bsd |
3908 | - ;; |
3909 | - -ctix* | -uts*) |
3910 | - os=-sysv |
3911 | - ;; |
3912 | - -nova*) |
3913 | - os=-rtmk-nova |
3914 | - ;; |
3915 | - -ns2 ) |
3916 | - os=-nextstep2 |
3917 | - ;; |
3918 | - -nsk*) |
3919 | - os=-nsk |
3920 | - ;; |
3921 | - # Preserve the version number of sinix5. |
3922 | - -sinix5.*) |
3923 | - os=`echo $os | sed -e 's|sinix|sysv|'` |
3924 | - ;; |
3925 | - -sinix*) |
3926 | - os=-sysv4 |
3927 | - ;; |
3928 | - -tpf*) |
3929 | - os=-tpf |
3930 | - ;; |
3931 | - -triton*) |
3932 | - os=-sysv3 |
3933 | - ;; |
3934 | - -oss*) |
3935 | - os=-sysv3 |
3936 | - ;; |
3937 | - -svr4) |
3938 | - os=-sysv4 |
3939 | - ;; |
3940 | - -svr3) |
3941 | - os=-sysv3 |
3942 | - ;; |
3943 | - -sysvr4) |
3944 | - os=-sysv4 |
3945 | - ;; |
3946 | - # This must come after -sysvr4. |
3947 | - -sysv*) |
3948 | - ;; |
3949 | - -ose*) |
3950 | - os=-ose |
3951 | - ;; |
3952 | - -es1800*) |
3953 | - os=-ose |
3954 | - ;; |
3955 | - -xenix) |
3956 | - os=-xenix |
3957 | - ;; |
3958 | - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
3959 | - os=-mint |
3960 | - ;; |
3961 | - -aros*) |
3962 | - os=-aros |
3963 | - ;; |
3964 | - -kaos*) |
3965 | - os=-kaos |
3966 | - ;; |
3967 | - -zvmoe) |
3968 | - os=-zvmoe |
3969 | - ;; |
3970 | - -dicos*) |
3971 | - os=-dicos |
3972 | - ;; |
3973 | - -nacl*) |
3974 | - ;; |
3975 | - -none) |
3976 | - ;; |
3977 | - *) |
3978 | - # Get rid of the `-' at the beginning of $os. |
3979 | - os=`echo $os | sed 's/[^-]*-//'` |
3980 | - echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 |
3981 | - exit 1 |
3982 | - ;; |
3983 | -esac |
3984 | -else |
3985 | - |
3986 | -# Here we handle the default operating systems that come with various machines. |
3987 | -# The value should be what the vendor currently ships out the door with their |
3988 | -# machine or put another way, the most popular os provided with the machine. |
3989 | - |
3990 | -# Note that if you're going to try to match "-MANUFACTURER" here (say, |
3991 | -# "-sun"), then you have to tell the case statement up towards the top |
3992 | -# that MANUFACTURER isn't an operating system. Otherwise, code above |
3993 | -# will signal an error saying that MANUFACTURER isn't an operating |
3994 | -# system, and we'll never get to this point. |
3995 | - |
3996 | -case $basic_machine in |
3997 | - score-*) |
3998 | - os=-elf |
3999 | - ;; |
4000 | - spu-*) |
4001 | - os=-elf |
4002 | - ;; |
4003 | - *-acorn) |
4004 | - os=-riscix1.2 |
4005 | - ;; |
4006 | - arm*-rebel) |
4007 | - os=-linux |
4008 | - ;; |
4009 | - arm*-semi) |
4010 | - os=-aout |
4011 | - ;; |
4012 | - c4x-* | tic4x-*) |
4013 | - os=-coff |
4014 | - ;; |
4015 | - # This must come before the *-dec entry. |
4016 | - pdp10-*) |
4017 | - os=-tops20 |
4018 | - ;; |
4019 | - pdp11-*) |
4020 | - os=-none |
4021 | - ;; |
4022 | - *-dec | vax-*) |
4023 | - os=-ultrix4.2 |
4024 | - ;; |
4025 | - m68*-apollo) |
4026 | - os=-domain |
4027 | - ;; |
4028 | - i386-sun) |
4029 | - os=-sunos4.0.2 |
4030 | - ;; |
4031 | - m68000-sun) |
4032 | - os=-sunos3 |
4033 | - # This also exists in the configure program, but was not the |
4034 | - # default. |
4035 | - # os=-sunos4 |
4036 | - ;; |
4037 | - m68*-cisco) |
4038 | - os=-aout |
4039 | - ;; |
4040 | - mep-*) |
4041 | - os=-elf |
4042 | - ;; |
4043 | - mips*-cisco) |
4044 | - os=-elf |
4045 | - ;; |
4046 | - mips*-*) |
4047 | - os=-elf |
4048 | - ;; |
4049 | - or32-*) |
4050 | - os=-coff |
4051 | - ;; |
4052 | - *-tti) # must be before sparc entry or we get the wrong os. |
4053 | - os=-sysv3 |
4054 | - ;; |
4055 | - sparc-* | *-sun) |
4056 | - os=-sunos4.1.1 |
4057 | - ;; |
4058 | - *-be) |
4059 | - os=-beos |
4060 | - ;; |
4061 | - *-haiku) |
4062 | - os=-haiku |
4063 | - ;; |
4064 | - *-ibm) |
4065 | - os=-aix |
4066 | - ;; |
4067 | - *-knuth) |
4068 | - os=-mmixware |
4069 | - ;; |
4070 | - *-wec) |
4071 | - os=-proelf |
4072 | - ;; |
4073 | - *-winbond) |
4074 | - os=-proelf |
4075 | - ;; |
4076 | - *-oki) |
4077 | - os=-proelf |
4078 | - ;; |
4079 | - *-hp) |
4080 | - os=-hpux |
4081 | - ;; |
4082 | - *-hitachi) |
4083 | - os=-hiux |
4084 | - ;; |
4085 | - i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) |
4086 | - os=-sysv |
4087 | - ;; |
4088 | - *-cbm) |
4089 | - os=-amigaos |
4090 | - ;; |
4091 | - *-dg) |
4092 | - os=-dgux |
4093 | - ;; |
4094 | - *-dolphin) |
4095 | - os=-sysv3 |
4096 | - ;; |
4097 | - m68k-ccur) |
4098 | - os=-rtu |
4099 | - ;; |
4100 | - m88k-omron*) |
4101 | - os=-luna |
4102 | - ;; |
4103 | - *-next ) |
4104 | - os=-nextstep |
4105 | - ;; |
4106 | - *-sequent) |
4107 | - os=-ptx |
4108 | - ;; |
4109 | - *-crds) |
4110 | - os=-unos |
4111 | - ;; |
4112 | - *-ns) |
4113 | - os=-genix |
4114 | - ;; |
4115 | - i370-*) |
4116 | - os=-mvs |
4117 | - ;; |
4118 | - *-next) |
4119 | - os=-nextstep3 |
4120 | - ;; |
4121 | - *-gould) |
4122 | - os=-sysv |
4123 | - ;; |
4124 | - *-highlevel) |
4125 | - os=-bsd |
4126 | - ;; |
4127 | - *-encore) |
4128 | - os=-bsd |
4129 | - ;; |
4130 | - *-sgi) |
4131 | - os=-irix |
4132 | - ;; |
4133 | - *-siemens) |
4134 | - os=-sysv4 |
4135 | - ;; |
4136 | - *-masscomp) |
4137 | - os=-rtu |
4138 | - ;; |
4139 | - f30[01]-fujitsu | f700-fujitsu) |
4140 | - os=-uxpv |
4141 | - ;; |
4142 | - *-rom68k) |
4143 | - os=-coff |
4144 | - ;; |
4145 | - *-*bug) |
4146 | - os=-coff |
4147 | - ;; |
4148 | - *-apple) |
4149 | - os=-macos |
4150 | - ;; |
4151 | - *-atari*) |
4152 | - os=-mint |
4153 | - ;; |
4154 | - *) |
4155 | - os=-none |
4156 | - ;; |
4157 | -esac |
4158 | -fi |
4159 | - |
4160 | -# Here we handle the case where we know the os, and the CPU type, but not the |
4161 | -# manufacturer. We pick the logical manufacturer. |
4162 | -vendor=unknown |
4163 | -case $basic_machine in |
4164 | - *-unknown) |
4165 | - case $os in |
4166 | - -riscix*) |
4167 | - vendor=acorn |
4168 | - ;; |
4169 | - -sunos*) |
4170 | - vendor=sun |
4171 | - ;; |
4172 | - -cnk*|-aix*) |
4173 | - vendor=ibm |
4174 | - ;; |
4175 | - -beos*) |
4176 | - vendor=be |
4177 | - ;; |
4178 | - -hpux*) |
4179 | - vendor=hp |
4180 | - ;; |
4181 | - -mpeix*) |
4182 | - vendor=hp |
4183 | - ;; |
4184 | - -hiux*) |
4185 | - vendor=hitachi |
4186 | - ;; |
4187 | - -unos*) |
4188 | - vendor=crds |
4189 | - ;; |
4190 | - -dgux*) |
4191 | - vendor=dg |
4192 | - ;; |
4193 | - -luna*) |
4194 | - vendor=omron |
4195 | - ;; |
4196 | - -genix*) |
4197 | - vendor=ns |
4198 | - ;; |
4199 | - -mvs* | -opened*) |
4200 | - vendor=ibm |
4201 | - ;; |
4202 | - -os400*) |
4203 | - vendor=ibm |
4204 | - ;; |
4205 | - -ptx*) |
4206 | - vendor=sequent |
4207 | - ;; |
4208 | - -tpf*) |
4209 | - vendor=ibm |
4210 | - ;; |
4211 | - -vxsim* | -vxworks* | -windiss*) |
4212 | - vendor=wrs |
4213 | - ;; |
4214 | - -aux*) |
4215 | - vendor=apple |
4216 | - ;; |
4217 | - -hms*) |
4218 | - vendor=hitachi |
4219 | - ;; |
4220 | - -mpw* | -macos*) |
4221 | - vendor=apple |
4222 | - ;; |
4223 | - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) |
4224 | - vendor=atari |
4225 | - ;; |
4226 | - -vos*) |
4227 | - vendor=stratus |
4228 | - ;; |
4229 | - esac |
4230 | - basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` |
4231 | - ;; |
4232 | -esac |
4233 | - |
4234 | -echo $basic_machine$os |
4235 | -exit |
4236 | - |
4237 | -# Local variables: |
4238 | -# eval: (add-hook 'write-file-hooks 'time-stamp) |
4239 | -# time-stamp-start: "timestamp='" |
4240 | -# time-stamp-format: "%:y-%02m-%02d" |
4241 | -# time-stamp-end: "'" |
4242 | -# End: |
4243 | |
4244 | === removed file 'configure' |
4245 | --- configure 2010-11-05 17:23:05 +0000 |
4246 | +++ configure 1970-01-01 00:00:00 +0000 |
4247 | @@ -1,5635 +0,0 @@ |
4248 | -#! /bin/sh |
4249 | -# Guess values for system-dependent variables and create Makefiles. |
4250 | -# Generated by GNU Autoconf 2.65 for rng-tools 2-unofficial-mt.13. |
4251 | -# |
4252 | -# Report bugs to <rng-tools@packages.debian.org>. |
4253 | -# |
4254 | -# |
4255 | -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
4256 | -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
4257 | -# Inc. |
4258 | -# |
4259 | -# |
4260 | -# This configure script is free software; the Free Software Foundation |
4261 | -# gives unlimited permission to copy, distribute and modify it. |
4262 | -## -------------------- ## |
4263 | -## M4sh Initialization. ## |
4264 | -## -------------------- ## |
4265 | - |
4266 | -# Be more Bourne compatible |
4267 | -DUALCASE=1; export DUALCASE # for MKS sh |
4268 | -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
4269 | - emulate sh |
4270 | - NULLCMD=: |
4271 | - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
4272 | - # is contrary to our usage. Disable this feature. |
4273 | - alias -g '${1+"$@"}'='"$@"' |
4274 | - setopt NO_GLOB_SUBST |
4275 | -else |
4276 | - case `(set -o) 2>/dev/null` in #( |
4277 | - *posix*) : |
4278 | - set -o posix ;; #( |
4279 | - *) : |
4280 | - ;; |
4281 | -esac |
4282 | -fi |
4283 | - |
4284 | - |
4285 | -as_nl=' |
4286 | -' |
4287 | -export as_nl |
4288 | -# Printing a long string crashes Solaris 7 /usr/bin/printf. |
4289 | -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
4290 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
4291 | -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
4292 | -# Prefer a ksh shell builtin over an external printf program on Solaris, |
4293 | -# but without wasting forks for bash or zsh. |
4294 | -if test -z "$BASH_VERSION$ZSH_VERSION" \ |
4295 | - && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
4296 | - as_echo='print -r --' |
4297 | - as_echo_n='print -rn --' |
4298 | -elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
4299 | - as_echo='printf %s\n' |
4300 | - as_echo_n='printf %s' |
4301 | -else |
4302 | - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
4303 | - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
4304 | - as_echo_n='/usr/ucb/echo -n' |
4305 | - else |
4306 | - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
4307 | - as_echo_n_body='eval |
4308 | - arg=$1; |
4309 | - case $arg in #( |
4310 | - *"$as_nl"*) |
4311 | - expr "X$arg" : "X\\(.*\\)$as_nl"; |
4312 | - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
4313 | - esac; |
4314 | - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
4315 | - ' |
4316 | - export as_echo_n_body |
4317 | - as_echo_n='sh -c $as_echo_n_body as_echo' |
4318 | - fi |
4319 | - export as_echo_body |
4320 | - as_echo='sh -c $as_echo_body as_echo' |
4321 | -fi |
4322 | - |
4323 | -# The user is always right. |
4324 | -if test "${PATH_SEPARATOR+set}" != set; then |
4325 | - PATH_SEPARATOR=: |
4326 | - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
4327 | - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
4328 | - PATH_SEPARATOR=';' |
4329 | - } |
4330 | -fi |
4331 | - |
4332 | - |
4333 | -# IFS |
4334 | -# We need space, tab and new line, in precisely that order. Quoting is |
4335 | -# there to prevent editors from complaining about space-tab. |
4336 | -# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
4337 | -# splitting by setting IFS to empty value.) |
4338 | -IFS=" "" $as_nl" |
4339 | - |
4340 | -# Find who we are. Look in the path if we contain no directory separator. |
4341 | -case $0 in #(( |
4342 | - *[\\/]* ) as_myself=$0 ;; |
4343 | - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4344 | -for as_dir in $PATH |
4345 | -do |
4346 | - IFS=$as_save_IFS |
4347 | - test -z "$as_dir" && as_dir=. |
4348 | - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
4349 | - done |
4350 | -IFS=$as_save_IFS |
4351 | - |
4352 | - ;; |
4353 | -esac |
4354 | -# We did not find ourselves, most probably we were run as `sh COMMAND' |
4355 | -# in which case we are not to be found in the path. |
4356 | -if test "x$as_myself" = x; then |
4357 | - as_myself=$0 |
4358 | -fi |
4359 | -if test ! -f "$as_myself"; then |
4360 | - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
4361 | - exit 1 |
4362 | -fi |
4363 | - |
4364 | -# Unset variables that we do not need and which cause bugs (e.g. in |
4365 | -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
4366 | -# suppresses any "Segmentation fault" message there. '((' could |
4367 | -# trigger a bug in pdksh 5.2.14. |
4368 | -for as_var in BASH_ENV ENV MAIL MAILPATH |
4369 | -do eval test x\${$as_var+set} = xset \ |
4370 | - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
4371 | -done |
4372 | -PS1='$ ' |
4373 | -PS2='> ' |
4374 | -PS4='+ ' |
4375 | - |
4376 | -# NLS nuisances. |
4377 | -LC_ALL=C |
4378 | -export LC_ALL |
4379 | -LANGUAGE=C |
4380 | -export LANGUAGE |
4381 | - |
4382 | -# CDPATH. |
4383 | -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
4384 | - |
4385 | -if test "x$CONFIG_SHELL" = x; then |
4386 | - as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
4387 | - emulate sh |
4388 | - NULLCMD=: |
4389 | - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
4390 | - # is contrary to our usage. Disable this feature. |
4391 | - alias -g '\${1+\"\$@\"}'='\"\$@\"' |
4392 | - setopt NO_GLOB_SUBST |
4393 | -else |
4394 | - case \`(set -o) 2>/dev/null\` in #( |
4395 | - *posix*) : |
4396 | - set -o posix ;; #( |
4397 | - *) : |
4398 | - ;; |
4399 | -esac |
4400 | -fi |
4401 | -" |
4402 | - as_required="as_fn_return () { (exit \$1); } |
4403 | -as_fn_success () { as_fn_return 0; } |
4404 | -as_fn_failure () { as_fn_return 1; } |
4405 | -as_fn_ret_success () { return 0; } |
4406 | -as_fn_ret_failure () { return 1; } |
4407 | - |
4408 | -exitcode=0 |
4409 | -as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
4410 | -as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
4411 | -as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
4412 | -as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
4413 | -if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
4414 | - |
4415 | -else |
4416 | - exitcode=1; echo positional parameters were not saved. |
4417 | -fi |
4418 | -test x\$exitcode = x0 || exit 1" |
4419 | - as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
4420 | - as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
4421 | - eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
4422 | - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
4423 | -test \$(( 1 + 1 )) = 2 || exit 1" |
4424 | - if (eval "$as_required") 2>/dev/null; then : |
4425 | - as_have_required=yes |
4426 | -else |
4427 | - as_have_required=no |
4428 | -fi |
4429 | - if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
4430 | - |
4431 | -else |
4432 | - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4433 | -as_found=false |
4434 | -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
4435 | -do |
4436 | - IFS=$as_save_IFS |
4437 | - test -z "$as_dir" && as_dir=. |
4438 | - as_found=: |
4439 | - case $as_dir in #( |
4440 | - /*) |
4441 | - for as_base in sh bash ksh sh5; do |
4442 | - # Try only shells that exist, to save several forks. |
4443 | - as_shell=$as_dir/$as_base |
4444 | - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
4445 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
4446 | - CONFIG_SHELL=$as_shell as_have_required=yes |
4447 | - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
4448 | - break 2 |
4449 | -fi |
4450 | -fi |
4451 | - done;; |
4452 | - esac |
4453 | - as_found=false |
4454 | -done |
4455 | -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
4456 | - { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
4457 | - CONFIG_SHELL=$SHELL as_have_required=yes |
4458 | -fi; } |
4459 | -IFS=$as_save_IFS |
4460 | - |
4461 | - |
4462 | - if test "x$CONFIG_SHELL" != x; then : |
4463 | - # We cannot yet assume a decent shell, so we have to provide a |
4464 | - # neutralization value for shells without unset; and this also |
4465 | - # works around shells that cannot unset nonexistent variables. |
4466 | - BASH_ENV=/dev/null |
4467 | - ENV=/dev/null |
4468 | - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
4469 | - export CONFIG_SHELL |
4470 | - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
4471 | -fi |
4472 | - |
4473 | - if test x$as_have_required = xno; then : |
4474 | - $as_echo "$0: This script requires a shell more modern than all" |
4475 | - $as_echo "$0: the shells that I found on your system." |
4476 | - if test x${ZSH_VERSION+set} = xset ; then |
4477 | - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
4478 | - $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
4479 | - else |
4480 | - $as_echo "$0: Please tell bug-autoconf@gnu.org and |
4481 | -$0: rng-tools@packages.debian.org about your system, |
4482 | -$0: including any error possibly output before this |
4483 | -$0: message. Then install a modern shell, or manually run |
4484 | -$0: the script under such a shell if you do have one." |
4485 | - fi |
4486 | - exit 1 |
4487 | -fi |
4488 | -fi |
4489 | -fi |
4490 | -SHELL=${CONFIG_SHELL-/bin/sh} |
4491 | -export SHELL |
4492 | -# Unset more variables known to interfere with behavior of common tools. |
4493 | -CLICOLOR_FORCE= GREP_OPTIONS= |
4494 | -unset CLICOLOR_FORCE GREP_OPTIONS |
4495 | - |
4496 | -## --------------------- ## |
4497 | -## M4sh Shell Functions. ## |
4498 | -## --------------------- ## |
4499 | -# as_fn_unset VAR |
4500 | -# --------------- |
4501 | -# Portably unset VAR. |
4502 | -as_fn_unset () |
4503 | -{ |
4504 | - { eval $1=; unset $1;} |
4505 | -} |
4506 | -as_unset=as_fn_unset |
4507 | - |
4508 | -# as_fn_set_status STATUS |
4509 | -# ----------------------- |
4510 | -# Set $? to STATUS, without forking. |
4511 | -as_fn_set_status () |
4512 | -{ |
4513 | - return $1 |
4514 | -} # as_fn_set_status |
4515 | - |
4516 | -# as_fn_exit STATUS |
4517 | -# ----------------- |
4518 | -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
4519 | -as_fn_exit () |
4520 | -{ |
4521 | - set +e |
4522 | - as_fn_set_status $1 |
4523 | - exit $1 |
4524 | -} # as_fn_exit |
4525 | - |
4526 | -# as_fn_mkdir_p |
4527 | -# ------------- |
4528 | -# Create "$as_dir" as a directory, including parents if necessary. |
4529 | -as_fn_mkdir_p () |
4530 | -{ |
4531 | - |
4532 | - case $as_dir in #( |
4533 | - -*) as_dir=./$as_dir;; |
4534 | - esac |
4535 | - test -d "$as_dir" || eval $as_mkdir_p || { |
4536 | - as_dirs= |
4537 | - while :; do |
4538 | - case $as_dir in #( |
4539 | - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
4540 | - *) as_qdir=$as_dir;; |
4541 | - esac |
4542 | - as_dirs="'$as_qdir' $as_dirs" |
4543 | - as_dir=`$as_dirname -- "$as_dir" || |
4544 | -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
4545 | - X"$as_dir" : 'X\(//\)[^/]' \| \ |
4546 | - X"$as_dir" : 'X\(//\)$' \| \ |
4547 | - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
4548 | -$as_echo X"$as_dir" | |
4549 | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
4550 | - s//\1/ |
4551 | - q |
4552 | - } |
4553 | - /^X\(\/\/\)[^/].*/{ |
4554 | - s//\1/ |
4555 | - q |
4556 | - } |
4557 | - /^X\(\/\/\)$/{ |
4558 | - s//\1/ |
4559 | - q |
4560 | - } |
4561 | - /^X\(\/\).*/{ |
4562 | - s//\1/ |
4563 | - q |
4564 | - } |
4565 | - s/.*/./; q'` |
4566 | - test -d "$as_dir" && break |
4567 | - done |
4568 | - test -z "$as_dirs" || eval "mkdir $as_dirs" |
4569 | - } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" |
4570 | - |
4571 | - |
4572 | -} # as_fn_mkdir_p |
4573 | -# as_fn_append VAR VALUE |
4574 | -# ---------------------- |
4575 | -# Append the text in VALUE to the end of the definition contained in VAR. Take |
4576 | -# advantage of any shell optimizations that allow amortized linear growth over |
4577 | -# repeated appends, instead of the typical quadratic growth present in naive |
4578 | -# implementations. |
4579 | -if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
4580 | - eval 'as_fn_append () |
4581 | - { |
4582 | - eval $1+=\$2 |
4583 | - }' |
4584 | -else |
4585 | - as_fn_append () |
4586 | - { |
4587 | - eval $1=\$$1\$2 |
4588 | - } |
4589 | -fi # as_fn_append |
4590 | - |
4591 | -# as_fn_arith ARG... |
4592 | -# ------------------ |
4593 | -# Perform arithmetic evaluation on the ARGs, and store the result in the |
4594 | -# global $as_val. Take advantage of shells that can avoid forks. The arguments |
4595 | -# must be portable across $(()) and expr. |
4596 | -if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
4597 | - eval 'as_fn_arith () |
4598 | - { |
4599 | - as_val=$(( $* )) |
4600 | - }' |
4601 | -else |
4602 | - as_fn_arith () |
4603 | - { |
4604 | - as_val=`expr "$@" || test $? -eq 1` |
4605 | - } |
4606 | -fi # as_fn_arith |
4607 | - |
4608 | - |
4609 | -# as_fn_error ERROR [LINENO LOG_FD] |
4610 | -# --------------------------------- |
4611 | -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
4612 | -# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
4613 | -# script with status $?, using 1 if that was 0. |
4614 | -as_fn_error () |
4615 | -{ |
4616 | - as_status=$?; test $as_status -eq 0 && as_status=1 |
4617 | - if test "$3"; then |
4618 | - as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
4619 | - $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 |
4620 | - fi |
4621 | - $as_echo "$as_me: error: $1" >&2 |
4622 | - as_fn_exit $as_status |
4623 | -} # as_fn_error |
4624 | - |
4625 | -if expr a : '\(a\)' >/dev/null 2>&1 && |
4626 | - test "X`expr 00001 : '.*\(...\)'`" = X001; then |
4627 | - as_expr=expr |
4628 | -else |
4629 | - as_expr=false |
4630 | -fi |
4631 | - |
4632 | -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
4633 | - as_basename=basename |
4634 | -else |
4635 | - as_basename=false |
4636 | -fi |
4637 | - |
4638 | -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
4639 | - as_dirname=dirname |
4640 | -else |
4641 | - as_dirname=false |
4642 | -fi |
4643 | - |
4644 | -as_me=`$as_basename -- "$0" || |
4645 | -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
4646 | - X"$0" : 'X\(//\)$' \| \ |
4647 | - X"$0" : 'X\(/\)' \| . 2>/dev/null || |
4648 | -$as_echo X/"$0" | |
4649 | - sed '/^.*\/\([^/][^/]*\)\/*$/{ |
4650 | - s//\1/ |
4651 | - q |
4652 | - } |
4653 | - /^X\/\(\/\/\)$/{ |
4654 | - s//\1/ |
4655 | - q |
4656 | - } |
4657 | - /^X\/\(\/\).*/{ |
4658 | - s//\1/ |
4659 | - q |
4660 | - } |
4661 | - s/.*/./; q'` |
4662 | - |
4663 | -# Avoid depending upon Character Ranges. |
4664 | -as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
4665 | -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
4666 | -as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
4667 | -as_cr_digits='0123456789' |
4668 | -as_cr_alnum=$as_cr_Letters$as_cr_digits |
4669 | - |
4670 | - |
4671 | - as_lineno_1=$LINENO as_lineno_1a=$LINENO |
4672 | - as_lineno_2=$LINENO as_lineno_2a=$LINENO |
4673 | - eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
4674 | - test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
4675 | - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
4676 | - sed -n ' |
4677 | - p |
4678 | - /[$]LINENO/= |
4679 | - ' <$as_myself | |
4680 | - sed ' |
4681 | - s/[$]LINENO.*/&-/ |
4682 | - t lineno |
4683 | - b |
4684 | - :lineno |
4685 | - N |
4686 | - :loop |
4687 | - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
4688 | - t loop |
4689 | - s/-\n.*// |
4690 | - ' >$as_me.lineno && |
4691 | - chmod +x "$as_me.lineno" || |
4692 | - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
4693 | - |
4694 | - # Don't try to exec as it changes $[0], causing all sort of problems |
4695 | - # (the dirname of $[0] is not the place where we might find the |
4696 | - # original and so on. Autoconf is especially sensitive to this). |
4697 | - . "./$as_me.lineno" |
4698 | - # Exit status is that of the last command. |
4699 | - exit |
4700 | -} |
4701 | - |
4702 | -ECHO_C= ECHO_N= ECHO_T= |
4703 | -case `echo -n x` in #((((( |
4704 | --n*) |
4705 | - case `echo 'xy\c'` in |
4706 | - *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
4707 | - xy) ECHO_C='\c';; |
4708 | - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
4709 | - ECHO_T=' ';; |
4710 | - esac;; |
4711 | -*) |
4712 | - ECHO_N='-n';; |
4713 | -esac |
4714 | - |
4715 | -rm -f conf$$ conf$$.exe conf$$.file |
4716 | -if test -d conf$$.dir; then |
4717 | - rm -f conf$$.dir/conf$$.file |
4718 | -else |
4719 | - rm -f conf$$.dir |
4720 | - mkdir conf$$.dir 2>/dev/null |
4721 | -fi |
4722 | -if (echo >conf$$.file) 2>/dev/null; then |
4723 | - if ln -s conf$$.file conf$$ 2>/dev/null; then |
4724 | - as_ln_s='ln -s' |
4725 | - # ... but there are two gotchas: |
4726 | - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
4727 | - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
4728 | - # In both cases, we have to default to `cp -p'. |
4729 | - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
4730 | - as_ln_s='cp -p' |
4731 | - elif ln conf$$.file conf$$ 2>/dev/null; then |
4732 | - as_ln_s=ln |
4733 | - else |
4734 | - as_ln_s='cp -p' |
4735 | - fi |
4736 | -else |
4737 | - as_ln_s='cp -p' |
4738 | -fi |
4739 | -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
4740 | -rmdir conf$$.dir 2>/dev/null |
4741 | - |
4742 | -if mkdir -p . 2>/dev/null; then |
4743 | - as_mkdir_p='mkdir -p "$as_dir"' |
4744 | -else |
4745 | - test -d ./-p && rmdir ./-p |
4746 | - as_mkdir_p=false |
4747 | -fi |
4748 | - |
4749 | -if test -x / >/dev/null 2>&1; then |
4750 | - as_test_x='test -x' |
4751 | -else |
4752 | - if ls -dL / >/dev/null 2>&1; then |
4753 | - as_ls_L_option=L |
4754 | - else |
4755 | - as_ls_L_option= |
4756 | - fi |
4757 | - as_test_x=' |
4758 | - eval sh -c '\'' |
4759 | - if test -d "$1"; then |
4760 | - test -d "$1/."; |
4761 | - else |
4762 | - case $1 in #( |
4763 | - -*)set "./$1";; |
4764 | - esac; |
4765 | - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
4766 | - ???[sx]*):;;*)false;;esac;fi |
4767 | - '\'' sh |
4768 | - ' |
4769 | -fi |
4770 | -as_executable_p=$as_test_x |
4771 | - |
4772 | -# Sed expression to map a string onto a valid CPP name. |
4773 | -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
4774 | - |
4775 | -# Sed expression to map a string onto a valid variable name. |
4776 | -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
4777 | - |
4778 | - |
4779 | -test -n "$DJDIR" || exec 7<&0 </dev/null |
4780 | -exec 6>&1 |
4781 | - |
4782 | -# Name of the host. |
4783 | -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
4784 | -# so uname gets run too. |
4785 | -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
4786 | - |
4787 | -# |
4788 | -# Initializations. |
4789 | -# |
4790 | -ac_default_prefix=/usr/local |
4791 | -ac_clean_files= |
4792 | -ac_config_libobj_dir=. |
4793 | -LIBOBJS= |
4794 | -cross_compiling=no |
4795 | -subdirs= |
4796 | -MFLAGS= |
4797 | -MAKEFLAGS= |
4798 | - |
4799 | -# Identity of this package. |
4800 | -PACKAGE_NAME='rng-tools' |
4801 | -PACKAGE_TARNAME='rng-tools' |
4802 | -PACKAGE_VERSION='2-unofficial-mt.13' |
4803 | -PACKAGE_STRING='rng-tools 2-unofficial-mt.13' |
4804 | -PACKAGE_BUGREPORT='rng-tools@packages.debian.org' |
4805 | -PACKAGE_URL='' |
4806 | - |
4807 | -ac_unique_file="rngd.c" |
4808 | -ac_subst_vars='am__EXEEXT_FALSE |
4809 | -am__EXEEXT_TRUE |
4810 | -LTLIBOBJS |
4811 | -LIBOBJS |
4812 | -DEVHWRANDOM |
4813 | -DEVRANDOM |
4814 | -PIDFILE |
4815 | -LIB_PTHREAD |
4816 | -EGREP |
4817 | -GREP |
4818 | -CPP |
4819 | -RANLIB |
4820 | -am__fastdepCC_FALSE |
4821 | -am__fastdepCC_TRUE |
4822 | -CCDEPMODE |
4823 | -AMDEPBACKSLASH |
4824 | -AMDEP_FALSE |
4825 | -AMDEP_TRUE |
4826 | -am__quote |
4827 | -am__include |
4828 | -DEPDIR |
4829 | -OBJEXT |
4830 | -EXEEXT |
4831 | -ac_ct_CC |
4832 | -CPPFLAGS |
4833 | -LDFLAGS |
4834 | -CFLAGS |
4835 | -CC |
4836 | -MAINT |
4837 | -MAINTAINER_MODE_FALSE |
4838 | -MAINTAINER_MODE_TRUE |
4839 | -am__untar |
4840 | -am__tar |
4841 | -AMTAR |
4842 | -am__leading_dot |
4843 | -SET_MAKE |
4844 | -AWK |
4845 | -mkdir_p |
4846 | -MKDIR_P |
4847 | -INSTALL_STRIP_PROGRAM |
4848 | -STRIP |
4849 | -install_sh |
4850 | -MAKEINFO |
4851 | -AUTOHEADER |
4852 | -AUTOMAKE |
4853 | -AUTOCONF |
4854 | -ACLOCAL |
4855 | -VERSION |
4856 | -PACKAGE |
4857 | -CYGPATH_W |
4858 | -am__isrc |
4859 | -INSTALL_DATA |
4860 | -INSTALL_SCRIPT |
4861 | -INSTALL_PROGRAM |
4862 | -host_os |
4863 | -host_vendor |
4864 | -host_cpu |
4865 | -host |
4866 | -build_os |
4867 | -build_vendor |
4868 | -build_cpu |
4869 | -build |
4870 | -target_alias |
4871 | -host_alias |
4872 | -build_alias |
4873 | -LIBS |
4874 | -ECHO_T |
4875 | -ECHO_N |
4876 | -ECHO_C |
4877 | -DEFS |
4878 | -mandir |
4879 | -localedir |
4880 | -libdir |
4881 | -psdir |
4882 | -pdfdir |
4883 | -dvidir |
4884 | -htmldir |
4885 | -infodir |
4886 | -docdir |
4887 | -oldincludedir |
4888 | -includedir |
4889 | -localstatedir |
4890 | -sharedstatedir |
4891 | -sysconfdir |
4892 | -datadir |
4893 | -datarootdir |
4894 | -libexecdir |
4895 | -sbindir |
4896 | -bindir |
4897 | -program_transform_name |
4898 | -prefix |
4899 | -exec_prefix |
4900 | -PACKAGE_URL |
4901 | -PACKAGE_BUGREPORT |
4902 | -PACKAGE_STRING |
4903 | -PACKAGE_VERSION |
4904 | -PACKAGE_TARNAME |
4905 | -PACKAGE_NAME |
4906 | -PATH_SEPARATOR |
4907 | -SHELL' |
4908 | -ac_subst_files='' |
4909 | -ac_user_opts=' |
4910 | -enable_option_checking |
4911 | -enable_maintainer_mode |
4912 | -enable_dependency_tracking |
4913 | -enable_largefile |
4914 | -with_syslogfacility |
4915 | -with_pidfile |
4916 | -with_kernelrng |
4917 | -with_hwrng |
4918 | -enable_viapadlock |
4919 | -' |
4920 | - ac_precious_vars='build_alias |
4921 | -host_alias |
4922 | -target_alias |
4923 | -CC |
4924 | -CFLAGS |
4925 | -LDFLAGS |
4926 | -LIBS |
4927 | -CPPFLAGS |
4928 | -CPP' |
4929 | - |
4930 | - |
4931 | -# Initialize some variables set by options. |
4932 | -ac_init_help= |
4933 | -ac_init_version=false |
4934 | -ac_unrecognized_opts= |
4935 | -ac_unrecognized_sep= |
4936 | -# The variables have the same names as the options, with |
4937 | -# dashes changed to underlines. |
4938 | -cache_file=/dev/null |
4939 | -exec_prefix=NONE |
4940 | -no_create= |
4941 | -no_recursion= |
4942 | -prefix=NONE |
4943 | -program_prefix=NONE |
4944 | -program_suffix=NONE |
4945 | -program_transform_name=s,x,x, |
4946 | -silent= |
4947 | -site= |
4948 | -srcdir= |
4949 | -verbose= |
4950 | -x_includes=NONE |
4951 | -x_libraries=NONE |
4952 | - |
4953 | -# Installation directory options. |
4954 | -# These are left unexpanded so users can "make install exec_prefix=/foo" |
4955 | -# and all the variables that are supposed to be based on exec_prefix |
4956 | -# by default will actually change. |
4957 | -# Use braces instead of parens because sh, perl, etc. also accept them. |
4958 | -# (The list follows the same order as the GNU Coding Standards.) |
4959 | -bindir='${exec_prefix}/bin' |
4960 | -sbindir='${exec_prefix}/sbin' |
4961 | -libexecdir='${exec_prefix}/libexec' |
4962 | -datarootdir='${prefix}/share' |
4963 | -datadir='${datarootdir}' |
4964 | -sysconfdir='${prefix}/etc' |
4965 | -sharedstatedir='${prefix}/com' |
4966 | -localstatedir='${prefix}/var' |
4967 | -includedir='${prefix}/include' |
4968 | -oldincludedir='/usr/include' |
4969 | -docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
4970 | -infodir='${datarootdir}/info' |
4971 | -htmldir='${docdir}' |
4972 | -dvidir='${docdir}' |
4973 | -pdfdir='${docdir}' |
4974 | -psdir='${docdir}' |
4975 | -libdir='${exec_prefix}/lib' |
4976 | -localedir='${datarootdir}/locale' |
4977 | -mandir='${datarootdir}/man' |
4978 | - |
4979 | -ac_prev= |
4980 | -ac_dashdash= |
4981 | -for ac_option |
4982 | -do |
4983 | - # If the previous option needs an argument, assign it. |
4984 | - if test -n "$ac_prev"; then |
4985 | - eval $ac_prev=\$ac_option |
4986 | - ac_prev= |
4987 | - continue |
4988 | - fi |
4989 | - |
4990 | - case $ac_option in |
4991 | - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
4992 | - *) ac_optarg=yes ;; |
4993 | - esac |
4994 | - |
4995 | - # Accept the important Cygnus configure options, so we can diagnose typos. |
4996 | - |
4997 | - case $ac_dashdash$ac_option in |
4998 | - --) |
4999 | - ac_dashdash=yes ;; |
5000 | - |
The diff has been truncated for viewing.
Thanks very much! Looks fine. I've uploaded this now. :)