Parent Directory
|
Revision Log
Auto Commited Import of: pcsx2-0.9.7-DEBUG (upstream: v0.9.7.4013 local: v0.9.7.197-latest) in ./trunk
1 | william | 273 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | ||
3 | # Generated by GNU Autoconf 2.65. | ||
4 | # | ||
5 | # | ||
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | ||
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
8 | # Inc. | ||
9 | # | ||
10 | # | ||
11 | # This configure script is free software; the Free Software Foundation | ||
12 | # gives unlimited permission to copy, distribute and modify it. | ||
13 | ## -------------------- ## | ||
14 | ## M4sh Initialization. ## | ||
15 | ## -------------------- ## | ||
16 | |||
17 | # Be more Bourne compatible | ||
18 | DUALCASE=1; export DUALCASE # for MKS sh | ||
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | ||
20 | emulate sh | ||
21 | NULLCMD=: | ||
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
23 | # is contrary to our usage. Disable this feature. | ||
24 | alias -g '${1+"$@"}'='"$@"' | ||
25 | setopt NO_GLOB_SUBST | ||
26 | else | ||
27 | case `(set -o) 2>/dev/null` in #( | ||
28 | *posix*) : | ||
29 | set -o posix ;; #( | ||
30 | *) : | ||
31 | ;; | ||
32 | esac | ||
33 | fi | ||
34 | |||
35 | |||
36 | as_nl=' | ||
37 | ' | ||
38 | export as_nl | ||
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | ||
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | ||
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | ||
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | ||
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | ||
44 | # but without wasting forks for bash or zsh. | ||
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
47 | as_echo='print -r --' | ||
48 | as_echo_n='print -rn --' | ||
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
50 | as_echo='printf %s\n' | ||
51 | as_echo_n='printf %s' | ||
52 | else | ||
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | ||
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | ||
55 | as_echo_n='/usr/ucb/echo -n' | ||
56 | else | ||
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | ||
58 | as_echo_n_body='eval | ||
59 | arg=$1; | ||
60 | case $arg in #( | ||
61 | *"$as_nl"*) | ||
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | ||
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | ||
64 | esac; | ||
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | ||
66 | ' | ||
67 | export as_echo_n_body | ||
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | ||
69 | fi | ||
70 | export as_echo_body | ||
71 | as_echo='sh -c $as_echo_body as_echo' | ||
72 | fi | ||
73 | |||
74 | # The user is always right. | ||
75 | if test "${PATH_SEPARATOR+set}" != set; then | ||
76 | PATH_SEPARATOR=: | ||
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | ||
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | ||
79 | PATH_SEPARATOR=';' | ||
80 | } | ||
81 | fi | ||
82 | |||
83 | |||
84 | # IFS | ||
85 | # We need space, tab and new line, in precisely that order. Quoting is | ||
86 | # there to prevent editors from complaining about space-tab. | ||
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | ||
88 | # splitting by setting IFS to empty value.) | ||
89 | IFS=" "" $as_nl" | ||
90 | |||
91 | # Find who we are. Look in the path if we contain no directory separator. | ||
92 | case $0 in #(( | ||
93 | *[\\/]* ) as_myself=$0 ;; | ||
94 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
95 | for as_dir in $PATH | ||
96 | do | ||
97 | IFS=$as_save_IFS | ||
98 | test -z "$as_dir" && as_dir=. | ||
99 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | ||
100 | done | ||
101 | IFS=$as_save_IFS | ||
102 | |||
103 | ;; | ||
104 | esac | ||
105 | # We did not find ourselves, most probably we were run as `sh COMMAND' | ||
106 | # in which case we are not to be found in the path. | ||
107 | if test "x$as_myself" = x; then | ||
108 | as_myself=$0 | ||
109 | fi | ||
110 | if test ! -f "$as_myself"; then | ||
111 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | ||
112 | exit 1 | ||
113 | fi | ||
114 | |||
115 | # Unset variables that we do not need and which cause bugs (e.g. in | ||
116 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | ||
117 | # suppresses any "Segmentation fault" message there. '((' could | ||
118 | # trigger a bug in pdksh 5.2.14. | ||
119 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
120 | do eval test x\${$as_var+set} = xset \ | ||
121 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
122 | done | ||
123 | PS1='$ ' | ||
124 | PS2='> ' | ||
125 | PS4='+ ' | ||
126 | |||
127 | # NLS nuisances. | ||
128 | LC_ALL=C | ||
129 | export LC_ALL | ||
130 | LANGUAGE=C | ||
131 | export LANGUAGE | ||
132 | |||
133 | # CDPATH. | ||
134 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
135 | |||
136 | if test "x$CONFIG_SHELL" = x; then | ||
137 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | ||
138 | emulate sh | ||
139 | NULLCMD=: | ||
140 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
141 | # is contrary to our usage. Disable this feature. | ||
142 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
143 | setopt NO_GLOB_SUBST | ||
144 | else | ||
145 | case \`(set -o) 2>/dev/null\` in #( | ||
146 | *posix*) : | ||
147 | set -o posix ;; #( | ||
148 | *) : | ||
149 | ;; | ||
150 | esac | ||
151 | fi | ||
152 | " | ||
153 | as_required="as_fn_return () { (exit \$1); } | ||
154 | as_fn_success () { as_fn_return 0; } | ||
155 | as_fn_failure () { as_fn_return 1; } | ||
156 | as_fn_ret_success () { return 0; } | ||
157 | as_fn_ret_failure () { return 1; } | ||
158 | |||
159 | exitcode=0 | ||
160 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | ||
161 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | ||
162 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
163 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
164 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
165 | |||
166 | else | ||
167 | exitcode=1; echo positional parameters were not saved. | ||
168 | fi | ||
169 | test x\$exitcode = x0 || exit 1" | ||
170 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
171 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
172 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
173 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
174 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
175 | if (eval "$as_required") 2>/dev/null; then : | ||
176 | as_have_required=yes | ||
177 | else | ||
178 | as_have_required=no | ||
179 | fi | ||
180 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | ||
181 | |||
182 | else | ||
183 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
184 | as_found=false | ||
185 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | ||
186 | do | ||
187 | IFS=$as_save_IFS | ||
188 | test -z "$as_dir" && as_dir=. | ||
189 | as_found=: | ||
190 | case $as_dir in #( | ||
191 | /*) | ||
192 | for as_base in sh bash ksh sh5; do | ||
193 | # Try only shells that exist, to save several forks. | ||
194 | as_shell=$as_dir/$as_base | ||
195 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
196 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
197 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
198 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
199 | break 2 | ||
200 | fi | ||
201 | fi | ||
202 | done;; | ||
203 | esac | ||
204 | as_found=false | ||
205 | done | ||
206 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
207 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
208 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
209 | fi; } | ||
210 | IFS=$as_save_IFS | ||
211 | |||
212 | |||
213 | if test "x$CONFIG_SHELL" != x; then : | ||
214 | # We cannot yet assume a decent shell, so we have to provide a | ||
215 | # neutralization value for shells without unset; and this also | ||
216 | # works around shells that cannot unset nonexistent variables. | ||
217 | BASH_ENV=/dev/null | ||
218 | ENV=/dev/null | ||
219 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ||
220 | export CONFIG_SHELL | ||
221 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | ||
222 | fi | ||
223 | |||
224 | if test x$as_have_required = xno; then : | ||
225 | $as_echo "$0: This script requires a shell more modern than all" | ||
226 | $as_echo "$0: the shells that I found on your system." | ||
227 | if test x${ZSH_VERSION+set} = xset ; then | ||
228 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | ||
229 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | ||
230 | else | ||
231 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | ||
232 | $0: including any error possibly output before this | ||
233 | $0: message. Then install a modern shell, or manually run | ||
234 | $0: the script under such a shell if you do have one." | ||
235 | fi | ||
236 | exit 1 | ||
237 | fi | ||
238 | fi | ||
239 | fi | ||
240 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
241 | export SHELL | ||
242 | # Unset more variables known to interfere with behavior of common tools. | ||
243 | CLICOLOR_FORCE= GREP_OPTIONS= | ||
244 | unset CLICOLOR_FORCE GREP_OPTIONS | ||
245 | |||
246 | ## --------------------- ## | ||
247 | ## M4sh Shell Functions. ## | ||
248 | ## --------------------- ## | ||
249 | # as_fn_unset VAR | ||
250 | # --------------- | ||
251 | # Portably unset VAR. | ||
252 | as_fn_unset () | ||
253 | { | ||
254 | { eval $1=; unset $1;} | ||
255 | } | ||
256 | as_unset=as_fn_unset | ||
257 | |||
258 | # as_fn_set_status STATUS | ||
259 | # ----------------------- | ||
260 | # Set $? to STATUS, without forking. | ||
261 | as_fn_set_status () | ||
262 | { | ||
263 | return $1 | ||
264 | } # as_fn_set_status | ||
265 | |||
266 | # as_fn_exit STATUS | ||
267 | # ----------------- | ||
268 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | ||
269 | as_fn_exit () | ||
270 | { | ||
271 | set +e | ||
272 | as_fn_set_status $1 | ||
273 | exit $1 | ||
274 | } # as_fn_exit | ||
275 | |||
276 | # as_fn_mkdir_p | ||
277 | # ------------- | ||
278 | # Create "$as_dir" as a directory, including parents if necessary. | ||
279 | as_fn_mkdir_p () | ||
280 | { | ||
281 | |||
282 | case $as_dir in #( | ||
283 | -*) as_dir=./$as_dir;; | ||
284 | esac | ||
285 | test -d "$as_dir" || eval $as_mkdir_p || { | ||
286 | as_dirs= | ||
287 | while :; do | ||
288 | case $as_dir in #( | ||
289 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | ||
290 | *) as_qdir=$as_dir;; | ||
291 | esac | ||
292 | as_dirs="'$as_qdir' $as_dirs" | ||
293 | as_dir=`$as_dirname -- "$as_dir" || | ||
294 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
295 | X"$as_dir" : 'X\(//\)[^/]' \| \ | ||
296 | X"$as_dir" : 'X\(//\)$' \| \ | ||
297 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | ||
298 | $as_echo X"$as_dir" | | ||
299 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
300 | s//\1/ | ||
301 | q | ||
302 | } | ||
303 | /^X\(\/\/\)[^/].*/{ | ||
304 | s//\1/ | ||
305 | q | ||
306 | } | ||
307 | /^X\(\/\/\)$/{ | ||
308 | s//\1/ | ||
309 | q | ||
310 | } | ||
311 | /^X\(\/\).*/{ | ||
312 | s//\1/ | ||
313 | q | ||
314 | } | ||
315 | s/.*/./; q'` | ||
316 | test -d "$as_dir" && break | ||
317 | done | ||
318 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
319 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
320 | |||
321 | |||
322 | } # as_fn_mkdir_p | ||
323 | # as_fn_append VAR VALUE | ||
324 | # ---------------------- | ||
325 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
326 | # advantage of any shell optimizations that allow amortized linear growth over | ||
327 | # repeated appends, instead of the typical quadratic growth present in naive | ||
328 | # implementations. | ||
329 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
330 | eval 'as_fn_append () | ||
331 | { | ||
332 | eval $1+=\$2 | ||
333 | }' | ||
334 | else | ||
335 | as_fn_append () | ||
336 | { | ||
337 | eval $1=\$$1\$2 | ||
338 | } | ||
339 | fi # as_fn_append | ||
340 | |||
341 | # as_fn_arith ARG... | ||
342 | # ------------------ | ||
343 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
344 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
345 | # must be portable across $(()) and expr. | ||
346 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
347 | eval 'as_fn_arith () | ||
348 | { | ||
349 | as_val=$(( $* )) | ||
350 | }' | ||
351 | else | ||
352 | as_fn_arith () | ||
353 | { | ||
354 | as_val=`expr "$@" || test $? -eq 1` | ||
355 | } | ||
356 | fi # as_fn_arith | ||
357 | |||
358 | |||
359 | # as_fn_error ERROR [LINENO LOG_FD] | ||
360 | # --------------------------------- | ||
361 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
362 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
363 | # script with status $?, using 1 if that was 0. | ||
364 | as_fn_error () | ||
365 | { | ||
366 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
367 | if test "$3"; then | ||
368 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
369 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
370 | fi | ||
371 | $as_echo "$as_me: error: $1" >&2 | ||
372 | as_fn_exit $as_status | ||
373 | } # as_fn_error | ||
374 | |||
375 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
376 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
377 | as_expr=expr | ||
378 | else | ||
379 | as_expr=false | ||
380 | fi | ||
381 | |||
382 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
383 | as_basename=basename | ||
384 | else | ||
385 | as_basename=false | ||
386 | fi | ||
387 | |||
388 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
389 | as_dirname=dirname | ||
390 | else | ||
391 | as_dirname=false | ||
392 | fi | ||
393 | |||
394 | as_me=`$as_basename -- "$0" || | ||
395 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
396 | X"$0" : 'X\(//\)$' \| \ | ||
397 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
398 | $as_echo X/"$0" | | ||
399 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
400 | s//\1/ | ||
401 | q | ||
402 | } | ||
403 | /^X\/\(\/\/\)$/{ | ||
404 | s//\1/ | ||
405 | q | ||
406 | } | ||
407 | /^X\/\(\/\).*/{ | ||
408 | s//\1/ | ||
409 | q | ||
410 | } | ||
411 | s/.*/./; q'` | ||
412 | |||
413 | # Avoid depending upon Character Ranges. | ||
414 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
415 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
416 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
417 | as_cr_digits='0123456789' | ||
418 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
419 | |||
420 | |||
421 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | ||
422 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | ||
423 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | ||
424 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | ||
425 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | ||
426 | sed -n ' | ||
427 | p | ||
428 | /[$]LINENO/= | ||
429 | ' <$as_myself | | ||
430 | sed ' | ||
431 | s/[$]LINENO.*/&-/ | ||
432 | t lineno | ||
433 | b | ||
434 | :lineno | ||
435 | N | ||
436 | :loop | ||
437 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | ||
438 | t loop | ||
439 | s/-\n.*// | ||
440 | ' >$as_me.lineno && | ||
441 | chmod +x "$as_me.lineno" || | ||
442 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | ||
443 | |||
444 | # Don't try to exec as it changes $[0], causing all sort of problems | ||
445 | # (the dirname of $[0] is not the place where we might find the | ||
446 | # original and so on. Autoconf is especially sensitive to this). | ||
447 | . "./$as_me.lineno" | ||
448 | # Exit status is that of the last command. | ||
449 | exit | ||
450 | } | ||
451 | |||
452 | ECHO_C= ECHO_N= ECHO_T= | ||
453 | case `echo -n x` in #((((( | ||
454 | -n*) | ||
455 | case `echo 'xy\c'` in | ||
456 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | ||
457 | xy) ECHO_C='\c';; | ||
458 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
459 | ECHO_T=' ';; | ||
460 | esac;; | ||
461 | *) | ||
462 | ECHO_N='-n';; | ||
463 | esac | ||
464 | |||
465 | rm -f conf$$ conf$$.exe conf$$.file | ||
466 | if test -d conf$$.dir; then | ||
467 | rm -f conf$$.dir/conf$$.file | ||
468 | else | ||
469 | rm -f conf$$.dir | ||
470 | mkdir conf$$.dir 2>/dev/null | ||
471 | fi | ||
472 | if (echo >conf$$.file) 2>/dev/null; then | ||
473 | if ln -s conf$$.file conf$$ 2>/dev/null; then | ||
474 | as_ln_s='ln -s' | ||
475 | # ... but there are two gotchas: | ||
476 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | ||
477 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | ||
478 | # In both cases, we have to default to `cp -p'. | ||
479 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | ||
480 | as_ln_s='cp -p' | ||
481 | elif ln conf$$.file conf$$ 2>/dev/null; then | ||
482 | as_ln_s=ln | ||
483 | else | ||
484 | as_ln_s='cp -p' | ||
485 | fi | ||
486 | else | ||
487 | as_ln_s='cp -p' | ||
488 | fi | ||
489 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | ||
490 | rmdir conf$$.dir 2>/dev/null | ||
491 | |||
492 | if mkdir -p . 2>/dev/null; then | ||
493 | as_mkdir_p='mkdir -p "$as_dir"' | ||
494 | else | ||
495 | test -d ./-p && rmdir ./-p | ||
496 | as_mkdir_p=false | ||
497 | fi | ||
498 | |||
499 | if test -x / >/dev/null 2>&1; then | ||
500 | as_test_x='test -x' | ||
501 | else | ||
502 | if ls -dL / >/dev/null 2>&1; then | ||
503 | as_ls_L_option=L | ||
504 | else | ||
505 | as_ls_L_option= | ||
506 | fi | ||
507 | as_test_x=' | ||
508 | eval sh -c '\'' | ||
509 | if test -d "$1"; then | ||
510 | test -d "$1/."; | ||
511 | else | ||
512 | case $1 in #( | ||
513 | -*)set "./$1";; | ||
514 | esac; | ||
515 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | ||
516 | ???[sx]*):;;*)false;;esac;fi | ||
517 | '\'' sh | ||
518 | ' | ||
519 | fi | ||
520 | as_executable_p=$as_test_x | ||
521 | |||
522 | # Sed expression to map a string onto a valid CPP name. | ||
523 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | ||
524 | |||
525 | # Sed expression to map a string onto a valid variable name. | ||
526 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | ||
527 | |||
528 | |||
529 | |||
530 | # Check that we are running under the correct shell. | ||
531 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
532 | |||
533 | case X$ECHO in | ||
534 | X*--fallback-echo) | ||
535 | # Remove one level of quotation (which was required for Make). | ||
536 | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | ||
537 | ;; | ||
538 | esac | ||
539 | |||
540 | echo=${ECHO-echo} | ||
541 | if test "X$1" = X--no-reexec; then | ||
542 | # Discard the --no-reexec flag, and continue. | ||
543 | shift | ||
544 | elif test "X$1" = X--fallback-echo; then | ||
545 | # Avoid inline document here, it may be left over | ||
546 | : | ||
547 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then | ||
548 | # Yippee, $echo works! | ||
549 | : | ||
550 | else | ||
551 | # Restart under the correct shell. | ||
552 | exec $SHELL "$0" --no-reexec ${1+"$@"} | ||
553 | fi | ||
554 | |||
555 | if test "X$1" = X--fallback-echo; then | ||
556 | # used as fallback echo | ||
557 | shift | ||
558 | cat <<EOF | ||
559 | $* | ||
560 | EOF | ||
561 | exit 0 | ||
562 | fi | ||
563 | |||
564 | # The HP-UX ksh and POSIX shell print the target directory to stdout | ||
565 | # if CDPATH is set. | ||
566 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | ||
567 | |||
568 | if test -z "$ECHO"; then | ||
569 | if test "X${echo_test_string+set}" != Xset; then | ||
570 | # find a string as large as possible, as long as the shell can cope with it | ||
571 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | ||
572 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | ||
573 | if (echo_test_string=`eval $cmd`) 2>/dev/null && | ||
574 | echo_test_string=`eval $cmd` && | ||
575 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | ||
576 | then | ||
577 | break | ||
578 | fi | ||
579 | done | ||
580 | fi | ||
581 | |||
582 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | ||
583 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | ||
584 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
585 | : | ||
586 | else | ||
587 | # The Solaris, AIX, and Digital Unix default echo programs unquote | ||
588 | # backslashes. This makes it impossible to quote backslashes using | ||
589 | # echo "$something" | sed 's/\\/\\\\/g' | ||
590 | # | ||
591 | # So, first we look for a working echo in the user's PATH. | ||
592 | |||
593 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | ||
594 | for dir in $PATH /usr/ucb; do | ||
595 | IFS="$lt_save_ifs" | ||
596 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | ||
597 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | ||
598 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | ||
599 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
600 | echo="$dir/echo" | ||
601 | break | ||
602 | fi | ||
603 | done | ||
604 | IFS="$lt_save_ifs" | ||
605 | |||
606 | if test "X$echo" = Xecho; then | ||
607 | # We didn't find a better echo, so look for alternatives. | ||
608 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | ||
609 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | ||
610 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
611 | # This shell has a builtin print -r that does the trick. | ||
612 | echo='print -r' | ||
613 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | ||
614 | test "X$CONFIG_SHELL" != X/bin/ksh; then | ||
615 | # If we have ksh, try running configure again with it. | ||
616 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | ||
617 | export ORIGINAL_CONFIG_SHELL | ||
618 | CONFIG_SHELL=/bin/ksh | ||
619 | export CONFIG_SHELL | ||
620 | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | ||
621 | else | ||
622 | # Try using printf. | ||
623 | echo='printf %s\n' | ||
624 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | ||
625 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | ||
626 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
627 | # Cool, printf works | ||
628 | : | ||
629 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | ||
630 | test "X$echo_testing_string" = 'X\t' && | ||
631 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
632 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
633 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | ||
634 | export CONFIG_SHELL | ||
635 | SHELL="$CONFIG_SHELL" | ||
636 | export SHELL | ||
637 | echo="$CONFIG_SHELL $0 --fallback-echo" | ||
638 | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | ||
639 | test "X$echo_testing_string" = 'X\t' && | ||
640 | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | ||
641 | test "X$echo_testing_string" = "X$echo_test_string"; then | ||
642 | echo="$CONFIG_SHELL $0 --fallback-echo" | ||
643 | else | ||
644 | # maybe with a smaller string... | ||
645 | prev=: | ||
646 | |||
647 | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | ||
648 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | ||
649 | then | ||
650 | break | ||
651 | fi | ||
652 | prev="$cmd" | ||
653 | done | ||
654 | |||
655 | if test "$prev" != 'sed 50q "$0"'; then | ||
656 | echo_test_string=`eval $prev` | ||
657 | export echo_test_string | ||
658 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | ||
659 | else | ||
660 | # Oops. We lost completely, so just stick with echo. | ||
661 | echo=echo | ||
662 | fi | ||
663 | fi | ||
664 | fi | ||
665 | fi | ||
666 | fi | ||
667 | fi | ||
668 | |||
669 | # Copy echo and quote the copy suitably for passing to libtool from | ||
670 | # the Makefile, instead of quoting the original, which is used later. | ||
671 | ECHO=$echo | ||
672 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | ||
673 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | ||
674 | fi | ||
675 | |||
676 | |||
677 | |||
678 | |||
679 | tagnames=${tagnames+${tagnames},}CXX | ||
680 | |||
681 | tagnames=${tagnames+${tagnames},}F77 | ||
682 | |||
683 | test -n "$DJDIR" || exec 7<&0 </dev/null | ||
684 | exec 6>&1 | ||
685 | |||
686 | # Name of the host. | ||
687 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | ||
688 | # so uname gets run too. | ||
689 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | ||
690 | |||
691 | # | ||
692 | # Initializations. | ||
693 | # | ||
694 | ac_default_prefix=/usr/local | ||
695 | ac_clean_files= | ||
696 | ac_config_libobj_dir=. | ||
697 | LIBOBJS= | ||
698 | cross_compiling=no | ||
699 | subdirs= | ||
700 | MFLAGS= | ||
701 | MAKEFLAGS= | ||
702 | |||
703 | # Identity of this package. | ||
704 | PACKAGE_NAME= | ||
705 | PACKAGE_TARNAME= | ||
706 | PACKAGE_VERSION= | ||
707 | PACKAGE_STRING= | ||
708 | PACKAGE_BUGREPORT= | ||
709 | PACKAGE_URL= | ||
710 | |||
711 | ac_unique_file="include/portaudio.h" | ||
712 | # Factoring default headers for most tests. | ||
713 | ac_includes_default="\ | ||
714 | #include <stdio.h> | ||
715 | #ifdef HAVE_SYS_TYPES_H | ||
716 | # include <sys/types.h> | ||
717 | #endif | ||
718 | #ifdef HAVE_SYS_STAT_H | ||
719 | # include <sys/stat.h> | ||
720 | #endif | ||
721 | #ifdef STDC_HEADERS | ||
722 | # include <stdlib.h> | ||
723 | # include <stddef.h> | ||
724 | #else | ||
725 | # ifdef HAVE_STDLIB_H | ||
726 | # include <stdlib.h> | ||
727 | # endif | ||
728 | #endif | ||
729 | #ifdef HAVE_STRING_H | ||
730 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | ||
731 | # include <memory.h> | ||
732 | # endif | ||
733 | # include <string.h> | ||
734 | #endif | ||
735 | #ifdef HAVE_STRINGS_H | ||
736 | # include <strings.h> | ||
737 | #endif | ||
738 | #ifdef HAVE_INTTYPES_H | ||
739 | # include <inttypes.h> | ||
740 | #endif | ||
741 | #ifdef HAVE_STDINT_H | ||
742 | # include <stdint.h> | ||
743 | #endif | ||
744 | #ifdef HAVE_UNISTD_H | ||
745 | # include <unistd.h> | ||
746 | #endif" | ||
747 | |||
748 | enable_option_checking=no | ||
749 | ac_subst_vars='LTLIBOBJS | ||
750 | LIBOBJS | ||
751 | WITH_ASIO_FALSE | ||
752 | WITH_ASIO_TRUE | ||
753 | ENABLE_CXX_FALSE | ||
754 | ENABLE_CXX_TRUE | ||
755 | subdirs | ||
756 | NASMOPT | ||
757 | NASM | ||
758 | DLL_LIBS | ||
759 | THREAD_CFLAGS | ||
760 | SHARED_FLAGS | ||
761 | PADLL | ||
762 | OTHER_OBJS | ||
763 | LT_AGE | ||
764 | LT_REVISION | ||
765 | LT_CURRENT | ||
766 | JACK_LIBS | ||
767 | JACK_CFLAGS | ||
768 | PKG_CONFIG | ||
769 | INSTALL_DATA | ||
770 | INSTALL_SCRIPT | ||
771 | INSTALL_PROGRAM | ||
772 | LIBTOOL | ||
773 | ac_ct_F77 | ||
774 | FFLAGS | ||
775 | F77 | ||
776 | CXXCPP | ||
777 | ac_ct_CXX | ||
778 | CXXFLAGS | ||
779 | CXX | ||
780 | CPP | ||
781 | OBJDUMP | ||
782 | AS | ||
783 | DLLTOOL | ||
784 | STRIP | ||
785 | RANLIB | ||
786 | AR | ||
787 | ECHO | ||
788 | LN_S | ||
789 | EGREP | ||
790 | GREP | ||
791 | OBJEXT | ||
792 | EXEEXT | ||
793 | ac_ct_CC | ||
794 | CPPFLAGS | ||
795 | LDFLAGS | ||
796 | CFLAGS | ||
797 | CC | ||
798 | target_os | ||
799 | target_vendor | ||
800 | target_cpu | ||
801 | target | ||
802 | host_os | ||
803 | host_vendor | ||
804 | host_cpu | ||
805 | host | ||
806 | build_os | ||
807 | build_vendor | ||
808 | build_cpu | ||
809 | build | ||
810 | target_alias | ||
811 | host_alias | ||
812 | build_alias | ||
813 | LIBS | ||
814 | ECHO_T | ||
815 | ECHO_N | ||
816 | ECHO_C | ||
817 | DEFS | ||
818 | mandir | ||
819 | localedir | ||
820 | libdir | ||
821 | psdir | ||
822 | pdfdir | ||
823 | dvidir | ||
824 | htmldir | ||
825 | infodir | ||
826 | docdir | ||
827 | oldincludedir | ||
828 | includedir | ||
829 | localstatedir | ||
830 | sharedstatedir | ||
831 | sysconfdir | ||
832 | datadir | ||
833 | datarootdir | ||
834 | libexecdir | ||
835 | sbindir | ||
836 | bindir | ||
837 | program_transform_name | ||
838 | prefix | ||
839 | exec_prefix | ||
840 | PACKAGE_URL | ||
841 | PACKAGE_BUGREPORT | ||
842 | PACKAGE_STRING | ||
843 | PACKAGE_VERSION | ||
844 | PACKAGE_TARNAME | ||
845 | PACKAGE_NAME | ||
846 | PATH_SEPARATOR | ||
847 | SHELL' | ||
848 | ac_subst_files='' | ||
849 | ac_user_opts=' | ||
850 | enable_option_checking | ||
851 | with_alsa | ||
852 | with_jack | ||
853 | with_oss | ||
854 | with_asihpi | ||
855 | with_winapi | ||
856 | with_asiodir | ||
857 | with_dxdir | ||
858 | enable_debug_output | ||
859 | enable_cxx | ||
860 | enable_mac_debug | ||
861 | enable_mac_universal | ||
862 | with_host_os | ||
863 | enable_shared | ||
864 | enable_static | ||
865 | enable_fast_install | ||
866 | with_gnu_ld | ||
867 | enable_libtool_lock | ||
868 | with_pic | ||
869 | with_tags | ||
870 | ' | ||
871 | ac_precious_vars='build_alias | ||
872 | host_alias | ||
873 | target_alias | ||
874 | CC | ||
875 | CFLAGS | ||
876 | LDFLAGS | ||
877 | LIBS | ||
878 | CPPFLAGS | ||
879 | CPP | ||
880 | CXX | ||
881 | CXXFLAGS | ||
882 | CCC | ||
883 | CXXCPP | ||
884 | F77 | ||
885 | FFLAGS | ||
886 | PKG_CONFIG | ||
887 | JACK_CFLAGS | ||
888 | JACK_LIBS' | ||
889 | ac_subdirs_all='bindings/cpp' | ||
890 | |||
891 | # Initialize some variables set by options. | ||
892 | ac_init_help= | ||
893 | ac_init_version=false | ||
894 | ac_unrecognized_opts= | ||
895 | ac_unrecognized_sep= | ||
896 | # The variables have the same names as the options, with | ||
897 | # dashes changed to underlines. | ||
898 | cache_file=/dev/null | ||
899 | exec_prefix=NONE | ||
900 | no_create= | ||
901 | no_recursion= | ||
902 | prefix=NONE | ||
903 | program_prefix=NONE | ||
904 | program_suffix=NONE | ||
905 | program_transform_name=s,x,x, | ||
906 | silent= | ||
907 | site= | ||
908 | srcdir= | ||
909 | verbose= | ||
910 | x_includes=NONE | ||
911 | x_libraries=NONE | ||
912 | |||
913 | # Installation directory options. | ||
914 | # These are left unexpanded so users can "make install exec_prefix=/foo" | ||
915 | # and all the variables that are supposed to be based on exec_prefix | ||
916 | # by default will actually change. | ||
917 | # Use braces instead of parens because sh, perl, etc. also accept them. | ||
918 | # (The list follows the same order as the GNU Coding Standards.) | ||
919 | bindir='${exec_prefix}/bin' | ||
920 | sbindir='${exec_prefix}/sbin' | ||
921 | libexecdir='${exec_prefix}/libexec' | ||
922 | datarootdir='${prefix}/share' | ||
923 | datadir='${datarootdir}' | ||
924 | sysconfdir='${prefix}/etc' | ||
925 | sharedstatedir='${prefix}/com' | ||
926 | localstatedir='${prefix}/var' | ||
927 | includedir='${prefix}/include' | ||
928 | oldincludedir='/usr/include' | ||
929 | docdir='${datarootdir}/doc/${PACKAGE}' | ||
930 | infodir='${datarootdir}/info' | ||
931 | htmldir='${docdir}' | ||
932 | dvidir='${docdir}' | ||
933 | pdfdir='${docdir}' | ||
934 | psdir='${docdir}' | ||
935 | libdir='${exec_prefix}/lib' | ||
936 | localedir='${datarootdir}/locale' | ||
937 | mandir='${datarootdir}/man' | ||
938 | |||
939 | ac_prev= | ||
940 | ac_dashdash= | ||
941 | for ac_option | ||
942 | do | ||
943 | # If the previous option needs an argument, assign it. | ||
944 | if test -n "$ac_prev"; then | ||
945 | eval $ac_prev=\$ac_option | ||
946 | ac_prev= | ||
947 | continue | ||
948 | fi | ||
949 | |||
950 | case $ac_option in | ||
951 | *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | ||
952 | *) ac_optarg=yes ;; | ||
953 | esac | ||
954 | |||
955 | # Accept the important Cygnus configure options, so we can diagnose typos. | ||
956 | |||
957 | case $ac_dashdash$ac_option in | ||
958 | --) | ||
959 | ac_dashdash=yes ;; | ||
960 | |||
961 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | ||
962 | ac_prev=bindir ;; | ||
963 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | ||
964 | bindir=$ac_optarg ;; | ||
965 | |||
966 | -build | --build | --buil | --bui | --bu) | ||
967 | ac_prev=build_alias ;; | ||
968 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | ||
969 | build_alias=$ac_optarg ;; | ||
970 | |||
971 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | ||
972 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | ||
973 | ac_prev=cache_file ;; | ||
974 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | ||
975 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | ||
976 | cache_file=$ac_optarg ;; | ||
977 | |||
978 | --config-cache | -C) | ||
979 | cache_file=config.cache ;; | ||
980 | |||
981 | -datadir | --datadir | --datadi | --datad) | ||
982 | ac_prev=datadir ;; | ||
983 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | ||
984 | datadir=$ac_optarg ;; | ||
985 | |||
986 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | ||
987 | | --dataroo | --dataro | --datar) | ||
988 | ac_prev=datarootdir ;; | ||
989 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | ||
990 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | ||
991 | datarootdir=$ac_optarg ;; | ||
992 | |||
993 | -disable-* | --disable-*) | ||
994 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | ||
995 | # Reject names that are not valid shell variable names. | ||
996 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
997 | as_fn_error "invalid feature name: $ac_useropt" | ||
998 | ac_useropt_orig=$ac_useropt | ||
999 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1000 | case $ac_user_opts in | ||
1001 | *" | ||
1002 | "enable_$ac_useropt" | ||
1003 | "*) ;; | ||
1004 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | ||
1005 | ac_unrecognized_sep=', ';; | ||
1006 | esac | ||
1007 | eval enable_$ac_useropt=no ;; | ||
1008 | |||
1009 | -docdir | --docdir | --docdi | --doc | --do) | ||
1010 | ac_prev=docdir ;; | ||
1011 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | ||
1012 | docdir=$ac_optarg ;; | ||
1013 | |||
1014 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | ||
1015 | ac_prev=dvidir ;; | ||
1016 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | ||
1017 | dvidir=$ac_optarg ;; | ||
1018 | |||
1019 | -enable-* | --enable-*) | ||
1020 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | ||
1021 | # Reject names that are not valid shell variable names. | ||
1022 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1023 | as_fn_error "invalid feature name: $ac_useropt" | ||
1024 | ac_useropt_orig=$ac_useropt | ||
1025 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1026 | case $ac_user_opts in | ||
1027 | *" | ||
1028 | "enable_$ac_useropt" | ||
1029 | "*) ;; | ||
1030 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | ||
1031 | ac_unrecognized_sep=', ';; | ||
1032 | esac | ||
1033 | eval enable_$ac_useropt=\$ac_optarg ;; | ||
1034 | |||
1035 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | ||
1036 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | ||
1037 | | --exec | --exe | --ex) | ||
1038 | ac_prev=exec_prefix ;; | ||
1039 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | ||
1040 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | ||
1041 | | --exec=* | --exe=* | --ex=*) | ||
1042 | exec_prefix=$ac_optarg ;; | ||
1043 | |||
1044 | -gas | --gas | --ga | --g) | ||
1045 | # Obsolete; use --with-gas. | ||
1046 | with_gas=yes ;; | ||
1047 | |||
1048 | -help | --help | --hel | --he | -h) | ||
1049 | ac_init_help=long ;; | ||
1050 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | ||
1051 | ac_init_help=recursive ;; | ||
1052 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | ||
1053 | ac_init_help=short ;; | ||
1054 | |||
1055 | -host | --host | --hos | --ho) | ||
1056 | ac_prev=host_alias ;; | ||
1057 | -host=* | --host=* | --hos=* | --ho=*) | ||
1058 | host_alias=$ac_optarg ;; | ||
1059 | |||
1060 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | ||
1061 | ac_prev=htmldir ;; | ||
1062 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | ||
1063 | | --ht=*) | ||
1064 | htmldir=$ac_optarg ;; | ||
1065 | |||
1066 | -includedir | --includedir | --includedi | --included | --include \ | ||
1067 | | --includ | --inclu | --incl | --inc) | ||
1068 | ac_prev=includedir ;; | ||
1069 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | ||
1070 | | --includ=* | --inclu=* | --incl=* | --inc=*) | ||
1071 | includedir=$ac_optarg ;; | ||
1072 | |||
1073 | -infodir | --infodir | --infodi | --infod | --info | --inf) | ||
1074 | ac_prev=infodir ;; | ||
1075 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | ||
1076 | infodir=$ac_optarg ;; | ||
1077 | |||
1078 | -libdir | --libdir | --libdi | --libd) | ||
1079 | ac_prev=libdir ;; | ||
1080 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | ||
1081 | libdir=$ac_optarg ;; | ||
1082 | |||
1083 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | ||
1084 | | --libexe | --libex | --libe) | ||
1085 | ac_prev=libexecdir ;; | ||
1086 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | ||
1087 | | --libexe=* | --libex=* | --libe=*) | ||
1088 | libexecdir=$ac_optarg ;; | ||
1089 | |||
1090 | -localedir | --localedir | --localedi | --localed | --locale) | ||
1091 | ac_prev=localedir ;; | ||
1092 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | ||
1093 | localedir=$ac_optarg ;; | ||
1094 | |||
1095 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | ||
1096 | | --localstate | --localstat | --localsta | --localst | --locals) | ||
1097 | ac_prev=localstatedir ;; | ||
1098 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | ||
1099 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | ||
1100 | localstatedir=$ac_optarg ;; | ||
1101 | |||
1102 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | ||
1103 | ac_prev=mandir ;; | ||
1104 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | ||
1105 | mandir=$ac_optarg ;; | ||
1106 | |||
1107 | -nfp | --nfp | --nf) | ||
1108 | # Obsolete; use --without-fp. | ||
1109 | with_fp=no ;; | ||
1110 | |||
1111 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | ||
1112 | | --no-cr | --no-c | -n) | ||
1113 | no_create=yes ;; | ||
1114 | |||
1115 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | ||
1116 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | ||
1117 | no_recursion=yes ;; | ||
1118 | |||
1119 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | ||
1120 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | ||
1121 | | --oldin | --oldi | --old | --ol | --o) | ||
1122 | ac_prev=oldincludedir ;; | ||
1123 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | ||
1124 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | ||
1125 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | ||
1126 | oldincludedir=$ac_optarg ;; | ||
1127 | |||
1128 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | ||
1129 | ac_prev=prefix ;; | ||
1130 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | ||
1131 | prefix=$ac_optarg ;; | ||
1132 | |||
1133 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | ||
1134 | | --program-pre | --program-pr | --program-p) | ||
1135 | ac_prev=program_prefix ;; | ||
1136 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | ||
1137 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | ||
1138 | program_prefix=$ac_optarg ;; | ||
1139 | |||
1140 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | ||
1141 | | --program-suf | --program-su | --program-s) | ||
1142 | ac_prev=program_suffix ;; | ||
1143 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | ||
1144 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | ||
1145 | program_suffix=$ac_optarg ;; | ||
1146 | |||
1147 | -program-transform-name | --program-transform-name \ | ||
1148 | | --program-transform-nam | --program-transform-na \ | ||
1149 | | --program-transform-n | --program-transform- \ | ||
1150 | | --program-transform | --program-transfor \ | ||
1151 | | --program-transfo | --program-transf \ | ||
1152 | | --program-trans | --program-tran \ | ||
1153 | | --progr-tra | --program-tr | --program-t) | ||
1154 | ac_prev=program_transform_name ;; | ||
1155 | -program-transform-name=* | --program-transform-name=* \ | ||
1156 | | --program-transform-nam=* | --program-transform-na=* \ | ||
1157 | | --program-transform-n=* | --program-transform-=* \ | ||
1158 | | --program-transform=* | --program-transfor=* \ | ||
1159 | | --program-transfo=* | --program-transf=* \ | ||
1160 | | --program-trans=* | --program-tran=* \ | ||
1161 | | --progr-tra=* | --program-tr=* | --program-t=*) | ||
1162 | program_transform_name=$ac_optarg ;; | ||
1163 | |||
1164 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | ||
1165 | ac_prev=pdfdir ;; | ||
1166 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | ||
1167 | pdfdir=$ac_optarg ;; | ||
1168 | |||
1169 | -psdir | --psdir | --psdi | --psd | --ps) | ||
1170 | ac_prev=psdir ;; | ||
1171 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | ||
1172 | psdir=$ac_optarg ;; | ||
1173 | |||
1174 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
1175 | | -silent | --silent | --silen | --sile | --sil) | ||
1176 | silent=yes ;; | ||
1177 | |||
1178 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | ||
1179 | ac_prev=sbindir ;; | ||
1180 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | ||
1181 | | --sbi=* | --sb=*) | ||
1182 | sbindir=$ac_optarg ;; | ||
1183 | |||
1184 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | ||
1185 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | ||
1186 | | --sharedst | --shareds | --shared | --share | --shar \ | ||
1187 | | --sha | --sh) | ||
1188 | ac_prev=sharedstatedir ;; | ||
1189 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | ||
1190 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | ||
1191 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | ||
1192 | | --sha=* | --sh=*) | ||
1193 | sharedstatedir=$ac_optarg ;; | ||
1194 | |||
1195 | -site | --site | --sit) | ||
1196 | ac_prev=site ;; | ||
1197 | -site=* | --site=* | --sit=*) | ||
1198 | site=$ac_optarg ;; | ||
1199 | |||
1200 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | ||
1201 | ac_prev=srcdir ;; | ||
1202 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | ||
1203 | srcdir=$ac_optarg ;; | ||
1204 | |||
1205 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | ||
1206 | | --syscon | --sysco | --sysc | --sys | --sy) | ||
1207 | ac_prev=sysconfdir ;; | ||
1208 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | ||
1209 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | ||
1210 | sysconfdir=$ac_optarg ;; | ||
1211 | |||
1212 | -target | --target | --targe | --targ | --tar | --ta | --t) | ||
1213 | ac_prev=target_alias ;; | ||
1214 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | ||
1215 | target_alias=$ac_optarg ;; | ||
1216 | |||
1217 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | ||
1218 | verbose=yes ;; | ||
1219 | |||
1220 | -version | --version | --versio | --versi | --vers | -V) | ||
1221 | ac_init_version=: ;; | ||
1222 | |||
1223 | -with-* | --with-*) | ||
1224 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | ||
1225 | # Reject names that are not valid shell variable names. | ||
1226 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1227 | as_fn_error "invalid package name: $ac_useropt" | ||
1228 | ac_useropt_orig=$ac_useropt | ||
1229 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1230 | case $ac_user_opts in | ||
1231 | *" | ||
1232 | "with_$ac_useropt" | ||
1233 | "*) ;; | ||
1234 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | ||
1235 | ac_unrecognized_sep=', ';; | ||
1236 | esac | ||
1237 | eval with_$ac_useropt=\$ac_optarg ;; | ||
1238 | |||
1239 | -without-* | --without-*) | ||
1240 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | ||
1241 | # Reject names that are not valid shell variable names. | ||
1242 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | ||
1243 | as_fn_error "invalid package name: $ac_useropt" | ||
1244 | ac_useropt_orig=$ac_useropt | ||
1245 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | ||
1246 | case $ac_user_opts in | ||
1247 | *" | ||
1248 | "with_$ac_useropt" | ||
1249 | "*) ;; | ||
1250 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | ||
1251 | ac_unrecognized_sep=', ';; | ||
1252 | esac | ||
1253 | eval with_$ac_useropt=no ;; | ||
1254 | |||
1255 | --x) | ||
1256 | # Obsolete; use --with-x. | ||
1257 | with_x=yes ;; | ||
1258 | |||
1259 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | ||
1260 | | --x-incl | --x-inc | --x-in | --x-i) | ||
1261 | ac_prev=x_includes ;; | ||
1262 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | ||
1263 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | ||
1264 | x_includes=$ac_optarg ;; | ||
1265 | |||
1266 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | ||
1267 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | ||
1268 | ac_prev=x_libraries ;; | ||
1269 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | ||
1270 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | ||
1271 | x_libraries=$ac_optarg ;; | ||
1272 | |||
1273 | -*) as_fn_error "unrecognized option: \`$ac_option' | ||
1274 | Try \`$0 --help' for more information." | ||
1275 | ;; | ||
1276 | |||
1277 | *=*) | ||
1278 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | ||
1279 | # Reject names that are not valid shell variable names. | ||
1280 | case $ac_envvar in #( | ||
1281 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | ||
1282 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | ||
1283 | esac | ||
1284 | eval $ac_envvar=\$ac_optarg | ||
1285 | export $ac_envvar ;; | ||
1286 | |||
1287 | *) | ||
1288 | # FIXME: should be removed in autoconf 3.0. | ||
1289 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | ||
1290 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | ||
1291 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | ||
1292 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | ||
1293 | ;; | ||
1294 | |||
1295 | esac | ||
1296 | done | ||
1297 | |||
1298 | if test -n "$ac_prev"; then | ||
1299 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | ||
1300 | as_fn_error "missing argument to $ac_option" | ||
1301 | fi | ||
1302 | |||
1303 | if test -n "$ac_unrecognized_opts"; then | ||
1304 | case $enable_option_checking in | ||
1305 | no) ;; | ||
1306 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | ||
1307 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | ||
1308 | esac | ||
1309 | fi | ||
1310 | |||
1311 | # Check all directory arguments for consistency. | ||
1312 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | ||
1313 | datadir sysconfdir sharedstatedir localstatedir includedir \ | ||
1314 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | ||
1315 | libdir localedir mandir | ||
1316 | do | ||
1317 | eval ac_val=\$$ac_var | ||
1318 | # Remove trailing slashes. | ||
1319 | case $ac_val in | ||
1320 | */ ) | ||
1321 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | ||
1322 | eval $ac_var=\$ac_val;; | ||
1323 | esac | ||
1324 | # Be sure to have absolute directory names. | ||
1325 | case $ac_val in | ||
1326 | [\\/$]* | ?:[\\/]* ) continue;; | ||
1327 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | ||
1328 | esac | ||
1329 | as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" | ||
1330 | done | ||
1331 | |||
1332 | # There might be people who depend on the old broken behavior: `$host' | ||
1333 | # used to hold the argument of --host etc. | ||
1334 | # FIXME: To remove some day. | ||
1335 | build=$build_alias | ||
1336 | host=$host_alias | ||
1337 | target=$target_alias | ||
1338 | |||
1339 | # FIXME: To remove some day. | ||
1340 | if test "x$host_alias" != x; then | ||
1341 | if test "x$build_alias" = x; then | ||
1342 | cross_compiling=maybe | ||
1343 | $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | ||
1344 | If a cross compiler is detected then cross compile mode will be used." >&2 | ||
1345 | elif test "x$build_alias" != "x$host_alias"; then | ||
1346 | cross_compiling=yes | ||
1347 | fi | ||
1348 | fi | ||
1349 | |||
1350 | ac_tool_prefix= | ||
1351 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | ||
1352 | |||
1353 | test "$silent" = yes && exec 6>/dev/null | ||
1354 | |||
1355 | |||
1356 | ac_pwd=`pwd` && test -n "$ac_pwd" && | ||
1357 | ac_ls_di=`ls -di .` && | ||
1358 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | ||
1359 | as_fn_error "working directory cannot be determined" | ||
1360 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | ||
1361 | as_fn_error "pwd does not report name of working directory" | ||
1362 | |||
1363 | |||
1364 | # Find the source files, if location was not specified. | ||
1365 | if test -z "$srcdir"; then | ||
1366 | ac_srcdir_defaulted=yes | ||
1367 | # Try the directory containing this script, then the parent directory. | ||
1368 | ac_confdir=`$as_dirname -- "$as_myself" || | ||
1369 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | ||
1370 | X"$as_myself" : 'X\(//\)[^/]' \| \ | ||
1371 | X"$as_myself" : 'X\(//\)$' \| \ | ||
1372 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | ||
1373 | $as_echo X"$as_myself" | | ||
1374 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | ||
1375 | s//\1/ | ||
1376 | q | ||
1377 | } | ||
1378 | /^X\(\/\/\)[^/].*/{ | ||
1379 | s//\1/ | ||
1380 | q | ||
1381 | } | ||
1382 | /^X\(\/\/\)$/{ | ||
1383 | s//\1/ | ||
1384 | q | ||
1385 | } | ||
1386 | /^X\(\/\).*/{ | ||
1387 | s//\1/ | ||
1388 | q | ||
1389 | } | ||
1390 | s/.*/./; q'` | ||
1391 | srcdir=$ac_confdir | ||
1392 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
1393 | srcdir=.. | ||
1394 | fi | ||
1395 | else | ||
1396 | ac_srcdir_defaulted=no | ||
1397 | fi | ||
1398 | if test ! -r "$srcdir/$ac_unique_file"; then | ||
1399 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | ||
1400 | as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" | ||
1401 | fi | ||
1402 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | ||
1403 | ac_abs_confdir=`( | ||
1404 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" | ||
1405 | pwd)` | ||
1406 | # When building in place, set srcdir=. | ||
1407 | if test "$ac_abs_confdir" = "$ac_pwd"; then | ||
1408 | srcdir=. | ||
1409 | fi | ||
1410 | # Remove unnecessary trailing slashes from srcdir. | ||
1411 | # Double slashes in file names in object file debugging info | ||
1412 | # mess up M-x gdb in Emacs. | ||
1413 | case $srcdir in | ||
1414 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | ||
1415 | esac | ||
1416 | for ac_var in $ac_precious_vars; do | ||
1417 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | ||
1418 | eval ac_env_${ac_var}_value=\$${ac_var} | ||
1419 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | ||
1420 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | ||
1421 | done | ||
1422 | |||
1423 | # | ||
1424 | # Report the --help message. | ||
1425 | # | ||
1426 | if test "$ac_init_help" = "long"; then | ||
1427 | # Omit some internal or obsolete options to make the list less imposing. | ||
1428 | # This message is too long to be a string in the A/UX 3.1 sh. | ||
1429 | cat <<_ACEOF | ||
1430 | \`configure' configures this package to adapt to many kinds of systems. | ||
1431 | |||
1432 | Usage: $0 [OPTION]... [VAR=VALUE]... | ||
1433 | |||
1434 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | ||
1435 | VAR=VALUE. See below for descriptions of some of the useful variables. | ||
1436 | |||
1437 | Defaults for the options are specified in brackets. | ||
1438 | |||
1439 | Configuration: | ||
1440 | -h, --help display this help and exit | ||
1441 | --help=short display options specific to this package | ||
1442 | --help=recursive display the short help of all the included packages | ||
1443 | -V, --version display version information and exit | ||
1444 | -q, --quiet, --silent do not print \`checking...' messages | ||
1445 | --cache-file=FILE cache test results in FILE [disabled] | ||
1446 | -C, --config-cache alias for \`--cache-file=config.cache' | ||
1447 | -n, --no-create do not create output files | ||
1448 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | ||
1449 | |||
1450 | Installation directories: | ||
1451 | --prefix=PREFIX install architecture-independent files in PREFIX | ||
1452 | [$ac_default_prefix] | ||
1453 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | ||
1454 | [PREFIX] | ||
1455 | |||
1456 | By default, \`make install' will install all the files in | ||
1457 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | ||
1458 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | ||
1459 | for instance \`--prefix=\$HOME'. | ||
1460 | |||
1461 | For better control, use the options below. | ||
1462 | |||
1463 | Fine tuning of the installation directories: | ||
1464 | --bindir=DIR user executables [EPREFIX/bin] | ||
1465 | --sbindir=DIR system admin executables [EPREFIX/sbin] | ||
1466 | --libexecdir=DIR program executables [EPREFIX/libexec] | ||
1467 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | ||
1468 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | ||
1469 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | ||
1470 | --libdir=DIR object code libraries [EPREFIX/lib] | ||
1471 | --includedir=DIR C header files [PREFIX/include] | ||
1472 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | ||
1473 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | ||
1474 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | ||
1475 | --infodir=DIR info documentation [DATAROOTDIR/info] | ||
1476 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | ||
1477 | --mandir=DIR man documentation [DATAROOTDIR/man] | ||
1478 | --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] | ||
1479 | --htmldir=DIR html documentation [DOCDIR] | ||
1480 | --dvidir=DIR dvi documentation [DOCDIR] | ||
1481 | --pdfdir=DIR pdf documentation [DOCDIR] | ||
1482 | --psdir=DIR ps documentation [DOCDIR] | ||
1483 | _ACEOF | ||
1484 | |||
1485 | cat <<\_ACEOF | ||
1486 | |||
1487 | System types: | ||
1488 | --build=BUILD configure for building on BUILD [guessed] | ||
1489 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | ||
1490 | --target=TARGET configure for building compilers for TARGET [HOST] | ||
1491 | _ACEOF | ||
1492 | fi | ||
1493 | |||
1494 | if test -n "$ac_init_help"; then | ||
1495 | |||
1496 | cat <<\_ACEOF | ||
1497 | |||
1498 | Optional Features: | ||
1499 | --disable-option-checking ignore unrecognized --enable/--with options | ||
1500 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | ||
1501 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | ||
1502 | --enable-debug-output Enable debug output [no] | ||
1503 | --enable-cxx Enable C++ bindings [no] | ||
1504 | --enable-mac-debug Enable Mac debug [no] | ||
1505 | --enable-mac-universal Build Mac universal binaries [yes] | ||
1506 | --enable-shared[=PKGS] build shared libraries [default=yes] | ||
1507 | --enable-static[=PKGS] build static libraries [default=yes] | ||
1508 | --enable-fast-install[=PKGS] | ||
1509 | optimize for fast installation [default=yes] | ||
1510 | --disable-libtool-lock avoid locking (might break parallel builds) | ||
1511 | |||
1512 | Optional Packages: | ||
1513 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | ||
1514 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | ||
1515 | --with-alsa Enable support for ALSA [autodetect] | ||
1516 | --with-jack Enable support for JACK [autodetect] | ||
1517 | --with-oss Enable support for OSS [autodetect] | ||
1518 | --with-asihpi Enable support for ASIHPI [autodetect] | ||
1519 | --with-winapi Select Windows API support | ||
1520 | ([wmme|directx|asio|wasapi|wdmks][,...]) [wmme] | ||
1521 | --with-asiodir ASIO directory [/usr/local/asiosdk2] | ||
1522 | --with-dxdir DirectX directory [/usr/local/dx7sdk] | ||
1523 | |||
1524 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] | ||
1525 | --with-pic try to use only PIC/non-PIC objects [default=use | ||
1526 | both] | ||
1527 | --with-tags[=TAGS] include additional configurations [automatic] | ||
1528 | |||
1529 | Some influential environment variables: | ||
1530 | CC C compiler command | ||
1531 | CFLAGS C compiler flags | ||
1532 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | ||
1533 | nonstandard directory <lib dir> | ||
1534 | LIBS libraries to pass to the linker, e.g. -l<library> | ||
1535 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | ||
1536 | you have headers in a nonstandard directory <include dir> | ||
1537 | CPP C preprocessor | ||
1538 | CXX C++ compiler command | ||
1539 | CXXFLAGS C++ compiler flags | ||
1540 | CXXCPP C++ preprocessor | ||
1541 | F77 Fortran 77 compiler command | ||
1542 | FFLAGS Fortran 77 compiler flags | ||
1543 | PKG_CONFIG path to pkg-config utility | ||
1544 | JACK_CFLAGS C compiler flags for JACK, overriding pkg-config | ||
1545 | JACK_LIBS linker flags for JACK, overriding pkg-config | ||
1546 | |||
1547 | Use these variables to override the choices made by `configure' or to help | ||
1548 | it to find libraries and programs with nonstandard names/locations. | ||
1549 | |||
1550 | Report bugs to the package provider. | ||
1551 | _ACEOF | ||
1552 | ac_status=$? | ||
1553 | fi | ||
1554 | |||
1555 | if test "$ac_init_help" = "recursive"; then | ||
1556 | # If there are subdirs, report their specific --help. | ||
1557 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | ||
1558 | test -d "$ac_dir" || | ||
1559 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | ||
1560 | continue | ||
1561 | ac_builddir=. | ||
1562 | |||
1563 | case "$ac_dir" in | ||
1564 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1565 | *) | ||
1566 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | ||
1567 | # A ".." for each directory in $ac_dir_suffix. | ||
1568 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | ||
1569 | case $ac_top_builddir_sub in | ||
1570 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | ||
1571 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | ||
1572 | esac ;; | ||
1573 | esac | ||
1574 | ac_abs_top_builddir=$ac_pwd | ||
1575 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | ||
1576 | # for backward compatibility: | ||
1577 | ac_top_builddir=$ac_top_build_prefix | ||
1578 | |||
1579 | case $srcdir in | ||
1580 | .) # We are building in place. | ||
1581 | ac_srcdir=. | ||
1582 | ac_top_srcdir=$ac_top_builddir_sub | ||
1583 | ac_abs_top_srcdir=$ac_pwd ;; | ||
1584 | [\\/]* | ?:[\\/]* ) # Absolute name. | ||
1585 | ac_srcdir=$srcdir$ac_dir_suffix; | ||
1586 | ac_top_srcdir=$srcdir | ||
1587 | ac_abs_top_srcdir=$srcdir ;; | ||
1588 | *) # Relative name. | ||
1589 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | ||
1590 | ac_top_srcdir=$ac_top_build_prefix$srcdir | ||
1591 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | ||
1592 | esac | ||
1593 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | ||
1594 | |||
1595 | cd "$ac_dir" || { ac_status=$?; continue; } | ||
1596 | # Check for guested configure. | ||
1597 | if test -f "$ac_srcdir/configure.gnu"; then | ||
1598 | echo && | ||
1599 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | ||
1600 | elif test -f "$ac_srcdir/configure"; then | ||
1601 | echo && | ||
1602 | $SHELL "$ac_srcdir/configure" --help=recursive | ||
1603 | else | ||
1604 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | ||
1605 | fi || ac_status=$? | ||
1606 | cd "$ac_pwd" || { ac_status=$?; break; } | ||
1607 | done | ||
1608 | fi | ||
1609 | |||
1610 | test -n "$ac_init_help" && exit $ac_status | ||
1611 | if $ac_init_version; then | ||
1612 | cat <<\_ACEOF | ||
1613 | configure | ||
1614 | generated by GNU Autoconf 2.65 | ||
1615 | |||
1616 | Copyright (C) 2009 Free Software Foundation, Inc. | ||
1617 | This configure script is free software; the Free Software Foundation | ||
1618 | gives unlimited permission to copy, distribute and modify it. | ||
1619 | _ACEOF | ||
1620 | exit | ||
1621 | fi | ||
1622 | |||
1623 | ## ------------------------ ## | ||
1624 | ## Autoconf initialization. ## | ||
1625 | ## ------------------------ ## | ||
1626 | |||
1627 | # ac_fn_c_try_compile LINENO | ||
1628 | # -------------------------- | ||
1629 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
1630 | ac_fn_c_try_compile () | ||
1631 | { | ||
1632 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1633 | rm -f conftest.$ac_objext | ||
1634 | if { { ac_try="$ac_compile" | ||
1635 | case "(($ac_try" in | ||
1636 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1637 | *) ac_try_echo=$ac_try;; | ||
1638 | esac | ||
1639 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1640 | $as_echo "$ac_try_echo"; } >&5 | ||
1641 | (eval "$ac_compile") 2>conftest.err | ||
1642 | ac_status=$? | ||
1643 | if test -s conftest.err; then | ||
1644 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1645 | cat conftest.er1 >&5 | ||
1646 | mv -f conftest.er1 conftest.err | ||
1647 | fi | ||
1648 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1649 | test $ac_status = 0; } && { | ||
1650 | test -z "$ac_c_werror_flag" || | ||
1651 | test ! -s conftest.err | ||
1652 | } && test -s conftest.$ac_objext; then : | ||
1653 | ac_retval=0 | ||
1654 | else | ||
1655 | $as_echo "$as_me: failed program was:" >&5 | ||
1656 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1657 | |||
1658 | ac_retval=1 | ||
1659 | fi | ||
1660 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1661 | as_fn_set_status $ac_retval | ||
1662 | |||
1663 | } # ac_fn_c_try_compile | ||
1664 | |||
1665 | # ac_fn_c_try_link LINENO | ||
1666 | # ----------------------- | ||
1667 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
1668 | ac_fn_c_try_link () | ||
1669 | { | ||
1670 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1671 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
1672 | if { { ac_try="$ac_link" | ||
1673 | case "(($ac_try" in | ||
1674 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1675 | *) ac_try_echo=$ac_try;; | ||
1676 | esac | ||
1677 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1678 | $as_echo "$ac_try_echo"; } >&5 | ||
1679 | (eval "$ac_link") 2>conftest.err | ||
1680 | ac_status=$? | ||
1681 | if test -s conftest.err; then | ||
1682 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1683 | cat conftest.er1 >&5 | ||
1684 | mv -f conftest.er1 conftest.err | ||
1685 | fi | ||
1686 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1687 | test $ac_status = 0; } && { | ||
1688 | test -z "$ac_c_werror_flag" || | ||
1689 | test ! -s conftest.err | ||
1690 | } && test -s conftest$ac_exeext && { | ||
1691 | test "$cross_compiling" = yes || | ||
1692 | $as_test_x conftest$ac_exeext | ||
1693 | }; then : | ||
1694 | ac_retval=0 | ||
1695 | else | ||
1696 | $as_echo "$as_me: failed program was:" >&5 | ||
1697 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1698 | |||
1699 | ac_retval=1 | ||
1700 | fi | ||
1701 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
1702 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
1703 | # interfere with the next link command; also delete a directory that is | ||
1704 | # left behind by Apple's compiler. We do this before executing the actions. | ||
1705 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1706 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1707 | as_fn_set_status $ac_retval | ||
1708 | |||
1709 | } # ac_fn_c_try_link | ||
1710 | |||
1711 | # ac_fn_c_try_cpp LINENO | ||
1712 | # ---------------------- | ||
1713 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
1714 | ac_fn_c_try_cpp () | ||
1715 | { | ||
1716 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1717 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
1718 | case "(($ac_try" in | ||
1719 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1720 | *) ac_try_echo=$ac_try;; | ||
1721 | esac | ||
1722 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1723 | $as_echo "$ac_try_echo"; } >&5 | ||
1724 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
1725 | ac_status=$? | ||
1726 | if test -s conftest.err; then | ||
1727 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1728 | cat conftest.er1 >&5 | ||
1729 | mv -f conftest.er1 conftest.err | ||
1730 | fi | ||
1731 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1732 | test $ac_status = 0; } >/dev/null && { | ||
1733 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
1734 | test ! -s conftest.err | ||
1735 | }; then : | ||
1736 | ac_retval=0 | ||
1737 | else | ||
1738 | $as_echo "$as_me: failed program was:" >&5 | ||
1739 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1740 | |||
1741 | ac_retval=1 | ||
1742 | fi | ||
1743 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1744 | as_fn_set_status $ac_retval | ||
1745 | |||
1746 | } # ac_fn_c_try_cpp | ||
1747 | |||
1748 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
1749 | # ------------------------------------------------------- | ||
1750 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
1751 | # the include files in INCLUDES and setting the cache variable VAR | ||
1752 | # accordingly. | ||
1753 | ac_fn_c_check_header_mongrel () | ||
1754 | { | ||
1755 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1756 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1757 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1758 | $as_echo_n "checking for $2... " >&6; } | ||
1759 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1760 | $as_echo_n "(cached) " >&6 | ||
1761 | fi | ||
1762 | eval ac_res=\$$3 | ||
1763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1764 | $as_echo "$ac_res" >&6; } | ||
1765 | else | ||
1766 | # Is the header compilable? | ||
1767 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
1768 | $as_echo_n "checking $2 usability... " >&6; } | ||
1769 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1770 | /* end confdefs.h. */ | ||
1771 | $4 | ||
1772 | #include <$2> | ||
1773 | _ACEOF | ||
1774 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1775 | ac_header_compiler=yes | ||
1776 | else | ||
1777 | ac_header_compiler=no | ||
1778 | fi | ||
1779 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1780 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
1781 | $as_echo "$ac_header_compiler" >&6; } | ||
1782 | |||
1783 | # Is the header present? | ||
1784 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
1785 | $as_echo_n "checking $2 presence... " >&6; } | ||
1786 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1787 | /* end confdefs.h. */ | ||
1788 | #include <$2> | ||
1789 | _ACEOF | ||
1790 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
1791 | ac_header_preproc=yes | ||
1792 | else | ||
1793 | ac_header_preproc=no | ||
1794 | fi | ||
1795 | rm -f conftest.err conftest.$ac_ext | ||
1796 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
1797 | $as_echo "$ac_header_preproc" >&6; } | ||
1798 | |||
1799 | # So? What about this header? | ||
1800 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
1801 | yes:no: ) | ||
1802 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
1803 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
1804 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1805 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1806 | ;; | ||
1807 | no:yes:* ) | ||
1808 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
1809 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
1810 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
1811 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
1812 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
1813 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
1814 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
1815 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
1816 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
1817 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
1818 | ;; | ||
1819 | esac | ||
1820 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1821 | $as_echo_n "checking for $2... " >&6; } | ||
1822 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1823 | $as_echo_n "(cached) " >&6 | ||
1824 | else | ||
1825 | eval "$3=\$ac_header_compiler" | ||
1826 | fi | ||
1827 | eval ac_res=\$$3 | ||
1828 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1829 | $as_echo "$ac_res" >&6; } | ||
1830 | fi | ||
1831 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1832 | |||
1833 | } # ac_fn_c_check_header_mongrel | ||
1834 | |||
1835 | # ac_fn_c_try_run LINENO | ||
1836 | # ---------------------- | ||
1837 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
1838 | # that executables *can* be run. | ||
1839 | ac_fn_c_try_run () | ||
1840 | { | ||
1841 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1842 | if { { ac_try="$ac_link" | ||
1843 | case "(($ac_try" in | ||
1844 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1845 | *) ac_try_echo=$ac_try;; | ||
1846 | esac | ||
1847 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1848 | $as_echo "$ac_try_echo"; } >&5 | ||
1849 | (eval "$ac_link") 2>&5 | ||
1850 | ac_status=$? | ||
1851 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1852 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
1853 | { { case "(($ac_try" in | ||
1854 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1855 | *) ac_try_echo=$ac_try;; | ||
1856 | esac | ||
1857 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1858 | $as_echo "$ac_try_echo"; } >&5 | ||
1859 | (eval "$ac_try") 2>&5 | ||
1860 | ac_status=$? | ||
1861 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1862 | test $ac_status = 0; }; }; then : | ||
1863 | ac_retval=0 | ||
1864 | else | ||
1865 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
1866 | $as_echo "$as_me: failed program was:" >&5 | ||
1867 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
1868 | |||
1869 | ac_retval=$ac_status | ||
1870 | fi | ||
1871 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
1872 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1873 | as_fn_set_status $ac_retval | ||
1874 | |||
1875 | } # ac_fn_c_try_run | ||
1876 | |||
1877 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
1878 | # ------------------------------------------------------- | ||
1879 | # Tests whether HEADER exists and can be compiled using the include files in | ||
1880 | # INCLUDES, setting the cache variable VAR accordingly. | ||
1881 | ac_fn_c_check_header_compile () | ||
1882 | { | ||
1883 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1884 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1885 | $as_echo_n "checking for $2... " >&6; } | ||
1886 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1887 | $as_echo_n "(cached) " >&6 | ||
1888 | else | ||
1889 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1890 | /* end confdefs.h. */ | ||
1891 | $4 | ||
1892 | #include <$2> | ||
1893 | _ACEOF | ||
1894 | if ac_fn_c_try_compile "$LINENO"; then : | ||
1895 | eval "$3=yes" | ||
1896 | else | ||
1897 | eval "$3=no" | ||
1898 | fi | ||
1899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
1900 | fi | ||
1901 | eval ac_res=\$$3 | ||
1902 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1903 | $as_echo "$ac_res" >&6; } | ||
1904 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1905 | |||
1906 | } # ac_fn_c_check_header_compile | ||
1907 | |||
1908 | # ac_fn_c_check_func LINENO FUNC VAR | ||
1909 | # ---------------------------------- | ||
1910 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
1911 | ac_fn_c_check_func () | ||
1912 | { | ||
1913 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1914 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
1915 | $as_echo_n "checking for $2... " >&6; } | ||
1916 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
1917 | $as_echo_n "(cached) " >&6 | ||
1918 | else | ||
1919 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
1920 | /* end confdefs.h. */ | ||
1921 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
1922 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
1923 | #define $2 innocuous_$2 | ||
1924 | |||
1925 | /* System header to define __stub macros and hopefully few prototypes, | ||
1926 | which can conflict with char $2 (); below. | ||
1927 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
1928 | <limits.h> exists even on freestanding compilers. */ | ||
1929 | |||
1930 | #ifdef __STDC__ | ||
1931 | # include <limits.h> | ||
1932 | #else | ||
1933 | # include <assert.h> | ||
1934 | #endif | ||
1935 | |||
1936 | #undef $2 | ||
1937 | |||
1938 | /* Override any GCC internal prototype to avoid an error. | ||
1939 | Use char because int might match the return type of a GCC | ||
1940 | builtin and then its argument prototype would still apply. */ | ||
1941 | #ifdef __cplusplus | ||
1942 | extern "C" | ||
1943 | #endif | ||
1944 | char $2 (); | ||
1945 | /* The GNU C library defines this for functions which it implements | ||
1946 | to always fail with ENOSYS. Some functions are actually named | ||
1947 | something starting with __ and the normal name is an alias. */ | ||
1948 | #if defined __stub_$2 || defined __stub___$2 | ||
1949 | choke me | ||
1950 | #endif | ||
1951 | |||
1952 | int | ||
1953 | main () | ||
1954 | { | ||
1955 | return $2 (); | ||
1956 | ; | ||
1957 | return 0; | ||
1958 | } | ||
1959 | _ACEOF | ||
1960 | if ac_fn_c_try_link "$LINENO"; then : | ||
1961 | eval "$3=yes" | ||
1962 | else | ||
1963 | eval "$3=no" | ||
1964 | fi | ||
1965 | rm -f core conftest.err conftest.$ac_objext \ | ||
1966 | conftest$ac_exeext conftest.$ac_ext | ||
1967 | fi | ||
1968 | eval ac_res=\$$3 | ||
1969 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
1970 | $as_echo "$ac_res" >&6; } | ||
1971 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
1972 | |||
1973 | } # ac_fn_c_check_func | ||
1974 | |||
1975 | # ac_fn_cxx_try_compile LINENO | ||
1976 | # ---------------------------- | ||
1977 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
1978 | ac_fn_cxx_try_compile () | ||
1979 | { | ||
1980 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
1981 | rm -f conftest.$ac_objext | ||
1982 | if { { ac_try="$ac_compile" | ||
1983 | case "(($ac_try" in | ||
1984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
1985 | *) ac_try_echo=$ac_try;; | ||
1986 | esac | ||
1987 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
1988 | $as_echo "$ac_try_echo"; } >&5 | ||
1989 | (eval "$ac_compile") 2>conftest.err | ||
1990 | ac_status=$? | ||
1991 | if test -s conftest.err; then | ||
1992 | grep -v '^ *+' conftest.err >conftest.er1 | ||
1993 | cat conftest.er1 >&5 | ||
1994 | mv -f conftest.er1 conftest.err | ||
1995 | fi | ||
1996 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
1997 | test $ac_status = 0; } && { | ||
1998 | test -z "$ac_cxx_werror_flag" || | ||
1999 | test ! -s conftest.err | ||
2000 | } && test -s conftest.$ac_objext; then : | ||
2001 | ac_retval=0 | ||
2002 | else | ||
2003 | $as_echo "$as_me: failed program was:" >&5 | ||
2004 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2005 | |||
2006 | ac_retval=1 | ||
2007 | fi | ||
2008 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2009 | as_fn_set_status $ac_retval | ||
2010 | |||
2011 | } # ac_fn_cxx_try_compile | ||
2012 | |||
2013 | # ac_fn_cxx_try_cpp LINENO | ||
2014 | # ------------------------ | ||
2015 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
2016 | ac_fn_cxx_try_cpp () | ||
2017 | { | ||
2018 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2019 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
2020 | case "(($ac_try" in | ||
2021 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2022 | *) ac_try_echo=$ac_try;; | ||
2023 | esac | ||
2024 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2025 | $as_echo "$ac_try_echo"; } >&5 | ||
2026 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
2027 | ac_status=$? | ||
2028 | if test -s conftest.err; then | ||
2029 | grep -v '^ *+' conftest.err >conftest.er1 | ||
2030 | cat conftest.er1 >&5 | ||
2031 | mv -f conftest.er1 conftest.err | ||
2032 | fi | ||
2033 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2034 | test $ac_status = 0; } >/dev/null && { | ||
2035 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | ||
2036 | test ! -s conftest.err | ||
2037 | }; then : | ||
2038 | ac_retval=0 | ||
2039 | else | ||
2040 | $as_echo "$as_me: failed program was:" >&5 | ||
2041 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2042 | |||
2043 | ac_retval=1 | ||
2044 | fi | ||
2045 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2046 | as_fn_set_status $ac_retval | ||
2047 | |||
2048 | } # ac_fn_cxx_try_cpp | ||
2049 | |||
2050 | # ac_fn_cxx_try_link LINENO | ||
2051 | # ------------------------- | ||
2052 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
2053 | ac_fn_cxx_try_link () | ||
2054 | { | ||
2055 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2056 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
2057 | if { { ac_try="$ac_link" | ||
2058 | case "(($ac_try" in | ||
2059 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2060 | *) ac_try_echo=$ac_try;; | ||
2061 | esac | ||
2062 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2063 | $as_echo "$ac_try_echo"; } >&5 | ||
2064 | (eval "$ac_link") 2>conftest.err | ||
2065 | ac_status=$? | ||
2066 | if test -s conftest.err; then | ||
2067 | grep -v '^ *+' conftest.err >conftest.er1 | ||
2068 | cat conftest.er1 >&5 | ||
2069 | mv -f conftest.er1 conftest.err | ||
2070 | fi | ||
2071 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2072 | test $ac_status = 0; } && { | ||
2073 | test -z "$ac_cxx_werror_flag" || | ||
2074 | test ! -s conftest.err | ||
2075 | } && test -s conftest$ac_exeext && { | ||
2076 | test "$cross_compiling" = yes || | ||
2077 | $as_test_x conftest$ac_exeext | ||
2078 | }; then : | ||
2079 | ac_retval=0 | ||
2080 | else | ||
2081 | $as_echo "$as_me: failed program was:" >&5 | ||
2082 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2083 | |||
2084 | ac_retval=1 | ||
2085 | fi | ||
2086 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
2087 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
2088 | # interfere with the next link command; also delete a directory that is | ||
2089 | # left behind by Apple's compiler. We do this before executing the actions. | ||
2090 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
2091 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2092 | as_fn_set_status $ac_retval | ||
2093 | |||
2094 | } # ac_fn_cxx_try_link | ||
2095 | |||
2096 | # ac_fn_f77_try_compile LINENO | ||
2097 | # ---------------------------- | ||
2098 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
2099 | ac_fn_f77_try_compile () | ||
2100 | { | ||
2101 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2102 | rm -f conftest.$ac_objext | ||
2103 | if { { ac_try="$ac_compile" | ||
2104 | case "(($ac_try" in | ||
2105 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2106 | *) ac_try_echo=$ac_try;; | ||
2107 | esac | ||
2108 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2109 | $as_echo "$ac_try_echo"; } >&5 | ||
2110 | (eval "$ac_compile") 2>conftest.err | ||
2111 | ac_status=$? | ||
2112 | if test -s conftest.err; then | ||
2113 | grep -v '^ *+' conftest.err >conftest.er1 | ||
2114 | cat conftest.er1 >&5 | ||
2115 | mv -f conftest.er1 conftest.err | ||
2116 | fi | ||
2117 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2118 | test $ac_status = 0; } && { | ||
2119 | test -z "$ac_f77_werror_flag" || | ||
2120 | test ! -s conftest.err | ||
2121 | } && test -s conftest.$ac_objext; then : | ||
2122 | ac_retval=0 | ||
2123 | else | ||
2124 | $as_echo "$as_me: failed program was:" >&5 | ||
2125 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2126 | |||
2127 | ac_retval=1 | ||
2128 | fi | ||
2129 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2130 | as_fn_set_status $ac_retval | ||
2131 | |||
2132 | } # ac_fn_f77_try_compile | ||
2133 | |||
2134 | # ac_fn_f77_try_link LINENO | ||
2135 | # ------------------------- | ||
2136 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
2137 | ac_fn_f77_try_link () | ||
2138 | { | ||
2139 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2140 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
2141 | if { { ac_try="$ac_link" | ||
2142 | case "(($ac_try" in | ||
2143 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2144 | *) ac_try_echo=$ac_try;; | ||
2145 | esac | ||
2146 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2147 | $as_echo "$ac_try_echo"; } >&5 | ||
2148 | (eval "$ac_link") 2>conftest.err | ||
2149 | ac_status=$? | ||
2150 | if test -s conftest.err; then | ||
2151 | grep -v '^ *+' conftest.err >conftest.er1 | ||
2152 | cat conftest.er1 >&5 | ||
2153 | mv -f conftest.er1 conftest.err | ||
2154 | fi | ||
2155 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2156 | test $ac_status = 0; } && { | ||
2157 | test -z "$ac_f77_werror_flag" || | ||
2158 | test ! -s conftest.err | ||
2159 | } && test -s conftest$ac_exeext && { | ||
2160 | test "$cross_compiling" = yes || | ||
2161 | $as_test_x conftest$ac_exeext | ||
2162 | }; then : | ||
2163 | ac_retval=0 | ||
2164 | else | ||
2165 | $as_echo "$as_me: failed program was:" >&5 | ||
2166 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2167 | |||
2168 | ac_retval=1 | ||
2169 | fi | ||
2170 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
2171 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
2172 | # interfere with the next link command; also delete a directory that is | ||
2173 | # left behind by Apple's compiler. We do this before executing the actions. | ||
2174 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
2175 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2176 | as_fn_set_status $ac_retval | ||
2177 | |||
2178 | } # ac_fn_f77_try_link | ||
2179 | |||
2180 | # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | ||
2181 | # -------------------------------------------- | ||
2182 | # Tries to find the compile-time value of EXPR in a program that includes | ||
2183 | # INCLUDES, setting VAR accordingly. Returns whether the value could be | ||
2184 | # computed | ||
2185 | ac_fn_c_compute_int () | ||
2186 | { | ||
2187 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2188 | if test "$cross_compiling" = yes; then | ||
2189 | # Depending upon the size, compute the lo and hi bounds. | ||
2190 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2191 | /* end confdefs.h. */ | ||
2192 | $4 | ||
2193 | int | ||
2194 | main () | ||
2195 | { | ||
2196 | static int test_array [1 - 2 * !(($2) >= 0)]; | ||
2197 | test_array [0] = 0 | ||
2198 | |||
2199 | ; | ||
2200 | return 0; | ||
2201 | } | ||
2202 | _ACEOF | ||
2203 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2204 | ac_lo=0 ac_mid=0 | ||
2205 | while :; do | ||
2206 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2207 | /* end confdefs.h. */ | ||
2208 | $4 | ||
2209 | int | ||
2210 | main () | ||
2211 | { | ||
2212 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
2213 | test_array [0] = 0 | ||
2214 | |||
2215 | ; | ||
2216 | return 0; | ||
2217 | } | ||
2218 | _ACEOF | ||
2219 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2220 | ac_hi=$ac_mid; break | ||
2221 | else | ||
2222 | as_fn_arith $ac_mid + 1 && ac_lo=$as_val | ||
2223 | if test $ac_lo -le $ac_mid; then | ||
2224 | ac_lo= ac_hi= | ||
2225 | break | ||
2226 | fi | ||
2227 | as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | ||
2228 | fi | ||
2229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2230 | done | ||
2231 | else | ||
2232 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2233 | /* end confdefs.h. */ | ||
2234 | $4 | ||
2235 | int | ||
2236 | main () | ||
2237 | { | ||
2238 | static int test_array [1 - 2 * !(($2) < 0)]; | ||
2239 | test_array [0] = 0 | ||
2240 | |||
2241 | ; | ||
2242 | return 0; | ||
2243 | } | ||
2244 | _ACEOF | ||
2245 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2246 | ac_hi=-1 ac_mid=-1 | ||
2247 | while :; do | ||
2248 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2249 | /* end confdefs.h. */ | ||
2250 | $4 | ||
2251 | int | ||
2252 | main () | ||
2253 | { | ||
2254 | static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | ||
2255 | test_array [0] = 0 | ||
2256 | |||
2257 | ; | ||
2258 | return 0; | ||
2259 | } | ||
2260 | _ACEOF | ||
2261 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2262 | ac_lo=$ac_mid; break | ||
2263 | else | ||
2264 | as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | ||
2265 | if test $ac_mid -le $ac_hi; then | ||
2266 | ac_lo= ac_hi= | ||
2267 | break | ||
2268 | fi | ||
2269 | as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | ||
2270 | fi | ||
2271 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2272 | done | ||
2273 | else | ||
2274 | ac_lo= ac_hi= | ||
2275 | fi | ||
2276 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2277 | fi | ||
2278 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2279 | # Binary search between lo and hi bounds. | ||
2280 | while test "x$ac_lo" != "x$ac_hi"; do | ||
2281 | as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | ||
2282 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2283 | /* end confdefs.h. */ | ||
2284 | $4 | ||
2285 | int | ||
2286 | main () | ||
2287 | { | ||
2288 | static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | ||
2289 | test_array [0] = 0 | ||
2290 | |||
2291 | ; | ||
2292 | return 0; | ||
2293 | } | ||
2294 | _ACEOF | ||
2295 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2296 | ac_hi=$ac_mid | ||
2297 | else | ||
2298 | as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | ||
2299 | fi | ||
2300 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2301 | done | ||
2302 | case $ac_lo in #(( | ||
2303 | ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | ||
2304 | '') ac_retval=1 ;; | ||
2305 | esac | ||
2306 | else | ||
2307 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2308 | /* end confdefs.h. */ | ||
2309 | $4 | ||
2310 | static long int longval () { return $2; } | ||
2311 | static unsigned long int ulongval () { return $2; } | ||
2312 | #include <stdio.h> | ||
2313 | #include <stdlib.h> | ||
2314 | int | ||
2315 | main () | ||
2316 | { | ||
2317 | |||
2318 | FILE *f = fopen ("conftest.val", "w"); | ||
2319 | if (! f) | ||
2320 | return 1; | ||
2321 | if (($2) < 0) | ||
2322 | { | ||
2323 | long int i = longval (); | ||
2324 | if (i != ($2)) | ||
2325 | return 1; | ||
2326 | fprintf (f, "%ld", i); | ||
2327 | } | ||
2328 | else | ||
2329 | { | ||
2330 | unsigned long int i = ulongval (); | ||
2331 | if (i != ($2)) | ||
2332 | return 1; | ||
2333 | fprintf (f, "%lu", i); | ||
2334 | } | ||
2335 | /* Do not output a trailing newline, as this causes \r\n confusion | ||
2336 | on some platforms. */ | ||
2337 | return ferror (f) || fclose (f) != 0; | ||
2338 | |||
2339 | ; | ||
2340 | return 0; | ||
2341 | } | ||
2342 | _ACEOF | ||
2343 | if ac_fn_c_try_run "$LINENO"; then : | ||
2344 | echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | ||
2345 | else | ||
2346 | ac_retval=1 | ||
2347 | fi | ||
2348 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | ||
2349 | conftest.$ac_objext conftest.beam conftest.$ac_ext | ||
2350 | rm -f conftest.val | ||
2351 | |||
2352 | fi | ||
2353 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2354 | as_fn_set_status $ac_retval | ||
2355 | |||
2356 | } # ac_fn_c_compute_int | ||
2357 | cat >config.log <<_ACEOF | ||
2358 | This file contains any messages produced by compilers while | ||
2359 | running configure, to aid debugging if configure makes a mistake. | ||
2360 | |||
2361 | It was created by $as_me, which was | ||
2362 | generated by GNU Autoconf 2.65. Invocation command line was | ||
2363 | |||
2364 | $ $0 $@ | ||
2365 | |||
2366 | _ACEOF | ||
2367 | exec 5>>config.log | ||
2368 | { | ||
2369 | cat <<_ASUNAME | ||
2370 | ## --------- ## | ||
2371 | ## Platform. ## | ||
2372 | ## --------- ## | ||
2373 | |||
2374 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | ||
2375 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | ||
2376 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | ||
2377 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | ||
2378 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | ||
2379 | |||
2380 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | ||
2381 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | ||
2382 | |||
2383 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | ||
2384 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | ||
2385 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | ||
2386 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | ||
2387 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | ||
2388 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | ||
2389 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | ||
2390 | |||
2391 | _ASUNAME | ||
2392 | |||
2393 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
2394 | for as_dir in $PATH | ||
2395 | do | ||
2396 | IFS=$as_save_IFS | ||
2397 | test -z "$as_dir" && as_dir=. | ||
2398 | $as_echo "PATH: $as_dir" | ||
2399 | done | ||
2400 | IFS=$as_save_IFS | ||
2401 | |||
2402 | } >&5 | ||
2403 | |||
2404 | cat >&5 <<_ACEOF | ||
2405 | |||
2406 | |||
2407 | ## ----------- ## | ||
2408 | ## Core tests. ## | ||
2409 | ## ----------- ## | ||
2410 | |||
2411 | _ACEOF | ||
2412 | |||
2413 | |||
2414 | # Keep a trace of the command line. | ||
2415 | # Strip out --no-create and --no-recursion so they do not pile up. | ||
2416 | # Strip out --silent because we don't want to record it for future runs. | ||
2417 | # Also quote any args containing shell meta-characters. | ||
2418 | # Make two passes to allow for proper duplicate-argument suppression. | ||
2419 | ac_configure_args= | ||
2420 | ac_configure_args0= | ||
2421 | ac_configure_args1= | ||
2422 | ac_must_keep_next=false | ||
2423 | for ac_pass in 1 2 | ||
2424 | do | ||
2425 | for ac_arg | ||
2426 | do | ||
2427 | case $ac_arg in | ||
2428 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | ||
2429 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | ||
2430 | | -silent | --silent | --silen | --sile | --sil) | ||
2431 | continue ;; | ||
2432 | *\'*) | ||
2433 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
2434 | esac | ||
2435 | case $ac_pass in | ||
2436 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | ||
2437 | 2) | ||
2438 | as_fn_append ac_configure_args1 " '$ac_arg'" | ||
2439 | if test $ac_must_keep_next = true; then | ||
2440 | ac_must_keep_next=false # Got value, back to normal. | ||
2441 | else | ||
2442 | case $ac_arg in | ||
2443 | *=* | --config-cache | -C | -disable-* | --disable-* \ | ||
2444 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | ||
2445 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | ||
2446 | | -with-* | --with-* | -without-* | --without-* | --x) | ||
2447 | case "$ac_configure_args0 " in | ||
2448 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | ||
2449 | esac | ||
2450 | ;; | ||
2451 | -* ) ac_must_keep_next=true ;; | ||
2452 | esac | ||
2453 | fi | ||
2454 | as_fn_append ac_configure_args " '$ac_arg'" | ||
2455 | ;; | ||
2456 | esac | ||
2457 | done | ||
2458 | done | ||
2459 | { ac_configure_args0=; unset ac_configure_args0;} | ||
2460 | { ac_configure_args1=; unset ac_configure_args1;} | ||
2461 | |||
2462 | # When interrupted or exit'd, cleanup temporary files, and complete | ||
2463 | # config.log. We remove comments because anyway the quotes in there | ||
2464 | # would cause problems or look ugly. | ||
2465 | # WARNING: Use '\'' to represent an apostrophe within the trap. | ||
2466 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | ||
2467 | trap 'exit_status=$? | ||
2468 | # Save into config.log some information that might help in debugging. | ||
2469 | { | ||
2470 | echo | ||
2471 | |||
2472 | cat <<\_ASBOX | ||
2473 | ## ---------------- ## | ||
2474 | ## Cache variables. ## | ||
2475 | ## ---------------- ## | ||
2476 | _ASBOX | ||
2477 | echo | ||
2478 | # The following way of writing the cache mishandles newlines in values, | ||
2479 | ( | ||
2480 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | ||
2481 | eval ac_val=\$$ac_var | ||
2482 | case $ac_val in #( | ||
2483 | *${as_nl}*) | ||
2484 | case $ac_var in #( | ||
2485 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | ||
2486 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | ||
2487 | esac | ||
2488 | case $ac_var in #( | ||
2489 | _ | IFS | as_nl) ;; #( | ||
2490 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | ||
2491 | *) { eval $ac_var=; unset $ac_var;} ;; | ||
2492 | esac ;; | ||
2493 | esac | ||
2494 | done | ||
2495 | (set) 2>&1 | | ||
2496 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | ||
2497 | *${as_nl}ac_space=\ *) | ||
2498 | sed -n \ | ||
2499 | "s/'\''/'\''\\\\'\'''\''/g; | ||
2500 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | ||
2501 | ;; #( | ||
2502 | *) | ||
2503 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | ||
2504 | ;; | ||
2505 | esac | | ||
2506 | sort | ||
2507 | ) | ||
2508 | echo | ||
2509 | |||
2510 | cat <<\_ASBOX | ||
2511 | ## ----------------- ## | ||
2512 | ## Output variables. ## | ||
2513 | ## ----------------- ## | ||
2514 | _ASBOX | ||
2515 | echo | ||
2516 | for ac_var in $ac_subst_vars | ||
2517 | do | ||
2518 | eval ac_val=\$$ac_var | ||
2519 | case $ac_val in | ||
2520 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
2521 | esac | ||
2522 | $as_echo "$ac_var='\''$ac_val'\''" | ||
2523 | done | sort | ||
2524 | echo | ||
2525 | |||
2526 | if test -n "$ac_subst_files"; then | ||
2527 | cat <<\_ASBOX | ||
2528 | ## ------------------- ## | ||
2529 | ## File substitutions. ## | ||
2530 | ## ------------------- ## | ||
2531 | _ASBOX | ||
2532 | echo | ||
2533 | for ac_var in $ac_subst_files | ||
2534 | do | ||
2535 | eval ac_val=\$$ac_var | ||
2536 | case $ac_val in | ||
2537 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | ||
2538 | esac | ||
2539 | $as_echo "$ac_var='\''$ac_val'\''" | ||
2540 | done | sort | ||
2541 | echo | ||
2542 | fi | ||
2543 | |||
2544 | if test -s confdefs.h; then | ||
2545 | cat <<\_ASBOX | ||
2546 | ## ----------- ## | ||
2547 | ## confdefs.h. ## | ||
2548 | ## ----------- ## | ||
2549 | _ASBOX | ||
2550 | echo | ||
2551 | cat confdefs.h | ||
2552 | echo | ||
2553 | fi | ||
2554 | test "$ac_signal" != 0 && | ||
2555 | $as_echo "$as_me: caught signal $ac_signal" | ||
2556 | $as_echo "$as_me: exit $exit_status" | ||
2557 | } >&5 | ||
2558 | rm -f core *.core core.conftest.* && | ||
2559 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | ||
2560 | exit $exit_status | ||
2561 | ' 0 | ||
2562 | for ac_signal in 1 2 13 15; do | ||
2563 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | ||
2564 | done | ||
2565 | ac_signal=0 | ||
2566 | |||
2567 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | ||
2568 | rm -f -r conftest* confdefs.h | ||
2569 | |||
2570 | $as_echo "/* confdefs.h */" > confdefs.h | ||
2571 | |||
2572 | # Predefined preprocessor variables. | ||
2573 | |||
2574 | cat >>confdefs.h <<_ACEOF | ||
2575 | #define PACKAGE_NAME "$PACKAGE_NAME" | ||
2576 | _ACEOF | ||
2577 | |||
2578 | cat >>confdefs.h <<_ACEOF | ||
2579 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | ||
2580 | _ACEOF | ||
2581 | |||
2582 | cat >>confdefs.h <<_ACEOF | ||
2583 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | ||
2584 | _ACEOF | ||
2585 | |||
2586 | cat >>confdefs.h <<_ACEOF | ||
2587 | #define PACKAGE_STRING "$PACKAGE_STRING" | ||
2588 | _ACEOF | ||
2589 | |||
2590 | cat >>confdefs.h <<_ACEOF | ||
2591 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | ||
2592 | _ACEOF | ||
2593 | |||
2594 | cat >>confdefs.h <<_ACEOF | ||
2595 | #define PACKAGE_URL "$PACKAGE_URL" | ||
2596 | _ACEOF | ||
2597 | |||
2598 | |||
2599 | # Let the site file select an alternate cache file if it wants to. | ||
2600 | # Prefer an explicitly selected file to automatically selected ones. | ||
2601 | ac_site_file1=NONE | ||
2602 | ac_site_file2=NONE | ||
2603 | if test -n "$CONFIG_SITE"; then | ||
2604 | ac_site_file1=$CONFIG_SITE | ||
2605 | elif test "x$prefix" != xNONE; then | ||
2606 | ac_site_file1=$prefix/share/config.site | ||
2607 | ac_site_file2=$prefix/etc/config.site | ||
2608 | else | ||
2609 | ac_site_file1=$ac_default_prefix/share/config.site | ||
2610 | ac_site_file2=$ac_default_prefix/etc/config.site | ||
2611 | fi | ||
2612 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | ||
2613 | do | ||
2614 | test "x$ac_site_file" = xNONE && continue | ||
2615 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | ||
2616 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | ||
2617 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | ||
2618 | sed 's/^/| /' "$ac_site_file" >&5 | ||
2619 | . "$ac_site_file" | ||
2620 | fi | ||
2621 | done | ||
2622 | |||
2623 | if test -r "$cache_file"; then | ||
2624 | # Some versions of bash will fail to source /dev/null (special files | ||
2625 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | ||
2626 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | ||
2627 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | ||
2628 | $as_echo "$as_me: loading cache $cache_file" >&6;} | ||
2629 | case $cache_file in | ||
2630 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | ||
2631 | *) . "./$cache_file";; | ||
2632 | esac | ||
2633 | fi | ||
2634 | else | ||
2635 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | ||
2636 | $as_echo "$as_me: creating cache $cache_file" >&6;} | ||
2637 | >$cache_file | ||
2638 | fi | ||
2639 | |||
2640 | # Check that the precious variables saved in the cache have kept the same | ||
2641 | # value. | ||
2642 | ac_cache_corrupted=false | ||
2643 | for ac_var in $ac_precious_vars; do | ||
2644 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | ||
2645 | eval ac_new_set=\$ac_env_${ac_var}_set | ||
2646 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | ||
2647 | eval ac_new_val=\$ac_env_${ac_var}_value | ||
2648 | case $ac_old_set,$ac_new_set in | ||
2649 | set,) | ||
2650 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | ||
2651 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | ||
2652 | ac_cache_corrupted=: ;; | ||
2653 | ,set) | ||
2654 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | ||
2655 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | ||
2656 | ac_cache_corrupted=: ;; | ||
2657 | ,);; | ||
2658 | *) | ||
2659 | if test "x$ac_old_val" != "x$ac_new_val"; then | ||
2660 | # differences in whitespace do not lead to failure. | ||
2661 | ac_old_val_w=`echo x $ac_old_val` | ||
2662 | ac_new_val_w=`echo x $ac_new_val` | ||
2663 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | ||
2664 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | ||
2665 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | ||
2666 | ac_cache_corrupted=: | ||
2667 | else | ||
2668 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | ||
2669 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | ||
2670 | eval $ac_var=\$ac_old_val | ||
2671 | fi | ||
2672 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | ||
2673 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | ||
2674 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | ||
2675 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | ||
2676 | fi;; | ||
2677 | esac | ||
2678 | # Pass precious variables to config.status. | ||
2679 | if test "$ac_new_set" = set; then | ||
2680 | case $ac_new_val in | ||
2681 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | ||
2682 | *) ac_arg=$ac_var=$ac_new_val ;; | ||
2683 | esac | ||
2684 | case " $ac_configure_args " in | ||
2685 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | ||
2686 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | ||
2687 | esac | ||
2688 | fi | ||
2689 | done | ||
2690 | if $ac_cache_corrupted; then | ||
2691 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
2692 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
2693 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | ||
2694 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | ||
2695 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | ||
2696 | fi | ||
2697 | ## -------------------- ## | ||
2698 | ## Main body of script. ## | ||
2699 | ## -------------------- ## | ||
2700 | |||
2701 | ac_ext=c | ||
2702 | ac_cpp='$CPP $CPPFLAGS' | ||
2703 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | ||
2704 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | ||
2705 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | ||
2706 | |||
2707 | |||
2708 | |||
2709 | ac_aux_dir= | ||
2710 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | ||
2711 | for ac_t in install-sh install.sh shtool; do | ||
2712 | if test -f "$ac_dir/$ac_t"; then | ||
2713 | ac_aux_dir=$ac_dir | ||
2714 | ac_install_sh="$ac_aux_dir/$ac_t -c" | ||
2715 | break 2 | ||
2716 | fi | ||
2717 | done | ||
2718 | done | ||
2719 | if test -z "$ac_aux_dir"; then | ||
2720 | as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | ||
2721 | fi | ||
2722 | |||
2723 | # These three variables are undocumented and unsupported, | ||
2724 | # and are intended to be withdrawn in a future Autoconf release. | ||
2725 | # They can cause serious problems if a builder's source tree is in a directory | ||
2726 | # whose full name contains unusual characters. | ||
2727 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | ||
2728 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | ||
2729 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | ||
2730 | |||
2731 | |||
2732 | # Make sure we can run config.sub. | ||
2733 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | ||
2734 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | ||
2735 | |||
2736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | ||
2737 | $as_echo_n "checking build system type... " >&6; } | ||
2738 | if test "${ac_cv_build+set}" = set; then : | ||
2739 | $as_echo_n "(cached) " >&6 | ||
2740 | else | ||
2741 | ac_build_alias=$build_alias | ||
2742 | test "x$ac_build_alias" = x && | ||
2743 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | ||
2744 | test "x$ac_build_alias" = x && | ||
2745 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | ||
2746 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | ||
2747 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | ||
2748 | |||
2749 | fi | ||
2750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | ||
2751 | $as_echo "$ac_cv_build" >&6; } | ||
2752 | case $ac_cv_build in | ||
2753 | *-*-*) ;; | ||
2754 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | ||
2755 | esac | ||
2756 | build=$ac_cv_build | ||
2757 | ac_save_IFS=$IFS; IFS='-' | ||
2758 | set x $ac_cv_build | ||
2759 | shift | ||
2760 | build_cpu=$1 | ||
2761 | build_vendor=$2 | ||
2762 | shift; shift | ||
2763 | # Remember, the first character of IFS is used to create $*, | ||
2764 | # except with old shells: | ||
2765 | build_os=$* | ||
2766 | IFS=$ac_save_IFS | ||
2767 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | ||
2768 | |||
2769 | |||
2770 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | ||
2771 | $as_echo_n "checking host system type... " >&6; } | ||
2772 | if test "${ac_cv_host+set}" = set; then : | ||
2773 | $as_echo_n "(cached) " >&6 | ||
2774 | else | ||
2775 | if test "x$host_alias" = x; then | ||
2776 | ac_cv_host=$ac_cv_build | ||
2777 | else | ||
2778 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | ||
2779 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | ||
2780 | fi | ||
2781 | |||
2782 | fi | ||
2783 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | ||
2784 | $as_echo "$ac_cv_host" >&6; } | ||
2785 | case $ac_cv_host in | ||
2786 | *-*-*) ;; | ||
2787 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | ||
2788 | esac | ||
2789 | host=$ac_cv_host | ||
2790 | ac_save_IFS=$IFS; IFS='-' | ||
2791 | set x $ac_cv_host | ||
2792 | shift | ||
2793 | host_cpu=$1 | ||
2794 | host_vendor=$2 | ||
2795 | shift; shift | ||
2796 | # Remember, the first character of IFS is used to create $*, | ||
2797 | # except with old shells: | ||
2798 | host_os=$* | ||
2799 | IFS=$ac_save_IFS | ||
2800 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | ||
2801 | |||
2802 | |||
2803 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | ||
2804 | $as_echo_n "checking target system type... " >&6; } | ||
2805 | if test "${ac_cv_target+set}" = set; then : | ||
2806 | $as_echo_n "(cached) " >&6 | ||
2807 | else | ||
2808 | if test "x$target_alias" = x; then | ||
2809 | ac_cv_target=$ac_cv_host | ||
2810 | else | ||
2811 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | ||
2812 | as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | ||
2813 | fi | ||
2814 | |||
2815 | fi | ||
2816 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | ||
2817 | $as_echo "$ac_cv_target" >&6; } | ||
2818 | case $ac_cv_target in | ||
2819 | *-*-*) ;; | ||
2820 | *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; | ||
2821 | esac | ||
2822 | target=$ac_cv_target | ||
2823 | ac_save_IFS=$IFS; IFS='-' | ||
2824 | set x $ac_cv_target | ||
2825 | shift | ||
2826 |