Revert patch that disables building libctf for non-ELF based targets.
[external/binutils.git] / libctf / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libctf library 1.2.0-pre.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
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 as_myself=
91 case $0 in #((
92   *[\\/]* ) as_myself=$0 ;;
93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96   IFS=$as_save_IFS
97   test -z "$as_dir" && as_dir=.
98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99   done
100 IFS=$as_save_IFS
101
102      ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107   as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111   exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there.  '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136   # into an infinite loop, continuously re-executing ourselves.
137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138     _as_can_reexec=no; export _as_can_reexec;
139     # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147   *v*x* | *x*v* ) as_opts=-vx ;;
148   *v* ) as_opts=-v ;;
149   *x* ) as_opts=-x ;;
150   * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157   fi
158   # We don't want this to propagate to other subprocesses.
159           { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162   emulate sh
163   NULLCMD=:
164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165   # is contrary to our usage.  Disable this feature.
166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
167   setopt NO_GLOB_SUBST
168 else
169   case \`(set -o) 2>/dev/null\` in #(
170   *posix*) :
171     set -o posix ;; #(
172   *) :
173      ;;
174 esac
175 fi
176 "
177   as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191   exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200   if (eval "$as_required") 2>/dev/null; then :
201   as_have_required=yes
202 else
203   as_have_required=no
204 fi
205   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207 else
208   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 as_found=false
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 do
212   IFS=$as_save_IFS
213   test -z "$as_dir" && as_dir=.
214   as_found=:
215   case $as_dir in #(
216          /*)
217            for as_base in sh bash ksh sh5; do
218              # Try only shells that exist, to save several forks.
219              as_shell=$as_dir/$as_base
220              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222   CONFIG_SHELL=$as_shell as_have_required=yes
223                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224   break 2
225 fi
226 fi
227            done;;
228        esac
229   as_found=false
230 done
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233   CONFIG_SHELL=$SHELL as_have_required=yes
234 fi; }
235 IFS=$as_save_IFS
236
237
238       if test "x$CONFIG_SHELL" != x; then :
239   export CONFIG_SHELL
240              # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248   *v*x* | *x*v* ) as_opts=-vx ;;
249   *v* ) as_opts=-v ;;
250   *x* ) as_opts=-x ;;
251   * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260     if test x$as_have_required = xno; then :
261   $as_echo "$0: This script requires a shell more modern than all"
262   $as_echo "$0: the shells that I found on your system."
263   if test x${ZSH_VERSION+set} = xset ; then
264     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266   else
267     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271   fi
272   exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290   { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
297 as_fn_set_status ()
298 {
299   return $1
300 } # as_fn_set_status
301
302 # as_fn_exit STATUS
303 # -----------------
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305 as_fn_exit ()
306 {
307   set +e
308   as_fn_set_status $1
309   exit $1
310 } # as_fn_exit
311
312 # as_fn_mkdir_p
313 # -------------
314 # Create "$as_dir" as a directory, including parents if necessary.
315 as_fn_mkdir_p ()
316 {
317
318   case $as_dir in #(
319   -*) as_dir=./$as_dir;;
320   esac
321   test -d "$as_dir" || eval $as_mkdir_p || {
322     as_dirs=
323     while :; do
324       case $as_dir in #(
325       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326       *) as_qdir=$as_dir;;
327       esac
328       as_dirs="'$as_qdir' $as_dirs"
329       as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331          X"$as_dir" : 'X\(//\)[^/]' \| \
332          X"$as_dir" : 'X\(//\)$' \| \
333          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336             s//\1/
337             q
338           }
339           /^X\(\/\/\)[^/].*/{
340             s//\1/
341             q
342           }
343           /^X\(\/\/\)$/{
344             s//\1/
345             q
346           }
347           /^X\(\/\).*/{
348             s//\1/
349             q
350           }
351           s/.*/./; q'`
352       test -d "$as_dir" && break
353     done
354     test -z "$as_dirs" || eval "mkdir $as_dirs"
355   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358 } # as_fn_mkdir_p
359
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
364 {
365   test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
372 # implementations.
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374   eval 'as_fn_append ()
375   {
376     eval $1+=\$2
377   }'
378 else
379   as_fn_append ()
380   {
381     eval $1=\$$1\$2
382   }
383 fi # as_fn_append
384
385 # as_fn_arith ARG...
386 # ------------------
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391   eval 'as_fn_arith ()
392   {
393     as_val=$(( $* ))
394   }'
395 else
396   as_fn_arith ()
397   {
398     as_val=`expr "$@" || test $? -eq 1`
399   }
400 fi # as_fn_arith
401
402
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
408 as_fn_error ()
409 {
410   as_status=$1; test $as_status -eq 0 && as_status=1
411   if test "$4"; then
412     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414   fi
415   $as_echo "$as_me: error: $2" >&2
416   as_fn_exit $as_status
417 } # as_fn_error
418
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420    test "X`expr 00001 : '.*\(...\)'`" = X001; then
421   as_expr=expr
422 else
423   as_expr=false
424 fi
425
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427   as_basename=basename
428 else
429   as_basename=false
430 fi
431
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433   as_dirname=dirname
434 else
435   as_dirname=false
436 fi
437
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440          X"$0" : 'X\(//\)$' \| \
441          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 $as_echo X/"$0" |
443     sed '/^.*\/\([^/][^/]*\)\/*$/{
444             s//\1/
445             q
446           }
447           /^X\/\(\/\/\)$/{
448             s//\1/
449             q
450           }
451           /^X\/\(\/\).*/{
452             s//\1/
453             q
454           }
455           s/.*/./; q'`
456
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465   as_lineno_1=$LINENO as_lineno_1a=$LINENO
466   as_lineno_2=$LINENO as_lineno_2a=$LINENO
467   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470   sed -n '
471     p
472     /[$]LINENO/=
473   ' <$as_myself |
474     sed '
475       s/[$]LINENO.*/&-/
476       t lineno
477       b
478       :lineno
479       N
480       :loop
481       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482       t loop
483       s/-\n.*//
484     ' >$as_me.lineno &&
485   chmod +x "$as_me.lineno" ||
486     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489   # already done that, so ensure we don't try to do so again and fall
490   # in an infinite loop.  This has already happened in practice.
491   _as_can_reexec=no; export _as_can_reexec
492   # Don't try to exec as it changes $[0], causing all sort of problems
493   # (the dirname of $[0] is not the place where we might find the
494   # original and so on.  Autoconf is especially sensitive to this).
495   . "./$as_me.lineno"
496   # Exit status is that of the last command.
497   exit
498 }
499
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
502 -n*)
503   case `echo 'xy\c'` in
504   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
505   xy)  ECHO_C='\c';;
506   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507        ECHO_T=' ';;
508   esac;;
509 *)
510   ECHO_N='-n';;
511 esac
512
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515   rm -f conf$$.dir/conf$$.file
516 else
517   rm -f conf$$.dir
518   mkdir conf$$.dir 2>/dev/null
519 fi
520 if (echo >conf$$.file) 2>/dev/null; then
521   if ln -s conf$$.file conf$$ 2>/dev/null; then
522     as_ln_s='ln -s'
523     # ... but there are two gotchas:
524     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526     # In both cases, we have to default to `cp -pR'.
527     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528       as_ln_s='cp -pR'
529   elif ln conf$$.file conf$$ 2>/dev/null; then
530     as_ln_s=ln
531   else
532     as_ln_s='cp -pR'
533   fi
534 else
535   as_ln_s='cp -pR'
536 fi
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
539
540 if mkdir -p . 2>/dev/null; then
541   as_mkdir_p='mkdir -p "$as_dir"'
542 else
543   test -d ./-p && rmdir ./-p
544   as_mkdir_p=false
545 fi
546
547 as_test_x='test -x'
548 as_executable_p=as_fn_executable_p
549
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557 test -n "$DJDIR" || exec 7<&0 </dev/null
558 exec 6>&1
559
560 # Name of the host.
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565 #
566 # Initializations.
567 #
568 ac_default_prefix=/usr/local
569 ac_clean_files=
570 ac_config_libobj_dir=.
571 LIBOBJS=
572 cross_compiling=no
573 subdirs=
574 MFLAGS=
575 MAKEFLAGS=
576
577 # Identity of this package.
578 PACKAGE_NAME='libctf library'
579 PACKAGE_TARNAME='libctf-library'
580 PACKAGE_VERSION='1.2.0-pre'
581 PACKAGE_STRING='libctf library 1.2.0-pre'
582 PACKAGE_BUGREPORT=''
583 PACKAGE_URL=''
584
585 ac_unique_file="ctf-impl.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
588 #include <stdio.h>
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
591 #endif
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
594 #endif
595 #ifdef STDC_HEADERS
596 # include <stdlib.h>
597 # include <stddef.h>
598 #else
599 # ifdef HAVE_STDLIB_H
600 #  include <stdlib.h>
601 # endif
602 #endif
603 #ifdef HAVE_STRING_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #  include <memory.h>
606 # endif
607 # include <string.h>
608 #endif
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
611 #endif
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
614 #endif
615 #ifdef HAVE_STDINT_H
616 # include <stdint.h>
617 #endif
618 #ifdef HAVE_UNISTD_H
619 # include <unistd.h>
620 #endif"
621
622 ac_header_list=
623 ac_subst_vars='am__EXEEXT_FALSE
624 am__EXEEXT_TRUE
625 LTLIBOBJS
626 LIBOBJS
627 zlibinc
628 zlibdir
629 ac_libctf_warn_cflags
630 MAINT
631 MAINTAINER_MODE_FALSE
632 MAINTAINER_MODE_TRUE
633 WERROR
634 WARN_PEDANTIC
635 c_warn
636 warn
637 ac_ct_AR
638 AR
639 RANLIB
640 AM_BACKSLASH
641 AM_DEFAULT_VERBOSITY
642 AM_DEFAULT_V
643 AM_V
644 am__fastdepCC_FALSE
645 am__fastdepCC_TRUE
646 CCDEPMODE
647 am__nodep
648 AMDEPBACKSLASH
649 AMDEP_FALSE
650 AMDEP_TRUE
651 am__quote
652 am__include
653 DEPDIR
654 am__untar
655 am__tar
656 AMTAR
657 am__leading_dot
658 SET_MAKE
659 AWK
660 mkdir_p
661 MKDIR_P
662 INSTALL_STRIP_PROGRAM
663 STRIP
664 install_sh
665 MAKEINFO
666 AUTOHEADER
667 AUTOMAKE
668 AUTOCONF
669 ACLOCAL
670 VERSION
671 PACKAGE
672 CYGPATH_W
673 am__isrc
674 INSTALL_DATA
675 INSTALL_SCRIPT
676 INSTALL_PROGRAM
677 EGREP
678 GREP
679 CPP
680 OBJEXT
681 EXEEXT
682 ac_ct_CC
683 CPPFLAGS
684 LDFLAGS
685 CFLAGS
686 CC
687 target_alias
688 host_alias
689 build_alias
690 LIBS
691 ECHO_T
692 ECHO_N
693 ECHO_C
694 DEFS
695 mandir
696 localedir
697 libdir
698 psdir
699 pdfdir
700 dvidir
701 htmldir
702 infodir
703 docdir
704 oldincludedir
705 includedir
706 localstatedir
707 sharedstatedir
708 sysconfdir
709 datadir
710 datarootdir
711 libexecdir
712 sbindir
713 bindir
714 program_transform_name
715 prefix
716 exec_prefix
717 PACKAGE_URL
718 PACKAGE_BUGREPORT
719 PACKAGE_STRING
720 PACKAGE_VERSION
721 PACKAGE_TARNAME
722 PACKAGE_NAME
723 PATH_SEPARATOR
724 SHELL'
725 ac_subst_files=''
726 ac_user_opts='
727 enable_option_checking
728 enable_dependency_tracking
729 enable_silent_rules
730 enable_largefile
731 enable_werror_always
732 enable_maintainer_mode
733 with_system_zlib
734 '
735       ac_precious_vars='build_alias
736 host_alias
737 target_alias
738 CC
739 CFLAGS
740 LDFLAGS
741 LIBS
742 CPPFLAGS
743 CPP'
744
745
746 # Initialize some variables set by options.
747 ac_init_help=
748 ac_init_version=false
749 ac_unrecognized_opts=
750 ac_unrecognized_sep=
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
753 cache_file=/dev/null
754 exec_prefix=NONE
755 no_create=
756 no_recursion=
757 prefix=NONE
758 program_prefix=NONE
759 program_suffix=NONE
760 program_transform_name=s,x,x,
761 silent=
762 site=
763 srcdir=
764 verbose=
765 x_includes=NONE
766 x_libraries=NONE
767
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir='${exec_prefix}/bin'
775 sbindir='${exec_prefix}/sbin'
776 libexecdir='${exec_prefix}/libexec'
777 datarootdir='${prefix}/share'
778 datadir='${datarootdir}'
779 sysconfdir='${prefix}/etc'
780 sharedstatedir='${prefix}/com'
781 localstatedir='${prefix}/var'
782 includedir='${prefix}/include'
783 oldincludedir='/usr/include'
784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
785 infodir='${datarootdir}/info'
786 htmldir='${docdir}'
787 dvidir='${docdir}'
788 pdfdir='${docdir}'
789 psdir='${docdir}'
790 libdir='${exec_prefix}/lib'
791 localedir='${datarootdir}/locale'
792 mandir='${datarootdir}/man'
793
794 ac_prev=
795 ac_dashdash=
796 for ac_option
797 do
798   # If the previous option needs an argument, assign it.
799   if test -n "$ac_prev"; then
800     eval $ac_prev=\$ac_option
801     ac_prev=
802     continue
803   fi
804
805   case $ac_option in
806   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
807   *=)   ac_optarg= ;;
808   *)    ac_optarg=yes ;;
809   esac
810
811   # Accept the important Cygnus configure options, so we can diagnose typos.
812
813   case $ac_dashdash$ac_option in
814   --)
815     ac_dashdash=yes ;;
816
817   -bindir | --bindir | --bindi | --bind | --bin | --bi)
818     ac_prev=bindir ;;
819   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820     bindir=$ac_optarg ;;
821
822   -build | --build | --buil | --bui | --bu)
823     ac_prev=build_alias ;;
824   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
825     build_alias=$ac_optarg ;;
826
827   -cache-file | --cache-file | --cache-fil | --cache-fi \
828   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
829     ac_prev=cache_file ;;
830   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
831   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
832     cache_file=$ac_optarg ;;
833
834   --config-cache | -C)
835     cache_file=config.cache ;;
836
837   -datadir | --datadir | --datadi | --datad)
838     ac_prev=datadir ;;
839   -datadir=* | --datadir=* | --datadi=* | --datad=*)
840     datadir=$ac_optarg ;;
841
842   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
843   | --dataroo | --dataro | --datar)
844     ac_prev=datarootdir ;;
845   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
846   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
847     datarootdir=$ac_optarg ;;
848
849   -disable-* | --disable-*)
850     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
851     # Reject names that are not valid shell variable names.
852     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853       as_fn_error $? "invalid feature name: $ac_useropt"
854     ac_useropt_orig=$ac_useropt
855     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
856     case $ac_user_opts in
857       *"
858 "enable_$ac_useropt"
859 "*) ;;
860       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
861          ac_unrecognized_sep=', ';;
862     esac
863     eval enable_$ac_useropt=no ;;
864
865   -docdir | --docdir | --docdi | --doc | --do)
866     ac_prev=docdir ;;
867   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
868     docdir=$ac_optarg ;;
869
870   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
871     ac_prev=dvidir ;;
872   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
873     dvidir=$ac_optarg ;;
874
875   -enable-* | --enable-*)
876     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877     # Reject names that are not valid shell variable names.
878     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879       as_fn_error $? "invalid feature name: $ac_useropt"
880     ac_useropt_orig=$ac_useropt
881     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
882     case $ac_user_opts in
883       *"
884 "enable_$ac_useropt"
885 "*) ;;
886       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
887          ac_unrecognized_sep=', ';;
888     esac
889     eval enable_$ac_useropt=\$ac_optarg ;;
890
891   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
892   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
893   | --exec | --exe | --ex)
894     ac_prev=exec_prefix ;;
895   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
896   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
897   | --exec=* | --exe=* | --ex=*)
898     exec_prefix=$ac_optarg ;;
899
900   -gas | --gas | --ga | --g)
901     # Obsolete; use --with-gas.
902     with_gas=yes ;;
903
904   -help | --help | --hel | --he | -h)
905     ac_init_help=long ;;
906   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
907     ac_init_help=recursive ;;
908   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
909     ac_init_help=short ;;
910
911   -host | --host | --hos | --ho)
912     ac_prev=host_alias ;;
913   -host=* | --host=* | --hos=* | --ho=*)
914     host_alias=$ac_optarg ;;
915
916   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
917     ac_prev=htmldir ;;
918   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
919   | --ht=*)
920     htmldir=$ac_optarg ;;
921
922   -includedir | --includedir | --includedi | --included | --include \
923   | --includ | --inclu | --incl | --inc)
924     ac_prev=includedir ;;
925   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
926   | --includ=* | --inclu=* | --incl=* | --inc=*)
927     includedir=$ac_optarg ;;
928
929   -infodir | --infodir | --infodi | --infod | --info | --inf)
930     ac_prev=infodir ;;
931   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
932     infodir=$ac_optarg ;;
933
934   -libdir | --libdir | --libdi | --libd)
935     ac_prev=libdir ;;
936   -libdir=* | --libdir=* | --libdi=* | --libd=*)
937     libdir=$ac_optarg ;;
938
939   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
940   | --libexe | --libex | --libe)
941     ac_prev=libexecdir ;;
942   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
943   | --libexe=* | --libex=* | --libe=*)
944     libexecdir=$ac_optarg ;;
945
946   -localedir | --localedir | --localedi | --localed | --locale)
947     ac_prev=localedir ;;
948   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
949     localedir=$ac_optarg ;;
950
951   -localstatedir | --localstatedir | --localstatedi | --localstated \
952   | --localstate | --localstat | --localsta | --localst | --locals)
953     ac_prev=localstatedir ;;
954   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
955   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
956     localstatedir=$ac_optarg ;;
957
958   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
959     ac_prev=mandir ;;
960   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
961     mandir=$ac_optarg ;;
962
963   -nfp | --nfp | --nf)
964     # Obsolete; use --without-fp.
965     with_fp=no ;;
966
967   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
968   | --no-cr | --no-c | -n)
969     no_create=yes ;;
970
971   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
972   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
973     no_recursion=yes ;;
974
975   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
976   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
977   | --oldin | --oldi | --old | --ol | --o)
978     ac_prev=oldincludedir ;;
979   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
980   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
981   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
982     oldincludedir=$ac_optarg ;;
983
984   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
985     ac_prev=prefix ;;
986   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
987     prefix=$ac_optarg ;;
988
989   -program-prefix | --program-prefix | --program-prefi | --program-pref \
990   | --program-pre | --program-pr | --program-p)
991     ac_prev=program_prefix ;;
992   -program-prefix=* | --program-prefix=* | --program-prefi=* \
993   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
994     program_prefix=$ac_optarg ;;
995
996   -program-suffix | --program-suffix | --program-suffi | --program-suff \
997   | --program-suf | --program-su | --program-s)
998     ac_prev=program_suffix ;;
999   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1000   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1001     program_suffix=$ac_optarg ;;
1002
1003   -program-transform-name | --program-transform-name \
1004   | --program-transform-nam | --program-transform-na \
1005   | --program-transform-n | --program-transform- \
1006   | --program-transform | --program-transfor \
1007   | --program-transfo | --program-transf \
1008   | --program-trans | --program-tran \
1009   | --progr-tra | --program-tr | --program-t)
1010     ac_prev=program_transform_name ;;
1011   -program-transform-name=* | --program-transform-name=* \
1012   | --program-transform-nam=* | --program-transform-na=* \
1013   | --program-transform-n=* | --program-transform-=* \
1014   | --program-transform=* | --program-transfor=* \
1015   | --program-transfo=* | --program-transf=* \
1016   | --program-trans=* | --program-tran=* \
1017   | --progr-tra=* | --program-tr=* | --program-t=*)
1018     program_transform_name=$ac_optarg ;;
1019
1020   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1021     ac_prev=pdfdir ;;
1022   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1023     pdfdir=$ac_optarg ;;
1024
1025   -psdir | --psdir | --psdi | --psd | --ps)
1026     ac_prev=psdir ;;
1027   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1028     psdir=$ac_optarg ;;
1029
1030   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031   | -silent | --silent | --silen | --sile | --sil)
1032     silent=yes ;;
1033
1034   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1035     ac_prev=sbindir ;;
1036   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1037   | --sbi=* | --sb=*)
1038     sbindir=$ac_optarg ;;
1039
1040   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1041   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1042   | --sharedst | --shareds | --shared | --share | --shar \
1043   | --sha | --sh)
1044     ac_prev=sharedstatedir ;;
1045   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1046   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1047   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1048   | --sha=* | --sh=*)
1049     sharedstatedir=$ac_optarg ;;
1050
1051   -site | --site | --sit)
1052     ac_prev=site ;;
1053   -site=* | --site=* | --sit=*)
1054     site=$ac_optarg ;;
1055
1056   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1057     ac_prev=srcdir ;;
1058   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1059     srcdir=$ac_optarg ;;
1060
1061   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1062   | --syscon | --sysco | --sysc | --sys | --sy)
1063     ac_prev=sysconfdir ;;
1064   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1065   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1066     sysconfdir=$ac_optarg ;;
1067
1068   -target | --target | --targe | --targ | --tar | --ta | --t)
1069     ac_prev=target_alias ;;
1070   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1071     target_alias=$ac_optarg ;;
1072
1073   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1074     verbose=yes ;;
1075
1076   -version | --version | --versio | --versi | --vers | -V)
1077     ac_init_version=: ;;
1078
1079   -with-* | --with-*)
1080     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1081     # Reject names that are not valid shell variable names.
1082     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083       as_fn_error $? "invalid package name: $ac_useropt"
1084     ac_useropt_orig=$ac_useropt
1085     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086     case $ac_user_opts in
1087       *"
1088 "with_$ac_useropt"
1089 "*) ;;
1090       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1091          ac_unrecognized_sep=', ';;
1092     esac
1093     eval with_$ac_useropt=\$ac_optarg ;;
1094
1095   -without-* | --without-*)
1096     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1097     # Reject names that are not valid shell variable names.
1098     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099       as_fn_error $? "invalid package name: $ac_useropt"
1100     ac_useropt_orig=$ac_useropt
1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102     case $ac_user_opts in
1103       *"
1104 "with_$ac_useropt"
1105 "*) ;;
1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1107          ac_unrecognized_sep=', ';;
1108     esac
1109     eval with_$ac_useropt=no ;;
1110
1111   --x)
1112     # Obsolete; use --with-x.
1113     with_x=yes ;;
1114
1115   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1116   | --x-incl | --x-inc | --x-in | --x-i)
1117     ac_prev=x_includes ;;
1118   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1119   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1120     x_includes=$ac_optarg ;;
1121
1122   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1123   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1124     ac_prev=x_libraries ;;
1125   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1126   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1127     x_libraries=$ac_optarg ;;
1128
1129   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1130 Try \`$0 --help' for more information"
1131     ;;
1132
1133   *=*)
1134     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1135     # Reject names that are not valid shell variable names.
1136     case $ac_envvar in #(
1137       '' | [0-9]* | *[!_$as_cr_alnum]* )
1138       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1139     esac
1140     eval $ac_envvar=\$ac_optarg
1141     export $ac_envvar ;;
1142
1143   *)
1144     # FIXME: should be removed in autoconf 3.0.
1145     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1146     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1149     ;;
1150
1151   esac
1152 done
1153
1154 if test -n "$ac_prev"; then
1155   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1156   as_fn_error $? "missing argument to $ac_option"
1157 fi
1158
1159 if test -n "$ac_unrecognized_opts"; then
1160   case $enable_option_checking in
1161     no) ;;
1162     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1163     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1164   esac
1165 fi
1166
1167 # Check all directory arguments for consistency.
1168 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1169                 datadir sysconfdir sharedstatedir localstatedir includedir \
1170                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1171                 libdir localedir mandir
1172 do
1173   eval ac_val=\$$ac_var
1174   # Remove trailing slashes.
1175   case $ac_val in
1176     */ )
1177       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1178       eval $ac_var=\$ac_val;;
1179   esac
1180   # Be sure to have absolute directory names.
1181   case $ac_val in
1182     [\\/$]* | ?:[\\/]* )  continue;;
1183     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184   esac
1185   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1186 done
1187
1188 # There might be people who depend on the old broken behavior: `$host'
1189 # used to hold the argument of --host etc.
1190 # FIXME: To remove some day.
1191 build=$build_alias
1192 host=$host_alias
1193 target=$target_alias
1194
1195 # FIXME: To remove some day.
1196 if test "x$host_alias" != x; then
1197   if test "x$build_alias" = x; then
1198     cross_compiling=maybe
1199   elif test "x$build_alias" != "x$host_alias"; then
1200     cross_compiling=yes
1201   fi
1202 fi
1203
1204 ac_tool_prefix=
1205 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1206
1207 test "$silent" = yes && exec 6>/dev/null
1208
1209
1210 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di=`ls -di .` &&
1212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213   as_fn_error $? "working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215   as_fn_error $? "pwd does not report name of working directory"
1216
1217
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220   ac_srcdir_defaulted=yes
1221   # Try the directory containing this script, then the parent directory.
1222   ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224          X"$as_myself" : 'X\(//\)[^/]' \| \
1225          X"$as_myself" : 'X\(//\)$' \| \
1226          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1229             s//\1/
1230             q
1231           }
1232           /^X\(\/\/\)[^/].*/{
1233             s//\1/
1234             q
1235           }
1236           /^X\(\/\/\)$/{
1237             s//\1/
1238             q
1239           }
1240           /^X\(\/\).*/{
1241             s//\1/
1242             q
1243           }
1244           s/.*/./; q'`
1245   srcdir=$ac_confdir
1246   if test ! -r "$srcdir/$ac_unique_file"; then
1247     srcdir=..
1248   fi
1249 else
1250   ac_srcdir_defaulted=no
1251 fi
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1255 fi
1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1257 ac_abs_confdir=`(
1258         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1259         pwd)`
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1262   srcdir=.
1263 fi
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1267 case $srcdir in
1268 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1269 esac
1270 for ac_var in $ac_precious_vars; do
1271   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1272   eval ac_env_${ac_var}_value=\$${ac_var}
1273   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1274   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1275 done
1276
1277 #
1278 # Report the --help message.
1279 #
1280 if test "$ac_init_help" = "long"; then
1281   # Omit some internal or obsolete options to make the list less imposing.
1282   # This message is too long to be a string in the A/UX 3.1 sh.
1283   cat <<_ACEOF
1284 \`configure' configures libctf library 1.2.0-pre to adapt to many kinds of systems.
1285
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1287
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE.  See below for descriptions of some of the useful variables.
1290
1291 Defaults for the options are specified in brackets.
1292
1293 Configuration:
1294   -h, --help              display this help and exit
1295       --help=short        display options specific to this package
1296       --help=recursive    display the short help of all the included packages
1297   -V, --version           display version information and exit
1298   -q, --quiet, --silent   do not print \`checking ...' messages
1299       --cache-file=FILE   cache test results in FILE [disabled]
1300   -C, --config-cache      alias for \`--cache-file=config.cache'
1301   -n, --no-create         do not create output files
1302       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1303
1304 Installation directories:
1305   --prefix=PREFIX         install architecture-independent files in PREFIX
1306                           [$ac_default_prefix]
1307   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1308                           [PREFIX]
1309
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1314
1315 For better control, use the options below.
1316
1317 Fine tuning of the installation directories:
1318   --bindir=DIR            user executables [EPREFIX/bin]
1319   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1320   --libexecdir=DIR        program executables [EPREFIX/libexec]
1321   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1322   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1323   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1324   --libdir=DIR            object code libraries [EPREFIX/lib]
1325   --includedir=DIR        C header files [PREFIX/include]
1326   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1327   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1328   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1329   --infodir=DIR           info documentation [DATAROOTDIR/info]
1330   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1331   --mandir=DIR            man documentation [DATAROOTDIR/man]
1332   --docdir=DIR            documentation root [DATAROOTDIR/doc/libctf-library]
1333   --htmldir=DIR           html documentation [DOCDIR]
1334   --dvidir=DIR            dvi documentation [DOCDIR]
1335   --pdfdir=DIR            pdf documentation [DOCDIR]
1336   --psdir=DIR             ps documentation [DOCDIR]
1337 _ACEOF
1338
1339   cat <<\_ACEOF
1340
1341 Program names:
1342   --program-prefix=PREFIX            prepend PREFIX to installed program names
1343   --program-suffix=SUFFIX            append SUFFIX to installed program names
1344   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1345 _ACEOF
1346 fi
1347
1348 if test -n "$ac_init_help"; then
1349   case $ac_init_help in
1350      short | recursive ) echo "Configuration of libctf library 1.2.0-pre:";;
1351    esac
1352   cat <<\_ACEOF
1353
1354 Optional Features:
1355   --disable-option-checking  ignore unrecognized --enable/--with options
1356   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1357   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1358   --enable-dependency-tracking
1359                           do not reject slow dependency extractors
1360   --disable-dependency-tracking
1361                           speeds up one-time build
1362   --enable-silent-rules   less verbose build output (undo: "make V=1")
1363   --disable-silent-rules  verbose build output (undo: "make V=0")
1364   --disable-largefile     omit support for large files
1365   --enable-werror-always  enable -Werror despite compiler version
1366   --enable-maintainer-mode
1367                           enable make rules and dependencies not useful (and
1368                           sometimes confusing) to the casual installer
1369
1370 Optional Packages:
1371   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1372   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1373   --with-system-zlib      use installed libz
1374
1375 Some influential environment variables:
1376   CC          C compiler command
1377   CFLAGS      C compiler flags
1378   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1379               nonstandard directory <lib dir>
1380   LIBS        libraries to pass to the linker, e.g. -l<library>
1381   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1382               you have headers in a nonstandard directory <include dir>
1383   CPP         C preprocessor
1384
1385 Use these variables to override the choices made by `configure' or to help
1386 it to find libraries and programs with nonstandard names/locations.
1387
1388 Report bugs to the package provider.
1389 _ACEOF
1390 ac_status=$?
1391 fi
1392
1393 if test "$ac_init_help" = "recursive"; then
1394   # If there are subdirs, report their specific --help.
1395   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1396     test -d "$ac_dir" ||
1397       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1398       continue
1399     ac_builddir=.
1400
1401 case "$ac_dir" in
1402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *)
1404   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1405   # A ".." for each directory in $ac_dir_suffix.
1406   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1407   case $ac_top_builddir_sub in
1408   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1410   esac ;;
1411 esac
1412 ac_abs_top_builddir=$ac_pwd
1413 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1414 # for backward compatibility:
1415 ac_top_builddir=$ac_top_build_prefix
1416
1417 case $srcdir in
1418   .)  # We are building in place.
1419     ac_srcdir=.
1420     ac_top_srcdir=$ac_top_builddir_sub
1421     ac_abs_top_srcdir=$ac_pwd ;;
1422   [\\/]* | ?:[\\/]* )  # Absolute name.
1423     ac_srcdir=$srcdir$ac_dir_suffix;
1424     ac_top_srcdir=$srcdir
1425     ac_abs_top_srcdir=$srcdir ;;
1426   *) # Relative name.
1427     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1428     ac_top_srcdir=$ac_top_build_prefix$srcdir
1429     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1430 esac
1431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1432
1433     cd "$ac_dir" || { ac_status=$?; continue; }
1434     # Check for guested configure.
1435     if test -f "$ac_srcdir/configure.gnu"; then
1436       echo &&
1437       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1438     elif test -f "$ac_srcdir/configure"; then
1439       echo &&
1440       $SHELL "$ac_srcdir/configure" --help=recursive
1441     else
1442       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1443     fi || ac_status=$?
1444     cd "$ac_pwd" || { ac_status=$?; break; }
1445   done
1446 fi
1447
1448 test -n "$ac_init_help" && exit $ac_status
1449 if $ac_init_version; then
1450   cat <<\_ACEOF
1451 libctf library configure 1.2.0-pre
1452 generated by GNU Autoconf 2.69
1453
1454 Copyright (C) 2012 Free Software Foundation, Inc.
1455 This configure script is free software; the Free Software Foundation
1456 gives unlimited permission to copy, distribute and modify it.
1457 _ACEOF
1458   exit
1459 fi
1460
1461 ## ------------------------ ##
1462 ## Autoconf initialization. ##
1463 ## ------------------------ ##
1464
1465 # ac_fn_c_try_compile LINENO
1466 # --------------------------
1467 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1468 ac_fn_c_try_compile ()
1469 {
1470   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1471   rm -f conftest.$ac_objext
1472   if { { ac_try="$ac_compile"
1473 case "(($ac_try" in
1474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1475   *) ac_try_echo=$ac_try;;
1476 esac
1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 $as_echo "$ac_try_echo"; } >&5
1479   (eval "$ac_compile") 2>conftest.err
1480   ac_status=$?
1481   if test -s conftest.err; then
1482     grep -v '^ *+' conftest.err >conftest.er1
1483     cat conftest.er1 >&5
1484     mv -f conftest.er1 conftest.err
1485   fi
1486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487   test $ac_status = 0; } && {
1488          test -z "$ac_c_werror_flag" ||
1489          test ! -s conftest.err
1490        } && test -s conftest.$ac_objext; then :
1491   ac_retval=0
1492 else
1493   $as_echo "$as_me: failed program was:" >&5
1494 sed 's/^/| /' conftest.$ac_ext >&5
1495
1496         ac_retval=1
1497 fi
1498   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1499   as_fn_set_status $ac_retval
1500
1501 } # ac_fn_c_try_compile
1502
1503 # ac_fn_c_try_cpp LINENO
1504 # ----------------------
1505 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_cpp ()
1507 {
1508   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509   if { { ac_try="$ac_cpp conftest.$ac_ext"
1510 case "(($ac_try" in
1511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1512   *) ac_try_echo=$ac_try;;
1513 esac
1514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1515 $as_echo "$ac_try_echo"; } >&5
1516   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1517   ac_status=$?
1518   if test -s conftest.err; then
1519     grep -v '^ *+' conftest.err >conftest.er1
1520     cat conftest.er1 >&5
1521     mv -f conftest.er1 conftest.err
1522   fi
1523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1524   test $ac_status = 0; } > conftest.i && {
1525          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1526          test ! -s conftest.err
1527        }; then :
1528   ac_retval=0
1529 else
1530   $as_echo "$as_me: failed program was:" >&5
1531 sed 's/^/| /' conftest.$ac_ext >&5
1532
1533     ac_retval=1
1534 fi
1535   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1536   as_fn_set_status $ac_retval
1537
1538 } # ac_fn_c_try_cpp
1539
1540 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1541 # -------------------------------------------------------
1542 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1543 # the include files in INCLUDES and setting the cache variable VAR
1544 # accordingly.
1545 ac_fn_c_check_header_mongrel ()
1546 {
1547   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1548   if eval \${$3+:} false; then :
1549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550 $as_echo_n "checking for $2... " >&6; }
1551 if eval \${$3+:} false; then :
1552   $as_echo_n "(cached) " >&6
1553 fi
1554 eval ac_res=\$$3
1555                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1556 $as_echo "$ac_res" >&6; }
1557 else
1558   # Is the header compilable?
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1560 $as_echo_n "checking $2 usability... " >&6; }
1561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1562 /* end confdefs.h.  */
1563 $4
1564 #include <$2>
1565 _ACEOF
1566 if ac_fn_c_try_compile "$LINENO"; then :
1567   ac_header_compiler=yes
1568 else
1569   ac_header_compiler=no
1570 fi
1571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1573 $as_echo "$ac_header_compiler" >&6; }
1574
1575 # Is the header present?
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1577 $as_echo_n "checking $2 presence... " >&6; }
1578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1579 /* end confdefs.h.  */
1580 #include <$2>
1581 _ACEOF
1582 if ac_fn_c_try_cpp "$LINENO"; then :
1583   ac_header_preproc=yes
1584 else
1585   ac_header_preproc=no
1586 fi
1587 rm -f conftest.err conftest.i conftest.$ac_ext
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1589 $as_echo "$ac_header_preproc" >&6; }
1590
1591 # So?  What about this header?
1592 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1593   yes:no: )
1594     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1595 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1596     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1597 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1598     ;;
1599   no:yes:* )
1600     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1601 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1602     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1603 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1604     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1605 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1606     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1607 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1608     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1609 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1610     ;;
1611 esac
1612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1613 $as_echo_n "checking for $2... " >&6; }
1614 if eval \${$3+:} false; then :
1615   $as_echo_n "(cached) " >&6
1616 else
1617   eval "$3=\$ac_header_compiler"
1618 fi
1619 eval ac_res=\$$3
1620                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1622 fi
1623   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624
1625 } # ac_fn_c_check_header_mongrel
1626
1627 # ac_fn_c_try_run LINENO
1628 # ----------------------
1629 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1630 # that executables *can* be run.
1631 ac_fn_c_try_run ()
1632 {
1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634   if { { ac_try="$ac_link"
1635 case "(($ac_try" in
1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637   *) ac_try_echo=$ac_try;;
1638 esac
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641   (eval "$ac_link") 2>&5
1642   ac_status=$?
1643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1645   { { case "(($ac_try" in
1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647   *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651   (eval "$ac_try") 2>&5
1652   ac_status=$?
1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654   test $ac_status = 0; }; }; then :
1655   ac_retval=0
1656 else
1657   $as_echo "$as_me: program exited with status $ac_status" >&5
1658        $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1660
1661        ac_retval=$ac_status
1662 fi
1663   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1664   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1665   as_fn_set_status $ac_retval
1666
1667 } # ac_fn_c_try_run
1668
1669 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1670 # -------------------------------------------------------
1671 # Tests whether HEADER exists and can be compiled using the include files in
1672 # INCLUDES, setting the cache variable VAR accordingly.
1673 ac_fn_c_check_header_compile ()
1674 {
1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \${$3+:} false; then :
1679   $as_echo_n "(cached) " >&6
1680 else
1681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1682 /* end confdefs.h.  */
1683 $4
1684 #include <$2>
1685 _ACEOF
1686 if ac_fn_c_try_compile "$LINENO"; then :
1687   eval "$3=yes"
1688 else
1689   eval "$3=no"
1690 fi
1691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1692 fi
1693 eval ac_res=\$$3
1694                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1696   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697
1698 } # ac_fn_c_check_header_compile
1699
1700 # ac_fn_c_try_link LINENO
1701 # -----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded.
1703 ac_fn_c_try_link ()
1704 {
1705   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706   rm -f conftest.$ac_objext conftest$ac_exeext
1707   if { { ac_try="$ac_link"
1708 case "(($ac_try" in
1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710   *) ac_try_echo=$ac_try;;
1711 esac
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714   (eval "$ac_link") 2>conftest.err
1715   ac_status=$?
1716   if test -s conftest.err; then
1717     grep -v '^ *+' conftest.err >conftest.er1
1718     cat conftest.er1 >&5
1719     mv -f conftest.er1 conftest.err
1720   fi
1721   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722   test $ac_status = 0; } && {
1723          test -z "$ac_c_werror_flag" ||
1724          test ! -s conftest.err
1725        } && test -s conftest$ac_exeext && {
1726          test "$cross_compiling" = yes ||
1727          test -x conftest$ac_exeext
1728        }; then :
1729   ac_retval=0
1730 else
1731   $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1733
1734         ac_retval=1
1735 fi
1736   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1737   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1738   # interfere with the next link command; also delete a directory that is
1739   # left behind by Apple's compiler.  We do this before executing the actions.
1740   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1741   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742   as_fn_set_status $ac_retval
1743
1744 } # ac_fn_c_try_link
1745
1746 # ac_fn_c_check_func LINENO FUNC VAR
1747 # ----------------------------------
1748 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1749 ac_fn_c_check_func ()
1750 {
1751   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755   $as_echo_n "(cached) " >&6
1756 else
1757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h.  */
1759 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1761 #define $2 innocuous_$2
1762
1763 /* System header to define __stub macros and hopefully few prototypes,
1764     which can conflict with char $2 (); below.
1765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1766     <limits.h> exists even on freestanding compilers.  */
1767
1768 #ifdef __STDC__
1769 # include <limits.h>
1770 #else
1771 # include <assert.h>
1772 #endif
1773
1774 #undef $2
1775
1776 /* Override any GCC internal prototype to avoid an error.
1777    Use char because int might match the return type of a GCC
1778    builtin and then its argument prototype would still apply.  */
1779 #ifdef __cplusplus
1780 extern "C"
1781 #endif
1782 char $2 ();
1783 /* The GNU C library defines this for functions which it implements
1784     to always fail with ENOSYS.  Some functions are actually named
1785     something starting with __ and the normal name is an alias.  */
1786 #if defined __stub_$2 || defined __stub___$2
1787 choke me
1788 #endif
1789
1790 int
1791 main ()
1792 {
1793 return $2 ();
1794   ;
1795   return 0;
1796 }
1797 _ACEOF
1798 if ac_fn_c_try_link "$LINENO"; then :
1799   eval "$3=yes"
1800 else
1801   eval "$3=no"
1802 fi
1803 rm -f core conftest.err conftest.$ac_objext \
1804     conftest$ac_exeext 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; ${as_lineno_stack:+:} unset as_lineno
1810
1811 } # ac_fn_c_check_func
1812
1813 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1814 # ---------------------------------------------
1815 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1816 # accordingly.
1817 ac_fn_c_check_decl ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   as_decl_name=`echo $2|sed 's/ *(.*//'`
1821   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1823 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1824 if eval \${$3+:} false; then :
1825   $as_echo_n "(cached) " >&6
1826 else
1827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h.  */
1829 $4
1830 int
1831 main ()
1832 {
1833 #ifndef $as_decl_name
1834 #ifdef __cplusplus
1835   (void) $as_decl_use;
1836 #else
1837   (void) $as_decl_name;
1838 #endif
1839 #endif
1840
1841   ;
1842   return 0;
1843 }
1844 _ACEOF
1845 if ac_fn_c_try_compile "$LINENO"; then :
1846   eval "$3=yes"
1847 else
1848   eval "$3=no"
1849 fi
1850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 fi
1852 eval ac_res=\$$3
1853                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1855   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856
1857 } # ac_fn_c_check_decl
1858 cat >config.log <<_ACEOF
1859 This file contains any messages produced by compilers while
1860 running configure, to aid debugging if configure makes a mistake.
1861
1862 It was created by libctf library $as_me 1.2.0-pre, which was
1863 generated by GNU Autoconf 2.69.  Invocation command line was
1864
1865   $ $0 $@
1866
1867 _ACEOF
1868 exec 5>>config.log
1869 {
1870 cat <<_ASUNAME
1871 ## --------- ##
1872 ## Platform. ##
1873 ## --------- ##
1874
1875 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1876 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1877 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1878 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1879 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1880
1881 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1882 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1883
1884 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1885 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1886 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1887 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1888 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1889 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1890 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1891
1892 _ASUNAME
1893
1894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 for as_dir in $PATH
1896 do
1897   IFS=$as_save_IFS
1898   test -z "$as_dir" && as_dir=.
1899     $as_echo "PATH: $as_dir"
1900   done
1901 IFS=$as_save_IFS
1902
1903 } >&5
1904
1905 cat >&5 <<_ACEOF
1906
1907
1908 ## ----------- ##
1909 ## Core tests. ##
1910 ## ----------- ##
1911
1912 _ACEOF
1913
1914
1915 # Keep a trace of the command line.
1916 # Strip out --no-create and --no-recursion so they do not pile up.
1917 # Strip out --silent because we don't want to record it for future runs.
1918 # Also quote any args containing shell meta-characters.
1919 # Make two passes to allow for proper duplicate-argument suppression.
1920 ac_configure_args=
1921 ac_configure_args0=
1922 ac_configure_args1=
1923 ac_must_keep_next=false
1924 for ac_pass in 1 2
1925 do
1926   for ac_arg
1927   do
1928     case $ac_arg in
1929     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1930     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1931     | -silent | --silent | --silen | --sile | --sil)
1932       continue ;;
1933     *\'*)
1934       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1935     esac
1936     case $ac_pass in
1937     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1938     2)
1939       as_fn_append ac_configure_args1 " '$ac_arg'"
1940       if test $ac_must_keep_next = true; then
1941         ac_must_keep_next=false # Got value, back to normal.
1942       else
1943         case $ac_arg in
1944           *=* | --config-cache | -C | -disable-* | --disable-* \
1945           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1946           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1947           | -with-* | --with-* | -without-* | --without-* | --x)
1948             case "$ac_configure_args0 " in
1949               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1950             esac
1951             ;;
1952           -* ) ac_must_keep_next=true ;;
1953         esac
1954       fi
1955       as_fn_append ac_configure_args " '$ac_arg'"
1956       ;;
1957     esac
1958   done
1959 done
1960 { ac_configure_args0=; unset ac_configure_args0;}
1961 { ac_configure_args1=; unset ac_configure_args1;}
1962
1963 # When interrupted or exit'd, cleanup temporary files, and complete
1964 # config.log.  We remove comments because anyway the quotes in there
1965 # would cause problems or look ugly.
1966 # WARNING: Use '\'' to represent an apostrophe within the trap.
1967 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1968 trap 'exit_status=$?
1969   # Save into config.log some information that might help in debugging.
1970   {
1971     echo
1972
1973     $as_echo "## ---------------- ##
1974 ## Cache variables. ##
1975 ## ---------------- ##"
1976     echo
1977     # The following way of writing the cache mishandles newlines in values,
1978 (
1979   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1980     eval ac_val=\$$ac_var
1981     case $ac_val in #(
1982     *${as_nl}*)
1983       case $ac_var in #(
1984       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1986       esac
1987       case $ac_var in #(
1988       _ | IFS | as_nl) ;; #(
1989       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1990       *) { eval $ac_var=; unset $ac_var;} ;;
1991       esac ;;
1992     esac
1993   done
1994   (set) 2>&1 |
1995     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1996     *${as_nl}ac_space=\ *)
1997       sed -n \
1998         "s/'\''/'\''\\\\'\'''\''/g;
1999           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2000       ;; #(
2001     *)
2002       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2003       ;;
2004     esac |
2005     sort
2006 )
2007     echo
2008
2009     $as_echo "## ----------------- ##
2010 ## Output variables. ##
2011 ## ----------------- ##"
2012     echo
2013     for ac_var in $ac_subst_vars
2014     do
2015       eval ac_val=\$$ac_var
2016       case $ac_val in
2017       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2018       esac
2019       $as_echo "$ac_var='\''$ac_val'\''"
2020     done | sort
2021     echo
2022
2023     if test -n "$ac_subst_files"; then
2024       $as_echo "## ------------------- ##
2025 ## File substitutions. ##
2026 ## ------------------- ##"
2027       echo
2028       for ac_var in $ac_subst_files
2029       do
2030         eval ac_val=\$$ac_var
2031         case $ac_val in
2032         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2033         esac
2034         $as_echo "$ac_var='\''$ac_val'\''"
2035       done | sort
2036       echo
2037     fi
2038
2039     if test -s confdefs.h; then
2040       $as_echo "## ----------- ##
2041 ## confdefs.h. ##
2042 ## ----------- ##"
2043       echo
2044       cat confdefs.h
2045       echo
2046     fi
2047     test "$ac_signal" != 0 &&
2048       $as_echo "$as_me: caught signal $ac_signal"
2049     $as_echo "$as_me: exit $exit_status"
2050   } >&5
2051   rm -f core *.core core.conftest.* &&
2052     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2053     exit $exit_status
2054 ' 0
2055 for ac_signal in 1 2 13 15; do
2056   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2057 done
2058 ac_signal=0
2059
2060 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2061 rm -f -r conftest* confdefs.h
2062
2063 $as_echo "/* confdefs.h */" > confdefs.h
2064
2065 # Predefined preprocessor variables.
2066
2067 cat >>confdefs.h <<_ACEOF
2068 #define PACKAGE_NAME "$PACKAGE_NAME"
2069 _ACEOF
2070
2071 cat >>confdefs.h <<_ACEOF
2072 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2073 _ACEOF
2074
2075 cat >>confdefs.h <<_ACEOF
2076 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2077 _ACEOF
2078
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_STRING "$PACKAGE_STRING"
2081 _ACEOF
2082
2083 cat >>confdefs.h <<_ACEOF
2084 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2085 _ACEOF
2086
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE_URL "$PACKAGE_URL"
2089 _ACEOF
2090
2091
2092 # Let the site file select an alternate cache file if it wants to.
2093 # Prefer an explicitly selected file to automatically selected ones.
2094 ac_site_file1=NONE
2095 ac_site_file2=NONE
2096 if test -n "$CONFIG_SITE"; then
2097   # We do not want a PATH search for config.site.
2098   case $CONFIG_SITE in #((
2099     -*)  ac_site_file1=./$CONFIG_SITE;;
2100     */*) ac_site_file1=$CONFIG_SITE;;
2101     *)   ac_site_file1=./$CONFIG_SITE;;
2102   esac
2103 elif test "x$prefix" != xNONE; then
2104   ac_site_file1=$prefix/share/config.site
2105   ac_site_file2=$prefix/etc/config.site
2106 else
2107   ac_site_file1=$ac_default_prefix/share/config.site
2108   ac_site_file2=$ac_default_prefix/etc/config.site
2109 fi
2110 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2111 do
2112   test "x$ac_site_file" = xNONE && continue
2113   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2114     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2115 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2116     sed 's/^/| /' "$ac_site_file" >&5
2117     . "$ac_site_file" \
2118       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2120 as_fn_error $? "failed to load site script $ac_site_file
2121 See \`config.log' for more details" "$LINENO" 5; }
2122   fi
2123 done
2124
2125 if test -r "$cache_file"; then
2126   # Some versions of bash will fail to source /dev/null (special files
2127   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2128   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2129     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2130 $as_echo "$as_me: loading cache $cache_file" >&6;}
2131     case $cache_file in
2132       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2133       *)                      . "./$cache_file";;
2134     esac
2135   fi
2136 else
2137   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2138 $as_echo "$as_me: creating cache $cache_file" >&6;}
2139   >$cache_file
2140 fi
2141
2142 as_fn_append ac_header_list " stdlib.h"
2143 as_fn_append ac_header_list " unistd.h"
2144 as_fn_append ac_header_list " sys/param.h"
2145 # Check that the precious variables saved in the cache have kept the same
2146 # value.
2147 ac_cache_corrupted=false
2148 for ac_var in $ac_precious_vars; do
2149   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2150   eval ac_new_set=\$ac_env_${ac_var}_set
2151   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2152   eval ac_new_val=\$ac_env_${ac_var}_value
2153   case $ac_old_set,$ac_new_set in
2154     set,)
2155       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2156 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2157       ac_cache_corrupted=: ;;
2158     ,set)
2159       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2160 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2161       ac_cache_corrupted=: ;;
2162     ,);;
2163     *)
2164       if test "x$ac_old_val" != "x$ac_new_val"; then
2165         # differences in whitespace do not lead to failure.
2166         ac_old_val_w=`echo x $ac_old_val`
2167         ac_new_val_w=`echo x $ac_new_val`
2168         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2169           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2170 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2171           ac_cache_corrupted=:
2172         else
2173           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2174 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2175           eval $ac_var=\$ac_old_val
2176         fi
2177         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2178 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2179         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2180 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2181       fi;;
2182   esac
2183   # Pass precious variables to config.status.
2184   if test "$ac_new_set" = set; then
2185     case $ac_new_val in
2186     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2187     *) ac_arg=$ac_var=$ac_new_val ;;
2188     esac
2189     case " $ac_configure_args " in
2190       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2191       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2192     esac
2193   fi
2194 done
2195 if $ac_cache_corrupted; then
2196   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2198   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2199 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2200   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2201 fi
2202 ## -------------------- ##
2203 ## Main body of script. ##
2204 ## -------------------- ##
2205
2206 ac_ext=c
2207 ac_cpp='$CPP $CPPFLAGS'
2208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2211
2212
2213
2214
2215
2216
2217
2218 ac_aux_dir=
2219 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2220   if test -f "$ac_dir/install-sh"; then
2221     ac_aux_dir=$ac_dir
2222     ac_install_sh="$ac_aux_dir/install-sh -c"
2223     break
2224   elif test -f "$ac_dir/install.sh"; then
2225     ac_aux_dir=$ac_dir
2226     ac_install_sh="$ac_aux_dir/install.sh -c"
2227     break
2228   elif test -f "$ac_dir/shtool"; then
2229     ac_aux_dir=$ac_dir
2230     ac_install_sh="$ac_aux_dir/shtool install -c"
2231     break
2232   fi
2233 done
2234 if test -z "$ac_aux_dir"; then
2235   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2236 fi
2237
2238 # These three variables are undocumented and unsupported,
2239 # and are intended to be withdrawn in a future Autoconf release.
2240 # They can cause serious problems if a builder's source tree is in a directory
2241 # whose full name contains unusual characters.
2242 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2243 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2244 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2245
2246
2247 # Expand $ac_aux_dir to an absolute path.
2248 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2249
2250 ac_ext=c
2251 ac_cpp='$CPP $CPPFLAGS'
2252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2255 if test -n "$ac_tool_prefix"; then
2256   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2257 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2259 $as_echo_n "checking for $ac_word... " >&6; }
2260 if ${ac_cv_prog_CC+:} false; then :
2261   $as_echo_n "(cached) " >&6
2262 else
2263   if test -n "$CC"; then
2264   ac_cv_prog_CC="$CC" # Let the user override the test.
2265 else
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 for as_dir in $PATH
2268 do
2269   IFS=$as_save_IFS
2270   test -z "$as_dir" && as_dir=.
2271     for ac_exec_ext in '' $ac_executable_extensions; do
2272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2275     break 2
2276   fi
2277 done
2278   done
2279 IFS=$as_save_IFS
2280
2281 fi
2282 fi
2283 CC=$ac_cv_prog_CC
2284 if test -n "$CC"; then
2285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2286 $as_echo "$CC" >&6; }
2287 else
2288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2289 $as_echo "no" >&6; }
2290 fi
2291
2292
2293 fi
2294 if test -z "$ac_cv_prog_CC"; then
2295   ac_ct_CC=$CC
2296   # Extract the first word of "gcc", so it can be a program name with args.
2297 set dummy gcc; ac_word=$2
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2299 $as_echo_n "checking for $ac_word... " >&6; }
2300 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2301   $as_echo_n "(cached) " >&6
2302 else
2303   if test -n "$ac_ct_CC"; then
2304   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2305 else
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 for as_dir in $PATH
2308 do
2309   IFS=$as_save_IFS
2310   test -z "$as_dir" && as_dir=.
2311     for ac_exec_ext in '' $ac_executable_extensions; do
2312   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2313     ac_cv_prog_ac_ct_CC="gcc"
2314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2315     break 2
2316   fi
2317 done
2318   done
2319 IFS=$as_save_IFS
2320
2321 fi
2322 fi
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2326 $as_echo "$ac_ct_CC" >&6; }
2327 else
2328   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329 $as_echo "no" >&6; }
2330 fi
2331
2332   if test "x$ac_ct_CC" = x; then
2333     CC=""
2334   else
2335     case $cross_compiling:$ac_tool_warned in
2336 yes:)
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2339 ac_tool_warned=yes ;;
2340 esac
2341     CC=$ac_ct_CC
2342   fi
2343 else
2344   CC="$ac_cv_prog_CC"
2345 fi
2346
2347 if test -z "$CC"; then
2348           if test -n "$ac_tool_prefix"; then
2349     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_CC+:} false; then :
2354   $as_echo_n "(cached) " >&6
2355 else
2356   if test -n "$CC"; then
2357   ac_cv_prog_CC="$CC" # Let the user override the test.
2358 else
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2360 for as_dir in $PATH
2361 do
2362   IFS=$as_save_IFS
2363   test -z "$as_dir" && as_dir=.
2364     for ac_exec_ext in '' $ac_executable_extensions; do
2365   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366     ac_cv_prog_CC="${ac_tool_prefix}cc"
2367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368     break 2
2369   fi
2370 done
2371   done
2372 IFS=$as_save_IFS
2373
2374 fi
2375 fi
2376 CC=$ac_cv_prog_CC
2377 if test -n "$CC"; then
2378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2379 $as_echo "$CC" >&6; }
2380 else
2381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2383 fi
2384
2385
2386   fi
2387 fi
2388 if test -z "$CC"; then
2389   # Extract the first word of "cc", so it can be a program name with args.
2390 set dummy cc; ac_word=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if ${ac_cv_prog_CC+:} false; then :
2394   $as_echo_n "(cached) " >&6
2395 else
2396   if test -n "$CC"; then
2397   ac_cv_prog_CC="$CC" # Let the user override the test.
2398 else
2399   ac_prog_rejected=no
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 for as_dir in $PATH
2402 do
2403   IFS=$as_save_IFS
2404   test -z "$as_dir" && as_dir=.
2405     for ac_exec_ext in '' $ac_executable_extensions; do
2406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2407     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2408        ac_prog_rejected=yes
2409        continue
2410      fi
2411     ac_cv_prog_CC="cc"
2412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2413     break 2
2414   fi
2415 done
2416   done
2417 IFS=$as_save_IFS
2418
2419 if test $ac_prog_rejected = yes; then
2420   # We found a bogon in the path, so make sure we never use it.
2421   set dummy $ac_cv_prog_CC
2422   shift
2423   if test $# != 0; then
2424     # We chose a different compiler from the bogus one.
2425     # However, it has the same basename, so the bogon will be chosen
2426     # first if we set CC to just the basename; use the full file name.
2427     shift
2428     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2429   fi
2430 fi
2431 fi
2432 fi
2433 CC=$ac_cv_prog_CC
2434 if test -n "$CC"; then
2435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2436 $as_echo "$CC" >&6; }
2437 else
2438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439 $as_echo "no" >&6; }
2440 fi
2441
2442
2443 fi
2444 if test -z "$CC"; then
2445   if test -n "$ac_tool_prefix"; then
2446   for ac_prog in cl.exe
2447   do
2448     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if ${ac_cv_prog_CC+:} false; then :
2453   $as_echo_n "(cached) " >&6
2454 else
2455   if test -n "$CC"; then
2456   ac_cv_prog_CC="$CC" # Let the user override the test.
2457 else
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2459 for as_dir in $PATH
2460 do
2461   IFS=$as_save_IFS
2462   test -z "$as_dir" && as_dir=.
2463     for ac_exec_ext in '' $ac_executable_extensions; do
2464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2465     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467     break 2
2468   fi
2469 done
2470   done
2471 IFS=$as_save_IFS
2472
2473 fi
2474 fi
2475 CC=$ac_cv_prog_CC
2476 if test -n "$CC"; then
2477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2478 $as_echo "$CC" >&6; }
2479 else
2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2482 fi
2483
2484
2485     test -n "$CC" && break
2486   done
2487 fi
2488 if test -z "$CC"; then
2489   ac_ct_CC=$CC
2490   for ac_prog in cl.exe
2491 do
2492   # Extract the first word of "$ac_prog", so it can be a program name with args.
2493 set dummy $ac_prog; ac_word=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2497   $as_echo_n "(cached) " >&6
2498 else
2499   if test -n "$ac_ct_CC"; then
2500   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2501 else
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 for as_dir in $PATH
2504 do
2505   IFS=$as_save_IFS
2506   test -z "$as_dir" && as_dir=.
2507     for ac_exec_ext in '' $ac_executable_extensions; do
2508   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2509     ac_cv_prog_ac_ct_CC="$ac_prog"
2510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2511     break 2
2512   fi
2513 done
2514   done
2515 IFS=$as_save_IFS
2516
2517 fi
2518 fi
2519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2520 if test -n "$ac_ct_CC"; then
2521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2522 $as_echo "$ac_ct_CC" >&6; }
2523 else
2524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2526 fi
2527
2528
2529   test -n "$ac_ct_CC" && break
2530 done
2531
2532   if test "x$ac_ct_CC" = x; then
2533     CC=""
2534   else
2535     case $cross_compiling:$ac_tool_warned in
2536 yes:)
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539 ac_tool_warned=yes ;;
2540 esac
2541     CC=$ac_ct_CC
2542   fi
2543 fi
2544
2545 fi
2546
2547
2548 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2550 as_fn_error $? "no acceptable C compiler found in \$PATH
2551 See \`config.log' for more details" "$LINENO" 5; }
2552
2553 # Provide some information about the compiler.
2554 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2555 set X $ac_compile
2556 ac_compiler=$2
2557 for ac_option in --version -v -V -qversion; do
2558   { { ac_try="$ac_compiler $ac_option >&5"
2559 case "(($ac_try" in
2560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561   *) ac_try_echo=$ac_try;;
2562 esac
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2566   ac_status=$?
2567   if test -s conftest.err; then
2568     sed '10a\
2569 ... rest of stderr output deleted ...
2570          10q' conftest.err >conftest.er1
2571     cat conftest.er1 >&5
2572   fi
2573   rm -f conftest.er1 conftest.err
2574   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575   test $ac_status = 0; }
2576 done
2577
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h.  */
2580
2581 int
2582 main ()
2583 {
2584
2585   ;
2586   return 0;
2587 }
2588 _ACEOF
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2593 # of exeext.
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2595 $as_echo_n "checking whether the C compiler works... " >&6; }
2596 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2597
2598 # The possible output files:
2599 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2600
2601 ac_rmfiles=
2602 for ac_file in $ac_files
2603 do
2604   case $ac_file in
2605     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2606     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2607   esac
2608 done
2609 rm -f $ac_rmfiles
2610
2611 if { { ac_try="$ac_link_default"
2612 case "(($ac_try" in
2613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614   *) ac_try_echo=$ac_try;;
2615 esac
2616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618   (eval "$ac_link_default") 2>&5
2619   ac_status=$?
2620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621   test $ac_status = 0; }; then :
2622   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2623 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2624 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2625 # so that the user can short-circuit this test for compilers unknown to
2626 # Autoconf.
2627 for ac_file in $ac_files ''
2628 do
2629   test -f "$ac_file" || continue
2630   case $ac_file in
2631     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2632         ;;
2633     [ab].out )
2634         # We found the default executable, but exeext='' is most
2635         # certainly right.
2636         break;;
2637     *.* )
2638         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2639         then :; else
2640            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2641         fi
2642         # We set ac_cv_exeext here because the later test for it is not
2643         # safe: cross compilers may not add the suffix if given an `-o'
2644         # argument, so we may need to know it at that point already.
2645         # Even if this section looks crufty: it has the advantage of
2646         # actually working.
2647         break;;
2648     * )
2649         break;;
2650   esac
2651 done
2652 test "$ac_cv_exeext" = no && ac_cv_exeext=
2653
2654 else
2655   ac_file=''
2656 fi
2657 if test -z "$ac_file"; then :
2658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660 $as_echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2662
2663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 as_fn_error 77 "C compiler cannot create executables
2666 See \`config.log' for more details" "$LINENO" 5; }
2667 else
2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2669 $as_echo "yes" >&6; }
2670 fi
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2672 $as_echo_n "checking for C compiler default output file name... " >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2674 $as_echo "$ac_file" >&6; }
2675 ac_exeext=$ac_cv_exeext
2676
2677 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2678 ac_clean_files=$ac_clean_files_save
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2680 $as_echo_n "checking for suffix of executables... " >&6; }
2681 if { { ac_try="$ac_link"
2682 case "(($ac_try" in
2683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684   *) ac_try_echo=$ac_try;;
2685 esac
2686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2687 $as_echo "$ac_try_echo"; } >&5
2688   (eval "$ac_link") 2>&5
2689   ac_status=$?
2690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691   test $ac_status = 0; }; then :
2692   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2693 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2694 # work properly (i.e., refer to `conftest.exe'), while it won't with
2695 # `rm'.
2696 for ac_file in conftest.exe conftest conftest.*; do
2697   test -f "$ac_file" || continue
2698   case $ac_file in
2699     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2700     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2701           break;;
2702     * ) break;;
2703   esac
2704 done
2705 else
2706   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2708 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2709 See \`config.log' for more details" "$LINENO" 5; }
2710 fi
2711 rm -f conftest conftest$ac_cv_exeext
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2713 $as_echo "$ac_cv_exeext" >&6; }
2714
2715 rm -f conftest.$ac_ext
2716 EXEEXT=$ac_cv_exeext
2717 ac_exeext=$EXEEXT
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h.  */
2720 #include <stdio.h>
2721 int
2722 main ()
2723 {
2724 FILE *f = fopen ("conftest.out", "w");
2725  return ferror (f) || fclose (f) != 0;
2726
2727   ;
2728   return 0;
2729 }
2730 _ACEOF
2731 ac_clean_files="$ac_clean_files conftest.out"
2732 # Check that the compiler produces executables we can run.  If not, either
2733 # the compiler is broken, or we cross compile.
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2735 $as_echo_n "checking whether we are cross compiling... " >&6; }
2736 if test "$cross_compiling" != yes; then
2737   { { ac_try="$ac_link"
2738 case "(($ac_try" in
2739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2740   *) ac_try_echo=$ac_try;;
2741 esac
2742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2743 $as_echo "$ac_try_echo"; } >&5
2744   (eval "$ac_link") 2>&5
2745   ac_status=$?
2746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2747   test $ac_status = 0; }
2748   if { ac_try='./conftest$ac_cv_exeext'
2749   { { case "(($ac_try" in
2750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751   *) ac_try_echo=$ac_try;;
2752 esac
2753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2754 $as_echo "$ac_try_echo"; } >&5
2755   (eval "$ac_try") 2>&5
2756   ac_status=$?
2757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2758   test $ac_status = 0; }; }; then
2759     cross_compiling=no
2760   else
2761     if test "$cross_compiling" = maybe; then
2762         cross_compiling=yes
2763     else
2764         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2766 as_fn_error $? "cannot run C compiled programs.
2767 If you meant to cross compile, use \`--host'.
2768 See \`config.log' for more details" "$LINENO" 5; }
2769     fi
2770   fi
2771 fi
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2773 $as_echo "$cross_compiling" >&6; }
2774
2775 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2776 ac_clean_files=$ac_clean_files_save
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2778 $as_echo_n "checking for suffix of object files... " >&6; }
2779 if ${ac_cv_objext+:} false; 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
2789   ;
2790   return 0;
2791 }
2792 _ACEOF
2793 rm -f conftest.o conftest.obj
2794 if { { ac_try="$ac_compile"
2795 case "(($ac_try" in
2796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2797   *) ac_try_echo=$ac_try;;
2798 esac
2799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2800 $as_echo "$ac_try_echo"; } >&5
2801   (eval "$ac_compile") 2>&5
2802   ac_status=$?
2803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804   test $ac_status = 0; }; then :
2805   for ac_file in conftest.o conftest.obj conftest.*; do
2806   test -f "$ac_file" || continue;
2807   case $ac_file in
2808     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2809     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2810        break;;
2811   esac
2812 done
2813 else
2814   $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2816
2817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819 as_fn_error $? "cannot compute suffix of object files: cannot compile
2820 See \`config.log' for more details" "$LINENO" 5; }
2821 fi
2822 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2823 fi
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2825 $as_echo "$ac_cv_objext" >&6; }
2826 OBJEXT=$ac_cv_objext
2827 ac_objext=$OBJEXT
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2829 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2830 if ${ac_cv_c_compiler_gnu+:} false; then :
2831   $as_echo_n "(cached) " >&6
2832 else
2833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h.  */
2835
2836 int
2837 main ()
2838 {
2839 #ifndef __GNUC__
2840        choke me
2841 #endif
2842
2843   ;
2844   return 0;
2845 }
2846 _ACEOF
2847 if ac_fn_c_try_compile "$LINENO"; then :
2848   ac_compiler_gnu=yes
2849 else
2850   ac_compiler_gnu=no
2851 fi
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2853 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2854
2855 fi
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2857 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2858 if test $ac_compiler_gnu = yes; then
2859   GCC=yes
2860 else
2861   GCC=
2862 fi
2863 ac_test_CFLAGS=${CFLAGS+set}
2864 ac_save_CFLAGS=$CFLAGS
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2866 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2867 if ${ac_cv_prog_cc_g+:} false; then :
2868   $as_echo_n "(cached) " >&6
2869 else
2870   ac_save_c_werror_flag=$ac_c_werror_flag
2871    ac_c_werror_flag=yes
2872    ac_cv_prog_cc_g=no
2873    CFLAGS="-g"
2874    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h.  */
2876
2877 int
2878 main ()
2879 {
2880
2881   ;
2882   return 0;
2883 }
2884 _ACEOF
2885 if ac_fn_c_try_compile "$LINENO"; then :
2886   ac_cv_prog_cc_g=yes
2887 else
2888   CFLAGS=""
2889       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2890 /* end confdefs.h.  */
2891
2892 int
2893 main ()
2894 {
2895
2896   ;
2897   return 0;
2898 }
2899 _ACEOF
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901
2902 else
2903   ac_c_werror_flag=$ac_save_c_werror_flag
2904          CFLAGS="-g"
2905          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h.  */
2907
2908 int
2909 main ()
2910 {
2911
2912   ;
2913   return 0;
2914 }
2915 _ACEOF
2916 if ac_fn_c_try_compile "$LINENO"; then :
2917   ac_cv_prog_cc_g=yes
2918 fi
2919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2920 fi
2921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 fi
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924    ac_c_werror_flag=$ac_save_c_werror_flag
2925 fi
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2927 $as_echo "$ac_cv_prog_cc_g" >&6; }
2928 if test "$ac_test_CFLAGS" = set; then
2929   CFLAGS=$ac_save_CFLAGS
2930 elif test $ac_cv_prog_cc_g = yes; then
2931   if test "$GCC" = yes; then
2932     CFLAGS="-g -O2"
2933   else
2934     CFLAGS="-g"
2935   fi
2936 else
2937   if test "$GCC" = yes; then
2938     CFLAGS="-O2"
2939   else
2940     CFLAGS=
2941   fi
2942 fi
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2944 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2945 if ${ac_cv_prog_cc_c89+:} false; then :
2946   $as_echo_n "(cached) " >&6
2947 else
2948   ac_cv_prog_cc_c89=no
2949 ac_save_CC=$CC
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h.  */
2952 #include <stdarg.h>
2953 #include <stdio.h>
2954 struct stat;
2955 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2956 struct buf { int x; };
2957 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2958 static char *e (p, i)
2959      char **p;
2960      int i;
2961 {
2962   return p[i];
2963 }
2964 static char *f (char * (*g) (char **, int), char **p, ...)
2965 {
2966   char *s;
2967   va_list v;
2968   va_start (v,p);
2969   s = g (p, va_arg (v,int));
2970   va_end (v);
2971   return s;
2972 }
2973
2974 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2975    function prototypes and stuff, but not '\xHH' hex character constants.
2976    These don't provoke an error unfortunately, instead are silently treated
2977    as 'x'.  The following induces an error, until -std is added to get
2978    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2979    array size at least.  It's necessary to write '\x00'==0 to get something
2980    that's true only with -std.  */
2981 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2982
2983 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2984    inside strings and character constants.  */
2985 #define FOO(x) 'x'
2986 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2987
2988 int test (int i, double x);
2989 struct s1 {int (*f) (int a);};
2990 struct s2 {int (*f) (double a);};
2991 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2992 int argc;
2993 char **argv;
2994 int
2995 main ()
2996 {
2997 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2998   ;
2999   return 0;
3000 }
3001 _ACEOF
3002 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3003         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3004 do
3005   CC="$ac_save_CC $ac_arg"
3006   if ac_fn_c_try_compile "$LINENO"; then :
3007   ac_cv_prog_cc_c89=$ac_arg
3008 fi
3009 rm -f core conftest.err conftest.$ac_objext
3010   test "x$ac_cv_prog_cc_c89" != "xno" && break
3011 done
3012 rm -f conftest.$ac_ext
3013 CC=$ac_save_CC
3014
3015 fi
3016 # AC_CACHE_VAL
3017 case "x$ac_cv_prog_cc_c89" in
3018   x)
3019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3020 $as_echo "none needed" >&6; } ;;
3021   xno)
3022     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3023 $as_echo "unsupported" >&6; } ;;
3024   *)
3025     CC="$CC $ac_cv_prog_cc_c89"
3026     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3027 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3028 esac
3029 if test "x$ac_cv_prog_cc_c89" != xno; then :
3030
3031 fi
3032
3033 ac_ext=c
3034 ac_cpp='$CPP $CPPFLAGS'
3035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3038
3039 ac_ext=c
3040 ac_cpp='$CPP $CPPFLAGS'
3041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3045 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3046 if ${am_cv_prog_cc_c_o+:} false; then :
3047   $as_echo_n "(cached) " >&6
3048 else
3049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h.  */
3051
3052 int
3053 main ()
3054 {
3055
3056   ;
3057   return 0;
3058 }
3059 _ACEOF
3060   # Make sure it works both with $CC and with simple cc.
3061   # Following AC_PROG_CC_C_O, we do the test twice because some
3062   # compilers refuse to overwrite an existing .o file with -o,
3063   # though they will create one.
3064   am_cv_prog_cc_c_o=yes
3065   for am_i in 1 2; do
3066     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3067    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3068    ac_status=$?
3069    echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070    (exit $ac_status); } \
3071          && test -f conftest2.$ac_objext; then
3072       : OK
3073     else
3074       am_cv_prog_cc_c_o=no
3075       break
3076     fi
3077   done
3078   rm -f core conftest*
3079   unset am_i
3080 fi
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3082 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3083 if test "$am_cv_prog_cc_c_o" != yes; then
3084    # Losing compiler, so override with the script.
3085    # FIXME: It is wrong to rewrite CC.
3086    # But if we don't then we get into trouble of one sort or another.
3087    # A longer-term fix would be to have automake use am__CC in this case,
3088    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3089    CC="$am_aux_dir/compile $CC"
3090 fi
3091 ac_ext=c
3092 ac_cpp='$CPP $CPPFLAGS'
3093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3096
3097
3098
3099 ac_ext=c
3100 ac_cpp='$CPP $CPPFLAGS'
3101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3105 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3106 # On Suns, sometimes $CPP names a directory.
3107 if test -n "$CPP" && test -d "$CPP"; then
3108   CPP=
3109 fi
3110 if test -z "$CPP"; then
3111   if ${ac_cv_prog_CPP+:} false; then :
3112   $as_echo_n "(cached) " >&6
3113 else
3114       # Double quotes because CPP needs to be expanded
3115     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3116     do
3117       ac_preproc_ok=false
3118 for ac_c_preproc_warn_flag in '' yes
3119 do
3120   # Use a header file that comes with gcc, so configuring glibc
3121   # with a fresh cross-compiler works.
3122   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3123   # <limits.h> exists even on freestanding compilers.
3124   # On the NeXT, cc -E runs the code through the compiler's parser,
3125   # not just through cpp. "Syntax error" is here to catch this case.
3126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h.  */
3128 #ifdef __STDC__
3129 # include <limits.h>
3130 #else
3131 # include <assert.h>
3132 #endif
3133                      Syntax error
3134 _ACEOF
3135 if ac_fn_c_try_cpp "$LINENO"; then :
3136
3137 else
3138   # Broken: fails on valid input.
3139 continue
3140 fi
3141 rm -f conftest.err conftest.i conftest.$ac_ext
3142
3143   # OK, works on sane cases.  Now check whether nonexistent headers
3144   # can be detected and how.
3145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3146 /* end confdefs.h.  */
3147 #include <ac_nonexistent.h>
3148 _ACEOF
3149 if ac_fn_c_try_cpp "$LINENO"; then :
3150   # Broken: success on invalid input.
3151 continue
3152 else
3153   # Passes both tests.
3154 ac_preproc_ok=:
3155 break
3156 fi
3157 rm -f conftest.err conftest.i conftest.$ac_ext
3158
3159 done
3160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3161 rm -f conftest.i conftest.err conftest.$ac_ext
3162 if $ac_preproc_ok; then :
3163   break
3164 fi
3165
3166     done
3167     ac_cv_prog_CPP=$CPP
3168
3169 fi
3170   CPP=$ac_cv_prog_CPP
3171 else
3172   ac_cv_prog_CPP=$CPP
3173 fi
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3175 $as_echo "$CPP" >&6; }
3176 ac_preproc_ok=false
3177 for ac_c_preproc_warn_flag in '' yes
3178 do
3179   # Use a header file that comes with gcc, so configuring glibc
3180   # with a fresh cross-compiler works.
3181   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3182   # <limits.h> exists even on freestanding compilers.
3183   # On the NeXT, cc -E runs the code through the compiler's parser,
3184   # not just through cpp. "Syntax error" is here to catch this case.
3185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h.  */
3187 #ifdef __STDC__
3188 # include <limits.h>
3189 #else
3190 # include <assert.h>
3191 #endif
3192                      Syntax error
3193 _ACEOF
3194 if ac_fn_c_try_cpp "$LINENO"; then :
3195
3196 else
3197   # Broken: fails on valid input.
3198 continue
3199 fi
3200 rm -f conftest.err conftest.i conftest.$ac_ext
3201
3202   # OK, works on sane cases.  Now check whether nonexistent headers
3203   # can be detected and how.
3204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h.  */
3206 #include <ac_nonexistent.h>
3207 _ACEOF
3208 if ac_fn_c_try_cpp "$LINENO"; then :
3209   # Broken: success on invalid input.
3210 continue
3211 else
3212   # Passes both tests.
3213 ac_preproc_ok=:
3214 break
3215 fi
3216 rm -f conftest.err conftest.i conftest.$ac_ext
3217
3218 done
3219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3220 rm -f conftest.i conftest.err conftest.$ac_ext
3221 if $ac_preproc_ok; then :
3222
3223 else
3224   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3227 See \`config.log' for more details" "$LINENO" 5; }
3228 fi
3229
3230 ac_ext=c
3231 ac_cpp='$CPP $CPPFLAGS'
3232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3235
3236
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3238 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3239 if ${ac_cv_path_GREP+:} false; then :
3240   $as_echo_n "(cached) " >&6
3241 else
3242   if test -z "$GREP"; then
3243   ac_path_GREP_found=false
3244   # Loop through the user's path and test for each of PROGNAME-LIST
3245   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3247 do
3248   IFS=$as_save_IFS
3249   test -z "$as_dir" && as_dir=.
3250     for ac_prog in grep ggrep; do
3251     for ac_exec_ext in '' $ac_executable_extensions; do
3252       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3253       as_fn_executable_p "$ac_path_GREP" || continue
3254 # Check for GNU ac_path_GREP and select it if it is found.
3255   # Check for GNU $ac_path_GREP
3256 case `"$ac_path_GREP" --version 2>&1` in
3257 *GNU*)
3258   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3259 *)
3260   ac_count=0
3261   $as_echo_n 0123456789 >"conftest.in"
3262   while :
3263   do
3264     cat "conftest.in" "conftest.in" >"conftest.tmp"
3265     mv "conftest.tmp" "conftest.in"
3266     cp "conftest.in" "conftest.nl"
3267     $as_echo 'GREP' >> "conftest.nl"
3268     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3269     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3270     as_fn_arith $ac_count + 1 && ac_count=$as_val
3271     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3272       # Best one so far, save it but keep looking for a better one
3273       ac_cv_path_GREP="$ac_path_GREP"
3274       ac_path_GREP_max=$ac_count
3275     fi
3276     # 10*(2^10) chars as input seems more than enough
3277     test $ac_count -gt 10 && break
3278   done
3279   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3280 esac
3281
3282       $ac_path_GREP_found && break 3
3283     done
3284   done
3285   done
3286 IFS=$as_save_IFS
3287   if test -z "$ac_cv_path_GREP"; then
3288     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3289   fi
3290 else
3291   ac_cv_path_GREP=$GREP
3292 fi
3293
3294 fi
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3296 $as_echo "$ac_cv_path_GREP" >&6; }
3297  GREP="$ac_cv_path_GREP"
3298
3299
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3301 $as_echo_n "checking for egrep... " >&6; }
3302 if ${ac_cv_path_EGREP+:} false; then :
3303   $as_echo_n "(cached) " >&6
3304 else
3305   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3306    then ac_cv_path_EGREP="$GREP -E"
3307    else
3308      if test -z "$EGREP"; then
3309   ac_path_EGREP_found=false
3310   # Loop through the user's path and test for each of PROGNAME-LIST
3311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3313 do
3314   IFS=$as_save_IFS
3315   test -z "$as_dir" && as_dir=.
3316     for ac_prog in egrep; do
3317     for ac_exec_ext in '' $ac_executable_extensions; do
3318       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3319       as_fn_executable_p "$ac_path_EGREP" || continue
3320 # Check for GNU ac_path_EGREP and select it if it is found.
3321   # Check for GNU $ac_path_EGREP
3322 case `"$ac_path_EGREP" --version 2>&1` in
3323 *GNU*)
3324   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3325 *)
3326   ac_count=0
3327   $as_echo_n 0123456789 >"conftest.in"
3328   while :
3329   do
3330     cat "conftest.in" "conftest.in" >"conftest.tmp"
3331     mv "conftest.tmp" "conftest.in"
3332     cp "conftest.in" "conftest.nl"
3333     $as_echo 'EGREP' >> "conftest.nl"
3334     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3335     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3336     as_fn_arith $ac_count + 1 && ac_count=$as_val
3337     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3338       # Best one so far, save it but keep looking for a better one
3339       ac_cv_path_EGREP="$ac_path_EGREP"
3340       ac_path_EGREP_max=$ac_count
3341     fi
3342     # 10*(2^10) chars as input seems more than enough
3343     test $ac_count -gt 10 && break
3344   done
3345   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3346 esac
3347
3348       $ac_path_EGREP_found && break 3
3349     done
3350   done
3351   done
3352 IFS=$as_save_IFS
3353   if test -z "$ac_cv_path_EGREP"; then
3354     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3355   fi
3356 else
3357   ac_cv_path_EGREP=$EGREP
3358 fi
3359
3360    fi
3361 fi
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3363 $as_echo "$ac_cv_path_EGREP" >&6; }
3364  EGREP="$ac_cv_path_EGREP"
3365
3366
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3368 $as_echo_n "checking for ANSI C header files... " >&6; }
3369 if ${ac_cv_header_stdc+:} false; then :
3370   $as_echo_n "(cached) " >&6
3371 else
3372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3373 /* end confdefs.h.  */
3374 #include <stdlib.h>
3375 #include <stdarg.h>
3376 #include <string.h>
3377 #include <float.h>
3378
3379 int
3380 main ()
3381 {
3382
3383   ;
3384   return 0;
3385 }
3386 _ACEOF
3387 if ac_fn_c_try_compile "$LINENO"; then :
3388   ac_cv_header_stdc=yes
3389 else
3390   ac_cv_header_stdc=no
3391 fi
3392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393
3394 if test $ac_cv_header_stdc = yes; then
3395   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h.  */
3398 #include <string.h>
3399
3400 _ACEOF
3401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3402   $EGREP "memchr" >/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   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h.  */
3415 #include <stdlib.h>
3416
3417 _ACEOF
3418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3419   $EGREP "free" >/dev/null 2>&1; then :
3420
3421 else
3422   ac_cv_header_stdc=no
3423 fi
3424 rm -f conftest*
3425
3426 fi
3427
3428 if test $ac_cv_header_stdc = yes; then
3429   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3430   if test "$cross_compiling" = yes; then :
3431   :
3432 else
3433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434 /* end confdefs.h.  */
3435 #include <ctype.h>
3436 #include <stdlib.h>
3437 #if ((' ' & 0x0FF) == 0x020)
3438 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3439 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3440 #else
3441 # define ISLOWER(c) \
3442                    (('a' <= (c) && (c) <= 'i') \
3443                      || ('j' <= (c) && (c) <= 'r') \
3444                      || ('s' <= (c) && (c) <= 'z'))
3445 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3446 #endif
3447
3448 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3449 int
3450 main ()
3451 {
3452   int i;
3453   for (i = 0; i < 256; i++)
3454     if (XOR (islower (i), ISLOWER (i))
3455         || toupper (i) != TOUPPER (i))
3456       return 2;
3457   return 0;
3458 }
3459 _ACEOF
3460 if ac_fn_c_try_run "$LINENO"; then :
3461
3462 else
3463   ac_cv_header_stdc=no
3464 fi
3465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3466   conftest.$ac_objext conftest.beam conftest.$ac_ext
3467 fi
3468
3469 fi
3470 fi
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3472 $as_echo "$ac_cv_header_stdc" >&6; }
3473 if test $ac_cv_header_stdc = yes; then
3474
3475 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3476
3477 fi
3478
3479 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3480 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3481                   inttypes.h stdint.h unistd.h
3482 do :
3483   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3484 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3485 "
3486 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3487   cat >>confdefs.h <<_ACEOF
3488 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3489 _ACEOF
3490
3491 fi
3492
3493 done
3494
3495
3496
3497   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3498 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3499   MINIX=yes
3500 else
3501   MINIX=
3502 fi
3503
3504
3505   if test "$MINIX" = yes; then
3506
3507 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3508
3509
3510 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3511
3512
3513 $as_echo "#define _MINIX 1" >>confdefs.h
3514
3515   fi
3516
3517
3518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3519 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3520 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3521   $as_echo_n "(cached) " >&6
3522 else
3523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3524 /* end confdefs.h.  */
3525
3526 #         define __EXTENSIONS__ 1
3527           $ac_includes_default
3528 int
3529 main ()
3530 {
3531
3532   ;
3533   return 0;
3534 }
3535 _ACEOF
3536 if ac_fn_c_try_compile "$LINENO"; then :
3537   ac_cv_safe_to_define___extensions__=yes
3538 else
3539   ac_cv_safe_to_define___extensions__=no
3540 fi
3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3542 fi
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3544 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3545   test $ac_cv_safe_to_define___extensions__ = yes &&
3546     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3547
3548   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3549
3550   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3551
3552   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3553
3554   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3555
3556
3557 am__api_version='1.15'
3558
3559 # Find a good install program.  We prefer a C program (faster),
3560 # so one script is as good as another.  But avoid the broken or
3561 # incompatible versions:
3562 # SysV /etc/install, /usr/sbin/install
3563 # SunOS /usr/etc/install
3564 # IRIX /sbin/install
3565 # AIX /bin/install
3566 # AmigaOS /C/install, which installs bootblocks on floppy discs
3567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3570 # OS/2's system install, which has a completely different semantic
3571 # ./install, which can be erroneously created by make from ./install.sh.
3572 # Reject install programs that cannot install multiple files.
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3574 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3575 if test -z "$INSTALL"; then
3576 if ${ac_cv_path_install+:} false; then :
3577   $as_echo_n "(cached) " >&6
3578 else
3579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3581 do
3582   IFS=$as_save_IFS
3583   test -z "$as_dir" && as_dir=.
3584     # Account for people who put trailing slashes in PATH elements.
3585 case $as_dir/ in #((
3586   ./ | .// | /[cC]/* | \
3587   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3588   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3589   /usr/ucb/* ) ;;
3590   *)
3591     # OSF1 and SCO ODT 3.0 have their own names for install.
3592     # Don't use installbsd from OSF since it installs stuff as root
3593     # by default.
3594     for ac_prog in ginstall scoinst install; do
3595       for ac_exec_ext in '' $ac_executable_extensions; do
3596         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3597           if test $ac_prog = install &&
3598             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3599             # AIX install.  It has an incompatible calling convention.
3600             :
3601           elif test $ac_prog = install &&
3602             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3603             # program-specific install script used by HP pwplus--don't use.
3604             :
3605           else
3606             rm -rf conftest.one conftest.two conftest.dir
3607             echo one > conftest.one
3608             echo two > conftest.two
3609             mkdir conftest.dir
3610             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3611               test -s conftest.one && test -s conftest.two &&
3612               test -s conftest.dir/conftest.one &&
3613               test -s conftest.dir/conftest.two
3614             then
3615               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3616               break 3
3617             fi
3618           fi
3619         fi
3620       done
3621     done
3622     ;;
3623 esac
3624
3625   done
3626 IFS=$as_save_IFS
3627
3628 rm -rf conftest.one conftest.two conftest.dir
3629
3630 fi
3631   if test "${ac_cv_path_install+set}" = set; then
3632     INSTALL=$ac_cv_path_install
3633   else
3634     # As a last resort, use the slow shell script.  Don't cache a
3635     # value for INSTALL within a source directory, because that will
3636     # break other packages using the cache if that directory is
3637     # removed, or if the value is a relative name.
3638     INSTALL=$ac_install_sh
3639   fi
3640 fi
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3642 $as_echo "$INSTALL" >&6; }
3643
3644 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3645 # It thinks the first close brace ends the variable substitution.
3646 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3647
3648 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3649
3650 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3651
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3653 $as_echo_n "checking whether build environment is sane... " >&6; }
3654 # Reject unsafe characters in $srcdir or the absolute working directory
3655 # name.  Accept space and tab only in the latter.
3656 am_lf='
3657 '
3658 case `pwd` in
3659   *[\\\"\#\$\&\'\`$am_lf]*)
3660     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3661 esac
3662 case $srcdir in
3663   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3664     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3665 esac
3666
3667 # Do 'set' in a subshell so we don't clobber the current shell's
3668 # arguments.  Must try -L first in case configure is actually a
3669 # symlink; some systems play weird games with the mod time of symlinks
3670 # (eg FreeBSD returns the mod time of the symlink's containing
3671 # directory).
3672 if (
3673    am_has_slept=no
3674    for am_try in 1 2; do
3675      echo "timestamp, slept: $am_has_slept" > conftest.file
3676      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3677      if test "$*" = "X"; then
3678         # -L didn't work.
3679         set X `ls -t "$srcdir/configure" conftest.file`
3680      fi
3681      if test "$*" != "X $srcdir/configure conftest.file" \
3682         && test "$*" != "X conftest.file $srcdir/configure"; then
3683
3684         # If neither matched, then we have a broken ls.  This can happen
3685         # if, for instance, CONFIG_SHELL is bash and it inherits a
3686         # broken ls alias from the environment.  This has actually
3687         # happened.  Such a system could not be considered "sane".
3688         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3689   alias in your environment" "$LINENO" 5
3690      fi
3691      if test "$2" = conftest.file || test $am_try -eq 2; then
3692        break
3693      fi
3694      # Just in case.
3695      sleep 1
3696      am_has_slept=yes
3697    done
3698    test "$2" = conftest.file
3699    )
3700 then
3701    # Ok.
3702    :
3703 else
3704    as_fn_error $? "newly created file is older than distributed files!
3705 Check your system clock" "$LINENO" 5
3706 fi
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3708 $as_echo "yes" >&6; }
3709 # If we didn't sleep, we still need to ensure time stamps of config.status and
3710 # generated files are strictly newer.
3711 am_sleep_pid=
3712 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3713   ( sleep 1 ) &
3714   am_sleep_pid=$!
3715 fi
3716
3717 rm -f conftest.file
3718
3719 test "$program_prefix" != NONE &&
3720   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3721 # Use a double $ so make ignores it.
3722 test "$program_suffix" != NONE &&
3723   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3724 # Double any \ or $.
3725 # By default was `s,x,x', remove it if useless.
3726 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3727 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3728
3729 if test x"${MISSING+set}" != xset; then
3730   case $am_aux_dir in
3731   *\ * | *\     *)
3732     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3733   *)
3734     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3735   esac
3736 fi
3737 # Use eval to expand $SHELL
3738 if eval "$MISSING --is-lightweight"; then
3739   am_missing_run="$MISSING "
3740 else
3741   am_missing_run=
3742   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3743 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3744 fi
3745
3746 if test x"${install_sh+set}" != xset; then
3747   case $am_aux_dir in
3748   *\ * | *\     *)
3749     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3750   *)
3751     install_sh="\${SHELL} $am_aux_dir/install-sh"
3752   esac
3753 fi
3754
3755 # Installed binaries are usually stripped using 'strip' when the user
3756 # run "make install-strip".  However 'strip' might not be the right
3757 # tool to use in cross-compilation environments, therefore Automake
3758 # will honor the 'STRIP' environment variable to overrule this program.
3759 if test "$cross_compiling" != no; then
3760   if test -n "$ac_tool_prefix"; then
3761   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3762 set dummy ${ac_tool_prefix}strip; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if ${ac_cv_prog_STRIP+:} false; then :
3766   $as_echo_n "(cached) " >&6
3767 else
3768   if test -n "$STRIP"; then
3769   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3770 else
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 for as_dir in $PATH
3773 do
3774   IFS=$as_save_IFS
3775   test -z "$as_dir" && as_dir=.
3776     for ac_exec_ext in '' $ac_executable_extensions; do
3777   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3778     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780     break 2
3781   fi
3782 done
3783   done
3784 IFS=$as_save_IFS
3785
3786 fi
3787 fi
3788 STRIP=$ac_cv_prog_STRIP
3789 if test -n "$STRIP"; then
3790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3791 $as_echo "$STRIP" >&6; }
3792 else
3793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3795 fi
3796
3797
3798 fi
3799 if test -z "$ac_cv_prog_STRIP"; then
3800   ac_ct_STRIP=$STRIP
3801   # Extract the first word of "strip", so it can be a program name with args.
3802 set dummy strip; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3806   $as_echo_n "(cached) " >&6
3807 else
3808   if test -n "$ac_ct_STRIP"; then
3809   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3813 do
3814   IFS=$as_save_IFS
3815   test -z "$as_dir" && as_dir=.
3816     for ac_exec_ext in '' $ac_executable_extensions; do
3817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818     ac_cv_prog_ac_ct_STRIP="strip"
3819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820     break 2
3821   fi
3822 done
3823   done
3824 IFS=$as_save_IFS
3825
3826 fi
3827 fi
3828 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3829 if test -n "$ac_ct_STRIP"; then
3830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3831 $as_echo "$ac_ct_STRIP" >&6; }
3832 else
3833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3835 fi
3836
3837   if test "x$ac_ct_STRIP" = x; then
3838     STRIP=":"
3839   else
3840     case $cross_compiling:$ac_tool_warned in
3841 yes:)
3842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3844 ac_tool_warned=yes ;;
3845 esac
3846     STRIP=$ac_ct_STRIP
3847   fi
3848 else
3849   STRIP="$ac_cv_prog_STRIP"
3850 fi
3851
3852 fi
3853 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3854
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3856 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3857 if test -z "$MKDIR_P"; then
3858   if ${ac_cv_path_mkdir+:} false; then :
3859   $as_echo_n "(cached) " >&6
3860 else
3861   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3863 do
3864   IFS=$as_save_IFS
3865   test -z "$as_dir" && as_dir=.
3866     for ac_prog in mkdir gmkdir; do
3867          for ac_exec_ext in '' $ac_executable_extensions; do
3868            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3869            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3870              'mkdir (GNU coreutils) '* | \
3871              'mkdir (coreutils) '* | \
3872              'mkdir (fileutils) '4.1*)
3873                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3874                break 3;;
3875            esac
3876          done
3877        done
3878   done
3879 IFS=$as_save_IFS
3880
3881 fi
3882
3883   test -d ./--version && rmdir ./--version
3884   if test "${ac_cv_path_mkdir+set}" = set; then
3885     MKDIR_P="$ac_cv_path_mkdir -p"
3886   else
3887     # As a last resort, use the slow shell script.  Don't cache a
3888     # value for MKDIR_P within a source directory, because that will
3889     # break other packages using the cache if that directory is
3890     # removed, or if the value is a relative name.
3891     MKDIR_P="$ac_install_sh -d"
3892   fi
3893 fi
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3895 $as_echo "$MKDIR_P" >&6; }
3896
3897 for ac_prog in gawk mawk nawk awk
3898 do
3899   # Extract the first word of "$ac_prog", so it can be a program name with args.
3900 set dummy $ac_prog; ac_word=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_AWK+:} false; then :
3904   $as_echo_n "(cached) " >&6
3905 else
3906   if test -n "$AWK"; then
3907   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3908 else
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 for as_dir in $PATH
3911 do
3912   IFS=$as_save_IFS
3913   test -z "$as_dir" && as_dir=.
3914     for ac_exec_ext in '' $ac_executable_extensions; do
3915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3916     ac_cv_prog_AWK="$ac_prog"
3917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918     break 2
3919   fi
3920 done
3921   done
3922 IFS=$as_save_IFS
3923
3924 fi
3925 fi
3926 AWK=$ac_cv_prog_AWK
3927 if test -n "$AWK"; then
3928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3929 $as_echo "$AWK" >&6; }
3930 else
3931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3933 fi
3934
3935
3936   test -n "$AWK" && break
3937 done
3938
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3940 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3941 set x ${MAKE-make}
3942 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3943 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3944   $as_echo_n "(cached) " >&6
3945 else
3946   cat >conftest.make <<\_ACEOF
3947 SHELL = /bin/sh
3948 all:
3949         @echo '@@@%%%=$(MAKE)=@@@%%%'
3950 _ACEOF
3951 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3952 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3953   *@@@%%%=?*=@@@%%%*)
3954     eval ac_cv_prog_make_${ac_make}_set=yes;;
3955   *)
3956     eval ac_cv_prog_make_${ac_make}_set=no;;
3957 esac
3958 rm -f conftest.make
3959 fi
3960 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3962 $as_echo "yes" >&6; }
3963   SET_MAKE=
3964 else
3965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3967   SET_MAKE="MAKE=${MAKE-make}"
3968 fi
3969
3970 rm -rf .tst 2>/dev/null
3971 mkdir .tst 2>/dev/null
3972 if test -d .tst; then
3973   am__leading_dot=.
3974 else
3975   am__leading_dot=_
3976 fi
3977 rmdir .tst 2>/dev/null
3978
3979 DEPDIR="${am__leading_dot}deps"
3980
3981 ac_config_commands="$ac_config_commands depfiles"
3982
3983
3984 am_make=${MAKE-make}
3985 cat > confinc << 'END'
3986 am__doit:
3987         @echo this is the am__doit target
3988 .PHONY: am__doit
3989 END
3990 # If we don't find an include directive, just comment out the code.
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3992 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3993 am__include="#"
3994 am__quote=
3995 _am_result=none
3996 # First try GNU make style include.
3997 echo "include confinc" > confmf
3998 # Ignore all kinds of additional output from 'make'.
3999 case `$am_make -s -f confmf 2> /dev/null` in #(
4000 *the\ am__doit\ target*)
4001   am__include=include
4002   am__quote=
4003   _am_result=GNU
4004   ;;
4005 esac
4006 # Now try BSD make style include.
4007 if test "$am__include" = "#"; then
4008    echo '.include "confinc"' > confmf
4009    case `$am_make -s -f confmf 2> /dev/null` in #(
4010    *the\ am__doit\ target*)
4011      am__include=.include
4012      am__quote="\""
4013      _am_result=BSD
4014      ;;
4015    esac
4016 fi
4017
4018
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4020 $as_echo "$_am_result" >&6; }
4021 rm -f confinc confmf
4022
4023 # Check whether --enable-dependency-tracking was given.
4024 if test "${enable_dependency_tracking+set}" = set; then :
4025   enableval=$enable_dependency_tracking;
4026 fi
4027
4028 if test "x$enable_dependency_tracking" != xno; then
4029   am_depcomp="$ac_aux_dir/depcomp"
4030   AMDEPBACKSLASH='\'
4031   am__nodep='_no'
4032 fi
4033  if test "x$enable_dependency_tracking" != xno; then
4034   AMDEP_TRUE=
4035   AMDEP_FALSE='#'
4036 else
4037   AMDEP_TRUE='#'
4038   AMDEP_FALSE=
4039 fi
4040
4041
4042 # Check whether --enable-silent-rules was given.
4043 if test "${enable_silent_rules+set}" = set; then :
4044   enableval=$enable_silent_rules;
4045 fi
4046
4047 case $enable_silent_rules in # (((
4048   yes) AM_DEFAULT_VERBOSITY=0;;
4049    no) AM_DEFAULT_VERBOSITY=1;;
4050     *) AM_DEFAULT_VERBOSITY=1;;
4051 esac
4052 am_make=${MAKE-make}
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4054 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4055 if ${am_cv_make_support_nested_variables+:} false; then :
4056   $as_echo_n "(cached) " >&6
4057 else
4058   if $as_echo 'TRUE=$(BAR$(V))
4059 BAR0=false
4060 BAR1=true
4061 V=1
4062 am__doit:
4063         @$(TRUE)
4064 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4065   am_cv_make_support_nested_variables=yes
4066 else
4067   am_cv_make_support_nested_variables=no
4068 fi
4069 fi
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4071 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4072 if test $am_cv_make_support_nested_variables = yes; then
4073     AM_V='$(V)'
4074   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4075 else
4076   AM_V=$AM_DEFAULT_VERBOSITY
4077   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4078 fi
4079 AM_BACKSLASH='\'
4080
4081 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4082   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4083   # is not polluted with repeated "-I."
4084   am__isrc=' -I$(srcdir)'
4085   # test to see if srcdir already configured
4086   if test -f $srcdir/config.status; then
4087     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4088   fi
4089 fi
4090
4091 # test whether we have cygpath
4092 if test -z "$CYGPATH_W"; then
4093   if (cygpath --version) >/dev/null 2>/dev/null; then
4094     CYGPATH_W='cygpath -w'
4095   else
4096     CYGPATH_W=echo
4097   fi
4098 fi
4099
4100
4101 # Define the identity of the package.
4102  PACKAGE='libctf-library'
4103  VERSION='1.2.0-pre'
4104
4105
4106 cat >>confdefs.h <<_ACEOF
4107 #define PACKAGE "$PACKAGE"
4108 _ACEOF
4109
4110
4111 cat >>confdefs.h <<_ACEOF
4112 #define VERSION "$VERSION"
4113 _ACEOF
4114
4115 # Some tools Automake needs.
4116
4117 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4118
4119
4120 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4121
4122
4123 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4124
4125
4126 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4127
4128
4129 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4130
4131 # For better backward compatibility.  To be removed once Automake 1.9.x
4132 # dies out for good.  For more background, see:
4133 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4134 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4135 mkdir_p='$(MKDIR_P)'
4136
4137 # We need awk for the "check" target (and possibly the TAP driver).  The
4138 # system "awk" is bad on some platforms.
4139 # Always define AMTAR for backward compatibility.  Yes, it's still used
4140 # in the wild :-(  We should find a proper way to deprecate it ...
4141 AMTAR='$${TAR-tar}'
4142
4143
4144 # We'll loop over all known methods to create a tar archive until one works.
4145 _am_tools='gnutar  pax cpio none'
4146
4147 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4148
4149
4150
4151
4152
4153 depcc="$CC"   am_compiler_list=
4154
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4156 $as_echo_n "checking dependency style of $depcc... " >&6; }
4157 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4158   $as_echo_n "(cached) " >&6
4159 else
4160   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4161   # We make a subdir and do the tests there.  Otherwise we can end up
4162   # making bogus files that we don't know about and never remove.  For
4163   # instance it was reported that on HP-UX the gcc test will end up
4164   # making a dummy file named 'D' -- because '-MD' means "put the output
4165   # in D".
4166   rm -rf conftest.dir
4167   mkdir conftest.dir
4168   # Copy depcomp to subdir because otherwise we won't find it if we're
4169   # using a relative directory.
4170   cp "$am_depcomp" conftest.dir
4171   cd conftest.dir
4172   # We will build objects and dependencies in a subdirectory because
4173   # it helps to detect inapplicable dependency modes.  For instance
4174   # both Tru64's cc and ICC support -MD to output dependencies as a
4175   # side effect of compilation, but ICC will put the dependencies in
4176   # the current directory while Tru64 will put them in the object
4177   # directory.
4178   mkdir sub
4179
4180   am_cv_CC_dependencies_compiler_type=none
4181   if test "$am_compiler_list" = ""; then
4182      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4183   fi
4184   am__universal=false
4185   case " $depcc " in #(
4186      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4187      esac
4188
4189   for depmode in $am_compiler_list; do
4190     # Setup a source with many dependencies, because some compilers
4191     # like to wrap large dependency lists on column 80 (with \), and
4192     # we should not choose a depcomp mode which is confused by this.
4193     #
4194     # We need to recreate these files for each test, as the compiler may
4195     # overwrite some of them when testing with obscure command lines.
4196     # This happens at least with the AIX C compiler.
4197     : > sub/conftest.c
4198     for i in 1 2 3 4 5 6; do
4199       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4200       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4201       # Solaris 10 /bin/sh.
4202       echo '/* dummy */' > sub/conftst$i.h
4203     done
4204     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4205
4206     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4207     # mode.  It turns out that the SunPro C++ compiler does not properly
4208     # handle '-M -o', and we need to detect this.  Also, some Intel
4209     # versions had trouble with output in subdirs.
4210     am__obj=sub/conftest.${OBJEXT-o}
4211     am__minus_obj="-o $am__obj"
4212     case $depmode in
4213     gcc)
4214       # This depmode causes a compiler race in universal mode.
4215       test "$am__universal" = false || continue
4216       ;;
4217     nosideeffect)
4218       # After this tag, mechanisms are not by side-effect, so they'll
4219       # only be used when explicitly requested.
4220       if test "x$enable_dependency_tracking" = xyes; then
4221         continue
4222       else
4223         break
4224       fi
4225       ;;
4226     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4227       # This compiler won't grok '-c -o', but also, the minuso test has
4228       # not run yet.  These depmodes are late enough in the game, and
4229       # so weak that their functioning should not be impacted.
4230       am__obj=conftest.${OBJEXT-o}
4231       am__minus_obj=
4232       ;;
4233     none) break ;;
4234     esac
4235     if depmode=$depmode \
4236        source=sub/conftest.c object=$am__obj \
4237        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4238        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4239          >/dev/null 2>conftest.err &&
4240        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4241        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4242        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4243        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4244       # icc doesn't choke on unknown options, it will just issue warnings
4245       # or remarks (even with -Werror).  So we grep stderr for any message
4246       # that says an option was ignored or not supported.
4247       # When given -MP, icc 7.0 and 7.1 complain thusly:
4248       #   icc: Command line warning: ignoring option '-M'; no argument required
4249       # The diagnosis changed in icc 8.0:
4250       #   icc: Command line remark: option '-MP' not supported
4251       if (grep 'ignoring option' conftest.err ||
4252           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4253         am_cv_CC_dependencies_compiler_type=$depmode
4254         break
4255       fi
4256     fi
4257   done
4258
4259   cd ..
4260   rm -rf conftest.dir
4261 else
4262   am_cv_CC_dependencies_compiler_type=none
4263 fi
4264
4265 fi
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4267 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4268 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4269
4270  if
4271   test "x$enable_dependency_tracking" != xno \
4272   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4273   am__fastdepCC_TRUE=
4274   am__fastdepCC_FALSE='#'
4275 else
4276   am__fastdepCC_TRUE='#'
4277   am__fastdepCC_FALSE=
4278 fi
4279
4280
4281
4282 # POSIX will say in a future version that running "rm -f" with no argument
4283 # is OK; and we want to be able to make that assumption in our Makefile
4284 # recipes.  So use an aggressive probe to check that the usage we want is
4285 # actually supported "in the wild" to an acceptable degree.
4286 # See automake bug#10828.
4287 # To make any issue more visible, cause the running configure to be aborted
4288 # by default if the 'rm' program in use doesn't match our expectations; the
4289 # user can still override this though.
4290 if rm -f && rm -fr && rm -rf; then : OK; else
4291   cat >&2 <<'END'
4292 Oops!
4293
4294 Your 'rm' program seems unable to run without file operands specified
4295 on the command line, even when the '-f' option is present.  This is contrary
4296 to the behaviour of most rm programs out there, and not conforming with
4297 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4298
4299 Please tell bug-automake@gnu.org about your system, including the value
4300 of your $PATH and any error possibly output before this message.  This
4301 can help us improve future automake versions.
4302
4303 END
4304   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4305     echo 'Configuration will proceed anyway, since you have set the' >&2
4306     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4307     echo >&2
4308   else
4309     cat >&2 <<'END'
4310 Aborting the configuration process, to ensure you take notice of the issue.
4311
4312 You can download and install GNU coreutils to get an 'rm' implementation
4313 that behaves properly: <http://www.gnu.org/software/coreutils/>.
4314
4315 If you want to complete the configuration process using your problematic
4316 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4317 to "yes", and re-run configure.
4318
4319 END
4320     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4321   fi
4322 fi
4323
4324
4325 # Checks for programs.
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4327 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4328 set x ${MAKE-make}
4329 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4330 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4331   $as_echo_n "(cached) " >&6
4332 else
4333   cat >conftest.make <<\_ACEOF
4334 SHELL = /bin/sh
4335 all:
4336         @echo '@@@%%%=$(MAKE)=@@@%%%'
4337 _ACEOF
4338 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4339 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4340   *@@@%%%=?*=@@@%%%*)
4341     eval ac_cv_prog_make_${ac_make}_set=yes;;
4342   *)
4343     eval ac_cv_prog_make_${ac_make}_set=no;;
4344 esac
4345 rm -f conftest.make
4346 fi
4347 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4349 $as_echo "yes" >&6; }
4350   SET_MAKE=
4351 else
4352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4354   SET_MAKE="MAKE=${MAKE-make}"
4355 fi
4356
4357 ac_ext=c
4358 ac_cpp='$CPP $CPPFLAGS'
4359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4362 if test -n "$ac_tool_prefix"; then
4363   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4364 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366 $as_echo_n "checking for $ac_word... " >&6; }
4367 if ${ac_cv_prog_CC+:} false; then :
4368   $as_echo_n "(cached) " >&6
4369 else
4370   if test -n "$CC"; then
4371   ac_cv_prog_CC="$CC" # Let the user override the test.
4372 else
4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4374 for as_dir in $PATH
4375 do
4376   IFS=$as_save_IFS
4377   test -z "$as_dir" && as_dir=.
4378     for ac_exec_ext in '' $ac_executable_extensions; do
4379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4380     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382     break 2
4383   fi
4384 done
4385   done
4386 IFS=$as_save_IFS
4387
4388 fi
4389 fi
4390 CC=$ac_cv_prog_CC
4391 if test -n "$CC"; then
4392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4393 $as_echo "$CC" >&6; }
4394 else
4395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4396 $as_echo "no" >&6; }
4397 fi
4398
4399
4400 fi
4401 if test -z "$ac_cv_prog_CC"; then
4402   ac_ct_CC=$CC
4403   # Extract the first word of "gcc", so it can be a program name with args.
4404 set dummy gcc; ac_word=$2
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406 $as_echo_n "checking for $ac_word... " >&6; }
4407 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4408   $as_echo_n "(cached) " >&6
4409 else
4410   if test -n "$ac_ct_CC"; then
4411   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4412 else
4413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4414 for as_dir in $PATH
4415 do
4416   IFS=$as_save_IFS
4417   test -z "$as_dir" && as_dir=.
4418     for ac_exec_ext in '' $ac_executable_extensions; do
4419   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4420     ac_cv_prog_ac_ct_CC="gcc"
4421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422     break 2
4423   fi
4424 done
4425   done
4426 IFS=$as_save_IFS
4427
4428 fi
4429 fi
4430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4431 if test -n "$ac_ct_CC"; then
4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4433 $as_echo "$ac_ct_CC" >&6; }
4434 else
4435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4436 $as_echo "no" >&6; }
4437 fi
4438
4439   if test "x$ac_ct_CC" = x; then
4440     CC=""
4441   else
4442     case $cross_compiling:$ac_tool_warned in
4443 yes:)
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4446 ac_tool_warned=yes ;;
4447 esac
4448     CC=$ac_ct_CC
4449   fi
4450 else
4451   CC="$ac_cv_prog_CC"
4452 fi
4453
4454 if test -z "$CC"; then
4455           if test -n "$ac_tool_prefix"; then
4456     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4457 set dummy ${ac_tool_prefix}cc; ac_word=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if ${ac_cv_prog_CC+:} false; then :
4461   $as_echo_n "(cached) " >&6
4462 else
4463   if test -n "$CC"; then
4464   ac_cv_prog_CC="$CC" # Let the user override the test.
4465 else
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 for as_dir in $PATH
4468 do
4469   IFS=$as_save_IFS
4470   test -z "$as_dir" && as_dir=.
4471     for ac_exec_ext in '' $ac_executable_extensions; do
4472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4473     ac_cv_prog_CC="${ac_tool_prefix}cc"
4474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475     break 2
4476   fi
4477 done
4478   done
4479 IFS=$as_save_IFS
4480
4481 fi
4482 fi
4483 CC=$ac_cv_prog_CC
4484 if test -n "$CC"; then
4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4486 $as_echo "$CC" >&6; }
4487 else
4488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4490 fi
4491
4492
4493   fi
4494 fi
4495 if test -z "$CC"; then
4496   # Extract the first word of "cc", so it can be a program name with args.
4497 set dummy cc; ac_word=$2
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4499 $as_echo_n "checking for $ac_word... " >&6; }
4500 if ${ac_cv_prog_CC+:} false; then :
4501   $as_echo_n "(cached) " >&6
4502 else
4503   if test -n "$CC"; then
4504   ac_cv_prog_CC="$CC" # Let the user override the test.
4505 else
4506   ac_prog_rejected=no
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 for as_dir in $PATH
4509 do
4510   IFS=$as_save_IFS
4511   test -z "$as_dir" && as_dir=.
4512     for ac_exec_ext in '' $ac_executable_extensions; do
4513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4514     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4515        ac_prog_rejected=yes
4516        continue
4517      fi
4518     ac_cv_prog_CC="cc"
4519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4520     break 2
4521   fi
4522 done
4523   done
4524 IFS=$as_save_IFS
4525
4526 if test $ac_prog_rejected = yes; then
4527   # We found a bogon in the path, so make sure we never use it.
4528   set dummy $ac_cv_prog_CC
4529   shift
4530   if test $# != 0; then
4531     # We chose a different compiler from the bogus one.
4532     # However, it has the same basename, so the bogon will be chosen
4533     # first if we set CC to just the basename; use the full file name.
4534     shift
4535     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4536   fi
4537 fi
4538 fi
4539 fi
4540 CC=$ac_cv_prog_CC
4541 if test -n "$CC"; then
4542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4543 $as_echo "$CC" >&6; }
4544 else
4545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4546 $as_echo "no" >&6; }
4547 fi
4548
4549
4550 fi
4551 if test -z "$CC"; then
4552   if test -n "$ac_tool_prefix"; then
4553   for ac_prog in cl.exe
4554   do
4555     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4558 $as_echo_n "checking for $ac_word... " >&6; }
4559 if ${ac_cv_prog_CC+:} false; then :
4560   $as_echo_n "(cached) " >&6
4561 else
4562   if test -n "$CC"; then
4563   ac_cv_prog_CC="$CC" # Let the user override the test.
4564 else
4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4566 for as_dir in $PATH
4567 do
4568   IFS=$as_save_IFS
4569   test -z "$as_dir" && as_dir=.
4570     for ac_exec_ext in '' $ac_executable_extensions; do
4571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4572     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4574     break 2
4575   fi
4576 done
4577   done
4578 IFS=$as_save_IFS
4579
4580 fi
4581 fi
4582 CC=$ac_cv_prog_CC
4583 if test -n "$CC"; then
4584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4585 $as_echo "$CC" >&6; }
4586 else
4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588 $as_echo "no" >&6; }
4589 fi
4590
4591
4592     test -n "$CC" && break
4593   done
4594 fi
4595 if test -z "$CC"; then
4596   ac_ct_CC=$CC
4597   for ac_prog in cl.exe
4598 do
4599   # Extract the first word of "$ac_prog", so it can be a program name with args.
4600 set dummy $ac_prog; ac_word=$2
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 $as_echo_n "checking for $ac_word... " >&6; }
4603 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4604   $as_echo_n "(cached) " >&6
4605 else
4606   if test -n "$ac_ct_CC"; then
4607   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4611 do
4612   IFS=$as_save_IFS
4613   test -z "$as_dir" && as_dir=.
4614     for ac_exec_ext in '' $ac_executable_extensions; do
4615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616     ac_cv_prog_ac_ct_CC="$ac_prog"
4617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4618     break 2
4619   fi
4620 done
4621   done
4622 IFS=$as_save_IFS
4623
4624 fi
4625 fi
4626 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4627 if test -n "$ac_ct_CC"; then
4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4629 $as_echo "$ac_ct_CC" >&6; }
4630 else
4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4632 $as_echo "no" >&6; }
4633 fi
4634
4635
4636   test -n "$ac_ct_CC" && break
4637 done
4638
4639   if test "x$ac_ct_CC" = x; then
4640     CC=""
4641   else
4642     case $cross_compiling:$ac_tool_warned in
4643 yes:)
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4646 ac_tool_warned=yes ;;
4647 esac
4648     CC=$ac_ct_CC
4649   fi
4650 fi
4651
4652 fi
4653
4654
4655 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4657 as_fn_error $? "no acceptable C compiler found in \$PATH
4658 See \`config.log' for more details" "$LINENO" 5; }
4659
4660 # Provide some information about the compiler.
4661 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4662 set X $ac_compile
4663 ac_compiler=$2
4664 for ac_option in --version -v -V -qversion; do
4665   { { ac_try="$ac_compiler $ac_option >&5"
4666 case "(($ac_try" in
4667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668   *) ac_try_echo=$ac_try;;
4669 esac
4670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4671 $as_echo "$ac_try_echo"; } >&5
4672   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4673   ac_status=$?
4674   if test -s conftest.err; then
4675     sed '10a\
4676 ... rest of stderr output deleted ...
4677          10q' conftest.err >conftest.er1
4678     cat conftest.er1 >&5
4679   fi
4680   rm -f conftest.er1 conftest.err
4681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4682   test $ac_status = 0; }
4683 done
4684
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4686 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4687 if ${ac_cv_c_compiler_gnu+:} false; then :
4688   $as_echo_n "(cached) " >&6
4689 else
4690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h.  */
4692
4693 int
4694 main ()
4695 {
4696 #ifndef __GNUC__
4697        choke me
4698 #endif
4699
4700   ;
4701   return 0;
4702 }
4703 _ACEOF
4704 if ac_fn_c_try_compile "$LINENO"; then :
4705   ac_compiler_gnu=yes
4706 else
4707   ac_compiler_gnu=no
4708 fi
4709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4710 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4711
4712 fi
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4714 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4715 if test $ac_compiler_gnu = yes; then
4716   GCC=yes
4717 else
4718   GCC=
4719 fi
4720 ac_test_CFLAGS=${CFLAGS+set}
4721 ac_save_CFLAGS=$CFLAGS
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4723 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4724 if ${ac_cv_prog_cc_g+:} false; then :
4725   $as_echo_n "(cached) " >&6
4726 else
4727   ac_save_c_werror_flag=$ac_c_werror_flag
4728    ac_c_werror_flag=yes
4729    ac_cv_prog_cc_g=no
4730    CFLAGS="-g"
4731    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h.  */
4733
4734 int
4735 main ()
4736 {
4737
4738   ;
4739   return 0;
4740 }
4741 _ACEOF
4742 if ac_fn_c_try_compile "$LINENO"; then :
4743   ac_cv_prog_cc_g=yes
4744 else
4745   CFLAGS=""
4746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h.  */
4748
4749 int
4750 main ()
4751 {
4752
4753   ;
4754   return 0;
4755 }
4756 _ACEOF
4757 if ac_fn_c_try_compile "$LINENO"; then :
4758
4759 else
4760   ac_c_werror_flag=$ac_save_c_werror_flag
4761          CFLAGS="-g"
4762          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4763 /* end confdefs.h.  */
4764
4765 int
4766 main ()
4767 {
4768
4769   ;
4770   return 0;
4771 }
4772 _ACEOF
4773 if ac_fn_c_try_compile "$LINENO"; then :
4774   ac_cv_prog_cc_g=yes
4775 fi
4776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4777 fi
4778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779 fi
4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4781    ac_c_werror_flag=$ac_save_c_werror_flag
4782 fi
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4784 $as_echo "$ac_cv_prog_cc_g" >&6; }
4785 if test "$ac_test_CFLAGS" = set; then
4786   CFLAGS=$ac_save_CFLAGS
4787 elif test $ac_cv_prog_cc_g = yes; then
4788   if test "$GCC" = yes; then
4789     CFLAGS="-g -O2"
4790   else
4791     CFLAGS="-g"
4792   fi
4793 else
4794   if test "$GCC" = yes; then
4795     CFLAGS="-O2"
4796   else
4797     CFLAGS=
4798   fi
4799 fi
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4801 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4802 if ${ac_cv_prog_cc_c89+:} false; then :
4803   $as_echo_n "(cached) " >&6
4804 else
4805   ac_cv_prog_cc_c89=no
4806 ac_save_CC=$CC
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h.  */
4809 #include <stdarg.h>
4810 #include <stdio.h>
4811 struct stat;
4812 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4813 struct buf { int x; };
4814 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4815 static char *e (p, i)
4816      char **p;
4817      int i;
4818 {
4819   return p[i];
4820 }
4821 static char *f (char * (*g) (char **, int), char **p, ...)
4822 {
4823   char *s;
4824   va_list v;
4825   va_start (v,p);
4826   s = g (p, va_arg (v,int));
4827   va_end (v);
4828   return s;
4829 }
4830
4831 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4832    function prototypes and stuff, but not '\xHH' hex character constants.
4833    These don't provoke an error unfortunately, instead are silently treated
4834    as 'x'.  The following induces an error, until -std is added to get
4835    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4836    array size at least.  It's necessary to write '\x00'==0 to get something
4837    that's true only with -std.  */
4838 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4839
4840 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4841    inside strings and character constants.  */
4842 #define FOO(x) 'x'
4843 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4844
4845 int test (int i, double x);
4846 struct s1 {int (*f) (int a);};
4847 struct s2 {int (*f) (double a);};
4848 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4849 int argc;
4850 char **argv;
4851 int
4852 main ()
4853 {
4854 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4855   ;
4856   return 0;
4857 }
4858 _ACEOF
4859 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4860         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4861 do
4862   CC="$ac_save_CC $ac_arg"
4863   if ac_fn_c_try_compile "$LINENO"; then :
4864   ac_cv_prog_cc_c89=$ac_arg
4865 fi
4866 rm -f core conftest.err conftest.$ac_objext
4867   test "x$ac_cv_prog_cc_c89" != "xno" && break
4868 done
4869 rm -f conftest.$ac_ext
4870 CC=$ac_save_CC
4871
4872 fi
4873 # AC_CACHE_VAL
4874 case "x$ac_cv_prog_cc_c89" in
4875   x)
4876     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4877 $as_echo "none needed" >&6; } ;;
4878   xno)
4879     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4880 $as_echo "unsupported" >&6; } ;;
4881   *)
4882     CC="$CC $ac_cv_prog_cc_c89"
4883     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4884 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4885 esac
4886 if test "x$ac_cv_prog_cc_c89" != xno; then :
4887
4888 fi
4889
4890 ac_ext=c
4891 ac_cpp='$CPP $CPPFLAGS'
4892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4895
4896 ac_ext=c
4897 ac_cpp='$CPP $CPPFLAGS'
4898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4902 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4903 if ${am_cv_prog_cc_c_o+:} false; then :
4904   $as_echo_n "(cached) " >&6
4905 else
4906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h.  */
4908
4909 int
4910 main ()
4911 {
4912
4913   ;
4914   return 0;
4915 }
4916 _ACEOF
4917   # Make sure it works both with $CC and with simple cc.
4918   # Following AC_PROG_CC_C_O, we do the test twice because some
4919   # compilers refuse to overwrite an existing .o file with -o,
4920   # though they will create one.
4921   am_cv_prog_cc_c_o=yes
4922   for am_i in 1 2; do
4923     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4924    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4925    ac_status=$?
4926    echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927    (exit $ac_status); } \
4928          && test -f conftest2.$ac_objext; then
4929       : OK
4930     else
4931       am_cv_prog_cc_c_o=no
4932       break
4933     fi
4934   done
4935   rm -f core conftest*
4936   unset am_i
4937 fi
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4939 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4940 if test "$am_cv_prog_cc_c_o" != yes; then
4941    # Losing compiler, so override with the script.
4942    # FIXME: It is wrong to rewrite CC.
4943    # But if we don't then we get into trouble of one sort or another.
4944    # A longer-term fix would be to have automake use am__CC in this case,
4945    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4946    CC="$am_aux_dir/compile $CC"
4947 fi
4948 ac_ext=c
4949 ac_cpp='$CPP $CPPFLAGS'
4950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4953
4954
4955 if test -n "$ac_tool_prefix"; then
4956   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_RANLIB+:} false; then :
4961   $as_echo_n "(cached) " >&6
4962 else
4963   if test -n "$RANLIB"; then
4964   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4965 else
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4967 for as_dir in $PATH
4968 do
4969   IFS=$as_save_IFS
4970   test -z "$as_dir" && as_dir=.
4971     for ac_exec_ext in '' $ac_executable_extensions; do
4972   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4973     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4975     break 2
4976   fi
4977 done
4978   done
4979 IFS=$as_save_IFS
4980
4981 fi
4982 fi
4983 RANLIB=$ac_cv_prog_RANLIB
4984 if test -n "$RANLIB"; then
4985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4986 $as_echo "$RANLIB" >&6; }
4987 else
4988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4990 fi
4991
4992
4993 fi
4994 if test -z "$ac_cv_prog_RANLIB"; then
4995   ac_ct_RANLIB=$RANLIB
4996   # Extract the first word of "ranlib", so it can be a program name with args.
4997 set dummy ranlib; ac_word=$2
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 $as_echo_n "checking for $ac_word... " >&6; }
5000 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5001   $as_echo_n "(cached) " >&6
5002 else
5003   if test -n "$ac_ct_RANLIB"; then
5004   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5008 do
5009   IFS=$as_save_IFS
5010   test -z "$as_dir" && as_dir=.
5011     for ac_exec_ext in '' $ac_executable_extensions; do
5012   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5013     ac_cv_prog_ac_ct_RANLIB="ranlib"
5014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015     break 2
5016   fi
5017 done
5018   done
5019 IFS=$as_save_IFS
5020
5021 fi
5022 fi
5023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5024 if test -n "$ac_ct_RANLIB"; then
5025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5026 $as_echo "$ac_ct_RANLIB" >&6; }
5027 else
5028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5030 fi
5031
5032   if test "x$ac_ct_RANLIB" = x; then
5033     RANLIB=":"
5034   else
5035     case $cross_compiling:$ac_tool_warned in
5036 yes:)
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5039 ac_tool_warned=yes ;;
5040 esac
5041     RANLIB=$ac_ct_RANLIB
5042   fi
5043 else
5044   RANLIB="$ac_cv_prog_RANLIB"
5045 fi
5046
5047 if test -n "$ac_tool_prefix"; then
5048   for ac_prog in ar lib "link -lib"
5049   do
5050     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_AR+:} false; then :
5055   $as_echo_n "(cached) " >&6
5056 else
5057   if test -n "$AR"; then
5058   ac_cv_prog_AR="$AR" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5062 do
5063   IFS=$as_save_IFS
5064   test -z "$as_dir" && as_dir=.
5065     for ac_exec_ext in '' $ac_executable_extensions; do
5066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069     break 2
5070   fi
5071 done
5072   done
5073 IFS=$as_save_IFS
5074
5075 fi
5076 fi
5077 AR=$ac_cv_prog_AR
5078 if test -n "$AR"; then
5079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5080 $as_echo "$AR" >&6; }
5081 else
5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5084 fi
5085
5086
5087     test -n "$AR" && break
5088   done
5089 fi
5090 if test -z "$AR"; then
5091   ac_ct_AR=$AR
5092   for ac_prog in ar lib "link -lib"
5093 do
5094   # Extract the first word of "$ac_prog", so it can be a program name with args.
5095 set dummy $ac_prog; ac_word=$2
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5097 $as_echo_n "checking for $ac_word... " >&6; }
5098 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5099   $as_echo_n "(cached) " >&6
5100 else
5101   if test -n "$ac_ct_AR"; then
5102   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5103 else
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105 for as_dir in $PATH
5106 do
5107   IFS=$as_save_IFS
5108   test -z "$as_dir" && as_dir=.
5109     for ac_exec_ext in '' $ac_executable_extensions; do
5110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111     ac_cv_prog_ac_ct_AR="$ac_prog"
5112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113     break 2
5114   fi
5115 done
5116   done
5117 IFS=$as_save_IFS
5118
5119 fi
5120 fi
5121 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5122 if test -n "$ac_ct_AR"; then
5123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5124 $as_echo "$ac_ct_AR" >&6; }
5125 else
5126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5127 $as_echo "no" >&6; }
5128 fi
5129
5130
5131   test -n "$ac_ct_AR" && break
5132 done
5133
5134   if test "x$ac_ct_AR" = x; then
5135     AR="false"
5136   else
5137     case $cross_compiling:$ac_tool_warned in
5138 yes:)
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5141 ac_tool_warned=yes ;;
5142 esac
5143     AR=$ac_ct_AR
5144   fi
5145 fi
5146
5147 : ${AR=ar}
5148
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5150 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5151 if ${am_cv_ar_interface+:} false; then :
5152   $as_echo_n "(cached) " >&6
5153 else
5154   ac_ext=c
5155 ac_cpp='$CPP $CPPFLAGS'
5156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5159
5160    am_cv_ar_interface=ar
5161    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5162 /* end confdefs.h.  */
5163 int some_variable = 0;
5164 _ACEOF
5165 if ac_fn_c_try_compile "$LINENO"; then :
5166   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5167       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5168   (eval $am_ar_try) 2>&5
5169   ac_status=$?
5170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5171   test $ac_status = 0; }
5172       if test "$ac_status" -eq 0; then
5173         am_cv_ar_interface=ar
5174       else
5175         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5176         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5177   (eval $am_ar_try) 2>&5
5178   ac_status=$?
5179   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5180   test $ac_status = 0; }
5181         if test "$ac_status" -eq 0; then
5182           am_cv_ar_interface=lib
5183         else
5184           am_cv_ar_interface=unknown
5185         fi
5186       fi
5187       rm -f conftest.lib libconftest.a
5188
5189 fi
5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5191    ac_ext=c
5192 ac_cpp='$CPP $CPPFLAGS'
5193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5196
5197 fi
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5199 $as_echo "$am_cv_ar_interface" >&6; }
5200
5201 case $am_cv_ar_interface in
5202 ar)
5203   ;;
5204 lib)
5205   # Microsoft lib, so override with the ar-lib wrapper script.
5206   # FIXME: It is wrong to rewrite AR.
5207   # But if we don't then we get into trouble of one sort or another.
5208   # A longer-term fix would be to have automake use am__AR in this case,
5209   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5210   # similar.
5211   AR="$am_aux_dir/ar-lib $AR"
5212   ;;
5213 unknown)
5214   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5215   ;;
5216 esac
5217
5218
5219 # Check whether --enable-largefile was given.
5220 if test "${enable_largefile+set}" = set; then :
5221   enableval=$enable_largefile;
5222 fi
5223
5224 if test "$enable_largefile" != no; then
5225
5226   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5227 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5228 if ${ac_cv_sys_largefile_CC+:} false; then :
5229   $as_echo_n "(cached) " >&6
5230 else
5231   ac_cv_sys_largefile_CC=no
5232      if test "$GCC" != yes; then
5233        ac_save_CC=$CC
5234        while :; do
5235          # IRIX 6.2 and later do not support large files by default,
5236          # so use the C compiler's -n32 option if that helps.
5237          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h.  */
5239 #include <sys/types.h>
5240  /* Check that off_t can represent 2**63 - 1 correctly.
5241     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5242     since some C++ compilers masquerading as C compilers
5243     incorrectly reject 9223372036854775807.  */
5244 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5245   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5246                        && LARGE_OFF_T % 2147483647 == 1)
5247                       ? 1 : -1];
5248 int
5249 main ()
5250 {
5251
5252   ;
5253   return 0;
5254 }
5255 _ACEOF
5256          if ac_fn_c_try_compile "$LINENO"; then :
5257   break
5258 fi
5259 rm -f core conftest.err conftest.$ac_objext
5260          CC="$CC -n32"
5261          if ac_fn_c_try_compile "$LINENO"; then :
5262   ac_cv_sys_largefile_CC=' -n32'; break
5263 fi
5264 rm -f core conftest.err conftest.$ac_objext
5265          break
5266        done
5267        CC=$ac_save_CC
5268        rm -f conftest.$ac_ext
5269     fi
5270 fi
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5272 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5273   if test "$ac_cv_sys_largefile_CC" != no; then
5274     CC=$CC$ac_cv_sys_largefile_CC
5275   fi
5276
5277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5278 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5279 if ${ac_cv_sys_file_offset_bits+:} false; then :
5280   $as_echo_n "(cached) " >&6
5281 else
5282   while :; do
5283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h.  */
5285 #include <sys/types.h>
5286  /* Check that off_t can represent 2**63 - 1 correctly.
5287     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5288     since some C++ compilers masquerading as C compilers
5289     incorrectly reject 9223372036854775807.  */
5290 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5291   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5292                        && LARGE_OFF_T % 2147483647 == 1)
5293                       ? 1 : -1];
5294 int
5295 main ()
5296 {
5297
5298   ;
5299   return 0;
5300 }
5301 _ACEOF
5302 if ac_fn_c_try_compile "$LINENO"; then :
5303   ac_cv_sys_file_offset_bits=no; break
5304 fi
5305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5307 /* end confdefs.h.  */
5308 #define _FILE_OFFSET_BITS 64
5309 #include <sys/types.h>
5310  /* Check that off_t can represent 2**63 - 1 correctly.
5311     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5312     since some C++ compilers masquerading as C compilers
5313     incorrectly reject 9223372036854775807.  */
5314 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5315   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5316                        && LARGE_OFF_T % 2147483647 == 1)
5317                       ? 1 : -1];
5318 int
5319 main ()
5320 {
5321
5322   ;
5323   return 0;
5324 }
5325 _ACEOF
5326 if ac_fn_c_try_compile "$LINENO"; then :
5327   ac_cv_sys_file_offset_bits=64; break
5328 fi
5329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5330   ac_cv_sys_file_offset_bits=unknown
5331   break
5332 done
5333 fi
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5335 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5336 case $ac_cv_sys_file_offset_bits in #(
5337   no | unknown) ;;
5338   *)
5339 cat >>confdefs.h <<_ACEOF
5340 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5341 _ACEOF
5342 ;;
5343 esac
5344 rm -rf conftest*
5345   if test $ac_cv_sys_file_offset_bits = unknown; then
5346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5347 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5348 if ${ac_cv_sys_large_files+:} false; then :
5349   $as_echo_n "(cached) " >&6
5350 else
5351   while :; do
5352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h.  */
5354 #include <sys/types.h>
5355  /* Check that off_t can represent 2**63 - 1 correctly.
5356     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5357     since some C++ compilers masquerading as C compilers
5358     incorrectly reject 9223372036854775807.  */
5359 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5360   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5361                        && LARGE_OFF_T % 2147483647 == 1)
5362                       ? 1 : -1];
5363 int
5364 main ()
5365 {
5366
5367   ;
5368   return 0;
5369 }
5370 _ACEOF
5371 if ac_fn_c_try_compile "$LINENO"; then :
5372   ac_cv_sys_large_files=no; break
5373 fi
5374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h.  */
5377 #define _LARGE_FILES 1
5378 #include <sys/types.h>
5379  /* Check that off_t can represent 2**63 - 1 correctly.
5380     We can't simply define LARGE_OFF_T to be 9223372036854775807,
5381     since some C++ compilers masquerading as C compilers
5382     incorrectly reject 9223372036854775807.  */
5383 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5384   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5385                        && LARGE_OFF_T % 2147483647 == 1)
5386                       ? 1 : -1];
5387 int
5388 main ()
5389 {
5390
5391   ;
5392   return 0;
5393 }
5394 _ACEOF
5395 if ac_fn_c_try_compile "$LINENO"; then :
5396   ac_cv_sys_large_files=1; break
5397 fi
5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399   ac_cv_sys_large_files=unknown
5400   break
5401 done
5402 fi
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5404 $as_echo "$ac_cv_sys_large_files" >&6; }
5405 case $ac_cv_sys_large_files in #(
5406   no | unknown) ;;
5407   *)
5408 cat >>confdefs.h <<_ACEOF
5409 #define _LARGE_FILES $ac_cv_sys_large_files
5410 _ACEOF
5411 ;;
5412 esac
5413 rm -rf conftest*
5414   fi
5415
5416
5417 fi
5418
5419
5420 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
5421 for ac_prog in aclocal
5422 do
5423   # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy $ac_prog; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_ACLOCAL+:} false; then :
5428   $as_echo_n "(cached) " >&6
5429 else
5430   if test -n "$ACLOCAL"; then
5431   ac_cv_prog_ACLOCAL="$ACLOCAL" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5435 do
5436   IFS=$as_save_IFS
5437   test -z "$as_dir" && as_dir=.
5438     for ac_exec_ext in '' $ac_executable_extensions; do
5439   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440     ac_cv_prog_ACLOCAL="$ac_prog"
5441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442     break 2
5443   fi
5444 done
5445   done
5446 IFS=$as_save_IFS
5447
5448 fi
5449 fi
5450 ACLOCAL=$ac_cv_prog_ACLOCAL
5451 if test -n "$ACLOCAL"; then
5452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ACLOCAL" >&5
5453 $as_echo "$ACLOCAL" >&6; }
5454 else
5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5457 fi
5458
5459
5460   test -n "$ACLOCAL" && break
5461 done
5462 test -n "$ACLOCAL" || ACLOCAL="$MISSING aclocal"
5463
5464 for ac_prog in autoconf
5465 do
5466   # Extract the first word of "$ac_prog", so it can be a program name with args.
5467 set dummy $ac_prog; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_AUTOCONF+:} false; then :
5471   $as_echo_n "(cached) " >&6
5472 else
5473   if test -n "$AUTOCONF"; then
5474   ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5478 do
5479   IFS=$as_save_IFS
5480   test -z "$as_dir" && as_dir=.
5481     for ac_exec_ext in '' $ac_executable_extensions; do
5482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483     ac_cv_prog_AUTOCONF="$ac_prog"
5484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485     break 2
5486   fi
5487 done
5488   done
5489 IFS=$as_save_IFS
5490
5491 fi
5492 fi
5493 AUTOCONF=$ac_cv_prog_AUTOCONF
5494 if test -n "$AUTOCONF"; then
5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
5496 $as_echo "$AUTOCONF" >&6; }
5497 else
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5500 fi
5501
5502
5503   test -n "$AUTOCONF" && break
5504 done
5505 test -n "$AUTOCONF" || AUTOCONF="$MISSING autoconf"
5506
5507 for ac_prog in autoheader
5508 do
5509   # Extract the first word of "$ac_prog", so it can be a program name with args.
5510 set dummy $ac_prog; ac_word=$2
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5512 $as_echo_n "checking for $ac_word... " >&6; }
5513 if ${ac_cv_prog_AUTOHEADER+:} false; then :
5514   $as_echo_n "(cached) " >&6
5515 else
5516   if test -n "$AUTOHEADER"; then
5517   ac_cv_prog_AUTOHEADER="$AUTOHEADER" # Let the user override the test.
5518 else
5519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 for as_dir in $PATH
5521 do
5522   IFS=$as_save_IFS
5523   test -z "$as_dir" && as_dir=.
5524     for ac_exec_ext in '' $ac_executable_extensions; do
5525   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5526     ac_cv_prog_AUTOHEADER="$ac_prog"
5527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5528     break 2
5529   fi
5530 done
5531   done
5532 IFS=$as_save_IFS
5533
5534 fi
5535 fi
5536 AUTOHEADER=$ac_cv_prog_AUTOHEADER
5537 if test -n "$AUTOHEADER"; then
5538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOHEADER" >&5
5539 $as_echo "$AUTOHEADER" >&6; }
5540 else
5541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5543 fi
5544
5545
5546   test -n "$AUTOHEADER" && break
5547 done
5548 test -n "$AUTOHEADER" || AUTOHEADER="$MISSING autoheader"
5549
5550
5551 # Figure out what compiler warnings we can enable.
5552 # See config/warnings.m4 for details.
5553
5554 ac_ext=c
5555 ac_cpp='$CPP $CPPFLAGS'
5556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5559
5560 warn=
5561 save_CFLAGS="$CFLAGS"
5562 for real_option in -W -Wall -Wno-narrowing -Wwrite-strings \
5563                           -Wmissing-format-attribute; do
5564   # Do the check with the no- prefix removed since gcc silently
5565   # accepts any -Wno-* option on purpose
5566   case $real_option in
5567     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5568     *) option=$real_option ;;
5569   esac
5570   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5571
5572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5573 $as_echo_n "checking whether $CC supports $option... " >&6; }
5574 if eval \${$as_acx_Woption+:} false; then :
5575   $as_echo_n "(cached) " >&6
5576 else
5577   CFLAGS="$option"
5578     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h.  */
5580
5581 int
5582 main ()
5583 {
5584
5585   ;
5586   return 0;
5587 }
5588 _ACEOF
5589 if ac_fn_c_try_compile "$LINENO"; then :
5590   eval "$as_acx_Woption=yes"
5591 else
5592   eval "$as_acx_Woption=no"
5593 fi
5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5595
5596 fi
5597 eval ac_res=\$$as_acx_Woption
5598                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5599 $as_echo "$ac_res" >&6; }
5600   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5601   warn="$warn${warn:+ }$real_option"
5602 fi
5603   done
5604 CFLAGS="$save_CFLAGS"
5605 ac_ext=c
5606 ac_cpp='$CPP $CPPFLAGS'
5607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5610
5611
5612 ac_ext=c
5613 ac_cpp='$CPP $CPPFLAGS'
5614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5617
5618 c_warn=
5619 save_CFLAGS="$CFLAGS"
5620 for real_option in -Wstrict-prototypes -Wmissing-prototypes \
5621                           -Wold-style-definition; do
5622   # Do the check with the no- prefix removed since gcc silently
5623   # accepts any -Wno-* option on purpose
5624   case $real_option in
5625     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5626     *) option=$real_option ;;
5627   esac
5628   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5629
5630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5631 $as_echo_n "checking whether $CC supports $option... " >&6; }
5632 if eval \${$as_acx_Woption+:} false; then :
5633   $as_echo_n "(cached) " >&6
5634 else
5635   CFLAGS="$option"
5636     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h.  */
5638
5639 int
5640 main ()
5641 {
5642
5643   ;
5644   return 0;
5645 }
5646 _ACEOF
5647 if ac_fn_c_try_compile "$LINENO"; then :
5648   eval "$as_acx_Woption=yes"
5649 else
5650   eval "$as_acx_Woption=no"
5651 fi
5652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5653
5654 fi
5655 eval ac_res=\$$as_acx_Woption
5656                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5657 $as_echo "$ac_res" >&6; }
5658   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5659   c_warn="$c_warn${c_warn:+ }$real_option"
5660 fi
5661   done
5662 CFLAGS="$save_CFLAGS"
5663 ac_ext=c
5664 ac_cpp='$CPP $CPPFLAGS'
5665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5668
5669
5670 ac_ext=c
5671 ac_cpp='$CPP $CPPFLAGS'
5672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5675
5676 WARN_PEDANTIC=
5677 # Do the check with the no- prefix removed from the warning options
5678 # since gcc silently accepts any -Wno-* option on purpose
5679 if test "$GCC" = yes; then :
5680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -pedantic -Wlong-long" >&5
5681 $as_echo_n "checking whether $CC supports -pedantic -Wlong-long... " >&6; }
5682 if ${acx_cv_prog_cc_pedantic__Wlong_long+:} false; then :
5683   $as_echo_n "(cached) " >&6
5684 else
5685   save_CFLAGS="$CFLAGS"
5686 CFLAGS="-pedantic -Wlong-long"
5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h.  */
5689
5690 int
5691 main ()
5692 {
5693
5694   ;
5695   return 0;
5696 }
5697 _ACEOF
5698 if ac_fn_c_try_compile "$LINENO"; then :
5699   acx_cv_prog_cc_pedantic__Wlong_long=yes
5700 else
5701   acx_cv_prog_cc_pedantic__Wlong_long=no
5702 fi
5703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5704 CFLAGS="$save_CFLAGS"
5705 fi
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_prog_cc_pedantic__Wlong_long" >&5
5707 $as_echo "$acx_cv_prog_cc_pedantic__Wlong_long" >&6; }
5708 if test $acx_cv_prog_cc_pedantic__Wlong_long = yes; then :
5709   WARN_PEDANTIC="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
5710 fi
5711
5712 fi
5713 ac_ext=c
5714 ac_cpp='$CPP $CPPFLAGS'
5715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5718
5719
5720
5721 # Only enable with --enable-werror-always until existing warnings are
5722 # corrected.
5723 ac_ext=c
5724 ac_cpp='$CPP $CPPFLAGS'
5725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5728
5729 WERROR=
5730 # Check whether --enable-werror-always was given.
5731 if test "${enable_werror_always+set}" = set; then :
5732   enableval=$enable_werror_always;
5733 else
5734   enable_werror_always=no
5735 fi
5736
5737 if test $enable_werror_always = yes; then :
5738   WERROR="$WERROR${WERROR:+ }-Werror"
5739 fi
5740
5741 ac_ext=c
5742 ac_cpp='$CPP $CPPFLAGS'
5743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5746
5747
5748
5749
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5751 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5752     # Check whether --enable-maintainer-mode was given.
5753 if test "${enable_maintainer_mode+set}" = set; then :
5754   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5755 else
5756   USE_MAINTAINER_MODE=no
5757 fi
5758
5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5760 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5761    if test $USE_MAINTAINER_MODE = yes; then
5762   MAINTAINER_MODE_TRUE=
5763   MAINTAINER_MODE_FALSE='#'
5764 else
5765   MAINTAINER_MODE_TRUE='#'
5766   MAINTAINER_MODE_FALSE=
5767 fi
5768
5769   MAINT=$MAINTAINER_MODE_TRUE
5770
5771
5772 ac_ext=c
5773 ac_cpp='$CPP $CPPFLAGS'
5774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5777
5778 ac_libctf_warn_cflags=
5779 save_CFLAGS="$CFLAGS"
5780 for real_option in -Wall; do
5781   # Do the check with the no- prefix removed since gcc silently
5782   # accepts any -Wno-* option on purpose
5783   case $real_option in
5784     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
5785     *) option=$real_option ;;
5786   esac
5787   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
5788
5789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
5790 $as_echo_n "checking whether $CC supports $option... " >&6; }
5791 if eval \${$as_acx_Woption+:} false; then :
5792   $as_echo_n "(cached) " >&6
5793 else
5794   CFLAGS="$option"
5795     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h.  */
5797
5798 int
5799 main ()
5800 {
5801
5802   ;
5803   return 0;
5804 }
5805 _ACEOF
5806 if ac_fn_c_try_compile "$LINENO"; then :
5807   eval "$as_acx_Woption=yes"
5808 else
5809   eval "$as_acx_Woption=no"
5810 fi
5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5812
5813 fi
5814 eval ac_res=\$$as_acx_Woption
5815                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5816 $as_echo "$ac_res" >&6; }
5817   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
5818   ac_libctf_warn_cflags="$ac_libctf_warn_cflags${ac_libctf_warn_cflags:+ }$real_option"
5819 fi
5820   done
5821 CFLAGS="$save_CFLAGS"
5822 ac_ext=c
5823 ac_cpp='$CPP $CPPFLAGS'
5824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5827
5828
5829
5830
5831
5832
5833   for ac_header in $ac_header_list
5834 do :
5835   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5836 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5837 "
5838 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5839   cat >>confdefs.h <<_ACEOF
5840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5841 _ACEOF
5842
5843 fi
5844
5845 done
5846
5847
5848
5849
5850
5851
5852
5853
5854 for ac_func in getpagesize
5855 do :
5856   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
5857 if test "x$ac_cv_func_getpagesize" = xyes; then :
5858   cat >>confdefs.h <<_ACEOF
5859 #define HAVE_GETPAGESIZE 1
5860 _ACEOF
5861
5862 fi
5863 done
5864
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
5866 $as_echo_n "checking for working mmap... " >&6; }
5867 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
5868   $as_echo_n "(cached) " >&6
5869 else
5870   if test "$cross_compiling" = yes; then :
5871   ac_cv_func_mmap_fixed_mapped=no
5872 else
5873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5874 /* end confdefs.h.  */
5875 $ac_includes_default
5876 /* malloc might have been renamed as rpl_malloc. */
5877 #undef malloc
5878
5879 /* Thanks to Mike Haertel and Jim Avera for this test.
5880    Here is a matrix of mmap possibilities:
5881         mmap private not fixed
5882         mmap private fixed at somewhere currently unmapped
5883         mmap private fixed at somewhere already mapped
5884         mmap shared not fixed
5885         mmap shared fixed at somewhere currently unmapped
5886         mmap shared fixed at somewhere already mapped
5887    For private mappings, we should verify that changes cannot be read()
5888    back from the file, nor mmap's back from the file at a different
5889    address.  (There have been systems where private was not correctly
5890    implemented like the infamous i386 svr4.0, and systems where the
5891    VM page cache was not coherent with the file system buffer cache
5892    like early versions of FreeBSD and possibly contemporary NetBSD.)
5893    For shared mappings, we should conversely verify that changes get
5894    propagated back to all the places they're supposed to be.
5895
5896    Grep wants private fixed already mapped.
5897    The main things grep needs to know about mmap are:
5898    * does it exist and is it safe to write into the mmap'd area
5899    * how to use it (BSD variants)  */
5900
5901 #include <fcntl.h>
5902 #include <sys/mman.h>
5903
5904 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
5905 char *malloc ();
5906 #endif
5907
5908 /* This mess was copied from the GNU getpagesize.h.  */
5909 #ifndef HAVE_GETPAGESIZE
5910 # ifdef _SC_PAGESIZE
5911 #  define getpagesize() sysconf(_SC_PAGESIZE)
5912 # else /* no _SC_PAGESIZE */
5913 #  ifdef HAVE_SYS_PARAM_H
5914 #   include <sys/param.h>
5915 #   ifdef EXEC_PAGESIZE
5916 #    define getpagesize() EXEC_PAGESIZE
5917 #   else /* no EXEC_PAGESIZE */
5918 #    ifdef NBPG
5919 #     define getpagesize() NBPG * CLSIZE
5920 #     ifndef CLSIZE
5921 #      define CLSIZE 1
5922 #     endif /* no CLSIZE */
5923 #    else /* no NBPG */
5924 #     ifdef NBPC
5925 #      define getpagesize() NBPC
5926 #     else /* no NBPC */
5927 #      ifdef PAGESIZE
5928 #       define getpagesize() PAGESIZE
5929 #      endif /* PAGESIZE */
5930 #     endif /* no NBPC */
5931 #    endif /* no NBPG */
5932 #   endif /* no EXEC_PAGESIZE */
5933 #  else /* no HAVE_SYS_PARAM_H */
5934 #   define getpagesize() 8192   /* punt totally */
5935 #  endif /* no HAVE_SYS_PARAM_H */
5936 # endif /* no _SC_PAGESIZE */
5937
5938 #endif /* no HAVE_GETPAGESIZE */
5939
5940 int
5941 main ()
5942 {
5943   char *data, *data2, *data3;
5944   const char *cdata2;
5945   int i, pagesize;
5946   int fd, fd2;
5947
5948   pagesize = getpagesize ();
5949
5950   /* First, make a file with some known garbage in it. */
5951   data = (char *) malloc (pagesize);
5952   if (!data)
5953     return 1;
5954   for (i = 0; i < pagesize; ++i)
5955     *(data + i) = rand ();
5956   umask (0);
5957   fd = creat ("conftest.mmap", 0600);
5958   if (fd < 0)
5959     return 2;
5960   if (write (fd, data, pagesize) != pagesize)
5961     return 3;
5962   close (fd);
5963
5964   /* Next, check that the tail of a page is zero-filled.  File must have
5965      non-zero length, otherwise we risk SIGBUS for entire page.  */
5966   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
5967   if (fd2 < 0)
5968     return 4;
5969   cdata2 = "";
5970   if (write (fd2, cdata2, 1) != 1)
5971     return 5;
5972   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
5973   if (data2 == MAP_FAILED)
5974     return 6;
5975   for (i = 0; i < pagesize; ++i)
5976     if (*(data2 + i))
5977       return 7;
5978   close (fd2);
5979   if (munmap (data2, pagesize))
5980     return 8;
5981
5982   /* Next, try to mmap the file at a fixed address which already has
5983      something else allocated at it.  If we can, also make sure that
5984      we see the same garbage.  */
5985   fd = open ("conftest.mmap", O_RDWR);
5986   if (fd < 0)
5987     return 9;
5988   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5989                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
5990     return 10;
5991   for (i = 0; i < pagesize; ++i)
5992     if (*(data + i) != *(data2 + i))
5993       return 11;
5994
5995   /* Finally, make sure that changes to the mapped area do not
5996      percolate back to the file as seen by read().  (This is a bug on
5997      some variants of i386 svr4.0.)  */
5998   for (i = 0; i < pagesize; ++i)
5999     *(data2 + i) = *(data2 + i) + 1;
6000   data3 = (char *) malloc (pagesize);
6001   if (!data3)
6002     return 12;
6003   if (read (fd, data3, pagesize) != pagesize)
6004     return 13;
6005   for (i = 0; i < pagesize; ++i)
6006     if (*(data + i) != *(data3 + i))
6007       return 14;
6008   close (fd);
6009   return 0;
6010 }
6011 _ACEOF
6012 if ac_fn_c_try_run "$LINENO"; then :
6013   ac_cv_func_mmap_fixed_mapped=yes
6014 else
6015   ac_cv_func_mmap_fixed_mapped=no
6016 fi
6017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6018   conftest.$ac_objext conftest.beam conftest.$ac_ext
6019 fi
6020
6021 fi
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6023 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6024 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6025
6026 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6027
6028 fi
6029 rm -f conftest.mmap conftest.txt
6030
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
6032 $as_echo_n "checking for library containing dlopen... " >&6; }
6033 if ${ac_cv_search_dlopen+:} false; then :
6034   $as_echo_n "(cached) " >&6
6035 else
6036   ac_func_search_save_LIBS=$LIBS
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h.  */
6039
6040 /* Override any GCC internal prototype to avoid an error.
6041    Use char because int might match the return type of a GCC
6042    builtin and then its argument prototype would still apply.  */
6043 #ifdef __cplusplus
6044 extern "C"
6045 #endif
6046 char dlopen ();
6047 int
6048 main ()
6049 {
6050 return dlopen ();
6051   ;
6052   return 0;
6053 }
6054 _ACEOF
6055 for ac_lib in '' dl; do
6056   if test -z "$ac_lib"; then
6057     ac_res="none required"
6058   else
6059     ac_res=-l$ac_lib
6060     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6061   fi
6062   if ac_fn_c_try_link "$LINENO"; then :
6063   ac_cv_search_dlopen=$ac_res
6064 fi
6065 rm -f core conftest.err conftest.$ac_objext \
6066     conftest$ac_exeext
6067   if ${ac_cv_search_dlopen+:} false; then :
6068   break
6069 fi
6070 done
6071 if ${ac_cv_search_dlopen+:} false; then :
6072
6073 else
6074   ac_cv_search_dlopen=no
6075 fi
6076 rm conftest.$ac_ext
6077 LIBS=$ac_func_search_save_LIBS
6078 fi
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
6080 $as_echo "$ac_cv_search_dlopen" >&6; }
6081 ac_res=$ac_cv_search_dlopen
6082 if test "$ac_res" != no; then :
6083   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6084
6085 fi
6086
6087
6088   # Use the system's zlib library.
6089   zlibdir="-L\$(top_builddir)/../zlib"
6090   zlibinc="-I\$(top_srcdir)/../zlib"
6091
6092 # Check whether --with-system-zlib was given.
6093 if test "${with_system_zlib+set}" = set; then :
6094   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
6095     zlibdir=
6096     zlibinc=
6097   fi
6098
6099 fi
6100
6101
6102
6103
6104
6105 # Similar to GDB_AC_CHECK_BFD.
6106 OLD_CFLAGS=$CFLAGS
6107 OLD_LDFLAGS=$LDFLAGS
6108 OLD_LIBS=$LIBS
6109 # Put the old CFLAGS/LDFLAGS last, in case the user's (C|LD)FLAGS
6110 # points somewhere with bfd, with -I/foo/lib and -L/foo/lib.  We
6111 # always want our bfd.
6112 CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
6113 ZLIBDIR=`echo $zlibdir | sed 's,\$(top_builddir)/,,g'`
6114 LDFLAGS="-L../bfd -L../libiberty $ZLIBDIR $LDFLAGS"
6115 intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
6116 LIBS="-lbfd -liberty -lz $intl $LIBS"
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF support in BFD" >&5
6118 $as_echo_n "checking for ELF support in BFD... " >&6; }
6119 if ${ac_cv_libctf_bfd_elf+:} false; then :
6120   $as_echo_n "(cached) " >&6
6121 else
6122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h.  */
6124 #include <stdlib.h>
6125              #include "bfd.h"
6126              #include "elf-bfd.h"
6127 int
6128 main ()
6129 {
6130 (void) bfd_section_from_elf_index (NULL, 0);
6131              return 0;
6132   ;
6133   return 0;
6134 }
6135 _ACEOF
6136 if ac_fn_c_try_link "$LINENO"; then :
6137   ac_cv_libctf_bfd_elf=yes
6138 else
6139   ac_cv_libctf_bfd_elf=no
6140 fi
6141 rm -f core conftest.err conftest.$ac_objext \
6142     conftest$ac_exeext conftest.$ac_ext
6143 fi
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_bfd_elf" >&5
6145 $as_echo "$ac_cv_libctf_bfd_elf" >&6; }
6146 CFLAGS=$OLD_CFLAGS
6147 LDFLAGS=$OLD_LDFLAGS
6148 LIBS=$OLD_LIBS
6149
6150 if test $ac_cv_libctf_bfd_elf = yes; then
6151
6152 $as_echo "#define HAVE_BFD_ELF 1" >>confdefs.h
6153
6154 fi
6155
6156  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
6157 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
6158 if ${ac_cv_c_bigendian+:} false; then :
6159   $as_echo_n "(cached) " >&6
6160 else
6161   ac_cv_c_bigendian=unknown
6162     # See if we're dealing with a universal compiler.
6163     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6164 /* end confdefs.h.  */
6165 #ifndef __APPLE_CC__
6166                not a universal capable compiler
6167              #endif
6168              typedef int dummy;
6169
6170 _ACEOF
6171 if ac_fn_c_try_compile "$LINENO"; then :
6172
6173         # Check for potential -arch flags.  It is not universal unless
6174         # there are at least two -arch flags with different values.
6175         ac_arch=
6176         ac_prev=
6177         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
6178          if test -n "$ac_prev"; then
6179            case $ac_word in
6180              i?86 | x86_64 | ppc | ppc64)
6181                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
6182                  ac_arch=$ac_word
6183                else
6184                  ac_cv_c_bigendian=universal
6185                  break
6186                fi
6187                ;;
6188            esac
6189            ac_prev=
6190          elif test "x$ac_word" = "x-arch"; then
6191            ac_prev=arch
6192          fi
6193        done
6194 fi
6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6196     if test $ac_cv_c_bigendian = unknown; then
6197       # See if sys/param.h defines the BYTE_ORDER macro.
6198       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h.  */
6200 #include <sys/types.h>
6201              #include <sys/param.h>
6202
6203 int
6204 main ()
6205 {
6206 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
6207                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
6208                      && LITTLE_ENDIAN)
6209               bogus endian macros
6210              #endif
6211
6212   ;
6213   return 0;
6214 }
6215 _ACEOF
6216 if ac_fn_c_try_compile "$LINENO"; then :
6217   # It does; now see whether it defined to BIG_ENDIAN or not.
6218          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6219 /* end confdefs.h.  */
6220 #include <sys/types.h>
6221                 #include <sys/param.h>
6222
6223 int
6224 main ()
6225 {
6226 #if BYTE_ORDER != BIG_ENDIAN
6227                  not big endian
6228                 #endif
6229
6230   ;
6231   return 0;
6232 }
6233 _ACEOF
6234 if ac_fn_c_try_compile "$LINENO"; then :
6235   ac_cv_c_bigendian=yes
6236 else
6237   ac_cv_c_bigendian=no
6238 fi
6239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6240 fi
6241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6242     fi
6243     if test $ac_cv_c_bigendian = unknown; then
6244       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
6245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6246 /* end confdefs.h.  */
6247 #include <limits.h>
6248
6249 int
6250 main ()
6251 {
6252 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
6253               bogus endian macros
6254              #endif
6255
6256   ;
6257   return 0;
6258 }
6259 _ACEOF
6260 if ac_fn_c_try_compile "$LINENO"; then :
6261   # It does; now see whether it defined to _BIG_ENDIAN or not.
6262          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h.  */
6264 #include <limits.h>
6265
6266 int
6267 main ()
6268 {
6269 #ifndef _BIG_ENDIAN
6270                  not big endian
6271                 #endif
6272
6273   ;
6274   return 0;
6275 }
6276 _ACEOF
6277 if ac_fn_c_try_compile "$LINENO"; then :
6278   ac_cv_c_bigendian=yes
6279 else
6280   ac_cv_c_bigendian=no
6281 fi
6282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6283 fi
6284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6285     fi
6286     if test $ac_cv_c_bigendian = unknown; then
6287       # Compile a test program.
6288       if test "$cross_compiling" = yes; then :
6289   # Try to guess by grepping values from an object file.
6290          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h.  */
6292 short int ascii_mm[] =
6293                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6294                 short int ascii_ii[] =
6295                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6296                 int use_ascii (int i) {
6297                   return ascii_mm[i] + ascii_ii[i];
6298                 }
6299                 short int ebcdic_ii[] =
6300                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6301                 short int ebcdic_mm[] =
6302                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6303                 int use_ebcdic (int i) {
6304                   return ebcdic_mm[i] + ebcdic_ii[i];
6305                 }
6306                 extern int foo;
6307
6308 int
6309 main ()
6310 {
6311 return use_ascii (foo) == use_ebcdic (foo);
6312   ;
6313   return 0;
6314 }
6315 _ACEOF
6316 if ac_fn_c_try_compile "$LINENO"; then :
6317   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
6318               ac_cv_c_bigendian=yes
6319             fi
6320             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6321               if test "$ac_cv_c_bigendian" = unknown; then
6322                 ac_cv_c_bigendian=no
6323               else
6324                 # finding both strings is unlikely to happen, but who knows?
6325                 ac_cv_c_bigendian=unknown
6326               fi
6327             fi
6328 fi
6329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6330 else
6331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6332 /* end confdefs.h.  */
6333 $ac_includes_default
6334 int
6335 main ()
6336 {
6337
6338              /* Are we little or big endian?  From Harbison&Steele.  */
6339              union
6340              {
6341                long int l;
6342                char c[sizeof (long int)];
6343              } u;
6344              u.l = 1;
6345              return u.c[sizeof (long int) - 1] == 1;
6346
6347   ;
6348   return 0;
6349 }
6350 _ACEOF
6351 if ac_fn_c_try_run "$LINENO"; then :
6352   ac_cv_c_bigendian=no
6353 else
6354   ac_cv_c_bigendian=yes
6355 fi
6356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6357   conftest.$ac_objext conftest.beam conftest.$ac_ext
6358 fi
6359
6360     fi
6361 fi
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
6363 $as_echo "$ac_cv_c_bigendian" >&6; }
6364  case $ac_cv_c_bigendian in #(
6365    yes)
6366      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
6367 ;; #(
6368    no)
6369       ;; #(
6370    universal)
6371
6372 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
6373
6374      ;; #(
6375    *)
6376      as_fn_error $? "unknown endianness
6377  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
6378  esac
6379
6380 for ac_header in byteswap.h endian.h
6381 do :
6382   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6383 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6384 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6385   cat >>confdefs.h <<_ACEOF
6386 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6387 _ACEOF
6388
6389 fi
6390
6391 done
6392
6393 for ac_func in pread
6394 do :
6395   ac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread"
6396 if test "x$ac_cv_func_pread" = xyes; then :
6397   cat >>confdefs.h <<_ACEOF
6398 #define HAVE_PREAD 1
6399 _ACEOF
6400
6401 fi
6402 done
6403
6404 ac_fn_c_check_decl "$LINENO" "qsort_r" "ac_cv_have_decl_qsort_r" "$ac_includes_default"
6405 if test "x$ac_cv_have_decl_qsort_r" = xyes; then :
6406   ac_have_decl=1
6407 else
6408   ac_have_decl=0
6409 fi
6410
6411 cat >>confdefs.h <<_ACEOF
6412 #define HAVE_DECL_QSORT_R $ac_have_decl
6413 _ACEOF
6414
6415 case " $LIBOBJS " in
6416   *" qsort_r.$ac_objext "* ) ;;
6417   *) LIBOBJS="$LIBOBJS qsort_r.$ac_objext"
6418  ;;
6419 esac
6420
6421
6422 ac_config_files="$ac_config_files Makefile"
6423
6424 ac_config_headers="$ac_config_headers config.h"
6425
6426 cat >confcache <<\_ACEOF
6427 # This file is a shell script that caches the results of configure
6428 # tests run on this system so they can be shared between configure
6429 # scripts and configure runs, see configure's option --config-cache.
6430 # It is not useful on other systems.  If it contains results you don't
6431 # want to keep, you may remove or edit it.
6432 #
6433 # config.status only pays attention to the cache file if you give it
6434 # the --recheck option to rerun configure.
6435 #
6436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6438 # following values.
6439
6440 _ACEOF
6441
6442 # The following way of writing the cache mishandles newlines in values,
6443 # but we know of no workaround that is simple, portable, and efficient.
6444 # So, we kill variables containing newlines.
6445 # Ultrix sh set writes to stderr and can't be redirected directly,
6446 # and sets the high bit in the cache file unless we assign to the vars.
6447 (
6448   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6449     eval ac_val=\$$ac_var
6450     case $ac_val in #(
6451     *${as_nl}*)
6452       case $ac_var in #(
6453       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6454 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6455       esac
6456       case $ac_var in #(
6457       _ | IFS | as_nl) ;; #(
6458       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6459       *) { eval $ac_var=; unset $ac_var;} ;;
6460       esac ;;
6461     esac
6462   done
6463
6464   (set) 2>&1 |
6465     case $as_nl`(ac_space=' '; set) 2>&1` in #(
6466     *${as_nl}ac_space=\ *)
6467       # `set' does not quote correctly, so add quotes: double-quote
6468       # substitution turns \\\\ into \\, and sed turns \\ into \.
6469       sed -n \
6470         "s/'/'\\\\''/g;
6471           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6472       ;; #(
6473     *)
6474       # `set' quotes correctly as required by POSIX, so do not add quotes.
6475       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6476       ;;
6477     esac |
6478     sort
6479 ) |
6480   sed '
6481      /^ac_cv_env_/b end
6482      t clear
6483      :clear
6484      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6485      t end
6486      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6487      :end' >>confcache
6488 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6489   if test -w "$cache_file"; then
6490     if test "x$cache_file" != "x/dev/null"; then
6491       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6492 $as_echo "$as_me: updating cache $cache_file" >&6;}
6493       if test ! -f "$cache_file" || test -h "$cache_file"; then
6494         cat confcache >"$cache_file"
6495       else
6496         case $cache_file in #(
6497         */* | ?:*)
6498           mv -f confcache "$cache_file"$$ &&
6499           mv -f "$cache_file"$$ "$cache_file" ;; #(
6500         *)
6501           mv -f confcache "$cache_file" ;;
6502         esac
6503       fi
6504     fi
6505   else
6506     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6507 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6508   fi
6509 fi
6510 rm -f confcache
6511
6512 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6513 # Let make expand exec_prefix.
6514 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6515
6516 DEFS=-DHAVE_CONFIG_H
6517
6518 ac_libobjs=
6519 ac_ltlibobjs=
6520 U=
6521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6522   # 1. Remove the extension, and $U if already installed.
6523   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6524   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6525   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
6526   #    will be set to the directory where LIBOBJS objects are built.
6527   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6528   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6529 done
6530 LIBOBJS=$ac_libobjs
6531
6532 LTLIBOBJS=$ac_ltlibobjs
6533
6534
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6536 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6537    if test -n "$am_sleep_pid"; then
6538      # Hide warnings about reused PIDs.
6539      wait $am_sleep_pid 2>/dev/null
6540    fi
6541    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6542 $as_echo "done" >&6; }
6543 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6544   as_fn_error $? "conditional \"AMDEP\" was never defined.
6545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6546 fi
6547 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6548   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6550 fi
6551  if test -n "$EXEEXT"; then
6552   am__EXEEXT_TRUE=
6553   am__EXEEXT_FALSE='#'
6554 else
6555   am__EXEEXT_TRUE='#'
6556   am__EXEEXT_FALSE=
6557 fi
6558
6559 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6560   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6562 fi
6563
6564
6565 : "${CONFIG_STATUS=./config.status}"
6566 ac_write_fail=0
6567 ac_clean_files_save=$ac_clean_files
6568 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6570 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6571 as_write_fail=0
6572 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6573 #! $SHELL
6574 # Generated by $as_me.
6575 # Run this file to recreate the current configuration.
6576 # Compiler output produced by configure, useful for debugging
6577 # configure, is in config.log if it exists.
6578
6579 debug=false
6580 ac_cs_recheck=false
6581 ac_cs_silent=false
6582
6583 SHELL=\${CONFIG_SHELL-$SHELL}
6584 export SHELL
6585 _ASEOF
6586 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6587 ## -------------------- ##
6588 ## M4sh Initialization. ##
6589 ## -------------------- ##
6590
6591 # Be more Bourne compatible
6592 DUALCASE=1; export DUALCASE # for MKS sh
6593 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6594   emulate sh
6595   NULLCMD=:
6596   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6597   # is contrary to our usage.  Disable this feature.
6598   alias -g '${1+"$@"}'='"$@"'
6599   setopt NO_GLOB_SUBST
6600 else
6601   case `(set -o) 2>/dev/null` in #(
6602   *posix*) :
6603     set -o posix ;; #(
6604   *) :
6605      ;;
6606 esac
6607 fi
6608
6609
6610 as_nl='
6611 '
6612 export as_nl
6613 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6614 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6617 # Prefer a ksh shell builtin over an external printf program on Solaris,
6618 # but without wasting forks for bash or zsh.
6619 if test -z "$BASH_VERSION$ZSH_VERSION" \
6620     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6621   as_echo='print -r --'
6622   as_echo_n='print -rn --'
6623 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6624   as_echo='printf %s\n'
6625   as_echo_n='printf %s'
6626 else
6627   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6628     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6629     as_echo_n='/usr/ucb/echo -n'
6630   else
6631     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6632     as_echo_n_body='eval
6633       arg=$1;
6634       case $arg in #(
6635       *"$as_nl"*)
6636         expr "X$arg" : "X\\(.*\\)$as_nl";
6637         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6638       esac;
6639       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6640     '
6641     export as_echo_n_body
6642     as_echo_n='sh -c $as_echo_n_body as_echo'
6643   fi
6644   export as_echo_body
6645   as_echo='sh -c $as_echo_body as_echo'
6646 fi
6647
6648 # The user is always right.
6649 if test "${PATH_SEPARATOR+set}" != set; then
6650   PATH_SEPARATOR=:
6651   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6652     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6653       PATH_SEPARATOR=';'
6654   }
6655 fi
6656
6657
6658 # IFS
6659 # We need space, tab and new line, in precisely that order.  Quoting is
6660 # there to prevent editors from complaining about space-tab.
6661 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6662 # splitting by setting IFS to empty value.)
6663 IFS=" ""        $as_nl"
6664
6665 # Find who we are.  Look in the path if we contain no directory separator.
6666 as_myself=
6667 case $0 in #((
6668   *[\\/]* ) as_myself=$0 ;;
6669   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6671 do
6672   IFS=$as_save_IFS
6673   test -z "$as_dir" && as_dir=.
6674     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6675   done
6676 IFS=$as_save_IFS
6677
6678      ;;
6679 esac
6680 # We did not find ourselves, most probably we were run as `sh COMMAND'
6681 # in which case we are not to be found in the path.
6682 if test "x$as_myself" = x; then
6683   as_myself=$0
6684 fi
6685 if test ! -f "$as_myself"; then
6686   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6687   exit 1
6688 fi
6689
6690 # Unset variables that we do not need and which cause bugs (e.g. in
6691 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
6692 # suppresses any "Segmentation fault" message there.  '((' could
6693 # trigger a bug in pdksh 5.2.14.
6694 for as_var in BASH_ENV ENV MAIL MAILPATH
6695 do eval test x\${$as_var+set} = xset \
6696   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6697 done
6698 PS1='$ '
6699 PS2='> '
6700 PS4='+ '
6701
6702 # NLS nuisances.
6703 LC_ALL=C
6704 export LC_ALL
6705 LANGUAGE=C
6706 export LANGUAGE
6707
6708 # CDPATH.
6709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6710
6711
6712 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6713 # ----------------------------------------
6714 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6715 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6716 # script with STATUS, using 1 if that was 0.
6717 as_fn_error ()
6718 {
6719   as_status=$1; test $as_status -eq 0 && as_status=1
6720   if test "$4"; then
6721     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6722     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6723   fi
6724   $as_echo "$as_me: error: $2" >&2
6725   as_fn_exit $as_status
6726 } # as_fn_error
6727
6728
6729 # as_fn_set_status STATUS
6730 # -----------------------
6731 # Set $? to STATUS, without forking.
6732 as_fn_set_status ()
6733 {
6734   return $1
6735 } # as_fn_set_status
6736
6737 # as_fn_exit STATUS
6738 # -----------------
6739 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6740 as_fn_exit ()
6741 {
6742   set +e
6743   as_fn_set_status $1
6744   exit $1
6745 } # as_fn_exit
6746
6747 # as_fn_unset VAR
6748 # ---------------
6749 # Portably unset VAR.
6750 as_fn_unset ()
6751 {
6752   { eval $1=; unset $1;}
6753 }
6754 as_unset=as_fn_unset
6755 # as_fn_append VAR VALUE
6756 # ----------------------
6757 # Append the text in VALUE to the end of the definition contained in VAR. Take
6758 # advantage of any shell optimizations that allow amortized linear growth over
6759 # repeated appends, instead of the typical quadratic growth present in naive
6760 # implementations.
6761 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6762   eval 'as_fn_append ()
6763   {
6764     eval $1+=\$2
6765   }'
6766 else
6767   as_fn_append ()
6768   {
6769     eval $1=\$$1\$2
6770   }
6771 fi # as_fn_append
6772
6773 # as_fn_arith ARG...
6774 # ------------------
6775 # Perform arithmetic evaluation on the ARGs, and store the result in the
6776 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6777 # must be portable across $(()) and expr.
6778 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6779   eval 'as_fn_arith ()
6780   {
6781     as_val=$(( $* ))
6782   }'
6783 else
6784   as_fn_arith ()
6785   {
6786     as_val=`expr "$@" || test $? -eq 1`
6787   }
6788 fi # as_fn_arith
6789
6790
6791 if expr a : '\(a\)' >/dev/null 2>&1 &&
6792    test "X`expr 00001 : '.*\(...\)'`" = X001; then
6793   as_expr=expr
6794 else
6795   as_expr=false
6796 fi
6797
6798 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6799   as_basename=basename
6800 else
6801   as_basename=false
6802 fi
6803
6804 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6805   as_dirname=dirname
6806 else
6807   as_dirname=false
6808 fi
6809
6810 as_me=`$as_basename -- "$0" ||
6811 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6812          X"$0" : 'X\(//\)$' \| \
6813          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6814 $as_echo X/"$0" |
6815     sed '/^.*\/\([^/][^/]*\)\/*$/{
6816             s//\1/
6817             q
6818           }
6819           /^X\/\(\/\/\)$/{
6820             s//\1/
6821             q
6822           }
6823           /^X\/\(\/\).*/{
6824             s//\1/
6825             q
6826           }
6827           s/.*/./; q'`
6828
6829 # Avoid depending upon Character Ranges.
6830 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6831 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6832 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6833 as_cr_digits='0123456789'
6834 as_cr_alnum=$as_cr_Letters$as_cr_digits
6835
6836 ECHO_C= ECHO_N= ECHO_T=
6837 case `echo -n x` in #(((((
6838 -n*)
6839   case `echo 'xy\c'` in
6840   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
6841   xy)  ECHO_C='\c';;
6842   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
6843        ECHO_T=' ';;
6844   esac;;
6845 *)
6846   ECHO_N='-n';;
6847 esac
6848
6849 rm -f conf$$ conf$$.exe conf$$.file
6850 if test -d conf$$.dir; then
6851   rm -f conf$$.dir/conf$$.file
6852 else
6853   rm -f conf$$.dir
6854   mkdir conf$$.dir 2>/dev/null
6855 fi
6856 if (echo >conf$$.file) 2>/dev/null; then
6857   if ln -s conf$$.file conf$$ 2>/dev/null; then
6858     as_ln_s='ln -s'
6859     # ... but there are two gotchas:
6860     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6861     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6862     # In both cases, we have to default to `cp -pR'.
6863     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6864       as_ln_s='cp -pR'
6865   elif ln conf$$.file conf$$ 2>/dev/null; then
6866     as_ln_s=ln
6867   else
6868     as_ln_s='cp -pR'
6869   fi
6870 else
6871   as_ln_s='cp -pR'
6872 fi
6873 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6874 rmdir conf$$.dir 2>/dev/null
6875
6876
6877 # as_fn_mkdir_p
6878 # -------------
6879 # Create "$as_dir" as a directory, including parents if necessary.
6880 as_fn_mkdir_p ()
6881 {
6882
6883   case $as_dir in #(
6884   -*) as_dir=./$as_dir;;
6885   esac
6886   test -d "$as_dir" || eval $as_mkdir_p || {
6887     as_dirs=
6888     while :; do
6889       case $as_dir in #(
6890       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6891       *) as_qdir=$as_dir;;
6892       esac
6893       as_dirs="'$as_qdir' $as_dirs"
6894       as_dir=`$as_dirname -- "$as_dir" ||
6895 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6896          X"$as_dir" : 'X\(//\)[^/]' \| \
6897          X"$as_dir" : 'X\(//\)$' \| \
6898          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6899 $as_echo X"$as_dir" |
6900     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6901             s//\1/
6902             q
6903           }
6904           /^X\(\/\/\)[^/].*/{
6905             s//\1/
6906             q
6907           }
6908           /^X\(\/\/\)$/{
6909             s//\1/
6910             q
6911           }
6912           /^X\(\/\).*/{
6913             s//\1/
6914             q
6915           }
6916           s/.*/./; q'`
6917       test -d "$as_dir" && break
6918     done
6919     test -z "$as_dirs" || eval "mkdir $as_dirs"
6920   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6921
6922
6923 } # as_fn_mkdir_p
6924 if mkdir -p . 2>/dev/null; then
6925   as_mkdir_p='mkdir -p "$as_dir"'
6926 else
6927   test -d ./-p && rmdir ./-p
6928   as_mkdir_p=false
6929 fi
6930
6931
6932 # as_fn_executable_p FILE
6933 # -----------------------
6934 # Test if FILE is an executable regular file.
6935 as_fn_executable_p ()
6936 {
6937   test -f "$1" && test -x "$1"
6938 } # as_fn_executable_p
6939 as_test_x='test -x'
6940 as_executable_p=as_fn_executable_p
6941
6942 # Sed expression to map a string onto a valid CPP name.
6943 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6944
6945 # Sed expression to map a string onto a valid variable name.
6946 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6947
6948
6949 exec 6>&1
6950 ## ----------------------------------- ##
6951 ## Main body of $CONFIG_STATUS script. ##
6952 ## ----------------------------------- ##
6953 _ASEOF
6954 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6955
6956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6957 # Save the log message, to keep $0 and so on meaningful, and to
6958 # report actual input values of CONFIG_FILES etc. instead of their
6959 # values after options handling.
6960 ac_log="
6961 This file was extended by libctf library $as_me 1.2.0-pre, which was
6962 generated by GNU Autoconf 2.69.  Invocation command line was
6963
6964   CONFIG_FILES    = $CONFIG_FILES
6965   CONFIG_HEADERS  = $CONFIG_HEADERS
6966   CONFIG_LINKS    = $CONFIG_LINKS
6967   CONFIG_COMMANDS = $CONFIG_COMMANDS
6968   $ $0 $@
6969
6970 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6971 "
6972
6973 _ACEOF
6974
6975 case $ac_config_files in *"
6976 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6977 esac
6978
6979 case $ac_config_headers in *"
6980 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6981 esac
6982
6983
6984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6985 # Files that config.status was made for.
6986 config_files="$ac_config_files"
6987 config_headers="$ac_config_headers"
6988 config_commands="$ac_config_commands"
6989
6990 _ACEOF
6991
6992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6993 ac_cs_usage="\
6994 \`$as_me' instantiates files and other configuration actions
6995 from templates according to the current configuration.  Unless the files
6996 and actions are specified as TAGs, all are instantiated by default.
6997
6998 Usage: $0 [OPTION]... [TAG]...
6999
7000   -h, --help       print this help, then exit
7001   -V, --version    print version number and configuration settings, then exit
7002       --config     print configuration, then exit
7003   -q, --quiet, --silent
7004                    do not print progress messages
7005   -d, --debug      don't remove temporary files
7006       --recheck    update $as_me by reconfiguring in the same conditions
7007       --file=FILE[:TEMPLATE]
7008                    instantiate the configuration file FILE
7009       --header=FILE[:TEMPLATE]
7010                    instantiate the configuration header FILE
7011
7012 Configuration files:
7013 $config_files
7014
7015 Configuration headers:
7016 $config_headers
7017
7018 Configuration commands:
7019 $config_commands
7020
7021 Report bugs to the package provider."
7022
7023 _ACEOF
7024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7025 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7026 ac_cs_version="\\
7027 libctf library config.status 1.2.0-pre
7028 configured by $0, generated by GNU Autoconf 2.69,
7029   with options \\"\$ac_cs_config\\"
7030
7031 Copyright (C)  Free Software Foundation, Inc.
7032 This config.status script is free software; the Free Software Foundation
7033 gives unlimited permission to copy, distribute and modify it."
7034
7035 ac_pwd='$ac_pwd'
7036 srcdir='$srcdir'
7037 INSTALL='$INSTALL'
7038 MKDIR_P='$MKDIR_P'
7039 AWK='$AWK'
7040 test -n "\$AWK" || AWK=awk
7041 _ACEOF
7042
7043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7044 # The default lists apply if the user does not specify any file.
7045 ac_need_defaults=:
7046 while test $# != 0
7047 do
7048   case $1 in
7049   --*=?*)
7050     ac_option=`expr "X$1" : 'X\([^=]*\)='`
7051     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7052     ac_shift=:
7053     ;;
7054   --*=)
7055     ac_option=`expr "X$1" : 'X\([^=]*\)='`
7056     ac_optarg=
7057     ac_shift=:
7058     ;;
7059   *)
7060     ac_option=$1
7061     ac_optarg=$2
7062     ac_shift=shift
7063     ;;
7064   esac
7065
7066   case $ac_option in
7067   # Handling of the options.
7068   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7069     ac_cs_recheck=: ;;
7070   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7071     $as_echo "$ac_cs_version"; exit ;;
7072   --config | --confi | --conf | --con | --co | --c )
7073     $as_echo "$ac_cs_config"; exit ;;
7074   --debug | --debu | --deb | --de | --d | -d )
7075     debug=: ;;
7076   --file | --fil | --fi | --f )
7077     $ac_shift
7078     case $ac_optarg in
7079     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7080     '') as_fn_error $? "missing file argument" ;;
7081     esac
7082     as_fn_append CONFIG_FILES " '$ac_optarg'"
7083     ac_need_defaults=false;;
7084   --header | --heade | --head | --hea )
7085     $ac_shift
7086     case $ac_optarg in
7087     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7088     esac
7089     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7090     ac_need_defaults=false;;
7091   --he | --h)
7092     # Conflict between --help and --header
7093     as_fn_error $? "ambiguous option: \`$1'
7094 Try \`$0 --help' for more information.";;
7095   --help | --hel | -h )
7096     $as_echo "$ac_cs_usage"; exit ;;
7097   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7098   | -silent | --silent | --silen | --sile | --sil | --si | --s)
7099     ac_cs_silent=: ;;
7100
7101   # This is an error.
7102   -*) as_fn_error $? "unrecognized option: \`$1'
7103 Try \`$0 --help' for more information." ;;
7104
7105   *) as_fn_append ac_config_targets " $1"
7106      ac_need_defaults=false ;;
7107
7108   esac
7109   shift
7110 done
7111
7112 ac_configure_extra_args=
7113
7114 if $ac_cs_silent; then
7115   exec 6>/dev/null
7116   ac_configure_extra_args="$ac_configure_extra_args --silent"
7117 fi
7118
7119 _ACEOF
7120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7121 if \$ac_cs_recheck; then
7122   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7123   shift
7124   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7125   CONFIG_SHELL='$SHELL'
7126   export CONFIG_SHELL
7127   exec "\$@"
7128 fi
7129
7130 _ACEOF
7131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7132 exec 5>>config.log
7133 {
7134   echo
7135   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7136 ## Running $as_me. ##
7137 _ASBOX
7138   $as_echo "$ac_log"
7139 } >&5
7140
7141 _ACEOF
7142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7143 #
7144 # INIT-COMMANDS
7145 #
7146 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7147
7148 _ACEOF
7149
7150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7151
7152 # Handling of arguments.
7153 for ac_config_target in $ac_config_targets
7154 do
7155   case $ac_config_target in
7156     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7157     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7158     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7159
7160   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7161   esac
7162 done
7163
7164
7165 # If the user did not use the arguments to specify the items to instantiate,
7166 # then the envvar interface is used.  Set only those that are not.
7167 # We use the long form for the default assignment because of an extremely
7168 # bizarre bug on SunOS 4.1.3.
7169 if $ac_need_defaults; then
7170   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7171   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7172   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7173 fi
7174
7175 # Have a temporary directory for convenience.  Make it in the build tree
7176 # simply because there is no reason against having it here, and in addition,
7177 # creating and moving files from /tmp can sometimes cause problems.
7178 # Hook for its removal unless debugging.
7179 # Note that there is a small window in which the directory will not be cleaned:
7180 # after its creation but before its name has been assigned to `$tmp'.
7181 $debug ||
7182 {
7183   tmp= ac_tmp=
7184   trap 'exit_status=$?
7185   : "${ac_tmp:=$tmp}"
7186   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7187 ' 0
7188   trap 'as_fn_exit 1' 1 2 13 15
7189 }
7190 # Create a (secure) tmp directory for tmp files.
7191
7192 {
7193   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7194   test -d "$tmp"
7195 }  ||
7196 {
7197   tmp=./conf$$-$RANDOM
7198   (umask 077 && mkdir "$tmp")
7199 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7200 ac_tmp=$tmp
7201
7202 # Set up the scripts for CONFIG_FILES section.
7203 # No need to generate them if there are no CONFIG_FILES.
7204 # This happens for instance with `./config.status config.h'.
7205 if test -n "$CONFIG_FILES"; then
7206
7207
7208 ac_cr=`echo X | tr X '\015'`
7209 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7210 # But we know of no other shell where ac_cr would be empty at this
7211 # point, so we can use a bashism as a fallback.
7212 if test "x$ac_cr" = x; then
7213   eval ac_cr=\$\'\\r\'
7214 fi
7215 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7216 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7217   ac_cs_awk_cr='\\r'
7218 else
7219   ac_cs_awk_cr=$ac_cr
7220 fi
7221
7222 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7223 _ACEOF
7224
7225
7226 {
7227   echo "cat >conf$$subs.awk <<_ACEOF" &&
7228   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7229   echo "_ACEOF"
7230 } >conf$$subs.sh ||
7231   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7232 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7233 ac_delim='%!_!# '
7234 for ac_last_try in false false false false false :; do
7235   . ./conf$$subs.sh ||
7236     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7237
7238   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7239   if test $ac_delim_n = $ac_delim_num; then
7240     break
7241   elif $ac_last_try; then
7242     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7243   else
7244     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7245   fi
7246 done
7247 rm -f conf$$subs.sh
7248
7249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7250 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7251 _ACEOF
7252 sed -n '
7253 h
7254 s/^/S["/; s/!.*/"]=/
7255 p
7256 g
7257 s/^[^!]*!//
7258 :repl
7259 t repl
7260 s/'"$ac_delim"'$//
7261 t delim
7262 :nl
7263 h
7264 s/\(.\{148\}\)..*/\1/
7265 t more1
7266 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7267 p
7268 n
7269 b repl
7270 :more1
7271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7272 p
7273 g
7274 s/.\{148\}//
7275 t nl
7276 :delim
7277 h
7278 s/\(.\{148\}\)..*/\1/
7279 t more2
7280 s/["\\]/\\&/g; s/^/"/; s/$/"/
7281 p
7282 b
7283 :more2
7284 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7285 p
7286 g
7287 s/.\{148\}//
7288 t delim
7289 ' <conf$$subs.awk | sed '
7290 /^[^""]/{
7291   N
7292   s/\n//
7293 }
7294 ' >>$CONFIG_STATUS || ac_write_fail=1
7295 rm -f conf$$subs.awk
7296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7297 _ACAWK
7298 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7299   for (key in S) S_is_set[key] = 1
7300   FS = "\a"
7301
7302 }
7303 {
7304   line = $ 0
7305   nfields = split(line, field, "@")
7306   substed = 0
7307   len = length(field[1])
7308   for (i = 2; i < nfields; i++) {
7309     key = field[i]
7310     keylen = length(key)
7311     if (S_is_set[key]) {
7312       value = S[key]
7313       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7314       len += length(value) + length(field[++i])
7315       substed = 1
7316     } else
7317       len += 1 + keylen
7318   }
7319
7320   print line
7321 }
7322
7323 _ACAWK
7324 _ACEOF
7325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7326 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7327   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7328 else
7329   cat
7330 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7331   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7332 _ACEOF
7333
7334 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7335 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7336 # trailing colons and then remove the whole line if VPATH becomes empty
7337 # (actually we leave an empty line to preserve line numbers).
7338 if test "x$srcdir" = x.; then
7339   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
7340 h
7341 s///
7342 s/^/:/
7343 s/[      ]*$/:/
7344 s/:\$(srcdir):/:/g
7345 s/:\${srcdir}:/:/g
7346 s/:@srcdir@:/:/g
7347 s/^:*//
7348 s/:*$//
7349 x
7350 s/\(=[   ]*\).*/\1/
7351 G
7352 s/\n//
7353 s/^[^=]*=[       ]*$//
7354 }'
7355 fi
7356
7357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7358 fi # test -n "$CONFIG_FILES"
7359
7360 # Set up the scripts for CONFIG_HEADERS section.
7361 # No need to generate them if there are no CONFIG_HEADERS.
7362 # This happens for instance with `./config.status Makefile'.
7363 if test -n "$CONFIG_HEADERS"; then
7364 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7365 BEGIN {
7366 _ACEOF
7367
7368 # Transform confdefs.h into an awk script `defines.awk', embedded as
7369 # here-document in config.status, that substitutes the proper values into
7370 # config.h.in to produce config.h.
7371
7372 # Create a delimiter string that does not exist in confdefs.h, to ease
7373 # handling of long lines.
7374 ac_delim='%!_!# '
7375 for ac_last_try in false false :; do
7376   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7377   if test -z "$ac_tt"; then
7378     break
7379   elif $ac_last_try; then
7380     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7381   else
7382     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7383   fi
7384 done
7385
7386 # For the awk script, D is an array of macro values keyed by name,
7387 # likewise P contains macro parameters if any.  Preserve backslash
7388 # newline sequences.
7389
7390 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7391 sed -n '
7392 s/.\{148\}/&'"$ac_delim"'/g
7393 t rset
7394 :rset
7395 s/^[     ]*#[    ]*define[       ][      ]*/ /
7396 t def
7397 d
7398 :def
7399 s/\\$//
7400 t bsnl
7401 s/["\\]/\\&/g
7402 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
7403 D["\1"]=" \3"/p
7404 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
7405 d
7406 :bsnl
7407 s/["\\]/\\&/g
7408 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
7409 D["\1"]=" \3\\\\\\n"\\/p
7410 t cont
7411 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7412 t cont
7413 d
7414 :cont
7415 n
7416 s/.\{148\}/&'"$ac_delim"'/g
7417 t clear
7418 :clear
7419 s/\\$//
7420 t bsnlc
7421 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7422 d
7423 :bsnlc
7424 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7425 b cont
7426 ' <confdefs.h | sed '
7427 s/'"$ac_delim"'/"\\\
7428 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7429
7430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7431   for (key in D) D_is_set[key] = 1
7432   FS = "\a"
7433 }
7434 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7435   line = \$ 0
7436   split(line, arg, " ")
7437   if (arg[1] == "#") {
7438     defundef = arg[2]
7439     mac1 = arg[3]
7440   } else {
7441     defundef = substr(arg[1], 2)
7442     mac1 = arg[2]
7443   }
7444   split(mac1, mac2, "(") #)
7445   macro = mac2[1]
7446   prefix = substr(line, 1, index(line, defundef) - 1)
7447   if (D_is_set[macro]) {
7448     # Preserve the white space surrounding the "#".
7449     print prefix "define", macro P[macro] D[macro]
7450     next
7451   } else {
7452     # Replace #undef with comments.  This is necessary, for example,
7453     # in the case of _POSIX_SOURCE, which is predefined and required
7454     # on some systems where configure will not decide to define it.
7455     if (defundef == "undef") {
7456       print "/*", prefix defundef, macro, "*/"
7457       next
7458     }
7459   }
7460 }
7461 { print }
7462 _ACAWK
7463 _ACEOF
7464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7465   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7466 fi # test -n "$CONFIG_HEADERS"
7467
7468
7469 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
7470 shift
7471 for ac_tag
7472 do
7473   case $ac_tag in
7474   :[FHLC]) ac_mode=$ac_tag; continue;;
7475   esac
7476   case $ac_mode$ac_tag in
7477   :[FHL]*:*);;
7478   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7479   :[FH]-) ac_tag=-:-;;
7480   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7481   esac
7482   ac_save_IFS=$IFS
7483   IFS=:
7484   set x $ac_tag
7485   IFS=$ac_save_IFS
7486   shift
7487   ac_file=$1
7488   shift
7489
7490   case $ac_mode in
7491   :L) ac_source=$1;;
7492   :[FH])
7493     ac_file_inputs=
7494     for ac_f
7495     do
7496       case $ac_f in
7497       -) ac_f="$ac_tmp/stdin";;
7498       *) # Look for the file first in the build tree, then in the source tree
7499          # (if the path is not absolute).  The absolute path cannot be DOS-style,
7500          # because $ac_f cannot contain `:'.
7501          test -f "$ac_f" ||
7502            case $ac_f in
7503            [\\/$]*) false;;
7504            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7505            esac ||
7506            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7507       esac
7508       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7509       as_fn_append ac_file_inputs " '$ac_f'"
7510     done
7511
7512     # Let's still pretend it is `configure' which instantiates (i.e., don't
7513     # use $as_me), people would be surprised to read:
7514     #    /* config.h.  Generated by config.status.  */
7515     configure_input='Generated from '`
7516           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7517         `' by configure.'
7518     if test x"$ac_file" != x-; then
7519       configure_input="$ac_file.  $configure_input"
7520       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7521 $as_echo "$as_me: creating $ac_file" >&6;}
7522     fi
7523     # Neutralize special characters interpreted by sed in replacement strings.
7524     case $configure_input in #(
7525     *\&* | *\|* | *\\* )
7526        ac_sed_conf_input=`$as_echo "$configure_input" |
7527        sed 's/[\\\\&|]/\\\\&/g'`;; #(
7528     *) ac_sed_conf_input=$configure_input;;
7529     esac
7530
7531     case $ac_tag in
7532     *:-:* | *:-) cat >"$ac_tmp/stdin" \
7533       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7534     esac
7535     ;;
7536   esac
7537
7538   ac_dir=`$as_dirname -- "$ac_file" ||
7539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7540          X"$ac_file" : 'X\(//\)[^/]' \| \
7541          X"$ac_file" : 'X\(//\)$' \| \
7542          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7543 $as_echo X"$ac_file" |
7544     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7545             s//\1/
7546             q
7547           }
7548           /^X\(\/\/\)[^/].*/{
7549             s//\1/
7550             q
7551           }
7552           /^X\(\/\/\)$/{
7553             s//\1/
7554             q
7555           }
7556           /^X\(\/\).*/{
7557             s//\1/
7558             q
7559           }
7560           s/.*/./; q'`
7561   as_dir="$ac_dir"; as_fn_mkdir_p
7562   ac_builddir=.
7563
7564 case "$ac_dir" in
7565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7566 *)
7567   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7568   # A ".." for each directory in $ac_dir_suffix.
7569   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7570   case $ac_top_builddir_sub in
7571   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7572   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7573   esac ;;
7574 esac
7575 ac_abs_top_builddir=$ac_pwd
7576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7577 # for backward compatibility:
7578 ac_top_builddir=$ac_top_build_prefix
7579
7580 case $srcdir in
7581   .)  # We are building in place.
7582     ac_srcdir=.
7583     ac_top_srcdir=$ac_top_builddir_sub
7584     ac_abs_top_srcdir=$ac_pwd ;;
7585   [\\/]* | ?:[\\/]* )  # Absolute name.
7586     ac_srcdir=$srcdir$ac_dir_suffix;
7587     ac_top_srcdir=$srcdir
7588     ac_abs_top_srcdir=$srcdir ;;
7589   *) # Relative name.
7590     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7591     ac_top_srcdir=$ac_top_build_prefix$srcdir
7592     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7593 esac
7594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7595
7596
7597   case $ac_mode in
7598   :F)
7599   #
7600   # CONFIG_FILE
7601   #
7602
7603   case $INSTALL in
7604   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7605   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7606   esac
7607   ac_MKDIR_P=$MKDIR_P
7608   case $MKDIR_P in
7609   [\\/$]* | ?:[\\/]* ) ;;
7610   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7611   esac
7612 _ACEOF
7613
7614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7615 # If the template does not know about datarootdir, expand it.
7616 # FIXME: This hack should be removed a few years after 2.60.
7617 ac_datarootdir_hack=; ac_datarootdir_seen=
7618 ac_sed_dataroot='
7619 /datarootdir/ {
7620   p
7621   q
7622 }
7623 /@datadir@/p
7624 /@docdir@/p
7625 /@infodir@/p
7626 /@localedir@/p
7627 /@mandir@/p'
7628 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7629 *datarootdir*) ac_datarootdir_seen=yes;;
7630 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7631   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7632 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7633 _ACEOF
7634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7635   ac_datarootdir_hack='
7636   s&@datadir@&$datadir&g
7637   s&@docdir@&$docdir&g
7638   s&@infodir@&$infodir&g
7639   s&@localedir@&$localedir&g
7640   s&@mandir@&$mandir&g
7641   s&\\\${datarootdir}&$datarootdir&g' ;;
7642 esac
7643 _ACEOF
7644
7645 # Neutralize VPATH when `$srcdir' = `.'.
7646 # Shell code in configure.ac might set extrasub.
7647 # FIXME: do we really want to maintain this feature?
7648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7649 ac_sed_extra="$ac_vpsub
7650 $extrasub
7651 _ACEOF
7652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7653 :t
7654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7655 s|@configure_input@|$ac_sed_conf_input|;t t
7656 s&@top_builddir@&$ac_top_builddir_sub&;t t
7657 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7658 s&@srcdir@&$ac_srcdir&;t t
7659 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7660 s&@top_srcdir@&$ac_top_srcdir&;t t
7661 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7662 s&@builddir@&$ac_builddir&;t t
7663 s&@abs_builddir@&$ac_abs_builddir&;t t
7664 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7665 s&@INSTALL@&$ac_INSTALL&;t t
7666 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7667 $ac_datarootdir_hack
7668 "
7669 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7670   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7671
7672 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7673   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7674   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
7675       "$ac_tmp/out"`; test -z "$ac_out"; } &&
7676   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7677 which seems to be undefined.  Please make sure it is defined" >&5
7678 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7679 which seems to be undefined.  Please make sure it is defined" >&2;}
7680
7681   rm -f "$ac_tmp/stdin"
7682   case $ac_file in
7683   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7684   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7685   esac \
7686   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7687  ;;
7688   :H)
7689   #
7690   # CONFIG_HEADER
7691   #
7692   if test x"$ac_file" != x-; then
7693     {
7694       $as_echo "/* $configure_input  */" \
7695       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7696     } >"$ac_tmp/config.h" \
7697       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7698     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7699       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7700 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7701     else
7702       rm -f "$ac_file"
7703       mv "$ac_tmp/config.h" "$ac_file" \
7704         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7705     fi
7706   else
7707     $as_echo "/* $configure_input  */" \
7708       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7709       || as_fn_error $? "could not create -" "$LINENO" 5
7710   fi
7711 # Compute "$ac_file"'s index in $config_headers.
7712 _am_arg="$ac_file"
7713 _am_stamp_count=1
7714 for _am_header in $config_headers :; do
7715   case $_am_header in
7716     $_am_arg | $_am_arg:* )
7717       break ;;
7718     * )
7719       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7720   esac
7721 done
7722 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7723 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7724          X"$_am_arg" : 'X\(//\)[^/]' \| \
7725          X"$_am_arg" : 'X\(//\)$' \| \
7726          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7727 $as_echo X"$_am_arg" |
7728     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7729             s//\1/
7730             q
7731           }
7732           /^X\(\/\/\)[^/].*/{
7733             s//\1/
7734             q
7735           }
7736           /^X\(\/\/\)$/{
7737             s//\1/
7738             q
7739           }
7740           /^X\(\/\).*/{
7741             s//\1/
7742             q
7743           }
7744           s/.*/./; q'`/stamp-h$_am_stamp_count
7745  ;;
7746
7747   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7748 $as_echo "$as_me: executing $ac_file commands" >&6;}
7749  ;;
7750   esac
7751
7752
7753   case $ac_file$ac_mode in
7754     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7755   # Older Autoconf quotes --file arguments for eval, but not when files
7756   # are listed without --file.  Let's play safe and only enable the eval
7757   # if we detect the quoting.
7758   case $CONFIG_FILES in
7759   *\'*) eval set x "$CONFIG_FILES" ;;
7760   *)   set x $CONFIG_FILES ;;
7761   esac
7762   shift
7763   for mf
7764   do
7765     # Strip MF so we end up with the name of the file.
7766     mf=`echo "$mf" | sed -e 's/:.*$//'`
7767     # Check whether this is an Automake generated Makefile or not.
7768     # We used to match only the files named 'Makefile.in', but
7769     # some people rename them; so instead we look at the file content.
7770     # Grep'ing the first line is not enough: some people post-process
7771     # each Makefile.in and add a new line on top of each file to say so.
7772     # Grep'ing the whole file is not good either: AIX grep has a line
7773     # limit of 2048, but all sed's we know have understand at least 4000.
7774     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7775       dirpart=`$as_dirname -- "$mf" ||
7776 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7777          X"$mf" : 'X\(//\)[^/]' \| \
7778          X"$mf" : 'X\(//\)$' \| \
7779          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7780 $as_echo X"$mf" |
7781     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7782             s//\1/
7783             q
7784           }
7785           /^X\(\/\/\)[^/].*/{
7786             s//\1/
7787             q
7788           }
7789           /^X\(\/\/\)$/{
7790             s//\1/
7791             q
7792           }
7793           /^X\(\/\).*/{
7794             s//\1/
7795             q
7796           }
7797           s/.*/./; q'`
7798     else
7799       continue
7800     fi
7801     # Extract the definition of DEPDIR, am__include, and am__quote
7802     # from the Makefile without running 'make'.
7803     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7804     test -z "$DEPDIR" && continue
7805     am__include=`sed -n 's/^am__include = //p' < "$mf"`
7806     test -z "$am__include" && continue
7807     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7808     # Find all dependency output files, they are included files with
7809     # $(DEPDIR) in their names.  We invoke sed twice because it is the
7810     # simplest approach to changing $(DEPDIR) to its actual value in the
7811     # expansion.
7812     for file in `sed -n "
7813       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7814          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7815       # Make sure the directory exists.
7816       test -f "$dirpart/$file" && continue
7817       fdir=`$as_dirname -- "$file" ||
7818 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7819          X"$file" : 'X\(//\)[^/]' \| \
7820          X"$file" : 'X\(//\)$' \| \
7821          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7822 $as_echo X"$file" |
7823     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7824             s//\1/
7825             q
7826           }
7827           /^X\(\/\/\)[^/].*/{
7828             s//\1/
7829             q
7830           }
7831           /^X\(\/\/\)$/{
7832             s//\1/
7833             q
7834           }
7835           /^X\(\/\).*/{
7836             s//\1/
7837             q
7838           }
7839           s/.*/./; q'`
7840       as_dir=$dirpart/$fdir; as_fn_mkdir_p
7841       # echo "creating $dirpart/$file"
7842       echo '# dummy' > "$dirpart/$file"
7843     done
7844   done
7845 }
7846  ;;
7847
7848   esac
7849 done # for ac_tag
7850
7851
7852 as_fn_exit 0
7853 _ACEOF
7854 ac_clean_files=$ac_clean_files_save
7855
7856 test $ac_write_fail = 0 ||
7857   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7858
7859
7860 # configure is writing to config.log, and then calls config.status.
7861 # config.status does its own redirection, appending to config.log.
7862 # Unfortunately, on DOS this fails, as config.log is still kept open
7863 # by configure, so config.status won't be able to write to it; its
7864 # output is simply discarded.  So we exec the FD to /dev/null,
7865 # effectively closing config.log, so it can be properly (re)opened and
7866 # appended to by config.status.  When coming back to configure, we
7867 # need to make the FD available again.
7868 if test "$no_create" != yes; then
7869   ac_cs_success=:
7870   ac_config_status_args=
7871   test "$silent" = yes &&
7872     ac_config_status_args="$ac_config_status_args --quiet"
7873   exec 5>/dev/null
7874   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7875   exec 5>>config.log
7876   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7877   # would make configure fail if this is the last instruction.
7878   $ac_cs_success || as_fn_exit 1
7879 fi
7880 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7881   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7882 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7883 fi
7884