2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Red Hat elfutils 0.153.
5 # Report bugs to <http://bugzilla.redhat.com/bugzilla/>.
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: http://bugzilla.redhat.com/bugzilla/ about your system,
244 $0: including any error possibly output before this
245 $0: message. Then install a modern shell, or manually run
246 $0: the script under such a shell if you do have one."
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='Red Hat elfutils'
563 PACKAGE_TARNAME='elfutils'
564 PACKAGE_VERSION='0.153'
565 PACKAGE_STRING='Red Hat elfutils 0.153'
566 PACKAGE_BUGREPORT='http://bugzilla.redhat.com/bugzilla/'
569 ac_unique_file="libelf/libelf.h"
570 ac_subst_vars='am__EXEEXT_FALSE
575 XGETTEXT_EXTRA_OPTIONS
583 GETTEXT_MACRO_VERSION
649 MAINTAINER_MODE_FALSE
659 INSTALL_STRIP_PROGRAM
701 program_transform_name
714 enable_option_checking
715 enable_maintainer_mode
716 enable_deterministic_archives
718 enable_dependency_tracking
732 ac_precious_vars='build_alias
744 # Initialize some variables set by options.
746 ac_init_version=false
747 ac_unrecognized_opts=
749 # The variables have the same names as the options, with
750 # dashes changed to underlines.
758 program_transform_name=s,x,x,
766 # Installation directory options.
767 # These are left unexpanded so users can "make install exec_prefix=/foo"
768 # and all the variables that are supposed to be based on exec_prefix
769 # by default will actually change.
770 # Use braces instead of parens because sh, perl, etc. also accept them.
771 # (The list follows the same order as the GNU Coding Standards.)
772 bindir='${exec_prefix}/bin'
773 sbindir='${exec_prefix}/sbin'
774 libexecdir='${exec_prefix}/libexec'
775 datarootdir='${prefix}/share'
776 datadir='${datarootdir}'
777 sysconfdir='${prefix}/etc'
778 sharedstatedir='${prefix}/com'
779 localstatedir='${prefix}/var'
780 includedir='${prefix}/include'
781 oldincludedir='/usr/include'
782 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
783 infodir='${datarootdir}/info'
788 libdir='${exec_prefix}/lib'
789 localedir='${datarootdir}/locale'
790 mandir='${datarootdir}/man'
796 # If the previous option needs an argument, assign it.
797 if test -n "$ac_prev"; then
798 eval $ac_prev=\$ac_option
804 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
809 # Accept the important Cygnus configure options, so we can diagnose typos.
811 case $ac_dashdash$ac_option in
815 -bindir | --bindir | --bindi | --bind | --bin | --bi)
817 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
820 -build | --build | --buil | --bui | --bu)
821 ac_prev=build_alias ;;
822 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
823 build_alias=$ac_optarg ;;
825 -cache-file | --cache-file | --cache-fil | --cache-fi \
826 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
827 ac_prev=cache_file ;;
828 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
829 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
830 cache_file=$ac_optarg ;;
833 cache_file=config.cache ;;
835 -datadir | --datadir | --datadi | --datad)
837 -datadir=* | --datadir=* | --datadi=* | --datad=*)
838 datadir=$ac_optarg ;;
840 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
841 | --dataroo | --dataro | --datar)
842 ac_prev=datarootdir ;;
843 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
844 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
845 datarootdir=$ac_optarg ;;
847 -disable-* | --disable-*)
848 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
849 # Reject names that are not valid shell variable names.
850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
851 as_fn_error $? "invalid feature name: $ac_useropt"
852 ac_useropt_orig=$ac_useropt
853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
854 case $ac_user_opts in
858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
859 ac_unrecognized_sep=', ';;
861 eval enable_$ac_useropt=no ;;
863 -docdir | --docdir | --docdi | --doc | --do)
865 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
868 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
870 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
873 -enable-* | --enable-*)
874 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
875 # Reject names that are not valid shell variable names.
876 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
877 as_fn_error $? "invalid feature name: $ac_useropt"
878 ac_useropt_orig=$ac_useropt
879 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
880 case $ac_user_opts in
884 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
885 ac_unrecognized_sep=', ';;
887 eval enable_$ac_useropt=\$ac_optarg ;;
889 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
890 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
891 | --exec | --exe | --ex)
892 ac_prev=exec_prefix ;;
893 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
894 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
895 | --exec=* | --exe=* | --ex=*)
896 exec_prefix=$ac_optarg ;;
898 -gas | --gas | --ga | --g)
899 # Obsolete; use --with-gas.
902 -help | --help | --hel | --he | -h)
904 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
905 ac_init_help=recursive ;;
906 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
907 ac_init_help=short ;;
909 -host | --host | --hos | --ho)
910 ac_prev=host_alias ;;
911 -host=* | --host=* | --hos=* | --ho=*)
912 host_alias=$ac_optarg ;;
914 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
916 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
918 htmldir=$ac_optarg ;;
920 -includedir | --includedir | --includedi | --included | --include \
921 | --includ | --inclu | --incl | --inc)
922 ac_prev=includedir ;;
923 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
924 | --includ=* | --inclu=* | --incl=* | --inc=*)
925 includedir=$ac_optarg ;;
927 -infodir | --infodir | --infodi | --infod | --info | --inf)
929 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
930 infodir=$ac_optarg ;;
932 -libdir | --libdir | --libdi | --libd)
934 -libdir=* | --libdir=* | --libdi=* | --libd=*)
937 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
938 | --libexe | --libex | --libe)
939 ac_prev=libexecdir ;;
940 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
941 | --libexe=* | --libex=* | --libe=*)
942 libexecdir=$ac_optarg ;;
944 -localedir | --localedir | --localedi | --localed | --locale)
946 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
947 localedir=$ac_optarg ;;
949 -localstatedir | --localstatedir | --localstatedi | --localstated \
950 | --localstate | --localstat | --localsta | --localst | --locals)
951 ac_prev=localstatedir ;;
952 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
953 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
954 localstatedir=$ac_optarg ;;
956 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
958 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
962 # Obsolete; use --without-fp.
965 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
966 | --no-cr | --no-c | -n)
969 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
970 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
973 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
974 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
975 | --oldin | --oldi | --old | --ol | --o)
976 ac_prev=oldincludedir ;;
977 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
978 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
979 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
980 oldincludedir=$ac_optarg ;;
982 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
984 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
987 -program-prefix | --program-prefix | --program-prefi | --program-pref \
988 | --program-pre | --program-pr | --program-p)
989 ac_prev=program_prefix ;;
990 -program-prefix=* | --program-prefix=* | --program-prefi=* \
991 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
992 program_prefix=$ac_optarg ;;
994 -program-suffix | --program-suffix | --program-suffi | --program-suff \
995 | --program-suf | --program-su | --program-s)
996 ac_prev=program_suffix ;;
997 -program-suffix=* | --program-suffix=* | --program-suffi=* \
998 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
999 program_suffix=$ac_optarg ;;
1001 -program-transform-name | --program-transform-name \
1002 | --program-transform-nam | --program-transform-na \
1003 | --program-transform-n | --program-transform- \
1004 | --program-transform | --program-transfor \
1005 | --program-transfo | --program-transf \
1006 | --program-trans | --program-tran \
1007 | --progr-tra | --program-tr | --program-t)
1008 ac_prev=program_transform_name ;;
1009 -program-transform-name=* | --program-transform-name=* \
1010 | --program-transform-nam=* | --program-transform-na=* \
1011 | --program-transform-n=* | --program-transform-=* \
1012 | --program-transform=* | --program-transfor=* \
1013 | --program-transfo=* | --program-transf=* \
1014 | --program-trans=* | --program-tran=* \
1015 | --progr-tra=* | --program-tr=* | --program-t=*)
1016 program_transform_name=$ac_optarg ;;
1018 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1020 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1021 pdfdir=$ac_optarg ;;
1023 -psdir | --psdir | --psdi | --psd | --ps)
1025 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1029 | -silent | --silent | --silen | --sile | --sil)
1032 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1034 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1036 sbindir=$ac_optarg ;;
1038 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1039 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1040 | --sharedst | --shareds | --shared | --share | --shar \
1042 ac_prev=sharedstatedir ;;
1043 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1044 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1045 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1047 sharedstatedir=$ac_optarg ;;
1049 -site | --site | --sit)
1051 -site=* | --site=* | --sit=*)
1054 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1056 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1057 srcdir=$ac_optarg ;;
1059 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1060 | --syscon | --sysco | --sysc | --sys | --sy)
1061 ac_prev=sysconfdir ;;
1062 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1063 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1064 sysconfdir=$ac_optarg ;;
1066 -target | --target | --targe | --targ | --tar | --ta | --t)
1067 ac_prev=target_alias ;;
1068 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1069 target_alias=$ac_optarg ;;
1071 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1074 -version | --version | --versio | --versi | --vers | -V)
1075 ac_init_version=: ;;
1078 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1081 as_fn_error $? "invalid package name: $ac_useropt"
1082 ac_useropt_orig=$ac_useropt
1083 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1084 case $ac_user_opts in
1088 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1089 ac_unrecognized_sep=', ';;
1091 eval with_$ac_useropt=\$ac_optarg ;;
1093 -without-* | --without-*)
1094 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1097 as_fn_error $? "invalid package name: $ac_useropt"
1098 ac_useropt_orig=$ac_useropt
1099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1105 ac_unrecognized_sep=', ';;
1107 eval with_$ac_useropt=no ;;
1110 # Obsolete; use --with-x.
1113 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1114 | --x-incl | --x-inc | --x-in | --x-i)
1115 ac_prev=x_includes ;;
1116 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1117 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1118 x_includes=$ac_optarg ;;
1120 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1121 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1122 ac_prev=x_libraries ;;
1123 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1124 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1125 x_libraries=$ac_optarg ;;
1127 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1128 Try \`$0 --help' for more information"
1132 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1133 # Reject names that are not valid shell variable names.
1134 case $ac_envvar in #(
1135 '' | [0-9]* | *[!_$as_cr_alnum]* )
1136 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1138 eval $ac_envvar=\$ac_optarg
1139 export $ac_envvar ;;
1142 # FIXME: should be removed in autoconf 3.0.
1143 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1144 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1145 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1146 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1152 if test -n "$ac_prev"; then
1153 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1154 as_fn_error $? "missing argument to $ac_option"
1157 if test -n "$ac_unrecognized_opts"; then
1158 case $enable_option_checking in
1160 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1161 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1165 # Check all directory arguments for consistency.
1166 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1167 datadir sysconfdir sharedstatedir localstatedir includedir \
1168 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1169 libdir localedir mandir
1171 eval ac_val=\$$ac_var
1172 # Remove trailing slashes.
1175 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1176 eval $ac_var=\$ac_val;;
1178 # Be sure to have absolute directory names.
1180 [\\/$]* | ?:[\\/]* ) continue;;
1181 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1183 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1186 # There might be people who depend on the old broken behavior: `$host'
1187 # used to hold the argument of --host etc.
1188 # FIXME: To remove some day.
1191 target=$target_alias
1193 # FIXME: To remove some day.
1194 if test "x$host_alias" != x; then
1195 if test "x$build_alias" = x; then
1196 cross_compiling=maybe
1197 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1198 If a cross compiler is detected then cross compile mode will be used" >&2
1199 elif test "x$build_alias" != "x$host_alias"; then
1205 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1207 test "$silent" = yes && exec 6>/dev/null
1210 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1211 ac_ls_di=`ls -di .` &&
1212 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1213 as_fn_error $? "working directory cannot be determined"
1214 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1215 as_fn_error $? "pwd does not report name of working directory"
1218 # Find the source files, if location was not specified.
1219 if test -z "$srcdir"; then
1220 ac_srcdir_defaulted=yes
1221 # Try the directory containing this script, then the parent directory.
1222 ac_confdir=`$as_dirname -- "$as_myself" ||
1223 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1224 X"$as_myself" : 'X\(//\)[^/]' \| \
1225 X"$as_myself" : 'X\(//\)$' \| \
1226 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1227 $as_echo X"$as_myself" |
1228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1250 ac_srcdir_defaulted=no
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1254 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1256 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1258 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1260 # When building in place, set srcdir=.
1261 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 # Remove unnecessary trailing slashes from srcdir.
1265 # Double slashes in file names in object file debugging info
1266 # mess up M-x gdb in Emacs.
1268 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1270 for ac_var in $ac_precious_vars; do
1271 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1272 eval ac_env_${ac_var}_value=\$${ac_var}
1273 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1278 # Report the --help message.
1280 if test "$ac_init_help" = "long"; then
1281 # Omit some internal or obsolete options to make the list less imposing.
1282 # This message is too long to be a string in the A/UX 3.1 sh.
1284 \`configure' configures Red Hat elfutils 0.153 to adapt to many kinds of systems.
1286 Usage: $0 [OPTION]... [VAR=VALUE]...
1288 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1289 VAR=VALUE. See below for descriptions of some of the useful variables.
1291 Defaults for the options are specified in brackets.
1294 -h, --help display this help and exit
1295 --help=short display options specific to this package
1296 --help=recursive display the short help of all the included packages
1297 -V, --version display version information and exit
1298 -q, --quiet, --silent do not print \`checking ...' messages
1299 --cache-file=FILE cache test results in FILE [disabled]
1300 -C, --config-cache alias for \`--cache-file=config.cache'
1301 -n, --no-create do not create output files
1302 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1304 Installation directories:
1305 --prefix=PREFIX install architecture-independent files in PREFIX
1306 [$ac_default_prefix]
1307 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1310 By default, \`make install' will install all the files in
1311 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1312 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1313 for instance \`--prefix=\$HOME'.
1315 For better control, use the options below.
1317 Fine tuning of the installation directories:
1318 --bindir=DIR user executables [EPREFIX/bin]
1319 --sbindir=DIR system admin executables [EPREFIX/sbin]
1320 --libexecdir=DIR program executables [EPREFIX/libexec]
1321 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1322 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1323 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1324 --libdir=DIR object code libraries [EPREFIX/lib]
1325 --includedir=DIR C header files [PREFIX/include]
1326 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1327 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1328 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1329 --infodir=DIR info documentation [DATAROOTDIR/info]
1330 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1331 --mandir=DIR man documentation [DATAROOTDIR/man]
1332 --docdir=DIR documentation root [DATAROOTDIR/doc/elfutils]
1333 --htmldir=DIR html documentation [DOCDIR]
1334 --dvidir=DIR dvi documentation [DOCDIR]
1335 --pdfdir=DIR pdf documentation [DOCDIR]
1336 --psdir=DIR ps documentation [DOCDIR]
1342 --program-prefix=PREFIX prepend PREFIX to installed program names
1343 --program-suffix=SUFFIX append SUFFIX to installed program names
1344 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1347 --build=BUILD configure for building on BUILD [guessed]
1348 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1352 if test -n "$ac_init_help"; then
1353 case $ac_init_help in
1354 short | recursive ) echo "Configuration of Red Hat elfutils 0.153:";;
1359 --disable-option-checking ignore unrecognized --enable/--with options
1360 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1361 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1362 --enable-maintainer-mode enable make rules and dependencies not useful
1363 (and sometimes confusing) to the casual installer
1364 --enable-deterministic-archives
1365 ar and ranlib default to -D behavior
1366 --enable-thread-safety enable thread safety of libraries
1367 --disable-dependency-tracking speeds up one-time build
1368 --enable-dependency-tracking do not reject slow dependency extractors
1369 --disable-largefile omit support for large files
1370 --disable-generic do not build generic linker
1371 --enable-mudflap build binaries with mudflap instrumentation
1372 --enable-debugpred build binaries with support to debug branch
1374 --enable-gprof build binaries with gprof support
1375 --enable-gcov build binaries with gcov support
1376 --enable-tests-rpath build $ORIGIN-using rpath into tests
1377 --enable-libebl-subdir=DIR
1378 install libebl_CPU modules in $(libdir)/DIR
1379 --disable-nls do not use Native Language Support
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --with-zlib support [zlib] compression in libdwfl
1385 --with-bzlib support [bzlib] compression in libdwfl
1386 --with-lzma support [lzma] compression in libdwfl
1388 Some influential environment variables:
1389 CC C compiler command
1390 CFLAGS C compiler flags
1391 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1392 nonstandard directory <lib dir>
1393 LIBS libraries to pass to the linker, e.g. -l<library>
1394 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1395 you have headers in a nonstandard directory <include dir>
1396 YACC The `Yet Another Compiler Compiler' implementation to use.
1397 Defaults to the first program found out of: `bison -y', `byacc',
1399 YFLAGS The list of arguments that will be passed by default to $YACC.
1400 This script will default YFLAGS to the empty string to avoid a
1401 default value of `-d' given by some make applications.
1403 Use these variables to override the choices made by `configure' or to help
1404 it to find libraries and programs with nonstandard names/locations.
1406 Report bugs to <http://bugzilla.redhat.com/bugzilla/>.
1411 if test "$ac_init_help" = "recursive"; then
1412 # If there are subdirs, report their specific --help.
1413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1414 test -d "$ac_dir" ||
1415 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1423 # A ".." for each directory in $ac_dir_suffix.
1424 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1425 case $ac_top_builddir_sub in
1426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1430 ac_abs_top_builddir=$ac_pwd
1431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1432 # for backward compatibility:
1433 ac_top_builddir=$ac_top_build_prefix
1436 .) # We are building in place.
1438 ac_top_srcdir=$ac_top_builddir_sub
1439 ac_abs_top_srcdir=$ac_pwd ;;
1440 [\\/]* | ?:[\\/]* ) # Absolute name.
1441 ac_srcdir=$srcdir$ac_dir_suffix;
1442 ac_top_srcdir=$srcdir
1443 ac_abs_top_srcdir=$srcdir ;;
1445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1446 ac_top_srcdir=$ac_top_build_prefix$srcdir
1447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1451 cd "$ac_dir" || { ac_status=$?; continue; }
1452 # Check for guested configure.
1453 if test -f "$ac_srcdir/configure.gnu"; then
1455 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1456 elif test -f "$ac_srcdir/configure"; then
1458 $SHELL "$ac_srcdir/configure" --help=recursive
1460 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462 cd "$ac_pwd" || { ac_status=$?; break; }
1466 test -n "$ac_init_help" && exit $ac_status
1467 if $ac_init_version; then
1469 Red Hat elfutils configure 0.153
1470 generated by GNU Autoconf 2.68
1472 Copyright (C) 2010 Free Software Foundation, Inc.
1473 This configure script is free software; the Free Software Foundation
1474 gives unlimited permission to copy, distribute and modify it.
1476 Copyright (C) 1996-2012 Red Hat, Inc.
1481 ## ------------------------ ##
1482 ## Autoconf initialization. ##
1483 ## ------------------------ ##
1485 # ac_fn_c_try_compile LINENO
1486 # --------------------------
1487 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1488 ac_fn_c_try_compile ()
1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1491 rm -f conftest.$ac_objext
1492 if { { ac_try="$ac_compile"
1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495 *) ac_try_echo=$ac_try;;
1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498 $as_echo "$ac_try_echo"; } >&5
1499 (eval "$ac_compile") 2>conftest.err
1501 if test -s conftest.err; then
1502 grep -v '^ *+' conftest.err >conftest.er1
1503 cat conftest.er1 >&5
1504 mv -f conftest.er1 conftest.err
1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507 test $ac_status = 0; } && {
1508 test -z "$ac_c_werror_flag" ||
1509 test ! -s conftest.err
1510 } && test -s conftest.$ac_objext; then :
1513 $as_echo "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1518 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1519 as_fn_set_status $ac_retval
1521 } # ac_fn_c_try_compile
1523 # ac_fn_c_try_link LINENO
1524 # -----------------------
1525 # Try to link conftest.$ac_ext, and return whether this succeeded.
1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529 rm -f conftest.$ac_objext conftest$ac_exeext
1530 if { { ac_try="$ac_link"
1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533 *) ac_try_echo=$ac_try;;
1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_link") 2>conftest.err
1539 if test -s conftest.err; then
1540 grep -v '^ *+' conftest.err >conftest.er1
1541 cat conftest.er1 >&5
1542 mv -f conftest.er1 conftest.err
1544 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1545 test $ac_status = 0; } && {
1546 test -z "$ac_c_werror_flag" ||
1547 test ! -s conftest.err
1548 } && test -s conftest$ac_exeext && {
1549 test "$cross_compiling" = yes ||
1550 $as_test_x conftest$ac_exeext
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1559 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1560 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1561 # interfere with the next link command; also delete a directory that is
1562 # left behind by Apple's compiler. We do this before executing the actions.
1563 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1567 } # ac_fn_c_try_link
1568 cat >config.log <<_ACEOF
1569 This file contains any messages produced by compilers while
1570 running configure, to aid debugging if configure makes a mistake.
1572 It was created by Red Hat elfutils $as_me 0.153, which was
1573 generated by GNU Autoconf 2.68. Invocation command line was
1585 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1586 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1587 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1588 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1589 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1591 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1592 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1594 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1595 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1596 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1597 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1598 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1599 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1600 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 test -z "$as_dir" && as_dir=.
1609 $as_echo "PATH: $as_dir"
1625 # Keep a trace of the command line.
1626 # Strip out --no-create and --no-recursion so they do not pile up.
1627 # Strip out --silent because we don't want to record it for future runs.
1628 # Also quote any args containing shell meta-characters.
1629 # Make two passes to allow for proper duplicate-argument suppression.
1633 ac_must_keep_next=false
1639 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1640 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1641 | -silent | --silent | --silen | --sile | --sil)
1644 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1647 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1649 as_fn_append ac_configure_args1 " '$ac_arg'"
1650 if test $ac_must_keep_next = true; then
1651 ac_must_keep_next=false # Got value, back to normal.
1654 *=* | --config-cache | -C | -disable-* | --disable-* \
1655 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1656 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1657 | -with-* | --with-* | -without-* | --without-* | --x)
1658 case "$ac_configure_args0 " in
1659 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1662 -* ) ac_must_keep_next=true ;;
1665 as_fn_append ac_configure_args " '$ac_arg'"
1670 { ac_configure_args0=; unset ac_configure_args0;}
1671 { ac_configure_args1=; unset ac_configure_args1;}
1673 # When interrupted or exit'd, cleanup temporary files, and complete
1674 # config.log. We remove comments because anyway the quotes in there
1675 # would cause problems or look ugly.
1676 # WARNING: Use '\'' to represent an apostrophe within the trap.
1677 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1678 trap 'exit_status=$?
1679 # Save into config.log some information that might help in debugging.
1683 $as_echo "## ---------------- ##
1684 ## Cache variables. ##
1685 ## ---------------- ##"
1687 # The following way of writing the cache mishandles newlines in values,
1689 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1690 eval ac_val=\$$ac_var
1694 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1695 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1698 _ | IFS | as_nl) ;; #(
1699 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1700 *) { eval $ac_var=; unset $ac_var;} ;;
1705 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1706 *${as_nl}ac_space=\ *)
1708 "s/'\''/'\''\\\\'\'''\''/g;
1709 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1712 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1719 $as_echo "## ----------------- ##
1720 ## Output variables. ##
1721 ## ----------------- ##"
1723 for ac_var in $ac_subst_vars
1725 eval ac_val=\$$ac_var
1727 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1729 $as_echo "$ac_var='\''$ac_val'\''"
1733 if test -n "$ac_subst_files"; then
1734 $as_echo "## ------------------- ##
1735 ## File substitutions. ##
1736 ## ------------------- ##"
1738 for ac_var in $ac_subst_files
1740 eval ac_val=\$$ac_var
1742 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744 $as_echo "$ac_var='\''$ac_val'\''"
1749 if test -s confdefs.h; then
1750 $as_echo "## ----------- ##
1757 test "$ac_signal" != 0 &&
1758 $as_echo "$as_me: caught signal $ac_signal"
1759 $as_echo "$as_me: exit $exit_status"
1761 rm -f core *.core core.conftest.* &&
1762 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1765 for ac_signal in 1 2 13 15; do
1766 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1770 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1771 rm -f -r conftest* confdefs.h
1773 $as_echo "/* confdefs.h */" > confdefs.h
1775 # Predefined preprocessor variables.
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_NAME "$PACKAGE_NAME"
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1785 cat >>confdefs.h <<_ACEOF
1786 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1789 cat >>confdefs.h <<_ACEOF
1790 #define PACKAGE_STRING "$PACKAGE_STRING"
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE_URL "$PACKAGE_URL"
1802 # Let the site file select an alternate cache file if it wants to.
1803 # Prefer an explicitly selected file to automatically selected ones.
1806 if test -n "$CONFIG_SITE"; then
1807 # We do not want a PATH search for config.site.
1808 case $CONFIG_SITE in #((
1809 -*) ac_site_file1=./$CONFIG_SITE;;
1810 */*) ac_site_file1=$CONFIG_SITE;;
1811 *) ac_site_file1=./$CONFIG_SITE;;
1813 elif test "x$prefix" != xNONE; then
1814 ac_site_file1=$prefix/share/config.site
1815 ac_site_file2=$prefix/etc/config.site
1817 ac_site_file1=$ac_default_prefix/share/config.site
1818 ac_site_file2=$ac_default_prefix/etc/config.site
1820 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1822 test "x$ac_site_file" = xNONE && continue
1823 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1825 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1826 sed 's/^/| /' "$ac_site_file" >&5
1828 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1830 as_fn_error $? "failed to load site script $ac_site_file
1831 See \`config.log' for more details" "$LINENO" 5; }
1835 if test -r "$cache_file"; then
1836 # Some versions of bash will fail to source /dev/null (special files
1837 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1838 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1840 $as_echo "$as_me: loading cache $cache_file" >&6;}
1842 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1843 *) . "./$cache_file";;
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1848 $as_echo "$as_me: creating cache $cache_file" >&6;}
1852 # Check that the precious variables saved in the cache have kept the same
1854 ac_cache_corrupted=false
1855 for ac_var in $ac_precious_vars; do
1856 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1857 eval ac_new_set=\$ac_env_${ac_var}_set
1858 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1859 eval ac_new_val=\$ac_env_${ac_var}_value
1860 case $ac_old_set,$ac_new_set in
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1863 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1864 ac_cache_corrupted=: ;;
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1867 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1868 ac_cache_corrupted=: ;;
1871 if test "x$ac_old_val" != "x$ac_new_val"; then
1872 # differences in whitespace do not lead to failure.
1873 ac_old_val_w=`echo x $ac_old_val`
1874 ac_new_val_w=`echo x $ac_new_val`
1875 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1877 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1878 ac_cache_corrupted=:
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1881 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1882 eval $ac_var=\$ac_old_val
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1885 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1887 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1890 # Pass precious variables to config.status.
1891 if test "$ac_new_set" = set; then
1893 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1894 *) ac_arg=$ac_var=$ac_new_val ;;
1896 case " $ac_configure_args " in
1897 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1898 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1902 if $ac_cache_corrupted; then
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1906 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1907 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1909 ## -------------------- ##
1910 ## Main body of script. ##
1911 ## -------------------- ##
1914 ac_cpp='$CPP $CPPFLAGS'
1915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1922 for ac_dir in config "$srcdir"/config; do
1923 if test -f "$ac_dir/install-sh"; then
1925 ac_install_sh="$ac_aux_dir/install-sh -c"
1927 elif test -f "$ac_dir/install.sh"; then
1929 ac_install_sh="$ac_aux_dir/install.sh -c"
1931 elif test -f "$ac_dir/shtool"; then
1933 ac_install_sh="$ac_aux_dir/shtool install -c"
1937 if test -z "$ac_aux_dir"; then
1938 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1941 # These three variables are undocumented and unsupported,
1942 # and are intended to be withdrawn in a future Autoconf release.
1943 # They can cause serious problems if a builder's source tree is in a directory
1944 # whose full name contains unusual characters.
1945 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1946 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1947 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1950 ac_config_files="$ac_config_files config/Makefile"
1955 am__api_version='1.11'
1957 # Find a good install program. We prefer a C program (faster),
1958 # so one script is as good as another. But avoid the broken or
1959 # incompatible versions:
1960 # SysV /etc/install, /usr/sbin/install
1961 # SunOS /usr/etc/install
1962 # IRIX /sbin/install
1964 # AmigaOS /C/install, which installs bootblocks on floppy discs
1965 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1966 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1967 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1968 # OS/2's system install, which has a completely different semantic
1969 # ./install, which can be erroneously created by make from ./install.sh.
1970 # Reject install programs that cannot install multiple files.
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1972 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1973 if test -z "$INSTALL"; then
1974 if ${ac_cv_path_install+:} false; then :
1975 $as_echo_n "(cached) " >&6
1977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1981 test -z "$as_dir" && as_dir=.
1982 # Account for people who put trailing slashes in PATH elements.
1983 case $as_dir/ in #((
1984 ./ | .// | /[cC]/* | \
1985 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1986 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1989 # OSF1 and SCO ODT 3.0 have their own names for install.
1990 # Don't use installbsd from OSF since it installs stuff as root
1992 for ac_prog in ginstall scoinst install; do
1993 for ac_exec_ext in '' $ac_executable_extensions; do
1994 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1995 if test $ac_prog = install &&
1996 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1997 # AIX install. It has an incompatible calling convention.
1999 elif test $ac_prog = install &&
2000 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2001 # program-specific install script used by HP pwplus--don't use.
2004 rm -rf conftest.one conftest.two conftest.dir
2005 echo one > conftest.one
2006 echo two > conftest.two
2008 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2009 test -s conftest.one && test -s conftest.two &&
2010 test -s conftest.dir/conftest.one &&
2011 test -s conftest.dir/conftest.two
2013 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2026 rm -rf conftest.one conftest.two conftest.dir
2029 if test "${ac_cv_path_install+set}" = set; then
2030 INSTALL=$ac_cv_path_install
2032 # As a last resort, use the slow shell script. Don't cache a
2033 # value for INSTALL within a source directory, because that will
2034 # break other packages using the cache if that directory is
2035 # removed, or if the value is a relative name.
2036 INSTALL=$ac_install_sh
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2040 $as_echo "$INSTALL" >&6; }
2042 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2043 # It thinks the first close brace ends the variable substitution.
2044 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2046 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2048 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2051 $as_echo_n "checking whether build environment is sane... " >&6; }
2054 echo timestamp > conftest.file
2055 # Reject unsafe characters in $srcdir or the absolute working directory
2056 # name. Accept space and tab only in the latter.
2060 *[\\\"\#\$\&\'\`$am_lf]*)
2061 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2064 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2065 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2068 # Do `set' in a subshell so we don't clobber the current shell's
2069 # arguments. Must try -L first in case configure is actually a
2070 # symlink; some systems play weird games with the mod time of symlinks
2071 # (eg FreeBSD returns the mod time of the symlink's containing
2074 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2075 if test "$*" = "X"; then
2077 set X `ls -t "$srcdir/configure" conftest.file`
2080 if test "$*" != "X $srcdir/configure conftest.file" \
2081 && test "$*" != "X conftest.file $srcdir/configure"; then
2083 # If neither matched, then we have a broken ls. This can happen
2084 # if, for instance, CONFIG_SHELL is bash and it inherits a
2085 # broken ls alias from the environment. This has actually
2086 # happened. Such a system could not be considered "sane".
2087 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2088 alias in your environment" "$LINENO" 5
2091 test "$2" = conftest.file
2097 as_fn_error $? "newly created file is older than distributed files!
2098 Check your system clock" "$LINENO" 5
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2101 $as_echo "yes" >&6; }
2102 test "$program_prefix" != NONE &&
2103 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2104 # Use a double $ so make ignores it.
2105 test "$program_suffix" != NONE &&
2106 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2107 # Double any \ or $.
2108 # By default was `s,x,x', remove it if useless.
2109 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2110 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2112 # expand $ac_aux_dir to an absolute path
2113 am_aux_dir=`cd $ac_aux_dir && pwd`
2115 if test x"${MISSING+set}" != xset; then
2118 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2120 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2123 # Use eval to expand $SHELL
2124 if eval "$MISSING --run true"; then
2125 am_missing_run="$MISSING --run "
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2129 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2132 if test x"${install_sh}" != xset; then
2135 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2137 install_sh="\${SHELL} $am_aux_dir/install-sh"
2141 # Installed binaries are usually stripped using `strip' when the user
2142 # run `make install-strip'. However `strip' might not be the right
2143 # tool to use in cross-compilation environments, therefore Automake
2144 # will honor the `STRIP' environment variable to overrule this program.
2145 if test "$cross_compiling" != no; then
2146 if test -n "$ac_tool_prefix"; then
2147 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2148 set dummy ${ac_tool_prefix}strip; ac_word=$2
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2150 $as_echo_n "checking for $ac_word... " >&6; }
2151 if ${ac_cv_prog_STRIP+:} false; then :
2152 $as_echo_n "(cached) " >&6
2154 if test -n "$STRIP"; then
2155 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161 test -z "$as_dir" && as_dir=.
2162 for ac_exec_ext in '' $ac_executable_extensions; do
2163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2164 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2174 STRIP=$ac_cv_prog_STRIP
2175 if test -n "$STRIP"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2177 $as_echo "$STRIP" >&6; }
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2180 $as_echo "no" >&6; }
2185 if test -z "$ac_cv_prog_STRIP"; then
2187 # Extract the first word of "strip", so it can be a program name with args.
2188 set dummy strip; ac_word=$2
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2190 $as_echo_n "checking for $ac_word... " >&6; }
2191 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2192 $as_echo_n "(cached) " >&6
2194 if test -n "$ac_ct_STRIP"; then
2195 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2201 test -z "$as_dir" && as_dir=.
2202 for ac_exec_ext in '' $ac_executable_extensions; do
2203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2204 ac_cv_prog_ac_ct_STRIP="strip"
2205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2215 if test -n "$ac_ct_STRIP"; then
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2217 $as_echo "$ac_ct_STRIP" >&6; }
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2220 $as_echo "no" >&6; }
2223 if test "x$ac_ct_STRIP" = x; then
2226 case $cross_compiling:$ac_tool_warned in
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2230 ac_tool_warned=yes ;;
2235 STRIP="$ac_cv_prog_STRIP"
2239 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2242 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2243 if test -z "$MKDIR_P"; then
2244 if ${ac_cv_path_mkdir+:} false; then :
2245 $as_echo_n "(cached) " >&6
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2248 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2251 test -z "$as_dir" && as_dir=.
2252 for ac_prog in mkdir gmkdir; do
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2255 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2256 'mkdir (GNU coreutils) '* | \
2257 'mkdir (coreutils) '* | \
2258 'mkdir (fileutils) '4.1*)
2259 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2269 test -d ./--version && rmdir ./--version
2270 if test "${ac_cv_path_mkdir+set}" = set; then
2271 MKDIR_P="$ac_cv_path_mkdir -p"
2273 # As a last resort, use the slow shell script. Don't cache a
2274 # value for MKDIR_P within a source directory, because that will
2275 # break other packages using the cache if that directory is
2276 # removed, or if the value is a relative name.
2277 MKDIR_P="$ac_install_sh -d"
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2281 $as_echo "$MKDIR_P" >&6; }
2285 [\\/$]* | ?:[\\/]*) ;;
2286 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2289 for ac_prog in gawk mawk nawk awk
2291 # Extract the first word of "$ac_prog", so it can be a program name with args.
2292 set dummy $ac_prog; ac_word=$2
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2294 $as_echo_n "checking for $ac_word... " >&6; }
2295 if ${ac_cv_prog_AWK+:} false; then :
2296 $as_echo_n "(cached) " >&6
2298 if test -n "$AWK"; then
2299 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_prog_AWK="$ac_prog"
2309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 if test -n "$AWK"; then
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2321 $as_echo "$AWK" >&6; }
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2324 $as_echo "no" >&6; }
2328 test -n "$AWK" && break
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2332 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2334 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2335 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2336 $as_echo_n "(cached) " >&6
2338 cat >conftest.make <<\_ACEOF
2341 @echo '@@@%%%=$(MAKE)=@@@%%%'
2343 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2344 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2346 eval ac_cv_prog_make_${ac_make}_set=yes;;
2348 eval ac_cv_prog_make_${ac_make}_set=no;;
2352 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2354 $as_echo "yes" >&6; }
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2358 $as_echo "no" >&6; }
2359 SET_MAKE="MAKE=${MAKE-make}"
2362 rm -rf .tst 2>/dev/null
2363 mkdir .tst 2>/dev/null
2364 if test -d .tst; then
2369 rmdir .tst 2>/dev/null
2371 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2372 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2373 # is not polluted with repeated "-I."
2374 am__isrc=' -I$(srcdir)'
2375 # test to see if srcdir already configured
2376 if test -f $srcdir/config.status; then
2377 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2381 # test whether we have cygpath
2382 if test -z "$CYGPATH_W"; then
2383 if (cygpath --version) >/dev/null 2>/dev/null; then
2384 CYGPATH_W='cygpath -w'
2391 # Define the identity of the package.
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE "$PACKAGE"
2401 cat >>confdefs.h <<_ACEOF
2402 #define VERSION "$VERSION"
2405 # Some tools Automake needs.
2407 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2410 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2413 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2416 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2419 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2421 # We need awk for the "check" target. The system "awk" is bad on
2423 # Always define AMTAR for backward compatibility.
2425 AMTAR=${AMTAR-"${am_missing_run}tar"}
2427 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2435 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2436 # Check whether --enable-maintainer-mode was given.
2437 if test "${enable_maintainer_mode+set}" = set; then :
2438 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2440 USE_MAINTAINER_MODE=no
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2444 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2445 if test $USE_MAINTAINER_MODE = yes; then
2446 MAINTAINER_MODE_TRUE=
2447 MAINTAINER_MODE_FALSE='#'
2449 MAINTAINER_MODE_TRUE='#'
2450 MAINTAINER_MODE_FALSE=
2453 MAINT=$MAINTAINER_MODE_TRUE
2457 MODVERSION="Build on $(hostname) $(date +%FT%R:%S%z)"
2459 cat >>confdefs.h <<_ACEOF
2460 #define MODVERSION "$MODVERSION"
2466 ac_config_files="$ac_config_files Makefile"
2468 ac_config_headers="$ac_config_headers config.h"
2472 ac_config_files="$ac_config_files m4/Makefile"
2475 ac_config_files="$ac_config_files elfutils.spec:config/elfutils.spec.in"
2479 # Make sure we can run config.sub.
2480 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2481 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2484 $as_echo_n "checking build system type... " >&6; }
2485 if ${ac_cv_build+:} false; then :
2486 $as_echo_n "(cached) " >&6
2488 ac_build_alias=$build_alias
2489 test "x$ac_build_alias" = x &&
2490 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2491 test "x$ac_build_alias" = x &&
2492 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2493 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2494 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2498 $as_echo "$ac_cv_build" >&6; }
2499 case $ac_cv_build in
2501 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2504 ac_save_IFS=$IFS; IFS='-'
2510 # Remember, the first character of IFS is used to create $*,
2511 # except with old shells:
2514 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2518 $as_echo_n "checking host system type... " >&6; }
2519 if ${ac_cv_host+:} false; then :
2520 $as_echo_n "(cached) " >&6
2522 if test "x$host_alias" = x; then
2523 ac_cv_host=$ac_cv_build
2525 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2526 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2531 $as_echo "$ac_cv_host" >&6; }
2534 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2537 ac_save_IFS=$IFS; IFS='-'
2543 # Remember, the first character of IFS is used to create $*,
2544 # except with old shells:
2547 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2551 # Check whether --enable-deterministic-archives was given.
2552 if test "${enable_deterministic_archives+set}" = set; then :
2553 enableval=$enable_deterministic_archives;
2554 if test "${enableval}" = no; then
2555 default_ar_deterministic=false
2557 default_ar_deterministic=true
2560 default_ar_deterministic=false
2564 cat >>confdefs.h <<_ACEOF
2565 #define DEFAULT_AR_DETERMINISTIC $default_ar_deterministic
2569 # Check whether --enable-thread-safety was given.
2570 if test "${enable_thread_safety+set}" = set; then :
2571 enableval=$enable_thread_safety; use_locks=$enableval
2576 if test "$use_locks" = yes; then
2584 if test "$use_locks" = yes; then :
2585 $as_echo "#define USE_LOCKS 1" >>confdefs.h
2592 ac_cpp='$CPP $CPPFLAGS'
2593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2596 if test -n "$ac_tool_prefix"; then
2597 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2598 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600 $as_echo_n "checking for $ac_word... " >&6; }
2601 if ${ac_cv_prog_CC+:} false; then :
2602 $as_echo_n "(cached) " >&6
2604 if test -n "$CC"; then
2605 ac_cv_prog_CC="$CC" # Let the user override the test.
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625 if test -n "$CC"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2627 $as_echo "$CC" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630 $as_echo "no" >&6; }
2635 if test -z "$ac_cv_prog_CC"; then
2637 # Extract the first word of "gcc", so it can be a program name with args.
2638 set dummy gcc; ac_word=$2
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2640 $as_echo_n "checking for $ac_word... " >&6; }
2641 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2642 $as_echo_n "(cached) " >&6
2644 if test -n "$ac_ct_CC"; then
2645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir=.
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2654 ac_cv_prog_ac_ct_CC="gcc"
2655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2665 if test -n "$ac_ct_CC"; then
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2667 $as_echo "$ac_ct_CC" >&6; }
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2670 $as_echo "no" >&6; }
2673 if test "x$ac_ct_CC" = x; then
2676 case $cross_compiling:$ac_tool_warned in
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2680 ac_tool_warned=yes ;;
2688 if test -z "$CC"; then
2689 if test -n "$ac_tool_prefix"; then
2690 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2691 set dummy ${ac_tool_prefix}cc; ac_word=$2
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2693 $as_echo_n "checking for $ac_word... " >&6; }
2694 if ${ac_cv_prog_CC+:} false; then :
2695 $as_echo_n "(cached) " >&6
2697 if test -n "$CC"; then
2698 ac_cv_prog_CC="$CC" # Let the user override the test.
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir=.
2705 for ac_exec_ext in '' $ac_executable_extensions; do
2706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2707 ac_cv_prog_CC="${ac_tool_prefix}cc"
2708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2718 if test -n "$CC"; then
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2720 $as_echo "$CC" >&6; }
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2723 $as_echo "no" >&6; }
2729 if test -z "$CC"; then
2730 # Extract the first word of "cc", so it can be a program name with args.
2731 set dummy cc; ac_word=$2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 $as_echo_n "checking for $ac_word... " >&6; }
2734 if ${ac_cv_prog_CC+:} false; then :
2735 $as_echo_n "(cached) " >&6
2737 if test -n "$CC"; then
2738 ac_cv_prog_CC="$CC" # Let the user override the test.
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2745 test -z "$as_dir" && as_dir=.
2746 for ac_exec_ext in '' $ac_executable_extensions; do
2747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2748 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2749 ac_prog_rejected=yes
2753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2760 if test $ac_prog_rejected = yes; then
2761 # We found a bogon in the path, so make sure we never use it.
2762 set dummy $ac_cv_prog_CC
2764 if test $# != 0; then
2765 # We chose a different compiler from the bogus one.
2766 # However, it has the same basename, so the bogon will be chosen
2767 # first if we set CC to just the basename; use the full file name.
2769 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2775 if test -n "$CC"; then
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2777 $as_echo "$CC" >&6; }
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2780 $as_echo "no" >&6; }
2785 if test -z "$CC"; then
2786 if test -n "$ac_tool_prefix"; then
2787 for ac_prog in cl.exe
2789 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2790 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2792 $as_echo_n "checking for $ac_word... " >&6; }
2793 if ${ac_cv_prog_CC+:} false; then :
2794 $as_echo_n "(cached) " >&6
2796 if test -n "$CC"; then
2797 ac_cv_prog_CC="$CC" # Let the user override the test.
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir=.
2804 for ac_exec_ext in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2817 if test -n "$CC"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2819 $as_echo "$CC" >&6; }
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822 $as_echo "no" >&6; }
2826 test -n "$CC" && break
2829 if test -z "$CC"; then
2831 for ac_prog in cl.exe
2833 # Extract the first word of "$ac_prog", so it can be a program name with args.
2834 set dummy $ac_prog; ac_word=$2
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2836 $as_echo_n "checking for $ac_word... " >&6; }
2837 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2838 $as_echo_n "(cached) " >&6
2840 if test -n "$ac_ct_CC"; then
2841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2847 test -z "$as_dir" && as_dir=.
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2850 ac_cv_prog_ac_ct_CC="$ac_prog"
2851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2860 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2861 if test -n "$ac_ct_CC"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2863 $as_echo "$ac_ct_CC" >&6; }
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2866 $as_echo "no" >&6; }
2870 test -n "$ac_ct_CC" && break
2873 if test "x$ac_ct_CC" = x; then
2876 case $cross_compiling:$ac_tool_warned in
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2880 ac_tool_warned=yes ;;
2889 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2891 as_fn_error $? "no acceptable C compiler found in \$PATH
2892 See \`config.log' for more details" "$LINENO" 5; }
2894 # Provide some information about the compiler.
2895 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2898 for ac_option in --version -v -V -qversion; do
2899 { { ac_try="$ac_compiler $ac_option >&5"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
2906 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2908 if test -s conftest.err; then
2910 ... rest of stderr output deleted ...
2911 10q' conftest.err >conftest.er1
2912 cat conftest.er1 >&5
2914 rm -f conftest.er1 conftest.err
2915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2916 test $ac_status = 0; }
2919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2930 ac_clean_files_save=$ac_clean_files
2931 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2932 # Try to create an executable without -o first, disregard a.out.
2933 # It will help us diagnose broken compilers, and finding out an intuition
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2936 $as_echo_n "checking whether the C compiler works... " >&6; }
2937 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2939 # The possible output files:
2940 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2943 for ac_file in $ac_files
2946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2952 if { { ac_try="$ac_link_default"
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 $as_echo "$ac_try_echo"; } >&5
2959 (eval "$ac_link_default") 2>&5
2961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962 test $ac_status = 0; }; then :
2963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2964 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2966 # so that the user can short-circuit this test for compilers unknown to
2968 for ac_file in $ac_files ''
2970 test -f "$ac_file" || continue
2972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2975 # We found the default executable, but exeext='' is most
2979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983 # We set ac_cv_exeext here because the later test for it is not
2984 # safe: cross compilers may not add the suffix if given an `-o'
2985 # argument, so we may need to know it at that point already.
2986 # Even if this section looks crufty: it has the advantage of
2993 test "$ac_cv_exeext" = no && ac_cv_exeext=
2998 if test -z "$ac_file"; then :
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001 $as_echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3006 as_fn_error 77 "C compiler cannot create executables
3007 See \`config.log' for more details" "$LINENO" 5; }
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3010 $as_echo "yes" >&6; }
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3013 $as_echo_n "checking for C compiler default output file name... " >&6; }
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3015 $as_echo "$ac_file" >&6; }
3016 ac_exeext=$ac_cv_exeext
3018 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3019 ac_clean_files=$ac_clean_files_save
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3021 $as_echo_n "checking for suffix of executables... " >&6; }
3022 if { { ac_try="$ac_link"
3024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3025 *) ac_try_echo=$ac_try;;
3027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3028 $as_echo "$ac_try_echo"; } >&5
3029 (eval "$ac_link") 2>&5
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }; then :
3033 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3034 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3035 # work properly (i.e., refer to `conftest.exe'), while it won't with
3037 for ac_file in conftest.exe conftest conftest.*; do
3038 test -f "$ac_file" || continue
3040 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3041 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3049 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3050 See \`config.log' for more details" "$LINENO" 5; }
3052 rm -f conftest conftest$ac_cv_exeext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3054 $as_echo "$ac_cv_exeext" >&6; }
3056 rm -f conftest.$ac_ext
3057 EXEEXT=$ac_cv_exeext
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3065 FILE *f = fopen ("conftest.out", "w");
3066 return ferror (f) || fclose (f) != 0;
3072 ac_clean_files="$ac_clean_files conftest.out"
3073 # Check that the compiler produces executables we can run. If not, either
3074 # the compiler is broken, or we cross compile.
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3076 $as_echo_n "checking whether we are cross compiling... " >&6; }
3077 if test "$cross_compiling" != yes; then
3078 { { ac_try="$ac_link"
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3084 $as_echo "$ac_try_echo"; } >&5
3085 (eval "$ac_link") 2>&5
3087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3088 test $ac_status = 0; }
3089 if { ac_try='./conftest$ac_cv_exeext'
3090 { { case "(($ac_try" in
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3095 $as_echo "$ac_try_echo"; } >&5
3096 (eval "$ac_try") 2>&5
3098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3099 test $ac_status = 0; }; }; then
3102 if test "$cross_compiling" = maybe; then
3105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $? "cannot run C compiled programs.
3108 If you meant to cross compile, use \`--host'.
3109 See \`config.log' for more details" "$LINENO" 5; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3114 $as_echo "$cross_compiling" >&6; }
3116 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3117 ac_clean_files=$ac_clean_files_save
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3119 $as_echo_n "checking for suffix of object files... " >&6; }
3120 if ${ac_cv_objext+:} false; then :
3121 $as_echo_n "(cached) " >&6
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3134 rm -f conftest.o conftest.obj
3135 if { { ac_try="$ac_compile"
3137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141 $as_echo "$ac_try_echo"; } >&5
3142 (eval "$ac_compile") 2>&5
3144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145 test $ac_status = 0; }; then :
3146 for ac_file in conftest.o conftest.obj conftest.*; do
3147 test -f "$ac_file" || continue;
3149 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3150 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3155 $as_echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160 as_fn_error $? "cannot compute suffix of object files: cannot compile
3161 See \`config.log' for more details" "$LINENO" 5; }
3163 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3166 $as_echo "$ac_cv_objext" >&6; }
3167 OBJEXT=$ac_cv_objext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3170 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3171 if ${ac_cv_c_compiler_gnu+:} false; then :
3172 $as_echo_n "(cached) " >&6
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3188 if ac_fn_c_try_compile "$LINENO"; then :
3193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3194 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3198 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3199 if test $ac_compiler_gnu = yes; then
3204 ac_test_CFLAGS=${CFLAGS+set}
3205 ac_save_CFLAGS=$CFLAGS
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3207 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3208 if ${ac_cv_prog_cc_g+:} false; then :
3209 $as_echo_n "(cached) " >&6
3211 ac_save_c_werror_flag=$ac_c_werror_flag
3212 ac_c_werror_flag=yes
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 if ac_fn_c_try_compile "$LINENO"; then :
3230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3231 /* end confdefs.h. */
3241 if ac_fn_c_try_compile "$LINENO"; then :
3244 ac_c_werror_flag=$ac_save_c_werror_flag
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3257 if ac_fn_c_try_compile "$LINENO"; then :
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3265 ac_c_werror_flag=$ac_save_c_werror_flag
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3268 $as_echo "$ac_cv_prog_cc_g" >&6; }
3269 if test "$ac_test_CFLAGS" = set; then
3270 CFLAGS=$ac_save_CFLAGS
3271 elif test $ac_cv_prog_cc_g = yes; then
3272 if test "$GCC" = yes; then
3278 if test "$GCC" = yes; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3285 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3286 if ${ac_cv_prog_cc_c89+:} false; then :
3287 $as_echo_n "(cached) " >&6
3289 ac_cv_prog_cc_c89=no
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3295 #include <sys/types.h>
3296 #include <sys/stat.h>
3297 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3298 struct buf { int x; };
3299 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3300 static char *e (p, i)
3306 static char *f (char * (*g) (char **, int), char **p, ...)
3311 s = g (p, va_arg (v,int));
3316 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3317 function prototypes and stuff, but not '\xHH' hex character constants.
3318 These don't provoke an error unfortunately, instead are silently treated
3319 as 'x'. The following induces an error, until -std is added to get
3320 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3321 array size at least. It's necessary to write '\x00'==0 to get something
3322 that's true only with -std. */
3323 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3325 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3326 inside strings and character constants. */
3328 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3330 int test (int i, double x);
3331 struct s1 {int (*f) (int a);};
3332 struct s2 {int (*f) (double a);};
3333 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3339 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3344 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3345 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3347 CC="$ac_save_CC $ac_arg"
3348 if ac_fn_c_try_compile "$LINENO"; then :
3349 ac_cv_prog_cc_c89=$ac_arg
3351 rm -f core conftest.err conftest.$ac_objext
3352 test "x$ac_cv_prog_cc_c89" != "xno" && break
3354 rm -f conftest.$ac_ext
3359 case "x$ac_cv_prog_cc_c89" in
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3362 $as_echo "none needed" >&6; } ;;
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3365 $as_echo "unsupported" >&6; } ;;
3367 CC="$CC $ac_cv_prog_cc_c89"
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3369 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3371 if test "x$ac_cv_prog_cc_c89" != xno; then :
3376 ac_cpp='$CPP $CPPFLAGS'
3377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380 DEPDIR="${am__leading_dot}deps"
3382 ac_config_commands="$ac_config_commands depfiles"
3385 am_make=${MAKE-make}
3386 cat > confinc << 'END'
3388 @echo this is the am__doit target
3391 # If we don't find an include directive, just comment out the code.
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3393 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3397 # First try GNU make style include.
3398 echo "include confinc" > confmf
3399 # Ignore all kinds of additional output from `make'.
3400 case `$am_make -s -f confmf 2> /dev/null` in #(
3401 *the\ am__doit\ target*)
3407 # Now try BSD make style include.
3408 if test "$am__include" = "#"; then
3409 echo '.include "confinc"' > confmf
3410 case `$am_make -s -f confmf 2> /dev/null` in #(
3411 *the\ am__doit\ target*)
3412 am__include=.include
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3421 $as_echo "$_am_result" >&6; }
3422 rm -f confinc confmf
3424 # Check whether --enable-dependency-tracking was given.
3425 if test "${enable_dependency_tracking+set}" = set; then :
3426 enableval=$enable_dependency_tracking;
3429 if test "x$enable_dependency_tracking" != xno; then
3430 am_depcomp="$ac_aux_dir/depcomp"
3433 if test "x$enable_dependency_tracking" != xno; then
3443 depcc="$CC" am_compiler_list=
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3446 $as_echo_n "checking dependency style of $depcc... " >&6; }
3447 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3448 $as_echo_n "(cached) " >&6
3450 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3451 # We make a subdir and do the tests there. Otherwise we can end up
3452 # making bogus files that we don't know about and never remove. For
3453 # instance it was reported that on HP-UX the gcc test will end up
3454 # making a dummy file named `D' -- because `-MD' means `put the output
3457 # Copy depcomp to subdir because otherwise we won't find it if we're
3458 # using a relative directory.
3459 cp "$am_depcomp" conftest.dir
3461 # We will build objects and dependencies in a subdirectory because
3462 # it helps to detect inapplicable dependency modes. For instance
3463 # both Tru64's cc and ICC support -MD to output dependencies as a
3464 # side effect of compilation, but ICC will put the dependencies in
3465 # the current directory while Tru64 will put them in the object
3469 am_cv_CC_dependencies_compiler_type=none
3470 if test "$am_compiler_list" = ""; then
3471 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3474 case " $depcc " in #(
3475 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3478 for depmode in $am_compiler_list; do
3479 # Setup a source with many dependencies, because some compilers
3480 # like to wrap large dependency lists on column 80 (with \), and
3481 # we should not choose a depcomp mode which is confused by this.
3483 # We need to recreate these files for each test, as the compiler may
3484 # overwrite some of them when testing with obscure command lines.
3485 # This happens at least with the AIX C compiler.
3487 for i in 1 2 3 4 5 6; do
3488 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3489 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3490 # Solaris 8's {/usr,}/bin/sh.
3491 touch sub/conftst$i.h
3493 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3495 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3496 # mode. It turns out that the SunPro C++ compiler does not properly
3497 # handle `-M -o', and we need to detect this. Also, some Intel
3498 # versions had trouble with output in subdirs
3499 am__obj=sub/conftest.${OBJEXT-o}
3500 am__minus_obj="-o $am__obj"
3503 # This depmode causes a compiler race in universal mode.
3504 test "$am__universal" = false || continue
3507 # after this tag, mechanisms are not by side-effect, so they'll
3508 # only be used when explicitly requested
3509 if test "x$enable_dependency_tracking" = xyes; then
3515 msvisualcpp | msvcmsys)
3516 # This compiler won't grok `-c -o', but also, the minuso test has
3517 # not run yet. These depmodes are late enough in the game, and
3518 # so weak that their functioning should not be impacted.
3519 am__obj=conftest.${OBJEXT-o}
3524 if depmode=$depmode \
3525 source=sub/conftest.c object=$am__obj \
3526 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3527 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3528 >/dev/null 2>conftest.err &&
3529 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3530 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3531 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3532 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3533 # icc doesn't choke on unknown options, it will just issue warnings
3534 # or remarks (even with -Werror). So we grep stderr for any message
3535 # that says an option was ignored or not supported.
3536 # When given -MP, icc 7.0 and 7.1 complain thusly:
3537 # icc: Command line warning: ignoring option '-M'; no argument required
3538 # The diagnosis changed in icc 8.0:
3539 # icc: Command line remark: option '-MP' not supported
3540 if (grep 'ignoring option' conftest.err ||
3541 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3542 am_cv_CC_dependencies_compiler_type=$depmode
3551 am_cv_CC_dependencies_compiler_type=none
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3556 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3557 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3560 test "x$enable_dependency_tracking" != xno \
3561 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3563 am__fastdepCC_FALSE='#'
3565 am__fastdepCC_TRUE='#'
3566 am__fastdepCC_FALSE=
3570 if test -n "$ac_tool_prefix"; then
3571 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3572 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574 $as_echo_n "checking for $ac_word... " >&6; }
3575 if ${ac_cv_prog_RANLIB+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 if test -n "$RANLIB"; then
3579 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 test -z "$as_dir" && as_dir=.
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3588 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 RANLIB=$ac_cv_prog_RANLIB
3599 if test -n "$RANLIB"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3601 $as_echo "$RANLIB" >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3609 if test -z "$ac_cv_prog_RANLIB"; then
3610 ac_ct_RANLIB=$RANLIB
3611 # Extract the first word of "ranlib", so it can be a program name with args.
3612 set dummy ranlib; ac_word=$2
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 $as_echo_n "checking for $ac_word... " >&6; }
3615 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3616 $as_echo_n "(cached) " >&6
3618 if test -n "$ac_ct_RANLIB"; then
3619 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625 test -z "$as_dir" && as_dir=.
3626 for ac_exec_ext in '' $ac_executable_extensions; do
3627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3628 ac_cv_prog_ac_ct_RANLIB="ranlib"
3629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3639 if test -n "$ac_ct_RANLIB"; then
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3641 $as_echo "$ac_ct_RANLIB" >&6; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3644 $as_echo "no" >&6; }
3647 if test "x$ac_ct_RANLIB" = x; then
3650 case $cross_compiling:$ac_tool_warned in
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3654 ac_tool_warned=yes ;;
3656 RANLIB=$ac_ct_RANLIB
3659 RANLIB="$ac_cv_prog_RANLIB"
3662 for ac_prog in 'bison -y' byacc
3664 # Extract the first word of "$ac_prog", so it can be a program name with args.
3665 set dummy $ac_prog; ac_word=$2
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3667 $as_echo_n "checking for $ac_word... " >&6; }
3668 if ${ac_cv_prog_YACC+:} false; then :
3669 $as_echo_n "(cached) " >&6
3671 if test -n "$YACC"; then
3672 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir=.
3679 for ac_exec_ext in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 ac_cv_prog_YACC="$ac_prog"
3682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 YACC=$ac_cv_prog_YACC
3692 if test -n "$YACC"; then
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
3694 $as_echo "$YACC" >&6; }
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 $as_echo "no" >&6; }
3701 test -n "$YACC" && break
3703 test -n "$YACC" || YACC="yacc"
3706 for ac_prog in flex lex
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy $ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_LEX+:} false; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$LEX"; then
3716 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 ac_cv_prog_LEX="$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736 if test -n "$LEX"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
3738 $as_echo "$LEX" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$LEX" && break
3747 test -n "$LEX" || LEX=":"
3749 if test "x$LEX" != "x:"; then
3750 cat >conftest.l <<_ACEOF
3756 e { yyless (input () != 0); }
3757 f { unput (yytext[0]); }
3758 . { BEGIN INITIAL; }
3760 #ifdef YYTEXT_POINTER
3761 extern char *yytext;
3766 return ! yylex () + ! yywrap ();
3769 { { ac_try="$LEX conftest.l"
3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3775 $as_echo "$ac_try_echo"; } >&5
3776 (eval "$LEX conftest.l") 2>&5
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
3781 $as_echo_n "checking lex output file root... " >&6; }
3782 if ${ac_cv_prog_lex_root+:} false; then :
3783 $as_echo_n "(cached) " >&6
3786 if test -f lex.yy.c; then
3787 ac_cv_prog_lex_root=lex.yy
3788 elif test -f lexyy.c; then
3789 ac_cv_prog_lex_root=lexyy
3791 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
3795 $as_echo "$ac_cv_prog_lex_root" >&6; }
3796 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3798 if test -z "${LEXLIB+set}"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
3800 $as_echo_n "checking lex library... " >&6; }
3801 if ${ac_cv_lib_lex+:} false; then :
3802 $as_echo_n "(cached) " >&6
3806 ac_cv_lib_lex='none needed'
3807 for ac_lib in '' -lfl -ll; do
3808 LIBS="$ac_lib $ac_save_LIBS"
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3811 `cat $LEX_OUTPUT_ROOT.c`
3813 if ac_fn_c_try_link "$LINENO"; then :
3814 ac_cv_lib_lex=$ac_lib
3816 rm -f core conftest.err conftest.$ac_objext \
3817 conftest$ac_exeext conftest.$ac_ext
3818 test "$ac_cv_lib_lex" != 'none needed' && break
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
3824 $as_echo "$ac_cv_lib_lex" >&6; }
3825 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
3830 $as_echo_n "checking whether yytext is a pointer... " >&6; }
3831 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
3832 $as_echo_n "(cached) " >&6
3834 # POSIX says lex can declare yytext either as a pointer or an array; the
3835 # default is implementation-dependent. Figure out which it is, since
3836 # not all implementations provide the %pointer and %array declarations.
3837 ac_cv_prog_lex_yytext_pointer=no
3839 LIBS="$LEXLIB $ac_save_LIBS"
3840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3843 #define YYTEXT_POINTER 1
3844 `cat $LEX_OUTPUT_ROOT.c`
3846 if ac_fn_c_try_link "$LINENO"; then :
3847 ac_cv_prog_lex_yytext_pointer=yes
3849 rm -f core conftest.err conftest.$ac_objext \
3850 conftest$ac_exeext conftest.$ac_ext
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
3855 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3856 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3858 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
3861 rm -f conftest.l $LEX_OUTPUT_ROOT.c
3864 if test "$LEX" = :; then
3865 LEX=${am_missing_run}flex
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with C99 support" >&5
3869 $as_echo_n "checking for gcc with C99 support... " >&6; }
3870 if ${ac_cv_c99+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 old_CFLAGS="$CFLAGS"
3874 CFLAGS="$CFLAGS -std=gnu99"
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3877 int foo (int a) { for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; }
3879 if ac_fn_c_try_compile "$LINENO"; then :
3884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3885 CFLAGS="$old_CFLAGS"
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99" >&5
3888 $as_echo "$ac_cv_c99" >&6; }
3889 if test "x$ac_cv_c99" != xyes; then :
3890 as_fn_error $? "gcc with C99 support required" "$LINENO" 5
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
3894 $as_echo_n "checking for __thread support... " >&6; }
3895 if ${ac_cv_tls+:} false; then :
3896 $as_echo_n "(cached) " >&6
3898 # Use the same flags that we use for our DSOs, so the test is representative.
3899 # Some old compiler/linker/libc combinations fail some ways and not others.
3900 save_CFLAGS="$CFLAGS"
3901 save_LDFLAGS="$LDFLAGS"
3902 CFLAGS="-fpic $CFLAGS"
3903 LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS"
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3907 static __thread int a; int foo (int b) { return a + b; }
3916 if ac_fn_c_try_link "$LINENO"; then :
3921 rm -f core conftest.err conftest.$ac_objext \
3922 conftest$ac_exeext conftest.$ac_ext
3923 CFLAGS="$save_CFLAGS"
3924 LDFLAGS="$save_LDFLAGS"
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
3927 $as_echo "$ac_cv_tls" >&6; }
3928 if test "x$ac_cv_tls" != xyes; then :
3929 as_fn_error $? "__thread support required" "$LINENO" 5
3932 # Check whether --enable-largefile was given.
3933 if test "${enable_largefile+set}" = set; then :
3934 enableval=$enable_largefile;
3937 if test "$enable_largefile" != no; then
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3940 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3941 if ${ac_cv_sys_largefile_CC+:} false; then :
3942 $as_echo_n "(cached) " >&6
3944 ac_cv_sys_largefile_CC=no
3945 if test "$GCC" != yes; then
3948 # IRIX 6.2 and later do not support large files by default,
3949 # so use the C compiler's -n32 option if that helps.
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3952 #include <sys/types.h>
3953 /* Check that off_t can represent 2**63 - 1 correctly.
3954 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3955 since some C++ compilers masquerading as C compilers
3956 incorrectly reject 9223372036854775807. */
3957 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3958 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3959 && LARGE_OFF_T % 2147483647 == 1)
3969 if ac_fn_c_try_compile "$LINENO"; then :
3972 rm -f core conftest.err conftest.$ac_objext
3974 if ac_fn_c_try_compile "$LINENO"; then :
3975 ac_cv_sys_largefile_CC=' -n32'; break
3977 rm -f core conftest.err conftest.$ac_objext
3981 rm -f conftest.$ac_ext
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3985 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3986 if test "$ac_cv_sys_largefile_CC" != no; then
3987 CC=$CC$ac_cv_sys_largefile_CC
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3991 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3992 if ${ac_cv_sys_file_offset_bits+:} false; then :
3993 $as_echo_n "(cached) " >&6
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
3998 #include <sys/types.h>
3999 /* Check that off_t can represent 2**63 - 1 correctly.
4000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4001 since some C++ compilers masquerading as C compilers
4002 incorrectly reject 9223372036854775807. */
4003 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4005 && LARGE_OFF_T % 2147483647 == 1)
4015 if ac_fn_c_try_compile "$LINENO"; then :
4016 ac_cv_sys_file_offset_bits=no; break
4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4020 /* end confdefs.h. */
4021 #define _FILE_OFFSET_BITS 64
4022 #include <sys/types.h>
4023 /* Check that off_t can represent 2**63 - 1 correctly.
4024 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4025 since some C++ compilers masquerading as C compilers
4026 incorrectly reject 9223372036854775807. */
4027 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4028 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4029 && LARGE_OFF_T % 2147483647 == 1)
4039 if ac_fn_c_try_compile "$LINENO"; then :
4040 ac_cv_sys_file_offset_bits=64; break
4042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 ac_cv_sys_file_offset_bits=unknown
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4048 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4049 case $ac_cv_sys_file_offset_bits in #(
4052 cat >>confdefs.h <<_ACEOF
4053 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4058 if test $ac_cv_sys_file_offset_bits = unknown; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4060 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4061 if ${ac_cv_sys_large_files+:} false; then :
4062 $as_echo_n "(cached) " >&6
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4067 #include <sys/types.h>
4068 /* Check that off_t can represent 2**63 - 1 correctly.
4069 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4070 since some C++ compilers masquerading as C compilers
4071 incorrectly reject 9223372036854775807. */
4072 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4073 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4074 && LARGE_OFF_T % 2147483647 == 1)
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085 ac_cv_sys_large_files=no; break
4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4090 #define _LARGE_FILES 1
4091 #include <sys/types.h>
4092 /* Check that off_t can represent 2**63 - 1 correctly.
4093 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4094 since some C++ compilers masquerading as C compilers
4095 incorrectly reject 9223372036854775807. */
4096 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4097 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4098 && LARGE_OFF_T % 2147483647 == 1)
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109 ac_cv_sys_large_files=1; break
4111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4112 ac_cv_sys_large_files=unknown
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4117 $as_echo "$ac_cv_sys_large_files" >&6; }
4118 case $ac_cv_sys_large_files in #(
4121 cat >>confdefs.h <<_ACEOF
4122 #define _LARGE_FILES $ac_cv_sys_large_files
4132 # Check whether --enable-generic was given.
4133 if test "${enable_generic+set}" = set; then :
4134 enableval=$enable_generic; if test "$enable_generic" = no; then
4137 $as_echo "#define NATIVE_ELF 32" >>confdefs.h
4143 as_fn_error $? "no machine-specific linker for this configuration available" "$LINENO" 5
4150 if test "$native_ld" = yes; then
4158 if test -z "$base_cpu"; then :
4172 # Check whether --enable-mudflap was given.
4173 if test "${enable_mudflap+set}" = set; then :
4174 enableval=$enable_mudflap; if test "x$enable_mudflap" = xyes; then
4175 # Check whether the compiler support -fmudflap.
4176 old_CFLAGS="$CFLAGS"
4177 CFLAGS="$CFLAGS -fmudflap"
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4189 if ac_fn_c_try_compile "$LINENO"; then :
4194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195 CFLAGS="$old_CFLAGS"
4199 if test "$use_mudflap" = fail; then
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error $? "--enable-mudflap requires a compiler which understands this option
4203 See \`config.log' for more details" "$LINENO" 5; }
4205 if test "$use_mudflap" = yes; then
4214 # Check whether --enable-debugpred was given.
4215 if test "${enable_debugpred+set}" = set; then :
4216 enableval=$enable_debugpred; use_debugpred=$enableval
4221 case $use_debugpred in
4222 yes) use_debugpred=1 ;;
4223 *) use_debugpred=0 ;;
4225 DEBUGPRED=$use_debugpred
4228 # Check whether --enable-gprof was given.
4229 if test "${enable_gprof+set}" = set; then :
4230 enableval=$enable_gprof; use_gprof=$enableval
4235 if test "$use_gprof" = yes; then
4236 CFLAGS="$CFLAGS -pg"
4237 LDFLAGS="$LDFLAGS -pg"
4239 if test "$use_gprof" = yes; then
4248 # Enable gcov suport.
4249 # Check whether --enable-gcov was given.
4250 if test "${enable_gcov+set}" = set; then :
4251 enableval=$enable_gcov; use_gcov=$enableval
4256 if test "$use_gcov" = yes; then
4257 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
4258 LDFLAGS="$LDFLAGS -fprofile-arcs"
4260 if test "$use_gcov" = yes; then
4269 if test "$use_mudflap" = yes -o "$use_gprof" = yes -o "$use_gcov" = yes; then
4271 BUILD_STATIC_FALSE='#'
4273 BUILD_STATIC_TRUE='#'
4278 # Check whether --enable-tests-rpath was given.
4279 if test "${enable_tests_rpath+set}" = set; then :
4280 enableval=$enable_tests_rpath; tests_use_rpath=$enableval
4285 if test "$tests_use_rpath" = yes; then
4287 TESTS_RPATH_FALSE='#'
4289 TESTS_RPATH_TRUE='#'
4294 LIBEBL_SUBDIR="$PACKAGE"
4295 # Check whether --enable-libebl-subdir was given.
4296 if test "${enable_libebl_subdir+set}" = set; then :
4297 enableval=$enable_libebl_subdir; LIBEBL_SUBDIR="$enable_libebl_subdir"
4301 cat >>confdefs.h <<_ACEOF
4302 #define LIBEBL_SUBDIR "$LIBEBL_SUBDIR"
4310 # Check whether --with-zlib was given.
4311 if test "${with_zlib+set}" = set; then :
4317 if test $with_zlib != no; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzdirect" >&5
4319 $as_echo_n "checking for library containing gzdirect... " >&6; }
4320 if ${ac_cv_search_gzdirect+:} false; then :
4321 $as_echo_n "(cached) " >&6
4323 ac_func_search_save_LIBS=$LIBS
4324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4325 /* end confdefs.h. */
4327 /* Override any GCC internal prototype to avoid an error.
4328 Use char because int might match the return type of a GCC
4329 builtin and then its argument prototype would still apply. */
4342 for ac_lib in '' z; do
4343 if test -z "$ac_lib"; then
4344 ac_res="none required"
4347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4349 if ac_fn_c_try_link "$LINENO"; then :
4350 ac_cv_search_gzdirect=$ac_res
4352 rm -f core conftest.err conftest.$ac_objext \
4354 if ${ac_cv_search_gzdirect+:} false; then :
4358 if ${ac_cv_search_gzdirect+:} false; then :
4361 ac_cv_search_gzdirect=no
4364 LIBS=$ac_func_search_save_LIBS
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzdirect" >&5
4367 $as_echo "$ac_cv_search_gzdirect" >&6; }
4368 ac_res=$ac_cv_search_gzdirect
4369 if test "$ac_res" != no; then :
4370 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4373 test $with_zlib = default ||
4374 as_fn_error $? "missing -lz for --with-zlib" "$LINENO" 5
4378 if test $with_zlib = yes; then
4386 if test $with_zlib = yes; then
4387 $as_echo "#define USE_ZLIB 1" >>confdefs.h
4392 # Check whether --with-bzlib was given.
4393 if test "${with_bzlib+set}" = set; then :
4394 withval=$with_bzlib;
4399 if test $with_bzlib != no; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzdopen" >&5
4401 $as_echo_n "checking for library containing BZ2_bzdopen... " >&6; }
4402 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
4403 $as_echo_n "(cached) " >&6
4405 ac_func_search_save_LIBS=$LIBS
4406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4407 /* end confdefs.h. */
4409 /* Override any GCC internal prototype to avoid an error.
4410 Use char because int might match the return type of a GCC
4411 builtin and then its argument prototype would still apply. */
4415 char BZ2_bzdopen ();
4419 return BZ2_bzdopen ();
4424 for ac_lib in '' bz2; do
4425 if test -z "$ac_lib"; then
4426 ac_res="none required"
4429 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4431 if ac_fn_c_try_link "$LINENO"; then :
4432 ac_cv_search_BZ2_bzdopen=$ac_res
4434 rm -f core conftest.err conftest.$ac_objext \
4436 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
4440 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
4443 ac_cv_search_BZ2_bzdopen=no
4446 LIBS=$ac_func_search_save_LIBS
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzdopen" >&5
4449 $as_echo "$ac_cv_search_BZ2_bzdopen" >&6; }
4450 ac_res=$ac_cv_search_BZ2_bzdopen
4451 if test "$ac_res" != no; then :
4452 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4455 test $with_bzlib = default ||
4456 as_fn_error $? "missing -lbz2 for --with-bzlib" "$LINENO" 5
4460 if test $with_bzlib = yes; then
4468 if test $with_bzlib = yes; then
4469 $as_echo "#define USE_BZLIB 1" >>confdefs.h
4474 # Check whether --with-lzma was given.
4475 if test "${with_lzma+set}" = set; then :
4481 if test $with_lzma != no; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lzma_auto_decoder" >&5
4483 $as_echo_n "checking for library containing lzma_auto_decoder... " >&6; }
4484 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
4485 $as_echo_n "(cached) " >&6
4487 ac_func_search_save_LIBS=$LIBS
4488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4489 /* end confdefs.h. */
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4497 char lzma_auto_decoder ();
4501 return lzma_auto_decoder ();
4506 for ac_lib in '' lzma; do
4507 if test -z "$ac_lib"; then
4508 ac_res="none required"
4511 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4513 if ac_fn_c_try_link "$LINENO"; then :
4514 ac_cv_search_lzma_auto_decoder=$ac_res
4516 rm -f core conftest.err conftest.$ac_objext \
4518 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
4522 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
4525 ac_cv_search_lzma_auto_decoder=no
4528 LIBS=$ac_func_search_save_LIBS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lzma_auto_decoder" >&5
4531 $as_echo "$ac_cv_search_lzma_auto_decoder" >&6; }
4532 ac_res=$ac_cv_search_lzma_auto_decoder
4533 if test "$ac_res" != no; then :
4534 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4537 test $with_lzma = default ||
4538 as_fn_error $? "missing -llzma for --with-lzma" "$LINENO" 5
4542 if test $with_lzma = yes; then
4550 if test $with_lzma = yes; then
4551 $as_echo "#define USE_LZMA 1" >>confdefs.h
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle in -lstdc++" >&5
4560 $as_echo_n "checking for __cxa_demangle in -lstdc++... " >&6; }
4561 if ${ac_cv_lib_stdcpp___cxa_demangle+:} false; then :
4562 $as_echo_n "(cached) " >&6
4564 ac_check_lib_save_LIBS=$LIBS
4565 LIBS="-lstdc++ $LIBS"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4569 /* Override any GCC internal prototype to avoid an error.
4570 Use char because int might match the return type of a GCC
4571 builtin and then its argument prototype would still apply. */
4575 char __cxa_demangle ();
4579 return __cxa_demangle ();
4584 if ac_fn_c_try_link "$LINENO"; then :
4585 ac_cv_lib_stdcpp___cxa_demangle=yes
4587 ac_cv_lib_stdcpp___cxa_demangle=no
4589 rm -f core conftest.err conftest.$ac_objext \
4590 conftest$ac_exeext conftest.$ac_ext
4591 LIBS=$ac_check_lib_save_LIBS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp___cxa_demangle" >&5
4594 $as_echo "$ac_cv_lib_stdcpp___cxa_demangle" >&6; }
4595 if test "x$ac_cv_lib_stdcpp___cxa_demangle" = xyes; then :
4597 $as_echo "#define USE_DEMANGLE 1" >>confdefs.h
4601 if test "$ac_cv_lib_stdcpp___cxa_demangle" = yes; then
4612 ac_config_files="$ac_config_files lib/Makefile"
4615 ac_config_files="$ac_config_files libelf/Makefile"
4618 ac_config_files="$ac_config_files libebl/Makefile"
4621 ac_config_files="$ac_config_files libdw/Makefile"
4624 ac_config_files="$ac_config_files libdwfl/Makefile"
4627 ac_config_files="$ac_config_files libcpu/Makefile"
4632 HAVE_LIBASM_FALSE='#'
4634 HAVE_LIBASM_TRUE='#'
4637 ac_config_files="$ac_config_files libasm/Makefile"
4640 ac_config_files="$ac_config_files backends/Makefile"
4643 ac_config_files="$ac_config_files src/Makefile po/Makefile.in"
4648 STANDALONE_FALSE='#'
4653 ac_config_files="$ac_config_files tests/Makefile"
4656 # Get the definitions necessary to create the Makefiles in the po
4657 # subdirectories. This is a small subset of the gettext rules.
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
4662 $as_echo_n "checking whether NLS is requested... " >&6; }
4663 # Check whether --enable-nls was given.
4664 if test "${enable_nls+set}" = set; then :
4665 enableval=$enable_nls; USE_NLS=$enableval
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
4671 $as_echo "$USE_NLS" >&6; }
4676 GETTEXT_MACRO_VERSION=0.17
4681 # Prepare PATH_SEPARATOR.
4682 # The user is always right.
4683 if test "${PATH_SEPARATOR+set}" != set; then
4684 echo "#! /bin/sh" >conf$$.sh
4685 echo "exit 0" >>conf$$.sh
4687 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4695 # Find out how to test for executable files. Don't use a zero-byte file,
4696 # as systems may use methods other than mode bits to determine executability.
4697 cat >conf$$.file <<_ASEOF
4701 chmod +x conf$$.file
4702 if test -x conf$$.file >/dev/null 2>&1; then
4703 ac_executable_p="test -x"
4705 ac_executable_p="test -f"
4709 # Extract the first word of "msgfmt", so it can be a program name with args.
4710 set dummy msgfmt; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_path_MSGFMT+:} false; then :
4714 $as_echo_n "(cached) " >&6
4718 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4721 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4722 for ac_dir in $PATH; do
4724 test -z "$ac_dir" && ac_dir=.
4725 for ac_exec_ext in '' $ac_executable_extensions; do
4726 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4727 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4728 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
4729 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4730 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
4737 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
4741 MSGFMT="$ac_cv_path_MSGFMT"
4742 if test "$MSGFMT" != ":"; then
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4744 $as_echo "$MSGFMT" >&6; }
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4747 $as_echo "no" >&6; }
4750 # Extract the first word of "gmsgfmt", so it can be a program name with args.
4751 set dummy gmsgfmt; ac_word=$2
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4753 $as_echo_n "checking for $ac_word... " >&6; }
4754 if ${ac_cv_path_GMSGFMT+:} false; then :
4755 $as_echo_n "(cached) " >&6
4759 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir=.
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4769 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4781 GMSGFMT=$ac_cv_path_GMSGFMT
4782 if test -n "$GMSGFMT"; then
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4784 $as_echo "$GMSGFMT" >&6; }
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4792 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4793 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
4794 *) MSGFMT_015=$MSGFMT ;;
4797 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4798 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
4799 *) GMSGFMT_015=$GMSGFMT ;;
4804 # Prepare PATH_SEPARATOR.
4805 # The user is always right.
4806 if test "${PATH_SEPARATOR+set}" != set; then
4807 echo "#! /bin/sh" >conf$$.sh
4808 echo "exit 0" >>conf$$.sh
4810 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4818 # Find out how to test for executable files. Don't use a zero-byte file,
4819 # as systems may use methods other than mode bits to determine executability.
4820 cat >conf$$.file <<_ASEOF
4824 chmod +x conf$$.file
4825 if test -x conf$$.file >/dev/null 2>&1; then
4826 ac_executable_p="test -x"
4828 ac_executable_p="test -f"
4832 # Extract the first word of "xgettext", so it can be a program name with args.
4833 set dummy xgettext; ac_word=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_path_XGETTEXT+:} false; then :
4837 $as_echo_n "(cached) " >&6
4841 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4844 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4845 for ac_dir in $PATH; do
4847 test -z "$ac_dir" && ac_dir=.
4848 for ac_exec_ext in '' $ac_executable_extensions; do
4849 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4850 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4851 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
4852 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
4853 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
4860 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
4864 XGETTEXT="$ac_cv_path_XGETTEXT"
4865 if test "$XGETTEXT" != ":"; then
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4867 $as_echo "$XGETTEXT" >&6; }
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4870 $as_echo "no" >&6; }
4875 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
4876 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
4877 *) XGETTEXT_015=$XGETTEXT ;;
4882 # Prepare PATH_SEPARATOR.
4883 # The user is always right.
4884 if test "${PATH_SEPARATOR+set}" != set; then
4885 echo "#! /bin/sh" >conf$$.sh
4886 echo "exit 0" >>conf$$.sh
4888 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4896 # Find out how to test for executable files. Don't use a zero-byte file,
4897 # as systems may use methods other than mode bits to determine executability.
4898 cat >conf$$.file <<_ASEOF
4902 chmod +x conf$$.file
4903 if test -x conf$$.file >/dev/null 2>&1; then
4904 ac_executable_p="test -x"
4906 ac_executable_p="test -f"
4910 # Extract the first word of "msgmerge", so it can be a program name with args.
4911 set dummy msgmerge; ac_word=$2
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4913 $as_echo_n "checking for $ac_word... " >&6; }
4914 if ${ac_cv_path_MSGMERGE+:} false; then :
4915 $as_echo_n "(cached) " >&6
4919 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4922 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
4923 for ac_dir in $PATH; do
4925 test -z "$ac_dir" && ac_dir=.
4926 for ac_exec_ext in '' $ac_executable_extensions; do
4927 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
4928 echo "$as_me: trying $ac_dir/$ac_word..." >&5
4929 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
4930 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
4937 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
4941 MSGMERGE="$ac_cv_path_MSGMERGE"
4942 if test "$MSGMERGE" != ":"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4944 $as_echo "$MSGMERGE" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4951 test -n "$localedir" || localedir='${datadir}/locale'
4954 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
4957 ac_config_commands="$ac_config_commands po-directories"
4963 ac_config_files="$ac_config_files version.h:config/version.h.in"
4967 # 1.234<whatever> -> 1234<whatever>
4968 case "$PACKAGE_VERSION" in
4969 [0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
4970 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
4972 case "$eu_version" in
4974 # 1234.567 -> "1234", "567"
4975 eu_extra_version="${eu_version#*.}"
4976 eu_version="${eu_version%%.*}"
4977 case "$eu_extra_version" in
4979 [0-9][0-9]) eu_extra_version="${eu_extra_version}0" ;;
4980 [0-9]) eu_extra_version="${eu_extra_version}00" ;;
4981 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
4985 eu_extra_version=000
4989 case "$eu_version" in
4990 0[0-9][0-9][0-9]) eu_version="${eu_version#0}$eu_extra_version" ;;
4991 [0-9][0-9][0-9][0-9]) eu_version="${eu_version}$eu_extra_version" ;;
4992 [0-9][0-9][0-9]) eu_version="${eu_version}0$eu_extra_version" ;;
4993 [0-9][0-9]) eu_version="${eu_version}00$eu_extra_version";;
4994 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
4997 # Round up to the next release API (x.y) version.
4998 eu_version=$(( (eu_version + 999) / 1000 ))
5000 cat >confcache <<\_ACEOF
5001 # This file is a shell script that caches the results of configure
5002 # tests run on this system so they can be shared between configure
5003 # scripts and configure runs, see configure's option --config-cache.
5004 # It is not useful on other systems. If it contains results you don't
5005 # want to keep, you may remove or edit it.
5007 # config.status only pays attention to the cache file if you give it
5008 # the --recheck option to rerun configure.
5010 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5011 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5016 # The following way of writing the cache mishandles newlines in values,
5017 # but we know of no workaround that is simple, portable, and efficient.
5018 # So, we kill variables containing newlines.
5019 # Ultrix sh set writes to stderr and can't be redirected directly,
5020 # and sets the high bit in the cache file unless we assign to the vars.
5022 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5023 eval ac_val=\$$ac_var
5027 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5028 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5031 _ | IFS | as_nl) ;; #(
5032 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5033 *) { eval $ac_var=; unset $ac_var;} ;;
5039 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5040 *${as_nl}ac_space=\ *)
5041 # `set' does not quote correctly, so add quotes: double-quote
5042 # substitution turns \\\\ into \\, and sed turns \\ into \.
5045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5048 # `set' quotes correctly as required by POSIX, so do not add quotes.
5049 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5060 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5062 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5063 if test -w "$cache_file"; then
5064 if test "x$cache_file" != "x/dev/null"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5066 $as_echo "$as_me: updating cache $cache_file" >&6;}
5067 if test ! -f "$cache_file" || test -h "$cache_file"; then
5068 cat confcache >"$cache_file"
5070 case $cache_file in #(
5072 mv -f confcache "$cache_file"$$ &&
5073 mv -f "$cache_file"$$ "$cache_file" ;; #(
5075 mv -f confcache "$cache_file" ;;
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5081 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5086 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5087 # Let make expand exec_prefix.
5088 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5090 DEFS=-DHAVE_CONFIG_H
5095 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5096 # 1. Remove the extension, and $U if already installed.
5097 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5098 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5099 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5100 # will be set to the directory where LIBOBJS objects are built.
5101 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5102 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5106 LTLIBOBJS=$ac_ltlibobjs
5109 if test -n "$EXEEXT"; then
5111 am__EXEEXT_FALSE='#'
5117 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5118 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5121 if test -z "${USE_LOCKS_TRUE}" && test -z "${USE_LOCKS_FALSE}"; then
5122 as_fn_error $? "conditional \"USE_LOCKS\" was never defined.
5123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5125 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5126 as_fn_error $? "conditional \"AMDEP\" was never defined.
5127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5129 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5130 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5133 if test -z "${NATIVE_LD_TRUE}" && test -z "${NATIVE_LD_FALSE}"; then
5134 as_fn_error $? "conditional \"NATIVE_LD\" was never defined.
5135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5137 if test -z "${NEVER_TRUE}" && test -z "${NEVER_FALSE}"; then
5138 as_fn_error $? "conditional \"NEVER\" was never defined.
5139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5141 if test -z "${MUDFLAP_TRUE}" && test -z "${MUDFLAP_FALSE}"; then
5142 as_fn_error $? "conditional \"MUDFLAP\" was never defined.
5143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5145 if test -z "${GPROF_TRUE}" && test -z "${GPROF_FALSE}"; then
5146 as_fn_error $? "conditional \"GPROF\" was never defined.
5147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5149 if test -z "${GCOV_TRUE}" && test -z "${GCOV_FALSE}"; then
5150 as_fn_error $? "conditional \"GCOV\" was never defined.
5151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5153 if test -z "${BUILD_STATIC_TRUE}" && test -z "${BUILD_STATIC_FALSE}"; then
5154 as_fn_error $? "conditional \"BUILD_STATIC\" was never defined.
5155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5157 if test -z "${TESTS_RPATH_TRUE}" && test -z "${TESTS_RPATH_FALSE}"; then
5158 as_fn_error $? "conditional \"TESTS_RPATH\" was never defined.
5159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5161 if test -z "${ZLIB_TRUE}" && test -z "${ZLIB_FALSE}"; then
5162 as_fn_error $? "conditional \"ZLIB\" was never defined.
5163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5165 if test -z "${BZLIB_TRUE}" && test -z "${BZLIB_FALSE}"; then
5166 as_fn_error $? "conditional \"BZLIB\" was never defined.
5167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5169 if test -z "${LZMA_TRUE}" && test -z "${LZMA_FALSE}"; then
5170 as_fn_error $? "conditional \"LZMA\" was never defined.
5171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5173 if test -z "${DEMANGLE_TRUE}" && test -z "${DEMANGLE_FALSE}"; then
5174 as_fn_error $? "conditional \"DEMANGLE\" was never defined.
5175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5177 if test -z "${HAVE_LIBASM_TRUE}" && test -z "${HAVE_LIBASM_FALSE}"; then
5178 as_fn_error $? "conditional \"HAVE_LIBASM\" was never defined.
5179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5181 if test -z "${STANDALONE_TRUE}" && test -z "${STANDALONE_FALSE}"; then
5182 as_fn_error $? "conditional \"STANDALONE\" was never defined.
5183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5186 : "${CONFIG_STATUS=./config.status}"
5188 ac_clean_files_save=$ac_clean_files
5189 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5191 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5193 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5195 # Generated by $as_me.
5196 # Run this file to recreate the current configuration.
5197 # Compiler output produced by configure, useful for debugging
5198 # configure, is in config.log if it exists.
5204 SHELL=\${CONFIG_SHELL-$SHELL}
5207 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5208 ## -------------------- ##
5209 ## M4sh Initialization. ##
5210 ## -------------------- ##
5212 # Be more Bourne compatible
5213 DUALCASE=1; export DUALCASE # for MKS sh
5214 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5217 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5218 # is contrary to our usage. Disable this feature.
5219 alias -g '${1+"$@"}'='"$@"'
5220 setopt NO_GLOB_SUBST
5222 case `(set -o) 2>/dev/null` in #(
5234 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5235 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5236 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5237 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5238 # Prefer a ksh shell builtin over an external printf program on Solaris,
5239 # but without wasting forks for bash or zsh.
5240 if test -z "$BASH_VERSION$ZSH_VERSION" \
5241 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5242 as_echo='print -r --'
5243 as_echo_n='print -rn --'
5244 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5245 as_echo='printf %s\n'
5246 as_echo_n='printf %s'
5248 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5249 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5250 as_echo_n='/usr/ucb/echo -n'
5252 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5253 as_echo_n_body='eval
5257 expr "X$arg" : "X\\(.*\\)$as_nl";
5258 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5260 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5262 export as_echo_n_body
5263 as_echo_n='sh -c $as_echo_n_body as_echo'
5266 as_echo='sh -c $as_echo_body as_echo'
5269 # The user is always right.
5270 if test "${PATH_SEPARATOR+set}" != set; then
5272 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5273 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5280 # We need space, tab and new line, in precisely that order. Quoting is
5281 # there to prevent editors from complaining about space-tab.
5282 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5283 # splitting by setting IFS to empty value.)
5286 # Find who we are. Look in the path if we contain no directory separator.
5289 *[\\/]* ) as_myself=$0 ;;
5290 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 test -z "$as_dir" && as_dir=.
5295 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5301 # We did not find ourselves, most probably we were run as `sh COMMAND'
5302 # in which case we are not to be found in the path.
5303 if test "x$as_myself" = x; then
5306 if test ! -f "$as_myself"; then
5307 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5311 # Unset variables that we do not need and which cause bugs (e.g. in
5312 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5313 # suppresses any "Segmentation fault" message there. '((' could
5314 # trigger a bug in pdksh 5.2.14.
5315 for as_var in BASH_ENV ENV MAIL MAILPATH
5316 do eval test x\${$as_var+set} = xset \
5317 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5330 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5333 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5334 # ----------------------------------------
5335 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5336 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5337 # script with STATUS, using 1 if that was 0.
5340 as_status=$1; test $as_status -eq 0 && as_status=1
5342 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5343 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5345 $as_echo "$as_me: error: $2" >&2
5346 as_fn_exit $as_status
5350 # as_fn_set_status STATUS
5351 # -----------------------
5352 # Set $? to STATUS, without forking.
5356 } # as_fn_set_status
5360 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5370 # Portably unset VAR.
5373 { eval $1=; unset $1;}
5375 as_unset=as_fn_unset
5376 # as_fn_append VAR VALUE
5377 # ----------------------
5378 # Append the text in VALUE to the end of the definition contained in VAR. Take
5379 # advantage of any shell optimizations that allow amortized linear growth over
5380 # repeated appends, instead of the typical quadratic growth present in naive
5382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5383 eval 'as_fn_append ()
5394 # as_fn_arith ARG...
5395 # ------------------
5396 # Perform arithmetic evaluation on the ARGs, and store the result in the
5397 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5398 # must be portable across $(()) and expr.
5399 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5400 eval 'as_fn_arith ()
5407 as_val=`expr "$@" || test $? -eq 1`
5412 if expr a : '\(a\)' >/dev/null 2>&1 &&
5413 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5419 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5420 as_basename=basename
5425 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5431 as_me=`$as_basename -- "$0" ||
5432 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5433 X"$0" : 'X\(//\)$' \| \
5434 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5436 sed '/^.*\/\([^/][^/]*\)\/*$/{
5450 # Avoid depending upon Character Ranges.
5451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5454 as_cr_digits='0123456789'
5455 as_cr_alnum=$as_cr_Letters$as_cr_digits
5457 ECHO_C= ECHO_N= ECHO_T=
5458 case `echo -n x` in #(((((
5460 case `echo 'xy\c'` in
5461 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5463 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5470 rm -f conf$$ conf$$.exe conf$$.file
5471 if test -d conf$$.dir; then
5472 rm -f conf$$.dir/conf$$.file
5475 mkdir conf$$.dir 2>/dev/null
5477 if (echo >conf$$.file) 2>/dev/null; then
5478 if ln -s conf$$.file conf$$ 2>/dev/null; then
5480 # ... but there are two gotchas:
5481 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5482 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5483 # In both cases, we have to default to `cp -p'.
5484 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5486 elif ln conf$$.file conf$$ 2>/dev/null; then
5494 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5495 rmdir conf$$.dir 2>/dev/null
5500 # Create "$as_dir" as a directory, including parents if necessary.
5505 -*) as_dir=./$as_dir;;
5507 test -d "$as_dir" || eval $as_mkdir_p || {
5511 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5512 *) as_qdir=$as_dir;;
5514 as_dirs="'$as_qdir' $as_dirs"
5515 as_dir=`$as_dirname -- "$as_dir" ||
5516 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5517 X"$as_dir" : 'X\(//\)[^/]' \| \
5518 X"$as_dir" : 'X\(//\)$' \| \
5519 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5520 $as_echo X"$as_dir" |
5521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5538 test -d "$as_dir" && break
5540 test -z "$as_dirs" || eval "mkdir $as_dirs"
5541 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5545 if mkdir -p . 2>/dev/null; then
5546 as_mkdir_p='mkdir -p "$as_dir"'
5548 test -d ./-p && rmdir ./-p
5552 if test -x / >/dev/null 2>&1; then
5555 if ls -dL / >/dev/null 2>&1; then
5562 if test -d "$1"; then
5568 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5569 ???[sx]*):;;*)false;;esac;fi
5573 as_executable_p=$as_test_x
5575 # Sed expression to map a string onto a valid CPP name.
5576 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5578 # Sed expression to map a string onto a valid variable name.
5579 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5583 ## ----------------------------------- ##
5584 ## Main body of $CONFIG_STATUS script. ##
5585 ## ----------------------------------- ##
5587 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5590 # Save the log message, to keep $0 and so on meaningful, and to
5591 # report actual input values of CONFIG_FILES etc. instead of their
5592 # values after options handling.
5594 This file was extended by Red Hat elfutils $as_me 0.153, which was
5595 generated by GNU Autoconf 2.68. Invocation command line was
5597 CONFIG_FILES = $CONFIG_FILES
5598 CONFIG_HEADERS = $CONFIG_HEADERS
5599 CONFIG_LINKS = $CONFIG_LINKS
5600 CONFIG_COMMANDS = $CONFIG_COMMANDS
5603 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5608 case $ac_config_files in *"
5609 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5612 case $ac_config_headers in *"
5613 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618 # Files that config.status was made for.
5619 config_files="$ac_config_files"
5620 config_headers="$ac_config_headers"
5621 config_commands="$ac_config_commands"
5625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5627 \`$as_me' instantiates files and other configuration actions
5628 from templates according to the current configuration. Unless the files
5629 and actions are specified as TAGs, all are instantiated by default.
5631 Usage: $0 [OPTION]... [TAG]...
5633 -h, --help print this help, then exit
5634 -V, --version print version number and configuration settings, then exit
5635 --config print configuration, then exit
5636 -q, --quiet, --silent
5637 do not print progress messages
5638 -d, --debug don't remove temporary files
5639 --recheck update $as_me by reconfiguring in the same conditions
5640 --file=FILE[:TEMPLATE]
5641 instantiate the configuration file FILE
5642 --header=FILE[:TEMPLATE]
5643 instantiate the configuration header FILE
5645 Configuration files:
5648 Configuration headers:
5651 Configuration commands:
5654 Report bugs to <http://bugzilla.redhat.com/bugzilla/>."
5657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5658 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5660 Red Hat elfutils config.status 0.153
5661 configured by $0, generated by GNU Autoconf 2.68,
5662 with options \\"\$ac_cs_config\\"
5664 Copyright (C) 2010 Free Software Foundation, Inc.
5665 This config.status script is free software; the Free Software Foundation
5666 gives unlimited permission to copy, distribute and modify it."
5673 test -n "\$AWK" || AWK=awk
5676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5677 # The default lists apply if the user does not specify any file.
5683 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5684 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5688 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5700 # Handling of the options.
5701 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5703 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5704 $as_echo "$ac_cs_version"; exit ;;
5705 --config | --confi | --conf | --con | --co | --c )
5706 $as_echo "$ac_cs_config"; exit ;;
5707 --debug | --debu | --deb | --de | --d | -d )
5709 --file | --fil | --fi | --f )
5712 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5713 '') as_fn_error $? "missing file argument" ;;
5715 as_fn_append CONFIG_FILES " '$ac_optarg'"
5716 ac_need_defaults=false;;
5717 --header | --heade | --head | --hea )
5720 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5722 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5723 ac_need_defaults=false;;
5725 # Conflict between --help and --header
5726 as_fn_error $? "ambiguous option: \`$1'
5727 Try \`$0 --help' for more information.";;
5728 --help | --hel | -h )
5729 $as_echo "$ac_cs_usage"; exit ;;
5730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5731 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5735 -*) as_fn_error $? "unrecognized option: \`$1'
5736 Try \`$0 --help' for more information." ;;
5738 *) as_fn_append ac_config_targets " $1"
5739 ac_need_defaults=false ;;
5745 ac_configure_extra_args=
5747 if $ac_cs_silent; then
5749 ac_configure_extra_args="$ac_configure_extra_args --silent"
5753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5754 if \$ac_cs_recheck; then
5755 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5757 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5758 CONFIG_SHELL='$SHELL'
5764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5768 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5769 ## Running $as_me. ##
5775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5779 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5780 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
5781 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
5782 # from automake < 1.5.
5783 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
5784 # Capture the value of LINGUAS because we need it to compute CATALOGS.
5785 LINGUAS="${LINGUAS-%UNSET%}"
5790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5792 # Handling of arguments.
5793 for ac_config_target in $ac_config_targets
5795 case $ac_config_target in
5796 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
5797 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5798 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5799 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
5800 "elfutils.spec") CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;;
5801 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5802 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
5803 "libelf/Makefile") CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;;
5804 "libebl/Makefile") CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;;
5805 "libdw/Makefile") CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;;
5806 "libdwfl/Makefile") CONFIG_FILES="$CONFIG_FILES libdwfl/Makefile" ;;
5807 "libcpu/Makefile") CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;;
5808 "libasm/Makefile") CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;;
5809 "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;;
5810 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5811 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
5812 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5813 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
5814 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;;
5816 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5821 # If the user did not use the arguments to specify the items to instantiate,
5822 # then the envvar interface is used. Set only those that are not.
5823 # We use the long form for the default assignment because of an extremely
5824 # bizarre bug on SunOS 4.1.3.
5825 if $ac_need_defaults; then
5826 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5827 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5828 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5831 # Have a temporary directory for convenience. Make it in the build tree
5832 # simply because there is no reason against having it here, and in addition,
5833 # creating and moving files from /tmp can sometimes cause problems.
5834 # Hook for its removal unless debugging.
5835 # Note that there is a small window in which the directory will not be cleaned:
5836 # after its creation but before its name has been assigned to `$tmp'.
5840 trap 'exit_status=$?
5842 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5844 trap 'as_fn_exit 1' 1 2 13 15
5846 # Create a (secure) tmp directory for tmp files.
5849 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5853 tmp=./conf$$-$RANDOM
5854 (umask 077 && mkdir "$tmp")
5855 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5858 # Set up the scripts for CONFIG_FILES section.
5859 # No need to generate them if there are no CONFIG_FILES.
5860 # This happens for instance with `./config.status config.h'.
5861 if test -n "$CONFIG_FILES"; then
5864 ac_cr=`echo X | tr X '\015'`
5865 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5866 # But we know of no other shell where ac_cr would be empty at this
5867 # point, so we can use a bashism as a fallback.
5868 if test "x$ac_cr" = x; then
5869 eval ac_cr=\$\'\\r\'
5871 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5872 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5878 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5883 echo "cat >conf$$subs.awk <<_ACEOF" &&
5884 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5887 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5888 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5890 for ac_last_try in false false false false false :; do
5891 . ./conf$$subs.sh ||
5892 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5894 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5895 if test $ac_delim_n = $ac_delim_num; then
5897 elif $ac_last_try; then
5898 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5900 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5906 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5910 s/^/S["/; s/!.*/"]=/
5920 s/\(.\{148\}\)..*/\1/
5922 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5927 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5934 s/\(.\{148\}\)..*/\1/
5936 s/["\\]/\\&/g; s/^/"/; s/$/"/
5940 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5945 ' <conf$$subs.awk | sed '
5950 ' >>$CONFIG_STATUS || ac_write_fail=1
5951 rm -f conf$$subs.awk
5952 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5954 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5955 for (key in S) S_is_set[key] = 1
5961 nfields = split(line, field, "@")
5963 len = length(field[1])
5964 for (i = 2; i < nfields; i++) {
5966 keylen = length(key)
5967 if (S_is_set[key]) {
5969 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5970 len += length(value) + length(field[++i])
5981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5982 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5983 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5986 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5987 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5990 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5991 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5992 # trailing colons and then remove the whole line if VPATH becomes empty
5993 # (actually we leave an empty line to preserve line numbers).
5994 if test "x$srcdir" = x.; then
5995 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6014 fi # test -n "$CONFIG_FILES"
6016 # Set up the scripts for CONFIG_HEADERS section.
6017 # No need to generate them if there are no CONFIG_HEADERS.
6018 # This happens for instance with `./config.status Makefile'.
6019 if test -n "$CONFIG_HEADERS"; then
6020 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6024 # Transform confdefs.h into an awk script `defines.awk', embedded as
6025 # here-document in config.status, that substitutes the proper values into
6026 # config.h.in to produce config.h.
6028 # Create a delimiter string that does not exist in confdefs.h, to ease
6029 # handling of long lines.
6031 for ac_last_try in false false :; do
6032 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6033 if test -z "$ac_tt"; then
6035 elif $ac_last_try; then
6036 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6038 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6042 # For the awk script, D is an array of macro values keyed by name,
6043 # likewise P contains macro parameters if any. Preserve backslash
6044 # newline sequences.
6046 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6048 s/.\{148\}/&'"$ac_delim"'/g
6051 s/^[ ]*#[ ]*define[ ][ ]*/ /
6058 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6060 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6064 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6065 D["\1"]=" \3\\\\\\n"\\/p
6067 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6072 s/.\{148\}/&'"$ac_delim"'/g
6077 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6080 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6082 ' <confdefs.h | sed '
6083 s/'"$ac_delim"'/"\\\
6084 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6087 for (key in D) D_is_set[key] = 1
6090 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6092 split(line, arg, " ")
6093 if (arg[1] == "#") {
6097 defundef = substr(arg[1], 2)
6100 split(mac1, mac2, "(") #)
6102 prefix = substr(line, 1, index(line, defundef) - 1)
6103 if (D_is_set[macro]) {
6104 # Preserve the white space surrounding the "#".
6105 print prefix "define", macro P[macro] D[macro]
6108 # Replace #undef with comments. This is necessary, for example,
6109 # in the case of _POSIX_SOURCE, which is predefined and required
6110 # on some systems where configure will not decide to define it.
6111 if (defundef == "undef") {
6112 print "/*", prefix defundef, macro, "*/"
6120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6121 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6122 fi # test -n "$CONFIG_HEADERS"
6125 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6130 :[FHLC]) ac_mode=$ac_tag; continue;;
6132 case $ac_mode$ac_tag in
6134 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6135 :[FH]-) ac_tag=-:-;;
6136 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6153 -) ac_f="$ac_tmp/stdin";;
6154 *) # Look for the file first in the build tree, then in the source tree
6155 # (if the path is not absolute). The absolute path cannot be DOS-style,
6156 # because $ac_f cannot contain `:'.
6160 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6162 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6164 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6165 as_fn_append ac_file_inputs " '$ac_f'"
6168 # Let's still pretend it is `configure' which instantiates (i.e., don't
6169 # use $as_me), people would be surprised to read:
6170 # /* config.h. Generated by config.status. */
6171 configure_input='Generated from '`
6172 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6174 if test x"$ac_file" != x-; then
6175 configure_input="$ac_file. $configure_input"
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6177 $as_echo "$as_me: creating $ac_file" >&6;}
6179 # Neutralize special characters interpreted by sed in replacement strings.
6180 case $configure_input in #(
6181 *\&* | *\|* | *\\* )
6182 ac_sed_conf_input=`$as_echo "$configure_input" |
6183 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6184 *) ac_sed_conf_input=$configure_input;;
6188 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6189 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6194 ac_dir=`$as_dirname -- "$ac_file" ||
6195 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6196 X"$ac_file" : 'X\(//\)[^/]' \| \
6197 X"$ac_file" : 'X\(//\)$' \| \
6198 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6199 $as_echo X"$ac_file" |
6200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6217 as_dir="$ac_dir"; as_fn_mkdir_p
6221 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6223 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6224 # A ".." for each directory in $ac_dir_suffix.
6225 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6226 case $ac_top_builddir_sub in
6227 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6228 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6231 ac_abs_top_builddir=$ac_pwd
6232 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6233 # for backward compatibility:
6234 ac_top_builddir=$ac_top_build_prefix
6237 .) # We are building in place.
6239 ac_top_srcdir=$ac_top_builddir_sub
6240 ac_abs_top_srcdir=$ac_pwd ;;
6241 [\\/]* | ?:[\\/]* ) # Absolute name.
6242 ac_srcdir=$srcdir$ac_dir_suffix;
6243 ac_top_srcdir=$srcdir
6244 ac_abs_top_srcdir=$srcdir ;;
6246 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6247 ac_top_srcdir=$ac_top_build_prefix$srcdir
6248 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6250 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6260 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6261 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6265 [\\/$]* | ?:[\\/]* ) ;;
6266 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6271 # If the template does not know about datarootdir, expand it.
6272 # FIXME: This hack should be removed a few years after 2.60.
6273 ac_datarootdir_hack=; ac_datarootdir_seen=
6284 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6285 *datarootdir*) ac_datarootdir_seen=yes;;
6286 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6288 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6291 ac_datarootdir_hack='
6292 s&@datadir@&$datadir&g
6293 s&@docdir@&$docdir&g
6294 s&@infodir@&$infodir&g
6295 s&@localedir@&$localedir&g
6296 s&@mandir@&$mandir&g
6297 s&\\\${datarootdir}&$datarootdir&g' ;;
6301 # Neutralize VPATH when `$srcdir' = `.'.
6302 # Shell code in configure.ac might set extrasub.
6303 # FIXME: do we really want to maintain this feature?
6304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6305 ac_sed_extra="$ac_vpsub
6308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6310 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6311 s|@configure_input@|$ac_sed_conf_input|;t t
6312 s&@top_builddir@&$ac_top_builddir_sub&;t t
6313 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6314 s&@srcdir@&$ac_srcdir&;t t
6315 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6316 s&@top_srcdir@&$ac_top_srcdir&;t t
6317 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6318 s&@builddir@&$ac_builddir&;t t
6319 s&@abs_builddir@&$ac_abs_builddir&;t t
6320 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6321 s&@INSTALL@&$ac_INSTALL&;t t
6322 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6323 $ac_datarootdir_hack
6325 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6326 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6328 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6329 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6330 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6331 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6333 which seems to be undefined. Please make sure it is defined" >&5
6334 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6335 which seems to be undefined. Please make sure it is defined" >&2;}
6337 rm -f "$ac_tmp/stdin"
6339 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6340 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6348 if test x"$ac_file" != x-; then
6350 $as_echo "/* $configure_input */" \
6351 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6352 } >"$ac_tmp/config.h" \
6353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6354 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6356 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6359 mv "$ac_tmp/config.h" "$ac_file" \
6360 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6363 $as_echo "/* $configure_input */" \
6364 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6365 || as_fn_error $? "could not create -" "$LINENO" 5
6367 # Compute "$ac_file"'s index in $config_headers.
6370 for _am_header in $config_headers :; do
6372 $_am_arg | $_am_arg:* )
6375 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6378 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6379 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6380 X"$_am_arg" : 'X\(//\)[^/]' \| \
6381 X"$_am_arg" : 'X\(//\)$' \| \
6382 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6383 $as_echo X"$_am_arg" |
6384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6400 s/.*/./; q'`/stamp-h$_am_stamp_count
6403 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6404 $as_echo "$as_me: executing $ac_file commands" >&6;}
6409 case $ac_file$ac_mode in
6410 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6411 # Autoconf 2.62 quotes --file arguments for eval, but not when files
6412 # are listed without --file. Let's play safe and only enable the eval
6413 # if we detect the quoting.
6414 case $CONFIG_FILES in
6415 *\'*) eval set x "$CONFIG_FILES" ;;
6416 *) set x $CONFIG_FILES ;;
6421 # Strip MF so we end up with the name of the file.
6422 mf=`echo "$mf" | sed -e 's/:.*$//'`
6423 # Check whether this is an Automake generated Makefile or not.
6424 # We used to match only the files named `Makefile.in', but
6425 # some people rename them; so instead we look at the file content.
6426 # Grep'ing the first line is not enough: some people post-process
6427 # each Makefile.in and add a new line on top of each file to say so.
6428 # Grep'ing the whole file is not good either: AIX grep has a line
6429 # limit of 2048, but all sed's we know have understand at least 4000.
6430 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
6431 dirpart=`$as_dirname -- "$mf" ||
6432 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6433 X"$mf" : 'X\(//\)[^/]' \| \
6434 X"$mf" : 'X\(//\)$' \| \
6435 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6457 # Extract the definition of DEPDIR, am__include, and am__quote
6458 # from the Makefile without running `make'.
6459 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6460 test -z "$DEPDIR" && continue
6461 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6462 test -z "am__include" && continue
6463 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6464 # When using ansi2knr, U may be empty or an underscore; expand it
6465 U=`sed -n 's/^U = //p' < "$mf"`
6466 # Find all dependency output files, they are included files with
6467 # $(DEPDIR) in their names. We invoke sed twice because it is the
6468 # simplest approach to changing $(DEPDIR) to its actual value in the
6470 for file in `sed -n "
6471 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6472 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6473 # Make sure the directory exists.
6474 test -f "$dirpart/$file" && continue
6475 fdir=`$as_dirname -- "$file" ||
6476 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6477 X"$file" : 'X\(//\)[^/]' \| \
6478 X"$file" : 'X\(//\)$' \| \
6479 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6498 as_dir=$dirpart/$fdir; as_fn_mkdir_p
6499 # echo "creating $dirpart/$file"
6500 echo '# dummy' > "$dirpart/$file"
6506 for ac_file in $CONFIG_FILES; do
6507 # Support "outfile[:infile[:infile...]]"
6509 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
6511 # PO directories have a Makefile.in generated from Makefile.in.in.
6512 case "$ac_file" in */Makefile.in)
6513 # Adjust a relative srcdir.
6514 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
6515 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
6516 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
6517 # In autoconf-2.13 it is called $ac_given_srcdir.
6518 # In autoconf-2.50 it is called $srcdir.
6519 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
6520 case "$ac_given_srcdir" in
6521 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
6522 /*) top_srcdir="$ac_given_srcdir" ;;
6523 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
6525 # Treat a directory as a PO directory if and only if it has a
6526 # POTFILES.in file. This allows packages to have multiple PO
6527 # directories under different names or in different locations.
6528 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
6529 rm -f "$ac_dir/POTFILES"
6530 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
6531 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
6532 POMAKEFILEDEPS="POTFILES.in"
6533 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
6534 # on $ac_dir but don't depend on user-specified configuration
6536 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
6537 # The LINGUAS file contains the set of available languages.
6538 if test -n "$OBSOLETE_ALL_LINGUAS"; then
6539 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
6541 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
6542 # Hide the ALL_LINGUAS assigment from automake < 1.5.
6543 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
6544 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
6546 # The set of available languages was given in configure.in.
6547 # Hide the ALL_LINGUAS assigment from automake < 1.5.
6548 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
6551 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
6552 # Compute UPDATEPOFILES
6553 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
6554 # Compute DUMMYPOFILES
6555 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
6557 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
6558 case "$ac_given_srcdir" in
6560 *) srcdirpre='$(srcdir)/' ;;
6566 for lang in $ALL_LINGUAS; do
6567 POFILES="$POFILES $srcdirpre$lang.po"
6568 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
6569 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
6570 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
6572 # CATALOGS depends on both $ac_dir and the user's LINGUAS
6573 # environment variable.
6575 if test -n "$ALL_LINGUAS"; then
6576 for presentlang in $ALL_LINGUAS; do
6578 if test "%UNSET%" != "$LINGUAS"; then
6579 desiredlanguages="$LINGUAS"
6581 desiredlanguages="$ALL_LINGUAS"
6583 for desiredlang in $desiredlanguages; do
6584 # Use the presentlang catalog if desiredlang is
6585 # a. equal to presentlang, or
6586 # b. a variant of presentlang (because in this case,
6587 # presentlang can be used as a fallback for messages
6588 # which are not translated in the desiredlang catalog).
6589 case "$desiredlang" in
6590 "$presentlang"*) useit=yes;;
6593 if test $useit = yes; then
6594 INST_LINGUAS="$INST_LINGUAS $presentlang"
6599 if test -n "$INST_LINGUAS"; then
6600 for lang in $INST_LINGUAS; do
6601 CATALOGS="$CATALOGS $lang.gmo"
6604 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
6605 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
6606 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
6607 if test -f "$f"; then
6609 *.orig | *.bak | *~) ;;
6610 *) cat "$f" >> "$ac_dir/Makefile" ;;
6625 ac_clean_files=$ac_clean_files_save
6627 test $ac_write_fail = 0 ||
6628 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6631 # configure is writing to config.log, and then calls config.status.
6632 # config.status does its own redirection, appending to config.log.
6633 # Unfortunately, on DOS this fails, as config.log is still kept open
6634 # by configure, so config.status won't be able to write to it; its
6635 # output is simply discarded. So we exec the FD to /dev/null,
6636 # effectively closing config.log, so it can be properly (re)opened and
6637 # appended to by config.status. When coming back to configure, we
6638 # need to make the FD available again.
6639 if test "$no_create" != yes; then
6641 ac_config_status_args=
6642 test "$silent" = yes &&
6643 ac_config_status_args="$ac_config_status_args --quiet"
6645 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6647 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6648 # would make configure fail if this is the last instruction.
6649 $ac_cs_success || as_fn_exit 1
6651 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6653 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}