2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for elfutils 0.160.
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-2014 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.160'
586 PACKAGE_STRING='elfutils 0.160'
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
638 XGETTEXT_EXTRA_OPTIONS
646 GETTEXT_MACRO_VERSION
718 MAINTAINER_MODE_FALSE
732 INSTALL_STRIP_PROGRAM
774 program_transform_name
787 enable_option_checking
789 enable_maintainer_mode
790 enable_deterministic_archives
792 enable_dependency_tracking
807 ac_precious_vars='build_alias
820 # Initialize some variables set by options.
822 ac_init_version=false
823 ac_unrecognized_opts=
825 # The variables have the same names as the options, with
826 # dashes changed to underlines.
834 program_transform_name=s,x,x,
842 # Installation directory options.
843 # These are left unexpanded so users can "make install exec_prefix=/foo"
844 # and all the variables that are supposed to be based on exec_prefix
845 # by default will actually change.
846 # Use braces instead of parens because sh, perl, etc. also accept them.
847 # (The list follows the same order as the GNU Coding Standards.)
848 bindir='${exec_prefix}/bin'
849 sbindir='${exec_prefix}/sbin'
850 libexecdir='${exec_prefix}/libexec'
851 datarootdir='${prefix}/share'
852 datadir='${datarootdir}'
853 sysconfdir='${prefix}/etc'
854 sharedstatedir='${prefix}/com'
855 localstatedir='${prefix}/var'
856 includedir='${prefix}/include'
857 oldincludedir='/usr/include'
858 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
859 infodir='${datarootdir}/info'
864 libdir='${exec_prefix}/lib'
865 localedir='${datarootdir}/locale'
866 mandir='${datarootdir}/man'
872 # If the previous option needs an argument, assign it.
873 if test -n "$ac_prev"; then
874 eval $ac_prev=\$ac_option
880 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885 # Accept the important Cygnus configure options, so we can diagnose typos.
887 case $ac_dashdash$ac_option in
891 -bindir | --bindir | --bindi | --bind | --bin | --bi)
893 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
896 -build | --build | --buil | --bui | --bu)
897 ac_prev=build_alias ;;
898 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
899 build_alias=$ac_optarg ;;
901 -cache-file | --cache-file | --cache-fil | --cache-fi \
902 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
903 ac_prev=cache_file ;;
904 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
905 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
906 cache_file=$ac_optarg ;;
909 cache_file=config.cache ;;
911 -datadir | --datadir | --datadi | --datad)
913 -datadir=* | --datadir=* | --datadi=* | --datad=*)
914 datadir=$ac_optarg ;;
916 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
917 | --dataroo | --dataro | --datar)
918 ac_prev=datarootdir ;;
919 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
920 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
921 datarootdir=$ac_optarg ;;
923 -disable-* | --disable-*)
924 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
927 as_fn_error $? "invalid feature name: $ac_useropt"
928 ac_useropt_orig=$ac_useropt
929 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
930 case $ac_user_opts in
934 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
935 ac_unrecognized_sep=', ';;
937 eval enable_$ac_useropt=no ;;
939 -docdir | --docdir | --docdi | --doc | --do)
941 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
944 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
946 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
949 -enable-* | --enable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error $? "invalid feature name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
963 eval enable_$ac_useropt=\$ac_optarg ;;
965 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
966 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
967 | --exec | --exe | --ex)
968 ac_prev=exec_prefix ;;
969 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
970 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
971 | --exec=* | --exe=* | --ex=*)
972 exec_prefix=$ac_optarg ;;
974 -gas | --gas | --ga | --g)
975 # Obsolete; use --with-gas.
978 -help | --help | --hel | --he | -h)
980 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
981 ac_init_help=recursive ;;
982 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
983 ac_init_help=short ;;
985 -host | --host | --hos | --ho)
986 ac_prev=host_alias ;;
987 -host=* | --host=* | --hos=* | --ho=*)
988 host_alias=$ac_optarg ;;
990 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
992 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
994 htmldir=$ac_optarg ;;
996 -includedir | --includedir | --includedi | --included | --include \
997 | --includ | --inclu | --incl | --inc)
998 ac_prev=includedir ;;
999 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1000 | --includ=* | --inclu=* | --incl=* | --inc=*)
1001 includedir=$ac_optarg ;;
1003 -infodir | --infodir | --infodi | --infod | --info | --inf)
1005 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1006 infodir=$ac_optarg ;;
1008 -libdir | --libdir | --libdi | --libd)
1010 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1011 libdir=$ac_optarg ;;
1013 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1014 | --libexe | --libex | --libe)
1015 ac_prev=libexecdir ;;
1016 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1017 | --libexe=* | --libex=* | --libe=*)
1018 libexecdir=$ac_optarg ;;
1020 -localedir | --localedir | --localedi | --localed | --locale)
1021 ac_prev=localedir ;;
1022 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1023 localedir=$ac_optarg ;;
1025 -localstatedir | --localstatedir | --localstatedi | --localstated \
1026 | --localstate | --localstat | --localsta | --localst | --locals)
1027 ac_prev=localstatedir ;;
1028 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1029 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1030 localstatedir=$ac_optarg ;;
1032 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1034 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1035 mandir=$ac_optarg ;;
1037 -nfp | --nfp | --nf)
1038 # Obsolete; use --without-fp.
1041 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1042 | --no-cr | --no-c | -n)
1045 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1046 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1049 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1050 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1051 | --oldin | --oldi | --old | --ol | --o)
1052 ac_prev=oldincludedir ;;
1053 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1054 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1055 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1056 oldincludedir=$ac_optarg ;;
1058 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1060 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1061 prefix=$ac_optarg ;;
1063 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1064 | --program-pre | --program-pr | --program-p)
1065 ac_prev=program_prefix ;;
1066 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1067 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1068 program_prefix=$ac_optarg ;;
1070 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1071 | --program-suf | --program-su | --program-s)
1072 ac_prev=program_suffix ;;
1073 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1074 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1075 program_suffix=$ac_optarg ;;
1077 -program-transform-name | --program-transform-name \
1078 | --program-transform-nam | --program-transform-na \
1079 | --program-transform-n | --program-transform- \
1080 | --program-transform | --program-transfor \
1081 | --program-transfo | --program-transf \
1082 | --program-trans | --program-tran \
1083 | --progr-tra | --program-tr | --program-t)
1084 ac_prev=program_transform_name ;;
1085 -program-transform-name=* | --program-transform-name=* \
1086 | --program-transform-nam=* | --program-transform-na=* \
1087 | --program-transform-n=* | --program-transform-=* \
1088 | --program-transform=* | --program-transfor=* \
1089 | --program-transfo=* | --program-transf=* \
1090 | --program-trans=* | --program-tran=* \
1091 | --progr-tra=* | --program-tr=* | --program-t=*)
1092 program_transform_name=$ac_optarg ;;
1094 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1096 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1097 pdfdir=$ac_optarg ;;
1099 -psdir | --psdir | --psdi | --psd | --ps)
1101 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1104 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1105 | -silent | --silent | --silen | --sile | --sil)
1108 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1110 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1112 sbindir=$ac_optarg ;;
1114 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1115 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1116 | --sharedst | --shareds | --shared | --share | --shar \
1118 ac_prev=sharedstatedir ;;
1119 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1120 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1121 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1123 sharedstatedir=$ac_optarg ;;
1125 -site | --site | --sit)
1127 -site=* | --site=* | --sit=*)
1130 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1132 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1133 srcdir=$ac_optarg ;;
1135 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1136 | --syscon | --sysco | --sysc | --sys | --sy)
1137 ac_prev=sysconfdir ;;
1138 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1139 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1140 sysconfdir=$ac_optarg ;;
1142 -target | --target | --targe | --targ | --tar | --ta | --t)
1143 ac_prev=target_alias ;;
1144 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1145 target_alias=$ac_optarg ;;
1147 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1150 -version | --version | --versio | --versi | --vers | -V)
1151 ac_init_version=: ;;
1154 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157 as_fn_error $? "invalid package name: $ac_useropt"
1158 ac_useropt_orig=$ac_useropt
1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165 ac_unrecognized_sep=', ';;
1167 eval with_$ac_useropt=\$ac_optarg ;;
1169 -without-* | --without-*)
1170 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 as_fn_error $? "invalid package name: $ac_useropt"
1174 ac_useropt_orig=$ac_useropt
1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1181 ac_unrecognized_sep=', ';;
1183 eval with_$ac_useropt=no ;;
1186 # Obsolete; use --with-x.
1189 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1190 | --x-incl | --x-inc | --x-in | --x-i)
1191 ac_prev=x_includes ;;
1192 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1193 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1194 x_includes=$ac_optarg ;;
1196 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1197 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1198 ac_prev=x_libraries ;;
1199 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1200 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1201 x_libraries=$ac_optarg ;;
1203 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1204 Try \`$0 --help' for more information"
1208 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1209 # Reject names that are not valid shell variable names.
1210 case $ac_envvar in #(
1211 '' | [0-9]* | *[!_$as_cr_alnum]* )
1212 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1214 eval $ac_envvar=\$ac_optarg
1215 export $ac_envvar ;;
1218 # FIXME: should be removed in autoconf 3.0.
1219 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1220 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1221 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1222 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1228 if test -n "$ac_prev"; then
1229 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1230 as_fn_error $? "missing argument to $ac_option"
1233 if test -n "$ac_unrecognized_opts"; then
1234 case $enable_option_checking in
1236 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1237 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241 # Check all directory arguments for consistency.
1242 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1243 datadir sysconfdir sharedstatedir localstatedir includedir \
1244 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1245 libdir localedir mandir
1247 eval ac_val=\$$ac_var
1248 # Remove trailing slashes.
1251 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1252 eval $ac_var=\$ac_val;;
1254 # Be sure to have absolute directory names.
1256 [\\/$]* | ?:[\\/]* ) continue;;
1257 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1259 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1262 # There might be people who depend on the old broken behavior: `$host'
1263 # used to hold the argument of --host etc.
1264 # FIXME: To remove some day.
1267 target=$target_alias
1269 # FIXME: To remove some day.
1270 if test "x$host_alias" != x; then
1271 if test "x$build_alias" = x; then
1272 cross_compiling=maybe
1273 elif test "x$build_alias" != "x$host_alias"; then
1279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1281 test "$silent" = yes && exec 6>/dev/null
1284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1285 ac_ls_di=`ls -di .` &&
1286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1287 as_fn_error $? "working directory cannot be determined"
1288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1289 as_fn_error $? "pwd does not report name of working directory"
1292 # Find the source files, if location was not specified.
1293 if test -z "$srcdir"; then
1294 ac_srcdir_defaulted=yes
1295 # Try the directory containing this script, then the parent directory.
1296 ac_confdir=`$as_dirname -- "$as_myself" ||
1297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1298 X"$as_myself" : 'X\(//\)[^/]' \| \
1299 X"$as_myself" : 'X\(//\)$' \| \
1300 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1301 $as_echo X"$as_myself" |
1302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1324 ac_srcdir_defaulted=no
1326 if test ! -r "$srcdir/$ac_unique_file"; then
1327 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1328 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1330 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1332 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1334 # When building in place, set srcdir=.
1335 if test "$ac_abs_confdir" = "$ac_pwd"; then
1338 # Remove unnecessary trailing slashes from srcdir.
1339 # Double slashes in file names in object file debugging info
1340 # mess up M-x gdb in Emacs.
1342 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1344 for ac_var in $ac_precious_vars; do
1345 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1346 eval ac_env_${ac_var}_value=\$${ac_var}
1347 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1348 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1352 # Report the --help message.
1354 if test "$ac_init_help" = "long"; then
1355 # Omit some internal or obsolete options to make the list less imposing.
1356 # This message is too long to be a string in the A/UX 3.1 sh.
1358 \`configure' configures elfutils 0.160 to adapt to many kinds of systems.
1360 Usage: $0 [OPTION]... [VAR=VALUE]...
1362 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1363 VAR=VALUE. See below for descriptions of some of the useful variables.
1365 Defaults for the options are specified in brackets.
1368 -h, --help display this help and exit
1369 --help=short display options specific to this package
1370 --help=recursive display the short help of all the included packages
1371 -V, --version display version information and exit
1372 -q, --quiet, --silent do not print \`checking ...' messages
1373 --cache-file=FILE cache test results in FILE [disabled]
1374 -C, --config-cache alias for \`--cache-file=config.cache'
1375 -n, --no-create do not create output files
1376 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1378 Installation directories:
1379 --prefix=PREFIX install architecture-independent files in PREFIX
1380 [$ac_default_prefix]
1381 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1384 By default, \`make install' will install all the files in
1385 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1386 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1387 for instance \`--prefix=\$HOME'.
1389 For better control, use the options below.
1391 Fine tuning of the installation directories:
1392 --bindir=DIR user executables [EPREFIX/bin]
1393 --sbindir=DIR system admin executables [EPREFIX/sbin]
1394 --libexecdir=DIR program executables [EPREFIX/libexec]
1395 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1396 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1397 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1398 --libdir=DIR object code libraries [EPREFIX/lib]
1399 --includedir=DIR C header files [PREFIX/include]
1400 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1401 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1402 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1403 --infodir=DIR info documentation [DATAROOTDIR/info]
1404 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1405 --mandir=DIR man documentation [DATAROOTDIR/man]
1406 --docdir=DIR documentation root [DATAROOTDIR/doc/elfutils]
1407 --htmldir=DIR html documentation [DOCDIR]
1408 --dvidir=DIR dvi documentation [DOCDIR]
1409 --pdfdir=DIR pdf documentation [DOCDIR]
1410 --psdir=DIR ps documentation [DOCDIR]
1416 --program-prefix=PREFIX prepend PREFIX to installed program names
1417 --program-suffix=SUFFIX append SUFFIX to installed program names
1418 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1421 --build=BUILD configure for building on BUILD [guessed]
1422 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1426 if test -n "$ac_init_help"; then
1427 case $ac_init_help in
1428 short | recursive ) echo "Configuration of elfutils 0.160:";;
1433 --disable-option-checking ignore unrecognized --enable/--with options
1434 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1435 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1436 --enable-silent-rules less verbose build output (undo: "make V=1")
1437 --disable-silent-rules verbose build output (undo: "make V=0")
1438 --enable-maintainer-mode
1439 enable make rules and dependencies not useful (and
1440 sometimes confusing) to the casual installer
1441 --enable-deterministic-archives
1442 ar and ranlib default to -D behavior
1443 --enable-thread-safety enable thread safety of libraries EXPERIMENTAL
1444 --enable-dependency-tracking
1445 do not reject slow dependency extractors
1446 --disable-dependency-tracking
1447 speeds up one-time build
1448 --disable-largefile omit support for large files
1449 --disable-generic do not build generic linker
1450 --enable-debugpred build binaries with support to debug branch
1452 --enable-gprof build binaries with gprof support
1453 --enable-gcov build binaries with gcov support
1454 --enable-valgrind run all tests under valgrind
1455 --enable-tests-rpath build $ORIGIN-using rpath into tests
1456 --enable-libebl-subdir=DIR
1457 install libebl_CPU modules in $(libdir)/DIR
1458 --disable-nls do not use Native Language Support
1461 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1462 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1463 --with-zlib support [zlib] compression in libdwfl
1464 --with-bzlib support [bzlib] compression in libdwfl
1465 --with-lzma support [lzma] compression in libdwfl
1466 --with-biarch enable biarch tests despite build problems
1468 Some influential environment variables:
1469 CC C compiler command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1472 nonstandard directory <lib dir>
1473 LIBS libraries to pass to the linker, e.g. -l<library>
1474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1475 you have headers in a nonstandard directory <include dir>
1476 YACC The `Yet Another Compiler Compiler' implementation to use.
1477 Defaults to the first program found out of: `bison -y', `byacc',
1479 YFLAGS The list of arguments that will be passed by default to $YACC.
1480 This script will default YFLAGS to the empty string to avoid a
1481 default value of `-d' given by some make applications.
1484 Use these variables to override the choices made by `configure' or to help
1485 it to find libraries and programs with nonstandard names/locations.
1487 Report bugs to <https://bugzilla.redhat.com/>.
1492 if test "$ac_init_help" = "recursive"; then
1493 # If there are subdirs, report their specific --help.
1494 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1495 test -d "$ac_dir" ||
1496 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1503 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1504 # A ".." for each directory in $ac_dir_suffix.
1505 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1506 case $ac_top_builddir_sub in
1507 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1508 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1511 ac_abs_top_builddir=$ac_pwd
1512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1513 # for backward compatibility:
1514 ac_top_builddir=$ac_top_build_prefix
1517 .) # We are building in place.
1519 ac_top_srcdir=$ac_top_builddir_sub
1520 ac_abs_top_srcdir=$ac_pwd ;;
1521 [\\/]* | ?:[\\/]* ) # Absolute name.
1522 ac_srcdir=$srcdir$ac_dir_suffix;
1523 ac_top_srcdir=$srcdir
1524 ac_abs_top_srcdir=$srcdir ;;
1526 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1527 ac_top_srcdir=$ac_top_build_prefix$srcdir
1528 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1532 cd "$ac_dir" || { ac_status=$?; continue; }
1533 # Check for guested configure.
1534 if test -f "$ac_srcdir/configure.gnu"; then
1536 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1537 elif test -f "$ac_srcdir/configure"; then
1539 $SHELL "$ac_srcdir/configure" --help=recursive
1541 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1543 cd "$ac_pwd" || { ac_status=$?; break; }
1547 test -n "$ac_init_help" && exit $ac_status
1548 if $ac_init_version; then
1550 elfutils configure 0.160
1551 generated by GNU Autoconf 2.69
1553 Copyright (C) 2012 Free Software Foundation, Inc.
1554 This configure script is free software; the Free Software Foundation
1555 gives unlimited permission to copy, distribute and modify it.
1557 Copyright (C) 1996-2014 Red Hat, Inc.
1562 ## ------------------------ ##
1563 ## Autoconf initialization. ##
1564 ## ------------------------ ##
1566 # ac_fn_c_try_compile LINENO
1567 # --------------------------
1568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1569 ac_fn_c_try_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 rm -f conftest.$ac_objext
1573 if { { ac_try="$ac_compile"
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_compile") 2>conftest.err
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } && {
1589 test -z "$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1591 } && test -s conftest.$ac_objext; then :
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status $ac_retval
1602 } # ac_fn_c_try_compile
1604 # ac_fn_c_try_link LINENO
1605 # -----------------------
1606 # Try to link conftest.$ac_ext, and return whether this succeeded.
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 rm -f conftest.$ac_objext conftest$ac_exeext
1611 if { { ac_try="$ac_link"
1613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_link") 2>conftest.err
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest$ac_exeext && {
1630 test "$cross_compiling" = yes ||
1631 test -x conftest$ac_exeext
1635 $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.$ac_ext >&5
1640 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1641 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1642 # interfere with the next link command; also delete a directory that is
1643 # left behind by Apple's compiler. We do this before executing the actions.
1644 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1645 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646 as_fn_set_status $ac_retval
1648 } # ac_fn_c_try_link
1650 # ac_fn_c_try_run LINENO
1651 # ----------------------
1652 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1653 # that executables *can* be run.
1656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657 if { { ac_try="$ac_link"
1659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660 *) ac_try_echo=$ac_try;;
1662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663 $as_echo "$ac_try_echo"; } >&5
1664 (eval "$ac_link") 2>&5
1666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1667 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1668 { { case "(($ac_try" in
1669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1670 *) ac_try_echo=$ac_try;;
1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1673 $as_echo "$ac_try_echo"; } >&5
1674 (eval "$ac_try") 2>&5
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; }; }; then :
1680 $as_echo "$as_me: program exited with status $ac_status" >&5
1681 $as_echo "$as_me: failed program was:" >&5
1682 sed 's/^/| /' conftest.$ac_ext >&5
1684 ac_retval=$ac_status
1686 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1692 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1693 # --------------------------------------------
1694 # Tries to find the compile-time value of EXPR in a program that includes
1695 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1697 ac_fn_c_compute_int ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 if test "$cross_compiling" = yes; then
1701 # Depending upon the size, compute the lo and hi bounds.
1702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1703 /* end confdefs.h. */
1708 static int test_array [1 - 2 * !(($2) >= 0)];
1710 return test_array [0];
1716 if ac_fn_c_try_compile "$LINENO"; then :
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1725 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1727 return test_array [0];
1733 if ac_fn_c_try_compile "$LINENO"; then :
1734 ac_hi=$ac_mid; break
1736 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1737 if test $ac_lo -le $ac_mid; then
1741 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747 /* end confdefs.h. */
1752 static int test_array [1 - 2 * !(($2) < 0)];
1754 return test_array [0];
1760 if ac_fn_c_try_compile "$LINENO"; then :
1763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1764 /* end confdefs.h. */
1769 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1771 return test_array [0];
1777 if ac_fn_c_try_compile "$LINENO"; then :
1778 ac_lo=$ac_mid; break
1780 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1781 if test $ac_mid -le $ac_hi; then
1785 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795 # Binary search between lo and hi bounds.
1796 while test "x$ac_lo" != "x$ac_hi"; do
1797 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1804 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1806 return test_array [0];
1812 if ac_fn_c_try_compile "$LINENO"; then :
1815 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1827 static long int longval () { return $2; }
1828 static unsigned long int ulongval () { return $2; }
1835 FILE *f = fopen ("conftest.val", "w");
1840 long int i = longval ();
1843 fprintf (f, "%ld", i);
1847 unsigned long int i = ulongval ();
1850 fprintf (f, "%lu", i);
1852 /* Do not output a trailing newline, as this causes \r\n confusion
1853 on some platforms. */
1854 return ferror (f) || fclose (f) != 0;
1860 if ac_fn_c_try_run "$LINENO"; then :
1861 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1866 conftest.$ac_objext conftest.beam conftest.$ac_ext
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1873 } # ac_fn_c_compute_int
1875 # ac_fn_c_try_cpp LINENO
1876 # ----------------------
1877 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_cpp conftest.$ac_ext"
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1890 if test -s conftest.err; then
1891 grep -v '^ *+' conftest.err >conftest.er1
1892 cat conftest.er1 >&5
1893 mv -f conftest.er1 conftest.err
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } > conftest.i && {
1897 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1898 test ! -s conftest.err
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1907 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1908 as_fn_set_status $ac_retval
1912 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1913 # -------------------------------------------------------
1914 # Tests whether HEADER exists and can be compiled using the include files in
1915 # INCLUDES, setting the cache variable VAR accordingly.
1916 ac_fn_c_check_header_compile ()
1918 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1920 $as_echo_n "checking for $2... " >&6; }
1921 if eval \${$3+:} false; then :
1922 $as_echo_n "(cached) " >&6
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h. */
1929 if ac_fn_c_try_compile "$LINENO"; then :
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938 $as_echo "$ac_res" >&6; }
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941 } # ac_fn_c_check_header_compile
1943 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1944 # -------------------------------------------
1945 # Tests whether TYPE exists after having included INCLUDES, setting cache
1946 # variable VAR accordingly.
1947 ac_fn_c_check_type ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if eval \${$3+:} false; then :
1953 $as_echo_n "(cached) " >&6
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1968 if ac_fn_c_try_compile "$LINENO"; then :
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1981 if ac_fn_c_try_compile "$LINENO"; then :
1986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992 $as_echo "$ac_res" >&6; }
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1995 } # ac_fn_c_check_type
1996 cat >config.log <<_ACEOF
1997 This file contains any messages produced by compilers while
1998 running configure, to aid debugging if configure makes a mistake.
2000 It was created by elfutils $as_me 0.160, which was
2001 generated by GNU Autoconf 2.69. Invocation command line was
2013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2025 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 test -z "$as_dir" && as_dir=.
2037 $as_echo "PATH: $as_dir"
2053 # Keep a trace of the command line.
2054 # Strip out --no-create and --no-recursion so they do not pile up.
2055 # Strip out --silent because we don't want to record it for future runs.
2056 # Also quote any args containing shell meta-characters.
2057 # Make two passes to allow for proper duplicate-argument suppression.
2061 ac_must_keep_next=false
2067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2069 | -silent | --silent | --silen | --sile | --sil)
2072 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2075 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2077 as_fn_append ac_configure_args1 " '$ac_arg'"
2078 if test $ac_must_keep_next = true; then
2079 ac_must_keep_next=false # Got value, back to normal.
2082 *=* | --config-cache | -C | -disable-* | --disable-* \
2083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2085 | -with-* | --with-* | -without-* | --without-* | --x)
2086 case "$ac_configure_args0 " in
2087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2090 -* ) ac_must_keep_next=true ;;
2093 as_fn_append ac_configure_args " '$ac_arg'"
2098 { ac_configure_args0=; unset ac_configure_args0;}
2099 { ac_configure_args1=; unset ac_configure_args1;}
2101 # When interrupted or exit'd, cleanup temporary files, and complete
2102 # config.log. We remove comments because anyway the quotes in there
2103 # would cause problems or look ugly.
2104 # WARNING: Use '\'' to represent an apostrophe within the trap.
2105 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2106 trap 'exit_status=$?
2107 # Save into config.log some information that might help in debugging.
2111 $as_echo "## ---------------- ##
2112 ## Cache variables. ##
2113 ## ---------------- ##"
2115 # The following way of writing the cache mishandles newlines in values,
2117 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2118 eval ac_val=\$$ac_var
2122 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2123 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2126 _ | IFS | as_nl) ;; #(
2127 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2128 *) { eval $ac_var=; unset $ac_var;} ;;
2133 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2134 *${as_nl}ac_space=\ *)
2136 "s/'\''/'\''\\\\'\'''\''/g;
2137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2147 $as_echo "## ----------------- ##
2148 ## Output variables. ##
2149 ## ----------------- ##"
2151 for ac_var in $ac_subst_vars
2153 eval ac_val=\$$ac_var
2155 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2157 $as_echo "$ac_var='\''$ac_val'\''"
2161 if test -n "$ac_subst_files"; then
2162 $as_echo "## ------------------- ##
2163 ## File substitutions. ##
2164 ## ------------------- ##"
2166 for ac_var in $ac_subst_files
2168 eval ac_val=\$$ac_var
2170 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2172 $as_echo "$ac_var='\''$ac_val'\''"
2177 if test -s confdefs.h; then
2178 $as_echo "## ----------- ##
2185 test "$ac_signal" != 0 &&
2186 $as_echo "$as_me: caught signal $ac_signal"
2187 $as_echo "$as_me: exit $exit_status"
2189 rm -f core *.core core.conftest.* &&
2190 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2193 for ac_signal in 1 2 13 15; do
2194 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2198 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2199 rm -f -r conftest* confdefs.h
2201 $as_echo "/* confdefs.h */" > confdefs.h
2203 # Predefined preprocessor variables.
2205 cat >>confdefs.h <<_ACEOF
2206 #define PACKAGE_NAME "$PACKAGE_NAME"
2209 cat >>confdefs.h <<_ACEOF
2210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2213 cat >>confdefs.h <<_ACEOF
2214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_STRING "$PACKAGE_STRING"
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2225 cat >>confdefs.h <<_ACEOF
2226 #define PACKAGE_URL "$PACKAGE_URL"
2230 # Let the site file select an alternate cache file if it wants to.
2231 # Prefer an explicitly selected file to automatically selected ones.
2234 if test -n "$CONFIG_SITE"; then
2235 # We do not want a PATH search for config.site.
2236 case $CONFIG_SITE in #((
2237 -*) ac_site_file1=./$CONFIG_SITE;;
2238 */*) ac_site_file1=$CONFIG_SITE;;
2239 *) ac_site_file1=./$CONFIG_SITE;;
2241 elif test "x$prefix" != xNONE; then
2242 ac_site_file1=$prefix/share/config.site
2243 ac_site_file2=$prefix/etc/config.site
2245 ac_site_file1=$ac_default_prefix/share/config.site
2246 ac_site_file2=$ac_default_prefix/etc/config.site
2248 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2250 test "x$ac_site_file" = xNONE && continue
2251 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2253 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2254 sed 's/^/| /' "$ac_site_file" >&5
2256 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2258 as_fn_error $? "failed to load site script $ac_site_file
2259 See \`config.log' for more details" "$LINENO" 5; }
2263 if test -r "$cache_file"; then
2264 # Some versions of bash will fail to source /dev/null (special files
2265 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2266 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2268 $as_echo "$as_me: loading cache $cache_file" >&6;}
2270 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2271 *) . "./$cache_file";;
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2276 $as_echo "$as_me: creating cache $cache_file" >&6;}
2280 # Check that the precious variables saved in the cache have kept the same
2282 ac_cache_corrupted=false
2283 for ac_var in $ac_precious_vars; do
2284 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2285 eval ac_new_set=\$ac_env_${ac_var}_set
2286 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2287 eval ac_new_val=\$ac_env_${ac_var}_value
2288 case $ac_old_set,$ac_new_set in
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2291 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2292 ac_cache_corrupted=: ;;
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2295 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2299 if test "x$ac_old_val" != "x$ac_new_val"; then
2300 # differences in whitespace do not lead to failure.
2301 ac_old_val_w=`echo x $ac_old_val`
2302 ac_new_val_w=`echo x $ac_new_val`
2303 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2305 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2306 ac_cache_corrupted=:
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2309 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2310 eval $ac_var=\$ac_old_val
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2313 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2315 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2318 # Pass precious variables to config.status.
2319 if test "$ac_new_set" = set; then
2321 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2322 *) ac_arg=$ac_var=$ac_new_val ;;
2324 case " $ac_configure_args " in
2325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2326 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2330 if $ac_cache_corrupted; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2334 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2335 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2337 ## -------------------- ##
2338 ## Main body of script. ##
2339 ## -------------------- ##
2342 ac_cpp='$CPP $CPPFLAGS'
2343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2350 for ac_dir in config "$srcdir"/config; do
2351 if test -f "$ac_dir/install-sh"; then
2353 ac_install_sh="$ac_aux_dir/install-sh -c"
2355 elif test -f "$ac_dir/install.sh"; then
2357 ac_install_sh="$ac_aux_dir/install.sh -c"
2359 elif test -f "$ac_dir/shtool"; then
2361 ac_install_sh="$ac_aux_dir/shtool install -c"
2365 if test -z "$ac_aux_dir"; then
2366 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2369 # These three variables are undocumented and unsupported,
2370 # and are intended to be withdrawn in a future Autoconf release.
2371 # They can cause serious problems if a builder's source tree is in a directory
2372 # whose full name contains unusual characters.
2373 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2374 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2375 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2378 ac_config_files="$ac_config_files config/Makefile"
2383 am__api_version='1.13'
2385 # Find a good install program. We prefer a C program (faster),
2386 # so one script is as good as another. But avoid the broken or
2387 # incompatible versions:
2388 # SysV /etc/install, /usr/sbin/install
2389 # SunOS /usr/etc/install
2390 # IRIX /sbin/install
2392 # AmigaOS /C/install, which installs bootblocks on floppy discs
2393 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2394 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2395 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2396 # OS/2's system install, which has a completely different semantic
2397 # ./install, which can be erroneously created by make from ./install.sh.
2398 # Reject install programs that cannot install multiple files.
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2400 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2401 if test -z "$INSTALL"; then
2402 if ${ac_cv_path_install+:} false; then :
2403 $as_echo_n "(cached) " >&6
2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409 test -z "$as_dir" && as_dir=.
2410 # Account for people who put trailing slashes in PATH elements.
2411 case $as_dir/ in #((
2412 ./ | .// | /[cC]/* | \
2413 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2414 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2417 # OSF1 and SCO ODT 3.0 have their own names for install.
2418 # Don't use installbsd from OSF since it installs stuff as root
2420 for ac_prog in ginstall scoinst install; do
2421 for ac_exec_ext in '' $ac_executable_extensions; do
2422 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2423 if test $ac_prog = install &&
2424 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2425 # AIX install. It has an incompatible calling convention.
2427 elif test $ac_prog = install &&
2428 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2429 # program-specific install script used by HP pwplus--don't use.
2432 rm -rf conftest.one conftest.two conftest.dir
2433 echo one > conftest.one
2434 echo two > conftest.two
2436 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2437 test -s conftest.one && test -s conftest.two &&
2438 test -s conftest.dir/conftest.one &&
2439 test -s conftest.dir/conftest.two
2441 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2454 rm -rf conftest.one conftest.two conftest.dir
2457 if test "${ac_cv_path_install+set}" = set; then
2458 INSTALL=$ac_cv_path_install
2460 # As a last resort, use the slow shell script. Don't cache a
2461 # value for INSTALL within a source directory, because that will
2462 # break other packages using the cache if that directory is
2463 # removed, or if the value is a relative name.
2464 INSTALL=$ac_install_sh
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2468 $as_echo "$INSTALL" >&6; }
2470 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2471 # It thinks the first close brace ends the variable substitution.
2472 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2474 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2476 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2479 $as_echo_n "checking whether build environment is sane... " >&6; }
2480 # Reject unsafe characters in $srcdir or the absolute working directory
2481 # name. Accept space and tab only in the latter.
2485 *[\\\"\#\$\&\'\`$am_lf]*)
2486 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2489 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2490 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2493 # Do 'set' in a subshell so we don't clobber the current shell's
2494 # arguments. Must try -L first in case configure is actually a
2495 # symlink; some systems play weird games with the mod time of symlinks
2496 # (eg FreeBSD returns the mod time of the symlink's containing
2500 for am_try in 1 2; do
2501 echo "timestamp, slept: $am_has_slept" > conftest.file
2502 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2503 if test "$*" = "X"; then
2505 set X `ls -t "$srcdir/configure" conftest.file`
2507 if test "$*" != "X $srcdir/configure conftest.file" \
2508 && test "$*" != "X conftest.file $srcdir/configure"; then
2510 # If neither matched, then we have a broken ls. This can happen
2511 # if, for instance, CONFIG_SHELL is bash and it inherits a
2512 # broken ls alias from the environment. This has actually
2513 # happened. Such a system could not be considered "sane".
2514 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2515 alias in your environment" "$LINENO" 5
2517 if test "$2" = conftest.file || test $am_try -eq 2; then
2524 test "$2" = conftest.file
2530 as_fn_error $? "newly created file is older than distributed files!
2531 Check your system clock" "$LINENO" 5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2534 $as_echo "yes" >&6; }
2535 # If we didn't sleep, we still need to ensure time stamps of config.status and
2536 # generated files are strictly newer.
2538 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2545 test "$program_prefix" != NONE &&
2546 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2547 # Use a double $ so make ignores it.
2548 test "$program_suffix" != NONE &&
2549 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2550 # Double any \ or $.
2551 # By default was `s,x,x', remove it if useless.
2552 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2553 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2555 # expand $ac_aux_dir to an absolute path
2556 am_aux_dir=`cd $ac_aux_dir && pwd`
2558 if test x"${MISSING+set}" != xset; then
2561 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2563 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2566 # Use eval to expand $SHELL
2567 if eval "$MISSING --is-lightweight"; then
2568 am_missing_run="$MISSING "
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2572 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2575 if test x"${install_sh}" != xset; then
2578 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2580 install_sh="\${SHELL} $am_aux_dir/install-sh"
2584 # Installed binaries are usually stripped using 'strip' when the user
2585 # run "make install-strip". However 'strip' might not be the right
2586 # tool to use in cross-compilation environments, therefore Automake
2587 # will honor the 'STRIP' environment variable to overrule this program.
2588 if test "$cross_compiling" != no; then
2589 if test -n "$ac_tool_prefix"; then
2590 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2591 set dummy ${ac_tool_prefix}strip; ac_word=$2
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593 $as_echo_n "checking for $ac_word... " >&6; }
2594 if ${ac_cv_prog_STRIP+:} false; then :
2595 $as_echo_n "(cached) " >&6
2597 if test -n "$STRIP"; then
2598 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604 test -z "$as_dir" && as_dir=.
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2607 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617 STRIP=$ac_cv_prog_STRIP
2618 if test -n "$STRIP"; then
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2620 $as_echo "$STRIP" >&6; }
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623 $as_echo "no" >&6; }
2628 if test -z "$ac_cv_prog_STRIP"; then
2630 # Extract the first word of "strip", so it can be a program name with args.
2631 set dummy strip; ac_word=$2
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633 $as_echo_n "checking for $ac_word... " >&6; }
2634 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2635 $as_echo_n "(cached) " >&6
2637 if test -n "$ac_ct_STRIP"; then
2638 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir=.
2645 for ac_exec_ext in '' $ac_executable_extensions; do
2646 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2647 ac_cv_prog_ac_ct_STRIP="strip"
2648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2658 if test -n "$ac_ct_STRIP"; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2660 $as_echo "$ac_ct_STRIP" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663 $as_echo "no" >&6; }
2666 if test "x$ac_ct_STRIP" = x; then
2669 case $cross_compiling:$ac_tool_warned in
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2673 ac_tool_warned=yes ;;
2678 STRIP="$ac_cv_prog_STRIP"
2682 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2685 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2686 if test -z "$MKDIR_P"; then
2687 if ${ac_cv_path_mkdir+:} false; then :
2688 $as_echo_n "(cached) " >&6
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2694 test -z "$as_dir" && as_dir=.
2695 for ac_prog in mkdir gmkdir; do
2696 for ac_exec_ext in '' $ac_executable_extensions; do
2697 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2698 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2699 'mkdir (GNU coreutils) '* | \
2700 'mkdir (coreutils) '* | \
2701 'mkdir (fileutils) '4.1*)
2702 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2712 test -d ./--version && rmdir ./--version
2713 if test "${ac_cv_path_mkdir+set}" = set; then
2714 MKDIR_P="$ac_cv_path_mkdir -p"
2716 # As a last resort, use the slow shell script. Don't cache a
2717 # value for MKDIR_P within a source directory, because that will
2718 # break other packages using the cache if that directory is
2719 # removed, or if the value is a relative name.
2720 MKDIR_P="$ac_install_sh -d"
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2724 $as_echo "$MKDIR_P" >&6; }
2726 for ac_prog in gawk mawk nawk awk
2728 # Extract the first word of "$ac_prog", so it can be a program name with args.
2729 set dummy $ac_prog; ac_word=$2
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2731 $as_echo_n "checking for $ac_word... " >&6; }
2732 if ${ac_cv_prog_AWK+:} false; then :
2733 $as_echo_n "(cached) " >&6
2735 if test -n "$AWK"; then
2736 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_AWK="$ac_prog"
2746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2756 if test -n "$AWK"; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2758 $as_echo "$AWK" >&6; }
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 $as_echo "no" >&6; }
2765 test -n "$AWK" && break
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2769 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2771 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2772 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2773 $as_echo_n "(cached) " >&6
2775 cat >conftest.make <<\_ACEOF
2778 @echo '@@@%%%=$(MAKE)=@@@%%%'
2780 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2781 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2783 eval ac_cv_prog_make_${ac_make}_set=yes;;
2785 eval ac_cv_prog_make_${ac_make}_set=no;;
2789 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2791 $as_echo "yes" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2796 SET_MAKE="MAKE=${MAKE-make}"
2799 rm -rf .tst 2>/dev/null
2800 mkdir .tst 2>/dev/null
2801 if test -d .tst; then
2806 rmdir .tst 2>/dev/null
2808 # Check whether --enable-silent-rules was given.
2809 if test "${enable_silent_rules+set}" = set; then :
2810 enableval=$enable_silent_rules;
2813 case $enable_silent_rules in # (((
2814 yes) AM_DEFAULT_VERBOSITY=0;;
2815 no) AM_DEFAULT_VERBOSITY=1;;
2816 *) AM_DEFAULT_VERBOSITY=1;;
2818 am_make=${MAKE-make}
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2820 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2821 if ${am_cv_make_support_nested_variables+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 if $as_echo 'TRUE=$(BAR$(V))
2830 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2831 am_cv_make_support_nested_variables=yes
2833 am_cv_make_support_nested_variables=no
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2837 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2838 if test $am_cv_make_support_nested_variables = yes; then
2840 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2842 AM_V=$AM_DEFAULT_VERBOSITY
2843 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2847 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2848 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2849 # is not polluted with repeated "-I."
2850 am__isrc=' -I$(srcdir)'
2851 # test to see if srcdir already configured
2852 if test -f $srcdir/config.status; then
2853 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2857 # test whether we have cygpath
2858 if test -z "$CYGPATH_W"; then
2859 if (cygpath --version) >/dev/null 2>/dev/null; then
2860 CYGPATH_W='cygpath -w'
2867 # Define the identity of the package.
2872 cat >>confdefs.h <<_ACEOF
2873 #define PACKAGE "$PACKAGE"
2877 cat >>confdefs.h <<_ACEOF
2878 #define VERSION "$VERSION"
2881 # Some tools Automake needs.
2883 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2886 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2889 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2892 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2895 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2897 # For better backward compatibility. To be removed once Automake 1.9.x
2898 # dies out for good. For more background, see:
2899 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2900 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2901 mkdir_p='$(MKDIR_P)'
2903 # We need awk for the "check" target. The system "awk" is bad on
2905 # Always define AMTAR for backward compatibility. Yes, it's still used
2906 # in the wild :-( We should find a proper way to deprecate it ...
2910 # We'll loop over all known methods to create a tar archive until one works.
2911 _am_tools='gnutar pax cpio none'
2913 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2922 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2923 # Check whether --enable-maintainer-mode was given.
2924 if test "${enable_maintainer_mode+set}" = set; then :
2925 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2927 USE_MAINTAINER_MODE=no
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2931 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2932 if test $USE_MAINTAINER_MODE = yes; then
2933 MAINTAINER_MODE_TRUE=
2934 MAINTAINER_MODE_FALSE='#'
2936 MAINTAINER_MODE_TRUE='#'
2937 MAINTAINER_MODE_FALSE=
2940 MAINT=$MAINTAINER_MODE_TRUE
2944 MODVERSION="Build on $(hostname) $(date +%FT%R:%S%z)"
2946 cat >>confdefs.h <<_ACEOF
2947 #define MODVERSION "$MODVERSION"
2953 ac_config_files="$ac_config_files Makefile"
2955 ac_config_headers="$ac_config_headers config.h"
2959 ac_config_files="$ac_config_files m4/Makefile"
2962 ac_config_files="$ac_config_files elfutils.spec:config/elfutils.spec.in"
2966 # Make sure we can run config.sub.
2967 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2968 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2971 $as_echo_n "checking build system type... " >&6; }
2972 if ${ac_cv_build+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 ac_build_alias=$build_alias
2976 test "x$ac_build_alias" = x &&
2977 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2978 test "x$ac_build_alias" = x &&
2979 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2980 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2981 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2985 $as_echo "$ac_cv_build" >&6; }
2986 case $ac_cv_build in
2988 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2991 ac_save_IFS=$IFS; IFS='-'
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
3001 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3005 $as_echo_n "checking host system type... " >&6; }
3006 if ${ac_cv_host+:} false; then :
3007 $as_echo_n "(cached) " >&6
3009 if test "x$host_alias" = x; then
3010 ac_cv_host=$ac_cv_build
3012 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3013 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3018 $as_echo "$ac_cv_host" >&6; }
3021 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3024 ac_save_IFS=$IFS; IFS='-'
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3034 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3038 # Check whether --enable-deterministic-archives was given.
3039 if test "${enable_deterministic_archives+set}" = set; then :
3040 enableval=$enable_deterministic_archives;
3041 if test "${enableval}" = no; then
3042 default_ar_deterministic=false
3044 default_ar_deterministic=true
3047 default_ar_deterministic=false
3051 cat >>confdefs.h <<_ACEOF
3052 #define DEFAULT_AR_DETERMINISTIC $default_ar_deterministic
3056 # Check whether --enable-thread-safety was given.
3057 if test "${enable_thread_safety+set}" = set; then :
3058 enableval=$enable_thread_safety; use_locks=$enableval
3063 if test "$use_locks" = yes; then
3071 if test "$use_locks" = yes; then :
3072 $as_echo "#define USE_LOCKS 1" >>confdefs.h
3075 if test "$use_locks" = yes; then :
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: thread-safety is EXPERIMENTAL tests might fail." >&5
3077 $as_echo "$as_me: WARNING: thread-safety is EXPERIMENTAL tests might fail." >&2;}
3083 ac_cpp='$CPP $CPPFLAGS'
3084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3087 if test -n "$ac_tool_prefix"; then
3088 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3089 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if ${ac_cv_prog_CC+:} false; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$CC"; then
3096 ac_cv_prog_CC="$CC" # Let the user override the test.
3098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir=.
3103 for ac_exec_ext in '' $ac_executable_extensions; do
3104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3105 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CC"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118 $as_echo "$CC" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3126 if test -z "$ac_cv_prog_CC"; then
3128 # Extract the first word of "gcc", so it can be a program name with args.
3129 set dummy gcc; ac_word=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$ac_ct_CC"; then
3136 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir=.
3143 for ac_exec_ext in '' $ac_executable_extensions; do
3144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145 ac_cv_prog_ac_ct_CC="gcc"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3156 if test -n "$ac_ct_CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3158 $as_echo "$ac_ct_CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3164 if test "x$ac_ct_CC" = x; then
3167 case $cross_compiling:$ac_tool_warned in
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3171 ac_tool_warned=yes ;;
3179 if test -z "$CC"; then
3180 if test -n "$ac_tool_prefix"; then
3181 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3182 set dummy ${ac_tool_prefix}cc; ac_word=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if ${ac_cv_prog_CC+:} false; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$CC"; then
3189 ac_cv_prog_CC="$CC" # Let the user override the test.
3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir=.
3196 for ac_exec_ext in '' $ac_executable_extensions; do
3197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3198 ac_cv_prog_CC="${ac_tool_prefix}cc"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 if test -n "$CC"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3211 $as_echo "$CC" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3220 if test -z "$CC"; then
3221 # Extract the first word of "cc", so it can be a program name with args.
3222 set dummy cc; ac_word=$2
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224 $as_echo_n "checking for $ac_word... " >&6; }
3225 if ${ac_cv_prog_CC+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -n "$CC"; then
3229 ac_cv_prog_CC="$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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3240 ac_prog_rejected=yes
3244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251 if test $ac_prog_rejected = yes; then
3252 # We found a bogon in the path, so make sure we never use it.
3253 set dummy $ac_cv_prog_CC
3255 if test $# != 0; then
3256 # We chose a different compiler from the bogus one.
3257 # However, it has the same basename, so the bogon will be chosen
3258 # first if we set CC to just the basename; use the full file name.
3260 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3266 if test -n "$CC"; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3268 $as_echo "$CC" >&6; }
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3276 if test -z "$CC"; then
3277 if test -n "$ac_tool_prefix"; then
3278 for ac_prog in cl.exe
3280 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3281 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3283 $as_echo_n "checking for $ac_word... " >&6; }
3284 if ${ac_cv_prog_CC+:} false; then :
3285 $as_echo_n "(cached) " >&6
3287 if test -n "$CC"; then
3288 ac_cv_prog_CC="$CC" # Let the user override the test.
3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3294 test -z "$as_dir" && as_dir=.
3295 for ac_exec_ext in '' $ac_executable_extensions; do
3296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3297 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 if test -n "$CC"; then
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3310 $as_echo "$CC" >&6; }
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 $as_echo "no" >&6; }
3317 test -n "$CC" && break
3320 if test -z "$CC"; then
3322 for ac_prog in cl.exe
3324 # Extract the first word of "$ac_prog", so it can be a program name with args.
3325 set dummy $ac_prog; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3329 $as_echo_n "(cached) " >&6
3331 if test -n "$ac_ct_CC"; then
3332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3341 ac_cv_prog_ac_ct_CC="$ac_prog"
3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3352 if test -n "$ac_ct_CC"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3354 $as_echo "$ac_ct_CC" >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3361 test -n "$ac_ct_CC" && break
3364 if test "x$ac_ct_CC" = x; then
3367 case $cross_compiling:$ac_tool_warned in
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3371 ac_tool_warned=yes ;;
3380 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error $? "no acceptable C compiler found in \$PATH
3383 See \`config.log' for more details" "$LINENO" 5; }
3385 # Provide some information about the compiler.
3386 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3389 for ac_option in --version -v -V -qversion; do
3390 { { ac_try="$ac_compiler $ac_option >&5"
3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396 $as_echo "$ac_try_echo"; } >&5
3397 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3399 if test -s conftest.err; then
3401 ... rest of stderr output deleted ...
3402 10q' conftest.err >conftest.er1
3403 cat conftest.er1 >&5
3405 rm -f conftest.er1 conftest.err
3406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3407 test $ac_status = 0; }
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3421 ac_clean_files_save=$ac_clean_files
3422 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3423 # Try to create an executable without -o first, disregard a.out.
3424 # It will help us diagnose broken compilers, and finding out an intuition
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3427 $as_echo_n "checking whether the C compiler works... " >&6; }
3428 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3430 # The possible output files:
3431 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3434 for ac_file in $ac_files
3437 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3438 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3443 if { { ac_try="$ac_link_default"
3445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3449 $as_echo "$ac_try_echo"; } >&5
3450 (eval "$ac_link_default") 2>&5
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }; then :
3454 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3455 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3456 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3457 # so that the user can short-circuit this test for compilers unknown to
3459 for ac_file in $ac_files ''
3461 test -f "$ac_file" || continue
3463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3466 # We found the default executable, but exeext='' is most
3470 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3472 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3474 # We set ac_cv_exeext here because the later test for it is not
3475 # safe: cross compilers may not add the suffix if given an `-o'
3476 # argument, so we may need to know it at that point already.
3477 # Even if this section looks crufty: it has the advantage of
3484 test "$ac_cv_exeext" = no && ac_cv_exeext=
3489 if test -z "$ac_file"; then :
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 $as_echo "no" >&6; }
3492 $as_echo "$as_me: failed program was:" >&5
3493 sed 's/^/| /' conftest.$ac_ext >&5
3495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3497 as_fn_error 77 "C compiler cannot create executables
3498 See \`config.log' for more details" "$LINENO" 5; }
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3501 $as_echo "yes" >&6; }
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3504 $as_echo_n "checking for C compiler default output file name... " >&6; }
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3506 $as_echo "$ac_file" >&6; }
3507 ac_exeext=$ac_cv_exeext
3509 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3510 ac_clean_files=$ac_clean_files_save
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3512 $as_echo_n "checking for suffix of executables... " >&6; }
3513 if { { ac_try="$ac_link"
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;;
3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3519 $as_echo "$ac_try_echo"; } >&5
3520 (eval "$ac_link") 2>&5
3522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3523 test $ac_status = 0; }; then :
3524 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3525 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3526 # work properly (i.e., refer to `conftest.exe'), while it won't with
3528 for ac_file in conftest.exe conftest conftest.*; do
3529 test -f "$ac_file" || continue
3531 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3532 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3540 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3541 See \`config.log' for more details" "$LINENO" 5; }
3543 rm -f conftest conftest$ac_cv_exeext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3545 $as_echo "$ac_cv_exeext" >&6; }
3547 rm -f conftest.$ac_ext
3548 EXEEXT=$ac_cv_exeext
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3556 FILE *f = fopen ("conftest.out", "w");
3557 return ferror (f) || fclose (f) != 0;
3563 ac_clean_files="$ac_clean_files conftest.out"
3564 # Check that the compiler produces executables we can run. If not, either
3565 # the compiler is broken, or we cross compile.
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3567 $as_echo_n "checking whether we are cross compiling... " >&6; }
3568 if test "$cross_compiling" != yes; then
3569 { { ac_try="$ac_link"
3571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572 *) ac_try_echo=$ac_try;;
3574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3575 $as_echo "$ac_try_echo"; } >&5
3576 (eval "$ac_link") 2>&5
3578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3579 test $ac_status = 0; }
3580 if { ac_try='./conftest$ac_cv_exeext'
3581 { { case "(($ac_try" in
3582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583 *) ac_try_echo=$ac_try;;
3585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586 $as_echo "$ac_try_echo"; } >&5
3587 (eval "$ac_try") 2>&5
3589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590 test $ac_status = 0; }; }; then
3593 if test "$cross_compiling" = maybe; then
3596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598 as_fn_error $? "cannot run C compiled programs.
3599 If you meant to cross compile, use \`--host'.
3600 See \`config.log' for more details" "$LINENO" 5; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3605 $as_echo "$cross_compiling" >&6; }
3607 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3608 ac_clean_files=$ac_clean_files_save
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3610 $as_echo_n "checking for suffix of object files... " >&6; }
3611 if ${ac_cv_objext+:} false; then :
3612 $as_echo_n "(cached) " >&6
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3625 rm -f conftest.o conftest.obj
3626 if { { ac_try="$ac_compile"
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
3633 (eval "$ac_compile") 2>&5
3635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }; then :
3637 for ac_file in conftest.o conftest.obj conftest.*; do
3638 test -f "$ac_file" || continue;
3640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3641 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3646 $as_echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3650 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3651 as_fn_error $? "cannot compute suffix of object files: cannot compile
3652 See \`config.log' for more details" "$LINENO" 5; }
3654 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3657 $as_echo "$ac_cv_objext" >&6; }
3658 OBJEXT=$ac_cv_objext
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3661 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3662 if ${ac_cv_c_compiler_gnu+:} false; then :
3663 $as_echo_n "(cached) " >&6
3665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3666 /* end confdefs.h. */
3679 if ac_fn_c_try_compile "$LINENO"; then :
3684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3685 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3689 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3690 if test $ac_compiler_gnu = yes; then
3695 ac_test_CFLAGS=${CFLAGS+set}
3696 ac_save_CFLAGS=$CFLAGS
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3698 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3699 if ${ac_cv_prog_cc_g+:} false; then :
3700 $as_echo_n "(cached) " >&6
3702 ac_save_c_werror_flag=$ac_c_werror_flag
3703 ac_c_werror_flag=yes
3706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3707 /* end confdefs.h. */
3717 if ac_fn_c_try_compile "$LINENO"; then :
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3732 if ac_fn_c_try_compile "$LINENO"; then :
3735 ac_c_werror_flag=$ac_save_c_werror_flag
3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3738 /* end confdefs.h. */
3748 if ac_fn_c_try_compile "$LINENO"; then :
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3756 ac_c_werror_flag=$ac_save_c_werror_flag
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3759 $as_echo "$ac_cv_prog_cc_g" >&6; }
3760 if test "$ac_test_CFLAGS" = set; then
3761 CFLAGS=$ac_save_CFLAGS
3762 elif test $ac_cv_prog_cc_g = yes; then
3763 if test "$GCC" = yes; then
3769 if test "$GCC" = yes; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3776 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3777 if ${ac_cv_prog_cc_c89+:} false; then :
3778 $as_echo_n "(cached) " >&6
3780 ac_cv_prog_cc_c89=no
3782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3783 /* end confdefs.h. */
3787 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3788 struct buf { int x; };
3789 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3790 static char *e (p, i)
3796 static char *f (char * (*g) (char **, int), char **p, ...)
3801 s = g (p, va_arg (v,int));
3806 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3807 function prototypes and stuff, but not '\xHH' hex character constants.
3808 These don't provoke an error unfortunately, instead are silently treated
3809 as 'x'. The following induces an error, until -std is added to get
3810 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3811 array size at least. It's necessary to write '\x00'==0 to get something
3812 that's true only with -std. */
3813 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3815 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3816 inside strings and character constants. */
3818 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3820 int test (int i, double x);
3821 struct s1 {int (*f) (int a);};
3822 struct s2 {int (*f) (double a);};
3823 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3829 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3834 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3835 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3837 CC="$ac_save_CC $ac_arg"
3838 if ac_fn_c_try_compile "$LINENO"; then :
3839 ac_cv_prog_cc_c89=$ac_arg
3841 rm -f core conftest.err conftest.$ac_objext
3842 test "x$ac_cv_prog_cc_c89" != "xno" && break
3844 rm -f conftest.$ac_ext
3849 case "x$ac_cv_prog_cc_c89" in
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3852 $as_echo "none needed" >&6; } ;;
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3855 $as_echo "unsupported" >&6; } ;;
3857 CC="$CC $ac_cv_prog_cc_c89"
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3859 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3861 if test "x$ac_cv_prog_cc_c89" != xno; then :
3866 ac_cpp='$CPP $CPPFLAGS'
3867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3870 DEPDIR="${am__leading_dot}deps"
3872 ac_config_commands="$ac_config_commands depfiles"
3875 am_make=${MAKE-make}
3876 cat > confinc << 'END'
3878 @echo this is the am__doit target
3881 # If we don't find an include directive, just comment out the code.
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3883 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3887 # First try GNU make style include.
3888 echo "include confinc" > confmf
3889 # Ignore all kinds of additional output from 'make'.
3890 case `$am_make -s -f confmf 2> /dev/null` in #(
3891 *the\ am__doit\ target*)
3897 # Now try BSD make style include.
3898 if test "$am__include" = "#"; then
3899 echo '.include "confinc"' > confmf
3900 case `$am_make -s -f confmf 2> /dev/null` in #(
3901 *the\ am__doit\ target*)
3902 am__include=.include
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3911 $as_echo "$_am_result" >&6; }
3912 rm -f confinc confmf
3914 # Check whether --enable-dependency-tracking was given.
3915 if test "${enable_dependency_tracking+set}" = set; then :
3916 enableval=$enable_dependency_tracking;
3919 if test "x$enable_dependency_tracking" != xno; then
3920 am_depcomp="$ac_aux_dir/depcomp"
3924 if test "x$enable_dependency_tracking" != xno; then
3934 depcc="$CC" am_compiler_list=
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3937 $as_echo_n "checking dependency style of $depcc... " >&6; }
3938 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3939 $as_echo_n "(cached) " >&6
3941 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3942 # We make a subdir and do the tests there. Otherwise we can end up
3943 # making bogus files that we don't know about and never remove. For
3944 # instance it was reported that on HP-UX the gcc test will end up
3945 # making a dummy file named 'D' -- because '-MD' means "put the output
3949 # Copy depcomp to subdir because otherwise we won't find it if we're
3950 # using a relative directory.
3951 cp "$am_depcomp" conftest.dir
3953 # We will build objects and dependencies in a subdirectory because
3954 # it helps to detect inapplicable dependency modes. For instance
3955 # both Tru64's cc and ICC support -MD to output dependencies as a
3956 # side effect of compilation, but ICC will put the dependencies in
3957 # the current directory while Tru64 will put them in the object
3961 am_cv_CC_dependencies_compiler_type=none
3962 if test "$am_compiler_list" = ""; then
3963 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3966 case " $depcc " in #(
3967 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3970 for depmode in $am_compiler_list; do
3971 # Setup a source with many dependencies, because some compilers
3972 # like to wrap large dependency lists on column 80 (with \), and
3973 # we should not choose a depcomp mode which is confused by this.
3975 # We need to recreate these files for each test, as the compiler may
3976 # overwrite some of them when testing with obscure command lines.
3977 # This happens at least with the AIX C compiler.
3979 for i in 1 2 3 4 5 6; do
3980 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3981 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3982 # Solaris 10 /bin/sh.
3983 echo '/* dummy */' > sub/conftst$i.h
3985 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3987 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3988 # mode. It turns out that the SunPro C++ compiler does not properly
3989 # handle '-M -o', and we need to detect this. Also, some Intel
3990 # versions had trouble with output in subdirs.
3991 am__obj=sub/conftest.${OBJEXT-o}
3992 am__minus_obj="-o $am__obj"
3995 # This depmode causes a compiler race in universal mode.
3996 test "$am__universal" = false || continue
3999 # After this tag, mechanisms are not by side-effect, so they'll
4000 # only be used when explicitly requested.
4001 if test "x$enable_dependency_tracking" = xyes; then
4007 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4008 # This compiler won't grok '-c -o', but also, the minuso test has
4009 # not run yet. These depmodes are late enough in the game, and
4010 # so weak that their functioning should not be impacted.
4011 am__obj=conftest.${OBJEXT-o}
4016 if depmode=$depmode \
4017 source=sub/conftest.c object=$am__obj \
4018 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4019 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4020 >/dev/null 2>conftest.err &&
4021 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4022 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4023 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4024 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4025 # icc doesn't choke on unknown options, it will just issue warnings
4026 # or remarks (even with -Werror). So we grep stderr for any message
4027 # that says an option was ignored or not supported.
4028 # When given -MP, icc 7.0 and 7.1 complain thusly:
4029 # icc: Command line warning: ignoring option '-M'; no argument required
4030 # The diagnosis changed in icc 8.0:
4031 # icc: Command line remark: option '-MP' not supported
4032 if (grep 'ignoring option' conftest.err ||
4033 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4034 am_cv_CC_dependencies_compiler_type=$depmode
4043 am_cv_CC_dependencies_compiler_type=none
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4048 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4049 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4052 test "x$enable_dependency_tracking" != xno \
4053 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4055 am__fastdepCC_FALSE='#'
4057 am__fastdepCC_TRUE='#'
4058 am__fastdepCC_FALSE=
4062 if test -n "$ac_tool_prefix"; then
4063 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4064 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066 $as_echo_n "checking for $ac_word... " >&6; }
4067 if ${ac_cv_prog_RANLIB+:} false; then :
4068 $as_echo_n "(cached) " >&6
4070 if test -n "$RANLIB"; then
4071 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4077 test -z "$as_dir" && as_dir=.
4078 for ac_exec_ext in '' $ac_executable_extensions; do
4079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4080 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 RANLIB=$ac_cv_prog_RANLIB
4091 if test -n "$RANLIB"; then
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4093 $as_echo "$RANLIB" >&6; }
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4096 $as_echo "no" >&6; }
4101 if test -z "$ac_cv_prog_RANLIB"; then
4102 ac_ct_RANLIB=$RANLIB
4103 # Extract the first word of "ranlib", so it can be a program name with args.
4104 set dummy ranlib; ac_word=$2
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4106 $as_echo_n "checking for $ac_word... " >&6; }
4107 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4108 $as_echo_n "(cached) " >&6
4110 if test -n "$ac_ct_RANLIB"; then
4111 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir=.
4118 for ac_exec_ext in '' $ac_executable_extensions; do
4119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120 ac_cv_prog_ac_ct_RANLIB="ranlib"
4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4131 if test -n "$ac_ct_RANLIB"; then
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4133 $as_echo "$ac_ct_RANLIB" >&6; }
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4136 $as_echo "no" >&6; }
4139 if test "x$ac_ct_RANLIB" = x; then
4142 case $cross_compiling:$ac_tool_warned in
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4146 ac_tool_warned=yes ;;
4148 RANLIB=$ac_ct_RANLIB
4151 RANLIB="$ac_cv_prog_RANLIB"
4154 for ac_prog in 'bison -y' byacc
4156 # Extract the first word of "$ac_prog", so it can be a program name with args.
4157 set dummy $ac_prog; ac_word=$2
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 $as_echo_n "checking for $ac_word... " >&6; }
4160 if ${ac_cv_prog_YACC+:} false; then :
4161 $as_echo_n "(cached) " >&6
4163 if test -n "$YACC"; then
4164 ac_cv_prog_YACC="$YACC" # Let the user override the test.
4166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir=.
4171 for ac_exec_ext in '' $ac_executable_extensions; do
4172 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4173 ac_cv_prog_YACC="$ac_prog"
4174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 YACC=$ac_cv_prog_YACC
4184 if test -n "$YACC"; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
4186 $as_echo "$YACC" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4193 test -n "$YACC" && break
4195 test -n "$YACC" || YACC="yacc"
4198 for ac_prog in flex lex
4200 # Extract the first word of "$ac_prog", so it can be a program name with args.
4201 set dummy $ac_prog; ac_word=$2
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4203 $as_echo_n "checking for $ac_word... " >&6; }
4204 if ${ac_cv_prog_LEX+:} false; then :
4205 $as_echo_n "(cached) " >&6
4207 if test -n "$LEX"; then
4208 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir=.
4215 for ac_exec_ext in '' $ac_executable_extensions; do
4216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4217 ac_cv_prog_LEX="$ac_prog"
4218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 if test -n "$LEX"; then
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
4230 $as_echo "$LEX" >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4237 test -n "$LEX" && break
4239 test -n "$LEX" || LEX=":"
4241 if test "x$LEX" != "x:"; then
4242 cat >conftest.l <<_ACEOF
4248 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
4249 yyless ((input () != 0)); }
4250 f { unput (yytext[0]); }
4251 . { BEGIN INITIAL; }
4253 #ifdef YYTEXT_POINTER
4254 extern char *yytext;
4259 return ! yylex () + ! yywrap ();
4262 { { ac_try="$LEX conftest.l"
4264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4265 *) ac_try_echo=$ac_try;;
4267 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4268 $as_echo "$ac_try_echo"; } >&5
4269 (eval "$LEX conftest.l") 2>&5
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
4274 $as_echo_n "checking lex output file root... " >&6; }
4275 if ${ac_cv_prog_lex_root+:} false; then :
4276 $as_echo_n "(cached) " >&6
4279 if test -f lex.yy.c; then
4280 ac_cv_prog_lex_root=lex.yy
4281 elif test -f lexyy.c; then
4282 ac_cv_prog_lex_root=lexyy
4284 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
4288 $as_echo "$ac_cv_prog_lex_root" >&6; }
4289 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4291 if test -z "${LEXLIB+set}"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
4293 $as_echo_n "checking lex library... " >&6; }
4294 if ${ac_cv_lib_lex+:} false; then :
4295 $as_echo_n "(cached) " >&6
4299 ac_cv_lib_lex='none needed'
4300 for ac_lib in '' -lfl -ll; do
4301 LIBS="$ac_lib $ac_save_LIBS"
4302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h. */
4304 `cat $LEX_OUTPUT_ROOT.c`
4306 if ac_fn_c_try_link "$LINENO"; then :
4307 ac_cv_lib_lex=$ac_lib
4309 rm -f core conftest.err conftest.$ac_objext \
4310 conftest$ac_exeext conftest.$ac_ext
4311 test "$ac_cv_lib_lex" != 'none needed' && break
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
4317 $as_echo "$ac_cv_lib_lex" >&6; }
4318 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
4323 $as_echo_n "checking whether yytext is a pointer... " >&6; }
4324 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 # POSIX says lex can declare yytext either as a pointer or an array; the
4328 # default is implementation-dependent. Figure out which it is, since
4329 # not all implementations provide the %pointer and %array declarations.
4330 ac_cv_prog_lex_yytext_pointer=no
4332 LIBS="$LEXLIB $ac_save_LIBS"
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4336 #define YYTEXT_POINTER 1
4337 `cat $LEX_OUTPUT_ROOT.c`
4339 if ac_fn_c_try_link "$LINENO"; then :
4340 ac_cv_prog_lex_yytext_pointer=yes
4342 rm -f core conftest.err conftest.$ac_objext \
4343 conftest$ac_exeext conftest.$ac_ext
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
4348 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
4349 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4351 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
4354 rm -f conftest.l $LEX_OUTPUT_ROOT.c
4357 if test "$LEX" = :; then
4358 LEX=${am_missing_run}flex
4360 # Only available since automake 1.12
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in ar lib "link -lib"
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if ${ac_cv_prog_AR+:} false; then :
4369 $as_echo_n "(cached) " >&6
4371 if test -n "$AR"; then
4372 ac_cv_prog_AR="$AR" # Let the user override the test.
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4381 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 if test -n "$AR"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4394 $as_echo "$AR" >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$AR" && break
4404 if test -z "$AR"; then
4406 for ac_prog in ar lib "link -lib"
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4413 $as_echo_n "(cached) " >&6
4415 if test -n "$ac_ct_AR"; then
4416 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4425 ac_cv_prog_ac_ct_AR="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4436 if test -n "$ac_ct_AR"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4438 $as_echo "$ac_ct_AR" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_AR" && break
4448 if test "x$ac_ct_AR" = x; then
4451 case $cross_compiling:$ac_tool_warned in
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4464 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
4465 if ${am_cv_ar_interface+:} false; then :
4466 $as_echo_n "(cached) " >&6
4468 am_cv_ar_interface=ar
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4471 int some_variable = 0;
4473 if ac_fn_c_try_compile "$LINENO"; then :
4474 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4475 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4476 (eval $am_ar_try) 2>&5
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }
4480 if test "$ac_status" -eq 0; then
4481 am_cv_ar_interface=ar
4483 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4484 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4485 (eval $am_ar_try) 2>&5
4487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488 test $ac_status = 0; }
4489 if test "$ac_status" -eq 0; then
4490 am_cv_ar_interface=lib
4492 am_cv_ar_interface=unknown
4495 rm -f conftest.lib libconftest.a
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4502 $as_echo "$am_cv_ar_interface" >&6; }
4504 case $am_cv_ar_interface in
4508 # Microsoft lib, so override with the ar-lib wrapper script.
4509 # FIXME: It is wrong to rewrite AR.
4510 # But if we don't then we get into trouble of one sort or another.
4511 # A longer-term fix would be to have automake use am__AR in this case,
4512 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4514 AR="$am_aux_dir/ar-lib $AR"
4517 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
4523 set dummy ${ac_tool_prefix}readelf; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_READELF+:} false; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$READELF"; then
4530 ac_cv_prog_READELF="$READELF" # Let the user override the test.
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 READELF=$ac_cv_prog_READELF
4550 if test -n "$READELF"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
4552 $as_echo "$READELF" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4560 if test -z "$ac_cv_prog_READELF"; then
4561 ac_ct_READELF=$READELF
4562 # Extract the first word of "readelf", so it can be a program name with args.
4563 set dummy readelf; ac_word=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
4567 $as_echo_n "(cached) " >&6
4569 if test -n "$ac_ct_READELF"; then
4570 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4579 ac_cv_prog_ac_ct_READELF="readelf"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
4590 if test -n "$ac_ct_READELF"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
4592 $as_echo "$ac_ct_READELF" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4598 if test "x$ac_ct_READELF" = x; then
4601 case $cross_compiling:$ac_tool_warned in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4605 ac_tool_warned=yes ;;
4607 READELF=$ac_ct_READELF
4610 READELF="$ac_cv_prog_READELF"
4613 if test -n "$ac_tool_prefix"; then
4614 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
4615 set dummy ${ac_tool_prefix}nm; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if ${ac_cv_prog_NM+:} false; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$NM"; then
4622 ac_cv_prog_NM="$NM" # Let the user override the test.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4631 ac_cv_prog_NM="${ac_tool_prefix}nm"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 if test -n "$NM"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
4644 $as_echo "$NM" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4652 if test -z "$ac_cv_prog_NM"; then
4654 # Extract the first word of "nm", so it can be a program name with args.
4655 set dummy nm; ac_word=$2
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4657 $as_echo_n "checking for $ac_word... " >&6; }
4658 if ${ac_cv_prog_ac_ct_NM+:} false; then :
4659 $as_echo_n "(cached) " >&6
4661 if test -n "$ac_ct_NM"; then
4662 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
4664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 test -z "$as_dir" && as_dir=.
4669 for ac_exec_ext in '' $ac_executable_extensions; do
4670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4671 ac_cv_prog_ac_ct_NM="nm"
4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681 ac_ct_NM=$ac_cv_prog_ac_ct_NM
4682 if test -n "$ac_ct_NM"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
4684 $as_echo "$ac_ct_NM" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4690 if test "x$ac_ct_NM" = x; then
4693 case $cross_compiling:$ac_tool_warned in
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4697 ac_tool_warned=yes ;;
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with C99 support" >&5
4707 $as_echo_n "checking for gcc with C99 support... " >&6; }
4708 if ${ac_cv_c99+:} false; then :
4709 $as_echo_n "(cached) " >&6
4711 old_CFLAGS="$CFLAGS"
4712 CFLAGS="$CFLAGS -std=gnu99"
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4715 int foo (int a) { for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; }
4717 if ac_fn_c_try_compile "$LINENO"; then :
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 CFLAGS="$old_CFLAGS"
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99" >&5
4726 $as_echo "$ac_cv_c99" >&6; }
4727 if test "x$ac_cv_c99" != xyes; then :
4728 as_fn_error $? "gcc with C99 support required" "$LINENO" 5
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
4732 $as_echo_n "checking for __thread support... " >&6; }
4733 if ${ac_cv_tls+:} false; then :
4734 $as_echo_n "(cached) " >&6
4736 # Use the same flags that we use for our DSOs, so the test is representative.
4737 # Some old compiler/linker/libc combinations fail some ways and not others.
4738 save_CFLAGS="$CFLAGS"
4739 save_LDFLAGS="$LDFLAGS"
4740 CFLAGS="-fpic $CFLAGS"
4741 LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS"
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4745 static __thread int a; int foo (int b) { return a + b; }
4754 if ac_fn_c_try_link "$LINENO"; then :
4759 rm -f core conftest.err conftest.$ac_objext \
4760 conftest$ac_exeext conftest.$ac_ext
4761 CFLAGS="$save_CFLAGS"
4762 LDFLAGS="$save_LDFLAGS"
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_tls" >&5
4765 $as_echo "$ac_cv_tls" >&6; }
4766 if test "x$ac_cv_tls" != xyes; then :
4767 as_fn_error $? "__thread support required" "$LINENO" 5
4770 # Check whether --enable-largefile was given.
4771 if test "${enable_largefile+set}" = set; then :
4772 enableval=$enable_largefile;
4775 if test "$enable_largefile" != no; then
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4778 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4779 if ${ac_cv_sys_largefile_CC+:} false; then :
4780 $as_echo_n "(cached) " >&6
4782 ac_cv_sys_largefile_CC=no
4783 if test "$GCC" != yes; then
4786 # IRIX 6.2 and later do not support large files by default,
4787 # so use the C compiler's -n32 option if that helps.
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 #include <sys/types.h>
4791 /* Check that off_t can represent 2**63 - 1 correctly.
4792 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4793 since some C++ compilers masquerading as C compilers
4794 incorrectly reject 9223372036854775807. */
4795 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4796 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4797 && LARGE_OFF_T % 2147483647 == 1)
4807 if ac_fn_c_try_compile "$LINENO"; then :
4810 rm -f core conftest.err conftest.$ac_objext
4812 if ac_fn_c_try_compile "$LINENO"; then :
4813 ac_cv_sys_largefile_CC=' -n32'; break
4815 rm -f core conftest.err conftest.$ac_objext
4819 rm -f conftest.$ac_ext
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4823 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4824 if test "$ac_cv_sys_largefile_CC" != no; then
4825 CC=$CC$ac_cv_sys_largefile_CC
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4829 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4830 if ${ac_cv_sys_file_offset_bits+:} false; then :
4831 $as_echo_n "(cached) " >&6
4834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4836 #include <sys/types.h>
4837 /* Check that off_t can represent 2**63 - 1 correctly.
4838 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4839 since some C++ compilers masquerading as C compilers
4840 incorrectly reject 9223372036854775807. */
4841 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4842 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4843 && LARGE_OFF_T % 2147483647 == 1)
4853 if ac_fn_c_try_compile "$LINENO"; then :
4854 ac_cv_sys_file_offset_bits=no; break
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4858 /* end confdefs.h. */
4859 #define _FILE_OFFSET_BITS 64
4860 #include <sys/types.h>
4861 /* Check that off_t can represent 2**63 - 1 correctly.
4862 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4863 since some C++ compilers masquerading as C compilers
4864 incorrectly reject 9223372036854775807. */
4865 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4866 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4867 && LARGE_OFF_T % 2147483647 == 1)
4877 if ac_fn_c_try_compile "$LINENO"; then :
4878 ac_cv_sys_file_offset_bits=64; break
4880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881 ac_cv_sys_file_offset_bits=unknown
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4886 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4887 case $ac_cv_sys_file_offset_bits in #(
4890 cat >>confdefs.h <<_ACEOF
4891 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4896 if test $ac_cv_sys_file_offset_bits = unknown; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4898 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4899 if ${ac_cv_sys_large_files+:} false; then :
4900 $as_echo_n "(cached) " >&6
4903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4904 /* end confdefs.h. */
4905 #include <sys/types.h>
4906 /* Check that off_t can represent 2**63 - 1 correctly.
4907 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4908 since some C++ compilers masquerading as C compilers
4909 incorrectly reject 9223372036854775807. */
4910 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4912 && LARGE_OFF_T % 2147483647 == 1)
4922 if ac_fn_c_try_compile "$LINENO"; then :
4923 ac_cv_sys_large_files=no; break
4925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4928 #define _LARGE_FILES 1
4929 #include <sys/types.h>
4930 /* Check that off_t can represent 2**63 - 1 correctly.
4931 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4932 since some C++ compilers masquerading as C compilers
4933 incorrectly reject 9223372036854775807. */
4934 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4935 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4936 && LARGE_OFF_T % 2147483647 == 1)
4946 if ac_fn_c_try_compile "$LINENO"; then :
4947 ac_cv_sys_large_files=1; break
4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4950 ac_cv_sys_large_files=unknown
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4955 $as_echo "$ac_cv_sys_large_files" >&6; }
4956 case $ac_cv_sys_large_files in #(
4959 cat >>confdefs.h <<_ACEOF
4960 #define _LARGE_FILES $ac_cv_sys_large_files
4972 # Check whether --enable-generic was given.
4973 if test "${enable_generic+set}" = set; then :
4974 enableval=$enable_generic; if test "$enable_generic" = no; then
4977 $as_echo "#define NATIVE_ELF 32" >>confdefs.h
4983 as_fn_error $? "no machine-specific linker for this configuration available" "$LINENO" 5
4990 if test "$native_ld" = yes; then
4998 if test -z "$base_cpu"; then :
5011 # Check whether --enable-debugpred was given.
5012 if test "${enable_debugpred+set}" = set; then :
5013 enableval=$enable_debugpred; use_debugpred=$enableval
5018 case $use_debugpred in
5019 yes) use_debugpred=1 ;;
5020 *) use_debugpred=0 ;;
5022 DEBUGPRED=$use_debugpred
5025 # Check whether --enable-gprof was given.
5026 if test "${enable_gprof+set}" = set; then :
5027 enableval=$enable_gprof; use_gprof=$enableval
5032 if test "$use_gprof" = yes; then
5033 CFLAGS="$CFLAGS -pg"
5034 LDFLAGS="$LDFLAGS -pg"
5036 if test "$use_gprof" = yes; then
5045 # Enable gcov suport.
5046 # Check whether --enable-gcov was given.
5047 if test "${enable_gcov+set}" = set; then :
5048 enableval=$enable_gcov; use_gcov=$enableval
5053 if test "$use_gcov" = yes; then
5054 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
5055 LDFLAGS="$LDFLAGS -fprofile-arcs"
5057 if test "$use_gcov" = yes; then
5066 # Check whether --enable-valgrind was given.
5067 if test "${enable_valgrind+set}" = set; then :
5068 enableval=$enable_valgrind; use_valgrind=$enableval
5073 if test "$use_valgrind" = yes; then
5074 # Extract the first word of "valgrind", so it can be a program name with args.
5075 set dummy valgrind; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_HAVE_VALGRIND+:} false; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$HAVE_VALGRIND"; then
5082 ac_cv_prog_HAVE_VALGRIND="$HAVE_VALGRIND" # Let the user override the test.
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_HAVE_VALGRIND="yes"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 test -z "$ac_cv_prog_HAVE_VALGRIND" && ac_cv_prog_HAVE_VALGRIND="no"
5102 HAVE_VALGRIND=$ac_cv_prog_HAVE_VALGRIND
5103 if test -n "$HAVE_VALGRIND"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_VALGRIND" >&5
5105 $as_echo "$HAVE_VALGRIND" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5112 if test "$HAVE_VALGRIND" = "no"; then
5113 as_fn_error $? "valgrind not found" "$LINENO" 5
5116 if test "$use_valgrind" = yes; then
5118 USE_VALGRIND_FALSE='#'
5120 USE_VALGRIND_TRUE='#'
5125 if test "$use_gprof" = yes -o "$use_gcov" = yes; then
5127 BUILD_STATIC_FALSE='#'
5129 BUILD_STATIC_TRUE='#'
5134 # Check whether --enable-tests-rpath was given.
5135 if test "${enable_tests_rpath+set}" = set; then :
5136 enableval=$enable_tests_rpath; tests_use_rpath=$enableval
5141 if test "$tests_use_rpath" = yes; then
5143 TESTS_RPATH_FALSE='#'
5145 TESTS_RPATH_TRUE='#'
5150 LIBEBL_SUBDIR="$PACKAGE"
5151 # Check whether --enable-libebl-subdir was given.
5152 if test "${enable_libebl_subdir+set}" = set; then :
5153 enableval=$enable_libebl_subdir; LIBEBL_SUBDIR="$enable_libebl_subdir"
5157 cat >>confdefs.h <<_ACEOF
5158 #define LIBEBL_SUBDIR "$LIBEBL_SUBDIR"
5166 # Check whether --with-zlib was given.
5167 if test "${with_zlib+set}" = set; then :
5173 if test $with_zlib != no; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gzdirect" >&5
5175 $as_echo_n "checking for library containing gzdirect... " >&6; }
5176 if ${ac_cv_search_gzdirect+:} false; then :
5177 $as_echo_n "(cached) " >&6
5179 ac_func_search_save_LIBS=$LIBS
5180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5181 /* end confdefs.h. */
5183 /* Override any GCC internal prototype to avoid an error.
5184 Use char because int might match the return type of a GCC
5185 builtin and then its argument prototype would still apply. */
5198 for ac_lib in '' z; do
5199 if test -z "$ac_lib"; then
5200 ac_res="none required"
5203 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5205 if ac_fn_c_try_link "$LINENO"; then :
5206 ac_cv_search_gzdirect=$ac_res
5208 rm -f core conftest.err conftest.$ac_objext \
5210 if ${ac_cv_search_gzdirect+:} false; then :
5214 if ${ac_cv_search_gzdirect+:} false; then :
5217 ac_cv_search_gzdirect=no
5220 LIBS=$ac_func_search_save_LIBS
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gzdirect" >&5
5223 $as_echo "$ac_cv_search_gzdirect" >&6; }
5224 ac_res=$ac_cv_search_gzdirect
5225 if test "$ac_res" != no; then :
5226 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5229 test $with_zlib = default ||
5230 as_fn_error $? "missing -lz for --with-zlib" "$LINENO" 5
5234 if test $with_zlib = yes; then
5242 if test $with_zlib = yes; then
5243 $as_echo "#define USE_ZLIB 1" >>confdefs.h
5248 # Check whether --with-bzlib was given.
5249 if test "${with_bzlib+set}" = set; then :
5250 withval=$with_bzlib;
5255 if test $with_bzlib != no; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing BZ2_bzdopen" >&5
5257 $as_echo_n "checking for library containing BZ2_bzdopen... " >&6; }
5258 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
5259 $as_echo_n "(cached) " >&6
5261 ac_func_search_save_LIBS=$LIBS
5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5265 /* Override any GCC internal prototype to avoid an error.
5266 Use char because int might match the return type of a GCC
5267 builtin and then its argument prototype would still apply. */
5271 char BZ2_bzdopen ();
5275 return BZ2_bzdopen ();
5280 for ac_lib in '' bz2; do
5281 if test -z "$ac_lib"; then
5282 ac_res="none required"
5285 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5287 if ac_fn_c_try_link "$LINENO"; then :
5288 ac_cv_search_BZ2_bzdopen=$ac_res
5290 rm -f core conftest.err conftest.$ac_objext \
5292 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
5296 if ${ac_cv_search_BZ2_bzdopen+:} false; then :
5299 ac_cv_search_BZ2_bzdopen=no
5302 LIBS=$ac_func_search_save_LIBS
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_BZ2_bzdopen" >&5
5305 $as_echo "$ac_cv_search_BZ2_bzdopen" >&6; }
5306 ac_res=$ac_cv_search_BZ2_bzdopen
5307 if test "$ac_res" != no; then :
5308 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5311 test $with_bzlib = default ||
5312 as_fn_error $? "missing -lbz2 for --with-bzlib" "$LINENO" 5
5316 if test $with_bzlib = yes; then
5324 if test $with_bzlib = yes; then
5325 $as_echo "#define USE_BZLIB 1" >>confdefs.h
5330 # Check whether --with-lzma was given.
5331 if test "${with_lzma+set}" = set; then :
5337 if test $with_lzma != no; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing lzma_auto_decoder" >&5
5339 $as_echo_n "checking for library containing lzma_auto_decoder... " >&6; }
5340 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
5341 $as_echo_n "(cached) " >&6
5343 ac_func_search_save_LIBS=$LIBS
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5347 /* Override any GCC internal prototype to avoid an error.
5348 Use char because int might match the return type of a GCC
5349 builtin and then its argument prototype would still apply. */
5353 char lzma_auto_decoder ();
5357 return lzma_auto_decoder ();
5362 for ac_lib in '' lzma; do
5363 if test -z "$ac_lib"; then
5364 ac_res="none required"
5367 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5369 if ac_fn_c_try_link "$LINENO"; then :
5370 ac_cv_search_lzma_auto_decoder=$ac_res
5372 rm -f core conftest.err conftest.$ac_objext \
5374 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
5378 if ${ac_cv_search_lzma_auto_decoder+:} false; then :
5381 ac_cv_search_lzma_auto_decoder=no
5384 LIBS=$ac_func_search_save_LIBS
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_lzma_auto_decoder" >&5
5387 $as_echo "$ac_cv_search_lzma_auto_decoder" >&6; }
5388 ac_res=$ac_cv_search_lzma_auto_decoder
5389 if test "$ac_res" != no; then :
5390 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5393 test $with_lzma = default ||
5394 as_fn_error $? "missing -llzma for --with-lzma" "$LINENO" 5
5398 if test $with_lzma = yes; then
5406 if test $with_lzma = yes; then
5407 $as_echo "#define USE_LZMA 1" >>confdefs.h
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle in -lstdc++" >&5
5416 $as_echo_n "checking for __cxa_demangle in -lstdc++... " >&6; }
5417 if ${ac_cv_lib_stdcpp___cxa_demangle+:} false; then :
5418 $as_echo_n "(cached) " >&6
5420 ac_check_lib_save_LIBS=$LIBS
5421 LIBS="-lstdc++ $LIBS"
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5425 /* Override any GCC internal prototype to avoid an error.
5426 Use char because int might match the return type of a GCC
5427 builtin and then its argument prototype would still apply. */
5431 char __cxa_demangle ();
5435 return __cxa_demangle ();
5440 if ac_fn_c_try_link "$LINENO"; then :
5441 ac_cv_lib_stdcpp___cxa_demangle=yes
5443 ac_cv_lib_stdcpp___cxa_demangle=no
5445 rm -f core conftest.err conftest.$ac_objext \
5446 conftest$ac_exeext conftest.$ac_ext
5447 LIBS=$ac_check_lib_save_LIBS
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_stdcpp___cxa_demangle" >&5
5450 $as_echo "$ac_cv_lib_stdcpp___cxa_demangle" >&6; }
5451 if test "x$ac_cv_lib_stdcpp___cxa_demangle" = xyes; then :
5453 $as_echo "#define USE_DEMANGLE 1" >>confdefs.h
5457 if test "$ac_cv_lib_stdcpp___cxa_demangle" = yes; then
5468 ac_config_files="$ac_config_files lib/Makefile"
5471 ac_config_files="$ac_config_files libelf/Makefile"
5474 ac_config_files="$ac_config_files libebl/Makefile"
5477 ac_config_files="$ac_config_files libdwelf/Makefile"
5480 ac_config_files="$ac_config_files libdw/Makefile"
5483 ac_config_files="$ac_config_files libdwfl/Makefile"
5486 ac_config_files="$ac_config_files libcpu/Makefile"
5491 HAVE_LIBASM_FALSE='#'
5493 HAVE_LIBASM_TRUE='#'
5496 ac_config_files="$ac_config_files libasm/Makefile"
5499 ac_config_files="$ac_config_files backends/Makefile"
5502 ac_config_files="$ac_config_files src/Makefile po/Makefile.in"
5507 STANDALONE_FALSE='#'
5512 ac_config_files="$ac_config_files tests/Makefile"
5515 # Get the definitions necessary to create the Makefiles in the po
5516 # subdirectories. This is a small subset of the gettext rules.
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
5521 $as_echo_n "checking whether NLS is requested... " >&6; }
5522 # Check whether --enable-nls was given.
5523 if test "${enable_nls+set}" = set; then :
5524 enableval=$enable_nls; USE_NLS=$enableval
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
5530 $as_echo "$USE_NLS" >&6; }
5535 GETTEXT_MACRO_VERSION=0.18
5540 # Prepare PATH_SEPARATOR.
5541 # The user is always right.
5542 if test "${PATH_SEPARATOR+set}" != set; then
5543 echo "#! /bin/sh" >conf$$.sh
5544 echo "exit 0" >>conf$$.sh
5546 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5554 # Find out how to test for executable files. Don't use a zero-byte file,
5555 # as systems may use methods other than mode bits to determine executability.
5556 cat >conf$$.file <<_ASEOF
5560 chmod +x conf$$.file
5561 if test -x conf$$.file >/dev/null 2>&1; then
5562 ac_executable_p="test -x"
5564 ac_executable_p="test -f"
5568 # Extract the first word of "msgfmt", so it can be a program name with args.
5569 set dummy msgfmt; ac_word=$2
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if ${ac_cv_path_MSGFMT+:} false; then :
5573 $as_echo_n "(cached) " >&6
5577 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5580 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5581 for ac_dir in $PATH; do
5583 test -z "$ac_dir" && ac_dir=.
5584 for ac_exec_ext in '' $ac_executable_extensions; do
5585 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5586 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5587 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
5588 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
5589 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
5596 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
5600 MSGFMT="$ac_cv_path_MSGFMT"
5601 if test "$MSGFMT" != ":"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5603 $as_echo "$MSGFMT" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5609 # Extract the first word of "gmsgfmt", so it can be a program name with args.
5610 set dummy gmsgfmt; ac_word=$2
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5612 $as_echo_n "checking for $ac_word... " >&6; }
5613 if ${ac_cv_path_GMSGFMT+:} false; then :
5614 $as_echo_n "(cached) " >&6
5618 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5625 test -z "$as_dir" && as_dir=.
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5628 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5640 GMSGFMT=$ac_cv_path_GMSGFMT
5641 if test -n "$GMSGFMT"; then
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5643 $as_echo "$GMSGFMT" >&6; }
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5646 $as_echo "no" >&6; }
5651 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5652 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
5653 *) MSGFMT_015=$MSGFMT ;;
5656 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5657 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
5658 *) GMSGFMT_015=$GMSGFMT ;;
5663 # Prepare PATH_SEPARATOR.
5664 # The user is always right.
5665 if test "${PATH_SEPARATOR+set}" != set; then
5666 echo "#! /bin/sh" >conf$$.sh
5667 echo "exit 0" >>conf$$.sh
5669 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5677 # Find out how to test for executable files. Don't use a zero-byte file,
5678 # as systems may use methods other than mode bits to determine executability.
5679 cat >conf$$.file <<_ASEOF
5683 chmod +x conf$$.file
5684 if test -x conf$$.file >/dev/null 2>&1; then
5685 ac_executable_p="test -x"
5687 ac_executable_p="test -f"
5691 # Extract the first word of "xgettext", so it can be a program name with args.
5692 set dummy xgettext; ac_word=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_path_XGETTEXT+:} false; then :
5696 $as_echo_n "(cached) " >&6
5700 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5703 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5704 for ac_dir in $PATH; do
5706 test -z "$ac_dir" && ac_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5709 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5710 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
5711 (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
5712 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
5719 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5723 XGETTEXT="$ac_cv_path_XGETTEXT"
5724 if test "$XGETTEXT" != ":"; then
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5726 $as_echo "$XGETTEXT" >&6; }
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729 $as_echo "no" >&6; }
5734 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
5735 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
5736 *) XGETTEXT_015=$XGETTEXT ;;
5741 # Prepare PATH_SEPARATOR.
5742 # The user is always right.
5743 if test "${PATH_SEPARATOR+set}" != set; then
5744 echo "#! /bin/sh" >conf$$.sh
5745 echo "exit 0" >>conf$$.sh
5747 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5755 # Find out how to test for executable files. Don't use a zero-byte file,
5756 # as systems may use methods other than mode bits to determine executability.
5757 cat >conf$$.file <<_ASEOF
5761 chmod +x conf$$.file
5762 if test -x conf$$.file >/dev/null 2>&1; then
5763 ac_executable_p="test -x"
5765 ac_executable_p="test -f"
5769 # Extract the first word of "msgmerge", so it can be a program name with args.
5770 set dummy msgmerge; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_path_MSGMERGE+:} false; then :
5774 $as_echo_n "(cached) " >&6
5778 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5781 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
5782 for ac_dir in $PATH; do
5784 test -z "$ac_dir" && ac_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
5787 echo "$as_me: trying $ac_dir/$ac_word..." >&5
5788 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
5789 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
5796 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
5800 MSGMERGE="$ac_cv_path_MSGMERGE"
5801 if test "$MSGMERGE" != ":"; then
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5803 $as_echo "$MSGMERGE" >&6; }
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806 $as_echo "no" >&6; }
5810 test -n "$localedir" || localedir='${datadir}/locale'
5813 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
5816 ac_config_commands="$ac_config_commands po-directories"
5822 ac_config_files="$ac_config_files version.h:config/version.h.in"
5826 # 1.234<whatever> -> 1234<whatever>
5827 case "$PACKAGE_VERSION" in
5828 [0-9].*) eu_version=`echo "$PACKAGE_VERSION" | sed 's@\.@@'` ;;
5829 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
5831 case "$eu_version" in
5833 # 1234.567 -> "1234", "567"
5834 eu_extra_version="${eu_version#*.}"
5835 eu_version="${eu_version%%.*}"
5836 case "$eu_extra_version" in
5838 [0-9][0-9]) eu_extra_version="${eu_extra_version}0" ;;
5839 [0-9]) eu_extra_version="${eu_extra_version}00" ;;
5840 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
5844 eu_extra_version=000
5848 case "$eu_version" in
5849 0[0-9][0-9][0-9]) eu_version="${eu_version#0}$eu_extra_version" ;;
5850 [0-9][0-9][0-9][0-9]) eu_version="${eu_version}$eu_extra_version" ;;
5851 [0-9][0-9][0-9]) eu_version="${eu_version}0$eu_extra_version" ;;
5852 [0-9][0-9]) eu_version="${eu_version}00$eu_extra_version";;
5853 *) as_fn_error $? "confused by version number '$PACKAGE_VERSION'" "$LINENO" 5 ;;
5856 # Round up to the next release API (x.y) version.
5857 eu_version=$(( (eu_version + 999) / 1000 ))
5860 ac_cpp='$CPP $CPPFLAGS'
5861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5865 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5866 # On Suns, sometimes $CPP names a directory.
5867 if test -n "$CPP" && test -d "$CPP"; then
5870 if test -z "$CPP"; then
5871 if ${ac_cv_prog_CPP+:} false; then :
5872 $as_echo_n "(cached) " >&6
5874 # Double quotes because CPP needs to be expanded
5875 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5878 for ac_c_preproc_warn_flag in '' yes
5880 # Use a header file that comes with gcc, so configuring glibc
5881 # with a fresh cross-compiler works.
5882 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5883 # <limits.h> exists even on freestanding compilers.
5884 # On the NeXT, cc -E runs the code through the compiler's parser,
5885 # not just through cpp. "Syntax error" is here to catch this case.
5886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5889 # include <limits.h>
5891 # include <assert.h>
5895 if ac_fn_c_try_cpp "$LINENO"; then :
5898 # Broken: fails on valid input.
5901 rm -f conftest.err conftest.i conftest.$ac_ext
5903 # OK, works on sane cases. Now check whether nonexistent headers
5904 # can be detected and how.
5905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5907 #include <ac_nonexistent.h>
5909 if ac_fn_c_try_cpp "$LINENO"; then :
5910 # Broken: success on invalid input.
5913 # Passes both tests.
5917 rm -f conftest.err conftest.i conftest.$ac_ext
5920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5921 rm -f conftest.i conftest.err conftest.$ac_ext
5922 if $ac_preproc_ok; then :
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5935 $as_echo "$CPP" >&6; }
5937 for ac_c_preproc_warn_flag in '' yes
5939 # Use a header file that comes with gcc, so configuring glibc
5940 # with a fresh cross-compiler works.
5941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5942 # <limits.h> exists even on freestanding compilers.
5943 # On the NeXT, cc -E runs the code through the compiler's parser,
5944 # not just through cpp. "Syntax error" is here to catch this case.
5945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5946 /* end confdefs.h. */
5948 # include <limits.h>
5950 # include <assert.h>
5954 if ac_fn_c_try_cpp "$LINENO"; then :
5957 # Broken: fails on valid input.
5960 rm -f conftest.err conftest.i conftest.$ac_ext
5962 # OK, works on sane cases. Now check whether nonexistent headers
5963 # can be detected and how.
5964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5965 /* end confdefs.h. */
5966 #include <ac_nonexistent.h>
5968 if ac_fn_c_try_cpp "$LINENO"; then :
5969 # Broken: success on invalid input.
5972 # Passes both tests.
5976 rm -f conftest.err conftest.i conftest.$ac_ext
5979 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5980 rm -f conftest.i conftest.err conftest.$ac_ext
5981 if $ac_preproc_ok; then :
5984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5986 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5987 See \`config.log' for more details" "$LINENO" 5; }
5991 ac_cpp='$CPP $CPPFLAGS'
5992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5998 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5999 if ${ac_cv_path_GREP+:} false; then :
6000 $as_echo_n "(cached) " >&6
6002 if test -z "$GREP"; then
6003 ac_path_GREP_found=false
6004 # Loop through the user's path and test for each of PROGNAME-LIST
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6009 test -z "$as_dir" && as_dir=.
6010 for ac_prog in grep ggrep; do
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6013 as_fn_executable_p "$ac_path_GREP" || continue
6014 # Check for GNU ac_path_GREP and select it if it is found.
6015 # Check for GNU $ac_path_GREP
6016 case `"$ac_path_GREP" --version 2>&1` in
6018 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6021 $as_echo_n 0123456789 >"conftest.in"
6024 cat "conftest.in" "conftest.in" >"conftest.tmp"
6025 mv "conftest.tmp" "conftest.in"
6026 cp "conftest.in" "conftest.nl"
6027 $as_echo 'GREP' >> "conftest.nl"
6028 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6029 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6030 as_fn_arith $ac_count + 1 && ac_count=$as_val
6031 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6032 # Best one so far, save it but keep looking for a better one
6033 ac_cv_path_GREP="$ac_path_GREP"
6034 ac_path_GREP_max=$ac_count
6036 # 10*(2^10) chars as input seems more than enough
6037 test $ac_count -gt 10 && break
6039 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6042 $ac_path_GREP_found && break 3
6047 if test -z "$ac_cv_path_GREP"; then
6048 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6051 ac_cv_path_GREP=$GREP
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6056 $as_echo "$ac_cv_path_GREP" >&6; }
6057 GREP="$ac_cv_path_GREP"
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6061 $as_echo_n "checking for egrep... " >&6; }
6062 if ${ac_cv_path_EGREP+:} false; then :
6063 $as_echo_n "(cached) " >&6
6065 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6066 then ac_cv_path_EGREP="$GREP -E"
6068 if test -z "$EGREP"; then
6069 ac_path_EGREP_found=false
6070 # Loop through the user's path and test for each of PROGNAME-LIST
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6075 test -z "$as_dir" && as_dir=.
6076 for ac_prog in egrep; do
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6079 as_fn_executable_p "$ac_path_EGREP" || continue
6080 # Check for GNU ac_path_EGREP and select it if it is found.
6081 # Check for GNU $ac_path_EGREP
6082 case `"$ac_path_EGREP" --version 2>&1` in
6084 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6087 $as_echo_n 0123456789 >"conftest.in"
6090 cat "conftest.in" "conftest.in" >"conftest.tmp"
6091 mv "conftest.tmp" "conftest.in"
6092 cp "conftest.in" "conftest.nl"
6093 $as_echo 'EGREP' >> "conftest.nl"
6094 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6095 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6096 as_fn_arith $ac_count + 1 && ac_count=$as_val
6097 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6098 # Best one so far, save it but keep looking for a better one
6099 ac_cv_path_EGREP="$ac_path_EGREP"
6100 ac_path_EGREP_max=$ac_count
6102 # 10*(2^10) chars as input seems more than enough
6103 test $ac_count -gt 10 && break
6105 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6108 $ac_path_EGREP_found && break 3
6113 if test -z "$ac_cv_path_EGREP"; then
6114 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6117 ac_cv_path_EGREP=$EGREP
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6123 $as_echo "$ac_cv_path_EGREP" >&6; }
6124 EGREP="$ac_cv_path_EGREP"
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6128 $as_echo_n "checking for ANSI C header files... " >&6; }
6129 if ${ac_cv_header_stdc+:} false; then :
6130 $as_echo_n "(cached) " >&6
6132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6133 /* end confdefs.h. */
6147 if ac_fn_c_try_compile "$LINENO"; then :
6148 ac_cv_header_stdc=yes
6150 ac_cv_header_stdc=no
6152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6154 if test $ac_cv_header_stdc = yes; then
6155 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6157 /* end confdefs.h. */
6161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6162 $EGREP "memchr" >/dev/null 2>&1; then :
6165 ac_cv_header_stdc=no
6171 if test $ac_cv_header_stdc = yes; then
6172 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174 /* end confdefs.h. */
6178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6179 $EGREP "free" >/dev/null 2>&1; then :
6182 ac_cv_header_stdc=no
6188 if test $ac_cv_header_stdc = yes; then
6189 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6190 if test "$cross_compiling" = yes; then :
6193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6194 /* end confdefs.h. */
6197 #if ((' ' & 0x0FF) == 0x020)
6198 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6199 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6201 # define ISLOWER(c) \
6202 (('a' <= (c) && (c) <= 'i') \
6203 || ('j' <= (c) && (c) <= 'r') \
6204 || ('s' <= (c) && (c) <= 'z'))
6205 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6208 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6213 for (i = 0; i < 256; i++)
6214 if (XOR (islower (i), ISLOWER (i))
6215 || toupper (i) != TOUPPER (i))
6220 if ac_fn_c_try_run "$LINENO"; then :
6223 ac_cv_header_stdc=no
6225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6226 conftest.$ac_objext conftest.beam conftest.$ac_ext
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6232 $as_echo "$ac_cv_header_stdc" >&6; }
6233 if test $ac_cv_header_stdc = yes; then
6235 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6239 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6240 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6241 inttypes.h stdint.h unistd.h
6243 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6244 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6246 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6247 cat >>confdefs.h <<_ACEOF
6248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6256 # The cast to long int works around a bug in the HP C Compiler
6257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6259 # This bug is HP SR number 8606223364.
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
6261 $as_echo_n "checking size of long... " >&6; }
6262 if ${ac_cv_sizeof_long+:} false; then :
6263 $as_echo_n "(cached) " >&6
6265 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
6268 if test "$ac_cv_type_long" = yes; then
6269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6271 as_fn_error 77 "cannot compute sizeof (long)
6272 See \`config.log' for more details" "$LINENO" 5; }
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
6280 $as_echo "$ac_cv_sizeof_long" >&6; }
6284 cat >>confdefs.h <<_ACEOF
6285 #define SIZEOF_LONG $ac_cv_sizeof_long
6290 # On aarch64 before glibc 2.20 we would get the kernel user_pt_regs instead
6291 # of the user_regs_struct from sys/user.h. They are structurally the same
6292 # but we get either one or the other.
6293 ac_fn_c_check_type "$LINENO" "struct user_regs_struct" "ac_cv_type_struct_user_regs_struct" "#include <sys/ptrace.h>
6294 #include <sys/time.h>
6295 #include <sys/user.h>
6297 if test "x$ac_cv_type_struct_user_regs_struct" = xyes; then :
6298 sys_user_has_user_regs=yes
6300 sys_user_has_user_regs=no
6303 if test "$sys_user_has_user_regs" = "yes"; then
6305 $as_echo "#define HAVE_SYS_USER_REGS 1" >>confdefs.h
6309 # On a 64-bit host where can can use $CC -m32, we'll run two sets of tests.
6310 # Likewise in a 32-bit build on a host where $CC -m64 works.
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $CC option for 32-bit word size" >&5
6312 $as_echo_n "checking $CC option for 32-bit word size... " >&6; }
6313 if ${utrace_cv_CC_m32+:} false; then :
6314 $as_echo_n "(cached) " >&6
6317 utrace_cv_CC_m32=none
6318 for ut_try in -m32 -m31; do
6319 CC=`echo "$save_CC" | sed 's/ -m[36][241]//'`" $ut_try"
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h. */
6322 int foo (void) { return 1; }
6324 if ac_fn_c_try_compile "$LINENO"; then :
6325 utrace_cv_CC_m32=$ut_try
6327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6328 test x$utrace_cv_CC_m32 = xnone || break
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_CC_m32" >&5
6333 $as_echo "$utrace_cv_CC_m32" >&6; }
6335 if test x$utrace_cv_CC_m32 != xnone; then :
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
6337 $as_echo_n "checking for 64-bit host... " >&6; }
6338 if ${utrace_cv_host64+:} false; then :
6339 $as_echo_n "(cached) " >&6
6341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6342 /* end confdefs.h. */
6344 #if (UINTPTR_MAX > 0xffffffffUL)
6348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6349 $EGREP "@utrace_host64@" >/dev/null 2>&1; then :
6350 utrace_cv_host64=yes
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_host64" >&5
6358 $as_echo "$utrace_cv_host64" >&6; }
6359 if test $utrace_cv_host64 = no; then :
6360 utrace_biarch=-m64 utrace_thisarch=$utrace_cv_CC_m32
6362 utrace_biarch=$utrace_cv_CC_m32 utrace_thisarch=-m64
6365 biarch_CC=`echo "$CC" | sed "s/ *${utrace_thisarch}//"`
6366 biarch_CC="$biarch_CC $utrace_biarch"
6369 utrace_biarch_forced=no
6371 # Check whether --with-biarch was given.
6372 if test "${with_biarch+set}" = set; then :
6373 withval=$with_biarch; if test "x$with_biarch" != xno; then :
6374 utrace_biarch_forced=yes
6378 if test $utrace_biarch_forced = yes; then :
6379 utrace_cv_cc_biarch=yes
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: enabling biarch tests regardless using $biarch_CC" >&5
6381 $as_echo "$as_me: enabling biarch tests regardless using $biarch_CC" >&6;}
6383 if test x$utrace_cv_CC_m32 != xnone; then :
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $biarch_CC makes executables we can run" >&5
6385 $as_echo_n "checking whether $biarch_CC makes executables we can run... " >&6; }
6386 if ${utrace_cv_cc_biarch+:} false; then :
6387 $as_echo_n "(cached) " >&6
6391 if test "$cross_compiling" = yes; then :
6392 utrace_cv_cc_biarch=no
6394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6395 /* end confdefs.h. */
6405 if ac_fn_c_try_run "$LINENO"; then :
6406 utrace_cv_cc_biarch=yes
6408 utrace_cv_cc_biarch=no
6410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6411 conftest.$ac_objext conftest.beam conftest.$ac_ext
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $utrace_cv_cc_biarch" >&5
6417 $as_echo "$utrace_cv_cc_biarch" >&6; }
6419 utrace_cv_cc_biarch=no
6421 if test $utrace_cv_cc_biarch != yes; then :
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: not running biarch tests, $biarch_CC does not work" >&5
6423 $as_echo "$as_me: WARNING: not running biarch tests, $biarch_CC does not work" >&2;}
6426 if test $utrace_cv_cc_biarch = yes; then
6434 # `$utrace_biarch' will be `-m64' even on an uniarch i386 machine.
6435 CC_BIARCH="$CC $utrace_biarch"
6438 cat >confcache <<\_ACEOF
6439 # This file is a shell script that caches the results of configure
6440 # tests run on this system so they can be shared between configure
6441 # scripts and configure runs, see configure's option --config-cache.
6442 # It is not useful on other systems. If it contains results you don't
6443 # want to keep, you may remove or edit it.
6445 # config.status only pays attention to the cache file if you give it
6446 # the --recheck option to rerun configure.
6448 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6449 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6454 # The following way of writing the cache mishandles newlines in values,
6455 # but we know of no workaround that is simple, portable, and efficient.
6456 # So, we kill variables containing newlines.
6457 # Ultrix sh set writes to stderr and can't be redirected directly,
6458 # and sets the high bit in the cache file unless we assign to the vars.
6460 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6461 eval ac_val=\$$ac_var
6465 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6469 _ | IFS | as_nl) ;; #(
6470 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6471 *) { eval $ac_var=; unset $ac_var;} ;;
6477 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6478 *${as_nl}ac_space=\ *)
6479 # `set' does not quote correctly, so add quotes: double-quote
6480 # substitution turns \\\\ into \\, and sed turns \\ into \.
6483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6486 # `set' quotes correctly as required by POSIX, so do not add quotes.
6487 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6496 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6498 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6500 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6501 if test -w "$cache_file"; then
6502 if test "x$cache_file" != "x/dev/null"; then
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6504 $as_echo "$as_me: updating cache $cache_file" >&6;}
6505 if test ! -f "$cache_file" || test -h "$cache_file"; then
6506 cat confcache >"$cache_file"
6508 case $cache_file in #(
6510 mv -f confcache "$cache_file"$$ &&
6511 mv -f "$cache_file"$$ "$cache_file" ;; #(
6513 mv -f confcache "$cache_file" ;;
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6519 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6524 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6525 # Let make expand exec_prefix.
6526 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6528 DEFS=-DHAVE_CONFIG_H
6533 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6534 # 1. Remove the extension, and $U if already installed.
6535 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6536 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6537 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6538 # will be set to the directory where LIBOBJS objects are built.
6539 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6540 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6544 LTLIBOBJS=$ac_ltlibobjs
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6548 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6549 if test -n "$am_sleep_pid"; then
6550 # Hide warnings about reused PIDs.
6551 wait $am_sleep_pid 2>/dev/null
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6554 $as_echo "done" >&6; }
6555 if test -n "$EXEEXT"; then
6557 am__EXEEXT_FALSE='#'
6563 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6564 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
6565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6567 if test -z "${USE_LOCKS_TRUE}" && test -z "${USE_LOCKS_FALSE}"; then
6568 as_fn_error $? "conditional \"USE_LOCKS\" was never defined.
6569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6571 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6572 as_fn_error $? "conditional \"AMDEP\" was never defined.
6573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6575 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6576 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6579 if test -z "${NATIVE_LD_TRUE}" && test -z "${NATIVE_LD_FALSE}"; then
6580 as_fn_error $? "conditional \"NATIVE_LD\" was never defined.
6581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6583 if test -z "${NEVER_TRUE}" && test -z "${NEVER_FALSE}"; then
6584 as_fn_error $? "conditional \"NEVER\" was never defined.
6585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6587 if test -z "${GPROF_TRUE}" && test -z "${GPROF_FALSE}"; then
6588 as_fn_error $? "conditional \"GPROF\" was never defined.
6589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6591 if test -z "${GCOV_TRUE}" && test -z "${GCOV_FALSE}"; then
6592 as_fn_error $? "conditional \"GCOV\" was never defined.
6593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6595 if test -z "${USE_VALGRIND_TRUE}" && test -z "${USE_VALGRIND_FALSE}"; then
6596 as_fn_error $? "conditional \"USE_VALGRIND\" was never defined.
6597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6599 if test -z "${BUILD_STATIC_TRUE}" && test -z "${BUILD_STATIC_FALSE}"; then
6600 as_fn_error $? "conditional \"BUILD_STATIC\" was never defined.
6601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6603 if test -z "${TESTS_RPATH_TRUE}" && test -z "${TESTS_RPATH_FALSE}"; then
6604 as_fn_error $? "conditional \"TESTS_RPATH\" was never defined.
6605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6607 if test -z "${ZLIB_TRUE}" && test -z "${ZLIB_FALSE}"; then
6608 as_fn_error $? "conditional \"ZLIB\" was never defined.
6609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6611 if test -z "${BZLIB_TRUE}" && test -z "${BZLIB_FALSE}"; then
6612 as_fn_error $? "conditional \"BZLIB\" was never defined.
6613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6615 if test -z "${LZMA_TRUE}" && test -z "${LZMA_FALSE}"; then
6616 as_fn_error $? "conditional \"LZMA\" was never defined.
6617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6619 if test -z "${DEMANGLE_TRUE}" && test -z "${DEMANGLE_FALSE}"; then
6620 as_fn_error $? "conditional \"DEMANGLE\" was never defined.
6621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6623 if test -z "${HAVE_LIBASM_TRUE}" && test -z "${HAVE_LIBASM_FALSE}"; then
6624 as_fn_error $? "conditional \"HAVE_LIBASM\" was never defined.
6625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6627 if test -z "${STANDALONE_TRUE}" && test -z "${STANDALONE_FALSE}"; then
6628 as_fn_error $? "conditional \"STANDALONE\" was never defined.
6629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6631 if test -z "${BIARCH_TRUE}" && test -z "${BIARCH_FALSE}"; then
6632 as_fn_error $? "conditional \"BIARCH\" was never defined.
6633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6636 : "${CONFIG_STATUS=./config.status}"
6638 ac_clean_files_save=$ac_clean_files
6639 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6641 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6643 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6645 # Generated by $as_me.
6646 # Run this file to recreate the current configuration.
6647 # Compiler output produced by configure, useful for debugging
6648 # configure, is in config.log if it exists.
6654 SHELL=\${CONFIG_SHELL-$SHELL}
6657 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6658 ## -------------------- ##
6659 ## M4sh Initialization. ##
6660 ## -------------------- ##
6662 # Be more Bourne compatible
6663 DUALCASE=1; export DUALCASE # for MKS sh
6664 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6667 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6668 # is contrary to our usage. Disable this feature.
6669 alias -g '${1+"$@"}'='"$@"'
6670 setopt NO_GLOB_SUBST
6672 case `(set -o) 2>/dev/null` in #(
6684 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6685 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6686 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6687 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6688 # Prefer a ksh shell builtin over an external printf program on Solaris,
6689 # but without wasting forks for bash or zsh.
6690 if test -z "$BASH_VERSION$ZSH_VERSION" \
6691 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6692 as_echo='print -r --'
6693 as_echo_n='print -rn --'
6694 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6695 as_echo='printf %s\n'
6696 as_echo_n='printf %s'
6698 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6699 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6700 as_echo_n='/usr/ucb/echo -n'
6702 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6703 as_echo_n_body='eval
6707 expr "X$arg" : "X\\(.*\\)$as_nl";
6708 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6710 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6712 export as_echo_n_body
6713 as_echo_n='sh -c $as_echo_n_body as_echo'
6716 as_echo='sh -c $as_echo_body as_echo'
6719 # The user is always right.
6720 if test "${PATH_SEPARATOR+set}" != set; then
6722 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6723 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6730 # We need space, tab and new line, in precisely that order. Quoting is
6731 # there to prevent editors from complaining about space-tab.
6732 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6733 # splitting by setting IFS to empty value.)
6736 # Find who we are. Look in the path if we contain no directory separator.
6739 *[\\/]* ) as_myself=$0 ;;
6740 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6751 # We did not find ourselves, most probably we were run as `sh COMMAND'
6752 # in which case we are not to be found in the path.
6753 if test "x$as_myself" = x; then
6756 if test ! -f "$as_myself"; then
6757 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6761 # Unset variables that we do not need and which cause bugs (e.g. in
6762 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6763 # suppresses any "Segmentation fault" message there. '((' could
6764 # trigger a bug in pdksh 5.2.14.
6765 for as_var in BASH_ENV ENV MAIL MAILPATH
6766 do eval test x\${$as_var+set} = xset \
6767 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6780 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6783 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6784 # ----------------------------------------
6785 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6786 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6787 # script with STATUS, using 1 if that was 0.
6790 as_status=$1; test $as_status -eq 0 && as_status=1
6792 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6793 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6795 $as_echo "$as_me: error: $2" >&2
6796 as_fn_exit $as_status
6800 # as_fn_set_status STATUS
6801 # -----------------------
6802 # Set $? to STATUS, without forking.
6806 } # as_fn_set_status
6810 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6820 # Portably unset VAR.
6823 { eval $1=; unset $1;}
6825 as_unset=as_fn_unset
6826 # as_fn_append VAR VALUE
6827 # ----------------------
6828 # Append the text in VALUE to the end of the definition contained in VAR. Take
6829 # advantage of any shell optimizations that allow amortized linear growth over
6830 # repeated appends, instead of the typical quadratic growth present in naive
6832 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6833 eval 'as_fn_append ()
6844 # as_fn_arith ARG...
6845 # ------------------
6846 # Perform arithmetic evaluation on the ARGs, and store the result in the
6847 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6848 # must be portable across $(()) and expr.
6849 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6850 eval 'as_fn_arith ()
6857 as_val=`expr "$@" || test $? -eq 1`
6862 if expr a : '\(a\)' >/dev/null 2>&1 &&
6863 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6869 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6870 as_basename=basename
6875 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6881 as_me=`$as_basename -- "$0" ||
6882 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6883 X"$0" : 'X\(//\)$' \| \
6884 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6886 sed '/^.*\/\([^/][^/]*\)\/*$/{
6900 # Avoid depending upon Character Ranges.
6901 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6902 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6903 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6904 as_cr_digits='0123456789'
6905 as_cr_alnum=$as_cr_Letters$as_cr_digits
6907 ECHO_C= ECHO_N= ECHO_T=
6908 case `echo -n x` in #(((((
6910 case `echo 'xy\c'` in
6911 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6913 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6920 rm -f conf$$ conf$$.exe conf$$.file
6921 if test -d conf$$.dir; then
6922 rm -f conf$$.dir/conf$$.file
6925 mkdir conf$$.dir 2>/dev/null
6927 if (echo >conf$$.file) 2>/dev/null; then
6928 if ln -s conf$$.file conf$$ 2>/dev/null; then
6930 # ... but there are two gotchas:
6931 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6932 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6933 # In both cases, we have to default to `cp -pR'.
6934 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6936 elif ln conf$$.file conf$$ 2>/dev/null; then
6944 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6945 rmdir conf$$.dir 2>/dev/null
6950 # Create "$as_dir" as a directory, including parents if necessary.
6955 -*) as_dir=./$as_dir;;
6957 test -d "$as_dir" || eval $as_mkdir_p || {
6961 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6962 *) as_qdir=$as_dir;;
6964 as_dirs="'$as_qdir' $as_dirs"
6965 as_dir=`$as_dirname -- "$as_dir" ||
6966 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6967 X"$as_dir" : 'X\(//\)[^/]' \| \
6968 X"$as_dir" : 'X\(//\)$' \| \
6969 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6970 $as_echo X"$as_dir" |
6971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6988 test -d "$as_dir" && break
6990 test -z "$as_dirs" || eval "mkdir $as_dirs"
6991 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6995 if mkdir -p . 2>/dev/null; then
6996 as_mkdir_p='mkdir -p "$as_dir"'
6998 test -d ./-p && rmdir ./-p
7003 # as_fn_executable_p FILE
7004 # -----------------------
7005 # Test if FILE is an executable regular file.
7006 as_fn_executable_p ()
7008 test -f "$1" && test -x "$1"
7009 } # as_fn_executable_p
7011 as_executable_p=as_fn_executable_p
7013 # Sed expression to map a string onto a valid CPP name.
7014 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7016 # Sed expression to map a string onto a valid variable name.
7017 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7021 ## ----------------------------------- ##
7022 ## Main body of $CONFIG_STATUS script. ##
7023 ## ----------------------------------- ##
7025 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
7027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7028 # Save the log message, to keep $0 and so on meaningful, and to
7029 # report actual input values of CONFIG_FILES etc. instead of their
7030 # values after options handling.
7032 This file was extended by elfutils $as_me 0.160, which was
7033 generated by GNU Autoconf 2.69. Invocation command line was
7035 CONFIG_FILES = $CONFIG_FILES
7036 CONFIG_HEADERS = $CONFIG_HEADERS
7037 CONFIG_LINKS = $CONFIG_LINKS
7038 CONFIG_COMMANDS = $CONFIG_COMMANDS
7041 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7046 case $ac_config_files in *"
7047 "*) set x $ac_config_files; shift; ac_config_files=$*;;
7050 case $ac_config_headers in *"
7051 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
7055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7056 # Files that config.status was made for.
7057 config_files="$ac_config_files"
7058 config_headers="$ac_config_headers"
7059 config_commands="$ac_config_commands"
7063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7065 \`$as_me' instantiates files and other configuration actions
7066 from templates according to the current configuration. Unless the files
7067 and actions are specified as TAGs, all are instantiated by default.
7069 Usage: $0 [OPTION]... [TAG]...
7071 -h, --help print this help, then exit
7072 -V, --version print version number and configuration settings, then exit
7073 --config print configuration, then exit
7074 -q, --quiet, --silent
7075 do not print progress messages
7076 -d, --debug don't remove temporary files
7077 --recheck update $as_me by reconfiguring in the same conditions
7078 --file=FILE[:TEMPLATE]
7079 instantiate the configuration file FILE
7080 --header=FILE[:TEMPLATE]
7081 instantiate the configuration header FILE
7083 Configuration files:
7086 Configuration headers:
7089 Configuration commands:
7092 Report bugs to <https://bugzilla.redhat.com/>."
7095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7096 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7098 elfutils config.status 0.160
7099 configured by $0, generated by GNU Autoconf 2.69,
7100 with options \\"\$ac_cs_config\\"
7102 Copyright (C) 2012 Free Software Foundation, Inc.
7103 This config.status script is free software; the Free Software Foundation
7104 gives unlimited permission to copy, distribute and modify it."
7111 test -n "\$AWK" || AWK=awk
7114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7115 # The default lists apply if the user does not specify any file.
7121 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7122 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7126 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7138 # Handling of the options.
7139 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7141 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7142 $as_echo "$ac_cs_version"; exit ;;
7143 --config | --confi | --conf | --con | --co | --c )
7144 $as_echo "$ac_cs_config"; exit ;;
7145 --debug | --debu | --deb | --de | --d | -d )
7147 --file | --fil | --fi | --f )
7150 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7151 '') as_fn_error $? "missing file argument" ;;
7153 as_fn_append CONFIG_FILES " '$ac_optarg'"
7154 ac_need_defaults=false;;
7155 --header | --heade | --head | --hea )
7158 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7160 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7161 ac_need_defaults=false;;
7163 # Conflict between --help and --header
7164 as_fn_error $? "ambiguous option: \`$1'
7165 Try \`$0 --help' for more information.";;
7166 --help | --hel | -h )
7167 $as_echo "$ac_cs_usage"; exit ;;
7168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7169 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7173 -*) as_fn_error $? "unrecognized option: \`$1'
7174 Try \`$0 --help' for more information." ;;
7176 *) as_fn_append ac_config_targets " $1"
7177 ac_need_defaults=false ;;
7183 ac_configure_extra_args=
7185 if $ac_cs_silent; then
7187 ac_configure_extra_args="$ac_configure_extra_args --silent"
7191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7192 if \$ac_cs_recheck; then
7193 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7195 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7196 CONFIG_SHELL='$SHELL'
7202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7207 ## Running $as_me. ##
7213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7217 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7218 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
7219 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
7220 # from automake < 1.5.
7221 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
7222 # Capture the value of LINGUAS because we need it to compute CATALOGS.
7223 LINGUAS="${LINGUAS-%UNSET%}"
7228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7230 # Handling of arguments.
7231 for ac_config_target in $ac_config_targets
7233 case $ac_config_target in
7234 "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
7235 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7236 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7237 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
7238 "elfutils.spec") CONFIG_FILES="$CONFIG_FILES elfutils.spec:config/elfutils.spec.in" ;;
7239 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7240 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
7241 "libelf/Makefile") CONFIG_FILES="$CONFIG_FILES libelf/Makefile" ;;
7242 "libebl/Makefile") CONFIG_FILES="$CONFIG_FILES libebl/Makefile" ;;
7243 "libdwelf/Makefile") CONFIG_FILES="$CONFIG_FILES libdwelf/Makefile" ;;
7244 "libdw/Makefile") CONFIG_FILES="$CONFIG_FILES libdw/Makefile" ;;
7245 "libdwfl/Makefile") CONFIG_FILES="$CONFIG_FILES libdwfl/Makefile" ;;
7246 "libcpu/Makefile") CONFIG_FILES="$CONFIG_FILES libcpu/Makefile" ;;
7247 "libasm/Makefile") CONFIG_FILES="$CONFIG_FILES libasm/Makefile" ;;
7248 "backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;;
7249 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
7250 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
7251 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
7252 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
7253 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;;
7255 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
7260 # If the user did not use the arguments to specify the items to instantiate,
7261 # then the envvar interface is used. Set only those that are not.
7262 # We use the long form for the default assignment because of an extremely
7263 # bizarre bug on SunOS 4.1.3.
7264 if $ac_need_defaults; then
7265 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7266 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7267 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7270 # Have a temporary directory for convenience. Make it in the build tree
7271 # simply because there is no reason against having it here, and in addition,
7272 # creating and moving files from /tmp can sometimes cause problems.
7273 # Hook for its removal unless debugging.
7274 # Note that there is a small window in which the directory will not be cleaned:
7275 # after its creation but before its name has been assigned to `$tmp'.
7279 trap 'exit_status=$?
7281 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7283 trap 'as_fn_exit 1' 1 2 13 15
7285 # Create a (secure) tmp directory for tmp files.
7288 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7292 tmp=./conf$$-$RANDOM
7293 (umask 077 && mkdir "$tmp")
7294 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7297 # Set up the scripts for CONFIG_FILES section.
7298 # No need to generate them if there are no CONFIG_FILES.
7299 # This happens for instance with `./config.status config.h'.
7300 if test -n "$CONFIG_FILES"; then
7303 ac_cr=`echo X | tr X '\015'`
7304 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7305 # But we know of no other shell where ac_cr would be empty at this
7306 # point, so we can use a bashism as a fallback.
7307 if test "x$ac_cr" = x; then
7308 eval ac_cr=\$\'\\r\'
7310 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7311 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7317 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7322 echo "cat >conf$$subs.awk <<_ACEOF" &&
7323 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7326 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7327 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7329 for ac_last_try in false false false false false :; do
7330 . ./conf$$subs.sh ||
7331 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7333 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7334 if test $ac_delim_n = $ac_delim_num; then
7336 elif $ac_last_try; then
7337 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7339 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7345 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7349 s/^/S["/; s/!.*/"]=/
7359 s/\(.\{148\}\)..*/\1/
7361 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7366 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7373 s/\(.\{148\}\)..*/\1/
7375 s/["\\]/\\&/g; s/^/"/; s/$/"/
7379 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7384 ' <conf$$subs.awk | sed '
7389 ' >>$CONFIG_STATUS || ac_write_fail=1
7390 rm -f conf$$subs.awk
7391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7393 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7394 for (key in S) S_is_set[key] = 1
7400 nfields = split(line, field, "@")
7402 len = length(field[1])
7403 for (i = 2; i < nfields; i++) {
7405 keylen = length(key)
7406 if (S_is_set[key]) {
7408 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7409 len += length(value) + length(field[++i])
7420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7421 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7422 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7425 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7426 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7429 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7430 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7431 # trailing colons and then remove the whole line if VPATH becomes empty
7432 # (actually we leave an empty line to preserve line numbers).
7433 if test "x$srcdir" = x.; then
7434 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7453 fi # test -n "$CONFIG_FILES"
7455 # Set up the scripts for CONFIG_HEADERS section.
7456 # No need to generate them if there are no CONFIG_HEADERS.
7457 # This happens for instance with `./config.status Makefile'.
7458 if test -n "$CONFIG_HEADERS"; then
7459 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7463 # Transform confdefs.h into an awk script `defines.awk', embedded as
7464 # here-document in config.status, that substitutes the proper values into
7465 # config.h.in to produce config.h.
7467 # Create a delimiter string that does not exist in confdefs.h, to ease
7468 # handling of long lines.
7470 for ac_last_try in false false :; do
7471 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7472 if test -z "$ac_tt"; then
7474 elif $ac_last_try; then
7475 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7477 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7481 # For the awk script, D is an array of macro values keyed by name,
7482 # likewise P contains macro parameters if any. Preserve backslash
7483 # newline sequences.
7485 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7487 s/.\{148\}/&'"$ac_delim"'/g
7490 s/^[ ]*#[ ]*define[ ][ ]*/ /
7497 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7499 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7503 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7504 D["\1"]=" \3\\\\\\n"\\/p
7506 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7511 s/.\{148\}/&'"$ac_delim"'/g
7516 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7519 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7521 ' <confdefs.h | sed '
7522 s/'"$ac_delim"'/"\\\
7523 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7525 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7526 for (key in D) D_is_set[key] = 1
7529 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7531 split(line, arg, " ")
7532 if (arg[1] == "#") {
7536 defundef = substr(arg[1], 2)
7539 split(mac1, mac2, "(") #)
7541 prefix = substr(line, 1, index(line, defundef) - 1)
7542 if (D_is_set[macro]) {
7543 # Preserve the white space surrounding the "#".
7544 print prefix "define", macro P[macro] D[macro]
7547 # Replace #undef with comments. This is necessary, for example,
7548 # in the case of _POSIX_SOURCE, which is predefined and required
7549 # on some systems where configure will not decide to define it.
7550 if (defundef == "undef") {
7551 print "/*", prefix defundef, macro, "*/"
7559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7560 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7561 fi # test -n "$CONFIG_HEADERS"
7564 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7569 :[FHLC]) ac_mode=$ac_tag; continue;;
7571 case $ac_mode$ac_tag in
7573 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7574 :[FH]-) ac_tag=-:-;;
7575 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7592 -) ac_f="$ac_tmp/stdin";;
7593 *) # Look for the file first in the build tree, then in the source tree
7594 # (if the path is not absolute). The absolute path cannot be DOS-style,
7595 # because $ac_f cannot contain `:'.
7599 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7601 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7603 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7604 as_fn_append ac_file_inputs " '$ac_f'"
7607 # Let's still pretend it is `configure' which instantiates (i.e., don't
7608 # use $as_me), people would be surprised to read:
7609 # /* config.h. Generated by config.status. */
7610 configure_input='Generated from '`
7611 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7613 if test x"$ac_file" != x-; then
7614 configure_input="$ac_file. $configure_input"
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7616 $as_echo "$as_me: creating $ac_file" >&6;}
7618 # Neutralize special characters interpreted by sed in replacement strings.
7619 case $configure_input in #(
7620 *\&* | *\|* | *\\* )
7621 ac_sed_conf_input=`$as_echo "$configure_input" |
7622 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7623 *) ac_sed_conf_input=$configure_input;;
7627 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7633 ac_dir=`$as_dirname -- "$ac_file" ||
7634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7635 X"$ac_file" : 'X\(//\)[^/]' \| \
7636 X"$ac_file" : 'X\(//\)$' \| \
7637 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7638 $as_echo X"$ac_file" |
7639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7656 as_dir="$ac_dir"; as_fn_mkdir_p
7660 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7662 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7663 # A ".." for each directory in $ac_dir_suffix.
7664 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7665 case $ac_top_builddir_sub in
7666 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7667 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7670 ac_abs_top_builddir=$ac_pwd
7671 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7672 # for backward compatibility:
7673 ac_top_builddir=$ac_top_build_prefix
7676 .) # We are building in place.
7678 ac_top_srcdir=$ac_top_builddir_sub
7679 ac_abs_top_srcdir=$ac_pwd ;;
7680 [\\/]* | ?:[\\/]* ) # Absolute name.
7681 ac_srcdir=$srcdir$ac_dir_suffix;
7682 ac_top_srcdir=$srcdir
7683 ac_abs_top_srcdir=$srcdir ;;
7685 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7686 ac_top_srcdir=$ac_top_build_prefix$srcdir
7687 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7689 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7699 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7700 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7704 [\\/$]* | ?:[\\/]* ) ;;
7705 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7710 # If the template does not know about datarootdir, expand it.
7711 # FIXME: This hack should be removed a few years after 2.60.
7712 ac_datarootdir_hack=; ac_datarootdir_seen=
7723 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7724 *datarootdir*) ac_datarootdir_seen=yes;;
7725 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7727 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7730 ac_datarootdir_hack='
7731 s&@datadir@&$datadir&g
7732 s&@docdir@&$docdir&g
7733 s&@infodir@&$infodir&g
7734 s&@localedir@&$localedir&g
7735 s&@mandir@&$mandir&g
7736 s&\\\${datarootdir}&$datarootdir&g' ;;
7740 # Neutralize VPATH when `$srcdir' = `.'.
7741 # Shell code in configure.ac might set extrasub.
7742 # FIXME: do we really want to maintain this feature?
7743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7744 ac_sed_extra="$ac_vpsub
7747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7749 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7750 s|@configure_input@|$ac_sed_conf_input|;t t
7751 s&@top_builddir@&$ac_top_builddir_sub&;t t
7752 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7753 s&@srcdir@&$ac_srcdir&;t t
7754 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7755 s&@top_srcdir@&$ac_top_srcdir&;t t
7756 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7757 s&@builddir@&$ac_builddir&;t t
7758 s&@abs_builddir@&$ac_abs_builddir&;t t
7759 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7760 s&@INSTALL@&$ac_INSTALL&;t t
7761 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7762 $ac_datarootdir_hack
7764 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7765 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7767 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7768 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7769 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7770 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7772 which seems to be undefined. Please make sure it is defined" >&5
7773 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7774 which seems to be undefined. Please make sure it is defined" >&2;}
7776 rm -f "$ac_tmp/stdin"
7778 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7779 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7787 if test x"$ac_file" != x-; then
7789 $as_echo "/* $configure_input */" \
7790 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7791 } >"$ac_tmp/config.h" \
7792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7793 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7795 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7798 mv "$ac_tmp/config.h" "$ac_file" \
7799 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7802 $as_echo "/* $configure_input */" \
7803 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7804 || as_fn_error $? "could not create -" "$LINENO" 5
7806 # Compute "$ac_file"'s index in $config_headers.
7809 for _am_header in $config_headers :; do
7811 $_am_arg | $_am_arg:* )
7814 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7817 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7818 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7819 X"$_am_arg" : 'X\(//\)[^/]' \| \
7820 X"$_am_arg" : 'X\(//\)$' \| \
7821 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7822 $as_echo X"$_am_arg" |
7823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7839 s/.*/./; q'`/stamp-h$_am_stamp_count
7842 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7843 $as_echo "$as_me: executing $ac_file commands" >&6;}
7848 case $ac_file$ac_mode in
7849 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7850 # Older Autoconf quotes --file arguments for eval, but not when files
7851 # are listed without --file. Let's play safe and only enable the eval
7852 # if we detect the quoting.
7853 case $CONFIG_FILES in
7854 *\'*) eval set x "$CONFIG_FILES" ;;
7855 *) set x $CONFIG_FILES ;;
7860 # Strip MF so we end up with the name of the file.
7861 mf=`echo "$mf" | sed -e 's/:.*$//'`
7862 # Check whether this is an Automake generated Makefile or not.
7863 # We used to match only the files named 'Makefile.in', but
7864 # some people rename them; so instead we look at the file content.
7865 # Grep'ing the first line is not enough: some people post-process
7866 # each Makefile.in and add a new line on top of each file to say so.
7867 # Grep'ing the whole file is not good either: AIX grep has a line
7868 # limit of 2048, but all sed's we know have understand at least 4000.
7869 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7870 dirpart=`$as_dirname -- "$mf" ||
7871 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7872 X"$mf" : 'X\(//\)[^/]' \| \
7873 X"$mf" : 'X\(//\)$' \| \
7874 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7896 # Extract the definition of DEPDIR, am__include, and am__quote
7897 # from the Makefile without running 'make'.
7898 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7899 test -z "$DEPDIR" && continue
7900 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7901 test -z "$am__include" && continue
7902 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7903 # Find all dependency output files, they are included files with
7904 # $(DEPDIR) in their names. We invoke sed twice because it is the
7905 # simplest approach to changing $(DEPDIR) to its actual value in the
7907 for file in `sed -n "
7908 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7909 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7910 # Make sure the directory exists.
7911 test -f "$dirpart/$file" && continue
7912 fdir=`$as_dirname -- "$file" ||
7913 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7914 X"$file" : 'X\(//\)[^/]' \| \
7915 X"$file" : 'X\(//\)$' \| \
7916 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7935 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7936 # echo "creating $dirpart/$file"
7937 echo '# dummy' > "$dirpart/$file"
7943 for ac_file in $CONFIG_FILES; do
7944 # Support "outfile[:infile[:infile...]]"
7946 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
7948 # PO directories have a Makefile.in generated from Makefile.in.in.
7949 case "$ac_file" in */Makefile.in)
7950 # Adjust a relative srcdir.
7951 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
7952 ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
7953 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
7954 # In autoconf-2.13 it is called $ac_given_srcdir.
7955 # In autoconf-2.50 it is called $srcdir.
7956 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
7957 case "$ac_given_srcdir" in
7958 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
7959 /*) top_srcdir="$ac_given_srcdir" ;;
7960 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
7962 # Treat a directory as a PO directory if and only if it has a
7963 # POTFILES.in file. This allows packages to have multiple PO
7964 # directories under different names or in different locations.
7965 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
7966 rm -f "$ac_dir/POTFILES"
7967 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
7968 gt_tab=`printf '\t'`
7969 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"
7970 POMAKEFILEDEPS="POTFILES.in"
7971 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
7972 # on $ac_dir but don't depend on user-specified configuration
7974 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
7975 # The LINGUAS file contains the set of available languages.
7976 if test -n "$OBSOLETE_ALL_LINGUAS"; then
7977 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
7979 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
7980 # Hide the ALL_LINGUAS assignment from automake < 1.5.
7981 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
7982 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
7984 # The set of available languages was given in configure.in.
7985 # Hide the ALL_LINGUAS assignment from automake < 1.5.
7986 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
7989 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
7990 # Compute UPDATEPOFILES
7991 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
7992 # Compute DUMMYPOFILES
7993 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
7995 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
7996 case "$ac_given_srcdir" in
7998 *) srcdirpre='$(srcdir)/' ;;
8004 for lang in $ALL_LINGUAS; do
8005 POFILES="$POFILES $srcdirpre$lang.po"
8006 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
8007 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
8008 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
8010 # CATALOGS depends on both $ac_dir and the user's LINGUAS
8011 # environment variable.
8013 if test -n "$ALL_LINGUAS"; then
8014 for presentlang in $ALL_LINGUAS; do
8016 if test "%UNSET%" != "$LINGUAS"; then
8017 desiredlanguages="$LINGUAS"
8019 desiredlanguages="$ALL_LINGUAS"
8021 for desiredlang in $desiredlanguages; do
8022 # Use the presentlang catalog if desiredlang is
8023 # a. equal to presentlang, or
8024 # b. a variant of presentlang (because in this case,
8025 # presentlang can be used as a fallback for messages
8026 # which are not translated in the desiredlang catalog).
8027 case "$desiredlang" in
8028 "$presentlang"*) useit=yes;;
8031 if test $useit = yes; then
8032 INST_LINGUAS="$INST_LINGUAS $presentlang"
8037 if test -n "$INST_LINGUAS"; then
8038 for lang in $INST_LINGUAS; do
8039 CATALOGS="$CATALOGS $lang.gmo"
8042 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
8043 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"
8044 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
8045 if test -f "$f"; then
8047 *.orig | *.bak | *~) ;;
8048 *) cat "$f" >> "$ac_dir/Makefile" ;;
8063 ac_clean_files=$ac_clean_files_save
8065 test $ac_write_fail = 0 ||
8066 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
8069 # configure is writing to config.log, and then calls config.status.
8070 # config.status does its own redirection, appending to config.log.
8071 # Unfortunately, on DOS this fails, as config.log is still kept open
8072 # by configure, so config.status won't be able to write to it; its
8073 # output is simply discarded. So we exec the FD to /dev/null,
8074 # effectively closing config.log, so it can be properly (re)opened and
8075 # appended to by config.status. When coming back to configure, we
8076 # need to make the FD available again.
8077 if test "$no_create" != yes; then
8079 ac_config_status_args=
8080 test "$silent" = yes &&
8081 ac_config_status_args="$ac_config_status_args --quiet"
8083 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8085 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8086 # would make configure fail if this is the last instruction.
8087 $ac_cs_success || as_fn_exit 1
8089 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8091 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}