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