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