2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for elfutils 0.165.
5 # Report bugs to <https://bugzilla.redhat.com/>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
14 # Copyright (C) 1996-2016 Red Hat, Inc.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 # Use a proper internal environment variable to ensure we don't fall
140 # into an infinite loop, continuously re-executing ourselves.
141 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142 _as_can_reexec=no; export _as_can_reexec;
143 # We cannot yet assume a decent shell, so we have to provide a
144 # neutralization value for shells without unset; and this also
145 # works around shells that cannot unset nonexistent variables.
146 # Preserve -v and -x to the replacement shell.
149 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
151 *v*x* | *x*v* ) as_opts=-vx ;;
156 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157 # Admittedly, this is quite paranoid, since all the known shells bail
158 # out after a failed `exec'.
159 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162 # We don't want this to propagate to other subprocesses.
163 { _as_can_reexec=; unset _as_can_reexec;}
164 if test "x$CONFIG_SHELL" = x; then
165 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169 # is contrary to our usage. Disable this feature.
170 alias -g '\${1+\"\$@\"}'='\"\$@\"'
173 case \`(set -o) 2>/dev/null\` in #(
181 as_required="as_fn_return () { (exit \$1); }
182 as_fn_success () { as_fn_return 0; }
183 as_fn_failure () { as_fn_return 1; }
184 as_fn_ret_success () { return 0; }
185 as_fn_ret_failure () { return 1; }
188 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195 exitcode=1; echo positional parameters were not saved.
197 test x\$exitcode = x0 || exit 1
199 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203 test \$(( 1 + 1 )) = 2 || exit 1"
204 if (eval "$as_required") 2>/dev/null; then :
209 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
214 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
217 test -z "$as_dir" && as_dir=.
221 for as_base in sh bash ksh sh5; do
222 # Try only shells that exist, to save several forks.
223 as_shell=$as_dir/$as_base
224 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
225 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 CONFIG_SHELL=$as_shell as_have_required=yes
227 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
235 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
236 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
237 CONFIG_SHELL=$SHELL as_have_required=yes
242 if test "x$CONFIG_SHELL" != x; then :
244 # We cannot yet assume a decent shell, so we have to provide a
245 # neutralization value for shells without unset; and this also
246 # works around shells that cannot unset nonexistent variables.
247 # Preserve -v and -x to the replacement shell.
250 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
252 *v*x* | *x*v* ) as_opts=-vx ;;
257 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
258 # Admittedly, this is quite paranoid, since all the known shells bail
259 # out after a failed `exec'.
260 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
264 if test x$as_have_required = xno; then :
265 $as_echo "$0: This script requires a shell more modern than all"
266 $as_echo "$0: the shells that I found on your system."
267 if test x${ZSH_VERSION+set} = xset ; then
268 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
269 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
271 $as_echo "$0: Please tell bug-autoconf@gnu.org and
272 $0: https://bugzilla.redhat.com/ about your system,
273 $0: including any error possibly output before this
274 $0: message. Then install a modern shell, or manually run
275 $0: the script under such a shell if you do have one."
281 SHELL=${CONFIG_SHELL-/bin/sh}
283 # Unset more variables known to interfere with behavior of common tools.
284 CLICOLOR_FORCE= GREP_OPTIONS=
285 unset CLICOLOR_FORCE GREP_OPTIONS
287 ## --------------------- ##
288 ## M4sh Shell Functions. ##
289 ## --------------------- ##
292 # Portably unset VAR.
295 { eval $1=; unset $1;}
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
319 # Create "$as_dir" as a directory, including parents if necessary.
324 -*) as_dir=./$as_dir;;
326 test -d "$as_dir" || eval $as_mkdir_p || {
330 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
333 as_dirs="'$as_qdir' $as_dirs"
334 as_dir=`$as_dirname -- "$as_dir" ||
335 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
336 X"$as_dir" : 'X\(//\)[^/]' \| \
337 X"$as_dir" : 'X\(//\)$' \| \
338 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
339 $as_echo X"$as_dir" |
340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
357 test -d "$as_dir" && break
359 test -z "$as_dirs" || eval "mkdir $as_dirs"
360 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365 # as_fn_executable_p FILE
366 # -----------------------
367 # Test if FILE is an executable regular file.
368 as_fn_executable_p ()
370 test -f "$1" && test -x "$1"
371 } # as_fn_executable_p
372 # as_fn_append VAR VALUE
373 # ----------------------
374 # Append the text in VALUE to the end of the definition contained in VAR. Take
375 # advantage of any shell optimizations that allow amortized linear growth over
376 # repeated appends, instead of the typical quadratic growth present in naive
378 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
379 eval 'as_fn_append ()
392 # Perform arithmetic evaluation on the ARGs, and store the result in the
393 # global $as_val. Take advantage of shells that can avoid forks. The arguments
394 # must be portable across $(()) and expr.
395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
403 as_val=`expr "$@" || test $? -eq 1`
408 # as_fn_error STATUS ERROR [LINENO LOG_FD]
409 # ----------------------------------------
410 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
411 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
412 # script with STATUS, using 1 if that was 0.
415 as_status=$1; test $as_status -eq 0 && as_status=1
417 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
418 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
420 $as_echo "$as_me: error: $2" >&2
421 as_fn_exit $as_status
424 if expr a : '\(a\)' >/dev/null 2>&1 &&
425 test "X`expr 00001 : '.*\(...\)'`" = X001; then
431 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
437 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
443 as_me=`$as_basename -- "$0" ||
444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
445 X"$0" : 'X\(//\)$' \| \
446 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
448 sed '/^.*\/\([^/][^/]*\)\/*$/{
462 # Avoid depending upon Character Ranges.
463 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
464 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
465 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
466 as_cr_digits='0123456789'
467 as_cr_alnum=$as_cr_Letters$as_cr_digits
470 as_lineno_1=$LINENO as_lineno_1a=$LINENO
471 as_lineno_2=$LINENO as_lineno_2a=$LINENO
472 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
473 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
474 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
486 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 chmod +x "$as_me.lineno" ||
491 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
493 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
494 # already done that, so ensure we don't try to do so again and fall
495 # in an infinite loop. This has already happened in practice.
496 _as_can_reexec=no; export _as_can_reexec
497 # Don't try to exec as it changes $[0], causing all sort of problems
498 # (the dirname of $[0] is not the place where we might find the
499 # original and so on. Autoconf is especially sensitive to this).
501 # Exit status is that of the last command.
505 ECHO_C= ECHO_N= ECHO_T=
506 case `echo -n x` in #(((((
508 case `echo 'xy\c'` in
509 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
511 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
518 rm -f conf$$ conf$$.exe conf$$.file
519 if test -d conf$$.dir; then
520 rm -f conf$$.dir/conf$$.file
523 mkdir conf$$.dir 2>/dev/null
525 if (echo >conf$$.file) 2>/dev/null; then
526 if ln -s conf$$.file conf$$ 2>/dev/null; then
528 # ... but there are two gotchas:
529 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
530 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
531 # In both cases, we have to default to `cp -pR'.
532 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
534 elif ln conf$$.file conf$$ 2>/dev/null; then
542 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
543 rmdir conf$$.dir 2>/dev/null
545 if mkdir -p . 2>/dev/null; then
546 as_mkdir_p='mkdir -p "$as_dir"'
548 test -d ./-p && rmdir ./-p
553 as_executable_p=as_fn_executable_p
555 # Sed expression to map a string onto a valid CPP name.
556 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
558 # Sed expression to map a string onto a valid variable name.
559 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
562 test -n "$DJDIR" || exec 7<&0 </dev/null
566 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
567 # so uname gets run too.
568 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
573 ac_default_prefix=/usr/local
575 ac_config_libobj_dir=.
582 # Identity of this package.
583 PACKAGE_NAME='elfutils'
584 PACKAGE_TARNAME='elfutils'
585 PACKAGE_VERSION='0.165'
586 PACKAGE_STRING='elfutils 0.165'
587 PACKAGE_BUGREPORT='https://bugzilla.redhat.com/'
590 ac_unique_file="libelf/libelf.h"
591 # Factoring default headers for most tests.
592 ac_includes_default="\
594 #ifdef HAVE_SYS_TYPES_H
595 # include <sys/types.h>
597 #ifdef HAVE_SYS_STAT_H
598 # include <sys/stat.h>
604 # ifdef HAVE_STDLIB_H
609 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614 #ifdef HAVE_STRINGS_H
615 # include <strings.h>
617 #ifdef HAVE_INTTYPES_H
618 # include <inttypes.h>
627 ac_subst_vars='am__EXEEXT_FALSE
642 XGETTEXT_EXTRA_OPTIONS
650 GETTEXT_MACRO_VERSION
657 ADD_STACK_USAGE_WARNING_FALSE
658 ADD_STACK_USAGE_WARNING_TRUE
659 SYMBOL_VERSIONING_FALSE
660 SYMBOL_VERSIONING_TRUE
730 MAINTAINER_MODE_FALSE
744 INSTALL_STRIP_PROGRAM
786 program_transform_name
799 enable_option_checking
801 enable_maintainer_mode
802 enable_deterministic_archives
804 enable_dependency_tracking
810 enable_sanitize_undefined
818 enable_symbol_versioning
822 ac_precious_vars='build_alias
835 # Initialize some variables set by options.
837 ac_init_version=false
838 ac_unrecognized_opts=
840 # The variables have the same names as the options, with
841 # dashes changed to underlines.
849 program_transform_name=s,x,x,
857 # Installation directory options.
858 # These are left unexpanded so users can "make install exec_prefix=/foo"
859 # and all the variables that are supposed to be based on exec_prefix
860 # by default will actually change.
861 # Use braces instead of parens because sh, perl, etc. also accept them.
862 # (The list follows the same order as the GNU Coding Standards.)
863 bindir='${exec_prefix}/bin'
864 sbindir='${exec_prefix}/sbin'
865 libexecdir='${exec_prefix}/libexec'
866 datarootdir='${prefix}/share'
867 datadir='${datarootdir}'
868 sysconfdir='${prefix}/etc'
869 sharedstatedir='${prefix}/com'
870 localstatedir='${prefix}/var'
871 includedir='${prefix}/include'
872 oldincludedir='/usr/include'
873 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874 infodir='${datarootdir}/info'
879 libdir='${exec_prefix}/lib'
880 localedir='${datarootdir}/locale'
881 mandir='${datarootdir}/man'
887 # If the previous option needs an argument, assign it.
888 if test -n "$ac_prev"; then
889 eval $ac_prev=\$ac_option
895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900 # Accept the important Cygnus configure options, so we can diagnose typos.
902 case $ac_dashdash$ac_option in
906 -bindir | --bindir | --bindi | --bind | --bin | --bi)
908 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
911 -build | --build | --buil | --bui | --bu)
912 ac_prev=build_alias ;;
913 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
914 build_alias=$ac_optarg ;;
916 -cache-file | --cache-file | --cache-fil | --cache-fi \
917 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
918 ac_prev=cache_file ;;
919 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
920 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
921 cache_file=$ac_optarg ;;
924 cache_file=config.cache ;;
926 -datadir | --datadir | --datadi | --datad)
928 -datadir=* | --datadir=* | --datadi=* | --datad=*)
929 datadir=$ac_optarg ;;
931 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
932 | --dataroo | --dataro | --datar)
933 ac_prev=datarootdir ;;
934 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
935 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
936 datarootdir=$ac_optarg ;;
938 -disable-* | --disable-*)
939 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942 as_fn_error $? "invalid feature name: $ac_useropt"
943 ac_useropt_orig=$ac_useropt
944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945 case $ac_user_opts in
949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
950 ac_unrecognized_sep=', ';;
952 eval enable_$ac_useropt=no ;;
954 -docdir | --docdir | --docdi | --doc | --do)
956 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
959 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
961 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
964 -enable-* | --enable-*)
965 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968 as_fn_error $? "invalid feature name: $ac_useropt"
969 ac_useropt_orig=$ac_useropt
970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971 case $ac_user_opts in
975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
976 ac_unrecognized_sep=', ';;
978 eval enable_$ac_useropt=\$ac_optarg ;;
980 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
981 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982 | --exec | --exe | --ex)
983 ac_prev=exec_prefix ;;
984 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
985 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
986 | --exec=* | --exe=* | --ex=*)
987 exec_prefix=$ac_optarg ;;
989 -gas | --gas | --ga | --g)
990 # Obsolete; use --with-gas.
993 -help | --help | --hel | --he | -h)
995 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
996 ac_init_help=recursive ;;
997 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
998 ac_init_help=short ;;
1000 -host | --host | --hos | --ho)
1001 ac_prev=host_alias ;;
1002 -host=* | --host=* | --hos=* | --ho=*)
1003 host_alias=$ac_optarg ;;
1005 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1007 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1009 htmldir=$ac_optarg ;;
1011 -includedir | --includedir | --includedi | --included | --include \
1012 | --includ | --inclu | --incl | --inc)
1013 ac_prev=includedir ;;
1014 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1015 | --includ=* | --inclu=* | --incl=* | --inc=*)
1016 includedir=$ac_optarg ;;
1018 -infodir | --infodir | --infodi | --infod | --info | --inf)
1020 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1021 infodir=$ac_optarg ;;
1023 -libdir | --libdir | --libdi | --libd)
1025 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026 libdir=$ac_optarg ;;
1028 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1029 | --libexe | --libex | --libe)
1030 ac_prev=libexecdir ;;
1031 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1032 | --libexe=* | --libex=* | --libe=*)
1033 libexecdir=$ac_optarg ;;
1035 -localedir | --localedir | --localedi | --localed | --locale)
1036 ac_prev=localedir ;;
1037 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1038 localedir=$ac_optarg ;;
1040 -localstatedir | --localstatedir | --localstatedi | --localstated \
1041 | --localstate | --localstat | --localsta | --localst | --locals)
1042 ac_prev=localstatedir ;;
1043 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1044 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1045 localstatedir=$ac_optarg ;;
1047 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1049 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1050 mandir=$ac_optarg ;;
1052 -nfp | --nfp | --nf)
1053 # Obsolete; use --without-fp.
1056 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1057 | --no-cr | --no-c | -n)
1060 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1061 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1064 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1065 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1066 | --oldin | --oldi | --old | --ol | --o)
1067 ac_prev=oldincludedir ;;
1068 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1069 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1070 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1071 oldincludedir=$ac_optarg ;;
1073 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1075 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1076 prefix=$ac_optarg ;;
1078 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1079 | --program-pre | --program-pr | --program-p)
1080 ac_prev=program_prefix ;;
1081 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1082 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1083 program_prefix=$ac_optarg ;;
1085 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1086 | --program-suf | --program-su | --program-s)
1087 ac_prev=program_suffix ;;
1088 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1089 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1090 program_suffix=$ac_optarg ;;
1092 -program-transform-name | --program-transform-name \
1093 | --program-transform-nam | --program-transform-na \
1094 | --program-transform-n | --program-transform- \
1095 | --program-transform | --program-transfor \
1096 | --program-transfo | --program-transf \
1097 | --program-trans | --program-tran \
1098 | --progr-tra | --program-tr | --program-t)
1099 ac_prev=program_transform_name ;;
1100 -program-transform-name=* | --program-transform-name=* \
1101 | --program-transform-nam=* | --program-transform-na=* \
1102 | --program-transform-n=* | --program-transform-=* \
1103 | --program-transform=* | --program-transfor=* \
1104 | --program-transfo=* | --program-transf=* \
1105 | --program-trans=* | --program-tran=* \
1106 | --progr-tra=* | --program-tr=* | --program-t=*)
1107 program_transform_name=$ac_optarg ;;
1109 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1111 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1112 pdfdir=$ac_optarg ;;
1114 -psdir | --psdir | --psdi | --psd | --ps)
1116 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1120 | -silent | --silent | --silen | --sile | --sil)
1123 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1125 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1127 sbindir=$ac_optarg ;;
1129 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1130 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1131 | --sharedst | --shareds | --shared | --share | --shar \
1133 ac_prev=sharedstatedir ;;
1134 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1135 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1136 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1138 sharedstatedir=$ac_optarg ;;
1140 -site | --site | --sit)
1142 -site=* | --site=* | --sit=*)
1145 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1147 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1148 srcdir=$ac_optarg ;;
1150 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1151 | --syscon | --sysco | --sysc | --sys | --sy)
1152 ac_prev=sysconfdir ;;
1153 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1154 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1155 sysconfdir=$ac_optarg ;;
1157 -target | --target | --targe | --targ | --tar | --ta | --t)
1158 ac_prev=target_alias ;;
1159 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1160 target_alias=$ac_optarg ;;
1162 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1165 -version | --version | --versio | --versi | --vers | -V)
1166 ac_init_version=: ;;
1169 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172 as_fn_error $? "invalid package name: $ac_useropt"
1173 ac_useropt_orig=$ac_useropt
1174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175 case $ac_user_opts in
1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1180 ac_unrecognized_sep=', ';;
1182 eval with_$ac_useropt=\$ac_optarg ;;
1184 -without-* | --without-*)
1185 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1186 # Reject names that are not valid shell variable names.
1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188 as_fn_error $? "invalid package name: $ac_useropt"
1189 ac_useropt_orig=$ac_useropt
1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1196 ac_unrecognized_sep=', ';;
1198 eval with_$ac_useropt=no ;;
1201 # Obsolete; use --with-x.
1204 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1205 | --x-incl | --x-inc | --x-in | --x-i)
1206 ac_prev=x_includes ;;
1207 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1208 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1209 x_includes=$ac_optarg ;;
1211 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1212 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1213 ac_prev=x_libraries ;;
1214 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1215 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1216 x_libraries=$ac_optarg ;;
1218 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1219 Try \`$0 --help' for more information"
1223 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1224 # Reject names that are not valid shell variable names.
1225 case $ac_envvar in #(
1226 '' | [0-9]* | *[!_$as_cr_alnum]* )
1227 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1229 eval $ac_envvar=\$ac_optarg
1230 export $ac_envvar ;;
1233 # FIXME: should be removed in autoconf 3.0.
1234 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1243 if test -n "$ac_prev"; then
1244 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1245 as_fn_error $? "missing argument to $ac_option"
1248 if test -n "$ac_unrecognized_opts"; then
1249 case $enable_option_checking in
1251 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1252 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1256 # Check all directory arguments for consistency.
1257 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1258 datadir sysconfdir sharedstatedir localstatedir includedir \
1259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1260 libdir localedir mandir
1262 eval ac_val=\$$ac_var
1263 # Remove trailing slashes.
1266 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1267 eval $ac_var=\$ac_val;;
1269 # Be sure to have absolute directory names.
1271 [\\/$]* | ?:[\\/]* ) continue;;
1272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1274 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1277 # There might be people who depend on the old broken behavior: `$host'
1278 # used to hold the argument of --host etc.
1279 # FIXME: To remove some day.
1282 target=$target_alias
1284 # FIXME: To remove some day.
1285 if test "x$host_alias" != x; then
1286 if test "x$build_alias" = x; then
1287 cross_compiling=maybe
1288 elif test "x$build_alias" != "x$host_alias"; then
1294 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1296 test "$silent" = yes && exec 6>/dev/null
1299 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300 ac_ls_di=`ls -di .` &&
1301 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302 as_fn_error $? "working directory cannot be determined"
1303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304 as_fn_error $? "pwd does not report name of working directory"
1307 # Find the source files, if location was not specified.
1308 if test -z "$srcdir"; then
1309 ac_srcdir_defaulted=yes
1310 # Try the directory containing this script, then the parent directory.
1311 ac_confdir=`$as_dirname -- "$as_myself" ||
1312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1313 X"$as_myself" : 'X\(//\)[^/]' \| \
1314 X"$as_myself" : 'X\(//\)$' \| \
1315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1316 $as_echo X"$as_myself" |
1317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1339 ac_srcdir_defaulted=no
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1342 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1345 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1349 # When building in place, set srcdir=.
1350 if test "$ac_abs_confdir" = "$ac_pwd"; then
1353 # Remove unnecessary trailing slashes from srcdir.
1354 # Double slashes in file names in object file debugging info
1355 # mess up M-x gdb in Emacs.
1357 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1359 for ac_var in $ac_precious_vars; do
1360 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1361 eval ac_env_${ac_var}_value=\$${ac_var}
1362 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1367 # Report the --help message.
1369 if test "$ac_init_help" = "long"; then
1370 # Omit some internal or obsolete options to make the list less imposing.
1371 # This message is too long to be a string in the A/UX 3.1 sh.
1373 \`configure' configures elfutils 0.165 to adapt to many kinds of systems.
1375 Usage: $0 [OPTION]... [VAR=VALUE]...
1377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378 VAR=VALUE. See below for descriptions of some of the useful variables.
1380 Defaults for the options are specified in brackets.
1383 -h, --help display this help and exit
1384 --help=short display options specific to this package
1385 --help=recursive display the short help of all the included packages
1386 -V, --version display version information and exit
1387 -q, --quiet, --silent do not print \`checking ...' messages
1388 --cache-file=FILE cache test results in FILE [disabled]
1389 -C, --config-cache alias for \`--cache-file=config.cache'
1390 -n, --no-create do not create output files
1391 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1393 Installation directories:
1394 --prefix=PREFIX install architecture-independent files in PREFIX
1395 [$ac_default_prefix]
1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1399 By default, \`make install' will install all the files in
1400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402 for instance \`--prefix=\$HOME'.
1404 For better control, use the options below.
1406 Fine tuning of the installation directories:
1407 --bindir=DIR user executables [EPREFIX/bin]
1408 --sbindir=DIR system admin executables [EPREFIX/sbin]
1409 --libexecdir=DIR program executables [EPREFIX/libexec]
1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1413 --libdir=DIR object code libraries [EPREFIX/lib]
1414 --includedir=DIR C header files [PREFIX/include]
1415 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1418 --infodir=DIR info documentation [DATAROOTDIR/info]
1419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1420 --mandir=DIR man documentation [DATAROOTDIR/man]
1421 --docdir=DIR documentation root [DATAROOTDIR/doc/elfutils]
1422 --htmldir=DIR html documentation [DOCDIR]
1423 --dvidir=DIR dvi documentation [DOCDIR]
1424 --pdfdir=DIR pdf documentation [DOCDIR]
1425 --psdir=DIR ps documentation [DOCDIR]
1431 --program-prefix=PREFIX prepend PREFIX to installed program names
1432 --program-suffix=SUFFIX append SUFFIX to installed program names
1433 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1436 --build=BUILD configure for building on BUILD [guessed]
1437 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1441 if test -n "$ac_init_help"; then
1442 case $ac_init_help in
1443 short | recursive ) echo "Configuration of elfutils 0.165:";;
1448 --disable-option-checking ignore unrecognized --enable/--with options
1449 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1450 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1451 --enable-silent-rules less verbose build output (undo: "make V=1")
1452 --disable-silent-rules verbose build output (undo: "make V=0")
1453 --enable-maintainer-mode
1454 enable make rules and dependencies not useful (and
1455 sometimes confusing) to the casual installer
1456 --enable-deterministic-archives
1457 ar and ranlib default to -D behavior
1458 --enable-thread-safety enable thread safety of libraries EXPERIMENTAL
1459 --enable-dependency-tracking
1460 do not reject slow dependency extractors
1461 --disable-dependency-tracking
1462 speeds up one-time build
1463 --disable-largefile omit support for large files
1464 --disable-generic do not build generic linker
1465 --enable-debugpred build binaries with support to debug branch
1467 --enable-gprof build binaries with gprof support
1468 --enable-gcov build binaries with gcov support
1469 --enable-sanitize-undefined
1470 Use gcc undefined behaviour sanitizer
1471 --enable-valgrind run all tests under valgrind
1472 --enable-tests-rpath build $ORIGIN-using rpath into tests
1473 --enable-libebl-subdir=DIR
1474 install libebl_CPU modules in $(libdir)/DIR
1475 --disable-textrelcheck Disable textrelcheck being a fatal error
1476 --disable-symbol-versioning
1477 Disable symbol versioning in shared objects
1478 --disable-nls do not use Native Language Support
1481 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1482 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1483 --with-zlib support [zlib] compression in libdwfl
1484 --with-bzlib support [bzlib] compression in libdwfl
1485 --with-lzma support [lzma] compression in libdwfl
1486 --with-biarch enable biarch tests despite build problems
1488 Some influential environment variables:
1489 CC C compiler command
1490 CFLAGS C compiler flags
1491 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1492 nonstandard directory <lib dir>
1493 LIBS libraries to pass to the linker, e.g. -l<library>
1494 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1495 you have headers in a nonstandard directory <include dir>
1496 YACC The `Yet Another Compiler Compiler' implementation to use.
1497 Defaults to the first program found out of: `bison -y', `byacc',
1499 YFLAGS The list of arguments that will be passed by default to $YACC.
1500 This script will default YFLAGS to the empty string to avoid a
1501 default value of `-d' given by some make applications.
1504 Use these variables to override the choices made by `configure' or to help
1505 it to find libraries and programs with nonstandard names/locations.
1507 Report bugs to <https://bugzilla.redhat.com/>.
1512 if test "$ac_init_help" = "recursive"; then
1513 # If there are subdirs, report their specific --help.
1514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515 test -d "$ac_dir" ||
1516 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1524 # A ".." for each directory in $ac_dir_suffix.
1525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1526 case $ac_top_builddir_sub in
1527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1531 ac_abs_top_builddir=$ac_pwd
1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533 # for backward compatibility:
1534 ac_top_builddir=$ac_top_build_prefix
1537 .) # We are building in place.
1539 ac_top_srcdir=$ac_top_builddir_sub
1540 ac_abs_top_srcdir=$ac_pwd ;;
1541 [\\/]* | ?:[\\/]* ) # Absolute name.
1542 ac_srcdir=$srcdir$ac_dir_suffix;
1543 ac_top_srcdir=$srcdir
1544 ac_abs_top_srcdir=$srcdir ;;
1546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547 ac_top_srcdir=$ac_top_build_prefix$srcdir
1548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1552 cd "$ac_dir" || { ac_status=$?; continue; }
1553 # Check for guested configure.
1554 if test -f "$ac_srcdir/configure.gnu"; then
1556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557 elif test -f "$ac_srcdir/configure"; then
1559 $SHELL "$ac_srcdir/configure" --help=recursive
1561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1563 cd "$ac_pwd" || { ac_status=$?; break; }
1567 test -n "$ac_init_help" && exit $ac_status
1568 if $ac_init_version; then
1570 elfutils configure 0.165
1571 generated by GNU Autoconf 2.69
1573 Copyright (C) 2012 Free Software Foundation, Inc.
1574 This configure script is free software; the Free Software Foundation
1575 gives unlimited permission to copy, distribute and modify it.
1577 Copyright (C) 1996-2016 Red Hat, Inc.
1582 ## ------------------------ ##
1583 ## Autoconf initialization. ##
1584 ## ------------------------ ##
1586 # ac_fn_c_try_compile LINENO
1587 # --------------------------
1588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1589 ac_fn_c_try_compile ()
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 rm -f conftest.$ac_objext
1593 if { { ac_try="$ac_compile"
1595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1596 *) ac_try_echo=$ac_try;;
1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1599 $as_echo "$ac_try_echo"; } >&5
1600 (eval "$ac_compile") 2>conftest.err
1602 if test -s conftest.err; then
1603 grep -v '^ *+' conftest.err >conftest.er1
1604 cat conftest.er1 >&5
1605 mv -f conftest.er1 conftest.err
1607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1608 test $ac_status = 0; } && {
1609 test -z "$ac_c_werror_flag" ||
1610 test ! -s conftest.err
1611 } && test -s conftest.$ac_objext; then :
1614 $as_echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.$ac_ext >&5
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status $ac_retval
1622 } # ac_fn_c_try_compile
1624 # ac_fn_c_try_link LINENO
1625 # -----------------------
1626 # Try to link conftest.$ac_ext, and return whether this succeeded.
1629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630 rm -f conftest.$ac_objext conftest$ac_exeext
1631 if { { ac_try="$ac_link"
1633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_link") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } && {
1647 test -z "$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1649 } && test -s conftest$ac_exeext && {
1650 test "$cross_compiling" = yes ||
1651 test -x conftest$ac_exeext
1655 $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1662 # interfere with the next link command; also delete a directory that is
1663 # left behind by Apple's compiler. We do this before executing the actions.
1664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1668 } # ac_fn_c_try_link
1670 # ac_fn_c_try_run LINENO
1671 # ----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1673 # that executables *can* be run.
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 if { { ac_try="$ac_link"
1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_link") 2>&5
1686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1688 { { case "(($ac_try" in
1689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_try") 2>&5
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; }; }; then :
1700 $as_echo "$as_me: program exited with status $ac_status" >&5
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1704 ac_retval=$ac_status
1706 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708 as_fn_set_status $ac_retval
1712 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1713 # --------------------------------------------
1714 # Tries to find the compile-time value of EXPR in a program that includes
1715 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1717 ac_fn_c_compute_int ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 if test "$cross_compiling" = yes; then
1721 # Depending upon the size, compute the lo and hi bounds.
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1728 static int test_array [1 - 2 * !(($2) >= 0)];
1730 return test_array [0];
1736 if ac_fn_c_try_compile "$LINENO"; then :
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1745 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1747 return test_array [0];
1753 if ac_fn_c_try_compile "$LINENO"; then :
1754 ac_hi=$ac_mid; break
1756 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1757 if test $ac_lo -le $ac_mid; then
1761 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1772 static int test_array [1 - 2 * !(($2) < 0)];
1774 return test_array [0];
1780 if ac_fn_c_try_compile "$LINENO"; then :
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1789 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1791 return test_array [0];
1797 if ac_fn_c_try_compile "$LINENO"; then :
1798 ac_lo=$ac_mid; break
1800 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1801 if test $ac_mid -le $ac_hi; then
1805 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1815 # Binary search between lo and hi bounds.
1816 while test "x$ac_lo" != "x$ac_hi"; do
1817 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1819 /* end confdefs.h. */
1824 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1826 return test_array [0];
1832 if ac_fn_c_try_compile "$LINENO"; then :
1835 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1840 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1845 /* end confdefs.h. */
1847 static long int longval () { return $2; }
1848 static unsigned long int ulongval () { return $2; }
1855 FILE *f = fopen ("conftest.val", "w");
1860 long int i = longval ();
1863 fprintf (f, "%ld", i);
1867 unsigned long int i = ulongval ();
1870 fprintf (f, "%lu", i);
1872 /* Do not output a trailing newline, as this causes \r\n confusion
1873 on some platforms. */
1874 return ferror (f) || fclose (f) != 0;
1880 if ac_fn_c_try_run "$LINENO"; then :
1881 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1885 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1886 conftest.$ac_objext conftest.beam conftest.$ac_ext
1890 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891 as_fn_set_status $ac_retval
1893 } # ac_fn_c_compute_int
1895 # ac_fn_c_try_cpp LINENO
1896 # ----------------------
1897 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1900 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901 if { { ac_try="$ac_cpp conftest.$ac_ext"
1903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904 *) ac_try_echo=$ac_try;;
1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907 $as_echo "$ac_try_echo"; } >&5
1908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1910 if test -s conftest.err; then
1911 grep -v '^ *+' conftest.err >conftest.er1
1912 cat conftest.er1 >&5
1913 mv -f conftest.er1 conftest.err
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } > conftest.i && {
1917 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1918 test ! -s conftest.err
1922 $as_echo "$as_me: failed program was:" >&5
1923 sed 's/^/| /' conftest.$ac_ext >&5
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928 as_fn_set_status $ac_retval
1932 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1933 # -------------------------------------------------------
1934 # Tests whether HEADER exists and can be compiled using the include files in
1935 # INCLUDES, setting the cache variable VAR accordingly.
1936 ac_fn_c_check_header_compile ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \${$3+:} false; then :
1942 $as_echo_n "(cached) " >&6
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1949 if ac_fn_c_try_compile "$LINENO"; then :
1954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1959 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961 } # ac_fn_c_check_header_compile
1963 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1964 # -------------------------------------------
1965 # Tests whether TYPE exists after having included INCLUDES, setting cache
1966 # variable VAR accordingly.
1967 ac_fn_c_check_type ()
1969 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if eval \${$3+:} false; then :
1973 $as_echo_n "(cached) " >&6
1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1977 /* end confdefs.h. */
1988 if ac_fn_c_try_compile "$LINENO"; then :
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
2001 if ac_fn_c_try_compile "$LINENO"; then :
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015 } # ac_fn_c_check_type
2016 cat >config.log <<_ACEOF
2017 This file contains any messages produced by compilers while
2018 running configure, to aid debugging if configure makes a mistake.
2020 It was created by elfutils $as_me 0.165, which was
2021 generated by GNU Autoconf 2.69. Invocation command line was
2033 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2034 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2035 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2036 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2037 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2039 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2040 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2042 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2043 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2044 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2045 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2046 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2047 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2048 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 $as_echo "PATH: $as_dir"
2073 # Keep a trace of the command line.
2074 # Strip out --no-create and --no-recursion so they do not pile up.
2075 # Strip out --silent because we don't want to record it for future runs.
2076 # Also quote any args containing shell meta-characters.
2077 # Make two passes to allow for proper duplicate-argument suppression.
2081 ac_must_keep_next=false
2087 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089 | -silent | --silent | --silen | --sile | --sil)
2092 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2095 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2097 as_fn_append ac_configure_args1 " '$ac_arg'"
2098 if test $ac_must_keep_next = true; then
2099 ac_must_keep_next=false # Got value, back to normal.
2102 *=* | --config-cache | -C | -disable-* | --disable-* \
2103 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105 | -with-* | --with-* | -without-* | --without-* | --x)
2106 case "$ac_configure_args0 " in
2107 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2110 -* ) ac_must_keep_next=true ;;
2113 as_fn_append ac_configure_args " '$ac_arg'"
2118 { ac_configure_args0=; unset ac_configure_args0;}
2119 { ac_configure_args1=; unset ac_configure_args1;}
2121 # When interrupted or exit'd, cleanup temporary files, and complete
2122 # config.log. We remove comments because anyway the quotes in there
2123 # would cause problems or look ugly.
2124 # WARNING: Use '\'' to represent an apostrophe within the trap.
2125 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126 trap 'exit_status=$?
2127 # Save into config.log some information that might help in debugging.
2131 $as_echo "## ---------------- ##
2132 ## Cache variables. ##
2133 ## ---------------- ##"
2135 # The following way of writing the cache mishandles newlines in values,
2137 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2138 eval ac_val=\$$ac_var
2142 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2143 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2146 _ | IFS | as_nl) ;; #(
2147 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2148 *) { eval $ac_var=; unset $ac_var;} ;;
2153 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2154 *${as_nl}ac_space=\ *)
2156 "s/'\''/'\''\\\\'\'''\''/g;
2157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2160 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2167 $as_echo "## ----------------- ##
2168 ## Output variables. ##
2169 ## ----------------- ##"
2171 for ac_var in $ac_subst_vars
2173 eval ac_val=\$$ac_var
2175 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2177 $as_echo "$ac_var='\''$ac_val'\''"
2181 if test -n "$ac_subst_files"; then
2182 $as_echo "## ------------------- ##
2183 ## File substitutions. ##
2184 ## ------------------- ##"
2186 for ac_var in $ac_subst_files
2188 eval ac_val=\$$ac_var
2190 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192 $as_echo "$ac_var='\''$ac_val'\''"
2197 if test -s confdefs.h; then
2198 $as_echo "## ----------- ##
2205 test "$ac_signal" != 0 &&
2206 $as_echo "$as_me: caught signal $ac_signal"
2207 $as_echo "$as_me: exit $exit_status"
2209 rm -f core *.core core.conftest.* &&
2210 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2213 for ac_signal in 1 2 13 15; do
2214 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2219 rm -f -r conftest* confdefs.h
2221 $as_echo "/* confdefs.h */" > confdefs.h
2223 # Predefined preprocessor variables.
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_NAME "$PACKAGE_NAME"
2229 cat >>confdefs.h <<_ACEOF
2230 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_STRING "$PACKAGE_STRING"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_URL "$PACKAGE_URL"
2250 # Let the site file select an alternate cache file if it wants to.
2251 # Prefer an explicitly selected file to automatically selected ones.
2254 if test -n "$CONFIG_SITE"; then
2255 # We do not want a PATH search for config.site.
2256 case $CONFIG_SITE in #((
2257 -*) ac_site_file1=./$CONFIG_SITE;;
2258 */*) ac_site_file1=$CONFIG_SITE;;
2259 *) ac_site_file1=./$CONFIG_SITE;;
2261 elif test "x$prefix" != xNONE; then
2262 ac_site_file1=$prefix/share/config.site
2263 ac_site_file2=$prefix/etc/config.site
2265 ac_site_file1=$ac_default_prefix/share/config.site
2266 ac_site_file2=$ac_default_prefix/etc/config.site
2268 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2270 test "x$ac_site_file" = xNONE && continue
2271 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2273 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2274 sed 's/^/| /' "$ac_site_file" >&5
2276 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278 as_fn_error $? "failed to load site script $ac_site_file
2279 See \`config.log' for more details" "$LINENO" 5; }
2283 if test -r "$cache_file"; then
2284 # Some versions of bash will fail to source /dev/null (special files
2285 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2286 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2288 $as_echo "$as_me: loading cache $cache_file" >&6;}
2290 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2291 *) . "./$cache_file";;
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2296 $as_echo "$as_me: creating cache $cache_file" >&6;}
2300 # Check that the precious variables saved in the cache have kept the same
2302 ac_cache_corrupted=false
2303 for ac_var in $ac_precious_vars; do
2304 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2305 eval ac_new_set=\$ac_env_${ac_var}_set
2306 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2307 eval ac_new_val=\$ac_env_${ac_var}_value
2308 case $ac_old_set,$ac_new_set in
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2311 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2312 ac_cache_corrupted=: ;;
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2315 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2316 ac_cache_corrupted=: ;;
2319 if test "x$ac_old_val" != "x$ac_new_val"; then
2320 # differences in whitespace do not lead to failure.
2321 ac_old_val_w=`echo x $ac_old_val`
2322 ac_new_val_w=`echo x $ac_new_val`
2323 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2325 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326 ac_cache_corrupted=:
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2329 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2330 eval $ac_var=\$ac_old_val
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2333 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2335 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2338 # Pass precious variables to config.status.
2339 if test "$ac_new_set" = set; then
2341 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2342 *) ac_arg=$ac_var=$ac_new_val ;;
2344 case " $ac_configure_args " in
2345 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2346 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2350 if $ac_cache_corrupted; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2354 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2357 ## -------------------- ##
2358 ## Main body of script. ##
2359 ## -------------------- ##
2362 ac_cpp='$CPP $CPPFLAGS'
2363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2370 for ac_dir in config "$srcdir"/config; do
2371 if test -f "$ac_dir/install-sh"; then
2373 ac_install_sh="$ac_aux_dir/install-sh -c"
2375 elif test -f "$ac_dir/install.sh"; then
2377 ac_install_sh="$ac_aux_dir/install.sh -c"
2379 elif test -f "$ac_dir/shtool"; then
2381 ac_install_sh="$ac_aux_dir/shtool install -c"
2385 if test -z "$ac_aux_dir"; then
2386 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2398 ac_config_files="$ac_config_files config/Makefile"
2403 am__api_version='1.15'
2405 # Find a good install program. We prefer a C program (faster),
2406 # so one script is as good as another. But avoid the broken or
2407 # incompatible versions:
2408 # SysV /etc/install, /usr/sbin/install
2409 # SunOS /usr/etc/install
2410 # IRIX /sbin/install
2412 # AmigaOS /C/install, which installs bootblocks on floppy discs
2413 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2414 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2415 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2416 # OS/2's system install, which has a completely different semantic
2417 # ./install, which can be erroneously created by make from ./install.sh.
2418 # Reject install programs that cannot install multiple files.
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2420 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2421 if test -z "$INSTALL"; then
2422 if ${ac_cv_path_install+:} false; then :
2423 $as_echo_n "(cached) " >&6
2425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 test -z "$as_dir" && as_dir=.
2430 # Account for people who put trailing slashes in PATH elements.
2431 case $as_dir/ in #((
2432 ./ | .// | /[cC]/* | \
2433 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2434 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2437 # OSF1 and SCO ODT 3.0 have their own names for install.
2438 # Don't use installbsd from OSF since it installs stuff as root
2440 for ac_prog in ginstall scoinst install; do
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2443 if test $ac_prog = install &&
2444 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2445 # AIX install. It has an incompatible calling convention.
2447 elif test $ac_prog = install &&
2448 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2449 # program-specific install script used by HP pwplus--don't use.
2452 rm -rf conftest.one conftest.two conftest.dir
2453 echo one > conftest.one
2454 echo two > conftest.two
2456 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2457 test -s conftest.one && test -s conftest.two &&
2458 test -s conftest.dir/conftest.one &&
2459 test -s conftest.dir/conftest.two
2461 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2474 rm -rf conftest.one conftest.two conftest.dir
2477 if test "${ac_cv_path_install+set}" = set; then
2478 INSTALL=$ac_cv_path_install
2480 # As a last resort, use the slow shell script. Don't cache a
2481 # value for INSTALL within a source directory, because that will
2482 # break other packages using the cache if that directory is
2483 # removed, or if the value is a relative name.
2484 INSTALL=$ac_install_sh
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2488 $as_echo "$INSTALL" >&6; }
2490 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2491 # It thinks the first close brace ends the variable substitution.
2492 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2494 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2496 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2499 $as_echo_n "checking whether build environment is sane... " >&6; }
2500 # Reject unsafe characters in $srcdir or the absolute working directory
2501 # name. Accept space and tab only in the latter.
2505 *[\\\"\#\$\&\'\`$am_lf]*)
2506 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2509 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2510 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2513 # Do 'set' in a subshell so we don't clobber the current shell's
2514 # arguments. Must try -L first in case configure is actually a
2515 # symlink; some systems play weird games with the mod time of symlinks
2516 # (eg FreeBSD returns the mod time of the symlink's containing
2520 for am_try in 1 2; do
2521 echo "timestamp, slept: $am_has_slept" > conftest.file
2522 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2523 if test "$*" = "X"; then
2525 set X `ls -t "$srcdir/configure" conftest.file`
2527 if test "$*" != "X $srcdir/configure conftest.file" \
2528 && test "$*" != "X conftest.file $srcdir/configure"; then
2530 # If neither matched, then we have a broken ls. This can happen
2531 # if, for instance, CONFIG_SHELL is bash and it inherits a
2532 # broken ls alias from the environment. This has actually
2533 # happened. Such a system could not be considered "sane".
2534 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2535 alias in your environment" "$LINENO" 5
2537 if test "$2" = conftest.file || test $am_try -eq 2; then
2544 test "$2" = conftest.file
2550 as_fn_error $? "newly created file is older than distributed files!
2551 Check your system clock" "$LINENO" 5
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2554 $as_echo "yes" >&6; }
2555 # If we didn't sleep, we still need to ensure time stamps of config.status and
2556 # generated files are strictly newer.
2558 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2565 test "$program_prefix" != NONE &&
2566 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2567 # Use a double $ so make ignores it.
2568 test "$program_suffix" != NONE &&
2569 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2570 # Double any \ or $.
2571 # By default was `s,x,x', remove it if useless.
2572 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2573 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2575 # Expand $ac_aux_dir to an absolute path.
2576 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2578 if test x"${MISSING+set}" != xset; then
2581 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2583 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2586 # Use eval to expand $SHELL
2587 if eval "$MISSING --is-lightweight"; then
2588 am_missing_run="$MISSING "
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2592 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2595 if test x"${install_sh+set}" != xset; then
2598 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2600 install_sh="\${SHELL} $am_aux_dir/install-sh"
2604 # Installed binaries are usually stripped using 'strip' when the user
2605 # run "make install-strip". However 'strip' might not be the right
2606 # tool to use in cross-compilation environments, therefore Automake
2607 # will honor the 'STRIP' environment variable to overrule this program.
2608 if test "$cross_compiling" != no; then
2609 if test -n "$ac_tool_prefix"; then
2610 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2611 set dummy ${ac_tool_prefix}strip; ac_word=$2
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2613 $as_echo_n "checking for $ac_word... " >&6; }
2614 if ${ac_cv_prog_STRIP+:} false; then :
2615 $as_echo_n "(cached) " >&6
2617 if test -n "$STRIP"; then
2618 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir=.
2625 for ac_exec_ext in '' $ac_executable_extensions; do
2626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2627 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 STRIP=$ac_cv_prog_STRIP
2638 if test -n "$STRIP"; then
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2640 $as_echo "$STRIP" >&6; }
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2643 $as_echo "no" >&6; }
2648 if test -z "$ac_cv_prog_STRIP"; then
2650 # Extract the first word of "strip", so it can be a program name with args.
2651 set dummy strip; ac_word=$2
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2653 $as_echo_n "checking for $ac_word... " >&6; }
2654 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2655 $as_echo_n "(cached) " >&6
2657 if test -n "$ac_ct_STRIP"; then
2658 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664 test -z "$as_dir" && as_dir=.
2665 for ac_exec_ext in '' $ac_executable_extensions; do
2666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2667 ac_cv_prog_ac_ct_STRIP="strip"
2668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2678 if test -n "$ac_ct_STRIP"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2680 $as_echo "$ac_ct_STRIP" >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2683 $as_echo "no" >&6; }
2686 if test "x$ac_ct_STRIP" = x; then
2689 case $cross_compiling:$ac_tool_warned in
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2693 ac_tool_warned=yes ;;
2698 STRIP="$ac_cv_prog_STRIP"
2702 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2705 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2706 if test -z "$MKDIR_P"; then
2707 if ${ac_cv_path_mkdir+:} false; then :
2708 $as_echo_n "(cached) " >&6
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2711 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2714 test -z "$as_dir" && as_dir=.
2715 for ac_prog in mkdir gmkdir; do
2716 for ac_exec_ext in '' $ac_executable_extensions; do
2717 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2718 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2719 'mkdir (GNU coreutils) '* | \
2720 'mkdir (coreutils) '* | \
2721 'mkdir (fileutils) '4.1*)
2722 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2732 test -d ./--version && rmdir ./--version
2733 if test "${ac_cv_path_mkdir+set}" = set; then
2734 MKDIR_P="$ac_cv_path_mkdir -p"
2736 # As a last resort, use the slow shell script. Don't cache a
2737 # value for MKDIR_P within a source directory, because that will
2738 # break other packages using the cache if that directory is
2739 # removed, or if the value is a relative name.
2740 MKDIR_P="$ac_install_sh -d"
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2744 $as_echo "$MKDIR_P" >&6; }
2746 for ac_prog in gawk mawk nawk awk
2748 # Extract the first word of "$ac_prog", so it can be a program name with args.
2749 set dummy $ac_prog; ac_word=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if ${ac_cv_prog_AWK+:} false; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$AWK"; then
2756 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir=.
2763 for ac_exec_ext in '' $ac_executable_extensions; do
2764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2765 ac_cv_prog_AWK="$ac_prog"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test -n "$AWK"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2778 $as_echo "$AWK" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2785 test -n "$AWK" && break
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2789 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2791 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2792 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2793 $as_echo_n "(cached) " >&6
2795 cat >conftest.make <<\_ACEOF
2798 @echo '@@@%%%=$(MAKE)=@@@%%%'
2800 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2801 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2803 eval ac_cv_prog_make_${ac_make}_set=yes;;
2805 eval ac_cv_prog_make_${ac_make}_set=no;;
2809 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2811 $as_echo "yes" >&6; }
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815 $as_echo "no" >&6; }
2816 SET_MAKE="MAKE=${MAKE-make}"
2819 rm -rf .tst 2>/dev/null
2820 mkdir .tst 2>/dev/null
2821 if test -d .tst; then
2826 rmdir .tst 2>/dev/null
2828 # Check whether --enable-silent-rules was given.
2829 if test "${enable_silent_rules+set}" = set; then :
2830 enableval=$enable_silent_rules;
2833 case $enable_silent_rules in # (((
2834 yes) AM_DEFAULT_VERBOSITY=0;;
2835 no) AM_DEFAULT_VERBOSITY=1;;
2836 *) AM_DEFAULT_VERBOSITY=1;;
2838 am_make=${MAKE-make}
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2840 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2841 if ${am_cv_make_support_nested_variables+:} false; then :
2842 $as_echo_n "(cached) " >&6
2844 if $as_echo 'TRUE=$(BAR$(V))
2850 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2851 am_cv_make_support_nested_variables=yes
2853 am_cv_make_support_nested_variables=no
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2857 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2858 if test $am_cv_make_support_nested_variables = yes; then
2860 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2862 AM_V=$AM_DEFAULT_VERBOSITY
2863 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2867 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2868 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2869 # is not polluted with repeated "-I."
2870 am__isrc=' -I$(srcdir)'
2871 # test to see if srcdir already configured
2872 if test -f $srcdir/config.status; then
2873 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2877 # test whether we have cygpath
2878 if test -z "$CYGPATH_W"; then
2879 if (cygpath --version) >/dev/null 2>/dev/null; then
2880 CYGPATH_W='cygpath -w'
2887 # Define the identity of the package.
2892 cat >>confdefs.h <<_ACEOF
2893 #define PACKAGE "$PACKAGE"
2897 cat >>confdefs.h <<_ACEOF
2898 #define VERSION "$VERSION"
2901 # Some tools Automake needs.
2903 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2906 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2909 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2912 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2915 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2917 # For better backward compatibility. To be removed once Automake 1.9.x
2918 # dies out for good. For more background, see:
2919 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2920 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2921 mkdir_p='$(MKDIR_P)'
2923 # We need awk for the "check" target (and possibly the TAP driver). The
2924 # system "awk" is bad on some platforms.
2925 # Always define AMTAR for backward compatibility. Yes, it's still used
2926 # in the wild :-( We should find a proper way to deprecate it ...
2930 # We'll loop over all known methods to create a tar archive until one works.
2931 _am_tools='gnutar pax cpio none'
2933 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2940 # POSIX will say in a future version that running "rm -f" with no argument
2941 # is OK; and we want to be able to make that assumption in our Makefile
2942 # recipes. So use an aggressive probe to check that the usage we want is
2943 # actually supported "in the wild" to an acceptable degree.
2944 # See automake bug#10828.
2945 # To make any issue more visible, cause the running configure to be aborted
2946 # by default if the 'rm' program in use doesn't match our expectations; the
2947 # user can still override this though.
2948 if rm -f && rm -fr && rm -rf; then : OK; else
2952 Your 'rm' program seems unable to run without file operands specified
2953 on the command line, even when the '-f' option is present. This is contrary
2954 to the behaviour of most rm programs out there, and not conforming with
2955 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2957 Please tell bug-automake@gnu.org about your system, including the value
2958 of your $PATH and any error possibly output before this message. This
2959 can help us improve future automake versions.
2962 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2963 echo 'Configuration will proceed anyway, since you have set the' >&2
2964 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2968 Aborting the configuration process, to ensure you take notice of the issue.
2970 You can download and install GNU coreutils to get an 'rm' implementation
2971 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2973 If you want to complete the configuration process using your problematic
2974 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2975 to "yes", and re-run configure.
2978 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2984 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2985 # Check whether --enable-maintainer-mode was given.
2986 if test "${enable_maintainer_mode+set}" = set; then :
2987 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2989 USE_MAINTAINER_MODE=no
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2993 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2994 if test $USE_MAINTAINER_MODE = yes; then
2995 MAINTAINER_MODE_TRUE=
2996 MAINTAINER_MODE_FALSE='#'
2998 MAINTAINER_MODE_TRUE='#'
2999 MAINTAINER_MODE_FALSE=
3002 MAINT=$MAINTAINER_MODE_TRUE
3006 # Check whether --enable-silent-rules was given.
3007 if test "${enable_silent_rules+set}" = set; then :
3008 enableval=$enable_silent_rules;
3011 case $enable_silent_rules in # (((
3012 yes) AM_DEFAULT_VERBOSITY=0;;
3013 no) AM_DEFAULT_VERBOSITY=1;;
3014 *) AM_DEFAULT_VERBOSITY=0;;
3016 am_make=${MAKE-make}
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3018 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3019 if ${am_cv_make_support_nested_variables+:} false; then :
3020 $as_echo_n "(cached) " >&6
3022 if $as_echo 'TRUE=$(BAR$(V))
3028 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3029 am_cv_make_support_nested_variables=yes
3031 am_cv_make_support_nested_variables=no
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3035 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3036 if test $am_cv_make_support_nested_variables = yes; then
3038 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3040 AM_V=$AM_DEFAULT_VERBOSITY
3041 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3047 ac_config_files="$ac_config_files Makefile"
3049 ac_config_headers="$ac_config_headers config.h"
3053 ac_config_files="$ac_config_files m4/Makefile"
3056 ac_config_files="$ac_config_files elfutils.spec:config/elfutils.spec.in"
3060 # Make sure we can run config.sub.
3061 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3062 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3065 $as_echo_n "checking build system type... " >&6; }
3066 if ${ac_cv_build+:} false; then :
3067 $as_echo_n "(cached) " >&6
3069 ac_build_alias=$build_alias
3070 test "x$ac_build_alias" = x &&
3071 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3072 test "x$ac_build_alias" = x &&
3073 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3074 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3075 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3079 $as_echo "$ac_cv_build" >&6; }
3080 case $ac_cv_build in
3082 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3085 ac_save_IFS=$IFS; IFS='-'
3091 # Remember, the first character of IFS is used to create $*,
3092 # except with old shells:
3095 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3099 $as_echo_n "checking host system type... " >&6; }
3100 if ${ac_cv_host+:} false; then :
3101 $as_echo_n "(cached) " >&6
3103 if test "x$host_alias" = x; then
3104 ac_cv_host=$ac_cv_build
3106 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3107 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3112 $as_echo "$ac_cv_host" >&6; }
3115 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3118 ac_save_IFS=$IFS; IFS='-'
3124 # Remember, the first character of IFS is used to create $*,
3125 # except with old shells:
3128 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3132 # Check whether --enable-deterministic-archives was given.
3133 if test "${enable_deterministic_archives+set}" = set; then :
3134 enableval=$enable_deterministic_archives;
3135 if test "${enableval}" = no; then
3136 default_ar_deterministic=false
3138 default_ar_deterministic=true
3141 default_ar_deterministic=false
3145 cat >>confdefs.h <<_ACEOF
3146 #define DEFAULT_AR_DETERMINISTIC $default_ar_deterministic
3150 # Check whether --enable-thread-safety was given.
3151 if test "${enable_thread_safety+set}" = set; then :
3152 enableval=$enable_thread_safety; use_locks=$enableval
3157 if test "$use_locks" = yes; then
3165 if test "$use_locks" = yes; then :
3166 $as_echo "#define USE_LOCKS 1" >>confdefs.h
3169 if test "$use_locks" = yes; then :
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thread-safety is EXPERIMENTAL tests might fail." >&5
3171 $as_echo "$as_me: WARNING: thread-safety is EXPERIMENTAL tests might fail." >&2;}
3177 ac_cpp='$CPP $CPPFLAGS'
3178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3181 if test -n "$ac_tool_prefix"; then
3182 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3183 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_CC+:} false; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$CC"; then
3190 ac_cv_prog_CC="$CC" # Let the user override the test.
3192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir=.
3197 for ac_exec_ext in '' $ac_executable_extensions; do
3198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3199 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210 if test -n "$CC"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3212 $as_echo "$CC" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3220 if test -z "$ac_cv_prog_CC"; then
3222 # Extract the first word of "gcc", so it can be a program name with args.
3223 set dummy gcc; ac_word=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$ac_ct_CC"; then
3230 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir=.
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_ac_ct_CC="gcc"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3250 if test -n "$ac_ct_CC"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3252 $as_echo "$ac_ct_CC" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3258 if test "x$ac_ct_CC" = x; then
3261 case $cross_compiling:$ac_tool_warned in
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3273 if test -z "$CC"; then
3274 if test -n "$ac_tool_prefix"; then
3275 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3276 set dummy ${ac_tool_prefix}cc; ac_word=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if ${ac_cv_prog_CC+:} false; then :
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$CC"; then
3283 ac_cv_prog_CC="$CC" # Let the user override the test.
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3292 ac_cv_prog_CC="${ac_tool_prefix}cc"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$CC"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3305 $as_echo "$CC" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3314 if test -z "$CC"; then
3315 # Extract the first word of "cc", so it can be a program name with args.
3316 set dummy cc; ac_word=$2
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3318 $as_echo_n "checking for $ac_word... " >&6; }
3319 if ${ac_cv_prog_CC+:} false; then :
3320 $as_echo_n "(cached) " >&6
3322 if test -n "$CC"; then
3323 ac_cv_prog_CC="$CC" # Let the user override the test.
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330 test -z "$as_dir" && as_dir=.
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3334 ac_prog_rejected=yes
3338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 if test $ac_prog_rejected = yes; then
3346 # We found a bogon in the path, so make sure we never use it.
3347 set dummy $ac_cv_prog_CC
3349 if test $# != 0; then
3350 # We chose a different compiler from the bogus one.
3351 # However, it has the same basename, so the bogon will be chosen
3352 # first if we set CC to just the basename; use the full file name.
3354 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3360 if test -n "$CC"; then
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362 $as_echo "$CC" >&6; }
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3370 if test -z "$CC"; then
3371 if test -n "$ac_tool_prefix"; then
3372 for ac_prog in cl.exe
3374 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3375 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if ${ac_cv_prog_CC+:} false; then :
3379 $as_echo_n "(cached) " >&6
3381 if test -n "$CC"; then
3382 ac_cv_prog_CC="$CC" # Let the user override the test.
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3388 test -z "$as_dir" && as_dir=.
3389 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3391 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 if test -n "$CC"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3404 $as_echo "$CC" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3411 test -n "$CC" && break
3414 if test -z "$CC"; then
3416 for ac_prog in cl.exe
3418 # Extract the first word of "$ac_prog", so it can be a program name with args.
3419 set dummy $ac_prog; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$ac_ct_CC"; then
3426 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3435 ac_cv_prog_ac_ct_CC="$ac_prog"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3446 if test -n "$ac_ct_CC"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3448 $as_echo "$ac_ct_CC" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3455 test -n "$ac_ct_CC" && break
3458 if test "x$ac_ct_CC" = x; then
3461 case $cross_compiling:$ac_tool_warned in
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3465 ac_tool_warned=yes ;;
3474 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3476 as_fn_error $? "no acceptable C compiler found in \$PATH
3477 See \`config.log' for more details" "$LINENO" 5; }
3479 # Provide some information about the compiler.
3480 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3483 for ac_option in --version -v -V -qversion; do
3484 { { ac_try="$ac_compiler $ac_option >&5"
3486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3490 $as_echo "$ac_try_echo"; } >&5
3491 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3493 if test -s conftest.err; then
3495 ... rest of stderr output deleted ...
3496 10q' conftest.err >conftest.er1
3497 cat conftest.er1 >&5
3499 rm -f conftest.er1 conftest.err
3500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501 test $ac_status = 0; }
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 ac_clean_files_save=$ac_clean_files
3516 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3517 # Try to create an executable without -o first, disregard a.out.
3518 # It will help us diagnose broken compilers, and finding out an intuition
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3521 $as_echo_n "checking whether the C compiler works... " >&6; }
3522 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3524 # The possible output files:
3525 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3528 for ac_file in $ac_files
3531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3532 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3537 if { { ac_try="$ac_link_default"
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3543 $as_echo "$ac_try_echo"; } >&5
3544 (eval "$ac_link_default") 2>&5
3546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3547 test $ac_status = 0; }; then :
3548 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3549 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3550 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3551 # so that the user can short-circuit this test for compilers unknown to
3553 for ac_file in $ac_files ''
3555 test -f "$ac_file" || continue
3557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3560 # We found the default executable, but exeext='' is most
3564 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3566 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3568 # We set ac_cv_exeext here because the later test for it is not
3569 # safe: cross compilers may not add the suffix if given an `-o'
3570 # argument, so we may need to know it at that point already.
3571 # Even if this section looks crufty: it has the advantage of
3578 test "$ac_cv_exeext" = no && ac_cv_exeext=
3583 if test -z "$ac_file"; then :
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error 77 "C compiler cannot create executables
3592 See \`config.log' for more details" "$LINENO" 5; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3595 $as_echo "yes" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3598 $as_echo_n "checking for C compiler default output file name... " >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3600 $as_echo "$ac_file" >&6; }
3601 ac_exeext=$ac_cv_exeext
3603 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3604 ac_clean_files=$ac_clean_files_save
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3606 $as_echo_n "checking for suffix of executables... " >&6; }
3607 if { { ac_try="$ac_link"
3609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610 *) ac_try_echo=$ac_try;;
3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3613 $as_echo "$ac_try_echo"; } >&5
3614 (eval "$ac_link") 2>&5
3616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3617 test $ac_status = 0; }; then :
3618 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3619 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3620 # work properly (i.e., refer to `conftest.exe'), while it won't with
3622 for ac_file in conftest.exe conftest conftest.*; do
3623 test -f "$ac_file" || continue
3625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3626 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3632 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3633 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3634 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3635 See \`config.log' for more details" "$LINENO" 5; }
3637 rm -f conftest conftest$ac_cv_exeext
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3639 $as_echo "$ac_cv_exeext" >&6; }
3641 rm -f conftest.$ac_ext
3642 EXEEXT=$ac_cv_exeext
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3650 FILE *f = fopen ("conftest.out", "w");
3651 return ferror (f) || fclose (f) != 0;
3657 ac_clean_files="$ac_clean_files conftest.out"
3658 # Check that the compiler produces executables we can run. If not, either
3659 # the compiler is broken, or we cross compile.
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3661 $as_echo_n "checking whether we are cross compiling... " >&6; }
3662 if test "$cross_compiling" != yes; then
3663 { { ac_try="$ac_link"
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3669 $as_echo "$ac_try_echo"; } >&5
3670 (eval "$ac_link") 2>&5
3672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }
3674 if { ac_try='./conftest$ac_cv_exeext'
3675 { { case "(($ac_try" in
3676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677 *) ac_try_echo=$ac_try;;
3679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680 $as_echo "$ac_try_echo"; } >&5
3681 (eval "$ac_try") 2>&5
3683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3684 test $ac_status = 0; }; }; then
3687 if test "$cross_compiling" = maybe; then
3690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3692 as_fn_error $? "cannot run C compiled programs.
3693 If you meant to cross compile, use \`--host'.
3694 See \`config.log' for more details" "$LINENO" 5; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3699 $as_echo "$cross_compiling" >&6; }
3701 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3702 ac_clean_files=$ac_clean_files_save
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3704 $as_echo_n "checking for suffix of object files... " >&6; }
3705 if ${ac_cv_objext+:} false; then :
3706 $as_echo_n "(cached) " >&6
3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3709 /* end confdefs.h. */
3719 rm -f conftest.o conftest.obj
3720 if { { ac_try="$ac_compile"
3722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 *) ac_try_echo=$ac_try;;
3725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726 $as_echo "$ac_try_echo"; } >&5
3727 (eval "$ac_compile") 2>&5
3729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730 test $ac_status = 0; }; then :
3731 for ac_file in conftest.o conftest.obj conftest.*; do
3732 test -f "$ac_file" || continue;
3734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3740 $as_echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3745 as_fn_error $? "cannot compute suffix of object files: cannot compile
3746 See \`config.log' for more details" "$LINENO" 5; }
3748 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3751 $as_echo "$ac_cv_objext" >&6; }
3752 OBJEXT=$ac_cv_objext
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3755 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3756 if ${ac_cv_c_compiler_gnu+:} false; then :
3757 $as_echo_n "(cached) " >&6
3759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760 /* end confdefs.h. */
3773 if ac_fn_c_try_compile "$LINENO"; then :
3778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3779 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3783 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3784 if test $ac_compiler_gnu = yes; then
3789 ac_test_CFLAGS=${CFLAGS+set}
3790 ac_save_CFLAGS=$CFLAGS
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3792 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3793 if ${ac_cv_prog_cc_g+:} false; then :
3794 $as_echo_n "(cached) " >&6
3796 ac_save_c_werror_flag=$ac_c_werror_flag
3797 ac_c_werror_flag=yes
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3811 if ac_fn_c_try_compile "$LINENO"; then :
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3826 if ac_fn_c_try_compile "$LINENO"; then :
3829 ac_c_werror_flag=$ac_save_c_werror_flag
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3842 if ac_fn_c_try_compile "$LINENO"; then :
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3850 ac_c_werror_flag=$ac_save_c_werror_flag
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3853 $as_echo "$ac_cv_prog_cc_g" >&6; }
3854 if test "$ac_test_CFLAGS" = set; then
3855 CFLAGS=$ac_save_CFLAGS
3856 elif test $ac_cv_prog_cc_g = yes; then
3857 if test "$GCC" = yes; then
3863 if test "$GCC" = yes; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3870 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3871 if ${ac_cv_prog_cc_c89+:} false; then :
3872 $as_echo_n "(cached) " >&6
3874 ac_cv_prog_cc_c89=no
3876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3881 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3882 struct buf { int x; };
3883 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3884 static char *e (p, i)
3890 static char *f (char * (*g) (char **, int), char **p, ...)
3895 s = g (p, va_arg (v,int));
3900 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3901 function prototypes and stuff, but not '\xHH' hex character constants.
3902 These don't provoke an error unfortunately, instead are silently treated
3903 as 'x'. The following induces an error, until -std is added to get
3904 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3905 array size at least. It's necessary to write '\x00'==0 to get something
3906 that's true only with -std. */
3907 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3909 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3910 inside strings and character constants. */
3912 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3914 int test (int i, double x);
3915 struct s1 {int (*f) (int a);};
3916 struct s2 {int (*f) (double a);};
3917 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3923 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3928 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3929 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3931 CC="$ac_save_CC $ac_arg"
3932 if ac_fn_c_try_compile "$LINENO"; then :
3933 ac_cv_prog_cc_c89=$ac_arg
3935 rm -f core conftest.err conftest.$ac_objext
3936 test "x$ac_cv_prog_cc_c89" != "xno" && break
3938 rm -f conftest.$ac_ext
3943 case "x$ac_cv_prog_cc_c89" in
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3946 $as_echo "none needed" >&6; } ;;
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3949 $as_echo "unsupported" >&6; } ;;
3951 CC="$CC $ac_cv_prog_cc_c89"
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3953 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3955 if test "x$ac_cv_prog_cc_c89" != xno; then :
3960 ac_cpp='$CPP $CPPFLAGS'
3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3966 ac_cpp='$CPP $CPPFLAGS'
3967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3971 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3972 if ${am_cv_prog_cc_c_o+:} false; then :
3973 $as_echo_n "(cached) " >&6
3975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3976 /* end confdefs.h. */
3986 # Make sure it works both with $CC and with simple cc.
3987 # Following AC_PROG_CC_C_O, we do the test twice because some
3988 # compilers refuse to overwrite an existing .o file with -o,
3989 # though they will create one.
3990 am_cv_prog_cc_c_o=yes
3992 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3993 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); } \
3997 && test -f conftest2.$ac_objext; then
4000 am_cv_prog_cc_c_o=no
4004 rm -f core conftest*
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4008 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4009 if test "$am_cv_prog_cc_c_o" != yes; then
4010 # Losing compiler, so override with the script.
4011 # FIXME: It is wrong to rewrite CC.
4012 # But if we don't then we get into trouble of one sort or another.
4013 # A longer-term fix would be to have automake use am__CC in this case,
4014 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4015 CC="$am_aux_dir/compile $CC"
4018 ac_cpp='$CPP $CPPFLAGS'
4019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4023 DEPDIR="${am__leading_dot}deps"
4025 ac_config_commands="$ac_config_commands depfiles"
4028 am_make=${MAKE-make}
4029 cat > confinc << 'END'
4031 @echo this is the am__doit target
4034 # If we don't find an include directive, just comment out the code.
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4036 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4040 # First try GNU make style include.
4041 echo "include confinc" > confmf
4042 # Ignore all kinds of additional output from 'make'.
4043 case `$am_make -s -f confmf 2> /dev/null` in #(
4044 *the\ am__doit\ target*)
4050 # Now try BSD make style include.
4051 if test "$am__include" = "#"; then
4052 echo '.include "confinc"' > confmf
4053 case `$am_make -s -f confmf 2> /dev/null` in #(
4054 *the\ am__doit\ target*)
4055 am__include=.include
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4064 $as_echo "$_am_result" >&6; }
4065 rm -f confinc confmf
4067 # Check whether --enable-dependency-tracking was given.
4068 if test "${enable_dependency_tracking+set}" = set; then :
4069 enableval=$enable_dependency_tracking;
4072 if test "x$enable_dependency_tracking" != xno; then
4073 am_depcomp="$ac_aux_dir/depcomp"
4077 if test "x$enable_dependency_tracking" != xno; then
4087 depcc="$CC" am_compiler_list=
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4090 $as_echo_n "checking dependency style of $depcc... " >&6; }
4091 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4092 $as_echo_n "(cached) " >&6
4094 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4095 # We make a subdir and do the tests there. Otherwise we can end up
4096 # making bogus files that we don't know about and never remove. For
4097 # instance it was reported that on HP-UX the gcc test will end up
4098 # making a dummy file named 'D' -- because '-MD' means "put the output
4102 # Copy depcomp to subdir because otherwise we won't find it if we're
4103 # using a relative directory.
4104 cp "$am_depcomp" conftest.dir
4106 # We will build objects and dependencies in a subdirectory because
4107 # it helps to detect inapplicable dependency modes. For instance
4108 # both Tru64's cc and ICC support -MD to output dependencies as a
4109 # side effect of compilation, but ICC will put the dependencies in
4110 # the current directory while Tru64 will put them in the object
4114 am_cv_CC_dependencies_compiler_type=none
4115 if test "$am_compiler_list" = ""; then
4116 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4119 case " $depcc " in #(
4120 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4123 for depmode in $am_compiler_list; do
4124 # Setup a source with many dependencies, because some compilers
4125 # like to wrap large dependency lists on column 80 (with \), and
4126 # we should not choose a depcomp mode which is confused by this.
4128 # We need to recreate these files for each test, as the compiler may
4129 # overwrite some of them when testing with obscure command lines.
4130 # This happens at least with the AIX C compiler.
4132 for i in 1 2 3 4 5 6; do
4133 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4134 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4135 # Solaris 10 /bin/sh.
4136 echo '/* dummy */' > sub/conftst$i.h
4138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4140 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4141 # mode. It turns out that the SunPro C++ compiler does not properly
4142 # handle '-M -o', and we need to detect this. Also, some Intel
4143 # versions had trouble with output in subdirs.
4144 am__obj=sub/conftest.${OBJEXT-o}
4145 am__minus_obj="-o $am__obj"
4148 # This depmode causes a compiler race in universal mode.
4149 test "$am__universal" = false || continue
4152 # After this tag, mechanisms are not by side-effect, so they'll
4153 # only be used when explicitly requested.
4154 if test "x$enable_dependency_tracking" = xyes; then
4160 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4161 # This compiler won't grok '-c -o', but also, the minuso test has
4162 # not run yet. These depmodes are late enough in the game, and
4163 # so weak that their functioning should not be impacted.
4164 am__obj=conftest.${OBJEXT-o}
4169 if depmode=$depmode \
4170 source=sub/conftest.c object=$am__obj \
4171 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4172 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4173 >/dev/null 2>conftest.err &&
4174 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4175 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4176 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4177 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4178 # icc doesn't choke on unknown options, it will just issue warnings
4179 # or remarks (even with -Werror). So we grep stderr for any message
4180 # that says an option was ignored or not supported.
4181 # When given -MP, icc 7.0 and 7.1 complain thusly:
4182 # icc: Command line warning: ignoring option '-M'; no argument required
4183 # The diagnosis changed in icc 8.0:
4184 # icc: Command line remark: option '-MP' not supported
4185 if (grep 'ignoring option' conftest.err ||
4186 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4187 am_cv_CC_dependencies_compiler_type=$depmode
4196 am_cv_CC_dependencies_compiler_type=none
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4201 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4202 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4205 test "x$enable_dependency_tracking" != xno \
4206 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4208 am__fastdepCC_FALSE='#'
4210 am__fastdepCC_TRUE='#'
4211 am__fastdepCC_FALSE=
4215 if test -n "$ac_tool_prefix"; then
4216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if ${ac_cv_prog_RANLIB+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -n "$RANLIB"; then
4224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir=.
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 RANLIB=$ac_cv_prog_RANLIB
4244 if test -n "$RANLIB"; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4246 $as_echo "$RANLIB" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4254 if test -z "$ac_cv_prog_RANLIB"; then
4255 ac_ct_RANLIB=$RANLIB
4256 # Extract the first word of "ranlib", so it can be a program name with args.
4257 set dummy ranlib; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$ac_ct_RANLIB"; then
4264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir=.
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4273 ac_cv_prog_ac_ct_RANLIB="ranlib"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4284 if test -n "$ac_ct_RANLIB"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4286 $as_echo "$ac_ct_RANLIB" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4292 if test "x$ac_ct_RANLIB" = x; then
4295 case $cross_compiling:$ac_tool_warned in
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4299 ac_tool_warned=yes ;;
4301 RANLIB=$ac_ct_RANLIB
4304 RANLIB="$ac_cv_prog_RANLIB"
4307 for ac_prog in 'bison -y' byacc
4309 # Extract the first word of "$ac_prog", so it can be a program name with args.
4310 set dummy $ac_prog; ac_word=$2
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4312 $as_echo_n "checking for $ac_word... " >&6; }
4313 if ${ac_cv_prog_YACC+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 if test -n "$YACC"; then
4317 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 for ac_exec_ext in '' $ac_executable_extensions; do
4325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4326 ac_cv_prog_YACC="$ac_prog"
4327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 YACC=$ac_cv_prog_YACC
4337 if test -n "$YACC"; then
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4339 $as_echo "$YACC" >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4346 test -n "$YACC" && break
4348 test -n "$YACC" || YACC="yacc"
4351 for ac_prog in flex lex
4353 # Extract the first word of "$ac_prog", so it can be a program name with args.
4354 set dummy $ac_prog; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_LEX+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$LEX"; then
4361 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir=.
4368 for ac_exec_ext in '' $ac_executable_extensions; do
4369 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4370 ac_cv_prog_LEX="$ac_prog"
4371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 if test -n "$LEX"; then
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4383 $as_echo "$LEX" >&6; }
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4386 $as_echo "no" >&6; }
4390 test -n "$LEX" && break
4392 test -n "$LEX" || LEX=":"
4394 if test "x$LEX" != "x:"; then
4395 cat >conftest.l <<_ACEOF
4401 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4402 yyless ((input () != 0)); }
4403 f { unput (yytext[0]); }
4404 . { BEGIN INITIAL; }
4406 #ifdef YYTEXT_POINTER
4407 extern char *yytext;
4412 return ! yylex () + ! yywrap ();
4415 { { ac_try="$LEX conftest.l"
4417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418 *) ac_try_echo=$ac_try;;
4420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4421 $as_echo "$ac_try_echo"; } >&5
4422 (eval "$LEX conftest.l") 2>&5
4424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4425 test $ac_status = 0; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4427 $as_echo_n "checking lex output file root... " >&6; }
4428 if ${ac_cv_prog_lex_root+:} false; then :
4429 $as_echo_n "(cached) " >&6
4432 if test -f lex.yy.c; then
4433 ac_cv_prog_lex_root=lex.yy
4434 elif test -f lexyy.c; then
4435 ac_cv_prog_lex_root=lexyy
4437 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4441 $as_echo "$ac_cv_prog_lex_root" >&6; }
4442 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4444 if test -z "${LEXLIB+set}"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4446 $as_echo_n "checking lex library... " >&6; }
4447 if ${ac_cv_lib_lex+:} false; then :
4448 $as_echo_n "(cached) " >&6
4452 ac_cv_lib_lex='none needed'
4453 for ac_lib in '' -lfl -ll; do
4454 LIBS="$ac_lib $ac_save_LIBS"
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4457 `cat $LEX_OUTPUT_ROOT.c`
4459 if ac_fn_c_try_link "$LINENO"; then :
4460 ac_cv_lib_lex=$ac_lib
4462 rm -f core conftest.err conftest.$ac_objext \
4463 conftest$ac_exeext conftest.$ac_ext
4464 test "$ac_cv_lib_lex" != 'none needed' && break
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4470 $as_echo "$ac_cv_lib_lex" >&6; }
4471 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4476 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4477 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4478 $as_echo_n "(cached) " >&6
4480 # POSIX says lex can declare yytext either as a pointer or an array; the
4481 # default is implementation-dependent. Figure out which it is, since
4482 # not all implementations provide the %pointer and %array declarations.
4483 ac_cv_prog_lex_yytext_pointer=no
4485 LIBS="$LEXLIB $ac_save_LIBS"
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4489 #define YYTEXT_POINTER 1
4490 `cat $LEX_OUTPUT_ROOT.c`
4492 if ac_fn_c_try_link "$LINENO"; then :
4493 ac_cv_prog_lex_yytext_pointer=yes
4495 rm -f core conftest.err conftest.$ac_objext \
4496 conftest$ac_exeext conftest.$ac_ext
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4501 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4502 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4504 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4507 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4510 if test "$LEX" = :; then
4511 LEX=${am_missing_run}flex
4513 # Only available since automake 1.12
4514 if test -n "$ac_tool_prefix"; then
4515 for ac_prog in ar lib "link -lib"
4517 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4518 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if ${ac_cv_prog_AR+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -n "$AR"; then
4525 ac_cv_prog_AR="$AR" # Let the user override the test.
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir=.
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4534 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4545 if test -n "$AR"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4547 $as_echo "$AR" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 test -n "$AR" && break
4557 if test -z "$AR"; then
4559 for ac_prog in ar lib "link -lib"
4561 # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy $ac_prog; ac_word=$2
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4564 $as_echo_n "checking for $ac_word... " >&6; }
4565 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4566 $as_echo_n "(cached) " >&6
4568 if test -n "$ac_ct_AR"; then
4569 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir=.
4576 for ac_exec_ext in '' $ac_executable_extensions; do
4577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_ac_ct_AR="$ac_prog"
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4589 if test -n "$ac_ct_AR"; then
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4591 $as_echo "$ac_ct_AR" >&6; }
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4594 $as_echo "no" >&6; }
4598 test -n "$ac_ct_AR" && break
4601 if test "x$ac_ct_AR" = x; then
4604 case $cross_compiling:$ac_tool_warned in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4608 ac_tool_warned=yes ;;
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4617 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4618 if ${am_cv_ar_interface+:} false; then :
4619 $as_echo_n "(cached) " >&6
4622 ac_cpp='$CPP $CPPFLAGS'
4623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4627 am_cv_ar_interface=ar
4628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4630 int some_variable = 0;
4632 if ac_fn_c_try_compile "$LINENO"; then :
4633 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4634 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4635 (eval $am_ar_try) 2>&5
4637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4638 test $ac_status = 0; }
4639 if test "$ac_status" -eq 0; then
4640 am_cv_ar_interface=ar
4642 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4643 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4644 (eval $am_ar_try) 2>&5
4646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4647 test $ac_status = 0; }
4648 if test "$ac_status" -eq 0; then
4649 am_cv_ar_interface=lib
4651 am_cv_ar_interface=unknown
4654 rm -f conftest.lib libconftest.a
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 ac_cpp='$CPP $CPPFLAGS'
4660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4666 $as_echo "$am_cv_ar_interface" >&6; }
4668 case $am_cv_ar_interface in
4672 # Microsoft lib, so override with the ar-lib wrapper script.
4673 # FIXME: It is wrong to rewrite AR.
4674 # But if we don't then we get into trouble of one sort or another.
4675 # A longer-term fix would be to have automake use am__AR in this case,
4676 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4678 AR="$am_aux_dir/ar-lib $AR"
4681 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4685 if test -n "$ac_tool_prefix"; then
4686 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
4687 set dummy ${ac_tool_prefix}readelf; ac_word=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_READELF+:} false; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$READELF"; then
4694 ac_cv_prog_READELF="$READELF" # Let the user override the test.
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4703 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 READELF=$ac_cv_prog_READELF
4714 if test -n "$READELF"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
4716 $as_echo "$READELF" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4724 if test -z "$ac_cv_prog_READELF"; then
4725 ac_ct_READELF=$READELF
4726 # Extract the first word of "readelf", so it can be a program name with args.
4727 set dummy readelf; ac_word=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -n "$ac_ct_READELF"; then
4734 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir=.
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4743 ac_cv_prog_ac_ct_READELF="readelf"
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4753 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
4754 if test -n "$ac_ct_READELF"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
4756 $as_echo "$ac_ct_READELF" >&6; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4762 if test "x$ac_ct_READELF" = x; then
4765 case $cross_compiling:$ac_tool_warned in
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4769 ac_tool_warned=yes ;;
4771 READELF=$ac_ct_READELF
4774 READELF="$ac_cv_prog_READELF"
4777 if test -n "$ac_tool_prefix"; then
4778 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4779 set dummy ${ac_tool_prefix}nm; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_NM+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$NM"; then
4786 ac_cv_prog_NM="$NM" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_NM="${ac_tool_prefix}nm"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 if test -n "$NM"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
4808 $as_echo "$NM" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4816 if test -z "$ac_cv_prog_NM"; then
4818 # Extract the first word of "nm", so it can be a program name with args.
4819 set dummy nm; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_ac_ct_NM+:} false; then :
4823 $as_echo_n "(cached) " >&6
4825 if test -n "$ac_ct_NM"; then
4826 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_ac_ct_NM="nm"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 ac_ct_NM=$ac_cv_prog_ac_ct_NM
4846 if test -n "$ac_ct_NM"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
4848 $as_echo "$ac_ct_NM" >&6; }
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4854 if test "x$ac_ct_NM" = x; then
4857 case $cross_compiling:$ac_tool_warned in
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4861 ac_tool_warned=yes ;;
4870 # We use -std=gnu99 but have explicit checks for some language constructs
4871 # and GNU extensions since some compilers claim GNU99 support, but don't
4872 # really support all language extensions. In particular we need
4873 # Mixed Declarations and Code
4874 # https://gcc.gnu.org/onlinedocs/gcc/Mixed-Declarations.html
4876 # https://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html
4877 # Arrays of Variable Length
4878 # https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with GNU99 support" >&5
4880 $as_echo_n "checking for gcc with GNU99 support... " >&6; }
4881 if ${ac_cv_c99+:} false; then :
4882 $as_echo_n "(cached) " >&6
4884 old_CFLAGS="$CFLAGS"
4885 CFLAGS="$CFLAGS -std=gnu99"
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4890 for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; return s;
4893 double bar (double a, double b)
4895 double square (double z) { return z * z; }
4896 return square (a) + square (b);
4901 struct S { int x[n]; };
4904 if ac_fn_c_try_compile "$LINENO"; then :
4909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910 CFLAGS="$old_CFLAGS"
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99" >&5
4913 $as_echo "$ac_cv_c99" >&6; }
4914 if test "x$ac_cv_c99" != xyes; then :
4915 as_fn_error $? "gcc with GNU99 support required" "$LINENO" 5
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
4919 $as_echo_n "checking for __thread support... " >&6; }
4920 if ${ac_cv_tls+:} false; then :
4921 $as_echo_n "(cached) " >&6
4923 # Use the same flags that we use for our DSOs, so the test is representative.
4924 # Some old compiler/linker/libc combinations fail some ways and not others.
4925 save_CFLAGS="$CFLAGS"
4926 save_LDFLAGS="$LDFLAGS"
4927 CFLAGS="-fPIC $CFLAGS"
4928 LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS"
4929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4933 static __thread int a; int foo (int b) { return a + b; }
4942 if ac_fn_c_try_link "$LINENO"; then :
4947 rm -f core conftest.err conftest.$ac_objext \
4948 conftest$ac_exeext conftest.$ac_ext
4949 CFLAGS="$save_CFLAGS"
4950 LDFLAGS="$save_LDFLAGS"
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
4953 $as_echo "$ac_cv_tls" >&6; }
4954 if test "x$ac_cv_tls" != xyes; then :
4955 as_fn_error $? "__thread support required" "$LINENO" 5
4958 # Check whether --enable-largefile was given.
4959 if test "${enable_largefile+set}" = set; then :
4960 enableval=$enable_largefile;
4963 if test "$enable_largefile" != no; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4966 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4967 if ${ac_cv_sys_largefile_CC+:} false; then :
4968 $as_echo_n "(cached) " >&6
4970 ac_cv_sys_largefile_CC=no
4971 if test "$GCC" != yes; then
4974 # IRIX 6.2 and later do not support large files by default,
4975 # so use the C compiler's -n32 option if that helps.
4976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4978 #include <sys/types.h>
4979 /* Check that off_t can represent 2**63 - 1 correctly.
4980 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4981 since some C++ compilers masquerading as C compilers
4982 incorrectly reject 9223372036854775807. */
4983 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4984 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4985 && LARGE_OFF_T % 2147483647 == 1)
4995 if ac_fn_c_try_compile "$LINENO"; then :
4998 rm -f core conftest.err conftest.$ac_objext
5000 if ac_fn_c_try_compile "$LINENO"; then :
5001 ac_cv_sys_largefile_CC=' -n32'; break
5003 rm -f core conftest.err conftest.$ac_objext
5007 rm -f conftest.$ac_ext
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5011 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5012 if test "$ac_cv_sys_largefile_CC" != no; then
5013 CC=$CC$ac_cv_sys_largefile_CC
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5017 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5018 if ${ac_cv_sys_file_offset_bits+:} false; then :
5019 $as_echo_n "(cached) " >&6
5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5024 #include <sys/types.h>
5025 /* Check that off_t can represent 2**63 - 1 correctly.
5026 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5027 since some C++ compilers masquerading as C compilers
5028 incorrectly reject 9223372036854775807. */
5029 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5030 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5031 && LARGE_OFF_T % 2147483647 == 1)
5041 if ac_fn_c_try_compile "$LINENO"; then :
5042 ac_cv_sys_file_offset_bits=no; break
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5046 /* end confdefs.h. */
5047 #define _FILE_OFFSET_BITS 64
5048 #include <sys/types.h>
5049 /* Check that off_t can represent 2**63 - 1 correctly.
5050 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5051 since some C++ compilers masquerading as C compilers
5052 incorrectly reject 9223372036854775807. */
5053 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5054 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5055 && LARGE_OFF_T % 2147483647 == 1)
5065 if ac_fn_c_try_compile "$LINENO"; then :
5066 ac_cv_sys_file_offset_bits=64; break
5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5069 ac_cv_sys_file_offset_bits=unknown
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5074 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5075 case $ac_cv_sys_file_offset_bits in #(
5078 cat >>confdefs.h <<_ACEOF
5079 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5084 if test $ac_cv_sys_file_offset_bits = unknown; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5086 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5087 if ${ac_cv_sys_large_files+:} false; then :
5088 $as_echo_n "(cached) " >&6
5091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5092 /* end confdefs.h. */
5093 #include <sys/types.h>
5094 /* Check that off_t can represent 2**63 - 1 correctly.
5095 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5096 since some C++ compilers masquerading as C compilers
5097 incorrectly reject 9223372036854775807. */
5098 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5099 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5100 && LARGE_OFF_T % 2147483647 == 1)
5110 if ac_fn_c_try_compile "$LINENO"; then :
5111 ac_cv_sys_large_files=no; break
5113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #define _LARGE_FILES 1
5117 #include <sys/types.h>
5118 /* Check that off_t can represent 2**63 - 1 correctly.
5119 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5120 since some C++ compilers masquerading as C compilers
5121 incorrectly reject 9223372036854775807. */
5122 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5123 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5124 && LARGE_OFF_T % 2147483647 == 1)
5134 if ac_fn_c_try_compile "$LINENO"; then :
5135 ac_cv_sys_large_files=1; break
5137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5138 ac_cv_sys_large_files=unknown
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5143 $as_echo "$ac_cv_sys_large_files" >&6; }
5144 case $ac_cv_sys_large_files in #(
5147 cat >>confdefs.h <<_ACEOF
5148 #define _LARGE_FILES $ac_cv_sys_large_files
5160 # Check whether --enable-generic was given.
5161 if test "${enable_generic+set}" = set; then :
5162 enableval=$enable_generic; if test "$enable_generic" = no; then
5165 $as_echo "#define NATIVE_ELF 32" >>confdefs.h
5171 as_fn_error $? "no machine-specific linker for this configuration available" "$LINENO" 5
5178 if test "$native_ld" = yes; then
5186 if test -z "$base_cpu"; then :
5199 # Check whether --enable-debugpred was given.
5200 if test "${enable_debugpred+set}" = set; then :
5201 enableval=$enable_debugpred; use_debugpred=$enableval
5206 case $use_debugpred in
5207 yes) use_debugpred_val=1 ;;
5208 *) use_debugpred_val=0 ;;
5210 DEBUGPRED=$use_debugpred_val
5213 # Check whether --enable-gprof was given.
5214 if test "${enable_gprof+set}" = set; then :
5215 enableval=$enable_gprof; use_gprof=$enableval
5220 if test "$use_gprof" = yes; then
5221 CFLAGS="$CFLAGS -pg"
5222 LDFLAGS="$LDFLAGS -pg"
5224 if test "$use_gprof" = yes; then
5233 # Enable gcov suport.
5234 # Check whether --enable-gcov was given.
5235 if test "${enable_gcov+set}" = set; then :
5236 enableval=$enable_gcov; use_gcov=$enableval
5241 if test "$use_gcov" = yes; then
5242 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
5243 LDFLAGS="$LDFLAGS -fprofile-arcs"
5245 if test "$use_gcov" = yes; then
5254 # Check whether --enable-sanitize-undefined was given.
5255 if test "${enable_sanitize_undefined+set}" = set; then :
5256 enableval=$enable_sanitize_undefined; use_undefined=$enableval
5261 if test "$use_undefined" = yes; then
5262 old_CFLAGS="$CFLAGS"
5263 old_CXXFLAGS="$CXXFLAGS"
5264 # We explicitly use unaligned access when possible (see ALLOW_UNALIGNED)
5265 # We want to fail immediately on first error, don't try to recover.
5266 CFLAGS="$CFLAGS -fsanitize=undefined -fno-sanitize-recover"
5267 CXXFLAGS="$CXXFLAGS -fsanitize=undefined -fno-sanitize-recover"
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5270 int main (int argc, char **argv) { return 0; }
5272 if ac_fn_c_try_link "$LINENO"; then :
5277 rm -f core conftest.err conftest.$ac_objext \
5278 conftest$ac_exeext conftest.$ac_ext
5279 if test "x$use_undefined" != xyes; then :
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc undefined behaviour sanitizer not available" >&5
5281 $as_echo "$as_me: WARNING: gcc undefined behaviour sanitizer not available" >&2;}
5282 CFLAGS="$old_CFLAGS" CXXFLAGS="$old_CXXFLAGS"
5285 case $use_undefined in
5286 yes) check_undefined_val=1 ;;
5287 *) check_undefined_val=0 ;;
5290 cat >>confdefs.h <<_ACEOF
5291 #define CHECK_UNDEFINED $check_undefined_val
5295 # Check whether --enable-valgrind was given.
5296 if test "${enable_valgrind+set}" = set; then :
5297 enableval=$enable_valgrind; use_valgrind=$enableval
5302 if test "$use_valgrind" = yes; then
5303 # Extract the first word of "valgrind", so it can be a program name with args.
5304 set dummy valgrind; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_HAVE_VALGRIND+:} false; then :
5308 $as_echo_n "(cached) " >&6
5310 if test -n "$HAVE_VALGRIND"; then
5311 ac_cv_prog_HAVE_VALGRIND="$HAVE_VALGRIND" # Let the user override the test.
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_HAVE_VALGRIND="yes"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 test -z "$ac_cv_prog_HAVE_VALGRIND" && ac_cv_prog_HAVE_VALGRIND="no"
5331 HAVE_VALGRIND=$ac_cv_prog_HAVE_VALGRIND
5332 if test -n "$HAVE_VALGRIND"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_VALGRIND" >&5
5334 $as_echo "$HAVE_VALGRIND" >&6; }
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 if test "$HAVE_VALGRIND" = "no"; then
5342 as_fn_error $? "valgrind not found" "$LINENO" 5
5345 if test "$use_valgrind" = yes; then
5347 USE_VALGRIND_FALSE='#'
5349 USE_VALGRIND_TRUE='#'
5354 if test "$use_gprof" = yes -o "$use_gcov" = yes; then
5356 BUILD_STATIC_FALSE='#'
5358 BUILD_STATIC_TRUE='#'
5363 # Check whether --enable-tests-rpath was given.
5364 if test "${enable_tests_rpath+set}" = set; then :
5365 enableval=$enable_tests_rpath; tests_use_rpath=$enableval
5370 if test "$tests_use_rpath" = yes; then
5372 TESTS_RPATH_FALSE='#'
5374 TESTS_RPATH_TRUE='#'
5379 LIBEBL_SUBDIR="$PACKAGE"
5380 # Check whether --enable-libebl-subdir was given.
5381 if test "${enable_libebl_subdir+set}" = set; then :
5382 enableval=$enable_libebl_subdir; LIBEBL_SUBDIR="$enable_libebl_subdir"
5386 cat >>confdefs.h <<_ACEOF
5387 #define LIBEBL_SUBDIR "$LIBEBL_SUBDIR"
5395 # Check whether --with-zlib was given.
5396 if test "${with_zlib+set}" = set; then :
5402 if test $with_zlib != no; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzdirect" >&5
5404 $as_echo_n "checking for library containing gzdirect... " >&6; }
5405 if ${ac_cv_search_gzdirect+:} false; then :
5406 $as_echo_n "(cached) " >&6
5408 ac_func_search_save_LIBS=$LIBS
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5412 /* Override any GCC internal prototype to avoid an error.
5413 Use char because int might match the return type of a GCC
5414 builtin and then its argument prototype would still apply. */
5427 for ac_lib in '' z; do
5428 if test -z "$ac_lib"; then
5429 ac_res="none required"
5432 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5434 if ac_fn_c_try_link "$LINENO"; then :
5435 ac_cv_search_gzdirect=$ac_res
5437 rm -f core conftest.err conftest.$ac_objext \
5439 if ${ac_cv_search_gzdirect+:} false; then :
5443 if ${ac_cv_search_gzdirect+:} false; then :
5446 ac_cv_search_gzdirect=no
5449 LIBS=$ac_func_search_save_LIBS
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzdirect" >&5
5452 $as_echo "$ac_cv_search_gzdirect" >&6; }
5453 ac_res=$ac_cv_search_gzdirect
5454 if test "$ac_res" != no; then :
5455 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5458 test $with_zlib = default ||
5459 as_fn_error $? "missing -lz for --with-zlib" "$LINENO" 5
5463 if test $with_zlib = yes; then
5471 if test $with_zlib = yes; then
5472 $as_echo "#define USE_ZLIB 1" >>confdefs.h
5478 if test "x$with_zlib" = xno; then :
5479 as_fn_error $? "\"zlib not found\"" "$LINENO" 5
5486 # Check whether --with-bzlib was given.
5487 if test "${with_bzlib+set}" = set; then :
5488 withval=$with_bzlib;
5493 if test $with_bzlib != no; then
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzdopen" >&5
5495 $as_echo_n "checking for library containing BZ2_bzdopen... " >&6; }
5496 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
5497 $as_echo_n "(cached) " >&6
5499 ac_func_search_save_LIBS=$LIBS
5500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5503 /* Override any GCC internal prototype to avoid an error.
5504 Use char because int might match the return type of a GCC
5505 builtin and then its argument prototype would still apply. */
5509 char BZ2_bzdopen ();
5513 return BZ2_bzdopen ();
5518 for ac_lib in '' bz2; do
5519 if test -z "$ac_lib"; then
5520 ac_res="none required"
5523 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5525 if ac_fn_c_try_link "$LINENO"; then :
5526 ac_cv_search_BZ2_bzdopen=$ac_res
5528 rm -f core conftest.err conftest.$ac_objext \
5530 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
5534 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
5537 ac_cv_search_BZ2_bzdopen=no
5540 LIBS=$ac_func_search_save_LIBS
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzdopen" >&5
5543 $as_echo "$ac_cv_search_BZ2_bzdopen" >&6; }
5544 ac_res=$ac_cv_search_BZ2_bzdopen
5545 if test "$ac_res" != no; then :
5546 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5549 test $with_bzlib = default ||
5550 as_fn_error $? "missing -lbz2 for --with-bzlib" "$LINENO" 5
5554 if test $with_bzlib = yes; then
5562 if test $with_bzlib = yes; then
5563 $as_echo "#define USE_BZLIB 1" >>confdefs.h
5569 # We need this since bzip2 doesn't have a pkgconfig file.
5573 # Check whether --with-lzma was given.
5574 if test "${with_lzma+set}" = set; then :
5580 if test $with_lzma != no; then
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lzma_auto_decoder" >&5
5582 $as_echo_n "checking for library containing lzma_auto_decoder... " >&6; }
5583 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
5584 $as_echo_n "(cached) " >&6
5586 ac_func_search_save_LIBS=$LIBS
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5590 /* Override any GCC internal prototype to avoid an error.
5591 Use char because int might match the return type of a GCC
5592 builtin and then its argument prototype would still apply. */
5596 char lzma_auto_decoder ();
5600 return lzma_auto_decoder ();
5605 for ac_lib in '' lzma; do
5606 if test -z "$ac_lib"; then
5607 ac_res="none required"
5610 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5612 if ac_fn_c_try_link "$LINENO"; then :
5613 ac_cv_search_lzma_auto_decoder=$ac_res
5615 rm -f core conftest.err conftest.$ac_objext \
5617 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
5621 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
5624 ac_cv_search_lzma_auto_decoder=no
5627 LIBS=$ac_func_search_save_LIBS
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lzma_auto_decoder" >&5
5630 $as_echo "$ac_cv_search_lzma_auto_decoder" >&6; }
5631 ac_res=$ac_cv_search_lzma_auto_decoder
5632 if test "$ac_res" != no; then :
5633 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5636 test $with_lzma = default ||
5637 as_fn_error $? "missing -llzma for --with-lzma" "$LINENO" 5
5641 if test $with_lzma = yes; then
5649 if test $with_lzma = yes; then
5650 $as_echo "#define USE_LZMA 1" >>confdefs.h
5656 if test "x$with_lzma" = xyes; then :
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle in -lstdc++" >&5
5667 $as_echo_n "checking for __cxa_demangle in -lstdc++... " >&6; }
5668 if ${ac_cv_lib_stdcpp___cxa_demangle+:} false; then :
5669 $as_echo_n "(cached) " >&6
5671 ac_check_lib_save_LIBS=$LIBS
5672 LIBS="-lstdc++ $LIBS"
5673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5674 /* end confdefs.h. */
5676 /* Override any GCC internal prototype to avoid an error.
5677 Use char because int might match the return type of a GCC
5678 builtin and then its argument prototype would still apply. */
5682 char __cxa_demangle ();
5686 return __cxa_demangle ();
5691 if ac_fn_c_try_link "$LINENO"; then :
5692 ac_cv_lib_stdcpp___cxa_demangle=yes
5694 ac_cv_lib_stdcpp___cxa_demangle=no
5696 rm -f core conftest.err conftest.$ac_objext \
5697 conftest$ac_exeext conftest.$ac_ext
5698 LIBS=$ac_check_lib_save_LIBS
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp___cxa_demangle" >&5
5701 $as_echo "$ac_cv_lib_stdcpp___cxa_demangle" >&6; }
5702 if test "x$ac_cv_lib_stdcpp___cxa_demangle" = xyes; then :
5704 $as_echo "#define USE_DEMANGLE 1" >>confdefs.h
5708 if test "x$ac_cv_lib_stdcpp___cxa_demangle" = "xyes"; then
5716 if test "x$ac_cv_lib_stdcpp___cxa_demangle" = "xyes"; then :
5717 enable_demangler=yes
5722 # Check whether --enable-textrelcheck was given.
5723 if test "${enable_textrelcheck+set}" = set; then :
5724 enableval=$enable_textrelcheck;
5727 if test "x$enable_textrelcheck" != "xno"; then
5729 FATAL_TEXTREL_FALSE='#'
5731 FATAL_TEXTREL_TRUE='#'
5732 FATAL_TEXTREL_FALSE=
5735 if test "x$enable_textrelcheck" != "xno"; then :
5736 enable_textrelcheck=yes
5738 enable_textrelcheck=no
5741 # Check whether --enable-symbol-versioning was given.
5742 if test "${enable_symbol_versioning+set}" = set; then :
5743 enableval=$enable_symbol_versioning;
5746 if test "x$enable_symbol_versioning" != "xno"; then
5747 SYMBOL_VERSIONING_TRUE=
5748 SYMBOL_VERSIONING_FALSE='#'
5750 SYMBOL_VERSIONING_TRUE='#'
5751 SYMBOL_VERSIONING_FALSE=
5754 if test "x$enable_symbol_versioning" = "xno"; then :
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling symbol versioning breaks ABI compatibility." >&5
5756 $as_echo "$as_me: WARNING: Disabling symbol versioning breaks ABI compatibility." >&2;}
5757 enable_symbol_versioning=no
5759 enable_symbol_versioning=yes
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc accepts -Wstack-usage" >&5
5763 $as_echo_n "checking whether gcc accepts -Wstack-usage... " >&6; }
5764 if ${ac_cv_stack_usage+:} false; then :
5765 $as_echo_n "(cached) " >&6
5767 old_CFLAGS="$CFLAGS"
5768 CFLAGS="$CFLAGS -Wstack-usage=262144"
5769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5770 /* end confdefs.h. */
5773 if ac_fn_c_try_compile "$LINENO"; then :
5774 ac_cv_stack_usage=yes
5776 ac_cv_stack_usage=no
5778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 CFLAGS="$old_CFLAGS"
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stack_usage" >&5
5782 $as_echo "$ac_cv_stack_usage" >&6; }
5783 if test "x$ac_cv_stack_usage" != "xno"; then
5784 ADD_STACK_USAGE_WARNING_TRUE=
5785 ADD_STACK_USAGE_WARNING_FALSE='#'
5787 ADD_STACK_USAGE_WARNING_TRUE='#'
5788 ADD_STACK_USAGE_WARNING_FALSE=
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h. */
5798 int argc=1; char *argv={"test"}; argp_parse(0,argc,argv,0,0,0); return 0;
5804 if ac_fn_c_try_link "$LINENO"; then :
5805 libc_has_argp="true"
5807 libc_has_argp="false"
5810 rm -f core conftest.err conftest.$ac_objext \
5811 conftest$ac_exeext conftest.$ac_ext
5813 if test "$libc_has_argp" = "false" ; then
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libc does not have argp\"" >&5
5815 $as_echo "$as_me: WARNING: \"libc does not have argp\"" >&2;}
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for argp_parse in -largp" >&5
5817 $as_echo_n "checking for argp_parse in -largp... " >&6; }
5818 if ${ac_cv_lib_argp_argp_parse+:} false; then :
5819 $as_echo_n "(cached) " >&6
5821 ac_check_lib_save_LIBS=$LIBS
5823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5824 /* end confdefs.h. */
5826 /* Override any GCC internal prototype to avoid an error.
5827 Use char because int might match the return type of a GCC
5828 builtin and then its argument prototype would still apply. */
5836 return argp_parse ();
5841 if ac_fn_c_try_link "$LINENO"; then :
5842 ac_cv_lib_argp_argp_parse=yes
5844 ac_cv_lib_argp_argp_parse=no
5846 rm -f core conftest.err conftest.$ac_objext \
5847 conftest$ac_exeext conftest.$ac_ext
5848 LIBS=$ac_check_lib_save_LIBS
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_argp_argp_parse" >&5
5851 $as_echo "$ac_cv_lib_argp_argp_parse" >&6; }
5852 if test "x$ac_cv_lib_argp_argp_parse" = xyes; then :
5859 if test "$have_argp" = "false"; then
5860 as_fn_error $? "\"no libargp found\"" "$LINENO" 5
5871 ac_config_files="$ac_config_files lib/Makefile"
5874 ac_config_files="$ac_config_files libelf/Makefile"
5877 ac_config_files="$ac_config_files libebl/Makefile"
5880 ac_config_files="$ac_config_files libdwelf/Makefile"
5883 ac_config_files="$ac_config_files libdw/Makefile"
5886 ac_config_files="$ac_config_files libdwfl/Makefile"
5889 ac_config_files="$ac_config_files libcpu/Makefile"
5894 HAVE_LIBASM_FALSE='#'
5896 HAVE_LIBASM_TRUE='#'
5899 ac_config_files="$ac_config_files libasm/Makefile"
5902 ac_config_files="$ac_config_files backends/Makefile"
5905 ac_config_files="$ac_config_files src/Makefile po/Makefile.in"
5910 STANDALONE_FALSE='#'
5915 ac_config_files="$ac_config_files tests/Makefile"
5918 ac_config_files="$ac_config_files config/libelf.pc config/libdw.pc"
5921 # Get the definitions necessary to create the Makefiles in the po
5922 # subdirectories. This is a small subset of the gettext rules.
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5927 $as_echo_n "checking whether NLS is requested... " >&6; }
5928 # Check whether --enable-nls was given.
5929 if test "${enable_nls+set}" = set; then :
5930 enableval=$enable_nls; USE_NLS=$enableval
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5936 $as_echo "$USE_NLS" >&6; }
5941 GETTEXT_MACRO_VERSION=0.18
5946 # Prepare PATH_SEPARATOR.
5947 # The user is always right.
5948 if test "${PATH_SEPARATOR+set}" != set; then
5949 echo "#! /bin/sh" >conf$$.sh
5950 echo "exit 0" >>conf$$.sh
5952 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5960 # Find out how to test for executable files. Don't use a zero-byte file,
5961 # as systems may use methods other than mode bits to determine executability.
5962 cat >conf$$.file <<_ASEOF
5966 chmod +x conf$$.file
5967 if test -x conf$$.file >/dev/null 2>&1; then
5968 ac_executable_p="test -x"
5970 ac_executable_p="test -f"
5974 # Extract the first word of "msgfmt", so it can be a program name with args.
5975 set dummy msgfmt; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_path_MSGFMT+:} false; then :
5979 $as_echo_n "(cached) " >&6
5983 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5986 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5987 for ac_dir in $PATH; do
5989 test -z "$ac_dir" && ac_dir=.
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5992 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5993 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5994 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5995 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
6002 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
6006 MSGFMT="$ac_cv_path_MSGFMT"
6007 if test "$MSGFMT" != ":"; then
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6009 $as_echo "$MSGFMT" >&6; }
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012 $as_echo "no" >&6; }
6015 # Extract the first word of "gmsgfmt", so it can be a program name with args.
6016 set dummy gmsgfmt; ac_word=$2
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6018 $as_echo_n "checking for $ac_word... " >&6; }
6019 if ${ac_cv_path_GMSGFMT+:} false; then :
6020 $as_echo_n "(cached) " >&6
6024 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6042 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
6046 GMSGFMT=$ac_cv_path_GMSGFMT
6047 if test -n "$GMSGFMT"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
6049 $as_echo "$GMSGFMT" >&6; }
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6057 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6058 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
6059 *) MSGFMT_015=$MSGFMT ;;
6062 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6063 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
6064 *) GMSGFMT_015=$GMSGFMT ;;
6069 # Prepare PATH_SEPARATOR.
6070 # The user is always right.
6071 if test "${PATH_SEPARATOR+set}" != set; then
6072 echo "#! /bin/sh" >conf$$.sh
6073 echo "exit 0" >>conf$$.sh
6075 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6083 # Find out how to test for executable files. Don't use a zero-byte file,
6084 # as systems may use methods other than mode bits to determine executability.
6085 cat >conf$$.file <<_ASEOF
6089 chmod +x conf$$.file
6090 if test -x conf$$.file >/dev/null 2>&1; then
6091 ac_executable_p="test -x"
6093 ac_executable_p="test -f"
6097 # Extract the first word of "xgettext", so it can be a program name with args.
6098 set dummy xgettext; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if ${ac_cv_path_XGETTEXT+:} false; then :
6102 $as_echo_n "(cached) " >&6
6106 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
6109 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6110 for ac_dir in $PATH; do
6112 test -z "$ac_dir" && ac_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6115 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6116 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
6117 (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
6118 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
6125 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
6129 XGETTEXT="$ac_cv_path_XGETTEXT"
6130 if test "$XGETTEXT" != ":"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
6132 $as_echo "$XGETTEXT" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6140 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
6141 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
6142 *) XGETTEXT_015=$XGETTEXT ;;
6147 # Prepare PATH_SEPARATOR.
6148 # The user is always right.
6149 if test "${PATH_SEPARATOR+set}" != set; then
6150 echo "#! /bin/sh" >conf$$.sh
6151 echo "exit 0" >>conf$$.sh
6153 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6161 # Find out how to test for executable files. Don't use a zero-byte file,
6162 # as systems may use methods other than mode bits to determine executability.
6163 cat >conf$$.file <<_ASEOF
6167 chmod +x conf$$.file
6168 if test -x conf$$.file >/dev/null 2>&1; then
6169 ac_executable_p="test -x"
6171 ac_executable_p="test -f"
6175 # Extract the first word of "msgmerge", so it can be a program name with args.
6176 set dummy msgmerge; ac_word=$2
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6178 $as_echo_n "checking for $ac_word... " >&6; }
6179 if ${ac_cv_path_MSGMERGE+:} false; then :
6180 $as_echo_n "(cached) " >&6
6184 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
6187 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
6188 for ac_dir in $PATH; do
6190 test -z "$ac_dir" && ac_dir=.
6191 for ac_exec_ext in '' $ac_executable_extensions; do
6192 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
6193 echo "$as_me: trying $ac_dir/$ac_word..." >&5
6194 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
6195 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
6202 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
6206 MSGMERGE="$ac_cv_path_MSGMERGE"
6207 if test "$MSGMERGE" != ":"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
6209 $as_echo "$MSGMERGE" >&6; }
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6216 test -n "$localedir" || localedir='${datadir}/locale'
6219 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
6222 ac_config_commands="$ac_config_commands po-directories"
6228 ac_config_files="$ac_config_files version.h:config/version.h.in"
6232 # 1.234<whatever> -> 1234<whatever>
6233 case "$PACKAGE_VERSION" in
6234 [0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
6235 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
6237 case "$eu_version" in
6239 # 1234.567 -> "1234", "567"
6240 eu_extra_version="${eu_version#*.}"
6241 eu_version="${eu_version%%.*}"
6242 case "$eu_extra_version" in
6244 [0-9][0-9]) eu_extra_version="${eu_extra_version}0" ;;
6245 [0-9]) eu_extra_version="${eu_extra_version}00" ;;
6246 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
6250 eu_extra_version=000
6254 case "$eu_version" in
6255 0[0-9][0-9][0-9]) eu_version="${eu_version#0}$eu_extra_version" ;;
6256 [0-9][0-9][0-9][0-9]) eu_version="${eu_version}$eu_extra_version" ;;
6257 [0-9][0-9][0-9]) eu_version="${eu_version}0$eu_extra_version" ;;
6258 [0-9][0-9]) eu_version="${eu_version}00$eu_extra_version";;
6259 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
6262 # Round up to the next release API (x.y) version.
6263 eu_version=$(( (eu_version + 999) / 1000 ))
6265 MODVERSION="Build for ${LIBEBL_SUBDIR} ${eu_version} ${ac_cv_build}"
6267 cat >>confdefs.h <<_ACEOF
6268 #define MODVERSION "$MODVERSION"
6274 ac_cpp='$CPP $CPPFLAGS'
6275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6279 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6280 # On Suns, sometimes $CPP names a directory.
6281 if test -n "$CPP" && test -d "$CPP"; then
6284 if test -z "$CPP"; then
6285 if ${ac_cv_prog_CPP+:} false; then :
6286 $as_echo_n "(cached) " >&6
6288 # Double quotes because CPP needs to be expanded
6289 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6292 for ac_c_preproc_warn_flag in '' yes
6294 # Use a header file that comes with gcc, so configuring glibc
6295 # with a fresh cross-compiler works.
6296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6297 # <limits.h> exists even on freestanding compilers.
6298 # On the NeXT, cc -E runs the code through the compiler's parser,
6299 # not just through cpp. "Syntax error" is here to catch this case.
6300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6301 /* end confdefs.h. */
6303 # include <limits.h>
6305 # include <assert.h>
6309 if ac_fn_c_try_cpp "$LINENO"; then :
6312 # Broken: fails on valid input.
6315 rm -f conftest.err conftest.i conftest.$ac_ext
6317 # OK, works on sane cases. Now check whether nonexistent headers
6318 # can be detected and how.
6319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6320 /* end confdefs.h. */
6321 #include <ac_nonexistent.h>
6323 if ac_fn_c_try_cpp "$LINENO"; then :
6324 # Broken: success on invalid input.
6327 # Passes both tests.
6331 rm -f conftest.err conftest.i conftest.$ac_ext
6334 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6335 rm -f conftest.i conftest.err conftest.$ac_ext
6336 if $ac_preproc_ok; then :
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6349 $as_echo "$CPP" >&6; }
6351 for ac_c_preproc_warn_flag in '' yes
6353 # Use a header file that comes with gcc, so configuring glibc
6354 # with a fresh cross-compiler works.
6355 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6356 # <limits.h> exists even on freestanding compilers.
6357 # On the NeXT, cc -E runs the code through the compiler's parser,
6358 # not just through cpp. "Syntax error" is here to catch this case.
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6362 # include <limits.h>
6364 # include <assert.h>
6368 if ac_fn_c_try_cpp "$LINENO"; then :
6371 # Broken: fails on valid input.
6374 rm -f conftest.err conftest.i conftest.$ac_ext
6376 # OK, works on sane cases. Now check whether nonexistent headers
6377 # can be detected and how.
6378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6379 /* end confdefs.h. */
6380 #include <ac_nonexistent.h>
6382 if ac_fn_c_try_cpp "$LINENO"; then :
6383 # Broken: success on invalid input.
6386 # Passes both tests.
6390 rm -f conftest.err conftest.i conftest.$ac_ext
6393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6394 rm -f conftest.i conftest.err conftest.$ac_ext
6395 if $ac_preproc_ok; then :
6398 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6400 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6401 See \`config.log' for more details" "$LINENO" 5; }
6405 ac_cpp='$CPP $CPPFLAGS'
6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6412 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6413 if ${ac_cv_path_GREP+:} false; then :
6414 $as_echo_n "(cached) " >&6
6416 if test -z "$GREP"; then
6417 ac_path_GREP_found=false
6418 # Loop through the user's path and test for each of PROGNAME-LIST
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6423 test -z "$as_dir" && as_dir=.
6424 for ac_prog in grep ggrep; do
6425 for ac_exec_ext in '' $ac_executable_extensions; do
6426 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6427 as_fn_executable_p "$ac_path_GREP" || continue
6428 # Check for GNU ac_path_GREP and select it if it is found.
6429 # Check for GNU $ac_path_GREP
6430 case `"$ac_path_GREP" --version 2>&1` in
6432 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6435 $as_echo_n 0123456789 >"conftest.in"
6438 cat "conftest.in" "conftest.in" >"conftest.tmp"
6439 mv "conftest.tmp" "conftest.in"
6440 cp "conftest.in" "conftest.nl"
6441 $as_echo 'GREP' >> "conftest.nl"
6442 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6443 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6444 as_fn_arith $ac_count + 1 && ac_count=$as_val
6445 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6446 # Best one so far, save it but keep looking for a better one
6447 ac_cv_path_GREP="$ac_path_GREP"
6448 ac_path_GREP_max=$ac_count
6450 # 10*(2^10) chars as input seems more than enough
6451 test $ac_count -gt 10 && break
6453 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6456 $ac_path_GREP_found && break 3
6461 if test -z "$ac_cv_path_GREP"; then
6462 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6465 ac_cv_path_GREP=$GREP
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6470 $as_echo "$ac_cv_path_GREP" >&6; }
6471 GREP="$ac_cv_path_GREP"
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6475 $as_echo_n "checking for egrep... " >&6; }
6476 if ${ac_cv_path_EGREP+:} false; then :
6477 $as_echo_n "(cached) " >&6
6479 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6480 then ac_cv_path_EGREP="$GREP -E"
6482 if test -z "$EGREP"; then
6483 ac_path_EGREP_found=false
6484 # Loop through the user's path and test for each of PROGNAME-LIST
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6489 test -z "$as_dir" && as_dir=.
6490 for ac_prog in egrep; do
6491 for ac_exec_ext in '' $ac_executable_extensions; do
6492 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6493 as_fn_executable_p "$ac_path_EGREP" || continue
6494 # Check for GNU ac_path_EGREP and select it if it is found.
6495 # Check for GNU $ac_path_EGREP
6496 case `"$ac_path_EGREP" --version 2>&1` in
6498 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6501 $as_echo_n 0123456789 >"conftest.in"
6504 cat "conftest.in" "conftest.in" >"conftest.tmp"
6505 mv "conftest.tmp" "conftest.in"
6506 cp "conftest.in" "conftest.nl"
6507 $as_echo 'EGREP' >> "conftest.nl"
6508 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6509 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6510 as_fn_arith $ac_count + 1 && ac_count=$as_val
6511 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6512 # Best one so far, save it but keep looking for a better one
6513 ac_cv_path_EGREP="$ac_path_EGREP"
6514 ac_path_EGREP_max=$ac_count
6516 # 10*(2^10) chars as input seems more than enough
6517 test $ac_count -gt 10 && break
6519 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6522 $ac_path_EGREP_found && break 3
6527 if test -z "$ac_cv_path_EGREP"; then
6528 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6531 ac_cv_path_EGREP=$EGREP
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6537 $as_echo "$ac_cv_path_EGREP" >&6; }
6538 EGREP="$ac_cv_path_EGREP"
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6542 $as_echo_n "checking for ANSI C header files... " >&6; }
6543 if ${ac_cv_header_stdc+:} false; then :
6544 $as_echo_n "(cached) " >&6
6546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6547 /* end confdefs.h. */
6561 if ac_fn_c_try_compile "$LINENO"; then :
6562 ac_cv_header_stdc=yes
6564 ac_cv_header_stdc=no
6566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6568 if test $ac_cv_header_stdc = yes; then
6569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6576 $EGREP "memchr" >/dev/null 2>&1; then :
6579 ac_cv_header_stdc=no
6585 if test $ac_cv_header_stdc = yes; then
6586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6588 /* end confdefs.h. */
6592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6593 $EGREP "free" >/dev/null 2>&1; then :
6596 ac_cv_header_stdc=no
6602 if test $ac_cv_header_stdc = yes; then
6603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6604 if test "$cross_compiling" = yes; then :
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6611 #if ((' ' & 0x0FF) == 0x020)
6612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6615 # define ISLOWER(c) \
6616 (('a' <= (c) && (c) <= 'i') \
6617 || ('j' <= (c) && (c) <= 'r') \
6618 || ('s' <= (c) && (c) <= 'z'))
6619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6627 for (i = 0; i < 256; i++)
6628 if (XOR (islower (i), ISLOWER (i))
6629 || toupper (i) != TOUPPER (i))
6634 if ac_fn_c_try_run "$LINENO"; then :
6637 ac_cv_header_stdc=no
6639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6640 conftest.$ac_objext conftest.beam conftest.$ac_ext
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6646 $as_echo "$ac_cv_header_stdc" >&6; }
6647 if test $ac_cv_header_stdc = yes; then
6649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6661 cat >>confdefs.h <<_ACEOF
6662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6670 # The cast to long int works around a bug in the HP C Compiler
6671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6673 # This bug is HP SR number 8606223364.
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6675 $as_echo_n "checking size of long... " >&6; }
6676 if ${ac_cv_sizeof_long+:} false; then :
6677 $as_echo_n "(cached) " >&6
6679 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
6682 if test "$ac_cv_type_long" = yes; then
6683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6685 as_fn_error 77 "cannot compute sizeof (long)
6686 See \`config.log' for more details" "$LINENO" 5; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
6694 $as_echo "$ac_cv_sizeof_long" >&6; }
6698 cat >>confdefs.h <<_ACEOF
6699 #define SIZEOF_LONG $ac_cv_sizeof_long
6704 # On aarch64 before glibc 2.20 we would get the kernel user_pt_regs instead
6705 # of the user_regs_struct from sys/user.h. They are structurally the same
6706 # but we get either one or the other.
6707 ac_fn_c_check_type "$LINENO" "struct user_regs_struct" "ac_cv_type_struct_user_regs_struct" "#include <sys/ptrace.h>
6708 #include <sys/time.h>
6709 #include <sys/user.h>
6711 if test "x$ac_cv_type_struct_user_regs_struct" = xyes; then :
6712 sys_user_has_user_regs=yes
6714 sys_user_has_user_regs=no
6717 if test "$sys_user_has_user_regs" = "yes"; then
6719 $as_echo "#define HAVE_SYS_USER_REGS 1" >>confdefs.h
6723 # On a 64-bit host where can can use $CC -m32, we'll run two sets of tests.
6724 # Likewise in a 32-bit build on a host where $CC -m64 works.
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $CC option for 32-bit word size" >&5
6726 $as_echo_n "checking $CC option for 32-bit word size... " >&6; }
6727 if ${utrace_cv_CC_m32+:} false; then :
6728 $as_echo_n "(cached) " >&6
6731 utrace_cv_CC_m32=none
6732 for ut_try in -m32 -m31; do
6733 CC=`echo "$save_CC" | sed 's/ -m[36][241]//'`" $ut_try"
6734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */
6736 int foo (void) { return 1; }
6738 if ac_fn_c_try_compile "$LINENO"; then :
6739 utrace_cv_CC_m32=$ut_try
6741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6742 test x$utrace_cv_CC_m32 = xnone || break
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_CC_m32" >&5
6747 $as_echo "$utrace_cv_CC_m32" >&6; }
6749 if test x$utrace_cv_CC_m32 != xnone; then :
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
6751 $as_echo_n "checking for 64-bit host... " >&6; }
6752 if ${utrace_cv_host64+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6758 #if (UINTPTR_MAX > 0xffffffffUL)
6762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6763 $EGREP "@utrace_host64@" >/dev/null 2>&1; then :
6764 utrace_cv_host64=yes
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_host64" >&5
6772 $as_echo "$utrace_cv_host64" >&6; }
6773 if test $utrace_cv_host64 = no; then :
6774 utrace_biarch=-m64 utrace_thisarch=$utrace_cv_CC_m32
6776 utrace_biarch=$utrace_cv_CC_m32 utrace_thisarch=-m64
6779 biarch_CC=`echo "$CC" | sed "s/ *${utrace_thisarch}//"`
6780 biarch_CC="$biarch_CC $utrace_biarch"
6783 utrace_biarch_forced=no
6785 # Check whether --with-biarch was given.
6786 if test "${with_biarch+set}" = set; then :
6787 withval=$with_biarch; if test "x$with_biarch" != xno; then :
6788 utrace_biarch_forced=yes
6792 if test $utrace_biarch_forced = yes; then :
6793 utrace_cv_cc_biarch=yes
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling biarch tests regardless using $biarch_CC" >&5
6795 $as_echo "$as_me: enabling biarch tests regardless using $biarch_CC" >&6;}
6797 if test x$utrace_cv_CC_m32 != xnone; then :
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $biarch_CC makes executables we can run" >&5
6799 $as_echo_n "checking whether $biarch_CC makes executables we can run... " >&6; }
6800 if ${utrace_cv_cc_biarch+:} false; then :
6801 $as_echo_n "(cached) " >&6
6805 if test "$cross_compiling" = yes; then :
6806 utrace_cv_cc_biarch=no
6808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6809 /* end confdefs.h. */
6819 if ac_fn_c_try_run "$LINENO"; then :
6820 utrace_cv_cc_biarch=yes
6822 utrace_cv_cc_biarch=no
6824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6825 conftest.$ac_objext conftest.beam conftest.$ac_ext
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_cc_biarch" >&5
6831 $as_echo "$utrace_cv_cc_biarch" >&6; }
6833 utrace_cv_cc_biarch=no
6835 if test $utrace_cv_cc_biarch != yes; then :
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not running biarch tests, $biarch_CC does not work" >&5
6837 $as_echo "$as_me: WARNING: not running biarch tests, $biarch_CC does not work" >&2;}
6840 if test $utrace_cv_cc_biarch = yes; then
6848 # `$utrace_biarch' will be `-m64' even on an uniarch i386 machine.
6849 CC_BIARCH="$CC $utrace_biarch"
6852 # In maintainer mode we really need flex and bison.
6853 # Otherwise we really need a release dir with maintainer files generated.
6854 if test "x$enable_maintainer_mode" = xyes; then
6855 # Extract the first word of "flex", so it can be a program name with args.
6856 set dummy flex; ac_word=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 $as_echo_n "checking for $ac_word... " >&6; }
6859 if ${ac_cv_prog_HAVE_FLEX+:} false; then :
6860 $as_echo_n "(cached) " >&6
6862 if test -n "$HAVE_FLEX"; then
6863 ac_cv_prog_HAVE_FLEX="$HAVE_FLEX" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872 ac_cv_prog_HAVE_FLEX="yes"
6873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6880 test -z "$ac_cv_prog_HAVE_FLEX" && ac_cv_prog_HAVE_FLEX="no"
6883 HAVE_FLEX=$ac_cv_prog_HAVE_FLEX
6884 if test -n "$HAVE_FLEX"; then
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX" >&5
6886 $as_echo "$HAVE_FLEX" >&6; }
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6893 if test "$HAVE_FLEX" = "no"; then
6894 as_fn_error $? "flex needed in maintainer mode" "$LINENO" 5
6896 # Extract the first word of "bison", so it can be a program name with args.
6897 set dummy bison; ac_word=$2
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899 $as_echo_n "checking for $ac_word... " >&6; }
6900 if ${ac_cv_prog_HAVE_BISON+:} false; then :
6901 $as_echo_n "(cached) " >&6
6903 if test -n "$HAVE_BISON"; then
6904 ac_cv_prog_HAVE_BISON="$HAVE_BISON" # Let the user override the test.
6906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6910 test -z "$as_dir" && as_dir=.
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913 ac_cv_prog_HAVE_BISON="yes"
6914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921 test -z "$ac_cv_prog_HAVE_BISON" && ac_cv_prog_HAVE_BISON="no"
6924 HAVE_BISON=$ac_cv_prog_HAVE_BISON
6925 if test -n "$HAVE_BISON"; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_BISON" >&5
6927 $as_echo "$HAVE_BISON" >&6; }
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 $as_echo "no" >&6; }
6934 if test "$HAVE_BISON" = "no"; then
6935 as_fn_error $? "bison needed in maintainer mode" "$LINENO" 5
6938 if test ! -f ${srcdir}/libdw/known-dwarf.h; then
6939 as_fn_error $? "No libdw/known-dwarf.h. configure --enable-maintainer-mode" "$LINENO" 5
6943 # The testfiles are all compressed, we need bunzip2 when running make check
6944 # Extract the first word of "bunzip2", so it can be a program name with args.
6945 set dummy bunzip2; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if ${ac_cv_prog_HAVE_BUNZIP2+:} false; then :
6949 $as_echo_n "(cached) " >&6
6951 if test -n "$HAVE_BUNZIP2"; then
6952 ac_cv_prog_HAVE_BUNZIP2="$HAVE_BUNZIP2" # Let the user override the test.
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6958 test -z "$as_dir" && as_dir=.
6959 for ac_exec_ext in '' $ac_executable_extensions; do
6960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6961 ac_cv_prog_HAVE_BUNZIP2="yes"
6962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969 test -z "$ac_cv_prog_HAVE_BUNZIP2" && ac_cv_prog_HAVE_BUNZIP2="no"
6972 HAVE_BUNZIP2=$ac_cv_prog_HAVE_BUNZIP2
6973 if test -n "$HAVE_BUNZIP2"; then
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_BUNZIP2" >&5
6975 $as_echo "$HAVE_BUNZIP2" >&6; }
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6978 $as_echo "no" >&6; }
6982 if test "$HAVE_BUNZIP2" = "no"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No bunzip2, needed to run make check" >&5
6984 $as_echo "$as_me: WARNING: No bunzip2, needed to run make check" >&2;}
6987 cat >confcache <<\_ACEOF
6988 # This file is a shell script that caches the results of configure
6989 # tests run on this system so they can be shared between configure
6990 # scripts and configure runs, see configure's option --config-cache.
6991 # It is not useful on other systems. If it contains results you don't
6992 # want to keep, you may remove or edit it.
6994 # config.status only pays attention to the cache file if you give it
6995 # the --recheck option to rerun configure.
6997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7003 # The following way of writing the cache mishandles newlines in values,
7004 # but we know of no workaround that is simple, portable, and efficient.
7005 # So, we kill variables containing newlines.
7006 # Ultrix sh set writes to stderr and can't be redirected directly,
7007 # and sets the high bit in the cache file unless we assign to the vars.
7009 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7010 eval ac_val=\$$ac_var
7014 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7015 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7018 _ | IFS | as_nl) ;; #(
7019 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7020 *) { eval $ac_var=; unset $ac_var;} ;;
7026 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7027 *${as_nl}ac_space=\ *)
7028 # `set' does not quote correctly, so add quotes: double-quote
7029 # substitution turns \\\\ into \\, and sed turns \\ into \.
7032 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7035 # `set' quotes correctly as required by POSIX, so do not add quotes.
7036 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7045 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7047 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7049 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7050 if test -w "$cache_file"; then
7051 if test "x$cache_file" != "x/dev/null"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7053 $as_echo "$as_me: updating cache $cache_file" >&6;}
7054 if test ! -f "$cache_file" || test -h "$cache_file"; then
7055 cat confcache >"$cache_file"
7057 case $cache_file in #(
7059 mv -f confcache "$cache_file"$$ &&
7060 mv -f "$cache_file"$$ "$cache_file" ;; #(
7062 mv -f confcache "$cache_file" ;;
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7068 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7073 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7074 # Let make expand exec_prefix.
7075 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7077 DEFS=-DHAVE_CONFIG_H
7082 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7083 # 1. Remove the extension, and $U if already installed.
7084 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7085 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7086 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7087 # will be set to the directory where LIBOBJS objects are built.
7088 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7089 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
7093 LTLIBOBJS=$ac_ltlibobjs
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7097 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7098 if test -n "$am_sleep_pid"; then
7099 # Hide warnings about reused PIDs.
7100 wait $am_sleep_pid 2>/dev/null
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7103 $as_echo "done" >&6; }
7104 if test -n "$EXEEXT"; then
7106 am__EXEEXT_FALSE='#'
7112 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7113 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
7114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7116 if test -z "${USE_LOCKS_TRUE}" && test -z "${USE_LOCKS_FALSE}"; then
7117 as_fn_error $? "conditional \"USE_LOCKS\" was never defined.
7118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7120 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7121 as_fn_error $? "conditional \"AMDEP\" was never defined.
7122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7124 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7125 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
7126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7128 if test -z "${NATIVE_LD_TRUE}" && test -z "${NATIVE_LD_FALSE}"; then
7129 as_fn_error $? "conditional \"NATIVE_LD\" was never defined.
7130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7132 if test -z "${NEVER_TRUE}" && test -z "${NEVER_FALSE}"; then
7133 as_fn_error $? "conditional \"NEVER\" was never defined.
7134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7136 if test -z "${GPROF_TRUE}" && test -z "${GPROF_FALSE}"; then
7137 as_fn_error $? "conditional \"GPROF\" was never defined.
7138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7140 if test -z "${GCOV_TRUE}" && test -z "${GCOV_FALSE}"; then
7141 as_fn_error $? "conditional \"GCOV\" was never defined.
7142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7144 if test -z "${USE_VALGRIND_TRUE}" && test -z "${USE_VALGRIND_FALSE}"; then
7145 as_fn_error $? "conditional \"USE_VALGRIND\" was never defined.
7146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7148 if test -z "${BUILD_STATIC_TRUE}" && test -z "${BUILD_STATIC_FALSE}"; then
7149 as_fn_error $? "conditional \"BUILD_STATIC\" was never defined.
7150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7152 if test -z "${TESTS_RPATH_TRUE}" && test -z "${TESTS_RPATH_FALSE}"; then
7153 as_fn_error $? "conditional \"TESTS_RPATH\" was never defined.
7154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7156 if test -z "${ZLIB_TRUE}" && test -z "${ZLIB_FALSE}"; then
7157 as_fn_error $? "conditional \"ZLIB\" was never defined.
7158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7160 if test -z "${BZLIB_TRUE}" && test -z "${BZLIB_FALSE}"; then
7161 as_fn_error $? "conditional \"BZLIB\" was never defined.
7162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7164 if test -z "${LZMA_TRUE}" && test -z "${LZMA_FALSE}"; then
7165 as_fn_error $? "conditional \"LZMA\" was never defined.
7166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7168 if test -z "${DEMANGLE_TRUE}" && test -z "${DEMANGLE_FALSE}"; then
7169 as_fn_error $? "conditional \"DEMANGLE\" was never defined.
7170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7172 if test -z "${FATAL_TEXTREL_TRUE}" && test -z "${FATAL_TEXTREL_FALSE}"; then
7173 as_fn_error $? "conditional \"FATAL_TEXTREL\" was never defined.
7174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7176 if test -z "${SYMBOL_VERSIONING_TRUE}" && test -z "${SYMBOL_VERSIONING_FALSE}"; then
7177 as_fn_error $? "conditional \"SYMBOL_VERSIONING\" was never defined.
7178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7180 if test -z "${ADD_STACK_USAGE_WARNING_TRUE}" && test -z "${ADD_STACK_USAGE_WARNING_FALSE}"; then
7181 as_fn_error $? "conditional \"ADD_STACK_USAGE_WARNING\" was never defined.
7182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7184 if test -z "${HAVE_LIBASM_TRUE}" && test -z "${HAVE_LIBASM_FALSE}"; then
7185 as_fn_error $? "conditional \"HAVE_LIBASM\" was never defined.
7186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7188 if test -z "${STANDALONE_TRUE}" && test -z "${STANDALONE_FALSE}"; then
7189 as_fn_error $? "conditional \"STANDALONE\" was never defined.
7190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7192 if test -z "${BIARCH_TRUE}" && test -z "${BIARCH_FALSE}"; then
7193 as_fn_error $? "conditional \"BIARCH\" was never defined.
7194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7197 : "${CONFIG_STATUS=./config.status}"
7199 ac_clean_files_save=$ac_clean_files
7200 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7202 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7204 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7206 # Generated by $as_me.
7207 # Run this file to recreate the current configuration.
7208 # Compiler output produced by configure, useful for debugging
7209 # configure, is in config.log if it exists.
7215 SHELL=\${CONFIG_SHELL-$SHELL}
7218 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
7219 ## -------------------- ##
7220 ## M4sh Initialization. ##
7221 ## -------------------- ##
7223 # Be more Bourne compatible
7224 DUALCASE=1; export DUALCASE # for MKS sh
7225 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
7228 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7229 # is contrary to our usage. Disable this feature.
7230 alias -g '${1+"$@"}'='"$@"'
7231 setopt NO_GLOB_SUBST
7233 case `(set -o) 2>/dev/null` in #(
7245 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7246 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7247 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7248 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7249 # Prefer a ksh shell builtin over an external printf program on Solaris,
7250 # but without wasting forks for bash or zsh.
7251 if test -z "$BASH_VERSION$ZSH_VERSION" \
7252 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7253 as_echo='print -r --'
7254 as_echo_n='print -rn --'
7255 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7256 as_echo='printf %s\n'
7257 as_echo_n='printf %s'
7259 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7260 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
7261 as_echo_n='/usr/ucb/echo -n'
7263 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7264 as_echo_n_body='eval
7268 expr "X$arg" : "X\\(.*\\)$as_nl";
7269 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7271 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
7273 export as_echo_n_body
7274 as_echo_n='sh -c $as_echo_n_body as_echo'
7277 as_echo='sh -c $as_echo_body as_echo'
7280 # The user is always right.
7281 if test "${PATH_SEPARATOR+set}" != set; then
7283 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7284 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7291 # We need space, tab and new line, in precisely that order. Quoting is
7292 # there to prevent editors from complaining about space-tab.
7293 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7294 # splitting by setting IFS to empty value.)
7297 # Find who we are. Look in the path if we contain no directory separator.
7300 *[\\/]* ) as_myself=$0 ;;
7301 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7305 test -z "$as_dir" && as_dir=.
7306 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7312 # We did not find ourselves, most probably we were run as `sh COMMAND'
7313 # in which case we are not to be found in the path.
7314 if test "x$as_myself" = x; then
7317 if test ! -f "$as_myself"; then
7318 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7322 # Unset variables that we do not need and which cause bugs (e.g. in
7323 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7324 # suppresses any "Segmentation fault" message there. '((' could
7325 # trigger a bug in pdksh 5.2.14.
7326 for as_var in BASH_ENV ENV MAIL MAILPATH
7327 do eval test x\${$as_var+set} = xset \
7328 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
7341 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
7344 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7345 # ----------------------------------------
7346 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7347 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7348 # script with STATUS, using 1 if that was 0.
7351 as_status=$1; test $as_status -eq 0 && as_status=1
7353 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
7354 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7356 $as_echo "$as_me: error: $2" >&2
7357 as_fn_exit $as_status
7361 # as_fn_set_status STATUS
7362 # -----------------------
7363 # Set $? to STATUS, without forking.
7367 } # as_fn_set_status
7371 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7381 # Portably unset VAR.
7384 { eval $1=; unset $1;}
7386 as_unset=as_fn_unset
7387 # as_fn_append VAR VALUE
7388 # ----------------------
7389 # Append the text in VALUE to the end of the definition contained in VAR. Take
7390 # advantage of any shell optimizations that allow amortized linear growth over
7391 # repeated appends, instead of the typical quadratic growth present in naive
7393 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
7394 eval 'as_fn_append ()
7405 # as_fn_arith ARG...
7406 # ------------------
7407 # Perform arithmetic evaluation on the ARGs, and store the result in the
7408 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7409 # must be portable across $(()) and expr.
7410 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
7411 eval 'as_fn_arith ()
7418 as_val=`expr "$@" || test $? -eq 1`
7423 if expr a : '\(a\)' >/dev/null 2>&1 &&
7424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
7430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7431 as_basename=basename
7436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
7442 as_me=`$as_basename -- "$0" ||
7443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7444 X"$0" : 'X\(//\)$' \| \
7445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7447 sed '/^.*\/\([^/][^/]*\)\/*$/{
7461 # Avoid depending upon Character Ranges.
7462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7465 as_cr_digits='0123456789'
7466 as_cr_alnum=$as_cr_Letters$as_cr_digits
7468 ECHO_C= ECHO_N= ECHO_T=
7469 case `echo -n x` in #(((((
7471 case `echo 'xy\c'` in
7472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
7474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
7481 rm -f conf$$ conf$$.exe conf$$.file
7482 if test -d conf$$.dir; then
7483 rm -f conf$$.dir/conf$$.file
7486 mkdir conf$$.dir 2>/dev/null
7488 if (echo >conf$$.file) 2>/dev/null; then
7489 if ln -s conf$$.file conf$$ 2>/dev/null; then
7491 # ... but there are two gotchas:
7492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7494 # In both cases, we have to default to `cp -pR'.
7495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7497 elif ln conf$$.file conf$$ 2>/dev/null; then
7505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
7506 rmdir conf$$.dir 2>/dev/null
7511 # Create "$as_dir" as a directory, including parents if necessary.
7516 -*) as_dir=./$as_dir;;
7518 test -d "$as_dir" || eval $as_mkdir_p || {
7522 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7523 *) as_qdir=$as_dir;;
7525 as_dirs="'$as_qdir' $as_dirs"
7526 as_dir=`$as_dirname -- "$as_dir" ||
7527 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7528 X"$as_dir" : 'X\(//\)[^/]' \| \
7529 X"$as_dir" : 'X\(//\)$' \| \
7530 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7531 $as_echo X"$as_dir" |
7532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7549 test -d "$as_dir" && break
7551 test -z "$as_dirs" || eval "mkdir $as_dirs"
7552 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
7556 if mkdir -p . 2>/dev/null; then
7557 as_mkdir_p='mkdir -p "$as_dir"'
7559 test -d ./-p && rmdir ./-p
7564 # as_fn_executable_p FILE
7565 # -----------------------
7566 # Test if FILE is an executable regular file.
7567 as_fn_executable_p ()
7569 test -f "$1" && test -x "$1"
7570 } # as_fn_executable_p
7572 as_executable_p=as_fn_executable_p
7574 # Sed expression to map a string onto a valid CPP name.
7575 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7577 # Sed expression to map a string onto a valid variable name.
7578 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7582 ## ----------------------------------- ##
7583 ## Main body of $CONFIG_STATUS script. ##
7584 ## ----------------------------------- ##
7586 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7589 # Save the log message, to keep $0 and so on meaningful, and to
7590 # report actual input values of CONFIG_FILES etc. instead of their
7591 # values after options handling.
7593 This file was extended by elfutils $as_me 0.165, which was
7594 generated by GNU Autoconf 2.69. Invocation command line was
7596 CONFIG_FILES = $CONFIG_FILES
7597 CONFIG_HEADERS = $CONFIG_HEADERS
7598 CONFIG_LINKS = $CONFIG_LINKS
7599 CONFIG_COMMANDS = $CONFIG_COMMANDS
7602 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7607 case $ac_config_files in *"
7608 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7611 case $ac_config_headers in *"
7612 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7617 # Files that config.status was made for.
7618 config_files="$ac_config_files"
7619 config_headers="$ac_config_headers"
7620 config_commands="$ac_config_commands"
7624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7626 \`$as_me' instantiates files and other configuration actions
7627 from templates according to the current configuration. Unless the files
7628 and actions are specified as TAGs, all are instantiated by default.
7630 Usage: $0 [OPTION]... [TAG]...
7632 -h, --help print this help, then exit
7633 -V, --version print version number and configuration settings, then exit
7634 --config print configuration, then exit
7635 -q, --quiet, --silent
7636 do not print progress messages
7637 -d, --debug don't remove temporary files
7638 --recheck update $as_me by reconfiguring in the same conditions
7639 --file=FILE[:TEMPLATE]
7640 instantiate the configuration file FILE
7641 --header=FILE[:TEMPLATE]
7642 instantiate the configuration header FILE
7644 Configuration files:
7647 Configuration headers:
7650 Configuration commands:
7653 Report bugs to <https://bugzilla.redhat.com/>."
7656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7657 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7659 elfutils config.status 0.165
7660 configured by $0, generated by GNU Autoconf 2.69,
7661 with options \\"\$ac_cs_config\\"
7663 Copyright (C) 2012 Free Software Foundation, Inc.
7664 This config.status script is free software; the Free Software Foundation
7665 gives unlimited permission to copy, distribute and modify it."
7672 test -n "\$AWK" || AWK=awk
7675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7676 # The default lists apply if the user does not specify any file.
7682 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7683 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7687 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7699 # Handling of the options.
7700 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7702 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7703 $as_echo "$ac_cs_version"; exit ;;
7704 --config | --confi | --conf | --con | --co | --c )
7705 $as_echo "$ac_cs_config"; exit ;;
7706 --debug | --debu | --deb | --de | --d | -d )
7708 --file | --fil | --fi | --f )
7711 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7712 '') as_fn_error $? "missing file argument" ;;
7714 as_fn_append CONFIG_FILES " '$ac_optarg'"
7715 ac_need_defaults=false;;
7716 --header | --heade | --head | --hea )
7719 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7721 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7722 ac_need_defaults=false;;
7724 # Conflict between --help and --header
7725 as_fn_error $? "ambiguous option: \`$1'
7726 Try \`$0 --help' for more information.";;
7727 --help | --hel | -h )
7728 $as_echo "$ac_cs_usage"; exit ;;
7729 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7730 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7734 -*) as_fn_error $? "unrecognized option: \`$1'
7735 Try \`$0 --help' for more information." ;;
7737 *) as_fn_append ac_config_targets " $1"
7738 ac_need_defaults=false ;;
7744 ac_configure_extra_args=
7746 if $ac_cs_silent; then
7748 ac_configure_extra_args="$ac_configure_extra_args --silent"
7752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7753 if \$ac_cs_recheck; then
7754 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7756 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7757 CONFIG_SHELL='$SHELL'
7763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7767 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7768 ## Running $as_me. ##
7774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7778 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7779 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7780 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7781 # from automake < 1.5.
7782 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7783 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7784 LINGUAS="${LINGUAS-%UNSET%}"
7789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7791 # Handling of arguments.
7792 for ac_config_target in $ac_config_targets
7794 case $ac_config_target in
7795 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
7796 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7797 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7798 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
7799 "elfutils.spec") CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;;
7800 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7801 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
7802 "libelf/Makefile") CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;;
7803 "libebl/Makefile") CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;;
7804 "libdwelf/Makefile") CONFIG_FILES="$CONFIG_FILES libdwelf/Makefile" ;;
7805 "libdw/Makefile") CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;;
7806 "libdwfl/Makefile") CONFIG_FILES="$CONFIG_FILES libdwfl/Makefile" ;;
7807 "libcpu/Makefile") CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;;
7808 "libasm/Makefile") CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;;
7809 "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;;
7810 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7811 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7812 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7813 "config/libelf.pc") CONFIG_FILES="$CONFIG_FILES config/libelf.pc" ;;
7814 "config/libdw.pc") CONFIG_FILES="$CONFIG_FILES config/libdw.pc" ;;
7815 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7816 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;;
7818 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7823 # If the user did not use the arguments to specify the items to instantiate,
7824 # then the envvar interface is used. Set only those that are not.
7825 # We use the long form for the default assignment because of an extremely
7826 # bizarre bug on SunOS 4.1.3.
7827 if $ac_need_defaults; then
7828 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7829 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7830 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7833 # Have a temporary directory for convenience. Make it in the build tree
7834 # simply because there is no reason against having it here, and in addition,
7835 # creating and moving files from /tmp can sometimes cause problems.
7836 # Hook for its removal unless debugging.
7837 # Note that there is a small window in which the directory will not be cleaned:
7838 # after its creation but before its name has been assigned to `$tmp'.
7842 trap 'exit_status=$?
7844 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7846 trap 'as_fn_exit 1' 1 2 13 15
7848 # Create a (secure) tmp directory for tmp files.
7851 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7855 tmp=./conf$$-$RANDOM
7856 (umask 077 && mkdir "$tmp")
7857 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7860 # Set up the scripts for CONFIG_FILES section.
7861 # No need to generate them if there are no CONFIG_FILES.
7862 # This happens for instance with `./config.status config.h'.
7863 if test -n "$CONFIG_FILES"; then
7866 ac_cr=`echo X | tr X '\015'`
7867 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7868 # But we know of no other shell where ac_cr would be empty at this
7869 # point, so we can use a bashism as a fallback.
7870 if test "x$ac_cr" = x; then
7871 eval ac_cr=\$\'\\r\'
7873 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7874 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7880 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7885 echo "cat >conf$$subs.awk <<_ACEOF" &&
7886 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7889 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7890 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7892 for ac_last_try in false false false false false :; do
7893 . ./conf$$subs.sh ||
7894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7896 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7897 if test $ac_delim_n = $ac_delim_num; then
7899 elif $ac_last_try; then
7900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7902 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7908 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7912 s/^/S["/; s/!.*/"]=/
7922 s/\(.\{148\}\)..*/\1/
7924 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7929 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7936 s/\(.\{148\}\)..*/\1/
7938 s/["\\]/\\&/g; s/^/"/; s/$/"/
7942 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7947 ' <conf$$subs.awk | sed '
7952 ' >>$CONFIG_STATUS || ac_write_fail=1
7953 rm -f conf$$subs.awk
7954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7956 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7957 for (key in S) S_is_set[key] = 1
7963 nfields = split(line, field, "@")
7965 len = length(field[1])
7966 for (i = 2; i < nfields; i++) {
7968 keylen = length(key)
7969 if (S_is_set[key]) {
7971 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7972 len += length(value) + length(field[++i])
7983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7984 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7985 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7988 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7989 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7992 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7993 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7994 # trailing colons and then remove the whole line if VPATH becomes empty
7995 # (actually we leave an empty line to preserve line numbers).
7996 if test "x$srcdir" = x.; then
7997 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8016 fi # test -n "$CONFIG_FILES"
8018 # Set up the scripts for CONFIG_HEADERS section.
8019 # No need to generate them if there are no CONFIG_HEADERS.
8020 # This happens for instance with `./config.status Makefile'.
8021 if test -n "$CONFIG_HEADERS"; then
8022 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
8026 # Transform confdefs.h into an awk script `defines.awk', embedded as
8027 # here-document in config.status, that substitutes the proper values into
8028 # config.h.in to produce config.h.
8030 # Create a delimiter string that does not exist in confdefs.h, to ease
8031 # handling of long lines.
8033 for ac_last_try in false false :; do
8034 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
8035 if test -z "$ac_tt"; then
8037 elif $ac_last_try; then
8038 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
8040 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8044 # For the awk script, D is an array of macro values keyed by name,
8045 # likewise P contains macro parameters if any. Preserve backslash
8046 # newline sequences.
8048 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8050 s/.\{148\}/&'"$ac_delim"'/g
8053 s/^[ ]*#[ ]*define[ ][ ]*/ /
8060 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8062 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
8066 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
8067 D["\1"]=" \3\\\\\\n"\\/p
8069 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
8074 s/.\{148\}/&'"$ac_delim"'/g
8079 s/["\\]/\\&/g; s/^/"/; s/$/"/p
8082 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
8084 ' <confdefs.h | sed '
8085 s/'"$ac_delim"'/"\\\
8086 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8089 for (key in D) D_is_set[key] = 1
8092 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8094 split(line, arg, " ")
8095 if (arg[1] == "#") {
8099 defundef = substr(arg[1], 2)
8102 split(mac1, mac2, "(") #)
8104 prefix = substr(line, 1, index(line, defundef) - 1)
8105 if (D_is_set[macro]) {
8106 # Preserve the white space surrounding the "#".
8107 print prefix "define", macro P[macro] D[macro]
8110 # Replace #undef with comments. This is necessary, for example,
8111 # in the case of _POSIX_SOURCE, which is predefined and required
8112 # on some systems where configure will not decide to define it.
8113 if (defundef == "undef") {
8114 print "/*", prefix defundef, macro, "*/"
8122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8123 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
8124 fi # test -n "$CONFIG_HEADERS"
8127 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8132 :[FHLC]) ac_mode=$ac_tag; continue;;
8134 case $ac_mode$ac_tag in
8136 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8137 :[FH]-) ac_tag=-:-;;
8138 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8155 -) ac_f="$ac_tmp/stdin";;
8156 *) # Look for the file first in the build tree, then in the source tree
8157 # (if the path is not absolute). The absolute path cannot be DOS-style,
8158 # because $ac_f cannot contain `:'.
8162 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8164 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8166 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8167 as_fn_append ac_file_inputs " '$ac_f'"
8170 # Let's still pretend it is `configure' which instantiates (i.e., don't
8171 # use $as_me), people would be surprised to read:
8172 # /* config.h. Generated by config.status. */
8173 configure_input='Generated from '`
8174 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8176 if test x"$ac_file" != x-; then
8177 configure_input="$ac_file. $configure_input"
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8179 $as_echo "$as_me: creating $ac_file" >&6;}
8181 # Neutralize special characters interpreted by sed in replacement strings.
8182 case $configure_input in #(
8183 *\&* | *\|* | *\\* )
8184 ac_sed_conf_input=`$as_echo "$configure_input" |
8185 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8186 *) ac_sed_conf_input=$configure_input;;
8190 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8191 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8196 ac_dir=`$as_dirname -- "$ac_file" ||
8197 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8198 X"$ac_file" : 'X\(//\)[^/]' \| \
8199 X"$ac_file" : 'X\(//\)$' \| \
8200 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8201 $as_echo X"$ac_file" |
8202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8219 as_dir="$ac_dir"; as_fn_mkdir_p
8223 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8225 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8226 # A ".." for each directory in $ac_dir_suffix.
8227 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8228 case $ac_top_builddir_sub in
8229 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8230 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8233 ac_abs_top_builddir=$ac_pwd
8234 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8235 # for backward compatibility:
8236 ac_top_builddir=$ac_top_build_prefix
8239 .) # We are building in place.
8241 ac_top_srcdir=$ac_top_builddir_sub
8242 ac_abs_top_srcdir=$ac_pwd ;;
8243 [\\/]* | ?:[\\/]* ) # Absolute name.
8244 ac_srcdir=$srcdir$ac_dir_suffix;
8245 ac_top_srcdir=$srcdir
8246 ac_abs_top_srcdir=$srcdir ;;
8248 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8249 ac_top_srcdir=$ac_top_build_prefix$srcdir
8250 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8252 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8262 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8263 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8267 [\\/$]* | ?:[\\/]* ) ;;
8268 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8273 # If the template does not know about datarootdir, expand it.
8274 # FIXME: This hack should be removed a few years after 2.60.
8275 ac_datarootdir_hack=; ac_datarootdir_seen=
8286 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8287 *datarootdir*) ac_datarootdir_seen=yes;;
8288 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8290 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8293 ac_datarootdir_hack='
8294 s&@datadir@&$datadir&g
8295 s&@docdir@&$docdir&g
8296 s&@infodir@&$infodir&g
8297 s&@localedir@&$localedir&g
8298 s&@mandir@&$mandir&g
8299 s&\\\${datarootdir}&$datarootdir&g' ;;
8303 # Neutralize VPATH when `$srcdir' = `.'.
8304 # Shell code in configure.ac might set extrasub.
8305 # FIXME: do we really want to maintain this feature?
8306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8307 ac_sed_extra="$ac_vpsub
8310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8312 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8313 s|@configure_input@|$ac_sed_conf_input|;t t
8314 s&@top_builddir@&$ac_top_builddir_sub&;t t
8315 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8316 s&@srcdir@&$ac_srcdir&;t t
8317 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8318 s&@top_srcdir@&$ac_top_srcdir&;t t
8319 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8320 s&@builddir@&$ac_builddir&;t t
8321 s&@abs_builddir@&$ac_abs_builddir&;t t
8322 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8323 s&@INSTALL@&$ac_INSTALL&;t t
8324 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8325 $ac_datarootdir_hack
8327 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8328 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8330 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8331 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8332 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8333 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8335 which seems to be undefined. Please make sure it is defined" >&5
8336 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8337 which seems to be undefined. Please make sure it is defined" >&2;}
8339 rm -f "$ac_tmp/stdin"
8341 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8342 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8344 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8350 if test x"$ac_file" != x-; then
8352 $as_echo "/* $configure_input */" \
8353 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8354 } >"$ac_tmp/config.h" \
8355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8356 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8358 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8361 mv "$ac_tmp/config.h" "$ac_file" \
8362 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8365 $as_echo "/* $configure_input */" \
8366 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8367 || as_fn_error $? "could not create -" "$LINENO" 5
8369 # Compute "$ac_file"'s index in $config_headers.
8372 for _am_header in $config_headers :; do
8374 $_am_arg | $_am_arg:* )
8377 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
8380 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8381 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8382 X"$_am_arg" : 'X\(//\)[^/]' \| \
8383 X"$_am_arg" : 'X\(//\)$' \| \
8384 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8385 $as_echo X"$_am_arg" |
8386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8402 s/.*/./; q'`/stamp-h$_am_stamp_count
8405 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8406 $as_echo "$as_me: executing $ac_file commands" >&6;}
8411 case $ac_file$ac_mode in
8412 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8413 # Older Autoconf quotes --file arguments for eval, but not when files
8414 # are listed without --file. Let's play safe and only enable the eval
8415 # if we detect the quoting.
8416 case $CONFIG_FILES in
8417 *\'*) eval set x "$CONFIG_FILES" ;;
8418 *) set x $CONFIG_FILES ;;
8423 # Strip MF so we end up with the name of the file.
8424 mf=`echo "$mf" | sed -e 's/:.*$//'`
8425 # Check whether this is an Automake generated Makefile or not.
8426 # We used to match only the files named 'Makefile.in', but
8427 # some people rename them; so instead we look at the file content.
8428 # Grep'ing the first line is not enough: some people post-process
8429 # each Makefile.in and add a new line on top of each file to say so.
8430 # Grep'ing the whole file is not good either: AIX grep has a line
8431 # limit of 2048, but all sed's we know have understand at least 4000.
8432 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8433 dirpart=`$as_dirname -- "$mf" ||
8434 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8435 X"$mf" : 'X\(//\)[^/]' \| \
8436 X"$mf" : 'X\(//\)$' \| \
8437 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8459 # Extract the definition of DEPDIR, am__include, and am__quote
8460 # from the Makefile without running 'make'.
8461 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8462 test -z "$DEPDIR" && continue
8463 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8464 test -z "$am__include" && continue
8465 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8466 # Find all dependency output files, they are included files with
8467 # $(DEPDIR) in their names. We invoke sed twice because it is the
8468 # simplest approach to changing $(DEPDIR) to its actual value in the
8470 for file in `sed -n "
8471 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8472 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8473 # Make sure the directory exists.
8474 test -f "$dirpart/$file" && continue
8475 fdir=`$as_dirname -- "$file" ||
8476 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8477 X"$file" : 'X\(//\)[^/]' \| \
8478 X"$file" : 'X\(//\)$' \| \
8479 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8498 as_dir=$dirpart/$fdir; as_fn_mkdir_p
8499 # echo "creating $dirpart/$file"
8500 echo '# dummy' > "$dirpart/$file"
8506 for ac_file in $CONFIG_FILES; do
8507 # Support "outfile[:infile[:infile...]]"
8509 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
8511 # PO directories have a Makefile.in generated from Makefile.in.in.
8512 case "$ac_file" in */Makefile.in)
8513 # Adjust a relative srcdir.
8514 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
8515 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
8516 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
8517 # In autoconf-2.13 it is called $ac_given_srcdir.
8518 # In autoconf-2.50 it is called $srcdir.
8519 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
8520 case "$ac_given_srcdir" in
8521 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
8522 /*) top_srcdir="$ac_given_srcdir" ;;
8523 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
8525 # Treat a directory as a PO directory if and only if it has a
8526 # POTFILES.in file. This allows packages to have multiple PO
8527 # directories under different names or in different locations.
8528 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
8529 rm -f "$ac_dir/POTFILES"
8530 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
8531 gt_tab=`printf '\t'`
8532 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
8533 POMAKEFILEDEPS="POTFILES.in"
8534 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
8535 # on $ac_dir but don't depend on user-specified configuration
8537 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
8538 # The LINGUAS file contains the set of available languages.
8539 if test -n "$OBSOLETE_ALL_LINGUAS"; then
8540 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
8542 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
8543 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8544 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
8545 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
8547 # The set of available languages was given in configure.in.
8548 # Hide the ALL_LINGUAS assignment from automake < 1.5.
8549 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
8552 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
8553 # Compute UPDATEPOFILES
8554 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
8555 # Compute DUMMYPOFILES
8556 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
8558 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
8559 case "$ac_given_srcdir" in
8561 *) srcdirpre='$(srcdir)/' ;;
8567 for lang in $ALL_LINGUAS; do
8568 POFILES="$POFILES $srcdirpre$lang.po"
8569 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8570 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8571 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8573 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8574 # environment variable.
8576 if test -n "$ALL_LINGUAS"; then
8577 for presentlang in $ALL_LINGUAS; do
8579 if test "%UNSET%" != "$LINGUAS"; then
8580 desiredlanguages="$LINGUAS"
8582 desiredlanguages="$ALL_LINGUAS"
8584 for desiredlang in $desiredlanguages; do
8585 # Use the presentlang catalog if desiredlang is
8586 # a. equal to presentlang, or
8587 # b. a variant of presentlang (because in this case,
8588 # presentlang can be used as a fallback for messages
8589 # which are not translated in the desiredlang catalog).
8590 case "$desiredlang" in
8591 "$presentlang"*) useit=yes;;
8594 if test $useit = yes; then
8595 INST_LINGUAS="$INST_LINGUAS $presentlang"
8600 if test -n "$INST_LINGUAS"; then
8601 for lang in $INST_LINGUAS; do
8602 CATALOGS="$CATALOGS $lang.gmo"
8605 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8606 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"
8607 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8608 if test -f "$f"; then
8610 *.orig | *.bak | *~) ;;
8611 *) cat "$f" >> "$ac_dir/Makefile" ;;
8626 ac_clean_files=$ac_clean_files_save
8628 test $ac_write_fail = 0 ||
8629 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8632 # configure is writing to config.log, and then calls config.status.
8633 # config.status does its own redirection, appending to config.log.
8634 # Unfortunately, on DOS this fails, as config.log is still kept open
8635 # by configure, so config.status won't be able to write to it; its
8636 # output is simply discarded. So we exec the FD to /dev/null,
8637 # effectively closing config.log, so it can be properly (re)opened and
8638 # appended to by config.status. When coming back to configure, we
8639 # need to make the FD available again.
8640 if test "$no_create" != yes; then
8642 ac_config_status_args=
8643 test "$silent" = yes &&
8644 ac_config_status_args="$ac_config_status_args --quiet"
8646 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8649 # would make configure fail if this is the last instruction.
8650 $ac_cs_success || as_fn_exit 1
8652 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8654 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8658 { $as_echo "$as_me:${as_lineno-$LINENO}:
8659 =====================================================================
8660 elfutils: ${PACKAGE_VERSION} (eu_version: ${eu_version})
8661 =====================================================================
8664 Program prefix (\"eu-\" recommended) : ${program_prefix}
8665 Source code location : ${srcdir}
8666 Maintainer mode : ${enable_maintainer_mode}
8667 libebl modules subdirectory : ${LIBEBL_SUBDIR}
8668 build arch : ${ac_cv_build}
8670 RECOMMENDED FEATURES (should all be yes)
8671 gzip support : ${with_zlib}
8672 bzip2 support : ${with_bzlib}
8673 lzma/xz support : ${with_lzma}
8674 libstdc++ demangle support : ${enable_demangler}
8675 File textrel check : ${enable_textrelcheck}
8676 Symbol versioning : ${enable_symbol_versioning}
8678 NOT RECOMMENDED FEATURES (should all be no)
8679 Experimental thread safety : ${use_locks}
8682 Deterministic archives by default : ${default_ar_deterministic}
8683 Native language support : ${USE_NLS}
8685 EXTRA TEST FEATURES (used with make check)
8686 have bunzip2 installed (required) : ${HAVE_BUNZIP2}
8687 debug branch prediction : ${use_debugpred}
8688 gprof support : ${use_gprof}
8689 gcov support : ${use_gcov}
8690 run all tests under valgrind : ${use_valgrind}
8691 gcc undefined behaviour sanitizer : ${use_undefined}
8692 use rpath in tests : ${tests_use_rpath}
8693 test biarch : ${utrace_cv_cc_biarch}
8696 =====================================================================
8697 elfutils: ${PACKAGE_VERSION} (eu_version: ${eu_version})
8698 =====================================================================
8701 Program prefix (\"eu-\" recommended) : ${program_prefix}
8702 Source code location : ${srcdir}
8703 Maintainer mode : ${enable_maintainer_mode}
8704 libebl modules subdirectory : ${LIBEBL_SUBDIR}
8705 build arch : ${ac_cv_build}
8707 RECOMMENDED FEATURES (should all be yes)
8708 gzip support : ${with_zlib}
8709 bzip2 support : ${with_bzlib}
8710 lzma/xz support : ${with_lzma}
8711 libstdc++ demangle support : ${enable_demangler}
8712 File textrel check : ${enable_textrelcheck}
8713 Symbol versioning : ${enable_symbol_versioning}
8715 NOT RECOMMENDED FEATURES (should all be no)
8716 Experimental thread safety : ${use_locks}
8719 Deterministic archives by default : ${default_ar_deterministic}
8720 Native language support : ${USE_NLS}
8722 EXTRA TEST FEATURES (used with make check)
8723 have bunzip2 installed (required) : ${HAVE_BUNZIP2}
8724 debug branch prediction : ${use_debugpred}
8725 gprof support : ${use_gprof}
8726 gcov support : ${use_gcov}
8727 run all tests under valgrind : ${use_valgrind}
8728 gcc undefined behaviour sanitizer : ${use_undefined}
8729 use rpath in tests : ${tests_use_rpath}
8730 test biarch : ${utrace_cv_cc_biarch}