OSDN Git Service

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