2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for elfutils 0.155.
5 # Report bugs to <https://bugzilla.redhat.com/>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
16 # Copyright (C) 1996-2012 Red Hat, Inc.
17 ## -------------------- ##
18 ## M4sh Initialization. ##
19 ## -------------------- ##
21 # Be more Bourne compatible
22 DUALCASE=1; export DUALCASE # for MKS sh
23 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
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+"$@"}'='"$@"'
31 case `(set -o) 2>/dev/null` in #(
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 # Prefer a ksh shell builtin over an external printf program on Solaris,
48 # but without wasting forks for bash or zsh.
49 if test -z "$BASH_VERSION$ZSH_VERSION" \
50 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo_n='print -rn --'
53 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
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'
61 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66 expr "X$arg" : "X\\(.*\\)$as_nl";
67 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
69 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72 as_echo_n='sh -c $as_echo_n_body as_echo'
75 as_echo='sh -c $as_echo_body as_echo'
78 # The user is always right.
79 if test "${PATH_SEPARATOR+set}" != set; then
81 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
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.)
95 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 # Unset variables that we do not need and which cause bugs (e.g. in
121 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
122 # suppresses any "Segmentation fault" message there. '((' could
123 # trigger a bug in pdksh 5.2.14.
124 for as_var in BASH_ENV ENV MAIL MAILPATH
125 do eval test x\${$as_var+set} = xset \
126 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
139 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
141 if test "x$CONFIG_SHELL" = x; then
142 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
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+\"\$@\"}'='\"\$@\"'
150 case \`(set -o) 2>/dev/null\` in #(
158 as_required="as_fn_return () { (exit \$1); }
159 as_fn_success () { as_fn_return 0; }
160 as_fn_failure () { as_fn_return 1; }
161 as_fn_ret_success () { return 0; }
162 as_fn_ret_failure () { return 1; }
165 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
166 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
167 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
168 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
169 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
172 exitcode=1; echo positional parameters were not saved.
174 test x\$exitcode = x0 || exit 1"
175 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
176 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
177 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
178 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
179 if (eval "$as_required") 2>/dev/null; then :
184 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
189 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 test -z "$as_dir" && as_dir=.
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 :
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
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.
224 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
227 *v*x* | *x*v* ) as_opts=-vx ;;
232 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
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."
242 $as_echo "$0: Please tell bug-autoconf@gnu.org and
243 $0: https://bugzilla.redhat.com/ about your system,
244 $0: including any error possibly output before this
245 $0: message. Then install a modern shell, or manually run
246 $0: the script under such a shell if you do have one."
252 SHELL=${CONFIG_SHELL-/bin/sh}
254 # Unset more variables known to interfere with behavior of common tools.
255 CLICOLOR_FORCE= GREP_OPTIONS=
256 unset CLICOLOR_FORCE GREP_OPTIONS
258 ## --------------------- ##
259 ## M4sh Shell Functions. ##
260 ## --------------------- ##
263 # Portably unset VAR.
266 { eval $1=; unset $1;}
270 # as_fn_set_status STATUS
271 # -----------------------
272 # Set $? to STATUS, without forking.
280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
290 # Create "$as_dir" as a directory, including parents if necessary.
295 -*) as_dir=./$as_dir;;
297 test -d "$as_dir" || eval $as_mkdir_p || {
301 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
328 test -d "$as_dir" && break
330 test -z "$as_dirs" || eval "mkdir $as_dirs"
331 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
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
341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
342 eval 'as_fn_append ()
355 # Perform arithmetic evaluation on the ARGs, and store the result in the
356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
357 # must be portable across $(()) and expr.
358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 as_val=`expr "$@" || test $? -eq 1`
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.
378 as_status=$1; test $as_status -eq 0 && as_status=1
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
383 $as_echo "$as_me: error: $2" >&2
384 as_fn_exit $as_status
387 if expr a : '\(a\)' >/dev/null 2>&1 &&
388 test "X`expr 00001 : '.*\(...\)'`" = X001; then
394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
406 as_me=`$as_basename -- "$0" ||
407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
408 X"$0" : 'X\(//\)$' \| \
409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
411 sed '/^.*\/\([^/][^/]*\)\/*$/{
425 # Avoid depending upon Character Ranges.
426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
429 as_cr_digits='0123456789'
430 as_cr_alnum=$as_cr_Letters$as_cr_digits
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. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
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; }
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).
460 # Exit status is that of the last command.
464 ECHO_C= ECHO_N= ECHO_T=
465 case `echo -n x` in #(((((
467 case `echo 'xy\c'` in
468 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
470 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
477 rm -f conf$$ conf$$.exe conf$$.file
478 if test -d conf$$.dir; then
479 rm -f conf$$.dir/conf$$.file
482 mkdir conf$$.dir 2>/dev/null
484 if (echo >conf$$.file) 2>/dev/null; then
485 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
493 elif ln conf$$.file conf$$ 2>/dev/null; then
501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
502 rmdir conf$$.dir 2>/dev/null
504 if mkdir -p . 2>/dev/null; then
505 as_mkdir_p='mkdir -p "$as_dir"'
507 test -d ./-p && rmdir ./-p
511 if test -x / >/dev/null 2>&1; then
514 if ls -dL / >/dev/null 2>&1; then
521 if test -d "$1"; then
527 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
528 ???[sx]*):;;*)false;;esac;fi
532 as_executable_p=$as_test_x
534 # Sed expression to map a string onto a valid CPP name.
535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
537 # Sed expression to map a string onto a valid variable name.
538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
541 test -n "$DJDIR" || exec 7<&0 </dev/null
545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
546 # so uname gets run too.
547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
552 ac_default_prefix=/usr/local
554 ac_config_libobj_dir=.
561 # Identity of this package.
562 PACKAGE_NAME='elfutils'
563 PACKAGE_TARNAME='elfutils'
564 PACKAGE_VERSION='0.155'
565 PACKAGE_STRING='elfutils 0.155'
566 PACKAGE_BUGREPORT='https://bugzilla.redhat.com/'
569 ac_unique_file="libelf/libelf.h"
570 ac_subst_vars='am__EXEEXT_FALSE
575 XGETTEXT_EXTRA_OPTIONS
583 GETTEXT_MACRO_VERSION
652 MAINTAINER_MODE_FALSE
662 INSTALL_STRIP_PROGRAM
704 program_transform_name
717 enable_option_checking
718 enable_maintainer_mode
719 enable_deterministic_archives
722 enable_dependency_tracking
736 ac_precious_vars='build_alias
748 # Initialize some variables set by options.
750 ac_init_version=false
751 ac_unrecognized_opts=
753 # The variables have the same names as the options, with
754 # dashes changed to underlines.
762 program_transform_name=s,x,x,
770 # Installation directory options.
771 # These are left unexpanded so users can "make install exec_prefix=/foo"
772 # and all the variables that are supposed to be based on exec_prefix
773 # by default will actually change.
774 # Use braces instead of parens because sh, perl, etc. also accept them.
775 # (The list follows the same order as the GNU Coding Standards.)
776 bindir='${exec_prefix}/bin'
777 sbindir='${exec_prefix}/sbin'
778 libexecdir='${exec_prefix}/libexec'
779 datarootdir='${prefix}/share'
780 datadir='${datarootdir}'
781 sysconfdir='${prefix}/etc'
782 sharedstatedir='${prefix}/com'
783 localstatedir='${prefix}/var'
784 includedir='${prefix}/include'
785 oldincludedir='/usr/include'
786 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
787 infodir='${datarootdir}/info'
792 libdir='${exec_prefix}/lib'
793 localedir='${datarootdir}/locale'
794 mandir='${datarootdir}/man'
800 # If the previous option needs an argument, assign it.
801 if test -n "$ac_prev"; then
802 eval $ac_prev=\$ac_option
808 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
813 # Accept the important Cygnus configure options, so we can diagnose typos.
815 case $ac_dashdash$ac_option in
819 -bindir | --bindir | --bindi | --bind | --bin | --bi)
821 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
824 -build | --build | --buil | --bui | --bu)
825 ac_prev=build_alias ;;
826 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
827 build_alias=$ac_optarg ;;
829 -cache-file | --cache-file | --cache-fil | --cache-fi \
830 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
831 ac_prev=cache_file ;;
832 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
833 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
834 cache_file=$ac_optarg ;;
837 cache_file=config.cache ;;
839 -datadir | --datadir | --datadi | --datad)
841 -datadir=* | --datadir=* | --datadi=* | --datad=*)
842 datadir=$ac_optarg ;;
844 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
845 | --dataroo | --dataro | --datar)
846 ac_prev=datarootdir ;;
847 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
848 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
849 datarootdir=$ac_optarg ;;
851 -disable-* | --disable-*)
852 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
853 # Reject names that are not valid shell variable names.
854 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
855 as_fn_error $? "invalid feature name: $ac_useropt"
856 ac_useropt_orig=$ac_useropt
857 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
858 case $ac_user_opts in
862 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
863 ac_unrecognized_sep=', ';;
865 eval enable_$ac_useropt=no ;;
867 -docdir | --docdir | --docdi | --doc | --do)
869 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
872 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
874 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
877 -enable-* | --enable-*)
878 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
881 as_fn_error $? "invalid feature name: $ac_useropt"
882 ac_useropt_orig=$ac_useropt
883 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
884 case $ac_user_opts in
888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
889 ac_unrecognized_sep=', ';;
891 eval enable_$ac_useropt=\$ac_optarg ;;
893 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
894 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
895 | --exec | --exe | --ex)
896 ac_prev=exec_prefix ;;
897 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
898 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
899 | --exec=* | --exe=* | --ex=*)
900 exec_prefix=$ac_optarg ;;
902 -gas | --gas | --ga | --g)
903 # Obsolete; use --with-gas.
906 -help | --help | --hel | --he | -h)
908 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
909 ac_init_help=recursive ;;
910 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
911 ac_init_help=short ;;
913 -host | --host | --hos | --ho)
914 ac_prev=host_alias ;;
915 -host=* | --host=* | --hos=* | --ho=*)
916 host_alias=$ac_optarg ;;
918 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
920 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
922 htmldir=$ac_optarg ;;
924 -includedir | --includedir | --includedi | --included | --include \
925 | --includ | --inclu | --incl | --inc)
926 ac_prev=includedir ;;
927 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
928 | --includ=* | --inclu=* | --incl=* | --inc=*)
929 includedir=$ac_optarg ;;
931 -infodir | --infodir | --infodi | --infod | --info | --inf)
933 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
934 infodir=$ac_optarg ;;
936 -libdir | --libdir | --libdi | --libd)
938 -libdir=* | --libdir=* | --libdi=* | --libd=*)
941 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
942 | --libexe | --libex | --libe)
943 ac_prev=libexecdir ;;
944 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
945 | --libexe=* | --libex=* | --libe=*)
946 libexecdir=$ac_optarg ;;
948 -localedir | --localedir | --localedi | --localed | --locale)
950 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
951 localedir=$ac_optarg ;;
953 -localstatedir | --localstatedir | --localstatedi | --localstated \
954 | --localstate | --localstat | --localsta | --localst | --locals)
955 ac_prev=localstatedir ;;
956 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
957 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
958 localstatedir=$ac_optarg ;;
960 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
962 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
966 # Obsolete; use --without-fp.
969 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
970 | --no-cr | --no-c | -n)
973 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
974 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
977 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
978 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
979 | --oldin | --oldi | --old | --ol | --o)
980 ac_prev=oldincludedir ;;
981 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
982 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
983 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
984 oldincludedir=$ac_optarg ;;
986 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
988 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
991 -program-prefix | --program-prefix | --program-prefi | --program-pref \
992 | --program-pre | --program-pr | --program-p)
993 ac_prev=program_prefix ;;
994 -program-prefix=* | --program-prefix=* | --program-prefi=* \
995 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
996 program_prefix=$ac_optarg ;;
998 -program-suffix | --program-suffix | --program-suffi | --program-suff \
999 | --program-suf | --program-su | --program-s)
1000 ac_prev=program_suffix ;;
1001 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1002 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1003 program_suffix=$ac_optarg ;;
1005 -program-transform-name | --program-transform-name \
1006 | --program-transform-nam | --program-transform-na \
1007 | --program-transform-n | --program-transform- \
1008 | --program-transform | --program-transfor \
1009 | --program-transfo | --program-transf \
1010 | --program-trans | --program-tran \
1011 | --progr-tra | --program-tr | --program-t)
1012 ac_prev=program_transform_name ;;
1013 -program-transform-name=* | --program-transform-name=* \
1014 | --program-transform-nam=* | --program-transform-na=* \
1015 | --program-transform-n=* | --program-transform-=* \
1016 | --program-transform=* | --program-transfor=* \
1017 | --program-transfo=* | --program-transf=* \
1018 | --program-trans=* | --program-tran=* \
1019 | --progr-tra=* | --program-tr=* | --program-t=*)
1020 program_transform_name=$ac_optarg ;;
1022 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1024 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1025 pdfdir=$ac_optarg ;;
1027 -psdir | --psdir | --psdi | --psd | --ps)
1029 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1032 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1033 | -silent | --silent | --silen | --sile | --sil)
1036 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1038 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1040 sbindir=$ac_optarg ;;
1042 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1043 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1044 | --sharedst | --shareds | --shared | --share | --shar \
1046 ac_prev=sharedstatedir ;;
1047 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1048 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1049 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1051 sharedstatedir=$ac_optarg ;;
1053 -site | --site | --sit)
1055 -site=* | --site=* | --sit=*)
1058 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1060 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1061 srcdir=$ac_optarg ;;
1063 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1064 | --syscon | --sysco | --sysc | --sys | --sy)
1065 ac_prev=sysconfdir ;;
1066 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1067 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1068 sysconfdir=$ac_optarg ;;
1070 -target | --target | --targe | --targ | --tar | --ta | --t)
1071 ac_prev=target_alias ;;
1072 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1073 target_alias=$ac_optarg ;;
1075 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1078 -version | --version | --versio | --versi | --vers | -V)
1079 ac_init_version=: ;;
1082 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085 as_fn_error $? "invalid package name: $ac_useropt"
1086 ac_useropt_orig=$ac_useropt
1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1093 ac_unrecognized_sep=', ';;
1095 eval with_$ac_useropt=\$ac_optarg ;;
1097 -without-* | --without-*)
1098 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 as_fn_error $? "invalid package name: $ac_useropt"
1102 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1109 ac_unrecognized_sep=', ';;
1111 eval with_$ac_useropt=no ;;
1114 # Obsolete; use --with-x.
1117 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1118 | --x-incl | --x-inc | --x-in | --x-i)
1119 ac_prev=x_includes ;;
1120 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1121 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1122 x_includes=$ac_optarg ;;
1124 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1125 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1126 ac_prev=x_libraries ;;
1127 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1128 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1129 x_libraries=$ac_optarg ;;
1131 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1132 Try \`$0 --help' for more information"
1136 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1137 # Reject names that are not valid shell variable names.
1138 case $ac_envvar in #(
1139 '' | [0-9]* | *[!_$as_cr_alnum]* )
1140 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1142 eval $ac_envvar=\$ac_optarg
1143 export $ac_envvar ;;
1146 # FIXME: should be removed in autoconf 3.0.
1147 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1149 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1150 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1156 if test -n "$ac_prev"; then
1157 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1158 as_fn_error $? "missing argument to $ac_option"
1161 if test -n "$ac_unrecognized_opts"; then
1162 case $enable_option_checking in
1164 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1165 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1169 # Check all directory arguments for consistency.
1170 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1171 datadir sysconfdir sharedstatedir localstatedir includedir \
1172 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1173 libdir localedir mandir
1175 eval ac_val=\$$ac_var
1176 # Remove trailing slashes.
1179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1180 eval $ac_var=\$ac_val;;
1182 # Be sure to have absolute directory names.
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used" >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 as_fn_error $? "working directory cannot be determined"
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 as_fn_error $? "pwd does not report name of working directory"
1222 # Find the source files, if location was not specified.
1223 if test -z "$srcdir"; then
1224 ac_srcdir_defaulted=yes
1225 # Try the directory containing this script, then the parent directory.
1226 ac_confdir=`$as_dirname -- "$as_myself" ||
1227 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1228 X"$as_myself" : 'X\(//\)[^/]' \| \
1229 X"$as_myself" : 'X\(//\)$' \| \
1230 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1231 $as_echo X"$as_myself" |
1232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1250 if test ! -r "$srcdir/$ac_unique_file"; then
1254 ac_srcdir_defaulted=no
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1258 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1260 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1264 # When building in place, set srcdir=.
1265 if test "$ac_abs_confdir" = "$ac_pwd"; then
1268 # Remove unnecessary trailing slashes from srcdir.
1269 # Double slashes in file names in object file debugging info
1270 # mess up M-x gdb in Emacs.
1272 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1274 for ac_var in $ac_precious_vars; do
1275 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1276 eval ac_env_${ac_var}_value=\$${ac_var}
1277 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1278 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 # Report the --help message.
1284 if test "$ac_init_help" = "long"; then
1285 # Omit some internal or obsolete options to make the list less imposing.
1286 # This message is too long to be a string in the A/UX 3.1 sh.
1288 \`configure' configures elfutils 0.155 to adapt to many kinds of systems.
1290 Usage: $0 [OPTION]... [VAR=VALUE]...
1292 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1293 VAR=VALUE. See below for descriptions of some of the useful variables.
1295 Defaults for the options are specified in brackets.
1298 -h, --help display this help and exit
1299 --help=short display options specific to this package
1300 --help=recursive display the short help of all the included packages
1301 -V, --version display version information and exit
1302 -q, --quiet, --silent do not print \`checking ...' messages
1303 --cache-file=FILE cache test results in FILE [disabled]
1304 -C, --config-cache alias for \`--cache-file=config.cache'
1305 -n, --no-create do not create output files
1306 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1308 Installation directories:
1309 --prefix=PREFIX install architecture-independent files in PREFIX
1310 [$ac_default_prefix]
1311 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1314 By default, \`make install' will install all the files in
1315 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1316 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1317 for instance \`--prefix=\$HOME'.
1319 For better control, use the options below.
1321 Fine tuning of the installation directories:
1322 --bindir=DIR user executables [EPREFIX/bin]
1323 --sbindir=DIR system admin executables [EPREFIX/sbin]
1324 --libexecdir=DIR program executables [EPREFIX/libexec]
1325 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1326 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1327 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1328 --libdir=DIR object code libraries [EPREFIX/lib]
1329 --includedir=DIR C header files [PREFIX/include]
1330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1333 --infodir=DIR info documentation [DATAROOTDIR/info]
1334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1335 --mandir=DIR man documentation [DATAROOTDIR/man]
1336 --docdir=DIR documentation root [DATAROOTDIR/doc/elfutils]
1337 --htmldir=DIR html documentation [DOCDIR]
1338 --dvidir=DIR dvi documentation [DOCDIR]
1339 --pdfdir=DIR pdf documentation [DOCDIR]
1340 --psdir=DIR ps documentation [DOCDIR]
1346 --program-prefix=PREFIX prepend PREFIX to installed program names
1347 --program-suffix=SUFFIX append SUFFIX to installed program names
1348 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1351 --build=BUILD configure for building on BUILD [guessed]
1352 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 if test -n "$ac_init_help"; then
1357 case $ac_init_help in
1358 short | recursive ) echo "Configuration of elfutils 0.155:";;
1363 --disable-option-checking ignore unrecognized --enable/--with options
1364 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1365 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1366 --enable-maintainer-mode enable make rules and dependencies not useful
1367 (and sometimes confusing) to the casual installer
1368 --enable-deterministic-archives
1369 ar and ranlib default to -D behavior
1370 --enable-thread-safety enable thread safety of libraries
1371 --enable-dwz enable experimental GNU ref_alt FORM, dwz multi file
1373 --disable-dependency-tracking speeds up one-time build
1374 --enable-dependency-tracking do not reject slow dependency extractors
1375 --disable-largefile omit support for large files
1376 --disable-generic do not build generic linker
1377 --enable-mudflap build binaries with mudflap instrumentation
1378 --enable-debugpred build binaries with support to debug branch
1380 --enable-gprof build binaries with gprof support
1381 --enable-gcov build binaries with gcov support
1382 --enable-tests-rpath build $ORIGIN-using rpath into tests
1383 --enable-libebl-subdir=DIR
1384 install libebl_CPU modules in $(libdir)/DIR
1385 --disable-nls do not use Native Language Support
1388 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1389 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1390 --with-zlib support [zlib] compression in libdwfl
1391 --with-bzlib support [bzlib] compression in libdwfl
1392 --with-lzma support [lzma] compression in libdwfl
1394 Some influential environment variables:
1395 CC C compiler command
1396 CFLAGS C compiler flags
1397 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1398 nonstandard directory <lib dir>
1399 LIBS libraries to pass to the linker, e.g. -l<library>
1400 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1401 you have headers in a nonstandard directory <include dir>
1402 YACC The `Yet Another Compiler Compiler' implementation to use.
1403 Defaults to the first program found out of: `bison -y', `byacc',
1405 YFLAGS The list of arguments that will be passed by default to $YACC.
1406 This script will default YFLAGS to the empty string to avoid a
1407 default value of `-d' given by some make applications.
1409 Use these variables to override the choices made by `configure' or to help
1410 it to find libraries and programs with nonstandard names/locations.
1412 Report bugs to <https://bugzilla.redhat.com/>.
1417 if test "$ac_init_help" = "recursive"; then
1418 # If there are subdirs, report their specific --help.
1419 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1420 test -d "$ac_dir" ||
1421 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1428 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1429 # A ".." for each directory in $ac_dir_suffix.
1430 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1431 case $ac_top_builddir_sub in
1432 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436 ac_abs_top_builddir=$ac_pwd
1437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1438 # for backward compatibility:
1439 ac_top_builddir=$ac_top_build_prefix
1442 .) # We are building in place.
1444 ac_top_srcdir=$ac_top_builddir_sub
1445 ac_abs_top_srcdir=$ac_pwd ;;
1446 [\\/]* | ?:[\\/]* ) # Absolute name.
1447 ac_srcdir=$srcdir$ac_dir_suffix;
1448 ac_top_srcdir=$srcdir
1449 ac_abs_top_srcdir=$srcdir ;;
1451 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1452 ac_top_srcdir=$ac_top_build_prefix$srcdir
1453 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1457 cd "$ac_dir" || { ac_status=$?; continue; }
1458 # Check for guested configure.
1459 if test -f "$ac_srcdir/configure.gnu"; then
1461 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1462 elif test -f "$ac_srcdir/configure"; then
1464 $SHELL "$ac_srcdir/configure" --help=recursive
1466 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1468 cd "$ac_pwd" || { ac_status=$?; break; }
1472 test -n "$ac_init_help" && exit $ac_status
1473 if $ac_init_version; then
1475 elfutils configure 0.155
1476 generated by GNU Autoconf 2.68
1478 Copyright (C) 2010 Free Software Foundation, Inc.
1479 This configure script is free software; the Free Software Foundation
1480 gives unlimited permission to copy, distribute and modify it.
1482 Copyright (C) 1996-2012 Red Hat, Inc.
1487 ## ------------------------ ##
1488 ## Autoconf initialization. ##
1489 ## ------------------------ ##
1491 # ac_fn_c_try_compile LINENO
1492 # --------------------------
1493 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1494 ac_fn_c_try_compile ()
1496 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497 rm -f conftest.$ac_objext
1498 if { { ac_try="$ac_compile"
1500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501 *) ac_try_echo=$ac_try;;
1503 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504 $as_echo "$ac_try_echo"; } >&5
1505 (eval "$ac_compile") 2>conftest.err
1507 if test -s conftest.err; then
1508 grep -v '^ *+' conftest.err >conftest.er1
1509 cat conftest.er1 >&5
1510 mv -f conftest.er1 conftest.err
1512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513 test $ac_status = 0; } && {
1514 test -z "$ac_c_werror_flag" ||
1515 test ! -s conftest.err
1516 } && test -s conftest.$ac_objext; then :
1519 $as_echo "$as_me: failed program was:" >&5
1520 sed 's/^/| /' conftest.$ac_ext >&5
1524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1525 as_fn_set_status $ac_retval
1527 } # ac_fn_c_try_compile
1529 # ac_fn_c_try_link LINENO
1530 # -----------------------
1531 # Try to link conftest.$ac_ext, and return whether this succeeded.
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext conftest$ac_exeext
1536 if { { ac_try="$ac_link"
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_link") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest$ac_exeext && {
1555 test "$cross_compiling" = yes ||
1556 $as_test_x conftest$ac_exeext
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1565 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1566 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1567 # interfere with the next link command; also delete a directory that is
1568 # left behind by Apple's compiler. We do this before executing the actions.
1569 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1570 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1571 as_fn_set_status $ac_retval
1573 } # ac_fn_c_try_link
1574 cat >config.log <<_ACEOF
1575 This file contains any messages produced by compilers while
1576 running configure, to aid debugging if configure makes a mistake.
1578 It was created by elfutils $as_me 0.155, which was
1579 generated by GNU Autoconf 2.68. Invocation command line was
1591 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1592 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1593 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1594 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1595 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1597 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1598 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1600 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1601 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1602 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1603 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1604 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1605 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1606 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir=.
1615 $as_echo "PATH: $as_dir"
1631 # Keep a trace of the command line.
1632 # Strip out --no-create and --no-recursion so they do not pile up.
1633 # Strip out --silent because we don't want to record it for future runs.
1634 # Also quote any args containing shell meta-characters.
1635 # Make two passes to allow for proper duplicate-argument suppression.
1639 ac_must_keep_next=false
1645 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1646 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1647 | -silent | --silent | --silen | --sile | --sil)
1650 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1653 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1655 as_fn_append ac_configure_args1 " '$ac_arg'"
1656 if test $ac_must_keep_next = true; then
1657 ac_must_keep_next=false # Got value, back to normal.
1660 *=* | --config-cache | -C | -disable-* | --disable-* \
1661 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1662 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1663 | -with-* | --with-* | -without-* | --without-* | --x)
1664 case "$ac_configure_args0 " in
1665 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1668 -* ) ac_must_keep_next=true ;;
1671 as_fn_append ac_configure_args " '$ac_arg'"
1676 { ac_configure_args0=; unset ac_configure_args0;}
1677 { ac_configure_args1=; unset ac_configure_args1;}
1679 # When interrupted or exit'd, cleanup temporary files, and complete
1680 # config.log. We remove comments because anyway the quotes in there
1681 # would cause problems or look ugly.
1682 # WARNING: Use '\'' to represent an apostrophe within the trap.
1683 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1684 trap 'exit_status=$?
1685 # Save into config.log some information that might help in debugging.
1689 $as_echo "## ---------------- ##
1690 ## Cache variables. ##
1691 ## ---------------- ##"
1693 # The following way of writing the cache mishandles newlines in values,
1695 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1696 eval ac_val=\$$ac_var
1700 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1701 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1704 _ | IFS | as_nl) ;; #(
1705 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1706 *) { eval $ac_var=; unset $ac_var;} ;;
1711 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1712 *${as_nl}ac_space=\ *)
1714 "s/'\''/'\''\\\\'\'''\''/g;
1715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1718 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1725 $as_echo "## ----------------- ##
1726 ## Output variables. ##
1727 ## ----------------- ##"
1729 for ac_var in $ac_subst_vars
1731 eval ac_val=\$$ac_var
1733 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1735 $as_echo "$ac_var='\''$ac_val'\''"
1739 if test -n "$ac_subst_files"; then
1740 $as_echo "## ------------------- ##
1741 ## File substitutions. ##
1742 ## ------------------- ##"
1744 for ac_var in $ac_subst_files
1746 eval ac_val=\$$ac_var
1748 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1750 $as_echo "$ac_var='\''$ac_val'\''"
1755 if test -s confdefs.h; then
1756 $as_echo "## ----------- ##
1763 test "$ac_signal" != 0 &&
1764 $as_echo "$as_me: caught signal $ac_signal"
1765 $as_echo "$as_me: exit $exit_status"
1767 rm -f core *.core core.conftest.* &&
1768 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1771 for ac_signal in 1 2 13 15; do
1772 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1776 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1777 rm -f -r conftest* confdefs.h
1779 $as_echo "/* confdefs.h */" > confdefs.h
1781 # Predefined preprocessor variables.
1783 cat >>confdefs.h <<_ACEOF
1784 #define PACKAGE_NAME "$PACKAGE_NAME"
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1791 cat >>confdefs.h <<_ACEOF
1792 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_STRING "$PACKAGE_STRING"
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1803 cat >>confdefs.h <<_ACEOF
1804 #define PACKAGE_URL "$PACKAGE_URL"
1808 # Let the site file select an alternate cache file if it wants to.
1809 # Prefer an explicitly selected file to automatically selected ones.
1812 if test -n "$CONFIG_SITE"; then
1813 # We do not want a PATH search for config.site.
1814 case $CONFIG_SITE in #((
1815 -*) ac_site_file1=./$CONFIG_SITE;;
1816 */*) ac_site_file1=$CONFIG_SITE;;
1817 *) ac_site_file1=./$CONFIG_SITE;;
1819 elif test "x$prefix" != xNONE; then
1820 ac_site_file1=$prefix/share/config.site
1821 ac_site_file2=$prefix/etc/config.site
1823 ac_site_file1=$ac_default_prefix/share/config.site
1824 ac_site_file2=$ac_default_prefix/etc/config.site
1826 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1828 test "x$ac_site_file" = xNONE && continue
1829 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1831 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1832 sed 's/^/| /' "$ac_site_file" >&5
1834 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1835 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1836 as_fn_error $? "failed to load site script $ac_site_file
1837 See \`config.log' for more details" "$LINENO" 5; }
1841 if test -r "$cache_file"; then
1842 # Some versions of bash will fail to source /dev/null (special files
1843 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1844 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1846 $as_echo "$as_me: loading cache $cache_file" >&6;}
1848 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1849 *) . "./$cache_file";;
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1854 $as_echo "$as_me: creating cache $cache_file" >&6;}
1858 # Check that the precious variables saved in the cache have kept the same
1860 ac_cache_corrupted=false
1861 for ac_var in $ac_precious_vars; do
1862 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1863 eval ac_new_set=\$ac_env_${ac_var}_set
1864 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1865 eval ac_new_val=\$ac_env_${ac_var}_value
1866 case $ac_old_set,$ac_new_set in
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1869 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1870 ac_cache_corrupted=: ;;
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1873 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1874 ac_cache_corrupted=: ;;
1877 if test "x$ac_old_val" != "x$ac_new_val"; then
1878 # differences in whitespace do not lead to failure.
1879 ac_old_val_w=`echo x $ac_old_val`
1880 ac_new_val_w=`echo x $ac_new_val`
1881 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1883 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1884 ac_cache_corrupted=:
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1887 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1888 eval $ac_var=\$ac_old_val
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1891 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1893 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1896 # Pass precious variables to config.status.
1897 if test "$ac_new_set" = set; then
1899 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1900 *) ac_arg=$ac_var=$ac_new_val ;;
1902 case " $ac_configure_args " in
1903 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1904 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1908 if $ac_cache_corrupted; then
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1910 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1912 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1913 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1915 ## -------------------- ##
1916 ## Main body of script. ##
1917 ## -------------------- ##
1920 ac_cpp='$CPP $CPPFLAGS'
1921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1928 for ac_dir in config "$srcdir"/config; do
1929 if test -f "$ac_dir/install-sh"; then
1931 ac_install_sh="$ac_aux_dir/install-sh -c"
1933 elif test -f "$ac_dir/install.sh"; then
1935 ac_install_sh="$ac_aux_dir/install.sh -c"
1937 elif test -f "$ac_dir/shtool"; then
1939 ac_install_sh="$ac_aux_dir/shtool install -c"
1943 if test -z "$ac_aux_dir"; then
1944 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1947 # These three variables are undocumented and unsupported,
1948 # and are intended to be withdrawn in a future Autoconf release.
1949 # They can cause serious problems if a builder's source tree is in a directory
1950 # whose full name contains unusual characters.
1951 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1952 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1953 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1956 ac_config_files="$ac_config_files config/Makefile"
1961 am__api_version='1.11'
1963 # Find a good install program. We prefer a C program (faster),
1964 # so one script is as good as another. But avoid the broken or
1965 # incompatible versions:
1966 # SysV /etc/install, /usr/sbin/install
1967 # SunOS /usr/etc/install
1968 # IRIX /sbin/install
1970 # AmigaOS /C/install, which installs bootblocks on floppy discs
1971 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1972 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1973 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1974 # OS/2's system install, which has a completely different semantic
1975 # ./install, which can be erroneously created by make from ./install.sh.
1976 # Reject install programs that cannot install multiple files.
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1978 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1979 if test -z "$INSTALL"; then
1980 if ${ac_cv_path_install+:} false; then :
1981 $as_echo_n "(cached) " >&6
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir=.
1988 # Account for people who put trailing slashes in PATH elements.
1989 case $as_dir/ in #((
1990 ./ | .// | /[cC]/* | \
1991 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1992 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1995 # OSF1 and SCO ODT 3.0 have their own names for install.
1996 # Don't use installbsd from OSF since it installs stuff as root
1998 for ac_prog in ginstall scoinst install; do
1999 for ac_exec_ext in '' $ac_executable_extensions; do
2000 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2001 if test $ac_prog = install &&
2002 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2003 # AIX install. It has an incompatible calling convention.
2005 elif test $ac_prog = install &&
2006 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2007 # program-specific install script used by HP pwplus--don't use.
2010 rm -rf conftest.one conftest.two conftest.dir
2011 echo one > conftest.one
2012 echo two > conftest.two
2014 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2015 test -s conftest.one && test -s conftest.two &&
2016 test -s conftest.dir/conftest.one &&
2017 test -s conftest.dir/conftest.two
2019 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2032 rm -rf conftest.one conftest.two conftest.dir
2035 if test "${ac_cv_path_install+set}" = set; then
2036 INSTALL=$ac_cv_path_install
2038 # As a last resort, use the slow shell script. Don't cache a
2039 # value for INSTALL within a source directory, because that will
2040 # break other packages using the cache if that directory is
2041 # removed, or if the value is a relative name.
2042 INSTALL=$ac_install_sh
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2046 $as_echo "$INSTALL" >&6; }
2048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2049 # It thinks the first close brace ends the variable substitution.
2050 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2052 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2054 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2057 $as_echo_n "checking whether build environment is sane... " >&6; }
2060 echo timestamp > conftest.file
2061 # Reject unsafe characters in $srcdir or the absolute working directory
2062 # name. Accept space and tab only in the latter.
2066 *[\\\"\#\$\&\'\`$am_lf]*)
2067 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2070 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2071 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2074 # Do `set' in a subshell so we don't clobber the current shell's
2075 # arguments. Must try -L first in case configure is actually a
2076 # symlink; some systems play weird games with the mod time of symlinks
2077 # (eg FreeBSD returns the mod time of the symlink's containing
2080 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2081 if test "$*" = "X"; then
2083 set X `ls -t "$srcdir/configure" conftest.file`
2086 if test "$*" != "X $srcdir/configure conftest.file" \
2087 && test "$*" != "X conftest.file $srcdir/configure"; then
2089 # If neither matched, then we have a broken ls. This can happen
2090 # if, for instance, CONFIG_SHELL is bash and it inherits a
2091 # broken ls alias from the environment. This has actually
2092 # happened. Such a system could not be considered "sane".
2093 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2094 alias in your environment" "$LINENO" 5
2097 test "$2" = conftest.file
2103 as_fn_error $? "newly created file is older than distributed files!
2104 Check your system clock" "$LINENO" 5
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2107 $as_echo "yes" >&6; }
2108 test "$program_prefix" != NONE &&
2109 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2110 # Use a double $ so make ignores it.
2111 test "$program_suffix" != NONE &&
2112 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2113 # Double any \ or $.
2114 # By default was `s,x,x', remove it if useless.
2115 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2116 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2118 # expand $ac_aux_dir to an absolute path
2119 am_aux_dir=`cd $ac_aux_dir && pwd`
2121 if test x"${MISSING+set}" != xset; then
2124 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2126 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2129 # Use eval to expand $SHELL
2130 if eval "$MISSING --run true"; then
2131 am_missing_run="$MISSING --run "
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2135 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2138 if test x"${install_sh}" != xset; then
2141 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2143 install_sh="\${SHELL} $am_aux_dir/install-sh"
2147 # Installed binaries are usually stripped using `strip' when the user
2148 # run `make install-strip'. However `strip' might not be the right
2149 # tool to use in cross-compilation environments, therefore Automake
2150 # will honor the `STRIP' environment variable to overrule this program.
2151 if test "$cross_compiling" != no; then
2152 if test -n "$ac_tool_prefix"; then
2153 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2154 set dummy ${ac_tool_prefix}strip; ac_word=$2
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2156 $as_echo_n "checking for $ac_word... " >&6; }
2157 if ${ac_cv_prog_STRIP+:} false; then :
2158 $as_echo_n "(cached) " >&6
2160 if test -n "$STRIP"; then
2161 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2170 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 STRIP=$ac_cv_prog_STRIP
2181 if test -n "$STRIP"; then
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2183 $as_echo "$STRIP" >&6; }
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2186 $as_echo "no" >&6; }
2191 if test -z "$ac_cv_prog_STRIP"; then
2193 # Extract the first word of "strip", so it can be a program name with args.
2194 set dummy strip; ac_word=$2
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2196 $as_echo_n "checking for $ac_word... " >&6; }
2197 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2198 $as_echo_n "(cached) " >&6
2200 if test -n "$ac_ct_STRIP"; then
2201 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2210 ac_cv_prog_ac_ct_STRIP="strip"
2211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2220 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2221 if test -n "$ac_ct_STRIP"; then
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2223 $as_echo "$ac_ct_STRIP" >&6; }
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2226 $as_echo "no" >&6; }
2229 if test "x$ac_ct_STRIP" = x; then
2232 case $cross_compiling:$ac_tool_warned in
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2236 ac_tool_warned=yes ;;
2241 STRIP="$ac_cv_prog_STRIP"
2245 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2248 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2249 if test -z "$MKDIR_P"; then
2250 if ${ac_cv_path_mkdir+:} false; then :
2251 $as_echo_n "(cached) " >&6
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2257 test -z "$as_dir" && as_dir=.
2258 for ac_prog in mkdir gmkdir; do
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2261 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2262 'mkdir (GNU coreutils) '* | \
2263 'mkdir (coreutils) '* | \
2264 'mkdir (fileutils) '4.1*)
2265 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2275 test -d ./--version && rmdir ./--version
2276 if test "${ac_cv_path_mkdir+set}" = set; then
2277 MKDIR_P="$ac_cv_path_mkdir -p"
2279 # As a last resort, use the slow shell script. Don't cache a
2280 # value for MKDIR_P within a source directory, because that will
2281 # break other packages using the cache if that directory is
2282 # removed, or if the value is a relative name.
2283 MKDIR_P="$ac_install_sh -d"
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2287 $as_echo "$MKDIR_P" >&6; }
2291 [\\/$]* | ?:[\\/]*) ;;
2292 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2295 for ac_prog in gawk mawk nawk awk
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2300 $as_echo_n "checking for $ac_word... " >&6; }
2301 if ${ac_cv_prog_AWK+:} false; then :
2302 $as_echo_n "(cached) " >&6
2304 if test -n "$AWK"; then
2305 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2314 ac_cv_prog_AWK="$ac_prog"
2315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 if test -n "$AWK"; then
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2327 $as_echo "$AWK" >&6; }
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2330 $as_echo "no" >&6; }
2334 test -n "$AWK" && break
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2338 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2340 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2341 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2342 $as_echo_n "(cached) " >&6
2344 cat >conftest.make <<\_ACEOF
2347 @echo '@@@%%%=$(MAKE)=@@@%%%'
2349 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2350 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2352 eval ac_cv_prog_make_${ac_make}_set=yes;;
2354 eval ac_cv_prog_make_${ac_make}_set=no;;
2358 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2360 $as_echo "yes" >&6; }
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2364 $as_echo "no" >&6; }
2365 SET_MAKE="MAKE=${MAKE-make}"
2368 rm -rf .tst 2>/dev/null
2369 mkdir .tst 2>/dev/null
2370 if test -d .tst; then
2375 rmdir .tst 2>/dev/null
2377 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2378 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2379 # is not polluted with repeated "-I."
2380 am__isrc=' -I$(srcdir)'
2381 # test to see if srcdir already configured
2382 if test -f $srcdir/config.status; then
2383 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2387 # test whether we have cygpath
2388 if test -z "$CYGPATH_W"; then
2389 if (cygpath --version) >/dev/null 2>/dev/null; then
2390 CYGPATH_W='cygpath -w'
2397 # Define the identity of the package.
2402 cat >>confdefs.h <<_ACEOF
2403 #define PACKAGE "$PACKAGE"
2407 cat >>confdefs.h <<_ACEOF
2408 #define VERSION "$VERSION"
2411 # Some tools Automake needs.
2413 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2416 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2419 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2422 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2425 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2427 # We need awk for the "check" target. The system "awk" is bad on
2429 # Always define AMTAR for backward compatibility. Yes, it's still used
2430 # in the wild :-( We should find a proper way to deprecate it ...
2433 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2441 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2442 # Check whether --enable-maintainer-mode was given.
2443 if test "${enable_maintainer_mode+set}" = set; then :
2444 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2446 USE_MAINTAINER_MODE=no
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2450 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2451 if test $USE_MAINTAINER_MODE = yes; then
2452 MAINTAINER_MODE_TRUE=
2453 MAINTAINER_MODE_FALSE='#'
2455 MAINTAINER_MODE_TRUE='#'
2456 MAINTAINER_MODE_FALSE=
2459 MAINT=$MAINTAINER_MODE_TRUE
2463 MODVERSION="Build on $(hostname) $(date +%FT%R:%S%z)"
2465 cat >>confdefs.h <<_ACEOF
2466 #define MODVERSION "$MODVERSION"
2472 ac_config_files="$ac_config_files Makefile"
2474 ac_config_headers="$ac_config_headers config.h"
2478 ac_config_files="$ac_config_files m4/Makefile"
2481 ac_config_files="$ac_config_files elfutils.spec:config/elfutils.spec.in"
2485 # Make sure we can run config.sub.
2486 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2487 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2490 $as_echo_n "checking build system type... " >&6; }
2491 if ${ac_cv_build+:} false; then :
2492 $as_echo_n "(cached) " >&6
2494 ac_build_alias=$build_alias
2495 test "x$ac_build_alias" = x &&
2496 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2497 test "x$ac_build_alias" = x &&
2498 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2499 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2500 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2504 $as_echo "$ac_cv_build" >&6; }
2505 case $ac_cv_build in
2507 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2510 ac_save_IFS=$IFS; IFS='-'
2516 # Remember, the first character of IFS is used to create $*,
2517 # except with old shells:
2520 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2524 $as_echo_n "checking host system type... " >&6; }
2525 if ${ac_cv_host+:} false; then :
2526 $as_echo_n "(cached) " >&6
2528 if test "x$host_alias" = x; then
2529 ac_cv_host=$ac_cv_build
2531 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2532 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2537 $as_echo "$ac_cv_host" >&6; }
2540 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2543 ac_save_IFS=$IFS; IFS='-'
2549 # Remember, the first character of IFS is used to create $*,
2550 # except with old shells:
2553 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2557 # Check whether --enable-deterministic-archives was given.
2558 if test "${enable_deterministic_archives+set}" = set; then :
2559 enableval=$enable_deterministic_archives;
2560 if test "${enableval}" = no; then
2561 default_ar_deterministic=false
2563 default_ar_deterministic=true
2566 default_ar_deterministic=false
2570 cat >>confdefs.h <<_ACEOF
2571 #define DEFAULT_AR_DETERMINISTIC $default_ar_deterministic
2575 # Check whether --enable-thread-safety was given.
2576 if test "${enable_thread_safety+set}" = set; then :
2577 enableval=$enable_thread_safety; use_locks=$enableval
2582 if test "$use_locks" = yes; then
2590 if test "$use_locks" = yes; then :
2591 $as_echo "#define USE_LOCKS 1" >>confdefs.h
2597 # Check whether --enable-dwz was given.
2598 if test "${enable_dwz+set}" = set; then :
2599 enableval=$enable_dwz; enable_dwz=$enableval
2604 if test "$enable_dwz" = yes; then
2606 ENABLE_DWZ_FALSE='#'
2612 if test "$enable_dwz" = yes; then :
2613 $as_echo "#define ENABLE_DWZ 1" >>confdefs.h
2620 ac_cpp='$CPP $CPPFLAGS'
2621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2624 if test -n "$ac_tool_prefix"; then
2625 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2626 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628 $as_echo_n "checking for $ac_word... " >&6; }
2629 if ${ac_cv_prog_CC+:} false; then :
2630 $as_echo_n "(cached) " >&6
2632 if test -n "$CC"; then
2633 ac_cv_prog_CC="$CC" # Let the user override the test.
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir=.
2640 for ac_exec_ext in '' $ac_executable_extensions; do
2641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$CC"; then
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655 $as_echo "$CC" >&6; }
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658 $as_echo "no" >&6; }
2663 if test -z "$ac_cv_prog_CC"; then
2665 # Extract the first word of "gcc", so it can be a program name with args.
2666 set dummy gcc; ac_word=$2
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668 $as_echo_n "checking for $ac_word... " >&6; }
2669 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2670 $as_echo_n "(cached) " >&6
2672 if test -n "$ac_ct_CC"; then
2673 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679 test -z "$as_dir" && as_dir=.
2680 for ac_exec_ext in '' $ac_executable_extensions; do
2681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682 ac_cv_prog_ac_ct_CC="gcc"
2683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2693 if test -n "$ac_ct_CC"; then
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2695 $as_echo "$ac_ct_CC" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2701 if test "x$ac_ct_CC" = x; then
2704 case $cross_compiling:$ac_tool_warned in
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2708 ac_tool_warned=yes ;;
2716 if test -z "$CC"; then
2717 if test -n "$ac_tool_prefix"; then
2718 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2719 set dummy ${ac_tool_prefix}cc; ac_word=$2
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721 $as_echo_n "checking for $ac_word... " >&6; }
2722 if ${ac_cv_prog_CC+:} false; then :
2723 $as_echo_n "(cached) " >&6
2725 if test -n "$CC"; then
2726 ac_cv_prog_CC="$CC" # Let the user override the test.
2728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732 test -z "$as_dir" && as_dir=.
2733 for ac_exec_ext in '' $ac_executable_extensions; do
2734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735 ac_cv_prog_CC="${ac_tool_prefix}cc"
2736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 if test -n "$CC"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2748 $as_echo "$CC" >&6; }
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751 $as_echo "no" >&6; }
2757 if test -z "$CC"; then
2758 # Extract the first word of "cc", so it can be a program name with args.
2759 set dummy cc; ac_word=$2
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2761 $as_echo_n "checking for $ac_word... " >&6; }
2762 if ${ac_cv_prog_CC+:} false; then :
2763 $as_echo_n "(cached) " >&6
2765 if test -n "$CC"; then
2766 ac_cv_prog_CC="$CC" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2777 ac_prog_rejected=yes
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 if test $ac_prog_rejected = yes; then
2789 # We found a bogon in the path, so make sure we never use it.
2790 set dummy $ac_cv_prog_CC
2792 if test $# != 0; then
2793 # We chose a different compiler from the bogus one.
2794 # However, it has the same basename, so the bogon will be chosen
2795 # first if we set CC to just the basename; use the full file name.
2797 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2803 if test -n "$CC"; then
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2805 $as_echo "$CC" >&6; }
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2808 $as_echo "no" >&6; }
2813 if test -z "$CC"; then
2814 if test -n "$ac_tool_prefix"; then
2815 for ac_prog in cl.exe
2817 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2818 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820 $as_echo_n "checking for $ac_word... " >&6; }
2821 if ${ac_cv_prog_CC+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 if test -n "$CC"; then
2825 ac_cv_prog_CC="$CC" # Let the user override the test.
2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831 test -z "$as_dir" && as_dir=.
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2834 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2845 if test -n "$CC"; then
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2847 $as_echo "$CC" >&6; }
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850 $as_echo "no" >&6; }
2854 test -n "$CC" && break
2857 if test -z "$CC"; then
2859 for ac_prog in cl.exe
2861 # Extract the first word of "$ac_prog", so it can be a program name with args.
2862 set dummy $ac_prog; ac_word=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$ac_ct_CC"; then
2869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir=.
2876 for ac_exec_ext in '' $ac_executable_extensions; do
2877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878 ac_cv_prog_ac_ct_CC="$ac_prog"
2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2889 if test -n "$ac_ct_CC"; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2891 $as_echo "$ac_ct_CC" >&6; }
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2898 test -n "$ac_ct_CC" && break
2901 if test "x$ac_ct_CC" = x; then
2904 case $cross_compiling:$ac_tool_warned in
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2908 ac_tool_warned=yes ;;
2917 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2919 as_fn_error $? "no acceptable C compiler found in \$PATH
2920 See \`config.log' for more details" "$LINENO" 5; }
2922 # Provide some information about the compiler.
2923 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2926 for ac_option in --version -v -V -qversion; do
2927 { { ac_try="$ac_compiler $ac_option >&5"
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2933 $as_echo "$ac_try_echo"; } >&5
2934 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2936 if test -s conftest.err; then
2938 ... rest of stderr output deleted ...
2939 10q' conftest.err >conftest.er1
2940 cat conftest.er1 >&5
2942 rm -f conftest.er1 conftest.err
2943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2944 test $ac_status = 0; }
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2958 ac_clean_files_save=$ac_clean_files
2959 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2960 # Try to create an executable without -o first, disregard a.out.
2961 # It will help us diagnose broken compilers, and finding out an intuition
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2964 $as_echo_n "checking whether the C compiler works... " >&6; }
2965 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2967 # The possible output files:
2968 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2971 for ac_file in $ac_files
2974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2975 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2980 if { { ac_try="$ac_link_default"
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_link_default") 2>&5
2989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2990 test $ac_status = 0; }; then :
2991 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2992 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2993 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2994 # so that the user can short-circuit this test for compilers unknown to
2996 for ac_file in $ac_files ''
2998 test -f "$ac_file" || continue
3000 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3003 # We found the default executable, but exeext='' is most
3007 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3009 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3011 # We set ac_cv_exeext here because the later test for it is not
3012 # safe: cross compilers may not add the suffix if given an `-o'
3013 # argument, so we may need to know it at that point already.
3014 # Even if this section looks crufty: it has the advantage of
3021 test "$ac_cv_exeext" = no && ac_cv_exeext=
3026 if test -z "$ac_file"; then :
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3029 $as_echo "$as_me: failed program was:" >&5
3030 sed 's/^/| /' conftest.$ac_ext >&5
3032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3034 as_fn_error 77 "C compiler cannot create executables
3035 See \`config.log' for more details" "$LINENO" 5; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3038 $as_echo "yes" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3041 $as_echo_n "checking for C compiler default output file name... " >&6; }
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3043 $as_echo "$ac_file" >&6; }
3044 ac_exeext=$ac_cv_exeext
3046 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3047 ac_clean_files=$ac_clean_files_save
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3049 $as_echo_n "checking for suffix of executables... " >&6; }
3050 if { { ac_try="$ac_link"
3052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3053 *) ac_try_echo=$ac_try;;
3055 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3056 $as_echo "$ac_try_echo"; } >&5
3057 (eval "$ac_link") 2>&5
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; }; then :
3061 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3062 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3063 # work properly (i.e., refer to `conftest.exe'), while it won't with
3065 for ac_file in conftest.exe conftest conftest.*; do
3066 test -f "$ac_file" || continue
3068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3069 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3076 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3077 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3078 See \`config.log' for more details" "$LINENO" 5; }
3080 rm -f conftest conftest$ac_cv_exeext
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3082 $as_echo "$ac_cv_exeext" >&6; }
3084 rm -f conftest.$ac_ext
3085 EXEEXT=$ac_cv_exeext
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3093 FILE *f = fopen ("conftest.out", "w");
3094 return ferror (f) || fclose (f) != 0;
3100 ac_clean_files="$ac_clean_files conftest.out"
3101 # Check that the compiler produces executables we can run. If not, either
3102 # the compiler is broken, or we cross compile.
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3104 $as_echo_n "checking whether we are cross compiling... " >&6; }
3105 if test "$cross_compiling" != yes; then
3106 { { ac_try="$ac_link"
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_link") 2>&5
3115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3116 test $ac_status = 0; }
3117 if { ac_try='./conftest$ac_cv_exeext'
3118 { { case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_try") 2>&5
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; }; then
3130 if test "$cross_compiling" = maybe; then
3133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135 as_fn_error $? "cannot run C compiled programs.
3136 If you meant to cross compile, use \`--host'.
3137 See \`config.log' for more details" "$LINENO" 5; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3142 $as_echo "$cross_compiling" >&6; }
3144 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3145 ac_clean_files=$ac_clean_files_save
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3147 $as_echo_n "checking for suffix of object files... " >&6; }
3148 if ${ac_cv_objext+:} false; then :
3149 $as_echo_n "(cached) " >&6
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3162 rm -f conftest.o conftest.obj
3163 if { { ac_try="$ac_compile"
3165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_compile") 2>&5
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }; then :
3174 for ac_file in conftest.o conftest.obj conftest.*; do
3175 test -f "$ac_file" || continue;
3177 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3178 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3183 $as_echo "$as_me: failed program was:" >&5
3184 sed 's/^/| /' conftest.$ac_ext >&5
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error $? "cannot compute suffix of object files: cannot compile
3189 See \`config.log' for more details" "$LINENO" 5; }
3191 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3194 $as_echo "$ac_cv_objext" >&6; }
3195 OBJEXT=$ac_cv_objext
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3198 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3199 if ${ac_cv_c_compiler_gnu+:} false; then :
3200 $as_echo_n "(cached) " >&6
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3216 if ac_fn_c_try_compile "$LINENO"; then :
3221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3222 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3226 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3227 if test $ac_compiler_gnu = yes; then
3232 ac_test_CFLAGS=${CFLAGS+set}
3233 ac_save_CFLAGS=$CFLAGS
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3235 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3236 if ${ac_cv_prog_cc_g+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 ac_save_c_werror_flag=$ac_c_werror_flag
3240 ac_c_werror_flag=yes
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3254 if ac_fn_c_try_compile "$LINENO"; then :
3258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3259 /* end confdefs.h. */
3269 if ac_fn_c_try_compile "$LINENO"; then :
3272 ac_c_werror_flag=$ac_save_c_werror_flag
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3285 if ac_fn_c_try_compile "$LINENO"; then :
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 ac_c_werror_flag=$ac_save_c_werror_flag
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3296 $as_echo "$ac_cv_prog_cc_g" >&6; }
3297 if test "$ac_test_CFLAGS" = set; then
3298 CFLAGS=$ac_save_CFLAGS
3299 elif test $ac_cv_prog_cc_g = yes; then
3300 if test "$GCC" = yes; then
3306 if test "$GCC" = yes; then
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3313 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3314 if ${ac_cv_prog_cc_c89+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 ac_cv_prog_cc_c89=no
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3323 #include <sys/types.h>
3324 #include <sys/stat.h>
3325 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3326 struct buf { int x; };
3327 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3328 static char *e (p, i)
3334 static char *f (char * (*g) (char **, int), char **p, ...)
3339 s = g (p, va_arg (v,int));
3344 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3345 function prototypes and stuff, but not '\xHH' hex character constants.
3346 These don't provoke an error unfortunately, instead are silently treated
3347 as 'x'. The following induces an error, until -std is added to get
3348 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3349 array size at least. It's necessary to write '\x00'==0 to get something
3350 that's true only with -std. */
3351 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3353 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3354 inside strings and character constants. */
3356 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3358 int test (int i, double x);
3359 struct s1 {int (*f) (int a);};
3360 struct s2 {int (*f) (double a);};
3361 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3367 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3372 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3373 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3375 CC="$ac_save_CC $ac_arg"
3376 if ac_fn_c_try_compile "$LINENO"; then :
3377 ac_cv_prog_cc_c89=$ac_arg
3379 rm -f core conftest.err conftest.$ac_objext
3380 test "x$ac_cv_prog_cc_c89" != "xno" && break
3382 rm -f conftest.$ac_ext
3387 case "x$ac_cv_prog_cc_c89" in
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3390 $as_echo "none needed" >&6; } ;;
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3393 $as_echo "unsupported" >&6; } ;;
3395 CC="$CC $ac_cv_prog_cc_c89"
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3397 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3399 if test "x$ac_cv_prog_cc_c89" != xno; then :
3404 ac_cpp='$CPP $CPPFLAGS'
3405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 DEPDIR="${am__leading_dot}deps"
3410 ac_config_commands="$ac_config_commands depfiles"
3413 am_make=${MAKE-make}
3414 cat > confinc << 'END'
3416 @echo this is the am__doit target
3419 # If we don't find an include directive, just comment out the code.
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3421 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3425 # First try GNU make style include.
3426 echo "include confinc" > confmf
3427 # Ignore all kinds of additional output from `make'.
3428 case `$am_make -s -f confmf 2> /dev/null` in #(
3429 *the\ am__doit\ target*)
3435 # Now try BSD make style include.
3436 if test "$am__include" = "#"; then
3437 echo '.include "confinc"' > confmf
3438 case `$am_make -s -f confmf 2> /dev/null` in #(
3439 *the\ am__doit\ target*)
3440 am__include=.include
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3449 $as_echo "$_am_result" >&6; }
3450 rm -f confinc confmf
3452 # Check whether --enable-dependency-tracking was given.
3453 if test "${enable_dependency_tracking+set}" = set; then :
3454 enableval=$enable_dependency_tracking;
3457 if test "x$enable_dependency_tracking" != xno; then
3458 am_depcomp="$ac_aux_dir/depcomp"
3462 if test "x$enable_dependency_tracking" != xno; then
3472 depcc="$CC" am_compiler_list=
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3475 $as_echo_n "checking dependency style of $depcc... " >&6; }
3476 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3480 # We make a subdir and do the tests there. Otherwise we can end up
3481 # making bogus files that we don't know about and never remove. For
3482 # instance it was reported that on HP-UX the gcc test will end up
3483 # making a dummy file named `D' -- because `-MD' means `put the output
3487 # Copy depcomp to subdir because otherwise we won't find it if we're
3488 # using a relative directory.
3489 cp "$am_depcomp" conftest.dir
3491 # We will build objects and dependencies in a subdirectory because
3492 # it helps to detect inapplicable dependency modes. For instance
3493 # both Tru64's cc and ICC support -MD to output dependencies as a
3494 # side effect of compilation, but ICC will put the dependencies in
3495 # the current directory while Tru64 will put them in the object
3499 am_cv_CC_dependencies_compiler_type=none
3500 if test "$am_compiler_list" = ""; then
3501 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3504 case " $depcc " in #(
3505 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3508 for depmode in $am_compiler_list; do
3509 # Setup a source with many dependencies, because some compilers
3510 # like to wrap large dependency lists on column 80 (with \), and
3511 # we should not choose a depcomp mode which is confused by this.
3513 # We need to recreate these files for each test, as the compiler may
3514 # overwrite some of them when testing with obscure command lines.
3515 # This happens at least with the AIX C compiler.
3517 for i in 1 2 3 4 5 6; do
3518 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3519 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3520 # Solaris 8's {/usr,}/bin/sh.
3521 touch sub/conftst$i.h
3523 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3525 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3526 # mode. It turns out that the SunPro C++ compiler does not properly
3527 # handle `-M -o', and we need to detect this. Also, some Intel
3528 # versions had trouble with output in subdirs
3529 am__obj=sub/conftest.${OBJEXT-o}
3530 am__minus_obj="-o $am__obj"
3533 # This depmode causes a compiler race in universal mode.
3534 test "$am__universal" = false || continue
3537 # after this tag, mechanisms are not by side-effect, so they'll
3538 # only be used when explicitly requested
3539 if test "x$enable_dependency_tracking" = xyes; then
3545 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3546 # This compiler won't grok `-c -o', but also, the minuso test has
3547 # not run yet. These depmodes are late enough in the game, and
3548 # so weak that their functioning should not be impacted.
3549 am__obj=conftest.${OBJEXT-o}
3554 if depmode=$depmode \
3555 source=sub/conftest.c object=$am__obj \
3556 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3557 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3558 >/dev/null 2>conftest.err &&
3559 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3560 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3561 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3562 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3563 # icc doesn't choke on unknown options, it will just issue warnings
3564 # or remarks (even with -Werror). So we grep stderr for any message
3565 # that says an option was ignored or not supported.
3566 # When given -MP, icc 7.0 and 7.1 complain thusly:
3567 # icc: Command line warning: ignoring option '-M'; no argument required
3568 # The diagnosis changed in icc 8.0:
3569 # icc: Command line remark: option '-MP' not supported
3570 if (grep 'ignoring option' conftest.err ||
3571 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3572 am_cv_CC_dependencies_compiler_type=$depmode
3581 am_cv_CC_dependencies_compiler_type=none
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3586 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3587 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3590 test "x$enable_dependency_tracking" != xno \
3591 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3593 am__fastdepCC_FALSE='#'
3595 am__fastdepCC_TRUE='#'
3596 am__fastdepCC_FALSE=
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3602 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_RANLIB+:} false; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$RANLIB"; then
3609 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3618 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 RANLIB=$ac_cv_prog_RANLIB
3629 if test -n "$RANLIB"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3631 $as_echo "$RANLIB" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3639 if test -z "$ac_cv_prog_RANLIB"; then
3640 ac_ct_RANLIB=$RANLIB
3641 # Extract the first word of "ranlib", so it can be a program name with args.
3642 set dummy ranlib; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$ac_ct_RANLIB"; then
3649 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 ac_cv_prog_ac_ct_RANLIB="ranlib"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3669 if test -n "$ac_ct_RANLIB"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3671 $as_echo "$ac_ct_RANLIB" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3677 if test "x$ac_ct_RANLIB" = x; then
3680 case $cross_compiling:$ac_tool_warned in
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3684 ac_tool_warned=yes ;;
3686 RANLIB=$ac_ct_RANLIB
3689 RANLIB="$ac_cv_prog_RANLIB"
3692 for ac_prog in 'bison -y' byacc
3694 # Extract the first word of "$ac_prog", so it can be a program name with args.
3695 set dummy $ac_prog; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_YACC+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$YACC"; then
3702 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 ac_cv_prog_YACC="$ac_prog"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 YACC=$ac_cv_prog_YACC
3722 if test -n "$YACC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
3724 $as_echo "$YACC" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3731 test -n "$YACC" && break
3733 test -n "$YACC" || YACC="yacc"
3736 for ac_prog in flex lex
3738 # Extract the first word of "$ac_prog", so it can be a program name with args.
3739 set dummy $ac_prog; ac_word=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_LEX+:} false; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$LEX"; then
3746 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir=.
3753 for ac_exec_ext in '' $ac_executable_extensions; do
3754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755 ac_cv_prog_LEX="$ac_prog"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3766 if test -n "$LEX"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
3768 $as_echo "$LEX" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3775 test -n "$LEX" && break
3777 test -n "$LEX" || LEX=":"
3779 if test "x$LEX" != "x:"; then
3780 cat >conftest.l <<_ACEOF
3786 e { yyless (input () != 0); }
3787 f { unput (yytext[0]); }
3788 . { BEGIN INITIAL; }
3790 #ifdef YYTEXT_POINTER
3791 extern char *yytext;
3796 return ! yylex () + ! yywrap ();
3799 { { ac_try="$LEX conftest.l"
3801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802 *) ac_try_echo=$ac_try;;
3804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3805 $as_echo "$ac_try_echo"; } >&5
3806 (eval "$LEX conftest.l") 2>&5
3808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3809 test $ac_status = 0; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
3811 $as_echo_n "checking lex output file root... " >&6; }
3812 if ${ac_cv_prog_lex_root+:} false; then :
3813 $as_echo_n "(cached) " >&6
3816 if test -f lex.yy.c; then
3817 ac_cv_prog_lex_root=lex.yy
3818 elif test -f lexyy.c; then
3819 ac_cv_prog_lex_root=lexyy
3821 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
3825 $as_echo "$ac_cv_prog_lex_root" >&6; }
3826 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3828 if test -z "${LEXLIB+set}"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
3830 $as_echo_n "checking lex library... " >&6; }
3831 if ${ac_cv_lib_lex+:} false; then :
3832 $as_echo_n "(cached) " >&6
3836 ac_cv_lib_lex='none needed'
3837 for ac_lib in '' -lfl -ll; do
3838 LIBS="$ac_lib $ac_save_LIBS"
3839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3840 /* end confdefs.h. */
3841 `cat $LEX_OUTPUT_ROOT.c`
3843 if ac_fn_c_try_link "$LINENO"; then :
3844 ac_cv_lib_lex=$ac_lib
3846 rm -f core conftest.err conftest.$ac_objext \
3847 conftest$ac_exeext conftest.$ac_ext
3848 test "$ac_cv_lib_lex" != 'none needed' && break
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
3854 $as_echo "$ac_cv_lib_lex" >&6; }
3855 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
3860 $as_echo_n "checking whether yytext is a pointer... " >&6; }
3861 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
3862 $as_echo_n "(cached) " >&6
3864 # POSIX says lex can declare yytext either as a pointer or an array; the
3865 # default is implementation-dependent. Figure out which it is, since
3866 # not all implementations provide the %pointer and %array declarations.
3867 ac_cv_prog_lex_yytext_pointer=no
3869 LIBS="$LEXLIB $ac_save_LIBS"
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3873 #define YYTEXT_POINTER 1
3874 `cat $LEX_OUTPUT_ROOT.c`
3876 if ac_fn_c_try_link "$LINENO"; then :
3877 ac_cv_prog_lex_yytext_pointer=yes
3879 rm -f core conftest.err conftest.$ac_objext \
3880 conftest$ac_exeext conftest.$ac_ext
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
3885 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3886 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3888 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
3891 rm -f conftest.l $LEX_OUTPUT_ROOT.c
3894 if test "$LEX" = :; then
3895 LEX=${am_missing_run}flex
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with C99 support" >&5
3899 $as_echo_n "checking for gcc with C99 support... " >&6; }
3900 if ${ac_cv_c99+:} false; then :
3901 $as_echo_n "(cached) " >&6
3903 old_CFLAGS="$CFLAGS"
3904 CFLAGS="$CFLAGS -std=gnu99"
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3907 int foo (int a) { for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; }
3909 if ac_fn_c_try_compile "$LINENO"; then :
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3915 CFLAGS="$old_CFLAGS"
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99" >&5
3918 $as_echo "$ac_cv_c99" >&6; }
3919 if test "x$ac_cv_c99" != xyes; then :
3920 as_fn_error $? "gcc with C99 support required" "$LINENO" 5
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
3924 $as_echo_n "checking for __thread support... " >&6; }
3925 if ${ac_cv_tls+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 # Use the same flags that we use for our DSOs, so the test is representative.
3929 # Some old compiler/linker/libc combinations fail some ways and not others.
3930 save_CFLAGS="$CFLAGS"
3931 save_LDFLAGS="$LDFLAGS"
3932 CFLAGS="-fpic $CFLAGS"
3933 LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS"
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3937 static __thread int a; int foo (int b) { return a + b; }
3946 if ac_fn_c_try_link "$LINENO"; then :
3951 rm -f core conftest.err conftest.$ac_objext \
3952 conftest$ac_exeext conftest.$ac_ext
3953 CFLAGS="$save_CFLAGS"
3954 LDFLAGS="$save_LDFLAGS"
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
3957 $as_echo "$ac_cv_tls" >&6; }
3958 if test "x$ac_cv_tls" != xyes; then :
3959 as_fn_error $? "__thread support required" "$LINENO" 5
3962 # Check whether --enable-largefile was given.
3963 if test "${enable_largefile+set}" = set; then :
3964 enableval=$enable_largefile;
3967 if test "$enable_largefile" != no; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3970 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3971 if ${ac_cv_sys_largefile_CC+:} false; then :
3972 $as_echo_n "(cached) " >&6
3974 ac_cv_sys_largefile_CC=no
3975 if test "$GCC" != yes; then
3978 # IRIX 6.2 and later do not support large files by default,
3979 # so use the C compiler's -n32 option if that helps.
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3982 #include <sys/types.h>
3983 /* Check that off_t can represent 2**63 - 1 correctly.
3984 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3985 since some C++ compilers masquerading as C compilers
3986 incorrectly reject 9223372036854775807. */
3987 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3988 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3989 && LARGE_OFF_T % 2147483647 == 1)
3999 if ac_fn_c_try_compile "$LINENO"; then :
4002 rm -f core conftest.err conftest.$ac_objext
4004 if ac_fn_c_try_compile "$LINENO"; then :
4005 ac_cv_sys_largefile_CC=' -n32'; break
4007 rm -f core conftest.err conftest.$ac_objext
4011 rm -f conftest.$ac_ext
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4015 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4016 if test "$ac_cv_sys_largefile_CC" != no; then
4017 CC=$CC$ac_cv_sys_largefile_CC
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4021 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4022 if ${ac_cv_sys_file_offset_bits+:} false; then :
4023 $as_echo_n "(cached) " >&6
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h. */
4028 #include <sys/types.h>
4029 /* Check that off_t can represent 2**63 - 1 correctly.
4030 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4031 since some C++ compilers masquerading as C compilers
4032 incorrectly reject 9223372036854775807. */
4033 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4034 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4035 && LARGE_OFF_T % 2147483647 == 1)
4045 if ac_fn_c_try_compile "$LINENO"; then :
4046 ac_cv_sys_file_offset_bits=no; break
4048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051 #define _FILE_OFFSET_BITS 64
4052 #include <sys/types.h>
4053 /* Check that off_t can represent 2**63 - 1 correctly.
4054 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4055 since some C++ compilers masquerading as C compilers
4056 incorrectly reject 9223372036854775807. */
4057 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4058 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4059 && LARGE_OFF_T % 2147483647 == 1)
4069 if ac_fn_c_try_compile "$LINENO"; then :
4070 ac_cv_sys_file_offset_bits=64; break
4072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4073 ac_cv_sys_file_offset_bits=unknown
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4078 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4079 case $ac_cv_sys_file_offset_bits in #(
4082 cat >>confdefs.h <<_ACEOF
4083 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4088 if test $ac_cv_sys_file_offset_bits = unknown; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4090 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4091 if ${ac_cv_sys_large_files+:} false; then :
4092 $as_echo_n "(cached) " >&6
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4097 #include <sys/types.h>
4098 /* Check that off_t can represent 2**63 - 1 correctly.
4099 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4100 since some C++ compilers masquerading as C compilers
4101 incorrectly reject 9223372036854775807. */
4102 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4103 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4104 && LARGE_OFF_T % 2147483647 == 1)
4114 if ac_fn_c_try_compile "$LINENO"; then :
4115 ac_cv_sys_large_files=no; break
4117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4120 #define _LARGE_FILES 1
4121 #include <sys/types.h>
4122 /* Check that off_t can represent 2**63 - 1 correctly.
4123 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4124 since some C++ compilers masquerading as C compilers
4125 incorrectly reject 9223372036854775807. */
4126 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4127 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4128 && LARGE_OFF_T % 2147483647 == 1)
4138 if ac_fn_c_try_compile "$LINENO"; then :
4139 ac_cv_sys_large_files=1; break
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 ac_cv_sys_large_files=unknown
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4147 $as_echo "$ac_cv_sys_large_files" >&6; }
4148 case $ac_cv_sys_large_files in #(
4151 cat >>confdefs.h <<_ACEOF
4152 #define _LARGE_FILES $ac_cv_sys_large_files
4162 # Check whether --enable-generic was given.
4163 if test "${enable_generic+set}" = set; then :
4164 enableval=$enable_generic; if test "$enable_generic" = no; then
4167 $as_echo "#define NATIVE_ELF 32" >>confdefs.h
4173 as_fn_error $? "no machine-specific linker for this configuration available" "$LINENO" 5
4180 if test "$native_ld" = yes; then
4188 if test -z "$base_cpu"; then :
4202 # Check whether --enable-mudflap was given.
4203 if test "${enable_mudflap+set}" = set; then :
4204 enableval=$enable_mudflap; if test "x$enable_mudflap" = xyes; then
4205 # Check whether the compiler support -fmudflap.
4206 old_CFLAGS="$CFLAGS"
4207 CFLAGS="$CFLAGS -fmudflap"
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4219 if ac_fn_c_try_compile "$LINENO"; then :
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 CFLAGS="$old_CFLAGS"
4229 if test "$use_mudflap" = fail; then
4230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4232 as_fn_error $? "--enable-mudflap requires a compiler which understands this option
4233 See \`config.log' for more details" "$LINENO" 5; }
4235 if test "$use_mudflap" = yes; then
4244 # Check whether --enable-debugpred was given.
4245 if test "${enable_debugpred+set}" = set; then :
4246 enableval=$enable_debugpred; use_debugpred=$enableval
4251 case $use_debugpred in
4252 yes) use_debugpred=1 ;;
4253 *) use_debugpred=0 ;;
4255 DEBUGPRED=$use_debugpred
4258 # Check whether --enable-gprof was given.
4259 if test "${enable_gprof+set}" = set; then :
4260 enableval=$enable_gprof; use_gprof=$enableval
4265 if test "$use_gprof" = yes; then
4266 CFLAGS="$CFLAGS -pg"
4267 LDFLAGS="$LDFLAGS -pg"
4269 if test "$use_gprof" = yes; then
4278 # Enable gcov suport.
4279 # Check whether --enable-gcov was given.
4280 if test "${enable_gcov+set}" = set; then :
4281 enableval=$enable_gcov; use_gcov=$enableval
4286 if test "$use_gcov" = yes; then
4287 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
4288 LDFLAGS="$LDFLAGS -fprofile-arcs"
4290 if test "$use_gcov" = yes; then
4299 if test "$use_mudflap" = yes -o "$use_gprof" = yes -o "$use_gcov" = yes; then
4301 BUILD_STATIC_FALSE='#'
4303 BUILD_STATIC_TRUE='#'
4308 # Check whether --enable-tests-rpath was given.
4309 if test "${enable_tests_rpath+set}" = set; then :
4310 enableval=$enable_tests_rpath; tests_use_rpath=$enableval
4315 if test "$tests_use_rpath" = yes; then
4317 TESTS_RPATH_FALSE='#'
4319 TESTS_RPATH_TRUE='#'
4324 LIBEBL_SUBDIR="$PACKAGE"
4325 # Check whether --enable-libebl-subdir was given.
4326 if test "${enable_libebl_subdir+set}" = set; then :
4327 enableval=$enable_libebl_subdir; LIBEBL_SUBDIR="$enable_libebl_subdir"
4331 cat >>confdefs.h <<_ACEOF
4332 #define LIBEBL_SUBDIR "$LIBEBL_SUBDIR"
4340 # Check whether --with-zlib was given.
4341 if test "${with_zlib+set}" = set; then :
4347 if test $with_zlib != no; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzdirect" >&5
4349 $as_echo_n "checking for library containing gzdirect... " >&6; }
4350 if ${ac_cv_search_gzdirect+:} false; then :
4351 $as_echo_n "(cached) " >&6
4353 ac_func_search_save_LIBS=$LIBS
4354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4357 /* Override any GCC internal prototype to avoid an error.
4358 Use char because int might match the return type of a GCC
4359 builtin and then its argument prototype would still apply. */
4372 for ac_lib in '' z; do
4373 if test -z "$ac_lib"; then
4374 ac_res="none required"
4377 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4379 if ac_fn_c_try_link "$LINENO"; then :
4380 ac_cv_search_gzdirect=$ac_res
4382 rm -f core conftest.err conftest.$ac_objext \
4384 if ${ac_cv_search_gzdirect+:} false; then :
4388 if ${ac_cv_search_gzdirect+:} false; then :
4391 ac_cv_search_gzdirect=no
4394 LIBS=$ac_func_search_save_LIBS
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzdirect" >&5
4397 $as_echo "$ac_cv_search_gzdirect" >&6; }
4398 ac_res=$ac_cv_search_gzdirect
4399 if test "$ac_res" != no; then :
4400 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4403 test $with_zlib = default ||
4404 as_fn_error $? "missing -lz for --with-zlib" "$LINENO" 5
4408 if test $with_zlib = yes; then
4416 if test $with_zlib = yes; then
4417 $as_echo "#define USE_ZLIB 1" >>confdefs.h
4422 # Check whether --with-bzlib was given.
4423 if test "${with_bzlib+set}" = set; then :
4424 withval=$with_bzlib;
4429 if test $with_bzlib != no; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzdopen" >&5
4431 $as_echo_n "checking for library containing BZ2_bzdopen... " >&6; }
4432 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
4433 $as_echo_n "(cached) " >&6
4435 ac_func_search_save_LIBS=$LIBS
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4439 /* Override any GCC internal prototype to avoid an error.
4440 Use char because int might match the return type of a GCC
4441 builtin and then its argument prototype would still apply. */
4445 char BZ2_bzdopen ();
4449 return BZ2_bzdopen ();
4454 for ac_lib in '' bz2; do
4455 if test -z "$ac_lib"; then
4456 ac_res="none required"
4459 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4461 if ac_fn_c_try_link "$LINENO"; then :
4462 ac_cv_search_BZ2_bzdopen=$ac_res
4464 rm -f core conftest.err conftest.$ac_objext \
4466 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
4470 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
4473 ac_cv_search_BZ2_bzdopen=no
4476 LIBS=$ac_func_search_save_LIBS
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzdopen" >&5
4479 $as_echo "$ac_cv_search_BZ2_bzdopen" >&6; }
4480 ac_res=$ac_cv_search_BZ2_bzdopen
4481 if test "$ac_res" != no; then :
4482 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4485 test $with_bzlib = default ||
4486 as_fn_error $? "missing -lbz2 for --with-bzlib" "$LINENO" 5
4490 if test $with_bzlib = yes; then
4498 if test $with_bzlib = yes; then
4499 $as_echo "#define USE_BZLIB 1" >>confdefs.h
4504 # Check whether --with-lzma was given.
4505 if test "${with_lzma+set}" = set; then :
4511 if test $with_lzma != no; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lzma_auto_decoder" >&5
4513 $as_echo_n "checking for library containing lzma_auto_decoder... " >&6; }
4514 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 ac_func_search_save_LIBS=$LIBS
4518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4521 /* Override any GCC internal prototype to avoid an error.
4522 Use char because int might match the return type of a GCC
4523 builtin and then its argument prototype would still apply. */
4527 char lzma_auto_decoder ();
4531 return lzma_auto_decoder ();
4536 for ac_lib in '' lzma; do
4537 if test -z "$ac_lib"; then
4538 ac_res="none required"
4541 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4543 if ac_fn_c_try_link "$LINENO"; then :
4544 ac_cv_search_lzma_auto_decoder=$ac_res
4546 rm -f core conftest.err conftest.$ac_objext \
4548 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
4552 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
4555 ac_cv_search_lzma_auto_decoder=no
4558 LIBS=$ac_func_search_save_LIBS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lzma_auto_decoder" >&5
4561 $as_echo "$ac_cv_search_lzma_auto_decoder" >&6; }
4562 ac_res=$ac_cv_search_lzma_auto_decoder
4563 if test "$ac_res" != no; then :
4564 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4567 test $with_lzma = default ||
4568 as_fn_error $? "missing -llzma for --with-lzma" "$LINENO" 5
4572 if test $with_lzma = yes; then
4580 if test $with_lzma = yes; then
4581 $as_echo "#define USE_LZMA 1" >>confdefs.h
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle in -lstdc++" >&5
4590 $as_echo_n "checking for __cxa_demangle in -lstdc++... " >&6; }
4591 if ${ac_cv_lib_stdcpp___cxa_demangle+:} false; then :
4592 $as_echo_n "(cached) " >&6
4594 ac_check_lib_save_LIBS=$LIBS
4595 LIBS="-lstdc++ $LIBS"
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4599 /* Override any GCC internal prototype to avoid an error.
4600 Use char because int might match the return type of a GCC
4601 builtin and then its argument prototype would still apply. */
4605 char __cxa_demangle ();
4609 return __cxa_demangle ();
4614 if ac_fn_c_try_link "$LINENO"; then :
4615 ac_cv_lib_stdcpp___cxa_demangle=yes
4617 ac_cv_lib_stdcpp___cxa_demangle=no
4619 rm -f core conftest.err conftest.$ac_objext \
4620 conftest$ac_exeext conftest.$ac_ext
4621 LIBS=$ac_check_lib_save_LIBS
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp___cxa_demangle" >&5
4624 $as_echo "$ac_cv_lib_stdcpp___cxa_demangle" >&6; }
4625 if test "x$ac_cv_lib_stdcpp___cxa_demangle" = xyes; then :
4627 $as_echo "#define USE_DEMANGLE 1" >>confdefs.h
4631 if test "$ac_cv_lib_stdcpp___cxa_demangle" = yes; then
4642 ac_config_files="$ac_config_files lib/Makefile"
4645 ac_config_files="$ac_config_files libelf/Makefile"
4648 ac_config_files="$ac_config_files libebl/Makefile"
4651 ac_config_files="$ac_config_files libdw/Makefile"
4654 ac_config_files="$ac_config_files libdwfl/Makefile"
4657 ac_config_files="$ac_config_files libcpu/Makefile"
4662 HAVE_LIBASM_FALSE='#'
4664 HAVE_LIBASM_TRUE='#'
4667 ac_config_files="$ac_config_files libasm/Makefile"
4670 ac_config_files="$ac_config_files backends/Makefile"
4673 ac_config_files="$ac_config_files src/Makefile po/Makefile.in"
4678 STANDALONE_FALSE='#'
4683 ac_config_files="$ac_config_files tests/Makefile"
4686 # Get the definitions necessary to create the Makefiles in the po
4687 # subdirectories. This is a small subset of the gettext rules.
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4692 $as_echo_n "checking whether NLS is requested... " >&6; }
4693 # Check whether --enable-nls was given.
4694 if test "${enable_nls+set}" = set; then :
4695 enableval=$enable_nls; USE_NLS=$enableval
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4701 $as_echo "$USE_NLS" >&6; }
4706 GETTEXT_MACRO_VERSION=0.17
4711 # Prepare PATH_SEPARATOR.
4712 # The user is always right.
4713 if test "${PATH_SEPARATOR+set}" != set; then
4714 echo "#! /bin/sh" >conf$$.sh
4715 echo "exit 0" >>conf$$.sh
4717 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4725 # Find out how to test for executable files. Don't use a zero-byte file,
4726 # as systems may use methods other than mode bits to determine executability.
4727 cat >conf$$.file <<_ASEOF
4731 chmod +x conf$$.file
4732 if test -x conf$$.file >/dev/null 2>&1; then
4733 ac_executable_p="test -x"
4735 ac_executable_p="test -f"
4739 # Extract the first word of "msgfmt", so it can be a program name with args.
4740 set dummy msgfmt; ac_word=$2
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4742 $as_echo_n "checking for $ac_word... " >&6; }
4743 if ${ac_cv_path_MSGFMT+:} false; then :
4744 $as_echo_n "(cached) " >&6
4748 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4751 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4752 for ac_dir in $PATH; do
4754 test -z "$ac_dir" && ac_dir=.
4755 for ac_exec_ext in '' $ac_executable_extensions; do
4756 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4757 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4758 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4759 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4760 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4767 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4771 MSGFMT="$ac_cv_path_MSGFMT"
4772 if test "$MSGFMT" != ":"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4774 $as_echo "$MSGFMT" >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4780 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4781 set dummy gmsgfmt; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if ${ac_cv_path_GMSGFMT+:} false; then :
4785 $as_echo_n "(cached) " >&6
4789 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4811 GMSGFMT=$ac_cv_path_GMSGFMT
4812 if test -n "$GMSGFMT"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4814 $as_echo "$GMSGFMT" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4822 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4823 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4824 *) MSGFMT_015=$MSGFMT ;;
4827 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4828 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4829 *) GMSGFMT_015=$GMSGFMT ;;
4834 # Prepare PATH_SEPARATOR.
4835 # The user is always right.
4836 if test "${PATH_SEPARATOR+set}" != set; then
4837 echo "#! /bin/sh" >conf$$.sh
4838 echo "exit 0" >>conf$$.sh
4840 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4848 # Find out how to test for executable files. Don't use a zero-byte file,
4849 # as systems may use methods other than mode bits to determine executability.
4850 cat >conf$$.file <<_ASEOF
4854 chmod +x conf$$.file
4855 if test -x conf$$.file >/dev/null 2>&1; then
4856 ac_executable_p="test -x"
4858 ac_executable_p="test -f"
4862 # Extract the first word of "xgettext", so it can be a program name with args.
4863 set dummy xgettext; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_path_XGETTEXT+:} false; then :
4867 $as_echo_n "(cached) " >&6
4871 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4874 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4875 for ac_dir in $PATH; do
4877 test -z "$ac_dir" && ac_dir=.
4878 for ac_exec_ext in '' $ac_executable_extensions; do
4879 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4880 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4881 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4882 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4883 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4890 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4894 XGETTEXT="$ac_cv_path_XGETTEXT"
4895 if test "$XGETTEXT" != ":"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4897 $as_echo "$XGETTEXT" >&6; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4905 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4906 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4907 *) XGETTEXT_015=$XGETTEXT ;;
4912 # Prepare PATH_SEPARATOR.
4913 # The user is always right.
4914 if test "${PATH_SEPARATOR+set}" != set; then
4915 echo "#! /bin/sh" >conf$$.sh
4916 echo "exit 0" >>conf$$.sh
4918 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4926 # Find out how to test for executable files. Don't use a zero-byte file,
4927 # as systems may use methods other than mode bits to determine executability.
4928 cat >conf$$.file <<_ASEOF
4932 chmod +x conf$$.file
4933 if test -x conf$$.file >/dev/null 2>&1; then
4934 ac_executable_p="test -x"
4936 ac_executable_p="test -f"
4940 # Extract the first word of "msgmerge", so it can be a program name with args.
4941 set dummy msgmerge; ac_word=$2
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4943 $as_echo_n "checking for $ac_word... " >&6; }
4944 if ${ac_cv_path_MSGMERGE+:} false; then :
4945 $as_echo_n "(cached) " >&6
4949 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4952 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4953 for ac_dir in $PATH; do
4955 test -z "$ac_dir" && ac_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4958 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4959 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4960 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4967 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4971 MSGMERGE="$ac_cv_path_MSGMERGE"
4972 if test "$MSGMERGE" != ":"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4974 $as_echo "$MSGMERGE" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4981 test -n "$localedir" || localedir='${datadir}/locale'
4984 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4987 ac_config_commands="$ac_config_commands po-directories"
4993 ac_config_files="$ac_config_files version.h:config/version.h.in"
4997 # 1.234<whatever> -> 1234<whatever>
4998 case "$PACKAGE_VERSION" in
4999 [0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
5000 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
5002 case "$eu_version" in
5004 # 1234.567 -> "1234", "567"
5005 eu_extra_version="${eu_version#*.}"
5006 eu_version="${eu_version%%.*}"
5007 case "$eu_extra_version" in
5009 [0-9][0-9]) eu_extra_version="${eu_extra_version}0" ;;
5010 [0-9]) eu_extra_version="${eu_extra_version}00" ;;
5011 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
5015 eu_extra_version=000
5019 case "$eu_version" in
5020 0[0-9][0-9][0-9]) eu_version="${eu_version#0}$eu_extra_version" ;;
5021 [0-9][0-9][0-9][0-9]) eu_version="${eu_version}$eu_extra_version" ;;
5022 [0-9][0-9][0-9]) eu_version="${eu_version}0$eu_extra_version" ;;
5023 [0-9][0-9]) eu_version="${eu_version}00$eu_extra_version";;
5024 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
5027 # Round up to the next release API (x.y) version.
5028 eu_version=$(( (eu_version + 999) / 1000 ))
5030 cat >confcache <<\_ACEOF
5031 # This file is a shell script that caches the results of configure
5032 # tests run on this system so they can be shared between configure
5033 # scripts and configure runs, see configure's option --config-cache.
5034 # It is not useful on other systems. If it contains results you don't
5035 # want to keep, you may remove or edit it.
5037 # config.status only pays attention to the cache file if you give it
5038 # the --recheck option to rerun configure.
5040 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5041 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5046 # The following way of writing the cache mishandles newlines in values,
5047 # but we know of no workaround that is simple, portable, and efficient.
5048 # So, we kill variables containing newlines.
5049 # Ultrix sh set writes to stderr and can't be redirected directly,
5050 # and sets the high bit in the cache file unless we assign to the vars.
5052 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5053 eval ac_val=\$$ac_var
5057 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5061 _ | IFS | as_nl) ;; #(
5062 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5063 *) { eval $ac_var=; unset $ac_var;} ;;
5069 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5070 *${as_nl}ac_space=\ *)
5071 # `set' does not quote correctly, so add quotes: double-quote
5072 # substitution turns \\\\ into \\, and sed turns \\ into \.
5075 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5078 # `set' quotes correctly as required by POSIX, so do not add quotes.
5079 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5088 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5090 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5092 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5093 if test -w "$cache_file"; then
5094 if test "x$cache_file" != "x/dev/null"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5096 $as_echo "$as_me: updating cache $cache_file" >&6;}
5097 if test ! -f "$cache_file" || test -h "$cache_file"; then
5098 cat confcache >"$cache_file"
5100 case $cache_file in #(
5102 mv -f confcache "$cache_file"$$ &&
5103 mv -f "$cache_file"$$ "$cache_file" ;; #(
5105 mv -f confcache "$cache_file" ;;
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5111 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5116 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5117 # Let make expand exec_prefix.
5118 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5120 DEFS=-DHAVE_CONFIG_H
5125 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5126 # 1. Remove the extension, and $U if already installed.
5127 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5128 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5129 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5130 # will be set to the directory where LIBOBJS objects are built.
5131 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5132 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5136 LTLIBOBJS=$ac_ltlibobjs
5139 if test -n "$EXEEXT"; then
5141 am__EXEEXT_FALSE='#'
5147 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5148 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5151 if test -z "${USE_LOCKS_TRUE}" && test -z "${USE_LOCKS_FALSE}"; then
5152 as_fn_error $? "conditional \"USE_LOCKS\" was never defined.
5153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5155 if test -z "${ENABLE_DWZ_TRUE}" && test -z "${ENABLE_DWZ_FALSE}"; then
5156 as_fn_error $? "conditional \"ENABLE_DWZ\" was never defined.
5157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5159 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5160 as_fn_error $? "conditional \"AMDEP\" was never defined.
5161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5163 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5164 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5167 if test -z "${NATIVE_LD_TRUE}" && test -z "${NATIVE_LD_FALSE}"; then
5168 as_fn_error $? "conditional \"NATIVE_LD\" was never defined.
5169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5171 if test -z "${NEVER_TRUE}" && test -z "${NEVER_FALSE}"; then
5172 as_fn_error $? "conditional \"NEVER\" was never defined.
5173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5175 if test -z "${MUDFLAP_TRUE}" && test -z "${MUDFLAP_FALSE}"; then
5176 as_fn_error $? "conditional \"MUDFLAP\" was never defined.
5177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5179 if test -z "${GPROF_TRUE}" && test -z "${GPROF_FALSE}"; then
5180 as_fn_error $? "conditional \"GPROF\" was never defined.
5181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5183 if test -z "${GCOV_TRUE}" && test -z "${GCOV_FALSE}"; then
5184 as_fn_error $? "conditional \"GCOV\" was never defined.
5185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5187 if test -z "${BUILD_STATIC_TRUE}" && test -z "${BUILD_STATIC_FALSE}"; then
5188 as_fn_error $? "conditional \"BUILD_STATIC\" was never defined.
5189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5191 if test -z "${TESTS_RPATH_TRUE}" && test -z "${TESTS_RPATH_FALSE}"; then
5192 as_fn_error $? "conditional \"TESTS_RPATH\" was never defined.
5193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5195 if test -z "${ZLIB_TRUE}" && test -z "${ZLIB_FALSE}"; then
5196 as_fn_error $? "conditional \"ZLIB\" was never defined.
5197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5199 if test -z "${BZLIB_TRUE}" && test -z "${BZLIB_FALSE}"; then
5200 as_fn_error $? "conditional \"BZLIB\" was never defined.
5201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5203 if test -z "${LZMA_TRUE}" && test -z "${LZMA_FALSE}"; then
5204 as_fn_error $? "conditional \"LZMA\" was never defined.
5205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5207 if test -z "${DEMANGLE_TRUE}" && test -z "${DEMANGLE_FALSE}"; then
5208 as_fn_error $? "conditional \"DEMANGLE\" was never defined.
5209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5211 if test -z "${HAVE_LIBASM_TRUE}" && test -z "${HAVE_LIBASM_FALSE}"; then
5212 as_fn_error $? "conditional \"HAVE_LIBASM\" was never defined.
5213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5215 if test -z "${STANDALONE_TRUE}" && test -z "${STANDALONE_FALSE}"; then
5216 as_fn_error $? "conditional \"STANDALONE\" was never defined.
5217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5220 : "${CONFIG_STATUS=./config.status}"
5222 ac_clean_files_save=$ac_clean_files
5223 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5225 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5227 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5229 # Generated by $as_me.
5230 # Run this file to recreate the current configuration.
5231 # Compiler output produced by configure, useful for debugging
5232 # configure, is in config.log if it exists.
5238 SHELL=\${CONFIG_SHELL-$SHELL}
5241 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5242 ## -------------------- ##
5243 ## M4sh Initialization. ##
5244 ## -------------------- ##
5246 # Be more Bourne compatible
5247 DUALCASE=1; export DUALCASE # for MKS sh
5248 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5251 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5252 # is contrary to our usage. Disable this feature.
5253 alias -g '${1+"$@"}'='"$@"'
5254 setopt NO_GLOB_SUBST
5256 case `(set -o) 2>/dev/null` in #(
5268 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5269 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5270 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5271 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5272 # Prefer a ksh shell builtin over an external printf program on Solaris,
5273 # but without wasting forks for bash or zsh.
5274 if test -z "$BASH_VERSION$ZSH_VERSION" \
5275 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5276 as_echo='print -r --'
5277 as_echo_n='print -rn --'
5278 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5279 as_echo='printf %s\n'
5280 as_echo_n='printf %s'
5282 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5283 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5284 as_echo_n='/usr/ucb/echo -n'
5286 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5287 as_echo_n_body='eval
5291 expr "X$arg" : "X\\(.*\\)$as_nl";
5292 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5294 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5296 export as_echo_n_body
5297 as_echo_n='sh -c $as_echo_n_body as_echo'
5300 as_echo='sh -c $as_echo_body as_echo'
5303 # The user is always right.
5304 if test "${PATH_SEPARATOR+set}" != set; then
5306 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5307 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5314 # We need space, tab and new line, in precisely that order. Quoting is
5315 # there to prevent editors from complaining about space-tab.
5316 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5317 # splitting by setting IFS to empty value.)
5320 # Find who we are. Look in the path if we contain no directory separator.
5323 *[\\/]* ) as_myself=$0 ;;
5324 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328 test -z "$as_dir" && as_dir=.
5329 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5335 # We did not find ourselves, most probably we were run as `sh COMMAND'
5336 # in which case we are not to be found in the path.
5337 if test "x$as_myself" = x; then
5340 if test ! -f "$as_myself"; then
5341 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5345 # Unset variables that we do not need and which cause bugs (e.g. in
5346 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5347 # suppresses any "Segmentation fault" message there. '((' could
5348 # trigger a bug in pdksh 5.2.14.
5349 for as_var in BASH_ENV ENV MAIL MAILPATH
5350 do eval test x\${$as_var+set} = xset \
5351 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5364 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5368 # ----------------------------------------
5369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5371 # script with STATUS, using 1 if that was 0.
5374 as_status=$1; test $as_status -eq 0 && as_status=1
5376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5379 $as_echo "$as_me: error: $2" >&2
5380 as_fn_exit $as_status
5384 # as_fn_set_status STATUS
5385 # -----------------------
5386 # Set $? to STATUS, without forking.
5390 } # as_fn_set_status
5394 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5404 # Portably unset VAR.
5407 { eval $1=; unset $1;}
5409 as_unset=as_fn_unset
5410 # as_fn_append VAR VALUE
5411 # ----------------------
5412 # Append the text in VALUE to the end of the definition contained in VAR. Take
5413 # advantage of any shell optimizations that allow amortized linear growth over
5414 # repeated appends, instead of the typical quadratic growth present in naive
5416 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5417 eval 'as_fn_append ()
5428 # as_fn_arith ARG...
5429 # ------------------
5430 # Perform arithmetic evaluation on the ARGs, and store the result in the
5431 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5432 # must be portable across $(()) and expr.
5433 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5434 eval 'as_fn_arith ()
5441 as_val=`expr "$@" || test $? -eq 1`
5446 if expr a : '\(a\)' >/dev/null 2>&1 &&
5447 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5453 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5454 as_basename=basename
5459 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5465 as_me=`$as_basename -- "$0" ||
5466 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5467 X"$0" : 'X\(//\)$' \| \
5468 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5470 sed '/^.*\/\([^/][^/]*\)\/*$/{
5484 # Avoid depending upon Character Ranges.
5485 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5486 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5487 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5488 as_cr_digits='0123456789'
5489 as_cr_alnum=$as_cr_Letters$as_cr_digits
5491 ECHO_C= ECHO_N= ECHO_T=
5492 case `echo -n x` in #(((((
5494 case `echo 'xy\c'` in
5495 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5497 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5504 rm -f conf$$ conf$$.exe conf$$.file
5505 if test -d conf$$.dir; then
5506 rm -f conf$$.dir/conf$$.file
5509 mkdir conf$$.dir 2>/dev/null
5511 if (echo >conf$$.file) 2>/dev/null; then
5512 if ln -s conf$$.file conf$$ 2>/dev/null; then
5514 # ... but there are two gotchas:
5515 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5516 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5517 # In both cases, we have to default to `cp -p'.
5518 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5520 elif ln conf$$.file conf$$ 2>/dev/null; then
5528 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5529 rmdir conf$$.dir 2>/dev/null
5534 # Create "$as_dir" as a directory, including parents if necessary.
5539 -*) as_dir=./$as_dir;;
5541 test -d "$as_dir" || eval $as_mkdir_p || {
5545 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5546 *) as_qdir=$as_dir;;
5548 as_dirs="'$as_qdir' $as_dirs"
5549 as_dir=`$as_dirname -- "$as_dir" ||
5550 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5551 X"$as_dir" : 'X\(//\)[^/]' \| \
5552 X"$as_dir" : 'X\(//\)$' \| \
5553 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5554 $as_echo X"$as_dir" |
5555 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5572 test -d "$as_dir" && break
5574 test -z "$as_dirs" || eval "mkdir $as_dirs"
5575 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5579 if mkdir -p . 2>/dev/null; then
5580 as_mkdir_p='mkdir -p "$as_dir"'
5582 test -d ./-p && rmdir ./-p
5586 if test -x / >/dev/null 2>&1; then
5589 if ls -dL / >/dev/null 2>&1; then
5596 if test -d "$1"; then
5602 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5603 ???[sx]*):;;*)false;;esac;fi
5607 as_executable_p=$as_test_x
5609 # Sed expression to map a string onto a valid CPP name.
5610 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5612 # Sed expression to map a string onto a valid variable name.
5613 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5617 ## ----------------------------------- ##
5618 ## Main body of $CONFIG_STATUS script. ##
5619 ## ----------------------------------- ##
5621 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5624 # Save the log message, to keep $0 and so on meaningful, and to
5625 # report actual input values of CONFIG_FILES etc. instead of their
5626 # values after options handling.
5628 This file was extended by elfutils $as_me 0.155, which was
5629 generated by GNU Autoconf 2.68. Invocation command line was
5631 CONFIG_FILES = $CONFIG_FILES
5632 CONFIG_HEADERS = $CONFIG_HEADERS
5633 CONFIG_LINKS = $CONFIG_LINKS
5634 CONFIG_COMMANDS = $CONFIG_COMMANDS
5637 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5642 case $ac_config_files in *"
5643 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5646 case $ac_config_headers in *"
5647 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5652 # Files that config.status was made for.
5653 config_files="$ac_config_files"
5654 config_headers="$ac_config_headers"
5655 config_commands="$ac_config_commands"
5659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5661 \`$as_me' instantiates files and other configuration actions
5662 from templates according to the current configuration. Unless the files
5663 and actions are specified as TAGs, all are instantiated by default.
5665 Usage: $0 [OPTION]... [TAG]...
5667 -h, --help print this help, then exit
5668 -V, --version print version number and configuration settings, then exit
5669 --config print configuration, then exit
5670 -q, --quiet, --silent
5671 do not print progress messages
5672 -d, --debug don't remove temporary files
5673 --recheck update $as_me by reconfiguring in the same conditions
5674 --file=FILE[:TEMPLATE]
5675 instantiate the configuration file FILE
5676 --header=FILE[:TEMPLATE]
5677 instantiate the configuration header FILE
5679 Configuration files:
5682 Configuration headers:
5685 Configuration commands:
5688 Report bugs to <https://bugzilla.redhat.com/>."
5691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5692 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5694 elfutils config.status 0.155
5695 configured by $0, generated by GNU Autoconf 2.68,
5696 with options \\"\$ac_cs_config\\"
5698 Copyright (C) 2010 Free Software Foundation, Inc.
5699 This config.status script is free software; the Free Software Foundation
5700 gives unlimited permission to copy, distribute and modify it."
5707 test -n "\$AWK" || AWK=awk
5710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5711 # The default lists apply if the user does not specify any file.
5717 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5718 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5722 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5734 # Handling of the options.
5735 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5737 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5738 $as_echo "$ac_cs_version"; exit ;;
5739 --config | --confi | --conf | --con | --co | --c )
5740 $as_echo "$ac_cs_config"; exit ;;
5741 --debug | --debu | --deb | --de | --d | -d )
5743 --file | --fil | --fi | --f )
5746 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5747 '') as_fn_error $? "missing file argument" ;;
5749 as_fn_append CONFIG_FILES " '$ac_optarg'"
5750 ac_need_defaults=false;;
5751 --header | --heade | --head | --hea )
5754 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5756 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5757 ac_need_defaults=false;;
5759 # Conflict between --help and --header
5760 as_fn_error $? "ambiguous option: \`$1'
5761 Try \`$0 --help' for more information.";;
5762 --help | --hel | -h )
5763 $as_echo "$ac_cs_usage"; exit ;;
5764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5765 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5769 -*) as_fn_error $? "unrecognized option: \`$1'
5770 Try \`$0 --help' for more information." ;;
5772 *) as_fn_append ac_config_targets " $1"
5773 ac_need_defaults=false ;;
5779 ac_configure_extra_args=
5781 if $ac_cs_silent; then
5783 ac_configure_extra_args="$ac_configure_extra_args --silent"
5787 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5788 if \$ac_cs_recheck; then
5789 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5791 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5792 CONFIG_SHELL='$SHELL'
5798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5802 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5803 ## Running $as_me. ##
5809 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5813 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5814 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
5815 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5816 # from automake < 1.5.
5817 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5818 # Capture the value of LINGUAS because we need it to compute CATALOGS.
5819 LINGUAS="${LINGUAS-%UNSET%}"
5824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5826 # Handling of arguments.
5827 for ac_config_target in $ac_config_targets
5829 case $ac_config_target in
5830 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5831 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5832 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5833 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
5834 "elfutils.spec") CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;;
5835 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5836 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5837 "libelf/Makefile") CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;;
5838 "libebl/Makefile") CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;;
5839 "libdw/Makefile") CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;;
5840 "libdwfl/Makefile") CONFIG_FILES="$CONFIG_FILES libdwfl/Makefile" ;;
5841 "libcpu/Makefile") CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;;
5842 "libasm/Makefile") CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;;
5843 "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;;
5844 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5845 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5846 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5847 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
5848 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;;
5850 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5855 # If the user did not use the arguments to specify the items to instantiate,
5856 # then the envvar interface is used. Set only those that are not.
5857 # We use the long form for the default assignment because of an extremely
5858 # bizarre bug on SunOS 4.1.3.
5859 if $ac_need_defaults; then
5860 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5861 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5862 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5865 # Have a temporary directory for convenience. Make it in the build tree
5866 # simply because there is no reason against having it here, and in addition,
5867 # creating and moving files from /tmp can sometimes cause problems.
5868 # Hook for its removal unless debugging.
5869 # Note that there is a small window in which the directory will not be cleaned:
5870 # after its creation but before its name has been assigned to `$tmp'.
5874 trap 'exit_status=$?
5876 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5878 trap 'as_fn_exit 1' 1 2 13 15
5880 # Create a (secure) tmp directory for tmp files.
5883 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5887 tmp=./conf$$-$RANDOM
5888 (umask 077 && mkdir "$tmp")
5889 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5892 # Set up the scripts for CONFIG_FILES section.
5893 # No need to generate them if there are no CONFIG_FILES.
5894 # This happens for instance with `./config.status config.h'.
5895 if test -n "$CONFIG_FILES"; then
5898 ac_cr=`echo X | tr X '\015'`
5899 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5900 # But we know of no other shell where ac_cr would be empty at this
5901 # point, so we can use a bashism as a fallback.
5902 if test "x$ac_cr" = x; then
5903 eval ac_cr=\$\'\\r\'
5905 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5906 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5912 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5917 echo "cat >conf$$subs.awk <<_ACEOF" &&
5918 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5921 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5922 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5924 for ac_last_try in false false false false false :; do
5925 . ./conf$$subs.sh ||
5926 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5928 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5929 if test $ac_delim_n = $ac_delim_num; then
5931 elif $ac_last_try; then
5932 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5934 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5940 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5944 s/^/S["/; s/!.*/"]=/
5954 s/\(.\{148\}\)..*/\1/
5956 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5961 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5968 s/\(.\{148\}\)..*/\1/
5970 s/["\\]/\\&/g; s/^/"/; s/$/"/
5974 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5979 ' <conf$$subs.awk | sed '
5984 ' >>$CONFIG_STATUS || ac_write_fail=1
5985 rm -f conf$$subs.awk
5986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5988 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5989 for (key in S) S_is_set[key] = 1
5995 nfields = split(line, field, "@")
5997 len = length(field[1])
5998 for (i = 2; i < nfields; i++) {
6000 keylen = length(key)
6001 if (S_is_set[key]) {
6003 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6004 len += length(value) + length(field[++i])
6015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6016 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6017 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6020 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6021 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6024 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6025 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6026 # trailing colons and then remove the whole line if VPATH becomes empty
6027 # (actually we leave an empty line to preserve line numbers).
6028 if test "x$srcdir" = x.; then
6029 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6048 fi # test -n "$CONFIG_FILES"
6050 # Set up the scripts for CONFIG_HEADERS section.
6051 # No need to generate them if there are no CONFIG_HEADERS.
6052 # This happens for instance with `./config.status Makefile'.
6053 if test -n "$CONFIG_HEADERS"; then
6054 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6058 # Transform confdefs.h into an awk script `defines.awk', embedded as
6059 # here-document in config.status, that substitutes the proper values into
6060 # config.h.in to produce config.h.
6062 # Create a delimiter string that does not exist in confdefs.h, to ease
6063 # handling of long lines.
6065 for ac_last_try in false false :; do
6066 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6067 if test -z "$ac_tt"; then
6069 elif $ac_last_try; then
6070 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6072 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6076 # For the awk script, D is an array of macro values keyed by name,
6077 # likewise P contains macro parameters if any. Preserve backslash
6078 # newline sequences.
6080 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6082 s/.\{148\}/&'"$ac_delim"'/g
6085 s/^[ ]*#[ ]*define[ ][ ]*/ /
6092 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6094 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6098 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6099 D["\1"]=" \3\\\\\\n"\\/p
6101 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6106 s/.\{148\}/&'"$ac_delim"'/g
6111 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6114 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6116 ' <confdefs.h | sed '
6117 s/'"$ac_delim"'/"\\\
6118 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6121 for (key in D) D_is_set[key] = 1
6124 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6126 split(line, arg, " ")
6127 if (arg[1] == "#") {
6131 defundef = substr(arg[1], 2)
6134 split(mac1, mac2, "(") #)
6136 prefix = substr(line, 1, index(line, defundef) - 1)
6137 if (D_is_set[macro]) {
6138 # Preserve the white space surrounding the "#".
6139 print prefix "define", macro P[macro] D[macro]
6142 # Replace #undef with comments. This is necessary, for example,
6143 # in the case of _POSIX_SOURCE, which is predefined and required
6144 # on some systems where configure will not decide to define it.
6145 if (defundef == "undef") {
6146 print "/*", prefix defundef, macro, "*/"
6154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6155 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6156 fi # test -n "$CONFIG_HEADERS"
6159 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6164 :[FHLC]) ac_mode=$ac_tag; continue;;
6166 case $ac_mode$ac_tag in
6168 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6169 :[FH]-) ac_tag=-:-;;
6170 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6187 -) ac_f="$ac_tmp/stdin";;
6188 *) # Look for the file first in the build tree, then in the source tree
6189 # (if the path is not absolute). The absolute path cannot be DOS-style,
6190 # because $ac_f cannot contain `:'.
6194 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6196 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6198 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6199 as_fn_append ac_file_inputs " '$ac_f'"
6202 # Let's still pretend it is `configure' which instantiates (i.e., don't
6203 # use $as_me), people would be surprised to read:
6204 # /* config.h. Generated by config.status. */
6205 configure_input='Generated from '`
6206 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6208 if test x"$ac_file" != x-; then
6209 configure_input="$ac_file. $configure_input"
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6211 $as_echo "$as_me: creating $ac_file" >&6;}
6213 # Neutralize special characters interpreted by sed in replacement strings.
6214 case $configure_input in #(
6215 *\&* | *\|* | *\\* )
6216 ac_sed_conf_input=`$as_echo "$configure_input" |
6217 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6218 *) ac_sed_conf_input=$configure_input;;
6222 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6228 ac_dir=`$as_dirname -- "$ac_file" ||
6229 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6230 X"$ac_file" : 'X\(//\)[^/]' \| \
6231 X"$ac_file" : 'X\(//\)$' \| \
6232 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6233 $as_echo X"$ac_file" |
6234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6251 as_dir="$ac_dir"; as_fn_mkdir_p
6255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6257 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6258 # A ".." for each directory in $ac_dir_suffix.
6259 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6260 case $ac_top_builddir_sub in
6261 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6262 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6265 ac_abs_top_builddir=$ac_pwd
6266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6267 # for backward compatibility:
6268 ac_top_builddir=$ac_top_build_prefix
6271 .) # We are building in place.
6273 ac_top_srcdir=$ac_top_builddir_sub
6274 ac_abs_top_srcdir=$ac_pwd ;;
6275 [\\/]* | ?:[\\/]* ) # Absolute name.
6276 ac_srcdir=$srcdir$ac_dir_suffix;
6277 ac_top_srcdir=$srcdir
6278 ac_abs_top_srcdir=$srcdir ;;
6280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6281 ac_top_srcdir=$ac_top_build_prefix$srcdir
6282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6294 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6295 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6299 [\\/$]* | ?:[\\/]* ) ;;
6300 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6305 # If the template does not know about datarootdir, expand it.
6306 # FIXME: This hack should be removed a few years after 2.60.
6307 ac_datarootdir_hack=; ac_datarootdir_seen=
6318 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6319 *datarootdir*) ac_datarootdir_seen=yes;;
6320 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6322 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6325 ac_datarootdir_hack='
6326 s&@datadir@&$datadir&g
6327 s&@docdir@&$docdir&g
6328 s&@infodir@&$infodir&g
6329 s&@localedir@&$localedir&g
6330 s&@mandir@&$mandir&g
6331 s&\\\${datarootdir}&$datarootdir&g' ;;
6335 # Neutralize VPATH when `$srcdir' = `.'.
6336 # Shell code in configure.ac might set extrasub.
6337 # FIXME: do we really want to maintain this feature?
6338 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6339 ac_sed_extra="$ac_vpsub
6342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6345 s|@configure_input@|$ac_sed_conf_input|;t t
6346 s&@top_builddir@&$ac_top_builddir_sub&;t t
6347 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6348 s&@srcdir@&$ac_srcdir&;t t
6349 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6350 s&@top_srcdir@&$ac_top_srcdir&;t t
6351 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6352 s&@builddir@&$ac_builddir&;t t
6353 s&@abs_builddir@&$ac_abs_builddir&;t t
6354 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6355 s&@INSTALL@&$ac_INSTALL&;t t
6356 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6357 $ac_datarootdir_hack
6359 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6360 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6362 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6363 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6364 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6365 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6367 which seems to be undefined. Please make sure it is defined" >&5
6368 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6369 which seems to be undefined. Please make sure it is defined" >&2;}
6371 rm -f "$ac_tmp/stdin"
6373 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6374 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6376 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6382 if test x"$ac_file" != x-; then
6384 $as_echo "/* $configure_input */" \
6385 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6386 } >"$ac_tmp/config.h" \
6387 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6388 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6390 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6393 mv "$ac_tmp/config.h" "$ac_file" \
6394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6397 $as_echo "/* $configure_input */" \
6398 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6399 || as_fn_error $? "could not create -" "$LINENO" 5
6401 # Compute "$ac_file"'s index in $config_headers.
6404 for _am_header in $config_headers :; do
6406 $_am_arg | $_am_arg:* )
6409 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6412 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6413 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6414 X"$_am_arg" : 'X\(//\)[^/]' \| \
6415 X"$_am_arg" : 'X\(//\)$' \| \
6416 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6417 $as_echo X"$_am_arg" |
6418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6434 s/.*/./; q'`/stamp-h$_am_stamp_count
6437 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6438 $as_echo "$as_me: executing $ac_file commands" >&6;}
6443 case $ac_file$ac_mode in
6444 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6445 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6446 # are listed without --file. Let's play safe and only enable the eval
6447 # if we detect the quoting.
6448 case $CONFIG_FILES in
6449 *\'*) eval set x "$CONFIG_FILES" ;;
6450 *) set x $CONFIG_FILES ;;
6455 # Strip MF so we end up with the name of the file.
6456 mf=`echo "$mf" | sed -e 's/:.*$//'`
6457 # Check whether this is an Automake generated Makefile or not.
6458 # We used to match only the files named `Makefile.in', but
6459 # some people rename them; so instead we look at the file content.
6460 # Grep'ing the first line is not enough: some people post-process
6461 # each Makefile.in and add a new line on top of each file to say so.
6462 # Grep'ing the whole file is not good either: AIX grep has a line
6463 # limit of 2048, but all sed's we know have understand at least 4000.
6464 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6465 dirpart=`$as_dirname -- "$mf" ||
6466 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6467 X"$mf" : 'X\(//\)[^/]' \| \
6468 X"$mf" : 'X\(//\)$' \| \
6469 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6491 # Extract the definition of DEPDIR, am__include, and am__quote
6492 # from the Makefile without running `make'.
6493 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6494 test -z "$DEPDIR" && continue
6495 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6496 test -z "am__include" && continue
6497 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6498 # When using ansi2knr, U may be empty or an underscore; expand it
6499 U=`sed -n 's/^U = //p' < "$mf"`
6500 # Find all dependency output files, they are included files with
6501 # $(DEPDIR) in their names. We invoke sed twice because it is the
6502 # simplest approach to changing $(DEPDIR) to its actual value in the
6504 for file in `sed -n "
6505 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6506 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6507 # Make sure the directory exists.
6508 test -f "$dirpart/$file" && continue
6509 fdir=`$as_dirname -- "$file" ||
6510 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6511 X"$file" : 'X\(//\)[^/]' \| \
6512 X"$file" : 'X\(//\)$' \| \
6513 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6532 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6533 # echo "creating $dirpart/$file"
6534 echo '# dummy' > "$dirpart/$file"
6540 for ac_file in $CONFIG_FILES; do
6541 # Support "outfile[:infile[:infile...]]"
6543 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6545 # PO directories have a Makefile.in generated from Makefile.in.in.
6546 case "$ac_file" in */Makefile.in)
6547 # Adjust a relative srcdir.
6548 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6549 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
6550 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6551 # In autoconf-2.13 it is called $ac_given_srcdir.
6552 # In autoconf-2.50 it is called $srcdir.
6553 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
6554 case "$ac_given_srcdir" in
6555 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6556 /*) top_srcdir="$ac_given_srcdir" ;;
6557 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
6559 # Treat a directory as a PO directory if and only if it has a
6560 # POTFILES.in file. This allows packages to have multiple PO
6561 # directories under different names or in different locations.
6562 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6563 rm -f "$ac_dir/POTFILES"
6564 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6565 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6566 POMAKEFILEDEPS="POTFILES.in"
6567 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
6568 # on $ac_dir but don't depend on user-specified configuration
6570 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6571 # The LINGUAS file contains the set of available languages.
6572 if test -n "$OBSOLETE_ALL_LINGUAS"; then
6573 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6575 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6576 # Hide the ALL_LINGUAS assigment from automake < 1.5.
6577 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6578 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6580 # The set of available languages was given in configure.in.
6581 # Hide the ALL_LINGUAS assigment from automake < 1.5.
6582 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6585 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
6586 # Compute UPDATEPOFILES
6587 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
6588 # Compute DUMMYPOFILES
6589 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
6591 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
6592 case "$ac_given_srcdir" in
6594 *) srcdirpre='$(srcdir)/' ;;
6600 for lang in $ALL_LINGUAS; do
6601 POFILES="$POFILES $srcdirpre$lang.po"
6602 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
6603 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
6604 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6606 # CATALOGS depends on both $ac_dir and the user's LINGUAS
6607 # environment variable.
6609 if test -n "$ALL_LINGUAS"; then
6610 for presentlang in $ALL_LINGUAS; do
6612 if test "%UNSET%" != "$LINGUAS"; then
6613 desiredlanguages="$LINGUAS"
6615 desiredlanguages="$ALL_LINGUAS"
6617 for desiredlang in $desiredlanguages; do
6618 # Use the presentlang catalog if desiredlang is
6619 # a. equal to presentlang, or
6620 # b. a variant of presentlang (because in this case,
6621 # presentlang can be used as a fallback for messages
6622 # which are not translated in the desiredlang catalog).
6623 case "$desiredlang" in
6624 "$presentlang"*) useit=yes;;
6627 if test $useit = yes; then
6628 INST_LINGUAS="$INST_LINGUAS $presentlang"
6633 if test -n "$INST_LINGUAS"; then
6634 for lang in $INST_LINGUAS; do
6635 CATALOGS="$CATALOGS $lang.gmo"
6638 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
6639 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
6640 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
6641 if test -f "$f"; then
6643 *.orig | *.bak | *~) ;;
6644 *) cat "$f" >> "$ac_dir/Makefile" ;;
6659 ac_clean_files=$ac_clean_files_save
6661 test $ac_write_fail = 0 ||
6662 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6665 # configure is writing to config.log, and then calls config.status.
6666 # config.status does its own redirection, appending to config.log.
6667 # Unfortunately, on DOS this fails, as config.log is still kept open
6668 # by configure, so config.status won't be able to write to it; its
6669 # output is simply discarded. So we exec the FD to /dev/null,
6670 # effectively closing config.log, so it can be properly (re)opened and
6671 # appended to by config.status. When coming back to configure, we
6672 # need to make the FD available again.
6673 if test "$no_create" != yes; then
6675 ac_config_status_args=
6676 test "$silent" = yes &&
6677 ac_config_status_args="$ac_config_status_args --quiet"
6679 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6681 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6682 # would make configure fail if this is the last instruction.
6683 $ac_cs_success || as_fn_exit 1
6685 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6687 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}