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