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