2009-09-23 Michael Eager <eager@eagercon.com>
[deliverable/binutils-gdb.git] / sim / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174 else
175 as_have_required=no
176 fi
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
179 else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
183 do
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
188 /*)
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
197 fi
198 fi
199 done;;
200 esac
201 as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
208
209
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219 fi
220
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227 else
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
232 fi
233 exit 1
234 fi
235 fi
236 fi
237 SHELL=${CONFIG_SHELL-/bin/sh}
238 export SHELL
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
242
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
250 {
251 { eval $1=; unset $1;}
252 }
253 as_unset=as_fn_unset
254
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
259 {
260 return $1
261 } # as_fn_set_status
262
263 # as_fn_exit STATUS
264 # -----------------
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266 as_fn_exit ()
267 {
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
272
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
277 {
278
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
298 q
299 }
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
302 q
303 }
304 /^X\(\/\/\)$/{
305 s//\1/
306 q
307 }
308 /^X\(\/\).*/{
309 s//\1/
310 q
311 }
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
318
319 } # as_fn_mkdir_p
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
325 # implementations.
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
328 {
329 eval $1+=\$2
330 }'
331 else
332 as_fn_append ()
333 {
334 eval $1=\$$1\$2
335 }
336 fi # as_fn_append
337
338 # as_fn_arith ARG...
339 # ------------------
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
345 {
346 as_val=$(( $* ))
347 }'
348 else
349 as_fn_arith ()
350 {
351 as_val=`expr "$@" || test $? -eq 1`
352 }
353 fi # as_fn_arith
354
355
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
361 as_fn_error ()
362 {
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367 fi
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
371
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
374 as_expr=expr
375 else
376 as_expr=false
377 fi
378
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
383 fi
384
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387 else
388 as_dirname=false
389 fi
390
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395 $as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
398 q
399 }
400 /^X\/\(\/\/\)$/{
401 s//\1/
402 q
403 }
404 /^X\/\(\/\).*/{
405 s//\1/
406 q
407 }
408 s/.*/./; q'`
409
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
416
417
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
424 p
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
430 b
431 :lineno
432 N
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435 t loop
436 s/-\n.*//
437 ' >$as_me.lineno &&
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
440
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
445 # Exit status is that of the last command.
446 exit
447 }
448
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
451 -n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
458 *)
459 ECHO_N='-n';;
460 esac
461
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
465 else
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
468 fi
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
471 as_ln_s='ln -s'
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
482 fi
483 else
484 as_ln_s='cp -p'
485 fi
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
488
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
491 else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
494 fi
495
496 if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498 else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
503 fi
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
515 '
516 fi
517 as_executable_p=$as_test_x
518
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
525
526 exec 7<&0 </dev/null 6>&1
527
528 # Name of the host.
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532
533 #
534 # Initializations.
535 #
536 ac_default_prefix=/usr/local
537 ac_clean_files=
538 ac_config_libobj_dir=.
539 LIBOBJS=
540 cross_compiling=no
541 subdirs=
542 MFLAGS=
543 MAKEFLAGS=
544
545 # Identity of this package.
546 PACKAGE_NAME=
547 PACKAGE_TARNAME=
548 PACKAGE_VERSION=
549 PACKAGE_STRING=
550 PACKAGE_BUGREPORT=
551 PACKAGE_URL=
552
553 ac_unique_file="Makefile.in"
554 enable_option_checking=no
555 ac_subst_vars='LTLIBOBJS
556 LIBOBJS
557 subdirs
558 CFLAGS_FOR_BUILD
559 CC_FOR_BUILD
560 HDEFINES
561 target_os
562 target_vendor
563 target_cpu
564 target
565 host_os
566 host_vendor
567 host_cpu
568 host
569 build_os
570 build_vendor
571 build_cpu
572 build
573 RANLIB
574 AR
575 INSTALL_DATA
576 INSTALL_SCRIPT
577 INSTALL_PROGRAM
578 OBJEXT
579 EXEEXT
580 ac_ct_CC
581 CPPFLAGS
582 LDFLAGS
583 CFLAGS
584 CC
585 target_alias
586 host_alias
587 build_alias
588 LIBS
589 ECHO_T
590 ECHO_N
591 ECHO_C
592 DEFS
593 mandir
594 localedir
595 libdir
596 psdir
597 pdfdir
598 dvidir
599 htmldir
600 infodir
601 docdir
602 oldincludedir
603 includedir
604 localstatedir
605 sharedstatedir
606 sysconfdir
607 datadir
608 datarootdir
609 libexecdir
610 sbindir
611 bindir
612 program_transform_name
613 prefix
614 exec_prefix
615 PACKAGE_URL
616 PACKAGE_BUGREPORT
617 PACKAGE_STRING
618 PACKAGE_VERSION
619 PACKAGE_TARNAME
620 PACKAGE_NAME
621 PATH_SEPARATOR
622 SHELL'
623 ac_subst_files=''
624 ac_user_opts='
625 enable_option_checking
626 enable_sim
627 '
628 ac_precious_vars='build_alias
629 host_alias
630 target_alias
631 CC
632 CFLAGS
633 LDFLAGS
634 LIBS
635 CPPFLAGS'
636 ac_subdirs_all='arm
637 avr
638 cr16
639 cris
640 d10v
641 frv
642 h8300
643 iq2000
644 lm32
645 m32c
646 m32r
647 m68hc11
648 mcore
649 microblaze
650 mips
651 mn10300
652 moxie
653 sh64
654 sh
655 erc32
656 ppc
657 v850
658 testsuite
659 common
660 igen'
661
662 # Initialize some variables set by options.
663 ac_init_help=
664 ac_init_version=false
665 ac_unrecognized_opts=
666 ac_unrecognized_sep=
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
669 cache_file=/dev/null
670 exec_prefix=NONE
671 no_create=
672 no_recursion=
673 prefix=NONE
674 program_prefix=NONE
675 program_suffix=NONE
676 program_transform_name=s,x,x,
677 silent=
678 site=
679 srcdir=
680 verbose=
681 x_includes=NONE
682 x_libraries=NONE
683
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir='${exec_prefix}/bin'
691 sbindir='${exec_prefix}/sbin'
692 libexecdir='${exec_prefix}/libexec'
693 datarootdir='${prefix}/share'
694 datadir='${datarootdir}'
695 sysconfdir='${prefix}/etc'
696 sharedstatedir='${prefix}/com'
697 localstatedir='${prefix}/var'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE}'
701 infodir='${datarootdir}/info'
702 htmldir='${docdir}'
703 dvidir='${docdir}'
704 pdfdir='${docdir}'
705 psdir='${docdir}'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
709
710 ac_prev=
711 ac_dashdash=
712 for ac_option
713 do
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
717 ac_prev=
718 continue
719 fi
720
721 case $ac_option in
722 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 *) ac_optarg=yes ;;
724 esac
725
726 # Accept the important Cygnus configure options, so we can diagnose typos.
727
728 case $ac_dashdash$ac_option in
729 --)
730 ac_dashdash=yes ;;
731
732 -bindir | --bindir | --bindi | --bind | --bin | --bi)
733 ac_prev=bindir ;;
734 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
735 bindir=$ac_optarg ;;
736
737 -build | --build | --buil | --bui | --bu)
738 ac_prev=build_alias ;;
739 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
740 build_alias=$ac_optarg ;;
741
742 -cache-file | --cache-file | --cache-fil | --cache-fi \
743 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
744 ac_prev=cache_file ;;
745 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
746 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
747 cache_file=$ac_optarg ;;
748
749 --config-cache | -C)
750 cache_file=config.cache ;;
751
752 -datadir | --datadir | --datadi | --datad)
753 ac_prev=datadir ;;
754 -datadir=* | --datadir=* | --datadi=* | --datad=*)
755 datadir=$ac_optarg ;;
756
757 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
758 | --dataroo | --dataro | --datar)
759 ac_prev=datarootdir ;;
760 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
761 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
762 datarootdir=$ac_optarg ;;
763
764 -disable-* | --disable-*)
765 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
766 # Reject names that are not valid shell variable names.
767 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
768 as_fn_error "invalid feature name: $ac_useropt"
769 ac_useropt_orig=$ac_useropt
770 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
771 case $ac_user_opts in
772 *"
773 "enable_$ac_useropt"
774 "*) ;;
775 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
776 ac_unrecognized_sep=', ';;
777 esac
778 eval enable_$ac_useropt=no ;;
779
780 -docdir | --docdir | --docdi | --doc | --do)
781 ac_prev=docdir ;;
782 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
783 docdir=$ac_optarg ;;
784
785 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
786 ac_prev=dvidir ;;
787 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
788 dvidir=$ac_optarg ;;
789
790 -enable-* | --enable-*)
791 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
792 # Reject names that are not valid shell variable names.
793 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
794 as_fn_error "invalid feature name: $ac_useropt"
795 ac_useropt_orig=$ac_useropt
796 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
797 case $ac_user_opts in
798 *"
799 "enable_$ac_useropt"
800 "*) ;;
801 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
802 ac_unrecognized_sep=', ';;
803 esac
804 eval enable_$ac_useropt=\$ac_optarg ;;
805
806 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
807 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
808 | --exec | --exe | --ex)
809 ac_prev=exec_prefix ;;
810 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
811 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
812 | --exec=* | --exe=* | --ex=*)
813 exec_prefix=$ac_optarg ;;
814
815 -gas | --gas | --ga | --g)
816 # Obsolete; use --with-gas.
817 with_gas=yes ;;
818
819 -help | --help | --hel | --he | -h)
820 ac_init_help=long ;;
821 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
822 ac_init_help=recursive ;;
823 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
824 ac_init_help=short ;;
825
826 -host | --host | --hos | --ho)
827 ac_prev=host_alias ;;
828 -host=* | --host=* | --hos=* | --ho=*)
829 host_alias=$ac_optarg ;;
830
831 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
832 ac_prev=htmldir ;;
833 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
834 | --ht=*)
835 htmldir=$ac_optarg ;;
836
837 -includedir | --includedir | --includedi | --included | --include \
838 | --includ | --inclu | --incl | --inc)
839 ac_prev=includedir ;;
840 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
841 | --includ=* | --inclu=* | --incl=* | --inc=*)
842 includedir=$ac_optarg ;;
843
844 -infodir | --infodir | --infodi | --infod | --info | --inf)
845 ac_prev=infodir ;;
846 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
847 infodir=$ac_optarg ;;
848
849 -libdir | --libdir | --libdi | --libd)
850 ac_prev=libdir ;;
851 -libdir=* | --libdir=* | --libdi=* | --libd=*)
852 libdir=$ac_optarg ;;
853
854 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
855 | --libexe | --libex | --libe)
856 ac_prev=libexecdir ;;
857 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
858 | --libexe=* | --libex=* | --libe=*)
859 libexecdir=$ac_optarg ;;
860
861 -localedir | --localedir | --localedi | --localed | --locale)
862 ac_prev=localedir ;;
863 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
864 localedir=$ac_optarg ;;
865
866 -localstatedir | --localstatedir | --localstatedi | --localstated \
867 | --localstate | --localstat | --localsta | --localst | --locals)
868 ac_prev=localstatedir ;;
869 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
870 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
871 localstatedir=$ac_optarg ;;
872
873 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
874 ac_prev=mandir ;;
875 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
876 mandir=$ac_optarg ;;
877
878 -nfp | --nfp | --nf)
879 # Obsolete; use --without-fp.
880 with_fp=no ;;
881
882 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
883 | --no-cr | --no-c | -n)
884 no_create=yes ;;
885
886 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
887 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
888 no_recursion=yes ;;
889
890 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
891 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
892 | --oldin | --oldi | --old | --ol | --o)
893 ac_prev=oldincludedir ;;
894 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
895 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
896 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
897 oldincludedir=$ac_optarg ;;
898
899 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
900 ac_prev=prefix ;;
901 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
902 prefix=$ac_optarg ;;
903
904 -program-prefix | --program-prefix | --program-prefi | --program-pref \
905 | --program-pre | --program-pr | --program-p)
906 ac_prev=program_prefix ;;
907 -program-prefix=* | --program-prefix=* | --program-prefi=* \
908 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
909 program_prefix=$ac_optarg ;;
910
911 -program-suffix | --program-suffix | --program-suffi | --program-suff \
912 | --program-suf | --program-su | --program-s)
913 ac_prev=program_suffix ;;
914 -program-suffix=* | --program-suffix=* | --program-suffi=* \
915 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
916 program_suffix=$ac_optarg ;;
917
918 -program-transform-name | --program-transform-name \
919 | --program-transform-nam | --program-transform-na \
920 | --program-transform-n | --program-transform- \
921 | --program-transform | --program-transfor \
922 | --program-transfo | --program-transf \
923 | --program-trans | --program-tran \
924 | --progr-tra | --program-tr | --program-t)
925 ac_prev=program_transform_name ;;
926 -program-transform-name=* | --program-transform-name=* \
927 | --program-transform-nam=* | --program-transform-na=* \
928 | --program-transform-n=* | --program-transform-=* \
929 | --program-transform=* | --program-transfor=* \
930 | --program-transfo=* | --program-transf=* \
931 | --program-trans=* | --program-tran=* \
932 | --progr-tra=* | --program-tr=* | --program-t=*)
933 program_transform_name=$ac_optarg ;;
934
935 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
936 ac_prev=pdfdir ;;
937 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
938 pdfdir=$ac_optarg ;;
939
940 -psdir | --psdir | --psdi | --psd | --ps)
941 ac_prev=psdir ;;
942 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
943 psdir=$ac_optarg ;;
944
945 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
946 | -silent | --silent | --silen | --sile | --sil)
947 silent=yes ;;
948
949 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
950 ac_prev=sbindir ;;
951 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
952 | --sbi=* | --sb=*)
953 sbindir=$ac_optarg ;;
954
955 -sharedstatedir | --sharedstatedir | --sharedstatedi \
956 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
957 | --sharedst | --shareds | --shared | --share | --shar \
958 | --sha | --sh)
959 ac_prev=sharedstatedir ;;
960 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
961 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
962 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
963 | --sha=* | --sh=*)
964 sharedstatedir=$ac_optarg ;;
965
966 -site | --site | --sit)
967 ac_prev=site ;;
968 -site=* | --site=* | --sit=*)
969 site=$ac_optarg ;;
970
971 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
972 ac_prev=srcdir ;;
973 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
974 srcdir=$ac_optarg ;;
975
976 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
977 | --syscon | --sysco | --sysc | --sys | --sy)
978 ac_prev=sysconfdir ;;
979 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
980 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
981 sysconfdir=$ac_optarg ;;
982
983 -target | --target | --targe | --targ | --tar | --ta | --t)
984 ac_prev=target_alias ;;
985 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
986 target_alias=$ac_optarg ;;
987
988 -v | -verbose | --verbose | --verbos | --verbo | --verb)
989 verbose=yes ;;
990
991 -version | --version | --versio | --versi | --vers | -V)
992 ac_init_version=: ;;
993
994 -with-* | --with-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error "invalid package name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1002 *"
1003 "with_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval with_$ac_useropt=\$ac_optarg ;;
1009
1010 -without-* | --without-*)
1011 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1012 # Reject names that are not valid shell variable names.
1013 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1014 as_fn_error "invalid package name: $ac_useropt"
1015 ac_useropt_orig=$ac_useropt
1016 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1017 case $ac_user_opts in
1018 *"
1019 "with_$ac_useropt"
1020 "*) ;;
1021 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1022 ac_unrecognized_sep=', ';;
1023 esac
1024 eval with_$ac_useropt=no ;;
1025
1026 --x)
1027 # Obsolete; use --with-x.
1028 with_x=yes ;;
1029
1030 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1031 | --x-incl | --x-inc | --x-in | --x-i)
1032 ac_prev=x_includes ;;
1033 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1034 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1035 x_includes=$ac_optarg ;;
1036
1037 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1038 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1039 ac_prev=x_libraries ;;
1040 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1041 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1042 x_libraries=$ac_optarg ;;
1043
1044 -*) as_fn_error "unrecognized option: \`$ac_option'
1045 Try \`$0 --help' for more information."
1046 ;;
1047
1048 *=*)
1049 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1050 # Reject names that are not valid shell variable names.
1051 case $ac_envvar in #(
1052 '' | [0-9]* | *[!_$as_cr_alnum]* )
1053 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1054 esac
1055 eval $ac_envvar=\$ac_optarg
1056 export $ac_envvar ;;
1057
1058 *)
1059 # FIXME: should be removed in autoconf 3.0.
1060 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1061 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1062 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1063 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1064 ;;
1065
1066 esac
1067 done
1068
1069 if test -n "$ac_prev"; then
1070 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1071 as_fn_error "missing argument to $ac_option"
1072 fi
1073
1074 if test -n "$ac_unrecognized_opts"; then
1075 case $enable_option_checking in
1076 no) ;;
1077 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1078 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1079 esac
1080 fi
1081
1082 # Check all directory arguments for consistency.
1083 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1084 datadir sysconfdir sharedstatedir localstatedir includedir \
1085 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1086 libdir localedir mandir
1087 do
1088 eval ac_val=\$$ac_var
1089 # Remove trailing slashes.
1090 case $ac_val in
1091 */ )
1092 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1093 eval $ac_var=\$ac_val;;
1094 esac
1095 # Be sure to have absolute directory names.
1096 case $ac_val in
1097 [\\/$]* | ?:[\\/]* ) continue;;
1098 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1099 esac
1100 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1101 done
1102
1103 # There might be people who depend on the old broken behavior: `$host'
1104 # used to hold the argument of --host etc.
1105 # FIXME: To remove some day.
1106 build=$build_alias
1107 host=$host_alias
1108 target=$target_alias
1109
1110 # FIXME: To remove some day.
1111 if test "x$host_alias" != x; then
1112 if test "x$build_alias" = x; then
1113 cross_compiling=maybe
1114 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1115 If a cross compiler is detected then cross compile mode will be used." >&2
1116 elif test "x$build_alias" != "x$host_alias"; then
1117 cross_compiling=yes
1118 fi
1119 fi
1120
1121 ac_tool_prefix=
1122 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1123
1124 test "$silent" = yes && exec 6>/dev/null
1125
1126
1127 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1128 ac_ls_di=`ls -di .` &&
1129 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1130 as_fn_error "working directory cannot be determined"
1131 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1132 as_fn_error "pwd does not report name of working directory"
1133
1134
1135 # Find the source files, if location was not specified.
1136 if test -z "$srcdir"; then
1137 ac_srcdir_defaulted=yes
1138 # Try the directory containing this script, then the parent directory.
1139 ac_confdir=`$as_dirname -- "$as_myself" ||
1140 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1141 X"$as_myself" : 'X\(//\)[^/]' \| \
1142 X"$as_myself" : 'X\(//\)$' \| \
1143 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1144 $as_echo X"$as_myself" |
1145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1146 s//\1/
1147 q
1148 }
1149 /^X\(\/\/\)[^/].*/{
1150 s//\1/
1151 q
1152 }
1153 /^X\(\/\/\)$/{
1154 s//\1/
1155 q
1156 }
1157 /^X\(\/\).*/{
1158 s//\1/
1159 q
1160 }
1161 s/.*/./; q'`
1162 srcdir=$ac_confdir
1163 if test ! -r "$srcdir/$ac_unique_file"; then
1164 srcdir=..
1165 fi
1166 else
1167 ac_srcdir_defaulted=no
1168 fi
1169 if test ! -r "$srcdir/$ac_unique_file"; then
1170 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1171 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1172 fi
1173 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1174 ac_abs_confdir=`(
1175 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1176 pwd)`
1177 # When building in place, set srcdir=.
1178 if test "$ac_abs_confdir" = "$ac_pwd"; then
1179 srcdir=.
1180 fi
1181 # Remove unnecessary trailing slashes from srcdir.
1182 # Double slashes in file names in object file debugging info
1183 # mess up M-x gdb in Emacs.
1184 case $srcdir in
1185 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1186 esac
1187 for ac_var in $ac_precious_vars; do
1188 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1189 eval ac_env_${ac_var}_value=\$${ac_var}
1190 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1191 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1192 done
1193
1194 #
1195 # Report the --help message.
1196 #
1197 if test "$ac_init_help" = "long"; then
1198 # Omit some internal or obsolete options to make the list less imposing.
1199 # This message is too long to be a string in the A/UX 3.1 sh.
1200 cat <<_ACEOF
1201 \`configure' configures this package to adapt to many kinds of systems.
1202
1203 Usage: $0 [OPTION]... [VAR=VALUE]...
1204
1205 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1206 VAR=VALUE. See below for descriptions of some of the useful variables.
1207
1208 Defaults for the options are specified in brackets.
1209
1210 Configuration:
1211 -h, --help display this help and exit
1212 --help=short display options specific to this package
1213 --help=recursive display the short help of all the included packages
1214 -V, --version display version information and exit
1215 -q, --quiet, --silent do not print \`checking...' messages
1216 --cache-file=FILE cache test results in FILE [disabled]
1217 -C, --config-cache alias for \`--cache-file=config.cache'
1218 -n, --no-create do not create output files
1219 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1220
1221 Installation directories:
1222 --prefix=PREFIX install architecture-independent files in PREFIX
1223 [$ac_default_prefix]
1224 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1225 [PREFIX]
1226
1227 By default, \`make install' will install all the files in
1228 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1229 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1230 for instance \`--prefix=\$HOME'.
1231
1232 For better control, use the options below.
1233
1234 Fine tuning of the installation directories:
1235 --bindir=DIR user executables [EPREFIX/bin]
1236 --sbindir=DIR system admin executables [EPREFIX/sbin]
1237 --libexecdir=DIR program executables [EPREFIX/libexec]
1238 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1239 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1240 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1241 --libdir=DIR object code libraries [EPREFIX/lib]
1242 --includedir=DIR C header files [PREFIX/include]
1243 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1244 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1245 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1246 --infodir=DIR info documentation [DATAROOTDIR/info]
1247 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1248 --mandir=DIR man documentation [DATAROOTDIR/man]
1249 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1250 --htmldir=DIR html documentation [DOCDIR]
1251 --dvidir=DIR dvi documentation [DOCDIR]
1252 --pdfdir=DIR pdf documentation [DOCDIR]
1253 --psdir=DIR ps documentation [DOCDIR]
1254 _ACEOF
1255
1256 cat <<\_ACEOF
1257
1258 Program names:
1259 --program-prefix=PREFIX prepend PREFIX to installed program names
1260 --program-suffix=SUFFIX append SUFFIX to installed program names
1261 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1262
1263 System types:
1264 --build=BUILD configure for building on BUILD [guessed]
1265 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1266 --target=TARGET configure for building compilers for TARGET [HOST]
1267 _ACEOF
1268 fi
1269
1270 if test -n "$ac_init_help"; then
1271
1272 cat <<\_ACEOF
1273
1274 Optional Features:
1275 --disable-option-checking ignore unrecognized --enable/--with options
1276 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1277 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1278 --enable-sim
1279
1280 Some influential environment variables:
1281 CC C compiler command
1282 CFLAGS C compiler flags
1283 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1284 nonstandard directory <lib dir>
1285 LIBS libraries to pass to the linker, e.g. -l<library>
1286 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1287 you have headers in a nonstandard directory <include dir>
1288
1289 Use these variables to override the choices made by `configure' or to help
1290 it to find libraries and programs with nonstandard names/locations.
1291
1292 Report bugs to the package provider.
1293 _ACEOF
1294 ac_status=$?
1295 fi
1296
1297 if test "$ac_init_help" = "recursive"; then
1298 # If there are subdirs, report their specific --help.
1299 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1300 test -d "$ac_dir" ||
1301 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1302 continue
1303 ac_builddir=.
1304
1305 case "$ac_dir" in
1306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1307 *)
1308 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1309 # A ".." for each directory in $ac_dir_suffix.
1310 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1311 case $ac_top_builddir_sub in
1312 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1313 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1314 esac ;;
1315 esac
1316 ac_abs_top_builddir=$ac_pwd
1317 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1318 # for backward compatibility:
1319 ac_top_builddir=$ac_top_build_prefix
1320
1321 case $srcdir in
1322 .) # We are building in place.
1323 ac_srcdir=.
1324 ac_top_srcdir=$ac_top_builddir_sub
1325 ac_abs_top_srcdir=$ac_pwd ;;
1326 [\\/]* | ?:[\\/]* ) # Absolute name.
1327 ac_srcdir=$srcdir$ac_dir_suffix;
1328 ac_top_srcdir=$srcdir
1329 ac_abs_top_srcdir=$srcdir ;;
1330 *) # Relative name.
1331 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1332 ac_top_srcdir=$ac_top_build_prefix$srcdir
1333 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1334 esac
1335 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1336
1337 cd "$ac_dir" || { ac_status=$?; continue; }
1338 # Check for guested configure.
1339 if test -f "$ac_srcdir/configure.gnu"; then
1340 echo &&
1341 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1342 elif test -f "$ac_srcdir/configure"; then
1343 echo &&
1344 $SHELL "$ac_srcdir/configure" --help=recursive
1345 else
1346 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1347 fi || ac_status=$?
1348 cd "$ac_pwd" || { ac_status=$?; break; }
1349 done
1350 fi
1351
1352 test -n "$ac_init_help" && exit $ac_status
1353 if $ac_init_version; then
1354 cat <<\_ACEOF
1355 configure
1356 generated by GNU Autoconf 2.64
1357
1358 Copyright (C) 2009 Free Software Foundation, Inc.
1359 This configure script is free software; the Free Software Foundation
1360 gives unlimited permission to copy, distribute and modify it.
1361 _ACEOF
1362 exit
1363 fi
1364
1365 ## ------------------------ ##
1366 ## Autoconf initialization. ##
1367 ## ------------------------ ##
1368
1369 # ac_fn_c_try_compile LINENO
1370 # --------------------------
1371 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1372 ac_fn_c_try_compile ()
1373 {
1374 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1375 rm -f conftest.$ac_objext
1376 if { { ac_try="$ac_compile"
1377 case "(($ac_try" in
1378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1379 *) ac_try_echo=$ac_try;;
1380 esac
1381 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1382 $as_echo "$ac_try_echo"; } >&5
1383 (eval "$ac_compile") 2>conftest.err
1384 ac_status=$?
1385 if test -s conftest.err; then
1386 grep -v '^ *+' conftest.err >conftest.er1
1387 cat conftest.er1 >&5
1388 mv -f conftest.er1 conftest.err
1389 fi
1390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1391 test $ac_status = 0; } && {
1392 test -z "$ac_c_werror_flag" ||
1393 test ! -s conftest.err
1394 } && test -s conftest.$ac_objext; then :
1395 ac_retval=0
1396 else
1397 $as_echo "$as_me: failed program was:" >&5
1398 sed 's/^/| /' conftest.$ac_ext >&5
1399
1400 ac_retval=1
1401 fi
1402 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1403 return $ac_retval
1404
1405 } # ac_fn_c_try_compile
1406 cat >config.log <<_ACEOF
1407 This file contains any messages produced by compilers while
1408 running configure, to aid debugging if configure makes a mistake.
1409
1410 It was created by $as_me, which was
1411 generated by GNU Autoconf 2.64. Invocation command line was
1412
1413 $ $0 $@
1414
1415 _ACEOF
1416 exec 5>>config.log
1417 {
1418 cat <<_ASUNAME
1419 ## --------- ##
1420 ## Platform. ##
1421 ## --------- ##
1422
1423 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1424 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1425 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1426 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1427 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1428
1429 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1430 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1431
1432 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1433 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1434 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1435 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1436 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1437 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1438 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1439
1440 _ASUNAME
1441
1442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1443 for as_dir in $PATH
1444 do
1445 IFS=$as_save_IFS
1446 test -z "$as_dir" && as_dir=.
1447 $as_echo "PATH: $as_dir"
1448 done
1449 IFS=$as_save_IFS
1450
1451 } >&5
1452
1453 cat >&5 <<_ACEOF
1454
1455
1456 ## ----------- ##
1457 ## Core tests. ##
1458 ## ----------- ##
1459
1460 _ACEOF
1461
1462
1463 # Keep a trace of the command line.
1464 # Strip out --no-create and --no-recursion so they do not pile up.
1465 # Strip out --silent because we don't want to record it for future runs.
1466 # Also quote any args containing shell meta-characters.
1467 # Make two passes to allow for proper duplicate-argument suppression.
1468 ac_configure_args=
1469 ac_configure_args0=
1470 ac_configure_args1=
1471 ac_must_keep_next=false
1472 for ac_pass in 1 2
1473 do
1474 for ac_arg
1475 do
1476 case $ac_arg in
1477 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1479 | -silent | --silent | --silen | --sile | --sil)
1480 continue ;;
1481 *\'*)
1482 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1483 esac
1484 case $ac_pass in
1485 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1486 2)
1487 as_fn_append ac_configure_args1 " '$ac_arg'"
1488 if test $ac_must_keep_next = true; then
1489 ac_must_keep_next=false # Got value, back to normal.
1490 else
1491 case $ac_arg in
1492 *=* | --config-cache | -C | -disable-* | --disable-* \
1493 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1494 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1495 | -with-* | --with-* | -without-* | --without-* | --x)
1496 case "$ac_configure_args0 " in
1497 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1498 esac
1499 ;;
1500 -* ) ac_must_keep_next=true ;;
1501 esac
1502 fi
1503 as_fn_append ac_configure_args " '$ac_arg'"
1504 ;;
1505 esac
1506 done
1507 done
1508 { ac_configure_args0=; unset ac_configure_args0;}
1509 { ac_configure_args1=; unset ac_configure_args1;}
1510
1511 # When interrupted or exit'd, cleanup temporary files, and complete
1512 # config.log. We remove comments because anyway the quotes in there
1513 # would cause problems or look ugly.
1514 # WARNING: Use '\'' to represent an apostrophe within the trap.
1515 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1516 trap 'exit_status=$?
1517 # Save into config.log some information that might help in debugging.
1518 {
1519 echo
1520
1521 cat <<\_ASBOX
1522 ## ---------------- ##
1523 ## Cache variables. ##
1524 ## ---------------- ##
1525 _ASBOX
1526 echo
1527 # The following way of writing the cache mishandles newlines in values,
1528 (
1529 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1530 eval ac_val=\$$ac_var
1531 case $ac_val in #(
1532 *${as_nl}*)
1533 case $ac_var in #(
1534 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1535 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1536 esac
1537 case $ac_var in #(
1538 _ | IFS | as_nl) ;; #(
1539 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1540 *) { eval $ac_var=; unset $ac_var;} ;;
1541 esac ;;
1542 esac
1543 done
1544 (set) 2>&1 |
1545 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1546 *${as_nl}ac_space=\ *)
1547 sed -n \
1548 "s/'\''/'\''\\\\'\'''\''/g;
1549 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1550 ;; #(
1551 *)
1552 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1553 ;;
1554 esac |
1555 sort
1556 )
1557 echo
1558
1559 cat <<\_ASBOX
1560 ## ----------------- ##
1561 ## Output variables. ##
1562 ## ----------------- ##
1563 _ASBOX
1564 echo
1565 for ac_var in $ac_subst_vars
1566 do
1567 eval ac_val=\$$ac_var
1568 case $ac_val in
1569 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1570 esac
1571 $as_echo "$ac_var='\''$ac_val'\''"
1572 done | sort
1573 echo
1574
1575 if test -n "$ac_subst_files"; then
1576 cat <<\_ASBOX
1577 ## ------------------- ##
1578 ## File substitutions. ##
1579 ## ------------------- ##
1580 _ASBOX
1581 echo
1582 for ac_var in $ac_subst_files
1583 do
1584 eval ac_val=\$$ac_var
1585 case $ac_val in
1586 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1587 esac
1588 $as_echo "$ac_var='\''$ac_val'\''"
1589 done | sort
1590 echo
1591 fi
1592
1593 if test -s confdefs.h; then
1594 cat <<\_ASBOX
1595 ## ----------- ##
1596 ## confdefs.h. ##
1597 ## ----------- ##
1598 _ASBOX
1599 echo
1600 cat confdefs.h
1601 echo
1602 fi
1603 test "$ac_signal" != 0 &&
1604 $as_echo "$as_me: caught signal $ac_signal"
1605 $as_echo "$as_me: exit $exit_status"
1606 } >&5
1607 rm -f core *.core core.conftest.* &&
1608 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1609 exit $exit_status
1610 ' 0
1611 for ac_signal in 1 2 13 15; do
1612 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1613 done
1614 ac_signal=0
1615
1616 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1617 rm -f -r conftest* confdefs.h
1618
1619 $as_echo "/* confdefs.h */" > confdefs.h
1620
1621 # Predefined preprocessor variables.
1622
1623 cat >>confdefs.h <<_ACEOF
1624 #define PACKAGE_NAME "$PACKAGE_NAME"
1625 _ACEOF
1626
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1629 _ACEOF
1630
1631 cat >>confdefs.h <<_ACEOF
1632 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1633 _ACEOF
1634
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_STRING "$PACKAGE_STRING"
1637 _ACEOF
1638
1639 cat >>confdefs.h <<_ACEOF
1640 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1641 _ACEOF
1642
1643 cat >>confdefs.h <<_ACEOF
1644 #define PACKAGE_URL "$PACKAGE_URL"
1645 _ACEOF
1646
1647
1648 # Let the site file select an alternate cache file if it wants to.
1649 # Prefer an explicitly selected file to automatically selected ones.
1650 ac_site_file1=NONE
1651 ac_site_file2=NONE
1652 if test -n "$CONFIG_SITE"; then
1653 ac_site_file1=$CONFIG_SITE
1654 elif test "x$prefix" != xNONE; then
1655 ac_site_file1=$prefix/share/config.site
1656 ac_site_file2=$prefix/etc/config.site
1657 else
1658 ac_site_file1=$ac_default_prefix/share/config.site
1659 ac_site_file2=$ac_default_prefix/etc/config.site
1660 fi
1661 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1662 do
1663 test "x$ac_site_file" = xNONE && continue
1664 if test -r "$ac_site_file"; then
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1666 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1667 sed 's/^/| /' "$ac_site_file" >&5
1668 . "$ac_site_file"
1669 fi
1670 done
1671
1672 if test -r "$cache_file"; then
1673 # Some versions of bash will fail to source /dev/null (special
1674 # files actually), so we avoid doing that.
1675 if test -f "$cache_file"; then
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1677 $as_echo "$as_me: loading cache $cache_file" >&6;}
1678 case $cache_file in
1679 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1680 *) . "./$cache_file";;
1681 esac
1682 fi
1683 else
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1685 $as_echo "$as_me: creating cache $cache_file" >&6;}
1686 >$cache_file
1687 fi
1688
1689 # Check that the precious variables saved in the cache have kept the same
1690 # value.
1691 ac_cache_corrupted=false
1692 for ac_var in $ac_precious_vars; do
1693 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1694 eval ac_new_set=\$ac_env_${ac_var}_set
1695 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1696 eval ac_new_val=\$ac_env_${ac_var}_value
1697 case $ac_old_set,$ac_new_set in
1698 set,)
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1700 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1701 ac_cache_corrupted=: ;;
1702 ,set)
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1704 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1705 ac_cache_corrupted=: ;;
1706 ,);;
1707 *)
1708 if test "x$ac_old_val" != "x$ac_new_val"; then
1709 # differences in whitespace do not lead to failure.
1710 ac_old_val_w=`echo x $ac_old_val`
1711 ac_new_val_w=`echo x $ac_new_val`
1712 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1714 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1715 ac_cache_corrupted=:
1716 else
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1718 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1719 eval $ac_var=\$ac_old_val
1720 fi
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1722 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1724 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1725 fi;;
1726 esac
1727 # Pass precious variables to config.status.
1728 if test "$ac_new_set" = set; then
1729 case $ac_new_val in
1730 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1731 *) ac_arg=$ac_var=$ac_new_val ;;
1732 esac
1733 case " $ac_configure_args " in
1734 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1735 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1736 esac
1737 fi
1738 done
1739 if $ac_cache_corrupted; then
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1743 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1744 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1745 fi
1746 ## -------------------- ##
1747 ## Main body of script. ##
1748 ## -------------------- ##
1749
1750 ac_ext=c
1751 ac_cpp='$CPP $CPPFLAGS'
1752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1755
1756
1757
1758
1759
1760
1761 ac_ext=c
1762 ac_cpp='$CPP $CPPFLAGS'
1763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1766 if test -n "$ac_tool_prefix"; then
1767 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1768 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1770 $as_echo_n "checking for $ac_word... " >&6; }
1771 if test "${ac_cv_prog_CC+set}" = set; then :
1772 $as_echo_n "(cached) " >&6
1773 else
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC="$CC" # Let the user override the test.
1776 else
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1779 do
1780 IFS=$as_save_IFS
1781 test -z "$as_dir" && as_dir=.
1782 for ac_exec_ext in '' $ac_executable_extensions; do
1783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1784 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 break 2
1787 fi
1788 done
1789 done
1790 IFS=$as_save_IFS
1791
1792 fi
1793 fi
1794 CC=$ac_cv_prog_CC
1795 if test -n "$CC"; then
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1797 $as_echo "$CC" >&6; }
1798 else
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1800 $as_echo "no" >&6; }
1801 fi
1802
1803
1804 fi
1805 if test -z "$ac_cv_prog_CC"; then
1806 ac_ct_CC=$CC
1807 # Extract the first word of "gcc", so it can be a program name with args.
1808 set dummy gcc; ac_word=$2
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1810 $as_echo_n "checking for $ac_word... " >&6; }
1811 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1812 $as_echo_n "(cached) " >&6
1813 else
1814 if test -n "$ac_ct_CC"; then
1815 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1816 else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1819 do
1820 IFS=$as_save_IFS
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1824 ac_cv_prog_ac_ct_CC="gcc"
1825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1826 break 2
1827 fi
1828 done
1829 done
1830 IFS=$as_save_IFS
1831
1832 fi
1833 fi
1834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1835 if test -n "$ac_ct_CC"; then
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1837 $as_echo "$ac_ct_CC" >&6; }
1838 else
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1840 $as_echo "no" >&6; }
1841 fi
1842
1843 if test "x$ac_ct_CC" = x; then
1844 CC=""
1845 else
1846 case $cross_compiling:$ac_tool_warned in
1847 yes:)
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1850 ac_tool_warned=yes ;;
1851 esac
1852 CC=$ac_ct_CC
1853 fi
1854 else
1855 CC="$ac_cv_prog_CC"
1856 fi
1857
1858 if test -z "$CC"; then
1859 if test -n "$ac_tool_prefix"; then
1860 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1861 set dummy ${ac_tool_prefix}cc; ac_word=$2
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1863 $as_echo_n "checking for $ac_word... " >&6; }
1864 if test "${ac_cv_prog_CC+set}" = set; then :
1865 $as_echo_n "(cached) " >&6
1866 else
1867 if test -n "$CC"; then
1868 ac_cv_prog_CC="$CC" # Let the user override the test.
1869 else
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 for as_dir in $PATH
1872 do
1873 IFS=$as_save_IFS
1874 test -z "$as_dir" && as_dir=.
1875 for ac_exec_ext in '' $ac_executable_extensions; do
1876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1877 ac_cv_prog_CC="${ac_tool_prefix}cc"
1878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1879 break 2
1880 fi
1881 done
1882 done
1883 IFS=$as_save_IFS
1884
1885 fi
1886 fi
1887 CC=$ac_cv_prog_CC
1888 if test -n "$CC"; then
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1890 $as_echo "$CC" >&6; }
1891 else
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1893 $as_echo "no" >&6; }
1894 fi
1895
1896
1897 fi
1898 fi
1899 if test -z "$CC"; then
1900 # Extract the first word of "cc", so it can be a program name with args.
1901 set dummy cc; ac_word=$2
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1903 $as_echo_n "checking for $ac_word... " >&6; }
1904 if test "${ac_cv_prog_CC+set}" = set; then :
1905 $as_echo_n "(cached) " >&6
1906 else
1907 if test -n "$CC"; then
1908 ac_cv_prog_CC="$CC" # Let the user override the test.
1909 else
1910 ac_prog_rejected=no
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 for as_dir in $PATH
1913 do
1914 IFS=$as_save_IFS
1915 test -z "$as_dir" && as_dir=.
1916 for ac_exec_ext in '' $ac_executable_extensions; do
1917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1919 ac_prog_rejected=yes
1920 continue
1921 fi
1922 ac_cv_prog_CC="cc"
1923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1924 break 2
1925 fi
1926 done
1927 done
1928 IFS=$as_save_IFS
1929
1930 if test $ac_prog_rejected = yes; then
1931 # We found a bogon in the path, so make sure we never use it.
1932 set dummy $ac_cv_prog_CC
1933 shift
1934 if test $# != 0; then
1935 # We chose a different compiler from the bogus one.
1936 # However, it has the same basename, so the bogon will be chosen
1937 # first if we set CC to just the basename; use the full file name.
1938 shift
1939 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1940 fi
1941 fi
1942 fi
1943 fi
1944 CC=$ac_cv_prog_CC
1945 if test -n "$CC"; then
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1947 $as_echo "$CC" >&6; }
1948 else
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1950 $as_echo "no" >&6; }
1951 fi
1952
1953
1954 fi
1955 if test -z "$CC"; then
1956 if test -n "$ac_tool_prefix"; then
1957 for ac_prog in cl.exe
1958 do
1959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1962 $as_echo_n "checking for $ac_word... " >&6; }
1963 if test "${ac_cv_prog_CC+set}" = set; then :
1964 $as_echo_n "(cached) " >&6
1965 else
1966 if test -n "$CC"; then
1967 ac_cv_prog_CC="$CC" # Let the user override the test.
1968 else
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 for as_dir in $PATH
1971 do
1972 IFS=$as_save_IFS
1973 test -z "$as_dir" && as_dir=.
1974 for ac_exec_ext in '' $ac_executable_extensions; do
1975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1976 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1978 break 2
1979 fi
1980 done
1981 done
1982 IFS=$as_save_IFS
1983
1984 fi
1985 fi
1986 CC=$ac_cv_prog_CC
1987 if test -n "$CC"; then
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1989 $as_echo "$CC" >&6; }
1990 else
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992 $as_echo "no" >&6; }
1993 fi
1994
1995
1996 test -n "$CC" && break
1997 done
1998 fi
1999 if test -z "$CC"; then
2000 ac_ct_CC=$CC
2001 for ac_prog in cl.exe
2002 do
2003 # Extract the first word of "$ac_prog", so it can be a program name with args.
2004 set dummy $ac_prog; ac_word=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2008 $as_echo_n "(cached) " >&6
2009 else
2010 if test -n "$ac_ct_CC"; then
2011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2012 else
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014 for as_dir in $PATH
2015 do
2016 IFS=$as_save_IFS
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_ac_ct_CC="$ac_prog"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2022 break 2
2023 fi
2024 done
2025 done
2026 IFS=$as_save_IFS
2027
2028 fi
2029 fi
2030 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2031 if test -n "$ac_ct_CC"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2033 $as_echo "$ac_ct_CC" >&6; }
2034 else
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2037 fi
2038
2039
2040 test -n "$ac_ct_CC" && break
2041 done
2042
2043 if test "x$ac_ct_CC" = x; then
2044 CC=""
2045 else
2046 case $cross_compiling:$ac_tool_warned in
2047 yes:)
2048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2050 ac_tool_warned=yes ;;
2051 esac
2052 CC=$ac_ct_CC
2053 fi
2054 fi
2055
2056 fi
2057
2058
2059 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061 as_fn_error "no acceptable C compiler found in \$PATH
2062 See \`config.log' for more details." "$LINENO" 5; }
2063
2064 # Provide some information about the compiler.
2065 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2066 set X $ac_compile
2067 ac_compiler=$2
2068 for ac_option in --version -v -V -qversion; do
2069 { { ac_try="$ac_compiler $ac_option >&5"
2070 case "(($ac_try" in
2071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2072 *) ac_try_echo=$ac_try;;
2073 esac
2074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2075 $as_echo "$ac_try_echo"; } >&5
2076 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2077 ac_status=$?
2078 if test -s conftest.err; then
2079 sed '10a\
2080 ... rest of stderr output deleted ...
2081 10q' conftest.err >conftest.er1
2082 cat conftest.er1 >&5
2083 rm -f conftest.er1 conftest.err
2084 fi
2085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2086 test $ac_status = 0; }
2087 done
2088
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2091
2092 int
2093 main ()
2094 {
2095
2096 ;
2097 return 0;
2098 }
2099 _ACEOF
2100 ac_clean_files_save=$ac_clean_files
2101 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2102 # Try to create an executable without -o first, disregard a.out.
2103 # It will help us diagnose broken compilers, and finding out an intuition
2104 # of exeext.
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2106 $as_echo_n "checking for C compiler default output file name... " >&6; }
2107 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2108
2109 # The possible output files:
2110 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2111
2112 ac_rmfiles=
2113 for ac_file in $ac_files
2114 do
2115 case $ac_file in
2116 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2117 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2118 esac
2119 done
2120 rm -f $ac_rmfiles
2121
2122 if { { ac_try="$ac_link_default"
2123 case "(($ac_try" in
2124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2125 *) ac_try_echo=$ac_try;;
2126 esac
2127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2128 $as_echo "$ac_try_echo"; } >&5
2129 (eval "$ac_link_default") 2>&5
2130 ac_status=$?
2131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2132 test $ac_status = 0; }; then :
2133 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2134 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2135 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2136 # so that the user can short-circuit this test for compilers unknown to
2137 # Autoconf.
2138 for ac_file in $ac_files ''
2139 do
2140 test -f "$ac_file" || continue
2141 case $ac_file in
2142 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2143 ;;
2144 [ab].out )
2145 # We found the default executable, but exeext='' is most
2146 # certainly right.
2147 break;;
2148 *.* )
2149 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2150 then :; else
2151 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2152 fi
2153 # We set ac_cv_exeext here because the later test for it is not
2154 # safe: cross compilers may not add the suffix if given an `-o'
2155 # argument, so we may need to know it at that point already.
2156 # Even if this section looks crufty: it has the advantage of
2157 # actually working.
2158 break;;
2159 * )
2160 break;;
2161 esac
2162 done
2163 test "$ac_cv_exeext" = no && ac_cv_exeext=
2164
2165 else
2166 ac_file=''
2167 fi
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2169 $as_echo "$ac_file" >&6; }
2170 if test -z "$ac_file"; then :
2171 $as_echo "$as_me: failed program was:" >&5
2172 sed 's/^/| /' conftest.$ac_ext >&5
2173
2174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2176 { as_fn_set_status 77
2177 as_fn_error "C compiler cannot create executables
2178 See \`config.log' for more details." "$LINENO" 5; }; }
2179 fi
2180 ac_exeext=$ac_cv_exeext
2181
2182 # Check that the compiler produces executables we can run. If not, either
2183 # the compiler is broken, or we cross compile.
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2185 $as_echo_n "checking whether the C compiler works... " >&6; }
2186 # If not cross compiling, check that we can run a simple program.
2187 if test "$cross_compiling" != yes; then
2188 if { ac_try='./$ac_file'
2189 { { case "(($ac_try" in
2190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2191 *) ac_try_echo=$ac_try;;
2192 esac
2193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2194 $as_echo "$ac_try_echo"; } >&5
2195 (eval "$ac_try") 2>&5
2196 ac_status=$?
2197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2198 test $ac_status = 0; }; }; then
2199 cross_compiling=no
2200 else
2201 if test "$cross_compiling" = maybe; then
2202 cross_compiling=yes
2203 else
2204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2206 as_fn_error "cannot run C compiled programs.
2207 If you meant to cross compile, use \`--host'.
2208 See \`config.log' for more details." "$LINENO" 5; }
2209 fi
2210 fi
2211 fi
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2213 $as_echo "yes" >&6; }
2214
2215 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2216 ac_clean_files=$ac_clean_files_save
2217 # Check that the compiler produces executables we can run. If not, either
2218 # the compiler is broken, or we cross compile.
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2220 $as_echo_n "checking whether we are cross compiling... " >&6; }
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2222 $as_echo "$cross_compiling" >&6; }
2223
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2225 $as_echo_n "checking for suffix of executables... " >&6; }
2226 if { { ac_try="$ac_link"
2227 case "(($ac_try" in
2228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2229 *) ac_try_echo=$ac_try;;
2230 esac
2231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2232 $as_echo "$ac_try_echo"; } >&5
2233 (eval "$ac_link") 2>&5
2234 ac_status=$?
2235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2236 test $ac_status = 0; }; then :
2237 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2238 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2239 # work properly (i.e., refer to `conftest.exe'), while it won't with
2240 # `rm'.
2241 for ac_file in conftest.exe conftest conftest.*; do
2242 test -f "$ac_file" || continue
2243 case $ac_file in
2244 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2245 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2246 break;;
2247 * ) break;;
2248 esac
2249 done
2250 else
2251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253 as_fn_error "cannot compute suffix of executables: cannot compile and link
2254 See \`config.log' for more details." "$LINENO" 5; }
2255 fi
2256 rm -f conftest$ac_cv_exeext
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2258 $as_echo "$ac_cv_exeext" >&6; }
2259
2260 rm -f conftest.$ac_ext
2261 EXEEXT=$ac_cv_exeext
2262 ac_exeext=$EXEEXT
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2264 $as_echo_n "checking for suffix of object files... " >&6; }
2265 if test "${ac_cv_objext+set}" = set; then :
2266 $as_echo_n "(cached) " >&6
2267 else
2268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2269 /* end confdefs.h. */
2270
2271 int
2272 main ()
2273 {
2274
2275 ;
2276 return 0;
2277 }
2278 _ACEOF
2279 rm -f conftest.o conftest.obj
2280 if { { ac_try="$ac_compile"
2281 case "(($ac_try" in
2282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2283 *) ac_try_echo=$ac_try;;
2284 esac
2285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2286 $as_echo "$ac_try_echo"; } >&5
2287 (eval "$ac_compile") 2>&5
2288 ac_status=$?
2289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2290 test $ac_status = 0; }; then :
2291 for ac_file in conftest.o conftest.obj conftest.*; do
2292 test -f "$ac_file" || continue;
2293 case $ac_file in
2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2295 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2296 break;;
2297 esac
2298 done
2299 else
2300 $as_echo "$as_me: failed program was:" >&5
2301 sed 's/^/| /' conftest.$ac_ext >&5
2302
2303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2305 as_fn_error "cannot compute suffix of object files: cannot compile
2306 See \`config.log' for more details." "$LINENO" 5; }
2307 fi
2308 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2309 fi
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2311 $as_echo "$ac_cv_objext" >&6; }
2312 OBJEXT=$ac_cv_objext
2313 ac_objext=$OBJEXT
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2315 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2316 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2317 $as_echo_n "(cached) " >&6
2318 else
2319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2320 /* end confdefs.h. */
2321
2322 int
2323 main ()
2324 {
2325 #ifndef __GNUC__
2326 choke me
2327 #endif
2328
2329 ;
2330 return 0;
2331 }
2332 _ACEOF
2333 if ac_fn_c_try_compile "$LINENO"; then :
2334 ac_compiler_gnu=yes
2335 else
2336 ac_compiler_gnu=no
2337 fi
2338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2339 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2340
2341 fi
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2343 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2344 if test $ac_compiler_gnu = yes; then
2345 GCC=yes
2346 else
2347 GCC=
2348 fi
2349 ac_test_CFLAGS=${CFLAGS+set}
2350 ac_save_CFLAGS=$CFLAGS
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2352 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2353 if test "${ac_cv_prog_cc_g+set}" = set; then :
2354 $as_echo_n "(cached) " >&6
2355 else
2356 ac_save_c_werror_flag=$ac_c_werror_flag
2357 ac_c_werror_flag=yes
2358 ac_cv_prog_cc_g=no
2359 CFLAGS="-g"
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2362
2363 int
2364 main ()
2365 {
2366
2367 ;
2368 return 0;
2369 }
2370 _ACEOF
2371 if ac_fn_c_try_compile "$LINENO"; then :
2372 ac_cv_prog_cc_g=yes
2373 else
2374 CFLAGS=""
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2377
2378 int
2379 main ()
2380 {
2381
2382 ;
2383 return 0;
2384 }
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387
2388 else
2389 ac_c_werror_flag=$ac_save_c_werror_flag
2390 CFLAGS="-g"
2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2393
2394 int
2395 main ()
2396 {
2397
2398 ;
2399 return 0;
2400 }
2401 _ACEOF
2402 if ac_fn_c_try_compile "$LINENO"; then :
2403 ac_cv_prog_cc_g=yes
2404 fi
2405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2406 fi
2407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408 fi
2409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2410 ac_c_werror_flag=$ac_save_c_werror_flag
2411 fi
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2413 $as_echo "$ac_cv_prog_cc_g" >&6; }
2414 if test "$ac_test_CFLAGS" = set; then
2415 CFLAGS=$ac_save_CFLAGS
2416 elif test $ac_cv_prog_cc_g = yes; then
2417 if test "$GCC" = yes; then
2418 CFLAGS="-g -O2"
2419 else
2420 CFLAGS="-g"
2421 fi
2422 else
2423 if test "$GCC" = yes; then
2424 CFLAGS="-O2"
2425 else
2426 CFLAGS=
2427 fi
2428 fi
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2430 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2431 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2432 $as_echo_n "(cached) " >&6
2433 else
2434 ac_cv_prog_cc_c89=no
2435 ac_save_CC=$CC
2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2438 #include <stdarg.h>
2439 #include <stdio.h>
2440 #include <sys/types.h>
2441 #include <sys/stat.h>
2442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2443 struct buf { int x; };
2444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2445 static char *e (p, i)
2446 char **p;
2447 int i;
2448 {
2449 return p[i];
2450 }
2451 static char *f (char * (*g) (char **, int), char **p, ...)
2452 {
2453 char *s;
2454 va_list v;
2455 va_start (v,p);
2456 s = g (p, va_arg (v,int));
2457 va_end (v);
2458 return s;
2459 }
2460
2461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2462 function prototypes and stuff, but not '\xHH' hex character constants.
2463 These don't provoke an error unfortunately, instead are silently treated
2464 as 'x'. The following induces an error, until -std is added to get
2465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2466 array size at least. It's necessary to write '\x00'==0 to get something
2467 that's true only with -std. */
2468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2469
2470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2471 inside strings and character constants. */
2472 #define FOO(x) 'x'
2473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2474
2475 int test (int i, double x);
2476 struct s1 {int (*f) (int a);};
2477 struct s2 {int (*f) (double a);};
2478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2479 int argc;
2480 char **argv;
2481 int
2482 main ()
2483 {
2484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2485 ;
2486 return 0;
2487 }
2488 _ACEOF
2489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2491 do
2492 CC="$ac_save_CC $ac_arg"
2493 if ac_fn_c_try_compile "$LINENO"; then :
2494 ac_cv_prog_cc_c89=$ac_arg
2495 fi
2496 rm -f core conftest.err conftest.$ac_objext
2497 test "x$ac_cv_prog_cc_c89" != "xno" && break
2498 done
2499 rm -f conftest.$ac_ext
2500 CC=$ac_save_CC
2501
2502 fi
2503 # AC_CACHE_VAL
2504 case "x$ac_cv_prog_cc_c89" in
2505 x)
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2507 $as_echo "none needed" >&6; } ;;
2508 xno)
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2510 $as_echo "unsupported" >&6; } ;;
2511 *)
2512 CC="$CC $ac_cv_prog_cc_c89"
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2515 esac
2516 if test "x$ac_cv_prog_cc_c89" != xno; then :
2517
2518 fi
2519
2520 ac_ext=c
2521 ac_cpp='$CPP $CPPFLAGS'
2522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2525
2526 ac_aux_dir=
2527 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2528 for ac_t in install-sh install.sh shtool; do
2529 if test -f "$ac_dir/$ac_t"; then
2530 ac_aux_dir=$ac_dir
2531 ac_install_sh="$ac_aux_dir/$ac_t -c"
2532 break 2
2533 fi
2534 done
2535 done
2536 if test -z "$ac_aux_dir"; then
2537 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2538 fi
2539
2540 # These three variables are undocumented and unsupported,
2541 # and are intended to be withdrawn in a future Autoconf release.
2542 # They can cause serious problems if a builder's source tree is in a directory
2543 # whose full name contains unusual characters.
2544 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2545 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2546 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2547
2548
2549 # Find a good install program. We prefer a C program (faster),
2550 # so one script is as good as another. But avoid the broken or
2551 # incompatible versions:
2552 # SysV /etc/install, /usr/sbin/install
2553 # SunOS /usr/etc/install
2554 # IRIX /sbin/install
2555 # AIX /bin/install
2556 # AmigaOS /C/install, which installs bootblocks on floppy discs
2557 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2558 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2559 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2560 # OS/2's system install, which has a completely different semantic
2561 # ./install, which can be erroneously created by make from ./install.sh.
2562 # Reject install programs that cannot install multiple files.
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2564 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2565 if test -z "$INSTALL"; then
2566 if test "${ac_cv_path_install+set}" = set; then :
2567 $as_echo_n "(cached) " >&6
2568 else
2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570 for as_dir in $PATH
2571 do
2572 IFS=$as_save_IFS
2573 test -z "$as_dir" && as_dir=.
2574 # Account for people who put trailing slashes in PATH elements.
2575 case $as_dir/ in #((
2576 ./ | .// | /[cC]/* | \
2577 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2578 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2579 /usr/ucb/* ) ;;
2580 *)
2581 # OSF1 and SCO ODT 3.0 have their own names for install.
2582 # Don't use installbsd from OSF since it installs stuff as root
2583 # by default.
2584 for ac_prog in ginstall scoinst install; do
2585 for ac_exec_ext in '' $ac_executable_extensions; do
2586 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2587 if test $ac_prog = install &&
2588 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2589 # AIX install. It has an incompatible calling convention.
2590 :
2591 elif test $ac_prog = install &&
2592 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2593 # program-specific install script used by HP pwplus--don't use.
2594 :
2595 else
2596 rm -rf conftest.one conftest.two conftest.dir
2597 echo one > conftest.one
2598 echo two > conftest.two
2599 mkdir conftest.dir
2600 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2601 test -s conftest.one && test -s conftest.two &&
2602 test -s conftest.dir/conftest.one &&
2603 test -s conftest.dir/conftest.two
2604 then
2605 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2606 break 3
2607 fi
2608 fi
2609 fi
2610 done
2611 done
2612 ;;
2613 esac
2614
2615 done
2616 IFS=$as_save_IFS
2617
2618 rm -rf conftest.one conftest.two conftest.dir
2619
2620 fi
2621 if test "${ac_cv_path_install+set}" = set; then
2622 INSTALL=$ac_cv_path_install
2623 else
2624 # As a last resort, use the slow shell script. Don't cache a
2625 # value for INSTALL within a source directory, because that will
2626 # break other packages using the cache if that directory is
2627 # removed, or if the value is a relative name.
2628 INSTALL=$ac_install_sh
2629 fi
2630 fi
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2632 $as_echo "$INSTALL" >&6; }
2633
2634 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2635 # It thinks the first close brace ends the variable substitution.
2636 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2637
2638 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2639
2640 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2641
2642 if test -n "$ac_tool_prefix"; then
2643 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2644 set dummy ${ac_tool_prefix}ar; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if test "${ac_cv_prog_AR+set}" = set; then :
2648 $as_echo_n "(cached) " >&6
2649 else
2650 if test -n "$AR"; then
2651 ac_cv_prog_AR="$AR" # Let the user override the test.
2652 else
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2655 do
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_AR="${ac_tool_prefix}ar"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 break 2
2663 fi
2664 done
2665 done
2666 IFS=$as_save_IFS
2667
2668 fi
2669 fi
2670 AR=$ac_cv_prog_AR
2671 if test -n "$AR"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2673 $as_echo "$AR" >&6; }
2674 else
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2677 fi
2678
2679
2680 fi
2681 if test -z "$ac_cv_prog_AR"; then
2682 ac_ct_AR=$AR
2683 # Extract the first word of "ar", so it can be a program name with args.
2684 set dummy ar; ac_word=$2
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2686 $as_echo_n "checking for $ac_word... " >&6; }
2687 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
2688 $as_echo_n "(cached) " >&6
2689 else
2690 if test -n "$ac_ct_AR"; then
2691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2692 else
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2695 do
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2700 ac_cv_prog_ac_ct_AR="ar"
2701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 break 2
2703 fi
2704 done
2705 done
2706 IFS=$as_save_IFS
2707
2708 fi
2709 fi
2710 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2711 if test -n "$ac_ct_AR"; then
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2713 $as_echo "$ac_ct_AR" >&6; }
2714 else
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 $as_echo "no" >&6; }
2717 fi
2718
2719 if test "x$ac_ct_AR" = x; then
2720 AR=""
2721 else
2722 case $cross_compiling:$ac_tool_warned in
2723 yes:)
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2726 ac_tool_warned=yes ;;
2727 esac
2728 AR=$ac_ct_AR
2729 fi
2730 else
2731 AR="$ac_cv_prog_AR"
2732 fi
2733
2734 if test -n "$ac_tool_prefix"; then
2735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2738 $as_echo_n "checking for $ac_word... " >&6; }
2739 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2740 $as_echo_n "(cached) " >&6
2741 else
2742 if test -n "$RANLIB"; then
2743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2744 else
2745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 for as_dir in $PATH
2747 do
2748 IFS=$as_save_IFS
2749 test -z "$as_dir" && as_dir=.
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 break 2
2755 fi
2756 done
2757 done
2758 IFS=$as_save_IFS
2759
2760 fi
2761 fi
2762 RANLIB=$ac_cv_prog_RANLIB
2763 if test -n "$RANLIB"; then
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2765 $as_echo "$RANLIB" >&6; }
2766 else
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 $as_echo "no" >&6; }
2769 fi
2770
2771
2772 fi
2773 if test -z "$ac_cv_prog_RANLIB"; then
2774 ac_ct_RANLIB=$RANLIB
2775 # Extract the first word of "ranlib", so it can be a program name with args.
2776 set dummy ranlib; ac_word=$2
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2778 $as_echo_n "checking for $ac_word... " >&6; }
2779 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
2780 $as_echo_n "(cached) " >&6
2781 else
2782 if test -n "$ac_ct_RANLIB"; then
2783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2784 else
2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2786 for as_dir in $PATH
2787 do
2788 IFS=$as_save_IFS
2789 test -z "$as_dir" && as_dir=.
2790 for ac_exec_ext in '' $ac_executable_extensions; do
2791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792 ac_cv_prog_ac_ct_RANLIB="ranlib"
2793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 break 2
2795 fi
2796 done
2797 done
2798 IFS=$as_save_IFS
2799
2800 fi
2801 fi
2802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2803 if test -n "$ac_ct_RANLIB"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2805 $as_echo "$ac_ct_RANLIB" >&6; }
2806 else
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2809 fi
2810
2811 if test "x$ac_ct_RANLIB" = x; then
2812 RANLIB=":"
2813 else
2814 case $cross_compiling:$ac_tool_warned in
2815 yes:)
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2818 ac_tool_warned=yes ;;
2819 esac
2820 RANLIB=$ac_ct_RANLIB
2821 fi
2822 else
2823 RANLIB="$ac_cv_prog_RANLIB"
2824 fi
2825
2826
2827 # Make sure we can run config.sub.
2828 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2829 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2830
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2832 $as_echo_n "checking build system type... " >&6; }
2833 if test "${ac_cv_build+set}" = set; then :
2834 $as_echo_n "(cached) " >&6
2835 else
2836 ac_build_alias=$build_alias
2837 test "x$ac_build_alias" = x &&
2838 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2839 test "x$ac_build_alias" = x &&
2840 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2841 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2842 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2843
2844 fi
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2846 $as_echo "$ac_cv_build" >&6; }
2847 case $ac_cv_build in
2848 *-*-*) ;;
2849 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2850 esac
2851 build=$ac_cv_build
2852 ac_save_IFS=$IFS; IFS='-'
2853 set x $ac_cv_build
2854 shift
2855 build_cpu=$1
2856 build_vendor=$2
2857 shift; shift
2858 # Remember, the first character of IFS is used to create $*,
2859 # except with old shells:
2860 build_os=$*
2861 IFS=$ac_save_IFS
2862 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2863
2864
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2866 $as_echo_n "checking host system type... " >&6; }
2867 if test "${ac_cv_host+set}" = set; then :
2868 $as_echo_n "(cached) " >&6
2869 else
2870 if test "x$host_alias" = x; then
2871 ac_cv_host=$ac_cv_build
2872 else
2873 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2874 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2875 fi
2876
2877 fi
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2879 $as_echo "$ac_cv_host" >&6; }
2880 case $ac_cv_host in
2881 *-*-*) ;;
2882 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2883 esac
2884 host=$ac_cv_host
2885 ac_save_IFS=$IFS; IFS='-'
2886 set x $ac_cv_host
2887 shift
2888 host_cpu=$1
2889 host_vendor=$2
2890 shift; shift
2891 # Remember, the first character of IFS is used to create $*,
2892 # except with old shells:
2893 host_os=$*
2894 IFS=$ac_save_IFS
2895 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2896
2897
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2899 $as_echo_n "checking target system type... " >&6; }
2900 if test "${ac_cv_target+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2902 else
2903 if test "x$target_alias" = x; then
2904 ac_cv_target=$ac_cv_host
2905 else
2906 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2907 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2908 fi
2909
2910 fi
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2912 $as_echo "$ac_cv_target" >&6; }
2913 case $ac_cv_target in
2914 *-*-*) ;;
2915 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2916 esac
2917 target=$ac_cv_target
2918 ac_save_IFS=$IFS; IFS='-'
2919 set x $ac_cv_target
2920 shift
2921 target_cpu=$1
2922 target_vendor=$2
2923 shift; shift
2924 # Remember, the first character of IFS is used to create $*,
2925 # except with old shells:
2926 target_os=$*
2927 IFS=$ac_save_IFS
2928 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2929
2930
2931 # The aliases save the names the user supplied, while $host etc.
2932 # will get canonicalized.
2933 test -n "$target_alias" &&
2934 test "$program_prefix$program_suffix$program_transform_name" = \
2935 NONENONEs,x,x, &&
2936 program_prefix=${target_alias}-
2937
2938 test "$program_prefix" != NONE &&
2939 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2940 # Use a double $ so make ignores it.
2941 test "$program_suffix" != NONE &&
2942 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2943 # Double any \ or $.
2944 # By default was `s,x,x', remove it if useless.
2945 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2946 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2947
2948 ac_ext=c
2949 ac_cpp='$CPP $CPPFLAGS'
2950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2953 if test -n "$ac_tool_prefix"; then
2954 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2955 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957 $as_echo_n "checking for $ac_word... " >&6; }
2958 if test "${ac_cv_prog_CC+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2960 else
2961 if test -n "$CC"; then
2962 ac_cv_prog_CC="$CC" # Let the user override the test.
2963 else
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 for as_dir in $PATH
2966 do
2967 IFS=$as_save_IFS
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2971 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2973 break 2
2974 fi
2975 done
2976 done
2977 IFS=$as_save_IFS
2978
2979 fi
2980 fi
2981 CC=$ac_cv_prog_CC
2982 if test -n "$CC"; then
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2984 $as_echo "$CC" >&6; }
2985 else
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987 $as_echo "no" >&6; }
2988 fi
2989
2990
2991 fi
2992 if test -z "$ac_cv_prog_CC"; then
2993 ac_ct_CC=$CC
2994 # Extract the first word of "gcc", so it can be a program name with args.
2995 set dummy gcc; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 if test -n "$ac_ct_CC"; then
3002 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3003 else
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 for as_dir in $PATH
3006 do
3007 IFS=$as_save_IFS
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_ac_ct_CC="gcc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 break 2
3014 fi
3015 done
3016 done
3017 IFS=$as_save_IFS
3018
3019 fi
3020 fi
3021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3022 if test -n "$ac_ct_CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3024 $as_echo "$ac_ct_CC" >&6; }
3025 else
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3028 fi
3029
3030 if test "x$ac_ct_CC" = x; then
3031 CC=""
3032 else
3033 case $cross_compiling:$ac_tool_warned in
3034 yes:)
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3037 ac_tool_warned=yes ;;
3038 esac
3039 CC=$ac_ct_CC
3040 fi
3041 else
3042 CC="$ac_cv_prog_CC"
3043 fi
3044
3045 if test -z "$CC"; then
3046 if test -n "$ac_tool_prefix"; then
3047 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3048 set dummy ${ac_tool_prefix}cc; ac_word=$2
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3050 $as_echo_n "checking for $ac_word... " >&6; }
3051 if test "${ac_cv_prog_CC+set}" = set; then :
3052 $as_echo_n "(cached) " >&6
3053 else
3054 if test -n "$CC"; then
3055 ac_cv_prog_CC="$CC" # Let the user override the test.
3056 else
3057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058 for as_dir in $PATH
3059 do
3060 IFS=$as_save_IFS
3061 test -z "$as_dir" && as_dir=.
3062 for ac_exec_ext in '' $ac_executable_extensions; do
3063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3064 ac_cv_prog_CC="${ac_tool_prefix}cc"
3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 break 2
3067 fi
3068 done
3069 done
3070 IFS=$as_save_IFS
3071
3072 fi
3073 fi
3074 CC=$ac_cv_prog_CC
3075 if test -n "$CC"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3077 $as_echo "$CC" >&6; }
3078 else
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3081 fi
3082
3083
3084 fi
3085 fi
3086 if test -z "$CC"; then
3087 # Extract the first word of "cc", so it can be a program name with args.
3088 set dummy cc; ac_word=$2
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090 $as_echo_n "checking for $ac_word... " >&6; }
3091 if test "${ac_cv_prog_CC+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3093 else
3094 if test -n "$CC"; then
3095 ac_cv_prog_CC="$CC" # Let the user override the test.
3096 else
3097 ac_prog_rejected=no
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099 for as_dir in $PATH
3100 do
3101 IFS=$as_save_IFS
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3106 ac_prog_rejected=yes
3107 continue
3108 fi
3109 ac_cv_prog_CC="cc"
3110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 break 2
3112 fi
3113 done
3114 done
3115 IFS=$as_save_IFS
3116
3117 if test $ac_prog_rejected = yes; then
3118 # We found a bogon in the path, so make sure we never use it.
3119 set dummy $ac_cv_prog_CC
3120 shift
3121 if test $# != 0; then
3122 # We chose a different compiler from the bogus one.
3123 # However, it has the same basename, so the bogon will be chosen
3124 # first if we set CC to just the basename; use the full file name.
3125 shift
3126 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3127 fi
3128 fi
3129 fi
3130 fi
3131 CC=$ac_cv_prog_CC
3132 if test -n "$CC"; then
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3134 $as_echo "$CC" >&6; }
3135 else
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3137 $as_echo "no" >&6; }
3138 fi
3139
3140
3141 fi
3142 if test -z "$CC"; then
3143 if test -n "$ac_tool_prefix"; then
3144 for ac_prog in cl.exe
3145 do
3146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if test "${ac_cv_prog_CC+set}" = set; then :
3151 $as_echo_n "(cached) " >&6
3152 else
3153 if test -n "$CC"; then
3154 ac_cv_prog_CC="$CC" # Let the user override the test.
3155 else
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3158 do
3159 IFS=$as_save_IFS
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 break 2
3166 fi
3167 done
3168 done
3169 IFS=$as_save_IFS
3170
3171 fi
3172 fi
3173 CC=$ac_cv_prog_CC
3174 if test -n "$CC"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176 $as_echo "$CC" >&6; }
3177 else
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3180 fi
3181
3182
3183 test -n "$CC" && break
3184 done
3185 fi
3186 if test -z "$CC"; then
3187 ac_ct_CC=$CC
3188 for ac_prog in cl.exe
3189 do
3190 # Extract the first word of "$ac_prog", so it can be a program name with args.
3191 set dummy $ac_prog; ac_word=$2
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3193 $as_echo_n "checking for $ac_word... " >&6; }
3194 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3195 $as_echo_n "(cached) " >&6
3196 else
3197 if test -n "$ac_ct_CC"; then
3198 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3199 else
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 for as_dir in $PATH
3202 do
3203 IFS=$as_save_IFS
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3207 ac_cv_prog_ac_ct_CC="$ac_prog"
3208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 break 2
3210 fi
3211 done
3212 done
3213 IFS=$as_save_IFS
3214
3215 fi
3216 fi
3217 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3218 if test -n "$ac_ct_CC"; then
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3220 $as_echo "$ac_ct_CC" >&6; }
3221 else
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3224 fi
3225
3226
3227 test -n "$ac_ct_CC" && break
3228 done
3229
3230 if test "x$ac_ct_CC" = x; then
3231 CC=""
3232 else
3233 case $cross_compiling:$ac_tool_warned in
3234 yes:)
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3237 ac_tool_warned=yes ;;
3238 esac
3239 CC=$ac_ct_CC
3240 fi
3241 fi
3242
3243 fi
3244
3245
3246 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error "no acceptable C compiler found in \$PATH
3249 See \`config.log' for more details." "$LINENO" 5; }
3250
3251 # Provide some information about the compiler.
3252 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3253 set X $ac_compile
3254 ac_compiler=$2
3255 for ac_option in --version -v -V -qversion; do
3256 { { ac_try="$ac_compiler $ac_option >&5"
3257 case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3260 esac
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3264 ac_status=$?
3265 if test -s conftest.err; then
3266 sed '10a\
3267 ... rest of stderr output deleted ...
3268 10q' conftest.err >conftest.er1
3269 cat conftest.er1 >&5
3270 rm -f conftest.er1 conftest.err
3271 fi
3272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3273 test $ac_status = 0; }
3274 done
3275
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3277 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3278 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3279 $as_echo_n "(cached) " >&6
3280 else
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3283
3284 int
3285 main ()
3286 {
3287 #ifndef __GNUC__
3288 choke me
3289 #endif
3290
3291 ;
3292 return 0;
3293 }
3294 _ACEOF
3295 if ac_fn_c_try_compile "$LINENO"; then :
3296 ac_compiler_gnu=yes
3297 else
3298 ac_compiler_gnu=no
3299 fi
3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3302
3303 fi
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3305 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3306 if test $ac_compiler_gnu = yes; then
3307 GCC=yes
3308 else
3309 GCC=
3310 fi
3311 ac_test_CFLAGS=${CFLAGS+set}
3312 ac_save_CFLAGS=$CFLAGS
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3314 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3315 if test "${ac_cv_prog_cc_g+set}" = set; then :
3316 $as_echo_n "(cached) " >&6
3317 else
3318 ac_save_c_werror_flag=$ac_c_werror_flag
3319 ac_c_werror_flag=yes
3320 ac_cv_prog_cc_g=no
3321 CFLAGS="-g"
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3324
3325 int
3326 main ()
3327 {
3328
3329 ;
3330 return 0;
3331 }
3332 _ACEOF
3333 if ac_fn_c_try_compile "$LINENO"; then :
3334 ac_cv_prog_cc_g=yes
3335 else
3336 CFLAGS=""
3337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3338 /* end confdefs.h. */
3339
3340 int
3341 main ()
3342 {
3343
3344 ;
3345 return 0;
3346 }
3347 _ACEOF
3348 if ac_fn_c_try_compile "$LINENO"; then :
3349
3350 else
3351 ac_c_werror_flag=$ac_save_c_werror_flag
3352 CFLAGS="-g"
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3355
3356 int
3357 main ()
3358 {
3359
3360 ;
3361 return 0;
3362 }
3363 _ACEOF
3364 if ac_fn_c_try_compile "$LINENO"; then :
3365 ac_cv_prog_cc_g=yes
3366 fi
3367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368 fi
3369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3370 fi
3371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3372 ac_c_werror_flag=$ac_save_c_werror_flag
3373 fi
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3375 $as_echo "$ac_cv_prog_cc_g" >&6; }
3376 if test "$ac_test_CFLAGS" = set; then
3377 CFLAGS=$ac_save_CFLAGS
3378 elif test $ac_cv_prog_cc_g = yes; then
3379 if test "$GCC" = yes; then
3380 CFLAGS="-g -O2"
3381 else
3382 CFLAGS="-g"
3383 fi
3384 else
3385 if test "$GCC" = yes; then
3386 CFLAGS="-O2"
3387 else
3388 CFLAGS=
3389 fi
3390 fi
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3392 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3393 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3394 $as_echo_n "(cached) " >&6
3395 else
3396 ac_cv_prog_cc_c89=no
3397 ac_save_CC=$CC
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3400 #include <stdarg.h>
3401 #include <stdio.h>
3402 #include <sys/types.h>
3403 #include <sys/stat.h>
3404 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3405 struct buf { int x; };
3406 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3407 static char *e (p, i)
3408 char **p;
3409 int i;
3410 {
3411 return p[i];
3412 }
3413 static char *f (char * (*g) (char **, int), char **p, ...)
3414 {
3415 char *s;
3416 va_list v;
3417 va_start (v,p);
3418 s = g (p, va_arg (v,int));
3419 va_end (v);
3420 return s;
3421 }
3422
3423 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3424 function prototypes and stuff, but not '\xHH' hex character constants.
3425 These don't provoke an error unfortunately, instead are silently treated
3426 as 'x'. The following induces an error, until -std is added to get
3427 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3428 array size at least. It's necessary to write '\x00'==0 to get something
3429 that's true only with -std. */
3430 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3431
3432 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3433 inside strings and character constants. */
3434 #define FOO(x) 'x'
3435 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3436
3437 int test (int i, double x);
3438 struct s1 {int (*f) (int a);};
3439 struct s2 {int (*f) (double a);};
3440 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3441 int argc;
3442 char **argv;
3443 int
3444 main ()
3445 {
3446 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3447 ;
3448 return 0;
3449 }
3450 _ACEOF
3451 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3452 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3453 do
3454 CC="$ac_save_CC $ac_arg"
3455 if ac_fn_c_try_compile "$LINENO"; then :
3456 ac_cv_prog_cc_c89=$ac_arg
3457 fi
3458 rm -f core conftest.err conftest.$ac_objext
3459 test "x$ac_cv_prog_cc_c89" != "xno" && break
3460 done
3461 rm -f conftest.$ac_ext
3462 CC=$ac_save_CC
3463
3464 fi
3465 # AC_CACHE_VAL
3466 case "x$ac_cv_prog_cc_c89" in
3467 x)
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3469 $as_echo "none needed" >&6; } ;;
3470 xno)
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3472 $as_echo "unsupported" >&6; } ;;
3473 *)
3474 CC="$CC $ac_cv_prog_cc_c89"
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3476 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3477 esac
3478 if test "x$ac_cv_prog_cc_c89" != xno; then :
3479
3480 fi
3481
3482 ac_ext=c
3483 ac_cpp='$CPP $CPPFLAGS'
3484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3487
3488
3489
3490 AR=${AR-ar}
3491
3492 if test -n "$ac_tool_prefix"; then
3493 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3494 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496 $as_echo_n "checking for $ac_word... " >&6; }
3497 if test "${ac_cv_prog_RANLIB+set}" = set; then :
3498 $as_echo_n "(cached) " >&6
3499 else
3500 if test -n "$RANLIB"; then
3501 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3502 else
3503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3504 for as_dir in $PATH
3505 do
3506 IFS=$as_save_IFS
3507 test -z "$as_dir" && as_dir=.
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3510 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3512 break 2
3513 fi
3514 done
3515 done
3516 IFS=$as_save_IFS
3517
3518 fi
3519 fi
3520 RANLIB=$ac_cv_prog_RANLIB
3521 if test -n "$RANLIB"; then
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3523 $as_echo "$RANLIB" >&6; }
3524 else
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3526 $as_echo "no" >&6; }
3527 fi
3528
3529
3530 fi
3531 if test -z "$ac_cv_prog_RANLIB"; then
3532 ac_ct_RANLIB=$RANLIB
3533 # Extract the first word of "ranlib", so it can be a program name with args.
3534 set dummy ranlib; ac_word=$2
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536 $as_echo_n "checking for $ac_word... " >&6; }
3537 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3538 $as_echo_n "(cached) " >&6
3539 else
3540 if test -n "$ac_ct_RANLIB"; then
3541 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3542 else
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544 for as_dir in $PATH
3545 do
3546 IFS=$as_save_IFS
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550 ac_cv_prog_ac_ct_RANLIB="ranlib"
3551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552 break 2
3553 fi
3554 done
3555 done
3556 IFS=$as_save_IFS
3557
3558 fi
3559 fi
3560 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3561 if test -n "$ac_ct_RANLIB"; then
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3563 $as_echo "$ac_ct_RANLIB" >&6; }
3564 else
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 fi
3568
3569 if test "x$ac_ct_RANLIB" = x; then
3570 RANLIB=":"
3571 else
3572 case $cross_compiling:$ac_tool_warned in
3573 yes:)
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3576 ac_tool_warned=yes ;;
3577 esac
3578 RANLIB=$ac_ct_RANLIB
3579 fi
3580 else
3581 RANLIB="$ac_cv_prog_RANLIB"
3582 fi
3583
3584
3585 # Put a plausible default for CC_FOR_BUILD in Makefile.
3586 if test "x$cross_compiling" = "xno"; then
3587 CC_FOR_BUILD='$(CC)'
3588 else
3589 CC_FOR_BUILD=gcc
3590 fi
3591
3592 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
3593
3594
3595 # If a cpu ever has more than one simulator to choose from, use
3596 # --enable-sim=... to choose.
3597 # Check whether --enable-sim was given.
3598 if test "${enable_sim+set}" = set; then :
3599 enableval=$enable_sim; case "${enableval}" in
3600 yes | no) ;;
3601 *) as_fn_error "bad value ${enableval} given for --enable-sim option" "$LINENO" 5 ;;
3602 esac
3603 fi
3604
3605
3606 # WHEN ADDING ENTRIES TO THIS MATRIX:
3607
3608 # Make sure that the left side always has two dashes. Otherwise you
3609 # can get spurious matches. Even for unambiguous cases, do this as a
3610 # convention, else the table becomes a real mess to understand and
3611 # maintain.
3612
3613 if test "${enable_sim}" != no; then
3614 testsuite=no
3615 common=yes
3616 igen=no
3617 case "${target}" in
3618 arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*)
3619
3620
3621 subdirs="$subdirs arm"
3622
3623 testsuite=yes
3624 ;;
3625 avr*-*-*)
3626 subdirs="$subdirs avr"
3627
3628 ;;
3629 cr16*-*-*)
3630 subdirs="$subdirs cr16"
3631
3632 testsuite=yes
3633 ;;
3634 cris-*-* | crisv32-*-*)
3635 subdirs="$subdirs cris"
3636
3637 testsuite=yes
3638 ;;
3639 d10v-*-*)
3640 subdirs="$subdirs d10v"
3641
3642 ;;
3643 frv-*-*)
3644 subdirs="$subdirs frv"
3645
3646 testsuite=yes
3647 ;;
3648 h8300*-*-*)
3649 subdirs="$subdirs h8300"
3650
3651 testsuite=yes
3652 ;;
3653 iq2000-*-*)
3654 subdirs="$subdirs iq2000"
3655
3656 testsuite=yes
3657 ;;
3658 lm32-*-*)
3659 subdirs="$subdirs lm32"
3660
3661 testsuite=yes
3662 ;;
3663 m32c-*-*)
3664 subdirs="$subdirs m32c"
3665
3666 ;;
3667 m32r-*-*)
3668 subdirs="$subdirs m32r"
3669
3670 testsuite=yes
3671 ;;
3672 m68hc11-*-*|m6811-*-*)
3673 subdirs="$subdirs m68hc11"
3674
3675 testsuite=yes
3676 ;;
3677 mcore-*-*)
3678 subdirs="$subdirs mcore"
3679
3680 testsuite=yes
3681 ;;
3682 microblaze-*-*)
3683 subdirs="$subdirs microblaze"
3684
3685 testsuite=yes
3686 ;;
3687 mips*-*-*)
3688 subdirs="$subdirs mips"
3689
3690 testsuite=yes
3691 igen=yes
3692 ;;
3693 mn10300*-*-*)
3694 subdirs="$subdirs mn10300"
3695
3696 igen=yes
3697 ;;
3698 moxie-*-*)
3699 subdirs="$subdirs moxie"
3700
3701 testsuite=yes
3702 ;;
3703 sh64*-*-*)
3704 subdirs="$subdirs sh64"
3705
3706 testsuite=yes
3707 ;;
3708 sh*-*-*)
3709 subdirs="$subdirs sh"
3710
3711 testsuite=yes
3712 ;;
3713 sparc-*-rtems*|sparc-*-elf*)
3714 subdirs="$subdirs erc32"
3715
3716 testsuite=yes
3717 ;;
3718 powerpc*-*-* )
3719 subdirs="$subdirs ppc"
3720
3721 ;;
3722 v850*-*-* )
3723 subdirs="$subdirs v850"
3724
3725 igen=yes
3726 testsuite=yes
3727 ;;
3728 *)
3729 # No simulator subdir, so the subdir "common" isn't needed.
3730 common=no
3731 ;;
3732 esac
3733 if test "$testsuite" = yes; then
3734 subdirs="$subdirs testsuite"
3735
3736 fi
3737 if test "$common" = yes; then
3738 subdirs="$subdirs common"
3739
3740 fi
3741 if test "$igen" = yes; then
3742 subdirs="$subdirs igen"
3743
3744 fi
3745 fi
3746
3747 ac_config_files="$ac_config_files Makefile"
3748
3749 cat >confcache <<\_ACEOF
3750 # This file is a shell script that caches the results of configure
3751 # tests run on this system so they can be shared between configure
3752 # scripts and configure runs, see configure's option --config-cache.
3753 # It is not useful on other systems. If it contains results you don't
3754 # want to keep, you may remove or edit it.
3755 #
3756 # config.status only pays attention to the cache file if you give it
3757 # the --recheck option to rerun configure.
3758 #
3759 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3760 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3761 # following values.
3762
3763 _ACEOF
3764
3765 # The following way of writing the cache mishandles newlines in values,
3766 # but we know of no workaround that is simple, portable, and efficient.
3767 # So, we kill variables containing newlines.
3768 # Ultrix sh set writes to stderr and can't be redirected directly,
3769 # and sets the high bit in the cache file unless we assign to the vars.
3770 (
3771 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3772 eval ac_val=\$$ac_var
3773 case $ac_val in #(
3774 *${as_nl}*)
3775 case $ac_var in #(
3776 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3778 esac
3779 case $ac_var in #(
3780 _ | IFS | as_nl) ;; #(
3781 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3782 *) { eval $ac_var=; unset $ac_var;} ;;
3783 esac ;;
3784 esac
3785 done
3786
3787 (set) 2>&1 |
3788 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3789 *${as_nl}ac_space=\ *)
3790 # `set' does not quote correctly, so add quotes: double-quote
3791 # substitution turns \\\\ into \\, and sed turns \\ into \.
3792 sed -n \
3793 "s/'/'\\\\''/g;
3794 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3795 ;; #(
3796 *)
3797 # `set' quotes correctly as required by POSIX, so do not add quotes.
3798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3799 ;;
3800 esac |
3801 sort
3802 ) |
3803 sed '
3804 /^ac_cv_env_/b end
3805 t clear
3806 :clear
3807 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3808 t end
3809 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3810 :end' >>confcache
3811 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3812 if test -w "$cache_file"; then
3813 test "x$cache_file" != "x/dev/null" &&
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3815 $as_echo "$as_me: updating cache $cache_file" >&6;}
3816 cat confcache >$cache_file
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3819 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3820 fi
3821 fi
3822 rm -f confcache
3823
3824 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3825 # Let make expand exec_prefix.
3826 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3827
3828 # Transform confdefs.h into DEFS.
3829 # Protect against shell expansion while executing Makefile rules.
3830 # Protect against Makefile macro expansion.
3831 #
3832 # If the first sed substitution is executed (which looks for macros that
3833 # take arguments), then branch to the quote section. Otherwise,
3834 # look for a macro that doesn't take arguments.
3835 ac_script='
3836 :mline
3837 /\\$/{
3838 N
3839 s,\\\n,,
3840 b mline
3841 }
3842 t clear
3843 :clear
3844 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3845 t quote
3846 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3847 t quote
3848 b any
3849 :quote
3850 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3851 s/\[/\\&/g
3852 s/\]/\\&/g
3853 s/\$/$$/g
3854 H
3855 :any
3856 ${
3857 g
3858 s/^\n//
3859 s/\n/ /g
3860 p
3861 }
3862 '
3863 DEFS=`sed -n "$ac_script" confdefs.h`
3864
3865
3866 ac_libobjs=
3867 ac_ltlibobjs=
3868 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3869 # 1. Remove the extension, and $U if already installed.
3870 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3871 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3872 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3873 # will be set to the directory where LIBOBJS objects are built.
3874 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3875 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3876 done
3877 LIBOBJS=$ac_libobjs
3878
3879 LTLIBOBJS=$ac_ltlibobjs
3880
3881
3882
3883 : ${CONFIG_STATUS=./config.status}
3884 ac_write_fail=0
3885 ac_clean_files_save=$ac_clean_files
3886 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3888 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3889 as_write_fail=0
3890 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3891 #! $SHELL
3892 # Generated by $as_me.
3893 # Run this file to recreate the current configuration.
3894 # Compiler output produced by configure, useful for debugging
3895 # configure, is in config.log if it exists.
3896
3897 debug=false
3898 ac_cs_recheck=false
3899 ac_cs_silent=false
3900
3901 SHELL=\${CONFIG_SHELL-$SHELL}
3902 export SHELL
3903 _ASEOF
3904 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3905 ## -------------------- ##
3906 ## M4sh Initialization. ##
3907 ## -------------------- ##
3908
3909 # Be more Bourne compatible
3910 DUALCASE=1; export DUALCASE # for MKS sh
3911 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3912 emulate sh
3913 NULLCMD=:
3914 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3915 # is contrary to our usage. Disable this feature.
3916 alias -g '${1+"$@"}'='"$@"'
3917 setopt NO_GLOB_SUBST
3918 else
3919 case `(set -o) 2>/dev/null` in #(
3920 *posix*) :
3921 set -o posix ;; #(
3922 *) :
3923 ;;
3924 esac
3925 fi
3926
3927
3928 as_nl='
3929 '
3930 export as_nl
3931 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3932 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3933 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3934 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3935 # Prefer a ksh shell builtin over an external printf program on Solaris,
3936 # but without wasting forks for bash or zsh.
3937 if test -z "$BASH_VERSION$ZSH_VERSION" \
3938 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3939 as_echo='print -r --'
3940 as_echo_n='print -rn --'
3941 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3942 as_echo='printf %s\n'
3943 as_echo_n='printf %s'
3944 else
3945 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3946 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3947 as_echo_n='/usr/ucb/echo -n'
3948 else
3949 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3950 as_echo_n_body='eval
3951 arg=$1;
3952 case $arg in #(
3953 *"$as_nl"*)
3954 expr "X$arg" : "X\\(.*\\)$as_nl";
3955 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3956 esac;
3957 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3958 '
3959 export as_echo_n_body
3960 as_echo_n='sh -c $as_echo_n_body as_echo'
3961 fi
3962 export as_echo_body
3963 as_echo='sh -c $as_echo_body as_echo'
3964 fi
3965
3966 # The user is always right.
3967 if test "${PATH_SEPARATOR+set}" != set; then
3968 PATH_SEPARATOR=:
3969 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3970 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3971 PATH_SEPARATOR=';'
3972 }
3973 fi
3974
3975
3976 # IFS
3977 # We need space, tab and new line, in precisely that order. Quoting is
3978 # there to prevent editors from complaining about space-tab.
3979 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3980 # splitting by setting IFS to empty value.)
3981 IFS=" "" $as_nl"
3982
3983 # Find who we are. Look in the path if we contain no directory separator.
3984 case $0 in #((
3985 *[\\/]* ) as_myself=$0 ;;
3986 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 for as_dir in $PATH
3988 do
3989 IFS=$as_save_IFS
3990 test -z "$as_dir" && as_dir=.
3991 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3992 done
3993 IFS=$as_save_IFS
3994
3995 ;;
3996 esac
3997 # We did not find ourselves, most probably we were run as `sh COMMAND'
3998 # in which case we are not to be found in the path.
3999 if test "x$as_myself" = x; then
4000 as_myself=$0
4001 fi
4002 if test ! -f "$as_myself"; then
4003 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4004 exit 1
4005 fi
4006
4007 # Unset variables that we do not need and which cause bugs (e.g. in
4008 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4009 # suppresses any "Segmentation fault" message there. '((' could
4010 # trigger a bug in pdksh 5.2.14.
4011 for as_var in BASH_ENV ENV MAIL MAILPATH
4012 do eval test x\${$as_var+set} = xset \
4013 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4014 done
4015 PS1='$ '
4016 PS2='> '
4017 PS4='+ '
4018
4019 # NLS nuisances.
4020 LC_ALL=C
4021 export LC_ALL
4022 LANGUAGE=C
4023 export LANGUAGE
4024
4025 # CDPATH.
4026 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4027
4028
4029 # as_fn_error ERROR [LINENO LOG_FD]
4030 # ---------------------------------
4031 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4032 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4033 # script with status $?, using 1 if that was 0.
4034 as_fn_error ()
4035 {
4036 as_status=$?; test $as_status -eq 0 && as_status=1
4037 if test "$3"; then
4038 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4039 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4040 fi
4041 $as_echo "$as_me: error: $1" >&2
4042 as_fn_exit $as_status
4043 } # as_fn_error
4044
4045
4046 # as_fn_set_status STATUS
4047 # -----------------------
4048 # Set $? to STATUS, without forking.
4049 as_fn_set_status ()
4050 {
4051 return $1
4052 } # as_fn_set_status
4053
4054 # as_fn_exit STATUS
4055 # -----------------
4056 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4057 as_fn_exit ()
4058 {
4059 set +e
4060 as_fn_set_status $1
4061 exit $1
4062 } # as_fn_exit
4063
4064 # as_fn_unset VAR
4065 # ---------------
4066 # Portably unset VAR.
4067 as_fn_unset ()
4068 {
4069 { eval $1=; unset $1;}
4070 }
4071 as_unset=as_fn_unset
4072 # as_fn_append VAR VALUE
4073 # ----------------------
4074 # Append the text in VALUE to the end of the definition contained in VAR. Take
4075 # advantage of any shell optimizations that allow amortized linear growth over
4076 # repeated appends, instead of the typical quadratic growth present in naive
4077 # implementations.
4078 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4079 eval 'as_fn_append ()
4080 {
4081 eval $1+=\$2
4082 }'
4083 else
4084 as_fn_append ()
4085 {
4086 eval $1=\$$1\$2
4087 }
4088 fi # as_fn_append
4089
4090 # as_fn_arith ARG...
4091 # ------------------
4092 # Perform arithmetic evaluation on the ARGs, and store the result in the
4093 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4094 # must be portable across $(()) and expr.
4095 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4096 eval 'as_fn_arith ()
4097 {
4098 as_val=$(( $* ))
4099 }'
4100 else
4101 as_fn_arith ()
4102 {
4103 as_val=`expr "$@" || test $? -eq 1`
4104 }
4105 fi # as_fn_arith
4106
4107
4108 if expr a : '\(a\)' >/dev/null 2>&1 &&
4109 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4110 as_expr=expr
4111 else
4112 as_expr=false
4113 fi
4114
4115 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4116 as_basename=basename
4117 else
4118 as_basename=false
4119 fi
4120
4121 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4122 as_dirname=dirname
4123 else
4124 as_dirname=false
4125 fi
4126
4127 as_me=`$as_basename -- "$0" ||
4128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4129 X"$0" : 'X\(//\)$' \| \
4130 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4131 $as_echo X/"$0" |
4132 sed '/^.*\/\([^/][^/]*\)\/*$/{
4133 s//\1/
4134 q
4135 }
4136 /^X\/\(\/\/\)$/{
4137 s//\1/
4138 q
4139 }
4140 /^X\/\(\/\).*/{
4141 s//\1/
4142 q
4143 }
4144 s/.*/./; q'`
4145
4146 # Avoid depending upon Character Ranges.
4147 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4148 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4149 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4150 as_cr_digits='0123456789'
4151 as_cr_alnum=$as_cr_Letters$as_cr_digits
4152
4153 ECHO_C= ECHO_N= ECHO_T=
4154 case `echo -n x` in #(((((
4155 -n*)
4156 case `echo 'xy\c'` in
4157 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4158 xy) ECHO_C='\c';;
4159 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4160 ECHO_T=' ';;
4161 esac;;
4162 *)
4163 ECHO_N='-n';;
4164 esac
4165
4166 rm -f conf$$ conf$$.exe conf$$.file
4167 if test -d conf$$.dir; then
4168 rm -f conf$$.dir/conf$$.file
4169 else
4170 rm -f conf$$.dir
4171 mkdir conf$$.dir 2>/dev/null
4172 fi
4173 if (echo >conf$$.file) 2>/dev/null; then
4174 if ln -s conf$$.file conf$$ 2>/dev/null; then
4175 as_ln_s='ln -s'
4176 # ... but there are two gotchas:
4177 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4178 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4179 # In both cases, we have to default to `cp -p'.
4180 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4181 as_ln_s='cp -p'
4182 elif ln conf$$.file conf$$ 2>/dev/null; then
4183 as_ln_s=ln
4184 else
4185 as_ln_s='cp -p'
4186 fi
4187 else
4188 as_ln_s='cp -p'
4189 fi
4190 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4191 rmdir conf$$.dir 2>/dev/null
4192
4193
4194 # as_fn_mkdir_p
4195 # -------------
4196 # Create "$as_dir" as a directory, including parents if necessary.
4197 as_fn_mkdir_p ()
4198 {
4199
4200 case $as_dir in #(
4201 -*) as_dir=./$as_dir;;
4202 esac
4203 test -d "$as_dir" || eval $as_mkdir_p || {
4204 as_dirs=
4205 while :; do
4206 case $as_dir in #(
4207 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4208 *) as_qdir=$as_dir;;
4209 esac
4210 as_dirs="'$as_qdir' $as_dirs"
4211 as_dir=`$as_dirname -- "$as_dir" ||
4212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4213 X"$as_dir" : 'X\(//\)[^/]' \| \
4214 X"$as_dir" : 'X\(//\)$' \| \
4215 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4216 $as_echo X"$as_dir" |
4217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4218 s//\1/
4219 q
4220 }
4221 /^X\(\/\/\)[^/].*/{
4222 s//\1/
4223 q
4224 }
4225 /^X\(\/\/\)$/{
4226 s//\1/
4227 q
4228 }
4229 /^X\(\/\).*/{
4230 s//\1/
4231 q
4232 }
4233 s/.*/./; q'`
4234 test -d "$as_dir" && break
4235 done
4236 test -z "$as_dirs" || eval "mkdir $as_dirs"
4237 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4238
4239
4240 } # as_fn_mkdir_p
4241 if mkdir -p . 2>/dev/null; then
4242 as_mkdir_p='mkdir -p "$as_dir"'
4243 else
4244 test -d ./-p && rmdir ./-p
4245 as_mkdir_p=false
4246 fi
4247
4248 if test -x / >/dev/null 2>&1; then
4249 as_test_x='test -x'
4250 else
4251 if ls -dL / >/dev/null 2>&1; then
4252 as_ls_L_option=L
4253 else
4254 as_ls_L_option=
4255 fi
4256 as_test_x='
4257 eval sh -c '\''
4258 if test -d "$1"; then
4259 test -d "$1/.";
4260 else
4261 case $1 in #(
4262 -*)set "./$1";;
4263 esac;
4264 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4265 ???[sx]*):;;*)false;;esac;fi
4266 '\'' sh
4267 '
4268 fi
4269 as_executable_p=$as_test_x
4270
4271 # Sed expression to map a string onto a valid CPP name.
4272 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4273
4274 # Sed expression to map a string onto a valid variable name.
4275 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4276
4277
4278 exec 6>&1
4279 ## ----------------------------------- ##
4280 ## Main body of $CONFIG_STATUS script. ##
4281 ## ----------------------------------- ##
4282 _ASEOF
4283 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4284
4285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4286 # Save the log message, to keep $0 and so on meaningful, and to
4287 # report actual input values of CONFIG_FILES etc. instead of their
4288 # values after options handling.
4289 ac_log="
4290 This file was extended by $as_me, which was
4291 generated by GNU Autoconf 2.64. Invocation command line was
4292
4293 CONFIG_FILES = $CONFIG_FILES
4294 CONFIG_HEADERS = $CONFIG_HEADERS
4295 CONFIG_LINKS = $CONFIG_LINKS
4296 CONFIG_COMMANDS = $CONFIG_COMMANDS
4297 $ $0 $@
4298
4299 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4300 "
4301
4302 _ACEOF
4303
4304 case $ac_config_files in *"
4305 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4306 esac
4307
4308
4309
4310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4311 # Files that config.status was made for.
4312 config_files="$ac_config_files"
4313
4314 _ACEOF
4315
4316 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4317 ac_cs_usage="\
4318 \`$as_me' instantiates files and other configuration actions
4319 from templates according to the current configuration. Unless the files
4320 and actions are specified as TAGs, all are instantiated by default.
4321
4322 Usage: $0 [OPTION]... [TAG]...
4323
4324 -h, --help print this help, then exit
4325 -V, --version print version number and configuration settings, then exit
4326 -q, --quiet, --silent
4327 do not print progress messages
4328 -d, --debug don't remove temporary files
4329 --recheck update $as_me by reconfiguring in the same conditions
4330 --file=FILE[:TEMPLATE]
4331 instantiate the configuration file FILE
4332
4333 Configuration files:
4334 $config_files
4335
4336 Report bugs to the package provider."
4337
4338 _ACEOF
4339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4340 ac_cs_version="\\
4341 config.status
4342 configured by $0, generated by GNU Autoconf 2.64,
4343 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4344
4345 Copyright (C) 2009 Free Software Foundation, Inc.
4346 This config.status script is free software; the Free Software Foundation
4347 gives unlimited permission to copy, distribute and modify it."
4348
4349 ac_pwd='$ac_pwd'
4350 srcdir='$srcdir'
4351 INSTALL='$INSTALL'
4352 test -n "\$AWK" || AWK=awk
4353 _ACEOF
4354
4355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4356 # The default lists apply if the user does not specify any file.
4357 ac_need_defaults=:
4358 while test $# != 0
4359 do
4360 case $1 in
4361 --*=*)
4362 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4363 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4364 ac_shift=:
4365 ;;
4366 *)
4367 ac_option=$1
4368 ac_optarg=$2
4369 ac_shift=shift
4370 ;;
4371 esac
4372
4373 case $ac_option in
4374 # Handling of the options.
4375 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4376 ac_cs_recheck=: ;;
4377 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4378 $as_echo "$ac_cs_version"; exit ;;
4379 --debug | --debu | --deb | --de | --d | -d )
4380 debug=: ;;
4381 --file | --fil | --fi | --f )
4382 $ac_shift
4383 case $ac_optarg in
4384 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4385 esac
4386 as_fn_append CONFIG_FILES " '$ac_optarg'"
4387 ac_need_defaults=false;;
4388 --he | --h | --help | --hel | -h )
4389 $as_echo "$ac_cs_usage"; exit ;;
4390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4391 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4392 ac_cs_silent=: ;;
4393
4394 # This is an error.
4395 -*) as_fn_error "unrecognized option: \`$1'
4396 Try \`$0 --help' for more information." ;;
4397
4398 *) as_fn_append ac_config_targets " $1"
4399 ac_need_defaults=false ;;
4400
4401 esac
4402 shift
4403 done
4404
4405 ac_configure_extra_args=
4406
4407 if $ac_cs_silent; then
4408 exec 6>/dev/null
4409 ac_configure_extra_args="$ac_configure_extra_args --silent"
4410 fi
4411
4412 _ACEOF
4413 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4414 if \$ac_cs_recheck; then
4415 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4416 shift
4417 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4418 CONFIG_SHELL='$SHELL'
4419 export CONFIG_SHELL
4420 exec "\$@"
4421 fi
4422
4423 _ACEOF
4424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4425 exec 5>>config.log
4426 {
4427 echo
4428 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4429 ## Running $as_me. ##
4430 _ASBOX
4431 $as_echo "$ac_log"
4432 } >&5
4433
4434 _ACEOF
4435 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4436 _ACEOF
4437
4438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4439
4440 # Handling of arguments.
4441 for ac_config_target in $ac_config_targets
4442 do
4443 case $ac_config_target in
4444 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4445
4446 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4447 esac
4448 done
4449
4450
4451 # If the user did not use the arguments to specify the items to instantiate,
4452 # then the envvar interface is used. Set only those that are not.
4453 # We use the long form for the default assignment because of an extremely
4454 # bizarre bug on SunOS 4.1.3.
4455 if $ac_need_defaults; then
4456 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4457 fi
4458
4459 # Have a temporary directory for convenience. Make it in the build tree
4460 # simply because there is no reason against having it here, and in addition,
4461 # creating and moving files from /tmp can sometimes cause problems.
4462 # Hook for its removal unless debugging.
4463 # Note that there is a small window in which the directory will not be cleaned:
4464 # after its creation but before its name has been assigned to `$tmp'.
4465 $debug ||
4466 {
4467 tmp=
4468 trap 'exit_status=$?
4469 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4470 ' 0
4471 trap 'as_fn_exit 1' 1 2 13 15
4472 }
4473 # Create a (secure) tmp directory for tmp files.
4474
4475 {
4476 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4477 test -n "$tmp" && test -d "$tmp"
4478 } ||
4479 {
4480 tmp=./conf$$-$RANDOM
4481 (umask 077 && mkdir "$tmp")
4482 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4483
4484 # Set up the scripts for CONFIG_FILES section.
4485 # No need to generate them if there are no CONFIG_FILES.
4486 # This happens for instance with `./config.status config.h'.
4487 if test -n "$CONFIG_FILES"; then
4488
4489
4490 ac_cr=`echo X | tr X '\015'`
4491 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4492 # But we know of no other shell where ac_cr would be empty at this
4493 # point, so we can use a bashism as a fallback.
4494 if test "x$ac_cr" = x; then
4495 eval ac_cr=\$\'\\r\'
4496 fi
4497 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4498 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4499 ac_cs_awk_cr='\r'
4500 else
4501 ac_cs_awk_cr=$ac_cr
4502 fi
4503
4504 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4505 _ACEOF
4506
4507
4508 {
4509 echo "cat >conf$$subs.awk <<_ACEOF" &&
4510 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4511 echo "_ACEOF"
4512 } >conf$$subs.sh ||
4513 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4514 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4515 ac_delim='%!_!# '
4516 for ac_last_try in false false false false false :; do
4517 . ./conf$$subs.sh ||
4518 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4519
4520 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4521 if test $ac_delim_n = $ac_delim_num; then
4522 break
4523 elif $ac_last_try; then
4524 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4525 else
4526 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4527 fi
4528 done
4529 rm -f conf$$subs.sh
4530
4531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4532 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4533 _ACEOF
4534 sed -n '
4535 h
4536 s/^/S["/; s/!.*/"]=/
4537 p
4538 g
4539 s/^[^!]*!//
4540 :repl
4541 t repl
4542 s/'"$ac_delim"'$//
4543 t delim
4544 :nl
4545 h
4546 s/\(.\{148\}\).*/\1/
4547 t more1
4548 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4549 p
4550 n
4551 b repl
4552 :more1
4553 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4554 p
4555 g
4556 s/.\{148\}//
4557 t nl
4558 :delim
4559 h
4560 s/\(.\{148\}\).*/\1/
4561 t more2
4562 s/["\\]/\\&/g; s/^/"/; s/$/"/
4563 p
4564 b
4565 :more2
4566 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4567 p
4568 g
4569 s/.\{148\}//
4570 t delim
4571 ' <conf$$subs.awk | sed '
4572 /^[^""]/{
4573 N
4574 s/\n//
4575 }
4576 ' >>$CONFIG_STATUS || ac_write_fail=1
4577 rm -f conf$$subs.awk
4578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4579 _ACAWK
4580 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4581 for (key in S) S_is_set[key] = 1
4582 FS = "\a"
4583
4584 }
4585 {
4586 line = $ 0
4587 nfields = split(line, field, "@")
4588 substed = 0
4589 len = length(field[1])
4590 for (i = 2; i < nfields; i++) {
4591 key = field[i]
4592 keylen = length(key)
4593 if (S_is_set[key]) {
4594 value = S[key]
4595 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4596 len += length(value) + length(field[++i])
4597 substed = 1
4598 } else
4599 len += 1 + keylen
4600 }
4601
4602 print line
4603 }
4604
4605 _ACAWK
4606 _ACEOF
4607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4608 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4609 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4610 else
4611 cat
4612 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4613 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4614 _ACEOF
4615
4616 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4617 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4618 # trailing colons and then remove the whole line if VPATH becomes empty
4619 # (actually we leave an empty line to preserve line numbers).
4620 if test "x$srcdir" = x.; then
4621 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4622 s/:*\$(srcdir):*/:/
4623 s/:*\${srcdir}:*/:/
4624 s/:*@srcdir@:*/:/
4625 s/^\([^=]*=[ ]*\):*/\1/
4626 s/:*$//
4627 s/^[^=]*=[ ]*$//
4628 }'
4629 fi
4630
4631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4632 fi # test -n "$CONFIG_FILES"
4633
4634
4635 eval set X " :F $CONFIG_FILES "
4636 shift
4637 for ac_tag
4638 do
4639 case $ac_tag in
4640 :[FHLC]) ac_mode=$ac_tag; continue;;
4641 esac
4642 case $ac_mode$ac_tag in
4643 :[FHL]*:*);;
4644 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4645 :[FH]-) ac_tag=-:-;;
4646 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4647 esac
4648 ac_save_IFS=$IFS
4649 IFS=:
4650 set x $ac_tag
4651 IFS=$ac_save_IFS
4652 shift
4653 ac_file=$1
4654 shift
4655
4656 case $ac_mode in
4657 :L) ac_source=$1;;
4658 :[FH])
4659 ac_file_inputs=
4660 for ac_f
4661 do
4662 case $ac_f in
4663 -) ac_f="$tmp/stdin";;
4664 *) # Look for the file first in the build tree, then in the source tree
4665 # (if the path is not absolute). The absolute path cannot be DOS-style,
4666 # because $ac_f cannot contain `:'.
4667 test -f "$ac_f" ||
4668 case $ac_f in
4669 [\\/$]*) false;;
4670 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4671 esac ||
4672 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4673 esac
4674 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4675 as_fn_append ac_file_inputs " '$ac_f'"
4676 done
4677
4678 # Let's still pretend it is `configure' which instantiates (i.e., don't
4679 # use $as_me), people would be surprised to read:
4680 # /* config.h. Generated by config.status. */
4681 configure_input='Generated from '`
4682 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4683 `' by configure.'
4684 if test x"$ac_file" != x-; then
4685 configure_input="$ac_file. $configure_input"
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4687 $as_echo "$as_me: creating $ac_file" >&6;}
4688 fi
4689 # Neutralize special characters interpreted by sed in replacement strings.
4690 case $configure_input in #(
4691 *\&* | *\|* | *\\* )
4692 ac_sed_conf_input=`$as_echo "$configure_input" |
4693 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4694 *) ac_sed_conf_input=$configure_input;;
4695 esac
4696
4697 case $ac_tag in
4698 *:-:* | *:-) cat >"$tmp/stdin" \
4699 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4700 esac
4701 ;;
4702 esac
4703
4704 ac_dir=`$as_dirname -- "$ac_file" ||
4705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4706 X"$ac_file" : 'X\(//\)[^/]' \| \
4707 X"$ac_file" : 'X\(//\)$' \| \
4708 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4709 $as_echo X"$ac_file" |
4710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4711 s//\1/
4712 q
4713 }
4714 /^X\(\/\/\)[^/].*/{
4715 s//\1/
4716 q
4717 }
4718 /^X\(\/\/\)$/{
4719 s//\1/
4720 q
4721 }
4722 /^X\(\/\).*/{
4723 s//\1/
4724 q
4725 }
4726 s/.*/./; q'`
4727 as_dir="$ac_dir"; as_fn_mkdir_p
4728 ac_builddir=.
4729
4730 case "$ac_dir" in
4731 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4732 *)
4733 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4734 # A ".." for each directory in $ac_dir_suffix.
4735 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4736 case $ac_top_builddir_sub in
4737 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4738 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4739 esac ;;
4740 esac
4741 ac_abs_top_builddir=$ac_pwd
4742 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4743 # for backward compatibility:
4744 ac_top_builddir=$ac_top_build_prefix
4745
4746 case $srcdir in
4747 .) # We are building in place.
4748 ac_srcdir=.
4749 ac_top_srcdir=$ac_top_builddir_sub
4750 ac_abs_top_srcdir=$ac_pwd ;;
4751 [\\/]* | ?:[\\/]* ) # Absolute name.
4752 ac_srcdir=$srcdir$ac_dir_suffix;
4753 ac_top_srcdir=$srcdir
4754 ac_abs_top_srcdir=$srcdir ;;
4755 *) # Relative name.
4756 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4757 ac_top_srcdir=$ac_top_build_prefix$srcdir
4758 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4759 esac
4760 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4761
4762
4763 case $ac_mode in
4764 :F)
4765 #
4766 # CONFIG_FILE
4767 #
4768
4769 case $INSTALL in
4770 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4771 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4772 esac
4773 _ACEOF
4774
4775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4776 # If the template does not know about datarootdir, expand it.
4777 # FIXME: This hack should be removed a few years after 2.60.
4778 ac_datarootdir_hack=; ac_datarootdir_seen=
4779 ac_sed_dataroot='
4780 /datarootdir/ {
4781 p
4782 q
4783 }
4784 /@datadir@/p
4785 /@docdir@/p
4786 /@infodir@/p
4787 /@localedir@/p
4788 /@mandir@/p'
4789 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4790 *datarootdir*) ac_datarootdir_seen=yes;;
4791 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4793 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4794 _ACEOF
4795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4796 ac_datarootdir_hack='
4797 s&@datadir@&$datadir&g
4798 s&@docdir@&$docdir&g
4799 s&@infodir@&$infodir&g
4800 s&@localedir@&$localedir&g
4801 s&@mandir@&$mandir&g
4802 s&\\\${datarootdir}&$datarootdir&g' ;;
4803 esac
4804 _ACEOF
4805
4806 # Neutralize VPATH when `$srcdir' = `.'.
4807 # Shell code in configure.ac might set extrasub.
4808 # FIXME: do we really want to maintain this feature?
4809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4810 ac_sed_extra="$ac_vpsub
4811 $extrasub
4812 _ACEOF
4813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4814 :t
4815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4816 s|@configure_input@|$ac_sed_conf_input|;t t
4817 s&@top_builddir@&$ac_top_builddir_sub&;t t
4818 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4819 s&@srcdir@&$ac_srcdir&;t t
4820 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4821 s&@top_srcdir@&$ac_top_srcdir&;t t
4822 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4823 s&@builddir@&$ac_builddir&;t t
4824 s&@abs_builddir@&$ac_abs_builddir&;t t
4825 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4826 s&@INSTALL@&$ac_INSTALL&;t t
4827 $ac_datarootdir_hack
4828 "
4829 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4830 || as_fn_error "could not create $ac_file" "$LINENO" 5
4831
4832 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4833 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4834 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4836 which seems to be undefined. Please make sure it is defined." >&5
4837 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4838 which seems to be undefined. Please make sure it is defined." >&2;}
4839
4840 rm -f "$tmp/stdin"
4841 case $ac_file in
4842 -) cat "$tmp/out" && rm -f "$tmp/out";;
4843 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4844 esac \
4845 || as_fn_error "could not create $ac_file" "$LINENO" 5
4846 ;;
4847
4848
4849
4850 esac
4851
4852 done # for ac_tag
4853
4854
4855 as_fn_exit 0
4856 _ACEOF
4857 ac_clean_files=$ac_clean_files_save
4858
4859 test $ac_write_fail = 0 ||
4860 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4861
4862
4863 # configure is writing to config.log, and then calls config.status.
4864 # config.status does its own redirection, appending to config.log.
4865 # Unfortunately, on DOS this fails, as config.log is still kept open
4866 # by configure, so config.status won't be able to write to it; its
4867 # output is simply discarded. So we exec the FD to /dev/null,
4868 # effectively closing config.log, so it can be properly (re)opened and
4869 # appended to by config.status. When coming back to configure, we
4870 # need to make the FD available again.
4871 if test "$no_create" != yes; then
4872 ac_cs_success=:
4873 ac_config_status_args=
4874 test "$silent" = yes &&
4875 ac_config_status_args="$ac_config_status_args --quiet"
4876 exec 5>/dev/null
4877 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4878 exec 5>>config.log
4879 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4880 # would make configure fail if this is the last instruction.
4881 $ac_cs_success || as_fn_exit $?
4882 fi
4883
4884 #
4885 # CONFIG_SUBDIRS section.
4886 #
4887 if test "$no_recursion" != yes; then
4888
4889 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
4890 # so they do not pile up.
4891 ac_sub_configure_args=
4892 ac_prev=
4893 eval "set x $ac_configure_args"
4894 shift
4895 for ac_arg
4896 do
4897 if test -n "$ac_prev"; then
4898 ac_prev=
4899 continue
4900 fi
4901 case $ac_arg in
4902 -cache-file | --cache-file | --cache-fil | --cache-fi \
4903 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4904 ac_prev=cache_file ;;
4905 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4906 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4907 | --c=*)
4908 ;;
4909 --config-cache | -C)
4910 ;;
4911 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4912 ac_prev=srcdir ;;
4913 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4914 ;;
4915 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4916 ac_prev=prefix ;;
4917 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4918 ;;
4919 --disable-option-checking)
4920 ;;
4921 *)
4922 case $ac_arg in
4923 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4924 esac
4925 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
4926 esac
4927 done
4928
4929 # Always prepend --prefix to ensure using the same prefix
4930 # in subdir configurations.
4931 ac_arg="--prefix=$prefix"
4932 case $ac_arg in
4933 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
4934 esac
4935 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
4936
4937 # Pass --silent
4938 if test "$silent" = yes; then
4939 ac_sub_configure_args="--silent $ac_sub_configure_args"
4940 fi
4941
4942 # Always prepend --disable-option-checking to silence warnings, since
4943 # different subdirs can have different --enable and --with options.
4944 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
4945
4946 ac_popdir=`pwd`
4947 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4948
4949 # Do not complain, so a configure script can configure whichever
4950 # parts of a large source tree are present.
4951 test -d "$srcdir/$ac_dir" || continue
4952
4953 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
4955 $as_echo "$ac_msg" >&6
4956 as_dir="$ac_dir"; as_fn_mkdir_p
4957 ac_builddir=.
4958
4959 case "$ac_dir" in
4960 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4961 *)
4962 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4963 # A ".." for each directory in $ac_dir_suffix.
4964 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4965 case $ac_top_builddir_sub in
4966 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4967 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4968 esac ;;
4969 esac
4970 ac_abs_top_builddir=$ac_pwd
4971 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4972 # for backward compatibility:
4973 ac_top_builddir=$ac_top_build_prefix
4974
4975 case $srcdir in
4976 .) # We are building in place.
4977 ac_srcdir=.
4978 ac_top_srcdir=$ac_top_builddir_sub
4979 ac_abs_top_srcdir=$ac_pwd ;;
4980 [\\/]* | ?:[\\/]* ) # Absolute name.
4981 ac_srcdir=$srcdir$ac_dir_suffix;
4982 ac_top_srcdir=$srcdir
4983 ac_abs_top_srcdir=$srcdir ;;
4984 *) # Relative name.
4985 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4986 ac_top_srcdir=$ac_top_build_prefix$srcdir
4987 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4988 esac
4989 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4990
4991
4992 cd "$ac_dir"
4993
4994 # Check for guested configure; otherwise get Cygnus style configure.
4995 if test -f "$ac_srcdir/configure.gnu"; then
4996 ac_sub_configure=$ac_srcdir/configure.gnu
4997 elif test -f "$ac_srcdir/configure"; then
4998 ac_sub_configure=$ac_srcdir/configure
4999 elif test -f "$ac_srcdir/configure.in"; then
5000 # This should be Cygnus configure.
5001 ac_sub_configure=$ac_aux_dir/configure
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
5004 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
5005 ac_sub_configure=
5006 fi
5007
5008 # The recursion is here.
5009 if test -n "$ac_sub_configure"; then
5010 # Make the cache file name correct relative to the subdirectory.
5011 case $cache_file in
5012 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
5013 *) # Relative name.
5014 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
5015 esac
5016
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
5018 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
5019 # The eval makes quoting arguments work.
5020 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
5021 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
5022 as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
5023 fi
5024
5025 cd "$ac_popdir"
5026 done
5027 fi
5028 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5030 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5031 fi
5032
5033
5034 exit 0
This page took 0.158406 seconds and 5 git commands to generate.