2011-02-11 Yao Qi <yao@codesourcery.com>
[platform/upstream/binutils.git] / gdb / gdbserver / 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 test \$(( 1 + 1 )) = 2 || exit 1"
173   if (eval "$as_required") 2>/dev/null; then :
174   as_have_required=yes
175 else
176   as_have_required=no
177 fi
178   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
180 else
181   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 as_found=false
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 do
185   IFS=$as_save_IFS
186   test -z "$as_dir" && as_dir=.
187   as_found=:
188   case $as_dir in #(
189          /*)
190            for as_base in sh bash ksh sh5; do
191              # Try only shells that exist, to save several forks.
192              as_shell=$as_dir/$as_base
193              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195   CONFIG_SHELL=$as_shell as_have_required=yes
196                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197   break 2
198 fi
199 fi
200            done;;
201        esac
202   as_found=false
203 done
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206   CONFIG_SHELL=$SHELL as_have_required=yes
207 fi; }
208 IFS=$as_save_IFS
209
210
211       if test "x$CONFIG_SHELL" != x; then :
212   # We cannot yet assume a decent shell, so we have to provide a
213         # neutralization value for shells without unset; and this also
214         # works around shells that cannot unset nonexistent variables.
215         BASH_ENV=/dev/null
216         ENV=/dev/null
217         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218         export CONFIG_SHELL
219         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220 fi
221
222     if test x$as_have_required = xno; then :
223   $as_echo "$0: This script requires a shell more modern than all"
224   $as_echo "$0: the shells that I found on your system."
225   if test x${ZSH_VERSION+set} = xset ; then
226     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228   else
229     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
233   fi
234   exit 1
235 fi
236 fi
237 fi
238 SHELL=${CONFIG_SHELL-/bin/sh}
239 export SHELL
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
243
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
247 # as_fn_unset VAR
248 # ---------------
249 # Portably unset VAR.
250 as_fn_unset ()
251 {
252   { eval $1=; unset $1;}
253 }
254 as_unset=as_fn_unset
255
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
259 as_fn_set_status ()
260 {
261   return $1
262 } # as_fn_set_status
263
264 # as_fn_exit STATUS
265 # -----------------
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267 as_fn_exit ()
268 {
269   set +e
270   as_fn_set_status $1
271   exit $1
272 } # as_fn_exit
273
274 # as_fn_mkdir_p
275 # -------------
276 # Create "$as_dir" as a directory, including parents if necessary.
277 as_fn_mkdir_p ()
278 {
279
280   case $as_dir in #(
281   -*) as_dir=./$as_dir;;
282   esac
283   test -d "$as_dir" || eval $as_mkdir_p || {
284     as_dirs=
285     while :; do
286       case $as_dir in #(
287       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288       *) as_qdir=$as_dir;;
289       esac
290       as_dirs="'$as_qdir' $as_dirs"
291       as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293          X"$as_dir" : 'X\(//\)[^/]' \| \
294          X"$as_dir" : 'X\(//\)$' \| \
295          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298             s//\1/
299             q
300           }
301           /^X\(\/\/\)[^/].*/{
302             s//\1/
303             q
304           }
305           /^X\(\/\/\)$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\).*/{
310             s//\1/
311             q
312           }
313           s/.*/./; q'`
314       test -d "$as_dir" && break
315     done
316     test -z "$as_dirs" || eval "mkdir $as_dirs"
317   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
319
320 } # as_fn_mkdir_p
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
326 # implementations.
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328   eval 'as_fn_append ()
329   {
330     eval $1+=\$2
331   }'
332 else
333   as_fn_append ()
334   {
335     eval $1=\$$1\$2
336   }
337 fi # as_fn_append
338
339 # as_fn_arith ARG...
340 # ------------------
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345   eval 'as_fn_arith ()
346   {
347     as_val=$(( $* ))
348   }'
349 else
350   as_fn_arith ()
351   {
352     as_val=`expr "$@" || test $? -eq 1`
353   }
354 fi # as_fn_arith
355
356
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
362 as_fn_error ()
363 {
364   as_status=$?; test $as_status -eq 0 && as_status=1
365   if test "$3"; then
366     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368   fi
369   $as_echo "$as_me: error: $1" >&2
370   as_fn_exit $as_status
371 } # as_fn_error
372
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374    test "X`expr 00001 : '.*\(...\)'`" = X001; then
375   as_expr=expr
376 else
377   as_expr=false
378 fi
379
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381   as_basename=basename
382 else
383   as_basename=false
384 fi
385
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387   as_dirname=dirname
388 else
389   as_dirname=false
390 fi
391
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394          X"$0" : 'X\(//\)$' \| \
395          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 $as_echo X/"$0" |
397     sed '/^.*\/\([^/][^/]*\)\/*$/{
398             s//\1/
399             q
400           }
401           /^X\/\(\/\/\)$/{
402             s//\1/
403             q
404           }
405           /^X\/\(\/\).*/{
406             s//\1/
407             q
408           }
409           s/.*/./; q'`
410
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
417
418
419   as_lineno_1=$LINENO as_lineno_1a=$LINENO
420   as_lineno_2=$LINENO as_lineno_2a=$LINENO
421   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
424   sed -n '
425     p
426     /[$]LINENO/=
427   ' <$as_myself |
428     sed '
429       s/[$]LINENO.*/&-/
430       t lineno
431       b
432       :lineno
433       N
434       :loop
435       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436       t loop
437       s/-\n.*//
438     ' >$as_me.lineno &&
439   chmod +x "$as_me.lineno" ||
440     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441
442   # Don't try to exec as it changes $[0], causing all sort of problems
443   # (the dirname of $[0] is not the place where we might find the
444   # original and so on.  Autoconf is especially sensitive to this).
445   . "./$as_me.lineno"
446   # Exit status is that of the last command.
447   exit
448 }
449
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
452 -n*)
453   case `echo 'xy\c'` in
454   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
455   xy)  ECHO_C='\c';;
456   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
457        ECHO_T=' ';;
458   esac;;
459 *)
460   ECHO_N='-n';;
461 esac
462
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465   rm -f conf$$.dir/conf$$.file
466 else
467   rm -f conf$$.dir
468   mkdir conf$$.dir 2>/dev/null
469 fi
470 if (echo >conf$$.file) 2>/dev/null; then
471   if ln -s conf$$.file conf$$ 2>/dev/null; then
472     as_ln_s='ln -s'
473     # ... but there are two gotchas:
474     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476     # In both cases, we have to default to `cp -p'.
477     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478       as_ln_s='cp -p'
479   elif ln conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s=ln
481   else
482     as_ln_s='cp -p'
483   fi
484 else
485   as_ln_s='cp -p'
486 fi
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
489
490 if mkdir -p . 2>/dev/null; then
491   as_mkdir_p='mkdir -p "$as_dir"'
492 else
493   test -d ./-p && rmdir ./-p
494   as_mkdir_p=false
495 fi
496
497 if test -x / >/dev/null 2>&1; then
498   as_test_x='test -x'
499 else
500   if ls -dL / >/dev/null 2>&1; then
501     as_ls_L_option=L
502   else
503     as_ls_L_option=
504   fi
505   as_test_x='
506     eval sh -c '\''
507       if test -d "$1"; then
508         test -d "$1/.";
509       else
510         case $1 in #(
511         -*)set "./$1";;
512         esac;
513         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514         ???[sx]*):;;*)false;;esac;fi
515     '\'' sh
516   '
517 fi
518 as_executable_p=$as_test_x
519
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
526
527 exec 7<&0 </dev/null 6>&1
528
529 # Name of the host.
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
533
534 #
535 # Initializations.
536 #
537 ac_default_prefix=/usr/local
538 ac_clean_files=
539 ac_config_libobj_dir=.
540 LIBOBJS=
541 cross_compiling=no
542 subdirs=
543 MFLAGS=
544 MAKEFLAGS=
545
546 # Identity of this package.
547 PACKAGE_NAME=
548 PACKAGE_TARNAME=
549 PACKAGE_VERSION=
550 PACKAGE_STRING=
551 PACKAGE_BUGREPORT=
552 PACKAGE_URL=
553
554 ac_unique_file="server.c"
555 ac_config_libobj_dir=../gnulib
556 # Factoring default headers for most tests.
557 ac_includes_default="\
558 #include <stdio.h>
559 #ifdef HAVE_SYS_TYPES_H
560 # include <sys/types.h>
561 #endif
562 #ifdef HAVE_SYS_STAT_H
563 # include <sys/stat.h>
564 #endif
565 #ifdef STDC_HEADERS
566 # include <stdlib.h>
567 # include <stddef.h>
568 #else
569 # ifdef HAVE_STDLIB_H
570 #  include <stdlib.h>
571 # endif
572 #endif
573 #ifdef HAVE_STRING_H
574 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
575 #  include <memory.h>
576 # endif
577 # include <string.h>
578 #endif
579 #ifdef HAVE_STRINGS_H
580 # include <strings.h>
581 #endif
582 #ifdef HAVE_INTTYPES_H
583 # include <inttypes.h>
584 #endif
585 #ifdef HAVE_STDINT_H
586 # include <stdint.h>
587 #endif
588 #ifdef HAVE_UNISTD_H
589 # include <unistd.h>
590 #endif"
591
592 ac_subst_vars='LTLIBOBJS
593 extra_libraries
594 IPA_DEPFILES
595 srv_xmlfiles
596 srv_xmlbuiltin
597 USE_THREAD_DB
598 GDBSERVER_LIBS
599 GDBSERVER_DEPFILES
600 RDYNAMIC
601 REPORT_BUGS_TEXI
602 REPORT_BUGS_TO
603 PKGVERSION
604 WERROR_CFLAGS
605 WARN_CFLAGS
606 ustinc
607 ustlibs
608 LIBOBJS
609 ALLOCA
610 INSTALL_DATA
611 INSTALL_SCRIPT
612 INSTALL_PROGRAM
613 target_os
614 target_vendor
615 target_cpu
616 target
617 host_os
618 host_vendor
619 host_cpu
620 host
621 build_os
622 build_vendor
623 build_cpu
624 build
625 EGREP
626 GREP
627 CPP
628 RANLIB
629 OBJEXT
630 EXEEXT
631 ac_ct_CC
632 CPPFLAGS
633 LDFLAGS
634 CFLAGS
635 CC
636 target_alias
637 host_alias
638 build_alias
639 LIBS
640 ECHO_T
641 ECHO_N
642 ECHO_C
643 DEFS
644 mandir
645 localedir
646 libdir
647 psdir
648 pdfdir
649 dvidir
650 htmldir
651 infodir
652 docdir
653 oldincludedir
654 includedir
655 localstatedir
656 sharedstatedir
657 sysconfdir
658 datadir
659 datarootdir
660 libexecdir
661 sbindir
662 bindir
663 program_transform_name
664 prefix
665 exec_prefix
666 PACKAGE_URL
667 PACKAGE_BUGREPORT
668 PACKAGE_STRING
669 PACKAGE_VERSION
670 PACKAGE_TARNAME
671 PACKAGE_NAME
672 PATH_SEPARATOR
673 SHELL'
674 ac_subst_files=''
675 ac_user_opts='
676 enable_option_checking
677 with_ust
678 with_ust_include
679 with_ust_lib
680 enable_werror
681 with_pkgversion
682 with_bugurl
683 with_libthread_db
684 enable_inprocess_agent
685 '
686       ac_precious_vars='build_alias
687 host_alias
688 target_alias
689 CC
690 CFLAGS
691 LDFLAGS
692 LIBS
693 CPPFLAGS
694 CPP'
695
696
697 # Initialize some variables set by options.
698 ac_init_help=
699 ac_init_version=false
700 ac_unrecognized_opts=
701 ac_unrecognized_sep=
702 # The variables have the same names as the options, with
703 # dashes changed to underlines.
704 cache_file=/dev/null
705 exec_prefix=NONE
706 no_create=
707 no_recursion=
708 prefix=NONE
709 program_prefix=NONE
710 program_suffix=NONE
711 program_transform_name=s,x,x,
712 silent=
713 site=
714 srcdir=
715 verbose=
716 x_includes=NONE
717 x_libraries=NONE
718
719 # Installation directory options.
720 # These are left unexpanded so users can "make install exec_prefix=/foo"
721 # and all the variables that are supposed to be based on exec_prefix
722 # by default will actually change.
723 # Use braces instead of parens because sh, perl, etc. also accept them.
724 # (The list follows the same order as the GNU Coding Standards.)
725 bindir='${exec_prefix}/bin'
726 sbindir='${exec_prefix}/sbin'
727 libexecdir='${exec_prefix}/libexec'
728 datarootdir='${prefix}/share'
729 datadir='${datarootdir}'
730 sysconfdir='${prefix}/etc'
731 sharedstatedir='${prefix}/com'
732 localstatedir='${prefix}/var'
733 includedir='${prefix}/include'
734 oldincludedir='/usr/include'
735 docdir='${datarootdir}/doc/${PACKAGE}'
736 infodir='${datarootdir}/info'
737 htmldir='${docdir}'
738 dvidir='${docdir}'
739 pdfdir='${docdir}'
740 psdir='${docdir}'
741 libdir='${exec_prefix}/lib'
742 localedir='${datarootdir}/locale'
743 mandir='${datarootdir}/man'
744
745 ac_prev=
746 ac_dashdash=
747 for ac_option
748 do
749   # If the previous option needs an argument, assign it.
750   if test -n "$ac_prev"; then
751     eval $ac_prev=\$ac_option
752     ac_prev=
753     continue
754   fi
755
756   case $ac_option in
757   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
758   *)    ac_optarg=yes ;;
759   esac
760
761   # Accept the important Cygnus configure options, so we can diagnose typos.
762
763   case $ac_dashdash$ac_option in
764   --)
765     ac_dashdash=yes ;;
766
767   -bindir | --bindir | --bindi | --bind | --bin | --bi)
768     ac_prev=bindir ;;
769   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
770     bindir=$ac_optarg ;;
771
772   -build | --build | --buil | --bui | --bu)
773     ac_prev=build_alias ;;
774   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
775     build_alias=$ac_optarg ;;
776
777   -cache-file | --cache-file | --cache-fil | --cache-fi \
778   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
779     ac_prev=cache_file ;;
780   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
781   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
782     cache_file=$ac_optarg ;;
783
784   --config-cache | -C)
785     cache_file=config.cache ;;
786
787   -datadir | --datadir | --datadi | --datad)
788     ac_prev=datadir ;;
789   -datadir=* | --datadir=* | --datadi=* | --datad=*)
790     datadir=$ac_optarg ;;
791
792   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
793   | --dataroo | --dataro | --datar)
794     ac_prev=datarootdir ;;
795   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
796   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
797     datarootdir=$ac_optarg ;;
798
799   -disable-* | --disable-*)
800     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
801     # Reject names that are not valid shell variable names.
802     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803       as_fn_error "invalid feature name: $ac_useropt"
804     ac_useropt_orig=$ac_useropt
805     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806     case $ac_user_opts in
807       *"
808 "enable_$ac_useropt"
809 "*) ;;
810       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
811          ac_unrecognized_sep=', ';;
812     esac
813     eval enable_$ac_useropt=no ;;
814
815   -docdir | --docdir | --docdi | --doc | --do)
816     ac_prev=docdir ;;
817   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
818     docdir=$ac_optarg ;;
819
820   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
821     ac_prev=dvidir ;;
822   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
823     dvidir=$ac_optarg ;;
824
825   -enable-* | --enable-*)
826     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
827     # Reject names that are not valid shell variable names.
828     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
829       as_fn_error "invalid feature name: $ac_useropt"
830     ac_useropt_orig=$ac_useropt
831     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
832     case $ac_user_opts in
833       *"
834 "enable_$ac_useropt"
835 "*) ;;
836       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
837          ac_unrecognized_sep=', ';;
838     esac
839     eval enable_$ac_useropt=\$ac_optarg ;;
840
841   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
842   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
843   | --exec | --exe | --ex)
844     ac_prev=exec_prefix ;;
845   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
846   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
847   | --exec=* | --exe=* | --ex=*)
848     exec_prefix=$ac_optarg ;;
849
850   -gas | --gas | --ga | --g)
851     # Obsolete; use --with-gas.
852     with_gas=yes ;;
853
854   -help | --help | --hel | --he | -h)
855     ac_init_help=long ;;
856   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
857     ac_init_help=recursive ;;
858   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
859     ac_init_help=short ;;
860
861   -host | --host | --hos | --ho)
862     ac_prev=host_alias ;;
863   -host=* | --host=* | --hos=* | --ho=*)
864     host_alias=$ac_optarg ;;
865
866   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
867     ac_prev=htmldir ;;
868   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
869   | --ht=*)
870     htmldir=$ac_optarg ;;
871
872   -includedir | --includedir | --includedi | --included | --include \
873   | --includ | --inclu | --incl | --inc)
874     ac_prev=includedir ;;
875   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
876   | --includ=* | --inclu=* | --incl=* | --inc=*)
877     includedir=$ac_optarg ;;
878
879   -infodir | --infodir | --infodi | --infod | --info | --inf)
880     ac_prev=infodir ;;
881   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
882     infodir=$ac_optarg ;;
883
884   -libdir | --libdir | --libdi | --libd)
885     ac_prev=libdir ;;
886   -libdir=* | --libdir=* | --libdi=* | --libd=*)
887     libdir=$ac_optarg ;;
888
889   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
890   | --libexe | --libex | --libe)
891     ac_prev=libexecdir ;;
892   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
893   | --libexe=* | --libex=* | --libe=*)
894     libexecdir=$ac_optarg ;;
895
896   -localedir | --localedir | --localedi | --localed | --locale)
897     ac_prev=localedir ;;
898   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
899     localedir=$ac_optarg ;;
900
901   -localstatedir | --localstatedir | --localstatedi | --localstated \
902   | --localstate | --localstat | --localsta | --localst | --locals)
903     ac_prev=localstatedir ;;
904   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
905   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
906     localstatedir=$ac_optarg ;;
907
908   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
909     ac_prev=mandir ;;
910   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
911     mandir=$ac_optarg ;;
912
913   -nfp | --nfp | --nf)
914     # Obsolete; use --without-fp.
915     with_fp=no ;;
916
917   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
918   | --no-cr | --no-c | -n)
919     no_create=yes ;;
920
921   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
922   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
923     no_recursion=yes ;;
924
925   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
926   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
927   | --oldin | --oldi | --old | --ol | --o)
928     ac_prev=oldincludedir ;;
929   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
930   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
931   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
932     oldincludedir=$ac_optarg ;;
933
934   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
935     ac_prev=prefix ;;
936   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
937     prefix=$ac_optarg ;;
938
939   -program-prefix | --program-prefix | --program-prefi | --program-pref \
940   | --program-pre | --program-pr | --program-p)
941     ac_prev=program_prefix ;;
942   -program-prefix=* | --program-prefix=* | --program-prefi=* \
943   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
944     program_prefix=$ac_optarg ;;
945
946   -program-suffix | --program-suffix | --program-suffi | --program-suff \
947   | --program-suf | --program-su | --program-s)
948     ac_prev=program_suffix ;;
949   -program-suffix=* | --program-suffix=* | --program-suffi=* \
950   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
951     program_suffix=$ac_optarg ;;
952
953   -program-transform-name | --program-transform-name \
954   | --program-transform-nam | --program-transform-na \
955   | --program-transform-n | --program-transform- \
956   | --program-transform | --program-transfor \
957   | --program-transfo | --program-transf \
958   | --program-trans | --program-tran \
959   | --progr-tra | --program-tr | --program-t)
960     ac_prev=program_transform_name ;;
961   -program-transform-name=* | --program-transform-name=* \
962   | --program-transform-nam=* | --program-transform-na=* \
963   | --program-transform-n=* | --program-transform-=* \
964   | --program-transform=* | --program-transfor=* \
965   | --program-transfo=* | --program-transf=* \
966   | --program-trans=* | --program-tran=* \
967   | --progr-tra=* | --program-tr=* | --program-t=*)
968     program_transform_name=$ac_optarg ;;
969
970   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
971     ac_prev=pdfdir ;;
972   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
973     pdfdir=$ac_optarg ;;
974
975   -psdir | --psdir | --psdi | --psd | --ps)
976     ac_prev=psdir ;;
977   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
978     psdir=$ac_optarg ;;
979
980   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
981   | -silent | --silent | --silen | --sile | --sil)
982     silent=yes ;;
983
984   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
985     ac_prev=sbindir ;;
986   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
987   | --sbi=* | --sb=*)
988     sbindir=$ac_optarg ;;
989
990   -sharedstatedir | --sharedstatedir | --sharedstatedi \
991   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
992   | --sharedst | --shareds | --shared | --share | --shar \
993   | --sha | --sh)
994     ac_prev=sharedstatedir ;;
995   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
996   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
997   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
998   | --sha=* | --sh=*)
999     sharedstatedir=$ac_optarg ;;
1000
1001   -site | --site | --sit)
1002     ac_prev=site ;;
1003   -site=* | --site=* | --sit=*)
1004     site=$ac_optarg ;;
1005
1006   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1007     ac_prev=srcdir ;;
1008   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1009     srcdir=$ac_optarg ;;
1010
1011   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1012   | --syscon | --sysco | --sysc | --sys | --sy)
1013     ac_prev=sysconfdir ;;
1014   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1015   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1016     sysconfdir=$ac_optarg ;;
1017
1018   -target | --target | --targe | --targ | --tar | --ta | --t)
1019     ac_prev=target_alias ;;
1020   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1021     target_alias=$ac_optarg ;;
1022
1023   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1024     verbose=yes ;;
1025
1026   -version | --version | --versio | --versi | --vers | -V)
1027     ac_init_version=: ;;
1028
1029   -with-* | --with-*)
1030     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1031     # Reject names that are not valid shell variable names.
1032     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033       as_fn_error "invalid package name: $ac_useropt"
1034     ac_useropt_orig=$ac_useropt
1035     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036     case $ac_user_opts in
1037       *"
1038 "with_$ac_useropt"
1039 "*) ;;
1040       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1041          ac_unrecognized_sep=', ';;
1042     esac
1043     eval with_$ac_useropt=\$ac_optarg ;;
1044
1045   -without-* | --without-*)
1046     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1047     # Reject names that are not valid shell variable names.
1048     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049       as_fn_error "invalid package name: $ac_useropt"
1050     ac_useropt_orig=$ac_useropt
1051     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052     case $ac_user_opts in
1053       *"
1054 "with_$ac_useropt"
1055 "*) ;;
1056       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1057          ac_unrecognized_sep=', ';;
1058     esac
1059     eval with_$ac_useropt=no ;;
1060
1061   --x)
1062     # Obsolete; use --with-x.
1063     with_x=yes ;;
1064
1065   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1066   | --x-incl | --x-inc | --x-in | --x-i)
1067     ac_prev=x_includes ;;
1068   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1069   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1070     x_includes=$ac_optarg ;;
1071
1072   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1073   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1074     ac_prev=x_libraries ;;
1075   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1076   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1077     x_libraries=$ac_optarg ;;
1078
1079   -*) as_fn_error "unrecognized option: \`$ac_option'
1080 Try \`$0 --help' for more information."
1081     ;;
1082
1083   *=*)
1084     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1085     # Reject names that are not valid shell variable names.
1086     case $ac_envvar in #(
1087       '' | [0-9]* | *[!_$as_cr_alnum]* )
1088       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1089     esac
1090     eval $ac_envvar=\$ac_optarg
1091     export $ac_envvar ;;
1092
1093   *)
1094     # FIXME: should be removed in autoconf 3.0.
1095     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1097       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1099     ;;
1100
1101   esac
1102 done
1103
1104 if test -n "$ac_prev"; then
1105   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1106   as_fn_error "missing argument to $ac_option"
1107 fi
1108
1109 if test -n "$ac_unrecognized_opts"; then
1110   case $enable_option_checking in
1111     no) ;;
1112     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1113     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1114   esac
1115 fi
1116
1117 # Check all directory arguments for consistency.
1118 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1119                 datadir sysconfdir sharedstatedir localstatedir includedir \
1120                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1121                 libdir localedir mandir
1122 do
1123   eval ac_val=\$$ac_var
1124   # Remove trailing slashes.
1125   case $ac_val in
1126     */ )
1127       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1128       eval $ac_var=\$ac_val;;
1129   esac
1130   # Be sure to have absolute directory names.
1131   case $ac_val in
1132     [\\/$]* | ?:[\\/]* )  continue;;
1133     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1134   esac
1135   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1136 done
1137
1138 # There might be people who depend on the old broken behavior: `$host'
1139 # used to hold the argument of --host etc.
1140 # FIXME: To remove some day.
1141 build=$build_alias
1142 host=$host_alias
1143 target=$target_alias
1144
1145 # FIXME: To remove some day.
1146 if test "x$host_alias" != x; then
1147   if test "x$build_alias" = x; then
1148     cross_compiling=maybe
1149     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1150     If a cross compiler is detected then cross compile mode will be used." >&2
1151   elif test "x$build_alias" != "x$host_alias"; then
1152     cross_compiling=yes
1153   fi
1154 fi
1155
1156 ac_tool_prefix=
1157 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1158
1159 test "$silent" = yes && exec 6>/dev/null
1160
1161
1162 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1163 ac_ls_di=`ls -di .` &&
1164 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1165   as_fn_error "working directory cannot be determined"
1166 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1167   as_fn_error "pwd does not report name of working directory"
1168
1169
1170 # Find the source files, if location was not specified.
1171 if test -z "$srcdir"; then
1172   ac_srcdir_defaulted=yes
1173   # Try the directory containing this script, then the parent directory.
1174   ac_confdir=`$as_dirname -- "$as_myself" ||
1175 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1176          X"$as_myself" : 'X\(//\)[^/]' \| \
1177          X"$as_myself" : 'X\(//\)$' \| \
1178          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1179 $as_echo X"$as_myself" |
1180     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1181             s//\1/
1182             q
1183           }
1184           /^X\(\/\/\)[^/].*/{
1185             s//\1/
1186             q
1187           }
1188           /^X\(\/\/\)$/{
1189             s//\1/
1190             q
1191           }
1192           /^X\(\/\).*/{
1193             s//\1/
1194             q
1195           }
1196           s/.*/./; q'`
1197   srcdir=$ac_confdir
1198   if test ! -r "$srcdir/$ac_unique_file"; then
1199     srcdir=..
1200   fi
1201 else
1202   ac_srcdir_defaulted=no
1203 fi
1204 if test ! -r "$srcdir/$ac_unique_file"; then
1205   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1206   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1207 fi
1208 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1209 ac_abs_confdir=`(
1210         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1211         pwd)`
1212 # When building in place, set srcdir=.
1213 if test "$ac_abs_confdir" = "$ac_pwd"; then
1214   srcdir=.
1215 fi
1216 # Remove unnecessary trailing slashes from srcdir.
1217 # Double slashes in file names in object file debugging info
1218 # mess up M-x gdb in Emacs.
1219 case $srcdir in
1220 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1221 esac
1222 for ac_var in $ac_precious_vars; do
1223   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1224   eval ac_env_${ac_var}_value=\$${ac_var}
1225   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1226   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227 done
1228
1229 #
1230 # Report the --help message.
1231 #
1232 if test "$ac_init_help" = "long"; then
1233   # Omit some internal or obsolete options to make the list less imposing.
1234   # This message is too long to be a string in the A/UX 3.1 sh.
1235   cat <<_ACEOF
1236 \`configure' configures this package to adapt to many kinds of systems.
1237
1238 Usage: $0 [OPTION]... [VAR=VALUE]...
1239
1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241 VAR=VALUE.  See below for descriptions of some of the useful variables.
1242
1243 Defaults for the options are specified in brackets.
1244
1245 Configuration:
1246   -h, --help              display this help and exit
1247       --help=short        display options specific to this package
1248       --help=recursive    display the short help of all the included packages
1249   -V, --version           display version information and exit
1250   -q, --quiet, --silent   do not print \`checking...' messages
1251       --cache-file=FILE   cache test results in FILE [disabled]
1252   -C, --config-cache      alias for \`--cache-file=config.cache'
1253   -n, --no-create         do not create output files
1254       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1255
1256 Installation directories:
1257   --prefix=PREFIX         install architecture-independent files in PREFIX
1258                           [$ac_default_prefix]
1259   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1260                           [PREFIX]
1261
1262 By default, \`make install' will install all the files in
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265 for instance \`--prefix=\$HOME'.
1266
1267 For better control, use the options below.
1268
1269 Fine tuning of the installation directories:
1270   --bindir=DIR            user executables [EPREFIX/bin]
1271   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1272   --libexecdir=DIR        program executables [EPREFIX/libexec]
1273   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1274   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1275   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1276   --libdir=DIR            object code libraries [EPREFIX/lib]
1277   --includedir=DIR        C header files [PREFIX/include]
1278   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1279   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1280   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1281   --infodir=DIR           info documentation [DATAROOTDIR/info]
1282   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1283   --mandir=DIR            man documentation [DATAROOTDIR/man]
1284   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1285   --htmldir=DIR           html documentation [DOCDIR]
1286   --dvidir=DIR            dvi documentation [DOCDIR]
1287   --pdfdir=DIR            pdf documentation [DOCDIR]
1288   --psdir=DIR             ps documentation [DOCDIR]
1289 _ACEOF
1290
1291   cat <<\_ACEOF
1292
1293 Program names:
1294   --program-prefix=PREFIX            prepend PREFIX to installed program names
1295   --program-suffix=SUFFIX            append SUFFIX to installed program names
1296   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1297
1298 System types:
1299   --build=BUILD     configure for building on BUILD [guessed]
1300   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1301   --target=TARGET   configure for building compilers for TARGET [HOST]
1302 _ACEOF
1303 fi
1304
1305 if test -n "$ac_init_help"; then
1306
1307   cat <<\_ACEOF
1308
1309 Optional Features:
1310   --disable-option-checking  ignore unrecognized --enable/--with options
1311   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1312   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1313   --enable-werror         treat compile warnings as errors
1314   --enable-inprocess-agent
1315                           inprocess agent
1316
1317 Optional Packages:
1318   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1319   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1320   --with-ust=PATH       Specify prefix directory for the installed UST package
1321                           Equivalent to --with-ust-include=PATH/include
1322                           plus --with-ust-lib=PATH/lib
1323   --with-ust-include=PATH Specify directory for installed UST include files
1324   --with-ust-lib=PATH   Specify the directory for the installed UST library
1325   --with-pkgversion=PKG   Use PKG in the version string in place of "GDB"
1326   --with-bugurl=URL       Direct users to URL to report a bug
1327   --with-libthread-db=PATH
1328                           use given libthread_db directly
1329
1330 Some influential environment variables:
1331   CC          C compiler command
1332   CFLAGS      C compiler flags
1333   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1334               nonstandard directory <lib dir>
1335   LIBS        libraries to pass to the linker, e.g. -l<library>
1336   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1337               you have headers in a nonstandard directory <include dir>
1338   CPP         C preprocessor
1339
1340 Use these variables to override the choices made by `configure' or to help
1341 it to find libraries and programs with nonstandard names/locations.
1342
1343 Report bugs to the package provider.
1344 _ACEOF
1345 ac_status=$?
1346 fi
1347
1348 if test "$ac_init_help" = "recursive"; then
1349   # If there are subdirs, report their specific --help.
1350   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1351     test -d "$ac_dir" ||
1352       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1353       continue
1354     ac_builddir=.
1355
1356 case "$ac_dir" in
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358 *)
1359   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1360   # A ".." for each directory in $ac_dir_suffix.
1361   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1362   case $ac_top_builddir_sub in
1363   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365   esac ;;
1366 esac
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1371
1372 case $srcdir in
1373   .)  # We are building in place.
1374     ac_srcdir=.
1375     ac_top_srcdir=$ac_top_builddir_sub
1376     ac_abs_top_srcdir=$ac_pwd ;;
1377   [\\/]* | ?:[\\/]* )  # Absolute name.
1378     ac_srcdir=$srcdir$ac_dir_suffix;
1379     ac_top_srcdir=$srcdir
1380     ac_abs_top_srcdir=$srcdir ;;
1381   *) # Relative name.
1382     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383     ac_top_srcdir=$ac_top_build_prefix$srcdir
1384     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385 esac
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1387
1388     cd "$ac_dir" || { ac_status=$?; continue; }
1389     # Check for guested configure.
1390     if test -f "$ac_srcdir/configure.gnu"; then
1391       echo &&
1392       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393     elif test -f "$ac_srcdir/configure"; then
1394       echo &&
1395       $SHELL "$ac_srcdir/configure" --help=recursive
1396     else
1397       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398     fi || ac_status=$?
1399     cd "$ac_pwd" || { ac_status=$?; break; }
1400   done
1401 fi
1402
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1405   cat <<\_ACEOF
1406 configure
1407 generated by GNU Autoconf 2.64
1408
1409 Copyright (C) 2009 Free Software Foundation, Inc.
1410 This configure script is free software; the Free Software Foundation
1411 gives unlimited permission to copy, distribute and modify it.
1412 _ACEOF
1413   exit
1414 fi
1415
1416 ## ------------------------ ##
1417 ## Autoconf initialization. ##
1418 ## ------------------------ ##
1419
1420 # ac_fn_c_try_compile LINENO
1421 # --------------------------
1422 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1423 ac_fn_c_try_compile ()
1424 {
1425   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1426   rm -f conftest.$ac_objext
1427   if { { ac_try="$ac_compile"
1428 case "(($ac_try" in
1429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1430   *) ac_try_echo=$ac_try;;
1431 esac
1432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433 $as_echo "$ac_try_echo"; } >&5
1434   (eval "$ac_compile") 2>conftest.err
1435   ac_status=$?
1436   if test -s conftest.err; then
1437     grep -v '^ *+' conftest.err >conftest.er1
1438     cat conftest.er1 >&5
1439     mv -f conftest.er1 conftest.err
1440   fi
1441   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442   test $ac_status = 0; } && {
1443          test -z "$ac_c_werror_flag" ||
1444          test ! -s conftest.err
1445        } && test -s conftest.$ac_objext; then :
1446   ac_retval=0
1447 else
1448   $as_echo "$as_me: failed program was:" >&5
1449 sed 's/^/| /' conftest.$ac_ext >&5
1450
1451         ac_retval=1
1452 fi
1453   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1454   return $ac_retval
1455
1456 } # ac_fn_c_try_compile
1457
1458 # ac_fn_c_try_cpp LINENO
1459 # ----------------------
1460 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1461 ac_fn_c_try_cpp ()
1462 {
1463   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464   if { { ac_try="$ac_cpp conftest.$ac_ext"
1465 case "(($ac_try" in
1466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1467   *) ac_try_echo=$ac_try;;
1468 esac
1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1470 $as_echo "$ac_try_echo"; } >&5
1471   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1472   ac_status=$?
1473   if test -s conftest.err; then
1474     grep -v '^ *+' conftest.err >conftest.er1
1475     cat conftest.er1 >&5
1476     mv -f conftest.er1 conftest.err
1477   fi
1478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1479   test $ac_status = 0; } >/dev/null && {
1480          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1481          test ! -s conftest.err
1482        }; then :
1483   ac_retval=0
1484 else
1485   $as_echo "$as_me: failed program was:" >&5
1486 sed 's/^/| /' conftest.$ac_ext >&5
1487
1488     ac_retval=1
1489 fi
1490   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1491   return $ac_retval
1492
1493 } # ac_fn_c_try_cpp
1494
1495 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1496 # -------------------------------------------------------
1497 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1498 # the include files in INCLUDES and setting the cache variable VAR
1499 # accordingly.
1500 ac_fn_c_check_header_mongrel ()
1501 {
1502   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1505 $as_echo_n "checking for $2... " >&6; }
1506 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1507   $as_echo_n "(cached) " >&6
1508 fi
1509 eval ac_res=\$$3
1510                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1511 $as_echo "$ac_res" >&6; }
1512 else
1513   # Is the header compilable?
1514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1515 $as_echo_n "checking $2 usability... " >&6; }
1516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1517 /* end confdefs.h.  */
1518 $4
1519 #include <$2>
1520 _ACEOF
1521 if ac_fn_c_try_compile "$LINENO"; then :
1522   ac_header_compiler=yes
1523 else
1524   ac_header_compiler=no
1525 fi
1526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1528 $as_echo "$ac_header_compiler" >&6; }
1529
1530 # Is the header present?
1531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1532 $as_echo_n "checking $2 presence... " >&6; }
1533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1534 /* end confdefs.h.  */
1535 #include <$2>
1536 _ACEOF
1537 if ac_fn_c_try_cpp "$LINENO"; then :
1538   ac_header_preproc=yes
1539 else
1540   ac_header_preproc=no
1541 fi
1542 rm -f conftest.err conftest.$ac_ext
1543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1544 $as_echo "$ac_header_preproc" >&6; }
1545
1546 # So?  What about this header?
1547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1548   yes:no: )
1549     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1550 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1551     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1552 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1553     ;;
1554   no:yes:* )
1555     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1556 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1557     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1558 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1559     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1560 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1561     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1562 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1563     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1564 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1565     ;;
1566 esac
1567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1570   $as_echo_n "(cached) " >&6
1571 else
1572   eval "$3=\$ac_header_compiler"
1573 fi
1574 eval ac_res=\$$3
1575                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1576 $as_echo "$ac_res" >&6; }
1577 fi
1578   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1579
1580 } # ac_fn_c_check_header_mongrel
1581
1582 # ac_fn_c_try_run LINENO
1583 # ----------------------
1584 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1585 # that executables *can* be run.
1586 ac_fn_c_try_run ()
1587 {
1588   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589   if { { ac_try="$ac_link"
1590 case "(($ac_try" in
1591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1592   *) ac_try_echo=$ac_try;;
1593 esac
1594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1595 $as_echo "$ac_try_echo"; } >&5
1596   (eval "$ac_link") 2>&5
1597   ac_status=$?
1598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1599   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1600   { { case "(($ac_try" in
1601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602   *) ac_try_echo=$ac_try;;
1603 esac
1604 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605 $as_echo "$ac_try_echo"; } >&5
1606   (eval "$ac_try") 2>&5
1607   ac_status=$?
1608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609   test $ac_status = 0; }; }; then :
1610   ac_retval=0
1611 else
1612   $as_echo "$as_me: program exited with status $ac_status" >&5
1613        $as_echo "$as_me: failed program was:" >&5
1614 sed 's/^/| /' conftest.$ac_ext >&5
1615
1616        ac_retval=$ac_status
1617 fi
1618   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1620   return $ac_retval
1621
1622 } # ac_fn_c_try_run
1623
1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1625 # -------------------------------------------------------
1626 # Tests whether HEADER exists and can be compiled using the include files in
1627 # INCLUDES, setting the cache variable VAR accordingly.
1628 ac_fn_c_check_header_compile ()
1629 {
1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1634   $as_echo_n "(cached) " >&6
1635 else
1636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h.  */
1638 $4
1639 #include <$2>
1640 _ACEOF
1641 if ac_fn_c_try_compile "$LINENO"; then :
1642   eval "$3=yes"
1643 else
1644   eval "$3=no"
1645 fi
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1647 fi
1648 eval ac_res=\$$3
1649                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1651   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1652
1653 } # ac_fn_c_check_header_compile
1654
1655 # ac_fn_c_try_link LINENO
1656 # -----------------------
1657 # Try to link conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_c_try_link ()
1659 {
1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661   rm -f conftest.$ac_objext conftest$ac_exeext
1662   if { { ac_try="$ac_link"
1663 case "(($ac_try" in
1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665   *) ac_try_echo=$ac_try;;
1666 esac
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669   (eval "$ac_link") 2>conftest.err
1670   ac_status=$?
1671   if test -s conftest.err; then
1672     grep -v '^ *+' conftest.err >conftest.er1
1673     cat conftest.er1 >&5
1674     mv -f conftest.er1 conftest.err
1675   fi
1676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677   test $ac_status = 0; } && {
1678          test -z "$ac_c_werror_flag" ||
1679          test ! -s conftest.err
1680        } && test -s conftest$ac_exeext && {
1681          test "$cross_compiling" = yes ||
1682          $as_test_x conftest$ac_exeext
1683        }; then :
1684   ac_retval=0
1685 else
1686   $as_echo "$as_me: failed program was:" >&5
1687 sed 's/^/| /' conftest.$ac_ext >&5
1688
1689         ac_retval=1
1690 fi
1691   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1692   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1693   # interfere with the next link command; also delete a directory that is
1694   # left behind by Apple's compiler.  We do this before executing the actions.
1695   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697   return $ac_retval
1698
1699 } # ac_fn_c_try_link
1700
1701 # ac_fn_c_check_func LINENO FUNC VAR
1702 # ----------------------------------
1703 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1704 ac_fn_c_check_func ()
1705 {
1706   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1708 $as_echo_n "checking for $2... " >&6; }
1709 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1710   $as_echo_n "(cached) " >&6
1711 else
1712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1713 /* end confdefs.h.  */
1714 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1716 #define $2 innocuous_$2
1717
1718 /* System header to define __stub macros and hopefully few prototypes,
1719     which can conflict with char $2 (); below.
1720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1721     <limits.h> exists even on freestanding compilers.  */
1722
1723 #ifdef __STDC__
1724 # include <limits.h>
1725 #else
1726 # include <assert.h>
1727 #endif
1728
1729 #undef $2
1730
1731 /* Override any GCC internal prototype to avoid an error.
1732    Use char because int might match the return type of a GCC
1733    builtin and then its argument prototype would still apply.  */
1734 #ifdef __cplusplus
1735 extern "C"
1736 #endif
1737 char $2 ();
1738 /* The GNU C library defines this for functions which it implements
1739     to always fail with ENOSYS.  Some functions are actually named
1740     something starting with __ and the normal name is an alias.  */
1741 #if defined __stub_$2 || defined __stub___$2
1742 choke me
1743 #endif
1744
1745 int
1746 main ()
1747 {
1748 return $2 ();
1749   ;
1750   return 0;
1751 }
1752 _ACEOF
1753 if ac_fn_c_try_link "$LINENO"; then :
1754   eval "$3=yes"
1755 else
1756   eval "$3=no"
1757 fi
1758 rm -f core conftest.err conftest.$ac_objext \
1759     conftest$ac_exeext conftest.$ac_ext
1760 fi
1761 eval ac_res=\$$3
1762                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1763 $as_echo "$ac_res" >&6; }
1764   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1765
1766 } # ac_fn_c_check_func
1767
1768 # ac_fn_c_check_decl LINENO SYMBOL VAR
1769 # ------------------------------------
1770 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1771 ac_fn_c_check_decl ()
1772 {
1773   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774   as_decl_name=`echo $2|sed 's/ *(.*//'`
1775   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1777 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1778 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1779   $as_echo_n "(cached) " >&6
1780 else
1781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h.  */
1783 $4
1784 int
1785 main ()
1786 {
1787 #ifndef $as_decl_name
1788 #ifdef __cplusplus
1789   (void) $as_decl_use;
1790 #else
1791   (void) $as_decl_name;
1792 #endif
1793 #endif
1794
1795   ;
1796   return 0;
1797 }
1798 _ACEOF
1799 if ac_fn_c_try_compile "$LINENO"; then :
1800   eval "$3=yes"
1801 else
1802   eval "$3=no"
1803 fi
1804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1805 fi
1806 eval ac_res=\$$3
1807                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1809   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810
1811 } # ac_fn_c_check_decl
1812
1813 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1814 # -------------------------------------------
1815 # Tests whether TYPE exists after having included INCLUDES, setting cache
1816 # variable VAR accordingly.
1817 ac_fn_c_check_type ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1821 $as_echo_n "checking for $2... " >&6; }
1822 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1823   $as_echo_n "(cached) " >&6
1824 else
1825   eval "$3=no"
1826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1827 /* end confdefs.h.  */
1828 $4
1829 int
1830 main ()
1831 {
1832 if (sizeof ($2))
1833          return 0;
1834   ;
1835   return 0;
1836 }
1837 _ACEOF
1838 if ac_fn_c_try_compile "$LINENO"; then :
1839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840 /* end confdefs.h.  */
1841 $4
1842 int
1843 main ()
1844 {
1845 if (sizeof (($2)))
1846             return 0;
1847   ;
1848   return 0;
1849 }
1850 _ACEOF
1851 if ac_fn_c_try_compile "$LINENO"; then :
1852
1853 else
1854   eval "$3=yes"
1855 fi
1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 fi
1858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1859 fi
1860 eval ac_res=\$$3
1861                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862 $as_echo "$ac_res" >&6; }
1863   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864
1865 } # ac_fn_c_check_type
1866 cat >config.log <<_ACEOF
1867 This file contains any messages produced by compilers while
1868 running configure, to aid debugging if configure makes a mistake.
1869
1870 It was created by $as_me, which was
1871 generated by GNU Autoconf 2.64.  Invocation command line was
1872
1873   $ $0 $@
1874
1875 _ACEOF
1876 exec 5>>config.log
1877 {
1878 cat <<_ASUNAME
1879 ## --------- ##
1880 ## Platform. ##
1881 ## --------- ##
1882
1883 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1884 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1885 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1886 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1887 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1888
1889 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1890 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1891
1892 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1893 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1894 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1895 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1896 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1897 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1898 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1899
1900 _ASUNAME
1901
1902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 for as_dir in $PATH
1904 do
1905   IFS=$as_save_IFS
1906   test -z "$as_dir" && as_dir=.
1907     $as_echo "PATH: $as_dir"
1908   done
1909 IFS=$as_save_IFS
1910
1911 } >&5
1912
1913 cat >&5 <<_ACEOF
1914
1915
1916 ## ----------- ##
1917 ## Core tests. ##
1918 ## ----------- ##
1919
1920 _ACEOF
1921
1922
1923 # Keep a trace of the command line.
1924 # Strip out --no-create and --no-recursion so they do not pile up.
1925 # Strip out --silent because we don't want to record it for future runs.
1926 # Also quote any args containing shell meta-characters.
1927 # Make two passes to allow for proper duplicate-argument suppression.
1928 ac_configure_args=
1929 ac_configure_args0=
1930 ac_configure_args1=
1931 ac_must_keep_next=false
1932 for ac_pass in 1 2
1933 do
1934   for ac_arg
1935   do
1936     case $ac_arg in
1937     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1938     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1939     | -silent | --silent | --silen | --sile | --sil)
1940       continue ;;
1941     *\'*)
1942       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1943     esac
1944     case $ac_pass in
1945     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1946     2)
1947       as_fn_append ac_configure_args1 " '$ac_arg'"
1948       if test $ac_must_keep_next = true; then
1949         ac_must_keep_next=false # Got value, back to normal.
1950       else
1951         case $ac_arg in
1952           *=* | --config-cache | -C | -disable-* | --disable-* \
1953           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1954           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1955           | -with-* | --with-* | -without-* | --without-* | --x)
1956             case "$ac_configure_args0 " in
1957               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1958             esac
1959             ;;
1960           -* ) ac_must_keep_next=true ;;
1961         esac
1962       fi
1963       as_fn_append ac_configure_args " '$ac_arg'"
1964       ;;
1965     esac
1966   done
1967 done
1968 { ac_configure_args0=; unset ac_configure_args0;}
1969 { ac_configure_args1=; unset ac_configure_args1;}
1970
1971 # When interrupted or exit'd, cleanup temporary files, and complete
1972 # config.log.  We remove comments because anyway the quotes in there
1973 # would cause problems or look ugly.
1974 # WARNING: Use '\'' to represent an apostrophe within the trap.
1975 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1976 trap 'exit_status=$?
1977   # Save into config.log some information that might help in debugging.
1978   {
1979     echo
1980
1981     cat <<\_ASBOX
1982 ## ---------------- ##
1983 ## Cache variables. ##
1984 ## ---------------- ##
1985 _ASBOX
1986     echo
1987     # The following way of writing the cache mishandles newlines in values,
1988 (
1989   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1990     eval ac_val=\$$ac_var
1991     case $ac_val in #(
1992     *${as_nl}*)
1993       case $ac_var in #(
1994       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1995 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1996       esac
1997       case $ac_var in #(
1998       _ | IFS | as_nl) ;; #(
1999       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2000       *) { eval $ac_var=; unset $ac_var;} ;;
2001       esac ;;
2002     esac
2003   done
2004   (set) 2>&1 |
2005     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2006     *${as_nl}ac_space=\ *)
2007       sed -n \
2008         "s/'\''/'\''\\\\'\'''\''/g;
2009           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2010       ;; #(
2011     *)
2012       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2013       ;;
2014     esac |
2015     sort
2016 )
2017     echo
2018
2019     cat <<\_ASBOX
2020 ## ----------------- ##
2021 ## Output variables. ##
2022 ## ----------------- ##
2023 _ASBOX
2024     echo
2025     for ac_var in $ac_subst_vars
2026     do
2027       eval ac_val=\$$ac_var
2028       case $ac_val in
2029       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2030       esac
2031       $as_echo "$ac_var='\''$ac_val'\''"
2032     done | sort
2033     echo
2034
2035     if test -n "$ac_subst_files"; then
2036       cat <<\_ASBOX
2037 ## ------------------- ##
2038 ## File substitutions. ##
2039 ## ------------------- ##
2040 _ASBOX
2041       echo
2042       for ac_var in $ac_subst_files
2043       do
2044         eval ac_val=\$$ac_var
2045         case $ac_val in
2046         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2047         esac
2048         $as_echo "$ac_var='\''$ac_val'\''"
2049       done | sort
2050       echo
2051     fi
2052
2053     if test -s confdefs.h; then
2054       cat <<\_ASBOX
2055 ## ----------- ##
2056 ## confdefs.h. ##
2057 ## ----------- ##
2058 _ASBOX
2059       echo
2060       cat confdefs.h
2061       echo
2062     fi
2063     test "$ac_signal" != 0 &&
2064       $as_echo "$as_me: caught signal $ac_signal"
2065     $as_echo "$as_me: exit $exit_status"
2066   } >&5
2067   rm -f core *.core core.conftest.* &&
2068     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2069     exit $exit_status
2070 ' 0
2071 for ac_signal in 1 2 13 15; do
2072   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2073 done
2074 ac_signal=0
2075
2076 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2077 rm -f -r conftest* confdefs.h
2078
2079 $as_echo "/* confdefs.h */" > confdefs.h
2080
2081 # Predefined preprocessor variables.
2082
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE_NAME "$PACKAGE_NAME"
2085 _ACEOF
2086
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2089 _ACEOF
2090
2091 cat >>confdefs.h <<_ACEOF
2092 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2093 _ACEOF
2094
2095 cat >>confdefs.h <<_ACEOF
2096 #define PACKAGE_STRING "$PACKAGE_STRING"
2097 _ACEOF
2098
2099 cat >>confdefs.h <<_ACEOF
2100 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2101 _ACEOF
2102
2103 cat >>confdefs.h <<_ACEOF
2104 #define PACKAGE_URL "$PACKAGE_URL"
2105 _ACEOF
2106
2107
2108 # Let the site file select an alternate cache file if it wants to.
2109 # Prefer an explicitly selected file to automatically selected ones.
2110 ac_site_file1=NONE
2111 ac_site_file2=NONE
2112 if test -n "$CONFIG_SITE"; then
2113   ac_site_file1=$CONFIG_SITE
2114 elif test "x$prefix" != xNONE; then
2115   ac_site_file1=$prefix/share/config.site
2116   ac_site_file2=$prefix/etc/config.site
2117 else
2118   ac_site_file1=$ac_default_prefix/share/config.site
2119   ac_site_file2=$ac_default_prefix/etc/config.site
2120 fi
2121 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2122 do
2123   test "x$ac_site_file" = xNONE && continue
2124   if test -r "$ac_site_file"; then
2125     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2126 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2127     sed 's/^/| /' "$ac_site_file" >&5
2128     . "$ac_site_file"
2129   fi
2130 done
2131
2132 if test -r "$cache_file"; then
2133   # Some versions of bash will fail to source /dev/null (special
2134   # files actually), so we avoid doing that.
2135   if test -f "$cache_file"; then
2136     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2137 $as_echo "$as_me: loading cache $cache_file" >&6;}
2138     case $cache_file in
2139       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2140       *)                      . "./$cache_file";;
2141     esac
2142   fi
2143 else
2144   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2145 $as_echo "$as_me: creating cache $cache_file" >&6;}
2146   >$cache_file
2147 fi
2148
2149 # Check that the precious variables saved in the cache have kept the same
2150 # value.
2151 ac_cache_corrupted=false
2152 for ac_var in $ac_precious_vars; do
2153   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2154   eval ac_new_set=\$ac_env_${ac_var}_set
2155   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2156   eval ac_new_val=\$ac_env_${ac_var}_value
2157   case $ac_old_set,$ac_new_set in
2158     set,)
2159       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2161       ac_cache_corrupted=: ;;
2162     ,set)
2163       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2164 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2165       ac_cache_corrupted=: ;;
2166     ,);;
2167     *)
2168       if test "x$ac_old_val" != "x$ac_new_val"; then
2169         # differences in whitespace do not lead to failure.
2170         ac_old_val_w=`echo x $ac_old_val`
2171         ac_new_val_w=`echo x $ac_new_val`
2172         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2173           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2174 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2175           ac_cache_corrupted=:
2176         else
2177           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2178 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2179           eval $ac_var=\$ac_old_val
2180         fi
2181         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2182 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2183         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2184 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2185       fi;;
2186   esac
2187   # Pass precious variables to config.status.
2188   if test "$ac_new_set" = set; then
2189     case $ac_new_val in
2190     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2191     *) ac_arg=$ac_var=$ac_new_val ;;
2192     esac
2193     case " $ac_configure_args " in
2194       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2195       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2196     esac
2197   fi
2198 done
2199 if $ac_cache_corrupted; then
2200   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2202   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2203 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2204   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2205 fi
2206 ## -------------------- ##
2207 ## Main body of script. ##
2208 ## -------------------- ##
2209
2210 ac_ext=c
2211 ac_cpp='$CPP $CPPFLAGS'
2212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2215
2216
2217
2218
2219
2220 ac_config_headers="$ac_config_headers config.h:config.in"
2221
2222
2223
2224 ac_ext=c
2225 ac_cpp='$CPP $CPPFLAGS'
2226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2229 if test -n "$ac_tool_prefix"; then
2230   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2231 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2233 $as_echo_n "checking for $ac_word... " >&6; }
2234 if test "${ac_cv_prog_CC+set}" = set; then :
2235   $as_echo_n "(cached) " >&6
2236 else
2237   if test -n "$CC"; then
2238   ac_cv_prog_CC="$CC" # Let the user override the test.
2239 else
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 for as_dir in $PATH
2242 do
2243   IFS=$as_save_IFS
2244   test -z "$as_dir" && as_dir=.
2245     for ac_exec_ext in '' $ac_executable_extensions; do
2246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2249     break 2
2250   fi
2251 done
2252   done
2253 IFS=$as_save_IFS
2254
2255 fi
2256 fi
2257 CC=$ac_cv_prog_CC
2258 if test -n "$CC"; then
2259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2260 $as_echo "$CC" >&6; }
2261 else
2262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2263 $as_echo "no" >&6; }
2264 fi
2265
2266
2267 fi
2268 if test -z "$ac_cv_prog_CC"; then
2269   ac_ct_CC=$CC
2270   # Extract the first word of "gcc", so it can be a program name with args.
2271 set dummy gcc; ac_word=$2
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2273 $as_echo_n "checking for $ac_word... " >&6; }
2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2275   $as_echo_n "(cached) " >&6
2276 else
2277   if test -n "$ac_ct_CC"; then
2278   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2279 else
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 for as_dir in $PATH
2282 do
2283   IFS=$as_save_IFS
2284   test -z "$as_dir" && as_dir=.
2285     for ac_exec_ext in '' $ac_executable_extensions; do
2286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2287     ac_cv_prog_ac_ct_CC="gcc"
2288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2289     break 2
2290   fi
2291 done
2292   done
2293 IFS=$as_save_IFS
2294
2295 fi
2296 fi
2297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2298 if test -n "$ac_ct_CC"; then
2299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2300 $as_echo "$ac_ct_CC" >&6; }
2301 else
2302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2303 $as_echo "no" >&6; }
2304 fi
2305
2306   if test "x$ac_ct_CC" = x; then
2307     CC=""
2308   else
2309     case $cross_compiling:$ac_tool_warned in
2310 yes:)
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2313 ac_tool_warned=yes ;;
2314 esac
2315     CC=$ac_ct_CC
2316   fi
2317 else
2318   CC="$ac_cv_prog_CC"
2319 fi
2320
2321 if test -z "$CC"; then
2322           if test -n "$ac_tool_prefix"; then
2323     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2324 set dummy ${ac_tool_prefix}cc; ac_word=$2
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2326 $as_echo_n "checking for $ac_word... " >&6; }
2327 if test "${ac_cv_prog_CC+set}" = set; then :
2328   $as_echo_n "(cached) " >&6
2329 else
2330   if test -n "$CC"; then
2331   ac_cv_prog_CC="$CC" # Let the user override the test.
2332 else
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 for as_dir in $PATH
2335 do
2336   IFS=$as_save_IFS
2337   test -z "$as_dir" && as_dir=.
2338     for ac_exec_ext in '' $ac_executable_extensions; do
2339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340     ac_cv_prog_CC="${ac_tool_prefix}cc"
2341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2342     break 2
2343   fi
2344 done
2345   done
2346 IFS=$as_save_IFS
2347
2348 fi
2349 fi
2350 CC=$ac_cv_prog_CC
2351 if test -n "$CC"; then
2352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2353 $as_echo "$CC" >&6; }
2354 else
2355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2356 $as_echo "no" >&6; }
2357 fi
2358
2359
2360   fi
2361 fi
2362 if test -z "$CC"; then
2363   # Extract the first word of "cc", so it can be a program name with args.
2364 set dummy cc; ac_word=$2
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2366 $as_echo_n "checking for $ac_word... " >&6; }
2367 if test "${ac_cv_prog_CC+set}" = set; then :
2368   $as_echo_n "(cached) " >&6
2369 else
2370   if test -n "$CC"; then
2371   ac_cv_prog_CC="$CC" # Let the user override the test.
2372 else
2373   ac_prog_rejected=no
2374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2375 for as_dir in $PATH
2376 do
2377   IFS=$as_save_IFS
2378   test -z "$as_dir" && as_dir=.
2379     for ac_exec_ext in '' $ac_executable_extensions; do
2380   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2381     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2382        ac_prog_rejected=yes
2383        continue
2384      fi
2385     ac_cv_prog_CC="cc"
2386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2387     break 2
2388   fi
2389 done
2390   done
2391 IFS=$as_save_IFS
2392
2393 if test $ac_prog_rejected = yes; then
2394   # We found a bogon in the path, so make sure we never use it.
2395   set dummy $ac_cv_prog_CC
2396   shift
2397   if test $# != 0; then
2398     # We chose a different compiler from the bogus one.
2399     # However, it has the same basename, so the bogon will be chosen
2400     # first if we set CC to just the basename; use the full file name.
2401     shift
2402     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2403   fi
2404 fi
2405 fi
2406 fi
2407 CC=$ac_cv_prog_CC
2408 if test -n "$CC"; then
2409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2410 $as_echo "$CC" >&6; }
2411 else
2412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413 $as_echo "no" >&6; }
2414 fi
2415
2416
2417 fi
2418 if test -z "$CC"; then
2419   if test -n "$ac_tool_prefix"; then
2420   for ac_prog in cl.exe
2421   do
2422     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2423 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2425 $as_echo_n "checking for $ac_word... " >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then :
2427   $as_echo_n "(cached) " >&6
2428 else
2429   if test -n "$CC"; then
2430   ac_cv_prog_CC="$CC" # Let the user override the test.
2431 else
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 for as_dir in $PATH
2434 do
2435   IFS=$as_save_IFS
2436   test -z "$as_dir" && as_dir=.
2437     for ac_exec_ext in '' $ac_executable_extensions; do
2438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2441     break 2
2442   fi
2443 done
2444   done
2445 IFS=$as_save_IFS
2446
2447 fi
2448 fi
2449 CC=$ac_cv_prog_CC
2450 if test -n "$CC"; then
2451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2452 $as_echo "$CC" >&6; }
2453 else
2454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2455 $as_echo "no" >&6; }
2456 fi
2457
2458
2459     test -n "$CC" && break
2460   done
2461 fi
2462 if test -z "$CC"; then
2463   ac_ct_CC=$CC
2464   for ac_prog in cl.exe
2465 do
2466   # Extract the first word of "$ac_prog", so it can be a program name with args.
2467 set dummy $ac_prog; ac_word=$2
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469 $as_echo_n "checking for $ac_word... " >&6; }
2470 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2471   $as_echo_n "(cached) " >&6
2472 else
2473   if test -n "$ac_ct_CC"; then
2474   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2475 else
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH
2478 do
2479   IFS=$as_save_IFS
2480   test -z "$as_dir" && as_dir=.
2481     for ac_exec_ext in '' $ac_executable_extensions; do
2482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483     ac_cv_prog_ac_ct_CC="$ac_prog"
2484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485     break 2
2486   fi
2487 done
2488   done
2489 IFS=$as_save_IFS
2490
2491 fi
2492 fi
2493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2494 if test -n "$ac_ct_CC"; then
2495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2496 $as_echo "$ac_ct_CC" >&6; }
2497 else
2498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2499 $as_echo "no" >&6; }
2500 fi
2501
2502
2503   test -n "$ac_ct_CC" && break
2504 done
2505
2506   if test "x$ac_ct_CC" = x; then
2507     CC=""
2508   else
2509     case $cross_compiling:$ac_tool_warned in
2510 yes:)
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2513 ac_tool_warned=yes ;;
2514 esac
2515     CC=$ac_ct_CC
2516   fi
2517 fi
2518
2519 fi
2520
2521
2522 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524 as_fn_error "no acceptable C compiler found in \$PATH
2525 See \`config.log' for more details." "$LINENO" 5; }
2526
2527 # Provide some information about the compiler.
2528 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2529 set X $ac_compile
2530 ac_compiler=$2
2531 for ac_option in --version -v -V -qversion; do
2532   { { ac_try="$ac_compiler $ac_option >&5"
2533 case "(($ac_try" in
2534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535   *) ac_try_echo=$ac_try;;
2536 esac
2537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2538 $as_echo "$ac_try_echo"; } >&5
2539   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2540   ac_status=$?
2541   if test -s conftest.err; then
2542     sed '10a\
2543 ... rest of stderr output deleted ...
2544          10q' conftest.err >conftest.er1
2545     cat conftest.er1 >&5
2546     rm -f conftest.er1 conftest.err
2547   fi
2548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2549   test $ac_status = 0; }
2550 done
2551
2552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h.  */
2554
2555 int
2556 main ()
2557 {
2558
2559   ;
2560   return 0;
2561 }
2562 _ACEOF
2563 ac_clean_files_save=$ac_clean_files
2564 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2565 # Try to create an executable without -o first, disregard a.out.
2566 # It will help us diagnose broken compilers, and finding out an intuition
2567 # of exeext.
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2569 $as_echo_n "checking for C compiler default output file name... " >&6; }
2570 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2571
2572 # The possible output files:
2573 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2574
2575 ac_rmfiles=
2576 for ac_file in $ac_files
2577 do
2578   case $ac_file in
2579     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2580     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2581   esac
2582 done
2583 rm -f $ac_rmfiles
2584
2585 if { { ac_try="$ac_link_default"
2586 case "(($ac_try" in
2587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588   *) ac_try_echo=$ac_try;;
2589 esac
2590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2591 $as_echo "$ac_try_echo"; } >&5
2592   (eval "$ac_link_default") 2>&5
2593   ac_status=$?
2594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595   test $ac_status = 0; }; then :
2596   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2597 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2598 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2599 # so that the user can short-circuit this test for compilers unknown to
2600 # Autoconf.
2601 for ac_file in $ac_files ''
2602 do
2603   test -f "$ac_file" || continue
2604   case $ac_file in
2605     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2606         ;;
2607     [ab].out )
2608         # We found the default executable, but exeext='' is most
2609         # certainly right.
2610         break;;
2611     *.* )
2612         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2613         then :; else
2614            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2615         fi
2616         # We set ac_cv_exeext here because the later test for it is not
2617         # safe: cross compilers may not add the suffix if given an `-o'
2618         # argument, so we may need to know it at that point already.
2619         # Even if this section looks crufty: it has the advantage of
2620         # actually working.
2621         break;;
2622     * )
2623         break;;
2624   esac
2625 done
2626 test "$ac_cv_exeext" = no && ac_cv_exeext=
2627
2628 else
2629   ac_file=''
2630 fi
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2632 $as_echo "$ac_file" >&6; }
2633 if test -z "$ac_file"; then :
2634   $as_echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2636
2637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2639 { as_fn_set_status 77
2640 as_fn_error "C compiler cannot create executables
2641 See \`config.log' for more details." "$LINENO" 5; }; }
2642 fi
2643 ac_exeext=$ac_cv_exeext
2644
2645 # Check that the compiler produces executables we can run.  If not, either
2646 # the compiler is broken, or we cross compile.
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2648 $as_echo_n "checking whether the C compiler works... " >&6; }
2649 # If not cross compiling, check that we can run a simple program.
2650 if test "$cross_compiling" != yes; then
2651   if { ac_try='./$ac_file'
2652   { { case "(($ac_try" in
2653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654   *) ac_try_echo=$ac_try;;
2655 esac
2656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2657 $as_echo "$ac_try_echo"; } >&5
2658   (eval "$ac_try") 2>&5
2659   ac_status=$?
2660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2661   test $ac_status = 0; }; }; then
2662     cross_compiling=no
2663   else
2664     if test "$cross_compiling" = maybe; then
2665         cross_compiling=yes
2666     else
2667         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669 as_fn_error "cannot run C compiled programs.
2670 If you meant to cross compile, use \`--host'.
2671 See \`config.log' for more details." "$LINENO" 5; }
2672     fi
2673   fi
2674 fi
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2676 $as_echo "yes" >&6; }
2677
2678 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2679 ac_clean_files=$ac_clean_files_save
2680 # Check that the compiler produces executables we can run.  If not, either
2681 # the compiler is broken, or we cross compile.
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2683 $as_echo_n "checking whether we are cross compiling... " >&6; }
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2685 $as_echo "$cross_compiling" >&6; }
2686
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2688 $as_echo_n "checking for suffix of executables... " >&6; }
2689 if { { ac_try="$ac_link"
2690 case "(($ac_try" in
2691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692   *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696   (eval "$ac_link") 2>&5
2697   ac_status=$?
2698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699   test $ac_status = 0; }; then :
2700   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2701 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2702 # work properly (i.e., refer to `conftest.exe'), while it won't with
2703 # `rm'.
2704 for ac_file in conftest.exe conftest conftest.*; do
2705   test -f "$ac_file" || continue
2706   case $ac_file in
2707     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2708     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2709           break;;
2710     * ) break;;
2711   esac
2712 done
2713 else
2714   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2716 as_fn_error "cannot compute suffix of executables: cannot compile and link
2717 See \`config.log' for more details." "$LINENO" 5; }
2718 fi
2719 rm -f conftest$ac_cv_exeext
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2721 $as_echo "$ac_cv_exeext" >&6; }
2722
2723 rm -f conftest.$ac_ext
2724 EXEEXT=$ac_cv_exeext
2725 ac_exeext=$EXEEXT
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2727 $as_echo_n "checking for suffix of object files... " >&6; }
2728 if test "${ac_cv_objext+set}" = set; then :
2729   $as_echo_n "(cached) " >&6
2730 else
2731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2732 /* end confdefs.h.  */
2733
2734 int
2735 main ()
2736 {
2737
2738   ;
2739   return 0;
2740 }
2741 _ACEOF
2742 rm -f conftest.o conftest.obj
2743 if { { ac_try="$ac_compile"
2744 case "(($ac_try" in
2745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2746   *) ac_try_echo=$ac_try;;
2747 esac
2748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2749 $as_echo "$ac_try_echo"; } >&5
2750   (eval "$ac_compile") 2>&5
2751   ac_status=$?
2752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2753   test $ac_status = 0; }; then :
2754   for ac_file in conftest.o conftest.obj conftest.*; do
2755   test -f "$ac_file" || continue;
2756   case $ac_file in
2757     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2758     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2759        break;;
2760   esac
2761 done
2762 else
2763   $as_echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2765
2766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2768 as_fn_error "cannot compute suffix of object files: cannot compile
2769 See \`config.log' for more details." "$LINENO" 5; }
2770 fi
2771 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2772 fi
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2774 $as_echo "$ac_cv_objext" >&6; }
2775 OBJEXT=$ac_cv_objext
2776 ac_objext=$OBJEXT
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2778 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2779 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2780   $as_echo_n "(cached) " >&6
2781 else
2782   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h.  */
2784
2785 int
2786 main ()
2787 {
2788 #ifndef __GNUC__
2789        choke me
2790 #endif
2791
2792   ;
2793   return 0;
2794 }
2795 _ACEOF
2796 if ac_fn_c_try_compile "$LINENO"; then :
2797   ac_compiler_gnu=yes
2798 else
2799   ac_compiler_gnu=no
2800 fi
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2803
2804 fi
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2806 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2807 if test $ac_compiler_gnu = yes; then
2808   GCC=yes
2809 else
2810   GCC=
2811 fi
2812 ac_test_CFLAGS=${CFLAGS+set}
2813 ac_save_CFLAGS=$CFLAGS
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2815 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2816 if test "${ac_cv_prog_cc_g+set}" = set; then :
2817   $as_echo_n "(cached) " >&6
2818 else
2819   ac_save_c_werror_flag=$ac_c_werror_flag
2820    ac_c_werror_flag=yes
2821    ac_cv_prog_cc_g=no
2822    CFLAGS="-g"
2823    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2824 /* end confdefs.h.  */
2825
2826 int
2827 main ()
2828 {
2829
2830   ;
2831   return 0;
2832 }
2833 _ACEOF
2834 if ac_fn_c_try_compile "$LINENO"; then :
2835   ac_cv_prog_cc_g=yes
2836 else
2837   CFLAGS=""
2838       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2839 /* end confdefs.h.  */
2840
2841 int
2842 main ()
2843 {
2844
2845   ;
2846   return 0;
2847 }
2848 _ACEOF
2849 if ac_fn_c_try_compile "$LINENO"; then :
2850
2851 else
2852   ac_c_werror_flag=$ac_save_c_werror_flag
2853          CFLAGS="-g"
2854          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h.  */
2856
2857 int
2858 main ()
2859 {
2860
2861   ;
2862   return 0;
2863 }
2864 _ACEOF
2865 if ac_fn_c_try_compile "$LINENO"; then :
2866   ac_cv_prog_cc_g=yes
2867 fi
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 fi
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 fi
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873    ac_c_werror_flag=$ac_save_c_werror_flag
2874 fi
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2876 $as_echo "$ac_cv_prog_cc_g" >&6; }
2877 if test "$ac_test_CFLAGS" = set; then
2878   CFLAGS=$ac_save_CFLAGS
2879 elif test $ac_cv_prog_cc_g = yes; then
2880   if test "$GCC" = yes; then
2881     CFLAGS="-g -O2"
2882   else
2883     CFLAGS="-g"
2884   fi
2885 else
2886   if test "$GCC" = yes; then
2887     CFLAGS="-O2"
2888   else
2889     CFLAGS=
2890   fi
2891 fi
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2893 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2894 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2895   $as_echo_n "(cached) " >&6
2896 else
2897   ac_cv_prog_cc_c89=no
2898 ac_save_CC=$CC
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h.  */
2901 #include <stdarg.h>
2902 #include <stdio.h>
2903 #include <sys/types.h>
2904 #include <sys/stat.h>
2905 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2906 struct buf { int x; };
2907 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2908 static char *e (p, i)
2909      char **p;
2910      int i;
2911 {
2912   return p[i];
2913 }
2914 static char *f (char * (*g) (char **, int), char **p, ...)
2915 {
2916   char *s;
2917   va_list v;
2918   va_start (v,p);
2919   s = g (p, va_arg (v,int));
2920   va_end (v);
2921   return s;
2922 }
2923
2924 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2925    function prototypes and stuff, but not '\xHH' hex character constants.
2926    These don't provoke an error unfortunately, instead are silently treated
2927    as 'x'.  The following induces an error, until -std is added to get
2928    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2929    array size at least.  It's necessary to write '\x00'==0 to get something
2930    that's true only with -std.  */
2931 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2932
2933 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2934    inside strings and character constants.  */
2935 #define FOO(x) 'x'
2936 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2937
2938 int test (int i, double x);
2939 struct s1 {int (*f) (int a);};
2940 struct s2 {int (*f) (double a);};
2941 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2942 int argc;
2943 char **argv;
2944 int
2945 main ()
2946 {
2947 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2948   ;
2949   return 0;
2950 }
2951 _ACEOF
2952 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2953         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2954 do
2955   CC="$ac_save_CC $ac_arg"
2956   if ac_fn_c_try_compile "$LINENO"; then :
2957   ac_cv_prog_cc_c89=$ac_arg
2958 fi
2959 rm -f core conftest.err conftest.$ac_objext
2960   test "x$ac_cv_prog_cc_c89" != "xno" && break
2961 done
2962 rm -f conftest.$ac_ext
2963 CC=$ac_save_CC
2964
2965 fi
2966 # AC_CACHE_VAL
2967 case "x$ac_cv_prog_cc_c89" in
2968   x)
2969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2970 $as_echo "none needed" >&6; } ;;
2971   xno)
2972     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2973 $as_echo "unsupported" >&6; } ;;
2974   *)
2975     CC="$CC $ac_cv_prog_cc_c89"
2976     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2977 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2978 esac
2979 if test "x$ac_cv_prog_cc_c89" != xno; then :
2980
2981 fi
2982
2983 ac_ext=c
2984 ac_cpp='$CPP $CPPFLAGS'
2985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2988
2989 if test -n "$ac_tool_prefix"; then
2990   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2991 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993 $as_echo_n "checking for $ac_word... " >&6; }
2994 if test "${ac_cv_prog_RANLIB+set}" = set; then :
2995   $as_echo_n "(cached) " >&6
2996 else
2997   if test -n "$RANLIB"; then
2998   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2999 else
3000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001 for as_dir in $PATH
3002 do
3003   IFS=$as_save_IFS
3004   test -z "$as_dir" && as_dir=.
3005     for ac_exec_ext in '' $ac_executable_extensions; do
3006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009     break 2
3010   fi
3011 done
3012   done
3013 IFS=$as_save_IFS
3014
3015 fi
3016 fi
3017 RANLIB=$ac_cv_prog_RANLIB
3018 if test -n "$RANLIB"; then
3019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3020 $as_echo "$RANLIB" >&6; }
3021 else
3022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023 $as_echo "no" >&6; }
3024 fi
3025
3026
3027 fi
3028 if test -z "$ac_cv_prog_RANLIB"; then
3029   ac_ct_RANLIB=$RANLIB
3030   # Extract the first word of "ranlib", so it can be a program name with args.
3031 set dummy ranlib; ac_word=$2
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3033 $as_echo_n "checking for $ac_word... " >&6; }
3034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
3035   $as_echo_n "(cached) " >&6
3036 else
3037   if test -n "$ac_ct_RANLIB"; then
3038   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3039 else
3040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041 for as_dir in $PATH
3042 do
3043   IFS=$as_save_IFS
3044   test -z "$as_dir" && as_dir=.
3045     for ac_exec_ext in '' $ac_executable_extensions; do
3046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047     ac_cv_prog_ac_ct_RANLIB="ranlib"
3048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3049     break 2
3050   fi
3051 done
3052   done
3053 IFS=$as_save_IFS
3054
3055 fi
3056 fi
3057 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3058 if test -n "$ac_ct_RANLIB"; then
3059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3060 $as_echo "$ac_ct_RANLIB" >&6; }
3061 else
3062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3063 $as_echo "no" >&6; }
3064 fi
3065
3066   if test "x$ac_ct_RANLIB" = x; then
3067     RANLIB=":"
3068   else
3069     case $cross_compiling:$ac_tool_warned in
3070 yes:)
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3073 ac_tool_warned=yes ;;
3074 esac
3075     RANLIB=$ac_ct_RANLIB
3076   fi
3077 else
3078   RANLIB="$ac_cv_prog_RANLIB"
3079 fi
3080
3081
3082 ac_ext=c
3083 ac_cpp='$CPP $CPPFLAGS'
3084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3088 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3089 # On Suns, sometimes $CPP names a directory.
3090 if test -n "$CPP" && test -d "$CPP"; then
3091   CPP=
3092 fi
3093 if test -z "$CPP"; then
3094   if test "${ac_cv_prog_CPP+set}" = set; then :
3095   $as_echo_n "(cached) " >&6
3096 else
3097       # Double quotes because CPP needs to be expanded
3098     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3099     do
3100       ac_preproc_ok=false
3101 for ac_c_preproc_warn_flag in '' yes
3102 do
3103   # Use a header file that comes with gcc, so configuring glibc
3104   # with a fresh cross-compiler works.
3105   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3106   # <limits.h> exists even on freestanding compilers.
3107   # On the NeXT, cc -E runs the code through the compiler's parser,
3108   # not just through cpp. "Syntax error" is here to catch this case.
3109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h.  */
3111 #ifdef __STDC__
3112 # include <limits.h>
3113 #else
3114 # include <assert.h>
3115 #endif
3116                      Syntax error
3117 _ACEOF
3118 if ac_fn_c_try_cpp "$LINENO"; then :
3119
3120 else
3121   # Broken: fails on valid input.
3122 continue
3123 fi
3124 rm -f conftest.err conftest.$ac_ext
3125
3126   # OK, works on sane cases.  Now check whether nonexistent headers
3127   # can be detected and how.
3128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3129 /* end confdefs.h.  */
3130 #include <ac_nonexistent.h>
3131 _ACEOF
3132 if ac_fn_c_try_cpp "$LINENO"; then :
3133   # Broken: success on invalid input.
3134 continue
3135 else
3136   # Passes both tests.
3137 ac_preproc_ok=:
3138 break
3139 fi
3140 rm -f conftest.err conftest.$ac_ext
3141
3142 done
3143 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3144 rm -f conftest.err conftest.$ac_ext
3145 if $ac_preproc_ok; then :
3146   break
3147 fi
3148
3149     done
3150     ac_cv_prog_CPP=$CPP
3151
3152 fi
3153   CPP=$ac_cv_prog_CPP
3154 else
3155   ac_cv_prog_CPP=$CPP
3156 fi
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3158 $as_echo "$CPP" >&6; }
3159 ac_preproc_ok=false
3160 for ac_c_preproc_warn_flag in '' yes
3161 do
3162   # Use a header file that comes with gcc, so configuring glibc
3163   # with a fresh cross-compiler works.
3164   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3165   # <limits.h> exists even on freestanding compilers.
3166   # On the NeXT, cc -E runs the code through the compiler's parser,
3167   # not just through cpp. "Syntax error" is here to catch this case.
3168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3169 /* end confdefs.h.  */
3170 #ifdef __STDC__
3171 # include <limits.h>
3172 #else
3173 # include <assert.h>
3174 #endif
3175                      Syntax error
3176 _ACEOF
3177 if ac_fn_c_try_cpp "$LINENO"; then :
3178
3179 else
3180   # Broken: fails on valid input.
3181 continue
3182 fi
3183 rm -f conftest.err conftest.$ac_ext
3184
3185   # OK, works on sane cases.  Now check whether nonexistent headers
3186   # can be detected and how.
3187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h.  */
3189 #include <ac_nonexistent.h>
3190 _ACEOF
3191 if ac_fn_c_try_cpp "$LINENO"; then :
3192   # Broken: success on invalid input.
3193 continue
3194 else
3195   # Passes both tests.
3196 ac_preproc_ok=:
3197 break
3198 fi
3199 rm -f conftest.err conftest.$ac_ext
3200
3201 done
3202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3203 rm -f conftest.err conftest.$ac_ext
3204 if $ac_preproc_ok; then :
3205
3206 else
3207   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3209 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3210 See \`config.log' for more details." "$LINENO" 5; }
3211 fi
3212
3213 ac_ext=c
3214 ac_cpp='$CPP $CPPFLAGS'
3215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3218
3219
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3221 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3222 if test "${ac_cv_path_GREP+set}" = set; then :
3223   $as_echo_n "(cached) " >&6
3224 else
3225   if test -z "$GREP"; then
3226   ac_path_GREP_found=false
3227   # Loop through the user's path and test for each of PROGNAME-LIST
3228   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3230 do
3231   IFS=$as_save_IFS
3232   test -z "$as_dir" && as_dir=.
3233     for ac_prog in grep ggrep; do
3234     for ac_exec_ext in '' $ac_executable_extensions; do
3235       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3236       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3237 # Check for GNU ac_path_GREP and select it if it is found.
3238   # Check for GNU $ac_path_GREP
3239 case `"$ac_path_GREP" --version 2>&1` in
3240 *GNU*)
3241   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3242 *)
3243   ac_count=0
3244   $as_echo_n 0123456789 >"conftest.in"
3245   while :
3246   do
3247     cat "conftest.in" "conftest.in" >"conftest.tmp"
3248     mv "conftest.tmp" "conftest.in"
3249     cp "conftest.in" "conftest.nl"
3250     $as_echo 'GREP' >> "conftest.nl"
3251     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3252     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3253     as_fn_arith $ac_count + 1 && ac_count=$as_val
3254     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3255       # Best one so far, save it but keep looking for a better one
3256       ac_cv_path_GREP="$ac_path_GREP"
3257       ac_path_GREP_max=$ac_count
3258     fi
3259     # 10*(2^10) chars as input seems more than enough
3260     test $ac_count -gt 10 && break
3261   done
3262   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3263 esac
3264
3265       $ac_path_GREP_found && break 3
3266     done
3267   done
3268   done
3269 IFS=$as_save_IFS
3270   if test -z "$ac_cv_path_GREP"; then
3271     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3272   fi
3273 else
3274   ac_cv_path_GREP=$GREP
3275 fi
3276
3277 fi
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3279 $as_echo "$ac_cv_path_GREP" >&6; }
3280  GREP="$ac_cv_path_GREP"
3281
3282
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3284 $as_echo_n "checking for egrep... " >&6; }
3285 if test "${ac_cv_path_EGREP+set}" = set; then :
3286   $as_echo_n "(cached) " >&6
3287 else
3288   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3289    then ac_cv_path_EGREP="$GREP -E"
3290    else
3291      if test -z "$EGREP"; then
3292   ac_path_EGREP_found=false
3293   # Loop through the user's path and test for each of PROGNAME-LIST
3294   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3296 do
3297   IFS=$as_save_IFS
3298   test -z "$as_dir" && as_dir=.
3299     for ac_prog in egrep; do
3300     for ac_exec_ext in '' $ac_executable_extensions; do
3301       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3302       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3303 # Check for GNU ac_path_EGREP and select it if it is found.
3304   # Check for GNU $ac_path_EGREP
3305 case `"$ac_path_EGREP" --version 2>&1` in
3306 *GNU*)
3307   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3308 *)
3309   ac_count=0
3310   $as_echo_n 0123456789 >"conftest.in"
3311   while :
3312   do
3313     cat "conftest.in" "conftest.in" >"conftest.tmp"
3314     mv "conftest.tmp" "conftest.in"
3315     cp "conftest.in" "conftest.nl"
3316     $as_echo 'EGREP' >> "conftest.nl"
3317     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3318     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3319     as_fn_arith $ac_count + 1 && ac_count=$as_val
3320     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3321       # Best one so far, save it but keep looking for a better one
3322       ac_cv_path_EGREP="$ac_path_EGREP"
3323       ac_path_EGREP_max=$ac_count
3324     fi
3325     # 10*(2^10) chars as input seems more than enough
3326     test $ac_count -gt 10 && break
3327   done
3328   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3329 esac
3330
3331       $ac_path_EGREP_found && break 3
3332     done
3333   done
3334   done
3335 IFS=$as_save_IFS
3336   if test -z "$ac_cv_path_EGREP"; then
3337     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3338   fi
3339 else
3340   ac_cv_path_EGREP=$EGREP
3341 fi
3342
3343    fi
3344 fi
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3346 $as_echo "$ac_cv_path_EGREP" >&6; }
3347  EGREP="$ac_cv_path_EGREP"
3348
3349
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3351 $as_echo_n "checking for ANSI C header files... " >&6; }
3352 if test "${ac_cv_header_stdc+set}" = set; then :
3353   $as_echo_n "(cached) " >&6
3354 else
3355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h.  */
3357 #include <stdlib.h>
3358 #include <stdarg.h>
3359 #include <string.h>
3360 #include <float.h>
3361
3362 int
3363 main ()
3364 {
3365
3366   ;
3367   return 0;
3368 }
3369 _ACEOF
3370 if ac_fn_c_try_compile "$LINENO"; then :
3371   ac_cv_header_stdc=yes
3372 else
3373   ac_cv_header_stdc=no
3374 fi
3375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376
3377 if test $ac_cv_header_stdc = yes; then
3378   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h.  */
3381 #include <string.h>
3382
3383 _ACEOF
3384 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3385   $EGREP "memchr" >/dev/null 2>&1; then :
3386
3387 else
3388   ac_cv_header_stdc=no
3389 fi
3390 rm -f conftest*
3391
3392 fi
3393
3394 if test $ac_cv_header_stdc = yes; then
3395   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h.  */
3398 #include <stdlib.h>
3399
3400 _ACEOF
3401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3402   $EGREP "free" >/dev/null 2>&1; then :
3403
3404 else
3405   ac_cv_header_stdc=no
3406 fi
3407 rm -f conftest*
3408
3409 fi
3410
3411 if test $ac_cv_header_stdc = yes; then
3412   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3413   if test "$cross_compiling" = yes; then :
3414   :
3415 else
3416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h.  */
3418 #include <ctype.h>
3419 #include <stdlib.h>
3420 #if ((' ' & 0x0FF) == 0x020)
3421 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3422 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3423 #else
3424 # define ISLOWER(c) \
3425                    (('a' <= (c) && (c) <= 'i') \
3426                      || ('j' <= (c) && (c) <= 'r') \
3427                      || ('s' <= (c) && (c) <= 'z'))
3428 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3429 #endif
3430
3431 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3432 int
3433 main ()
3434 {
3435   int i;
3436   for (i = 0; i < 256; i++)
3437     if (XOR (islower (i), ISLOWER (i))
3438         || toupper (i) != TOUPPER (i))
3439       return 2;
3440   return 0;
3441 }
3442 _ACEOF
3443 if ac_fn_c_try_run "$LINENO"; then :
3444
3445 else
3446   ac_cv_header_stdc=no
3447 fi
3448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3449   conftest.$ac_objext conftest.beam conftest.$ac_ext
3450 fi
3451
3452 fi
3453 fi
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3455 $as_echo "$ac_cv_header_stdc" >&6; }
3456 if test $ac_cv_header_stdc = yes; then
3457
3458 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3459
3460 fi
3461
3462 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3463 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3464                   inttypes.h stdint.h unistd.h
3465 do :
3466   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3467 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3468 "
3469 eval as_val=\$$as_ac_Header
3470    if test "x$as_val" = x""yes; then :
3471   cat >>confdefs.h <<_ACEOF
3472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3473 _ACEOF
3474
3475 fi
3476
3477 done
3478
3479
3480
3481   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3482 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
3483   MINIX=yes
3484 else
3485   MINIX=
3486 fi
3487
3488
3489   if test "$MINIX" = yes; then
3490
3491 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3492
3493
3494 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3495
3496
3497 $as_echo "#define _MINIX 1" >>confdefs.h
3498
3499   fi
3500
3501
3502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3503 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3504 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
3505   $as_echo_n "(cached) " >&6
3506 else
3507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h.  */
3509
3510 #         define __EXTENSIONS__ 1
3511           $ac_includes_default
3512 int
3513 main ()
3514 {
3515
3516   ;
3517   return 0;
3518 }
3519 _ACEOF
3520 if ac_fn_c_try_compile "$LINENO"; then :
3521   ac_cv_safe_to_define___extensions__=yes
3522 else
3523   ac_cv_safe_to_define___extensions__=no
3524 fi
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 fi
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3528 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3529   test $ac_cv_safe_to_define___extensions__ = yes &&
3530     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3531
3532   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3533
3534   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3535
3536   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3537
3538   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3539
3540
3541
3542
3543 ac_aux_dir=
3544 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3545   for ac_t in install-sh install.sh shtool; do
3546     if test -f "$ac_dir/$ac_t"; then
3547       ac_aux_dir=$ac_dir
3548       ac_install_sh="$ac_aux_dir/$ac_t -c"
3549       break 2
3550     fi
3551   done
3552 done
3553 if test -z "$ac_aux_dir"; then
3554   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3555 fi
3556
3557 # These three variables are undocumented and unsupported,
3558 # and are intended to be withdrawn in a future Autoconf release.
3559 # They can cause serious problems if a builder's source tree is in a directory
3560 # whose full name contains unusual characters.
3561 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
3562 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
3563 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
3564
3565
3566 # Make sure we can run config.sub.
3567 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3568   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3569
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3571 $as_echo_n "checking build system type... " >&6; }
3572 if test "${ac_cv_build+set}" = set; then :
3573   $as_echo_n "(cached) " >&6
3574 else
3575   ac_build_alias=$build_alias
3576 test "x$ac_build_alias" = x &&
3577   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3578 test "x$ac_build_alias" = x &&
3579   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3580 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3581   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3582
3583 fi
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3585 $as_echo "$ac_cv_build" >&6; }
3586 case $ac_cv_build in
3587 *-*-*) ;;
3588 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3589 esac
3590 build=$ac_cv_build
3591 ac_save_IFS=$IFS; IFS='-'
3592 set x $ac_cv_build
3593 shift
3594 build_cpu=$1
3595 build_vendor=$2
3596 shift; shift
3597 # Remember, the first character of IFS is used to create $*,
3598 # except with old shells:
3599 build_os=$*
3600 IFS=$ac_save_IFS
3601 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3602
3603
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3605 $as_echo_n "checking host system type... " >&6; }
3606 if test "${ac_cv_host+set}" = set; then :
3607   $as_echo_n "(cached) " >&6
3608 else
3609   if test "x$host_alias" = x; then
3610   ac_cv_host=$ac_cv_build
3611 else
3612   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3613     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3614 fi
3615
3616 fi
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3618 $as_echo "$ac_cv_host" >&6; }
3619 case $ac_cv_host in
3620 *-*-*) ;;
3621 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3622 esac
3623 host=$ac_cv_host
3624 ac_save_IFS=$IFS; IFS='-'
3625 set x $ac_cv_host
3626 shift
3627 host_cpu=$1
3628 host_vendor=$2
3629 shift; shift
3630 # Remember, the first character of IFS is used to create $*,
3631 # except with old shells:
3632 host_os=$*
3633 IFS=$ac_save_IFS
3634 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3635
3636
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3638 $as_echo_n "checking target system type... " >&6; }
3639 if test "${ac_cv_target+set}" = set; then :
3640   $as_echo_n "(cached) " >&6
3641 else
3642   if test "x$target_alias" = x; then
3643   ac_cv_target=$ac_cv_host
3644 else
3645   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3646     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3647 fi
3648
3649 fi
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3651 $as_echo "$ac_cv_target" >&6; }
3652 case $ac_cv_target in
3653 *-*-*) ;;
3654 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3655 esac
3656 target=$ac_cv_target
3657 ac_save_IFS=$IFS; IFS='-'
3658 set x $ac_cv_target
3659 shift
3660 target_cpu=$1
3661 target_vendor=$2
3662 shift; shift
3663 # Remember, the first character of IFS is used to create $*,
3664 # except with old shells:
3665 target_os=$*
3666 IFS=$ac_save_IFS
3667 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3668
3669
3670 # The aliases save the names the user supplied, while $host etc.
3671 # will get canonicalized.
3672 test -n "$target_alias" &&
3673   test "$program_prefix$program_suffix$program_transform_name" = \
3674     NONENONEs,x,x, &&
3675   program_prefix=${target_alias}-
3676
3677
3678 # Find a good install program.  We prefer a C program (faster),
3679 # so one script is as good as another.  But avoid the broken or
3680 # incompatible versions:
3681 # SysV /etc/install, /usr/sbin/install
3682 # SunOS /usr/etc/install
3683 # IRIX /sbin/install
3684 # AIX /bin/install
3685 # AmigaOS /C/install, which installs bootblocks on floppy discs
3686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3689 # OS/2's system install, which has a completely different semantic
3690 # ./install, which can be erroneously created by make from ./install.sh.
3691 # Reject install programs that cannot install multiple files.
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3693 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3694 if test -z "$INSTALL"; then
3695 if test "${ac_cv_path_install+set}" = set; then :
3696   $as_echo_n "(cached) " >&6
3697 else
3698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3699 for as_dir in $PATH
3700 do
3701   IFS=$as_save_IFS
3702   test -z "$as_dir" && as_dir=.
3703     # Account for people who put trailing slashes in PATH elements.
3704 case $as_dir/ in #((
3705   ./ | .// | /[cC]/* | \
3706   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3707   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3708   /usr/ucb/* ) ;;
3709   *)
3710     # OSF1 and SCO ODT 3.0 have their own names for install.
3711     # Don't use installbsd from OSF since it installs stuff as root
3712     # by default.
3713     for ac_prog in ginstall scoinst install; do
3714       for ac_exec_ext in '' $ac_executable_extensions; do
3715         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3716           if test $ac_prog = install &&
3717             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3718             # AIX install.  It has an incompatible calling convention.
3719             :
3720           elif test $ac_prog = install &&
3721             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3722             # program-specific install script used by HP pwplus--don't use.
3723             :
3724           else
3725             rm -rf conftest.one conftest.two conftest.dir
3726             echo one > conftest.one
3727             echo two > conftest.two
3728             mkdir conftest.dir
3729             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3730               test -s conftest.one && test -s conftest.two &&
3731               test -s conftest.dir/conftest.one &&
3732               test -s conftest.dir/conftest.two
3733             then
3734               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3735               break 3
3736             fi
3737           fi
3738         fi
3739       done
3740     done
3741     ;;
3742 esac
3743
3744   done
3745 IFS=$as_save_IFS
3746
3747 rm -rf conftest.one conftest.two conftest.dir
3748
3749 fi
3750   if test "${ac_cv_path_install+set}" = set; then
3751     INSTALL=$ac_cv_path_install
3752   else
3753     # As a last resort, use the slow shell script.  Don't cache a
3754     # value for INSTALL within a source directory, because that will
3755     # break other packages using the cache if that directory is
3756     # removed, or if the value is a relative name.
3757     INSTALL=$ac_install_sh
3758   fi
3759 fi
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3761 $as_echo "$INSTALL" >&6; }
3762
3763 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3764 # It thinks the first close brace ends the variable substitution.
3765 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3766
3767 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3768
3769 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3770
3771
3772 test "$program_prefix" != NONE &&
3773   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3774 # Use a double $ so make ignores it.
3775 test "$program_suffix" != NONE &&
3776   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3777 # Double any \ or $.
3778 # By default was `s,x,x', remove it if useless.
3779 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3780 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3781
3782
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3784 $as_echo_n "checking for ANSI C header files... " >&6; }
3785 if test "${ac_cv_header_stdc+set}" = set; then :
3786   $as_echo_n "(cached) " >&6
3787 else
3788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3789 /* end confdefs.h.  */
3790 #include <stdlib.h>
3791 #include <stdarg.h>
3792 #include <string.h>
3793 #include <float.h>
3794
3795 int
3796 main ()
3797 {
3798
3799   ;
3800   return 0;
3801 }
3802 _ACEOF
3803 if ac_fn_c_try_compile "$LINENO"; then :
3804   ac_cv_header_stdc=yes
3805 else
3806   ac_cv_header_stdc=no
3807 fi
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809
3810 if test $ac_cv_header_stdc = yes; then
3811   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3813 /* end confdefs.h.  */
3814 #include <string.h>
3815
3816 _ACEOF
3817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3818   $EGREP "memchr" >/dev/null 2>&1; then :
3819
3820 else
3821   ac_cv_header_stdc=no
3822 fi
3823 rm -f conftest*
3824
3825 fi
3826
3827 if test $ac_cv_header_stdc = yes; then
3828   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h.  */
3831 #include <stdlib.h>
3832
3833 _ACEOF
3834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3835   $EGREP "free" >/dev/null 2>&1; then :
3836
3837 else
3838   ac_cv_header_stdc=no
3839 fi
3840 rm -f conftest*
3841
3842 fi
3843
3844 if test $ac_cv_header_stdc = yes; then
3845   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3846   if test "$cross_compiling" = yes; then :
3847   :
3848 else
3849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h.  */
3851 #include <ctype.h>
3852 #include <stdlib.h>
3853 #if ((' ' & 0x0FF) == 0x020)
3854 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3855 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3856 #else
3857 # define ISLOWER(c) \
3858                    (('a' <= (c) && (c) <= 'i') \
3859                      || ('j' <= (c) && (c) <= 'r') \
3860                      || ('s' <= (c) && (c) <= 'z'))
3861 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3862 #endif
3863
3864 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3865 int
3866 main ()
3867 {
3868   int i;
3869   for (i = 0; i < 256; i++)
3870     if (XOR (islower (i), ISLOWER (i))
3871         || toupper (i) != TOUPPER (i))
3872       return 2;
3873   return 0;
3874 }
3875 _ACEOF
3876 if ac_fn_c_try_run "$LINENO"; then :
3877
3878 else
3879   ac_cv_header_stdc=no
3880 fi
3881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3882   conftest.$ac_objext conftest.beam conftest.$ac_ext
3883 fi
3884
3885 fi
3886 fi
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3888 $as_echo "$ac_cv_header_stdc" >&6; }
3889 if test $ac_cv_header_stdc = yes; then
3890
3891 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3892
3893 fi
3894
3895
3896 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3897 # for constant arguments.  Useless!
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
3899 $as_echo_n "checking for working alloca.h... " >&6; }
3900 if test "${ac_cv_working_alloca_h+set}" = set; then :
3901   $as_echo_n "(cached) " >&6
3902 else
3903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h.  */
3905 #include <alloca.h>
3906 int
3907 main ()
3908 {
3909 char *p = (char *) alloca (2 * sizeof (int));
3910                           if (p) return 0;
3911   ;
3912   return 0;
3913 }
3914 _ACEOF
3915 if ac_fn_c_try_link "$LINENO"; then :
3916   ac_cv_working_alloca_h=yes
3917 else
3918   ac_cv_working_alloca_h=no
3919 fi
3920 rm -f core conftest.err conftest.$ac_objext \
3921     conftest$ac_exeext conftest.$ac_ext
3922 fi
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
3924 $as_echo "$ac_cv_working_alloca_h" >&6; }
3925 if test $ac_cv_working_alloca_h = yes; then
3926
3927 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
3928
3929 fi
3930
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
3932 $as_echo_n "checking for alloca... " >&6; }
3933 if test "${ac_cv_func_alloca_works+set}" = set; then :
3934   $as_echo_n "(cached) " >&6
3935 else
3936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h.  */
3938 #ifdef __GNUC__
3939 # define alloca __builtin_alloca
3940 #else
3941 # ifdef _MSC_VER
3942 #  include <malloc.h>
3943 #  define alloca _alloca
3944 # else
3945 #  ifdef HAVE_ALLOCA_H
3946 #   include <alloca.h>
3947 #  else
3948 #   ifdef _AIX
3949  #pragma alloca
3950 #   else
3951 #    ifndef alloca /* predefined by HP cc +Olibcalls */
3952 char *alloca ();
3953 #    endif
3954 #   endif
3955 #  endif
3956 # endif
3957 #endif
3958
3959 int
3960 main ()
3961 {
3962 char *p = (char *) alloca (1);
3963                                     if (p) return 0;
3964   ;
3965   return 0;
3966 }
3967 _ACEOF
3968 if ac_fn_c_try_link "$LINENO"; then :
3969   ac_cv_func_alloca_works=yes
3970 else
3971   ac_cv_func_alloca_works=no
3972 fi
3973 rm -f core conftest.err conftest.$ac_objext \
3974     conftest$ac_exeext conftest.$ac_ext
3975 fi
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
3977 $as_echo "$ac_cv_func_alloca_works" >&6; }
3978
3979 if test $ac_cv_func_alloca_works = yes; then
3980
3981 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
3982
3983 else
3984   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3985 # that cause trouble.  Some versions do not even contain alloca or
3986 # contain a buggy version.  If you still want to use their alloca,
3987 # use ar to extract alloca.o from them instead of compiling alloca.c.
3988
3989 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
3990
3991 $as_echo "#define C_ALLOCA 1" >>confdefs.h
3992
3993
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
3995 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
3996 if test "${ac_cv_os_cray+set}" = set; then :
3997   $as_echo_n "(cached) " >&6
3998 else
3999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h.  */
4001 #if defined CRAY && ! defined CRAY2
4002 webecray
4003 #else
4004 wenotbecray
4005 #endif
4006
4007 _ACEOF
4008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4009   $EGREP "webecray" >/dev/null 2>&1; then :
4010   ac_cv_os_cray=yes
4011 else
4012   ac_cv_os_cray=no
4013 fi
4014 rm -f conftest*
4015
4016 fi
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
4018 $as_echo "$ac_cv_os_cray" >&6; }
4019 if test $ac_cv_os_cray = yes; then
4020   for ac_func in _getb67 GETB67 getb67; do
4021     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4023 eval as_val=\$$as_ac_var
4024    if test "x$as_val" = x""yes; then :
4025
4026 cat >>confdefs.h <<_ACEOF
4027 #define CRAY_STACKSEG_END $ac_func
4028 _ACEOF
4029
4030     break
4031 fi
4032
4033   done
4034 fi
4035
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
4037 $as_echo_n "checking stack direction for C alloca... " >&6; }
4038 if test "${ac_cv_c_stack_direction+set}" = set; then :
4039   $as_echo_n "(cached) " >&6
4040 else
4041   if test "$cross_compiling" = yes; then :
4042   ac_cv_c_stack_direction=0
4043 else
4044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4045 /* end confdefs.h.  */
4046 $ac_includes_default
4047 int
4048 find_stack_direction ()
4049 {
4050   static char *addr = 0;
4051   auto char dummy;
4052   if (addr == 0)
4053     {
4054       addr = &dummy;
4055       return find_stack_direction ();
4056     }
4057   else
4058     return (&dummy > addr) ? 1 : -1;
4059 }
4060
4061 int
4062 main ()
4063 {
4064   return find_stack_direction () < 0;
4065 }
4066 _ACEOF
4067 if ac_fn_c_try_run "$LINENO"; then :
4068   ac_cv_c_stack_direction=1
4069 else
4070   ac_cv_c_stack_direction=-1
4071 fi
4072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4073   conftest.$ac_objext conftest.beam conftest.$ac_ext
4074 fi
4075
4076 fi
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
4078 $as_echo "$ac_cv_c_stack_direction" >&6; }
4079 cat >>confdefs.h <<_ACEOF
4080 #define STACK_DIRECTION $ac_cv_c_stack_direction
4081 _ACEOF
4082
4083
4084 fi
4085
4086 for ac_header in sgtty.h termio.h termios.h sys/reg.h string.h           proc_service.h sys/procfs.h thread_db.h linux/elf.h             stdlib.h unistd.h               errno.h fcntl.h signal.h sys/file.h malloc.h            sys/ioctl.h netinet/in.h sys/socket.h netdb.h           netinet/tcp.h arpa/inet.h sys/wait.h
4087 do :
4088   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4089 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4090 eval as_val=\$$as_ac_Header
4091    if test "x$as_val" = x""yes; then :
4092   cat >>confdefs.h <<_ACEOF
4093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4094 _ACEOF
4095
4096 fi
4097
4098 done
4099
4100 for ac_func in pread pwrite pread64
4101 do :
4102   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4103 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4104 eval as_val=\$$as_ac_var
4105    if test "x$as_val" = x""yes; then :
4106   cat >>confdefs.h <<_ACEOF
4107 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4108 _ACEOF
4109
4110 fi
4111 done
4112
4113 for ac_func in memmem vasprintf vsnprintf
4114 do :
4115   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4117 eval as_val=\$$as_ac_var
4118    if test "x$as_val" = x""yes; then :
4119   cat >>confdefs.h <<_ACEOF
4120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4121 _ACEOF
4122
4123 else
4124   case " $LIBOBJS " in
4125   *" $ac_func.$ac_objext "* ) ;;
4126   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
4127  ;;
4128 esac
4129
4130 fi
4131 done
4132
4133
4134
4135 # Check for UST
4136 ustlibs=""
4137 ustinc=""
4138
4139
4140 # Check whether --with-ust was given.
4141 if test "${with_ust+set}" = set; then :
4142   withval=$with_ust;
4143 fi
4144
4145
4146 # Check whether --with-ust_include was given.
4147 if test "${with_ust_include+set}" = set; then :
4148   withval=$with_ust_include;
4149 fi
4150
4151
4152 # Check whether --with-ust_lib was given.
4153 if test "${with_ust_lib+set}" = set; then :
4154   withval=$with_ust_lib;
4155 fi
4156
4157
4158 case $with_ust in
4159   no)
4160     ustlibs=
4161     ustinc=
4162     ;;
4163   "" | yes)
4164     ustlibs=" -lust "
4165     ustinc=""
4166     ;;
4167   *)
4168     ustlibs="-L$with_ust/lib -lust"
4169     ustinc="-I$with_ust/include "
4170     ;;
4171 esac
4172 if test "x$with_ust_include" != x; then
4173   ustinc="-I$with_ust_include "
4174 fi
4175 if test "x$with_ust_lib" != x; then
4176   ustlibs="-L$with_ust_lib -lust"
4177 fi
4178
4179 if test "x$with_ust" != "xno"; then
4180   saved_CFLAGS="$CFLAGS"
4181   CFLAGS="$CFLAGS $ustinc"
4182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ust" >&5
4183 $as_echo_n "checking for ust... " >&6; }
4184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4185 /* end confdefs.h.  */
4186
4187 #define CONFIG_UST_GDB_INTEGRATION
4188 #include <ust/ust.h>
4189
4190 int
4191 main ()
4192 {
4193
4194   ;
4195   return 0;
4196 }
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4200 $as_echo "yes" >&6; };
4201 $as_echo "#define HAVE_UST 1" >>confdefs.h
4202
4203 else
4204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4205 $as_echo "no" >&6; }; ustlibs= ; ustinc=
4206 fi
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208   CFLAGS="$saved_CFLAGS"
4209 fi
4210
4211 # Flags needed for UST
4212
4213
4214
4215 # Check whether --enable-werror was given.
4216 if test "${enable_werror+set}" = set; then :
4217   enableval=$enable_werror; case "${enableval}" in
4218      yes | y) ERROR_ON_WARNING="yes" ;;
4219      no | n)  ERROR_ON_WARNING="no" ;;
4220      *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
4221    esac
4222 fi
4223
4224
4225 # Enable -Werror by default when using gcc
4226 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4227     ERROR_ON_WARNING=yes
4228 fi
4229
4230 WERROR_CFLAGS=""
4231 if test "${ERROR_ON_WARNING}" = yes ; then
4232     WERROR_CFLAGS="-Werror"
4233 fi
4234
4235 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
4236 -Wformat-nonliteral -Wno-char-subscripts"
4237
4238 WARN_CFLAGS=""
4239 if test "x$GCC" = xyes
4240 then
4241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler warning flags" >&5
4242 $as_echo_n "checking compiler warning flags... " >&6; }
4243     # Separate out the -Werror flag as some files just cannot be
4244     # compiled with it enabled.
4245     for w in ${build_warnings}; do
4246         case $w in
4247         -Werr*) WERROR_CFLAGS=-Werror ;;
4248         *) # Check that GCC accepts it
4249             saved_CFLAGS="$CFLAGS"
4250             CFLAGS="$CFLAGS $w"
4251             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h.  */
4253
4254 int
4255 main ()
4256 {
4257
4258   ;
4259   return 0;
4260 }
4261 _ACEOF
4262 if ac_fn_c_try_compile "$LINENO"; then :
4263   WARN_CFLAGS="${WARN_CFLAGS} $w"
4264 fi
4265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266             CFLAGS="$saved_CFLAGS"
4267         esac
4268     done
4269     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${WARN_CFLAGS} ${WERROR_CFLAGS}" >&5
4270 $as_echo "${WARN_CFLAGS} ${WERROR_CFLAGS}" >&6; }
4271 fi
4272
4273
4274
4275 old_LIBS="$LIBS"
4276 LIBS="$LIBS -ldl"
4277 for ac_func in dladdr
4278 do :
4279   ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
4280 if test "x$ac_cv_func_dladdr" = x""yes; then :
4281   cat >>confdefs.h <<_ACEOF
4282 #define HAVE_DLADDR 1
4283 _ACEOF
4284
4285 fi
4286 done
4287
4288 LIBS="$old_LIBS"
4289
4290 have_errno=no
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for errno" >&5
4292 $as_echo_n "checking for errno... " >&6; }
4293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4294 /* end confdefs.h.  */
4295
4296 #if HAVE_ERRNO_H
4297 #include <errno.h>
4298 #endif
4299 int
4300 main ()
4301 {
4302 static int x; x = errno;
4303   ;
4304   return 0;
4305 }
4306 _ACEOF
4307 if ac_fn_c_try_link "$LINENO"; then :
4308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - in errno.h" >&5
4309 $as_echo "yes - in errno.h" >&6; };
4310 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
4311  have_errno=yes
4312 fi
4313 rm -f core conftest.err conftest.$ac_objext \
4314     conftest$ac_exeext conftest.$ac_ext
4315 if test $have_errno = no; then
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h.  */
4318
4319 #if HAVE_ERRNO_H
4320 #include <errno.h>
4321 #endif
4322 int
4323 main ()
4324 {
4325 extern int errno; static int x; x = errno;
4326   ;
4327   return 0;
4328 }
4329 _ACEOF
4330 if ac_fn_c_try_link "$LINENO"; then :
4331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - must define" >&5
4332 $as_echo "yes - must define" >&6; };
4333 $as_echo "#define HAVE_ERRNO 1" >>confdefs.h
4334
4335 $as_echo "#define MUST_DEFINE_ERRNO 1" >>confdefs.h
4336
4337 else
4338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4340 fi
4341 rm -f core conftest.err conftest.$ac_objext \
4342     conftest$ac_exeext conftest.$ac_ext
4343 fi
4344
4345 ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
4346 if test "x$ac_cv_have_decl_strerror" = x""yes; then :
4347   ac_have_decl=1
4348 else
4349   ac_have_decl=0
4350 fi
4351
4352 cat >>confdefs.h <<_ACEOF
4353 #define HAVE_DECL_STRERROR $ac_have_decl
4354 _ACEOF
4355 ac_fn_c_check_decl "$LINENO" "perror" "ac_cv_have_decl_perror" "$ac_includes_default"
4356 if test "x$ac_cv_have_decl_perror" = x""yes; then :
4357   ac_have_decl=1
4358 else
4359   ac_have_decl=0
4360 fi
4361
4362 cat >>confdefs.h <<_ACEOF
4363 #define HAVE_DECL_PERROR $ac_have_decl
4364 _ACEOF
4365 ac_fn_c_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
4366 if test "x$ac_cv_have_decl_memmem" = x""yes; then :
4367   ac_have_decl=1
4368 else
4369   ac_have_decl=0
4370 fi
4371
4372 cat >>confdefs.h <<_ACEOF
4373 #define HAVE_DECL_MEMMEM $ac_have_decl
4374 _ACEOF
4375 ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
4376 if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
4377   ac_have_decl=1
4378 else
4379   ac_have_decl=0
4380 fi
4381
4382 cat >>confdefs.h <<_ACEOF
4383 #define HAVE_DECL_VASPRINTF $ac_have_decl
4384 _ACEOF
4385 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
4386 if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
4387   ac_have_decl=1
4388 else
4389   ac_have_decl=0
4390 fi
4391
4392 cat >>confdefs.h <<_ACEOF
4393 #define HAVE_DECL_VSNPRINTF $ac_have_decl
4394 _ACEOF
4395
4396
4397 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h>
4398 #include <sys/socket.h>
4399
4400 "
4401 if test "x$ac_cv_type_socklen_t" = x""yes; then :
4402
4403 cat >>confdefs.h <<_ACEOF
4404 #define HAVE_SOCKLEN_T 1
4405 _ACEOF
4406
4407
4408 fi
4409
4410
4411
4412
4413 # Check whether --with-pkgversion was given.
4414 if test "${with_pkgversion+set}" = set; then :
4415   withval=$with_pkgversion; case "$withval" in
4416       yes) as_fn_error "package version not specified" "$LINENO" 5 ;;
4417       no)  PKGVERSION= ;;
4418       *)   PKGVERSION="($withval) " ;;
4419      esac
4420 else
4421   PKGVERSION="(GDB) "
4422
4423 fi
4424
4425
4426
4427
4428
4429 # Check whether --with-bugurl was given.
4430 if test "${with_bugurl+set}" = set; then :
4431   withval=$with_bugurl; case "$withval" in
4432       yes) as_fn_error "bug URL not specified" "$LINENO" 5 ;;
4433       no)  BUGURL=
4434            ;;
4435       *)   BUGURL="$withval"
4436            ;;
4437      esac
4438 else
4439   BUGURL="http://www.gnu.org/software/gdb/bugs/"
4440
4441 fi
4442
4443   case ${BUGURL} in
4444   "")
4445     REPORT_BUGS_TO=
4446     REPORT_BUGS_TEXI=
4447     ;;
4448   *)
4449     REPORT_BUGS_TO="<$BUGURL>"
4450     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
4451     ;;
4452   esac;
4453
4454
4455
4456
4457 cat >>confdefs.h <<_ACEOF
4458 #define PKGVERSION "$PKGVERSION"
4459 _ACEOF
4460
4461
4462 cat >>confdefs.h <<_ACEOF
4463 #define REPORT_BUGS_TO "$REPORT_BUGS_TO"
4464 _ACEOF
4465
4466
4467 # Check for various supplementary target information (beyond the
4468 # triplet) which might affect the choices in configure.srv.
4469 case "${target}" in
4470   i[34567]86-*-linux*)
4471     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for x86-64" >&5
4472 $as_echo_n "checking if building for x86-64... " >&6; }
4473 if test "${gdb_cv_i386_is_x86_64+set}" = set; then :
4474   $as_echo_n "(cached) " >&6
4475 else
4476   save_CPPFLAGS="$CPPFLAGS"
4477                     CPPFLAGS="$CPPFLAGS $CFLAGS"
4478                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4479 /* end confdefs.h.  */
4480
4481 #if __x86_64__
4482 got it
4483 #endif
4484
4485 _ACEOF
4486 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4487   $EGREP "got it" >/dev/null 2>&1; then :
4488   gdb_cv_i386_is_x86_64=yes
4489 else
4490   gdb_cv_i386_is_x86_64=no
4491 fi
4492 rm -f conftest*
4493
4494                     CPPFLAGS="$save_CPPFLAGS"
4495 fi
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_i386_is_x86_64" >&5
4497 $as_echo "$gdb_cv_i386_is_x86_64" >&6; }
4498     ;;
4499   m68k-*-*)
4500     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building for Coldfire" >&5
4501 $as_echo_n "checking if building for Coldfire... " >&6; }
4502 if test "${gdb_cv_m68k_is_coldfire+set}" = set; then :
4503   $as_echo_n "(cached) " >&6
4504 else
4505   save_CPPFLAGS="$CPPFLAGS"
4506                     CPPFLAGS="$CPPFLAGS $CFLAGS"
4507                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h.  */
4509
4510 #ifdef __mcoldfire__
4511 got it
4512 #endif
4513
4514 _ACEOF
4515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4516   $EGREP "got it" >/dev/null 2>&1; then :
4517   gdb_cv_m68k_is_coldfire=yes
4518 else
4519   gdb_cv_m68k_is_coldfire=no
4520 fi
4521 rm -f conftest*
4522
4523                     CPPFLAGS="$save_CPPFLAGS"
4524 fi
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdb_cv_m68k_is_coldfire" >&5
4526 $as_echo "$gdb_cv_m68k_is_coldfire" >&6; }
4527     ;;
4528 esac
4529
4530 . ${srcdir}/configure.srv
4531
4532 if test "${srv_mingwce}" = "yes"; then
4533   LIBS="$LIBS -lws2"
4534 elif test "${srv_mingw}" = "yes"; then
4535   LIBS="$LIBS -lws2_32"
4536 elif test "${srv_qnx}" = "yes"; then
4537   LIBS="$LIBS -lsocket"
4538 elif test "${srv_lynxos}" = "yes"; then
4539   LIBS="$LIBS -lnetinet"
4540 fi
4541
4542 if test "${srv_mingw}" = "yes"; then
4543
4544 $as_echo "#define USE_WIN32API 1" >>confdefs.h
4545
4546 fi
4547
4548 if test "${srv_linux_usrregs}" = "yes"; then
4549
4550 $as_echo "#define HAVE_LINUX_USRREGS 1" >>confdefs.h
4551
4552 fi
4553
4554 if test "${srv_linux_regsets}" = "yes"; then
4555
4556 $as_echo "#define HAVE_LINUX_REGSETS 1" >>confdefs.h
4557
4558
4559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETREGS" >&5
4560 $as_echo_n "checking for PTRACE_GETREGS... " >&6; }
4561   if test "${gdbsrv_cv_have_ptrace_getregs+set}" = set; then :
4562   $as_echo_n "(cached) " >&6
4563 else
4564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h.  */
4566 #include <sys/ptrace.h>
4567 int
4568 main ()
4569 {
4570 PTRACE_GETREGS;
4571   ;
4572   return 0;
4573 }
4574 _ACEOF
4575 if ac_fn_c_try_compile "$LINENO"; then :
4576   gdbsrv_cv_have_ptrace_getregs=yes
4577 else
4578   gdbsrv_cv_have_ptrace_getregs=no
4579 fi
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 fi
4582
4583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getregs" >&5
4584 $as_echo "$gdbsrv_cv_have_ptrace_getregs" >&6; }
4585   if test "${gdbsrv_cv_have_ptrace_getregs}" = "yes"; then
4586
4587 $as_echo "#define HAVE_PTRACE_GETREGS 1" >>confdefs.h
4588
4589   fi
4590
4591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTRACE_GETFPXREGS" >&5
4592 $as_echo_n "checking for PTRACE_GETFPXREGS... " >&6; }
4593   if test "${gdbsrv_cv_have_ptrace_getfpxregs+set}" = set; then :
4594   $as_echo_n "(cached) " >&6
4595 else
4596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h.  */
4598 #include <sys/ptrace.h>
4599 int
4600 main ()
4601 {
4602 PTRACE_GETFPXREGS;
4603   ;
4604   return 0;
4605 }
4606 _ACEOF
4607 if ac_fn_c_try_compile "$LINENO"; then :
4608   gdbsrv_cv_have_ptrace_getfpxregs=yes
4609 else
4610   gdbsrv_cv_have_ptrace_getfpxregs=no
4611 fi
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 fi
4614
4615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_ptrace_getfpxregs" >&5
4616 $as_echo "$gdbsrv_cv_have_ptrace_getfpxregs" >&6; }
4617   if test "${gdbsrv_cv_have_ptrace_getfpxregs}" = "yes"; then
4618
4619 $as_echo "#define HAVE_PTRACE_GETFPXREGS 1" >>confdefs.h
4620
4621   fi
4622 fi
4623
4624 if test "$ac_cv_header_sys_procfs_h" = yes; then
4625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lwpid_t in sys/procfs.h" >&5
4626 $as_echo_n "checking for lwpid_t in sys/procfs.h... " >&6; }
4627  if test "${bfd_cv_have_sys_procfs_type_lwpid_t+set}" = set; then :
4628   $as_echo_n "(cached) " >&6
4629 else
4630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4631 /* end confdefs.h.  */
4632
4633 #define _SYSCALL32
4634 /* Needed for new procfs interface on sparc-solaris.  */
4635 #define _STRUCTURED_PROC 1
4636 #include <sys/procfs.h>
4637 int
4638 main ()
4639 {
4640 lwpid_t avar
4641   ;
4642   return 0;
4643 }
4644 _ACEOF
4645 if ac_fn_c_try_compile "$LINENO"; then :
4646   bfd_cv_have_sys_procfs_type_lwpid_t=yes
4647 else
4648   bfd_cv_have_sys_procfs_type_lwpid_t=no
4649
4650 fi
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 fi
4653
4654  if test $bfd_cv_have_sys_procfs_type_lwpid_t = yes; then
4655
4656 $as_echo "#define HAVE_LWPID_T 1" >>confdefs.h
4657
4658  fi
4659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_lwpid_t" >&5
4660 $as_echo "$bfd_cv_have_sys_procfs_type_lwpid_t" >&6; }
4661
4662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for psaddr_t in sys/procfs.h" >&5
4663 $as_echo_n "checking for psaddr_t in sys/procfs.h... " >&6; }
4664  if test "${bfd_cv_have_sys_procfs_type_psaddr_t+set}" = set; then :
4665   $as_echo_n "(cached) " >&6
4666 else
4667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h.  */
4669
4670 #define _SYSCALL32
4671 /* Needed for new procfs interface on sparc-solaris.  */
4672 #define _STRUCTURED_PROC 1
4673 #include <sys/procfs.h>
4674 int
4675 main ()
4676 {
4677 psaddr_t avar
4678   ;
4679   return 0;
4680 }
4681 _ACEOF
4682 if ac_fn_c_try_compile "$LINENO"; then :
4683   bfd_cv_have_sys_procfs_type_psaddr_t=yes
4684 else
4685   bfd_cv_have_sys_procfs_type_psaddr_t=no
4686
4687 fi
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 fi
4690
4691  if test $bfd_cv_have_sys_procfs_type_psaddr_t = yes; then
4692
4693 $as_echo "#define HAVE_PSADDR_T 1" >>confdefs.h
4694
4695  fi
4696  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_psaddr_t" >&5
4697 $as_echo "$bfd_cv_have_sys_procfs_type_psaddr_t" >&6; }
4698
4699   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prgregset_t in sys/procfs.h" >&5
4700 $as_echo_n "checking for prgregset_t in sys/procfs.h... " >&6; }
4701  if test "${bfd_cv_have_sys_procfs_type_prgregset_t+set}" = set; then :
4702   $as_echo_n "(cached) " >&6
4703 else
4704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4705 /* end confdefs.h.  */
4706
4707 #define _SYSCALL32
4708 /* Needed for new procfs interface on sparc-solaris.  */
4709 #define _STRUCTURED_PROC 1
4710 #include <sys/procfs.h>
4711 int
4712 main ()
4713 {
4714 prgregset_t avar
4715   ;
4716   return 0;
4717 }
4718 _ACEOF
4719 if ac_fn_c_try_compile "$LINENO"; then :
4720   bfd_cv_have_sys_procfs_type_prgregset_t=yes
4721 else
4722   bfd_cv_have_sys_procfs_type_prgregset_t=no
4723
4724 fi
4725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4726 fi
4727
4728  if test $bfd_cv_have_sys_procfs_type_prgregset_t = yes; then
4729
4730 $as_echo "#define HAVE_PRGREGSET_T 1" >>confdefs.h
4731
4732  fi
4733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_prgregset_t" >&5
4734 $as_echo "$bfd_cv_have_sys_procfs_type_prgregset_t" >&6; }
4735
4736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for elf_fpregset_t in sys/procfs.h" >&5
4737 $as_echo_n "checking for elf_fpregset_t in sys/procfs.h... " >&6; }
4738  if test "${bfd_cv_have_sys_procfs_type_elf_fpregset_t+set}" = set; then :
4739   $as_echo_n "(cached) " >&6
4740 else
4741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h.  */
4743
4744 #define _SYSCALL32
4745 /* Needed for new procfs interface on sparc-solaris.  */
4746 #define _STRUCTURED_PROC 1
4747 #include <sys/procfs.h>
4748 int
4749 main ()
4750 {
4751 elf_fpregset_t avar
4752   ;
4753   return 0;
4754 }
4755 _ACEOF
4756 if ac_fn_c_try_compile "$LINENO"; then :
4757   bfd_cv_have_sys_procfs_type_elf_fpregset_t=yes
4758 else
4759   bfd_cv_have_sys_procfs_type_elf_fpregset_t=no
4760
4761 fi
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763 fi
4764
4765  if test $bfd_cv_have_sys_procfs_type_elf_fpregset_t = yes; then
4766
4767 $as_echo "#define HAVE_ELF_FPREGSET_T 1" >>confdefs.h
4768
4769  fi
4770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&5
4771 $as_echo "$bfd_cv_have_sys_procfs_type_elf_fpregset_t" >&6; }
4772
4773 fi
4774
4775 old_LIBS="$LIBS"
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
4777 $as_echo_n "checking for dlopen in -ldl... " >&6; }
4778 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
4779   $as_echo_n "(cached) " >&6
4780 else
4781   ac_check_lib_save_LIBS=$LIBS
4782 LIBS="-ldl  $LIBS"
4783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h.  */
4785
4786 /* Override any GCC internal prototype to avoid an error.
4787    Use char because int might match the return type of a GCC
4788    builtin and then its argument prototype would still apply.  */
4789 #ifdef __cplusplus
4790 extern "C"
4791 #endif
4792 char dlopen ();
4793 int
4794 main ()
4795 {
4796 return dlopen ();
4797   ;
4798   return 0;
4799 }
4800 _ACEOF
4801 if ac_fn_c_try_link "$LINENO"; then :
4802   ac_cv_lib_dl_dlopen=yes
4803 else
4804   ac_cv_lib_dl_dlopen=no
4805 fi
4806 rm -f core conftest.err conftest.$ac_objext \
4807     conftest$ac_exeext conftest.$ac_ext
4808 LIBS=$ac_check_lib_save_LIBS
4809 fi
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
4811 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
4812 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
4813   cat >>confdefs.h <<_ACEOF
4814 #define HAVE_LIBDL 1
4815 _ACEOF
4816
4817   LIBS="-ldl $LIBS"
4818
4819 fi
4820
4821 LIBS="$old_LIBS"
4822
4823 srv_thread_depfiles=
4824 srv_libs=
4825 USE_THREAD_DB=
4826
4827 if test "$srv_linux_thread_db" = "yes"; then
4828   if test "$ac_cv_lib_dl_dlopen" = "yes"; then
4829     srv_libs="-ldl"
4830     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the dynamic export flag" >&5
4831 $as_echo_n "checking for the dynamic export flag... " >&6; }
4832     old_LDFLAGS="$LDFLAGS"
4833     # Older GNU ld supports --export-dynamic but --dynamic-list may not be
4834     # supported there.
4835     RDYNAMIC="-Wl,--dynamic-list=${srcdir}/proc-service.list"
4836     LDFLAGS="$LDFLAGS $RDYNAMIC"
4837     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h.  */
4839
4840 int
4841 main ()
4842 {
4843
4844   ;
4845   return 0;
4846 }
4847 _ACEOF
4848 if ac_fn_c_try_link "$LINENO"; then :
4849   found="-Wl,--dynamic-list"
4850                  RDYNAMIC='-Wl,--dynamic-list=$(srcdir)/proc-service.list'
4851 else
4852   RDYNAMIC="-rdynamic"
4853                  LDFLAGS="$old_LDFLAGS $RDYNAMIC"
4854                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h.  */
4856
4857 int
4858 main ()
4859 {
4860
4861   ;
4862   return 0;
4863 }
4864 _ACEOF
4865 if ac_fn_c_try_link "$LINENO"; then :
4866   found="-rdynamic"
4867 else
4868   found="no"
4869                               RDYNAMIC=""
4870 fi
4871 rm -f core conftest.err conftest.$ac_objext \
4872     conftest$ac_exeext conftest.$ac_ext
4873 fi
4874 rm -f core conftest.err conftest.$ac_objext \
4875     conftest$ac_exeext conftest.$ac_ext
4876
4877     LDFLAGS="$old_LDFLAGS"
4878     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found" >&5
4879 $as_echo "$found" >&6; }
4880   else
4881     srv_libs="-lthread_db"
4882   fi
4883
4884   srv_thread_depfiles="thread-db.o proc-service.o"
4885   USE_THREAD_DB="-DUSE_THREAD_DB"
4886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TD_VERSION" >&5
4887 $as_echo_n "checking for TD_VERSION... " >&6; }
4888 if test "${gdbsrv_cv_have_td_version+set}" = set; then :
4889   $as_echo_n "(cached) " >&6
4890 else
4891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h.  */
4893 #include <thread_db.h>
4894 int
4895 main ()
4896 {
4897 TD_VERSION;
4898   ;
4899   return 0;
4900 }
4901 _ACEOF
4902 if ac_fn_c_try_compile "$LINENO"; then :
4903   gdbsrv_cv_have_td_version=yes
4904 else
4905   gdbsrv_cv_have_td_version=no
4906 fi
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 fi
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_td_version" >&5
4910 $as_echo "$gdbsrv_cv_have_td_version" >&6; }
4911   if test $gdbsrv_cv_have_td_version = yes; then
4912
4913 $as_echo "#define HAVE_TD_VERSION 1" >>confdefs.h
4914
4915   fi
4916 fi
4917
4918
4919 # Check whether --with-libthread-db was given.
4920 if test "${with_libthread_db+set}" = set; then :
4921   withval=$with_libthread_db; srv_libthread_db_path="${withval}"
4922   srv_libs="$srv_libthread_db_path"
4923
4924 fi
4925
4926
4927 if test "$srv_libs" != "" -a "$srv_libs" != "-ldl"; then
4928
4929 $as_echo "#define USE_LIBTHREAD_DB_DIRECTLY 1" >>confdefs.h
4930
4931 fi
4932
4933 if test "$srv_xmlfiles" != ""; then
4934   srv_xmlbuiltin="xml-builtin.o"
4935
4936 $as_echo "#define USE_XML 1" >>confdefs.h
4937
4938
4939   tmp_xmlfiles=$srv_xmlfiles
4940   srv_xmlfiles=""
4941   for f in $tmp_xmlfiles; do
4942     srv_xmlfiles="$srv_xmlfiles \$(XML_DIR)/$f"
4943   done
4944 fi
4945
4946 GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_hostio_err_objs $srv_thread_depfiles"
4947 GDBSERVER_LIBS="$srv_libs"
4948
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_*_compare_and_swap" >&5
4950 $as_echo_n "checking whether the target supports __sync_*_compare_and_swap... " >&6; }
4951 if test "${gdbsrv_cv_have_sync_builtins+set}" = set; then :
4952   $as_echo_n "(cached) " >&6
4953 else
4954
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h.  */
4957
4958 int
4959 main ()
4960 {
4961 int foo, bar; bar = __sync_val_compare_and_swap(&foo, 0, 1);
4962   ;
4963   return 0;
4964 }
4965 _ACEOF
4966 if ac_fn_c_try_link "$LINENO"; then :
4967   gdbsrv_cv_have_sync_builtins=yes
4968 else
4969   gdbsrv_cv_have_sync_builtins=no
4970 fi
4971 rm -f core conftest.err conftest.$ac_objext \
4972     conftest$ac_exeext conftest.$ac_ext
4973 fi
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbsrv_cv_have_sync_builtins" >&5
4975 $as_echo "$gdbsrv_cv_have_sync_builtins" >&6; }
4976 if test $gdbsrv_cv_have_sync_builtins = yes; then
4977
4978 $as_echo "#define HAVE_SYNC_BUILTINS 1" >>confdefs.h
4979
4980 fi
4981
4982 saved_cflags="$CFLAGS"
4983 CFLAGS="$CFLAGS -fvisibility=hidden"
4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h.  */
4986
4987 int
4988 main ()
4989 {
4990
4991   ;
4992   return 0;
4993 }
4994 _ACEOF
4995 if ac_fn_c_try_compile "$LINENO"; then :
4996   gdbsrv_cv_have_visibility_hidden=yes
4997 else
4998   gdbsrv_cv_have_visibility_hidden=no
4999 fi
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 CFLAGS="$saved_cflags"
5002
5003
5004 IPA_DEPFILES=""
5005 extra_libraries=""
5006
5007 # check whether to enable the inprocess agent
5008 if test "$ipa_obj" != "" \
5009    -a "$gdbsrv_cv_have_sync_builtins" = yes \
5010    -a "$gdbsrv_cv_have_visibility_hidden" = yes; then
5011    have_ipa=true
5012 else
5013    have_ipa=false
5014 fi
5015
5016 # Check whether --enable-inprocess-agent was given.
5017 if test "${enable_inprocess_agent+set}" = set; then :
5018   enableval=$enable_inprocess_agent; case "$enableval" in
5019   yes) want_ipa=true ;;
5020   no) want_ipa=false ;;
5021   *) as_fn_error "bad value $enableval for inprocess-agent" "$LINENO" 5 ;;
5022 esac
5023 else
5024   want_ipa=$have_ipa
5025 fi
5026
5027
5028 if $want_ipa ; then
5029    if $have_ipa ; then
5030      IPA_DEPFILES="$ipa_obj"
5031      extra_libraries="$extra_libraries libinproctrace.so"
5032    else
5033      as_fn_error "inprocess agent not supported for this target" "$LINENO" 5
5034    fi
5035 fi
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045 ac_config_files="$ac_config_files Makefile"
5046
5047 ac_config_commands="$ac_config_commands default"
5048
5049 cat >confcache <<\_ACEOF
5050 # This file is a shell script that caches the results of configure
5051 # tests run on this system so they can be shared between configure
5052 # scripts and configure runs, see configure's option --config-cache.
5053 # It is not useful on other systems.  If it contains results you don't
5054 # want to keep, you may remove or edit it.
5055 #
5056 # config.status only pays attention to the cache file if you give it
5057 # the --recheck option to rerun configure.
5058 #
5059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5061 # following values.
5062
5063 _ACEOF
5064
5065 # The following way of writing the cache mishandles newlines in values,
5066 # but we know of no workaround that is simple, portable, and efficient.
5067 # So, we kill variables containing newlines.
5068 # Ultrix sh set writes to stderr and can't be redirected directly,
5069 # and sets the high bit in the cache file unless we assign to the vars.
5070 (
5071   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5072     eval ac_val=\$$ac_var
5073     case $ac_val in #(
5074     *${as_nl}*)
5075       case $ac_var in #(
5076       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5077 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5078       esac
5079       case $ac_var in #(
5080       _ | IFS | as_nl) ;; #(
5081       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5082       *) { eval $ac_var=; unset $ac_var;} ;;
5083       esac ;;
5084     esac
5085   done
5086
5087   (set) 2>&1 |
5088     case $as_nl`(ac_space=' '; set) 2>&1` in #(
5089     *${as_nl}ac_space=\ *)
5090       # `set' does not quote correctly, so add quotes: double-quote
5091       # substitution turns \\\\ into \\, and sed turns \\ into \.
5092       sed -n \
5093         "s/'/'\\\\''/g;
5094           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5095       ;; #(
5096     *)
5097       # `set' quotes correctly as required by POSIX, so do not add quotes.
5098       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5099       ;;
5100     esac |
5101     sort
5102 ) |
5103   sed '
5104      /^ac_cv_env_/b end
5105      t clear
5106      :clear
5107      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5108      t end
5109      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5110      :end' >>confcache
5111 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5112   if test -w "$cache_file"; then
5113     test "x$cache_file" != "x/dev/null" &&
5114       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5115 $as_echo "$as_me: updating cache $cache_file" >&6;}
5116     cat confcache >$cache_file
5117   else
5118     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5119 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5120   fi
5121 fi
5122 rm -f confcache
5123
5124 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5125 # Let make expand exec_prefix.
5126 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5127
5128 DEFS=-DHAVE_CONFIG_H
5129
5130 ac_libobjs=
5131 ac_ltlibobjs=
5132 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5133   # 1. Remove the extension, and $U if already installed.
5134   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5135   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5136   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5137   #    will be set to the directory where LIBOBJS objects are built.
5138   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5139   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5140 done
5141 LIBOBJS=$ac_libobjs
5142
5143 LTLIBOBJS=$ac_ltlibobjs
5144
5145
5146
5147 : ${CONFIG_STATUS=./config.status}
5148 ac_write_fail=0
5149 ac_clean_files_save=$ac_clean_files
5150 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5152 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5153 as_write_fail=0
5154 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5155 #! $SHELL
5156 # Generated by $as_me.
5157 # Run this file to recreate the current configuration.
5158 # Compiler output produced by configure, useful for debugging
5159 # configure, is in config.log if it exists.
5160
5161 debug=false
5162 ac_cs_recheck=false
5163 ac_cs_silent=false
5164
5165 SHELL=\${CONFIG_SHELL-$SHELL}
5166 export SHELL
5167 _ASEOF
5168 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5169 ## -------------------- ##
5170 ## M4sh Initialization. ##
5171 ## -------------------- ##
5172
5173 # Be more Bourne compatible
5174 DUALCASE=1; export DUALCASE # for MKS sh
5175 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5176   emulate sh
5177   NULLCMD=:
5178   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5179   # is contrary to our usage.  Disable this feature.
5180   alias -g '${1+"$@"}'='"$@"'
5181   setopt NO_GLOB_SUBST
5182 else
5183   case `(set -o) 2>/dev/null` in #(
5184   *posix*) :
5185     set -o posix ;; #(
5186   *) :
5187      ;;
5188 esac
5189 fi
5190
5191
5192 as_nl='
5193 '
5194 export as_nl
5195 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5196 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5197 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5198 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5199 # Prefer a ksh shell builtin over an external printf program on Solaris,
5200 # but without wasting forks for bash or zsh.
5201 if test -z "$BASH_VERSION$ZSH_VERSION" \
5202     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5203   as_echo='print -r --'
5204   as_echo_n='print -rn --'
5205 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5206   as_echo='printf %s\n'
5207   as_echo_n='printf %s'
5208 else
5209   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5210     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5211     as_echo_n='/usr/ucb/echo -n'
5212   else
5213     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5214     as_echo_n_body='eval
5215       arg=$1;
5216       case $arg in #(
5217       *"$as_nl"*)
5218         expr "X$arg" : "X\\(.*\\)$as_nl";
5219         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5220       esac;
5221       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5222     '
5223     export as_echo_n_body
5224     as_echo_n='sh -c $as_echo_n_body as_echo'
5225   fi
5226   export as_echo_body
5227   as_echo='sh -c $as_echo_body as_echo'
5228 fi
5229
5230 # The user is always right.
5231 if test "${PATH_SEPARATOR+set}" != set; then
5232   PATH_SEPARATOR=:
5233   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5234     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5235       PATH_SEPARATOR=';'
5236   }
5237 fi
5238
5239
5240 # IFS
5241 # We need space, tab and new line, in precisely that order.  Quoting is
5242 # there to prevent editors from complaining about space-tab.
5243 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5244 # splitting by setting IFS to empty value.)
5245 IFS=" ""        $as_nl"
5246
5247 # Find who we are.  Look in the path if we contain no directory separator.
5248 case $0 in #((
5249   *[\\/]* ) as_myself=$0 ;;
5250   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5252 do
5253   IFS=$as_save_IFS
5254   test -z "$as_dir" && as_dir=.
5255     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5256   done
5257 IFS=$as_save_IFS
5258
5259      ;;
5260 esac
5261 # We did not find ourselves, most probably we were run as `sh COMMAND'
5262 # in which case we are not to be found in the path.
5263 if test "x$as_myself" = x; then
5264   as_myself=$0
5265 fi
5266 if test ! -f "$as_myself"; then
5267   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5268   exit 1
5269 fi
5270
5271 # Unset variables that we do not need and which cause bugs (e.g. in
5272 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5273 # suppresses any "Segmentation fault" message there.  '((' could
5274 # trigger a bug in pdksh 5.2.14.
5275 for as_var in BASH_ENV ENV MAIL MAILPATH
5276 do eval test x\${$as_var+set} = xset \
5277   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5278 done
5279 PS1='$ '
5280 PS2='> '
5281 PS4='+ '
5282
5283 # NLS nuisances.
5284 LC_ALL=C
5285 export LC_ALL
5286 LANGUAGE=C
5287 export LANGUAGE
5288
5289 # CDPATH.
5290 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5291
5292
5293 # as_fn_error ERROR [LINENO LOG_FD]
5294 # ---------------------------------
5295 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5296 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5297 # script with status $?, using 1 if that was 0.
5298 as_fn_error ()
5299 {
5300   as_status=$?; test $as_status -eq 0 && as_status=1
5301   if test "$3"; then
5302     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5303     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
5304   fi
5305   $as_echo "$as_me: error: $1" >&2
5306   as_fn_exit $as_status
5307 } # as_fn_error
5308
5309
5310 # as_fn_set_status STATUS
5311 # -----------------------
5312 # Set $? to STATUS, without forking.
5313 as_fn_set_status ()
5314 {
5315   return $1
5316 } # as_fn_set_status
5317
5318 # as_fn_exit STATUS
5319 # -----------------
5320 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5321 as_fn_exit ()
5322 {
5323   set +e
5324   as_fn_set_status $1
5325   exit $1
5326 } # as_fn_exit
5327
5328 # as_fn_unset VAR
5329 # ---------------
5330 # Portably unset VAR.
5331 as_fn_unset ()
5332 {
5333   { eval $1=; unset $1;}
5334 }
5335 as_unset=as_fn_unset
5336 # as_fn_append VAR VALUE
5337 # ----------------------
5338 # Append the text in VALUE to the end of the definition contained in VAR. Take
5339 # advantage of any shell optimizations that allow amortized linear growth over
5340 # repeated appends, instead of the typical quadratic growth present in naive
5341 # implementations.
5342 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5343   eval 'as_fn_append ()
5344   {
5345     eval $1+=\$2
5346   }'
5347 else
5348   as_fn_append ()
5349   {
5350     eval $1=\$$1\$2
5351   }
5352 fi # as_fn_append
5353
5354 # as_fn_arith ARG...
5355 # ------------------
5356 # Perform arithmetic evaluation on the ARGs, and store the result in the
5357 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5358 # must be portable across $(()) and expr.
5359 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5360   eval 'as_fn_arith ()
5361   {
5362     as_val=$(( $* ))
5363   }'
5364 else
5365   as_fn_arith ()
5366   {
5367     as_val=`expr "$@" || test $? -eq 1`
5368   }
5369 fi # as_fn_arith
5370
5371
5372 if expr a : '\(a\)' >/dev/null 2>&1 &&
5373    test "X`expr 00001 : '.*\(...\)'`" = X001; then
5374   as_expr=expr
5375 else
5376   as_expr=false
5377 fi
5378
5379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5380   as_basename=basename
5381 else
5382   as_basename=false
5383 fi
5384
5385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5386   as_dirname=dirname
5387 else
5388   as_dirname=false
5389 fi
5390
5391 as_me=`$as_basename -- "$0" ||
5392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5393          X"$0" : 'X\(//\)$' \| \
5394          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5395 $as_echo X/"$0" |
5396     sed '/^.*\/\([^/][^/]*\)\/*$/{
5397             s//\1/
5398             q
5399           }
5400           /^X\/\(\/\/\)$/{
5401             s//\1/
5402             q
5403           }
5404           /^X\/\(\/\).*/{
5405             s//\1/
5406             q
5407           }
5408           s/.*/./; q'`
5409
5410 # Avoid depending upon Character Ranges.
5411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5414 as_cr_digits='0123456789'
5415 as_cr_alnum=$as_cr_Letters$as_cr_digits
5416
5417 ECHO_C= ECHO_N= ECHO_T=
5418 case `echo -n x` in #(((((
5419 -n*)
5420   case `echo 'xy\c'` in
5421   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5422   xy)  ECHO_C='\c';;
5423   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5424        ECHO_T=' ';;
5425   esac;;
5426 *)
5427   ECHO_N='-n';;
5428 esac
5429
5430 rm -f conf$$ conf$$.exe conf$$.file
5431 if test -d conf$$.dir; then
5432   rm -f conf$$.dir/conf$$.file
5433 else
5434   rm -f conf$$.dir
5435   mkdir conf$$.dir 2>/dev/null
5436 fi
5437 if (echo >conf$$.file) 2>/dev/null; then
5438   if ln -s conf$$.file conf$$ 2>/dev/null; then
5439     as_ln_s='ln -s'
5440     # ... but there are two gotchas:
5441     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5442     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5443     # In both cases, we have to default to `cp -p'.
5444     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5445       as_ln_s='cp -p'
5446   elif ln conf$$.file conf$$ 2>/dev/null; then
5447     as_ln_s=ln
5448   else
5449     as_ln_s='cp -p'
5450   fi
5451 else
5452   as_ln_s='cp -p'
5453 fi
5454 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5455 rmdir conf$$.dir 2>/dev/null
5456
5457
5458 # as_fn_mkdir_p
5459 # -------------
5460 # Create "$as_dir" as a directory, including parents if necessary.
5461 as_fn_mkdir_p ()
5462 {
5463
5464   case $as_dir in #(
5465   -*) as_dir=./$as_dir;;
5466   esac
5467   test -d "$as_dir" || eval $as_mkdir_p || {
5468     as_dirs=
5469     while :; do
5470       case $as_dir in #(
5471       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5472       *) as_qdir=$as_dir;;
5473       esac
5474       as_dirs="'$as_qdir' $as_dirs"
5475       as_dir=`$as_dirname -- "$as_dir" ||
5476 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5477          X"$as_dir" : 'X\(//\)[^/]' \| \
5478          X"$as_dir" : 'X\(//\)$' \| \
5479          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5480 $as_echo X"$as_dir" |
5481     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5482             s//\1/
5483             q
5484           }
5485           /^X\(\/\/\)[^/].*/{
5486             s//\1/
5487             q
5488           }
5489           /^X\(\/\/\)$/{
5490             s//\1/
5491             q
5492           }
5493           /^X\(\/\).*/{
5494             s//\1/
5495             q
5496           }
5497           s/.*/./; q'`
5498       test -d "$as_dir" && break
5499     done
5500     test -z "$as_dirs" || eval "mkdir $as_dirs"
5501   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
5502
5503
5504 } # as_fn_mkdir_p
5505 if mkdir -p . 2>/dev/null; then
5506   as_mkdir_p='mkdir -p "$as_dir"'
5507 else
5508   test -d ./-p && rmdir ./-p
5509   as_mkdir_p=false
5510 fi
5511
5512 if test -x / >/dev/null 2>&1; then
5513   as_test_x='test -x'
5514 else
5515   if ls -dL / >/dev/null 2>&1; then
5516     as_ls_L_option=L
5517   else
5518     as_ls_L_option=
5519   fi
5520   as_test_x='
5521     eval sh -c '\''
5522       if test -d "$1"; then
5523         test -d "$1/.";
5524       else
5525         case $1 in #(
5526         -*)set "./$1";;
5527         esac;
5528         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5529         ???[sx]*):;;*)false;;esac;fi
5530     '\'' sh
5531   '
5532 fi
5533 as_executable_p=$as_test_x
5534
5535 # Sed expression to map a string onto a valid CPP name.
5536 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5537
5538 # Sed expression to map a string onto a valid variable name.
5539 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5540
5541
5542 exec 6>&1
5543 ## ----------------------------------- ##
5544 ## Main body of $CONFIG_STATUS script. ##
5545 ## ----------------------------------- ##
5546 _ASEOF
5547 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5548
5549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5550 # Save the log message, to keep $0 and so on meaningful, and to
5551 # report actual input values of CONFIG_FILES etc. instead of their
5552 # values after options handling.
5553 ac_log="
5554 This file was extended by $as_me, which was
5555 generated by GNU Autoconf 2.64.  Invocation command line was
5556
5557   CONFIG_FILES    = $CONFIG_FILES
5558   CONFIG_HEADERS  = $CONFIG_HEADERS
5559   CONFIG_LINKS    = $CONFIG_LINKS
5560   CONFIG_COMMANDS = $CONFIG_COMMANDS
5561   $ $0 $@
5562
5563 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5564 "
5565
5566 _ACEOF
5567
5568 case $ac_config_files in *"
5569 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5570 esac
5571
5572 case $ac_config_headers in *"
5573 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5574 esac
5575
5576
5577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5578 # Files that config.status was made for.
5579 config_files="$ac_config_files"
5580 config_headers="$ac_config_headers"
5581 config_commands="$ac_config_commands"
5582
5583 _ACEOF
5584
5585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5586 ac_cs_usage="\
5587 \`$as_me' instantiates files and other configuration actions
5588 from templates according to the current configuration.  Unless the files
5589 and actions are specified as TAGs, all are instantiated by default.
5590
5591 Usage: $0 [OPTION]... [TAG]...
5592
5593   -h, --help       print this help, then exit
5594   -V, --version    print version number and configuration settings, then exit
5595   -q, --quiet, --silent
5596                    do not print progress messages
5597   -d, --debug      don't remove temporary files
5598       --recheck    update $as_me by reconfiguring in the same conditions
5599       --file=FILE[:TEMPLATE]
5600                    instantiate the configuration file FILE
5601       --header=FILE[:TEMPLATE]
5602                    instantiate the configuration header FILE
5603
5604 Configuration files:
5605 $config_files
5606
5607 Configuration headers:
5608 $config_headers
5609
5610 Configuration commands:
5611 $config_commands
5612
5613 Report bugs to the package provider."
5614
5615 _ACEOF
5616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5617 ac_cs_version="\\
5618 config.status
5619 configured by $0, generated by GNU Autoconf 2.64,
5620   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5621
5622 Copyright (C) 2009 Free Software Foundation, Inc.
5623 This config.status script is free software; the Free Software Foundation
5624 gives unlimited permission to copy, distribute and modify it."
5625
5626 ac_pwd='$ac_pwd'
5627 srcdir='$srcdir'
5628 INSTALL='$INSTALL'
5629 test -n "\$AWK" || AWK=awk
5630 _ACEOF
5631
5632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5633 # The default lists apply if the user does not specify any file.
5634 ac_need_defaults=:
5635 while test $# != 0
5636 do
5637   case $1 in
5638   --*=*)
5639     ac_option=`expr "X$1" : 'X\([^=]*\)='`
5640     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5641     ac_shift=:
5642     ;;
5643   *)
5644     ac_option=$1
5645     ac_optarg=$2
5646     ac_shift=shift
5647     ;;
5648   esac
5649
5650   case $ac_option in
5651   # Handling of the options.
5652   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5653     ac_cs_recheck=: ;;
5654   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5655     $as_echo "$ac_cs_version"; exit ;;
5656   --debug | --debu | --deb | --de | --d | -d )
5657     debug=: ;;
5658   --file | --fil | --fi | --f )
5659     $ac_shift
5660     case $ac_optarg in
5661     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5662     esac
5663     as_fn_append CONFIG_FILES " '$ac_optarg'"
5664     ac_need_defaults=false;;
5665   --header | --heade | --head | --hea )
5666     $ac_shift
5667     case $ac_optarg in
5668     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5669     esac
5670     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5671     ac_need_defaults=false;;
5672   --he | --h)
5673     # Conflict between --help and --header
5674     as_fn_error "ambiguous option: \`$1'
5675 Try \`$0 --help' for more information.";;
5676   --help | --hel | -h )
5677     $as_echo "$ac_cs_usage"; exit ;;
5678   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5679   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5680     ac_cs_silent=: ;;
5681
5682   # This is an error.
5683   -*) as_fn_error "unrecognized option: \`$1'
5684 Try \`$0 --help' for more information." ;;
5685
5686   *) as_fn_append ac_config_targets " $1"
5687      ac_need_defaults=false ;;
5688
5689   esac
5690   shift
5691 done
5692
5693 ac_configure_extra_args=
5694
5695 if $ac_cs_silent; then
5696   exec 6>/dev/null
5697   ac_configure_extra_args="$ac_configure_extra_args --silent"
5698 fi
5699
5700 _ACEOF
5701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5702 if \$ac_cs_recheck; then
5703   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5704   shift
5705   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5706   CONFIG_SHELL='$SHELL'
5707   export CONFIG_SHELL
5708   exec "\$@"
5709 fi
5710
5711 _ACEOF
5712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5713 exec 5>>config.log
5714 {
5715   echo
5716   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5717 ## Running $as_me. ##
5718 _ASBOX
5719   $as_echo "$ac_log"
5720 } >&5
5721
5722 _ACEOF
5723 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5724 _ACEOF
5725
5726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5727
5728 # Handling of arguments.
5729 for ac_config_target in $ac_config_targets
5730 do
5731   case $ac_config_target in
5732     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
5733     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5734     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5735
5736   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5737   esac
5738 done
5739
5740
5741 # If the user did not use the arguments to specify the items to instantiate,
5742 # then the envvar interface is used.  Set only those that are not.
5743 # We use the long form for the default assignment because of an extremely
5744 # bizarre bug on SunOS 4.1.3.
5745 if $ac_need_defaults; then
5746   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5747   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5748   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5749 fi
5750
5751 # Have a temporary directory for convenience.  Make it in the build tree
5752 # simply because there is no reason against having it here, and in addition,
5753 # creating and moving files from /tmp can sometimes cause problems.
5754 # Hook for its removal unless debugging.
5755 # Note that there is a small window in which the directory will not be cleaned:
5756 # after its creation but before its name has been assigned to `$tmp'.
5757 $debug ||
5758 {
5759   tmp=
5760   trap 'exit_status=$?
5761   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5762 ' 0
5763   trap 'as_fn_exit 1' 1 2 13 15
5764 }
5765 # Create a (secure) tmp directory for tmp files.
5766
5767 {
5768   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5769   test -n "$tmp" && test -d "$tmp"
5770 }  ||
5771 {
5772   tmp=./conf$$-$RANDOM
5773   (umask 077 && mkdir "$tmp")
5774 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
5775
5776 # Set up the scripts for CONFIG_FILES section.
5777 # No need to generate them if there are no CONFIG_FILES.
5778 # This happens for instance with `./config.status config.h'.
5779 if test -n "$CONFIG_FILES"; then
5780
5781
5782 ac_cr=`echo X | tr X '\015'`
5783 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5784 # But we know of no other shell where ac_cr would be empty at this
5785 # point, so we can use a bashism as a fallback.
5786 if test "x$ac_cr" = x; then
5787   eval ac_cr=\$\'\\r\'
5788 fi
5789 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5790 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5791   ac_cs_awk_cr='\r'
5792 else
5793   ac_cs_awk_cr=$ac_cr
5794 fi
5795
5796 echo 'BEGIN {' >"$tmp/subs1.awk" &&
5797 _ACEOF
5798
5799
5800 {
5801   echo "cat >conf$$subs.awk <<_ACEOF" &&
5802   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5803   echo "_ACEOF"
5804 } >conf$$subs.sh ||
5805   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5806 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5807 ac_delim='%!_!# '
5808 for ac_last_try in false false false false false :; do
5809   . ./conf$$subs.sh ||
5810     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5811
5812   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5813   if test $ac_delim_n = $ac_delim_num; then
5814     break
5815   elif $ac_last_try; then
5816     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
5817   else
5818     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5819   fi
5820 done
5821 rm -f conf$$subs.sh
5822
5823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5824 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5825 _ACEOF
5826 sed -n '
5827 h
5828 s/^/S["/; s/!.*/"]=/
5829 p
5830 g
5831 s/^[^!]*!//
5832 :repl
5833 t repl
5834 s/'"$ac_delim"'$//
5835 t delim
5836 :nl
5837 h
5838 s/\(.\{148\}\).*/\1/
5839 t more1
5840 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5841 p
5842 n
5843 b repl
5844 :more1
5845 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5846 p
5847 g
5848 s/.\{148\}//
5849 t nl
5850 :delim
5851 h
5852 s/\(.\{148\}\).*/\1/
5853 t more2
5854 s/["\\]/\\&/g; s/^/"/; s/$/"/
5855 p
5856 b
5857 :more2
5858 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5859 p
5860 g
5861 s/.\{148\}//
5862 t delim
5863 ' <conf$$subs.awk | sed '
5864 /^[^""]/{
5865   N
5866   s/\n//
5867 }
5868 ' >>$CONFIG_STATUS || ac_write_fail=1
5869 rm -f conf$$subs.awk
5870 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5871 _ACAWK
5872 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5873   for (key in S) S_is_set[key] = 1
5874   FS = "\a"
5875
5876 }
5877 {
5878   line = $ 0
5879   nfields = split(line, field, "@")
5880   substed = 0
5881   len = length(field[1])
5882   for (i = 2; i < nfields; i++) {
5883     key = field[i]
5884     keylen = length(key)
5885     if (S_is_set[key]) {
5886       value = S[key]
5887       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5888       len += length(value) + length(field[++i])
5889       substed = 1
5890     } else
5891       len += 1 + keylen
5892   }
5893
5894   print line
5895 }
5896
5897 _ACAWK
5898 _ACEOF
5899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5900 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5901   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5902 else
5903   cat
5904 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5905   || as_fn_error "could not setup config files machinery" "$LINENO" 5
5906 _ACEOF
5907
5908 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5909 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5910 # trailing colons and then remove the whole line if VPATH becomes empty
5911 # (actually we leave an empty line to preserve line numbers).
5912 if test "x$srcdir" = x.; then
5913   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5914 s/:*\$(srcdir):*/:/
5915 s/:*\${srcdir}:*/:/
5916 s/:*@srcdir@:*/:/
5917 s/^\([^=]*=[     ]*\):*/\1/
5918 s/:*$//
5919 s/^[^=]*=[       ]*$//
5920 }'
5921 fi
5922
5923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5924 fi # test -n "$CONFIG_FILES"
5925
5926 # Set up the scripts for CONFIG_HEADERS section.
5927 # No need to generate them if there are no CONFIG_HEADERS.
5928 # This happens for instance with `./config.status Makefile'.
5929 if test -n "$CONFIG_HEADERS"; then
5930 cat >"$tmp/defines.awk" <<\_ACAWK ||
5931 BEGIN {
5932 _ACEOF
5933
5934 # Transform confdefs.h into an awk script `defines.awk', embedded as
5935 # here-document in config.status, that substitutes the proper values into
5936 # config.h.in to produce config.h.
5937
5938 # Create a delimiter string that does not exist in confdefs.h, to ease
5939 # handling of long lines.
5940 ac_delim='%!_!# '
5941 for ac_last_try in false false :; do
5942   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5943   if test -z "$ac_t"; then
5944     break
5945   elif $ac_last_try; then
5946     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
5947   else
5948     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5949   fi
5950 done
5951
5952 # For the awk script, D is an array of macro values keyed by name,
5953 # likewise P contains macro parameters if any.  Preserve backslash
5954 # newline sequences.
5955
5956 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5957 sed -n '
5958 s/.\{148\}/&'"$ac_delim"'/g
5959 t rset
5960 :rset
5961 s/^[     ]*#[    ]*define[       ][      ]*/ /
5962 t def
5963 d
5964 :def
5965 s/\\$//
5966 t bsnl
5967 s/["\\]/\\&/g
5968 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5969 D["\1"]=" \3"/p
5970 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
5971 d
5972 :bsnl
5973 s/["\\]/\\&/g
5974 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
5975 D["\1"]=" \3\\\\\\n"\\/p
5976 t cont
5977 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5978 t cont
5979 d
5980 :cont
5981 n
5982 s/.\{148\}/&'"$ac_delim"'/g
5983 t clear
5984 :clear
5985 s/\\$//
5986 t bsnlc
5987 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5988 d
5989 :bsnlc
5990 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5991 b cont
5992 ' <confdefs.h | sed '
5993 s/'"$ac_delim"'/"\\\
5994 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5995
5996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5997   for (key in D) D_is_set[key] = 1
5998   FS = "\a"
5999 }
6000 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6001   line = \$ 0
6002   split(line, arg, " ")
6003   if (arg[1] == "#") {
6004     defundef = arg[2]
6005     mac1 = arg[3]
6006   } else {
6007     defundef = substr(arg[1], 2)
6008     mac1 = arg[2]
6009   }
6010   split(mac1, mac2, "(") #)
6011   macro = mac2[1]
6012   prefix = substr(line, 1, index(line, defundef) - 1)
6013   if (D_is_set[macro]) {
6014     # Preserve the white space surrounding the "#".
6015     print prefix "define", macro P[macro] D[macro]
6016     next
6017   } else {
6018     # Replace #undef with comments.  This is necessary, for example,
6019     # in the case of _POSIX_SOURCE, which is predefined and required
6020     # on some systems where configure will not decide to define it.
6021     if (defundef == "undef") {
6022       print "/*", prefix defundef, macro, "*/"
6023       next
6024     }
6025   }
6026 }
6027 { print }
6028 _ACAWK
6029 _ACEOF
6030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6031   as_fn_error "could not setup config headers machinery" "$LINENO" 5
6032 fi # test -n "$CONFIG_HEADERS"
6033
6034
6035 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
6036 shift
6037 for ac_tag
6038 do
6039   case $ac_tag in
6040   :[FHLC]) ac_mode=$ac_tag; continue;;
6041   esac
6042   case $ac_mode$ac_tag in
6043   :[FHL]*:*);;
6044   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
6045   :[FH]-) ac_tag=-:-;;
6046   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6047   esac
6048   ac_save_IFS=$IFS
6049   IFS=:
6050   set x $ac_tag
6051   IFS=$ac_save_IFS
6052   shift
6053   ac_file=$1
6054   shift
6055
6056   case $ac_mode in
6057   :L) ac_source=$1;;
6058   :[FH])
6059     ac_file_inputs=
6060     for ac_f
6061     do
6062       case $ac_f in
6063       -) ac_f="$tmp/stdin";;
6064       *) # Look for the file first in the build tree, then in the source tree
6065          # (if the path is not absolute).  The absolute path cannot be DOS-style,
6066          # because $ac_f cannot contain `:'.
6067          test -f "$ac_f" ||
6068            case $ac_f in
6069            [\\/$]*) false;;
6070            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6071            esac ||
6072            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6073       esac
6074       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6075       as_fn_append ac_file_inputs " '$ac_f'"
6076     done
6077
6078     # Let's still pretend it is `configure' which instantiates (i.e., don't
6079     # use $as_me), people would be surprised to read:
6080     #    /* config.h.  Generated by config.status.  */
6081     configure_input='Generated from '`
6082           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6083         `' by configure.'
6084     if test x"$ac_file" != x-; then
6085       configure_input="$ac_file.  $configure_input"
6086       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6087 $as_echo "$as_me: creating $ac_file" >&6;}
6088     fi
6089     # Neutralize special characters interpreted by sed in replacement strings.
6090     case $configure_input in #(
6091     *\&* | *\|* | *\\* )
6092        ac_sed_conf_input=`$as_echo "$configure_input" |
6093        sed 's/[\\\\&|]/\\\\&/g'`;; #(
6094     *) ac_sed_conf_input=$configure_input;;
6095     esac
6096
6097     case $ac_tag in
6098     *:-:* | *:-) cat >"$tmp/stdin" \
6099       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
6100     esac
6101     ;;
6102   esac
6103
6104   ac_dir=`$as_dirname -- "$ac_file" ||
6105 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6106          X"$ac_file" : 'X\(//\)[^/]' \| \
6107          X"$ac_file" : 'X\(//\)$' \| \
6108          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6109 $as_echo X"$ac_file" |
6110     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6111             s//\1/
6112             q
6113           }
6114           /^X\(\/\/\)[^/].*/{
6115             s//\1/
6116             q
6117           }
6118           /^X\(\/\/\)$/{
6119             s//\1/
6120             q
6121           }
6122           /^X\(\/\).*/{
6123             s//\1/
6124             q
6125           }
6126           s/.*/./; q'`
6127   as_dir="$ac_dir"; as_fn_mkdir_p
6128   ac_builddir=.
6129
6130 case "$ac_dir" in
6131 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6132 *)
6133   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6134   # A ".." for each directory in $ac_dir_suffix.
6135   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6136   case $ac_top_builddir_sub in
6137   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6138   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6139   esac ;;
6140 esac
6141 ac_abs_top_builddir=$ac_pwd
6142 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6143 # for backward compatibility:
6144 ac_top_builddir=$ac_top_build_prefix
6145
6146 case $srcdir in
6147   .)  # We are building in place.
6148     ac_srcdir=.
6149     ac_top_srcdir=$ac_top_builddir_sub
6150     ac_abs_top_srcdir=$ac_pwd ;;
6151   [\\/]* | ?:[\\/]* )  # Absolute name.
6152     ac_srcdir=$srcdir$ac_dir_suffix;
6153     ac_top_srcdir=$srcdir
6154     ac_abs_top_srcdir=$srcdir ;;
6155   *) # Relative name.
6156     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6157     ac_top_srcdir=$ac_top_build_prefix$srcdir
6158     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6159 esac
6160 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6161
6162
6163   case $ac_mode in
6164   :F)
6165   #
6166   # CONFIG_FILE
6167   #
6168
6169   case $INSTALL in
6170   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6171   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6172   esac
6173 _ACEOF
6174
6175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6176 # If the template does not know about datarootdir, expand it.
6177 # FIXME: This hack should be removed a few years after 2.60.
6178 ac_datarootdir_hack=; ac_datarootdir_seen=
6179 ac_sed_dataroot='
6180 /datarootdir/ {
6181   p
6182   q
6183 }
6184 /@datadir@/p
6185 /@docdir@/p
6186 /@infodir@/p
6187 /@localedir@/p
6188 /@mandir@/p'
6189 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6190 *datarootdir*) ac_datarootdir_seen=yes;;
6191 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6192   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6193 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6194 _ACEOF
6195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6196   ac_datarootdir_hack='
6197   s&@datadir@&$datadir&g
6198   s&@docdir@&$docdir&g
6199   s&@infodir@&$infodir&g
6200   s&@localedir@&$localedir&g
6201   s&@mandir@&$mandir&g
6202   s&\\\${datarootdir}&$datarootdir&g' ;;
6203 esac
6204 _ACEOF
6205
6206 # Neutralize VPATH when `$srcdir' = `.'.
6207 # Shell code in configure.ac might set extrasub.
6208 # FIXME: do we really want to maintain this feature?
6209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6210 ac_sed_extra="$ac_vpsub
6211 $extrasub
6212 _ACEOF
6213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6214 :t
6215 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6216 s|@configure_input@|$ac_sed_conf_input|;t t
6217 s&@top_builddir@&$ac_top_builddir_sub&;t t
6218 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6219 s&@srcdir@&$ac_srcdir&;t t
6220 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6221 s&@top_srcdir@&$ac_top_srcdir&;t t
6222 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6223 s&@builddir@&$ac_builddir&;t t
6224 s&@abs_builddir@&$ac_abs_builddir&;t t
6225 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6226 s&@INSTALL@&$ac_INSTALL&;t t
6227 $ac_datarootdir_hack
6228 "
6229 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6230   || as_fn_error "could not create $ac_file" "$LINENO" 5
6231
6232 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6233   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6234   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6235   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6236 which seems to be undefined.  Please make sure it is defined." >&5
6237 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6238 which seems to be undefined.  Please make sure it is defined." >&2;}
6239
6240   rm -f "$tmp/stdin"
6241   case $ac_file in
6242   -) cat "$tmp/out" && rm -f "$tmp/out";;
6243   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6244   esac \
6245   || as_fn_error "could not create $ac_file" "$LINENO" 5
6246  ;;
6247   :H)
6248   #
6249   # CONFIG_HEADER
6250   #
6251   if test x"$ac_file" != x-; then
6252     {
6253       $as_echo "/* $configure_input  */" \
6254       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6255     } >"$tmp/config.h" \
6256       || as_fn_error "could not create $ac_file" "$LINENO" 5
6257     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6258       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6259 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6260     else
6261       rm -f "$ac_file"
6262       mv "$tmp/config.h" "$ac_file" \
6263         || as_fn_error "could not create $ac_file" "$LINENO" 5
6264     fi
6265   else
6266     $as_echo "/* $configure_input  */" \
6267       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6268       || as_fn_error "could not create -" "$LINENO" 5
6269   fi
6270  ;;
6271
6272   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6273 $as_echo "$as_me: executing $ac_file commands" >&6;}
6274  ;;
6275   esac
6276
6277
6278   case $ac_file$ac_mode in
6279     "default":C) case x$CONFIG_HEADERS in
6280 xconfig.h:config.in)
6281 echo > stamp-h ;;
6282 esac
6283  ;;
6284
6285   esac
6286 done # for ac_tag
6287
6288
6289 as_fn_exit 0
6290 _ACEOF
6291 ac_clean_files=$ac_clean_files_save
6292
6293 test $ac_write_fail = 0 ||
6294   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
6295
6296
6297 # configure is writing to config.log, and then calls config.status.
6298 # config.status does its own redirection, appending to config.log.
6299 # Unfortunately, on DOS this fails, as config.log is still kept open
6300 # by configure, so config.status won't be able to write to it; its
6301 # output is simply discarded.  So we exec the FD to /dev/null,
6302 # effectively closing config.log, so it can be properly (re)opened and
6303 # appended to by config.status.  When coming back to configure, we
6304 # need to make the FD available again.
6305 if test "$no_create" != yes; then
6306   ac_cs_success=:
6307   ac_config_status_args=
6308   test "$silent" = yes &&
6309     ac_config_status_args="$ac_config_status_args --quiet"
6310   exec 5>/dev/null
6311   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6312   exec 5>>config.log
6313   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6314   # would make configure fail if this is the last instruction.
6315   $ac_cs_success || as_fn_exit $?
6316 fi
6317 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6318   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6319 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6320 fi
6321