1 diff -rdup libelf-0.8.10.orig/configure libelf-0.8.10/configure
2 --- libelf-0.8.10.orig/configure 2007-09-07 14:08:06.000000000 +0200
3 +++ libelf-0.8.10/configure 2007-09-20 10:32:04.000000000 +0200
7 # Guess values for system-dependent variables and create Makefiles.
8 -# Generated automatically using autoconf version 2.13
9 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
10 +# Generated by GNU Autoconf 2.61.
12 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 +## --------------------- ##
17 +## M4sh Initialization. ##
18 +## --------------------- ##
22 +# Be more Bourne compatible
23 +DUALCASE=1; export DUALCASE # for MKS sh
24 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28 + # is contrary to our usage. Disable this feature.
29 + alias -g '${1+"$@"}'='"$@"'
30 + setopt NO_GLOB_SUBST
32 + case `(set -o) 2>/dev/null` in
33 + *posix*) set -o posix ;;
42 +# Avoid depending upon Character Ranges.
43 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
44 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
45 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
46 +as_cr_digits='0123456789'
47 +as_cr_alnum=$as_cr_Letters$as_cr_digits
49 +# The user is always right.
50 +if test "${PATH_SEPARATOR+set}" != set; then
51 + echo "#! /bin/sh" >conf$$.sh
52 + echo "exit 0" >>conf$$.sh
54 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
62 +# Support unset when possible.
63 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
71 +# We need space, tab and new line, in precisely that order. Quoting is
72 +# there to prevent editors from complaining about space-tab.
73 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
74 +# splitting by setting IFS to empty value.)
79 +# Find who we are. Look in the path if we contain no directory separator.
81 + *[\\/]* ) as_myself=$0 ;;
82 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
86 + test -z "$as_dir" && as_dir=.
87 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
93 +# We did not find ourselves, most probably we were run as `sh COMMAND'
94 +# in which case we are not to be found in the path.
95 +if test "x$as_myself" = x; then
98 +if test ! -f "$as_myself"; then
99 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
100 + { (exit 1); exit 1; }
103 +# Work around bugs in pre-3.0 UWIN ksh.
104 +for as_var in ENV MAIL MAILPATH
105 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
114 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
115 + LC_TELEPHONE LC_TIME
117 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
118 + eval $as_var=C; export $as_var
120 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124 +# Required to use basename.
125 +if expr a : '\(a\)' >/dev/null 2>&1 &&
126 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
132 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 + as_basename=basename
139 +# Name of the executable.
140 +as_me=`$as_basename -- "$0" ||
141 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
142 + X"$0" : 'X\(//\)$' \| \
143 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
145 + sed '/^.*\/\([^/][^/]*\)\/*$/{
163 +if test "x$CONFIG_SHELL" = x; then
164 + if (eval ":") 2>/dev/null; then
165 + as_have_required=yes
167 + as_have_required=no
170 + if test $as_have_required = yes && (eval ":
171 +(as_func_return () {
174 +as_func_success () {
177 +as_func_failure () {
180 +as_func_ret_success () {
183 +as_func_ret_failure () {
188 +if as_func_success; then
192 + echo as_func_success failed.
195 +if as_func_failure; then
197 + echo as_func_failure succeeded.
200 +if as_func_ret_success; then
204 + echo as_func_ret_success failed.
207 +if as_func_ret_failure; then
209 + echo as_func_ret_failure succeeded.
212 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
216 + echo positional parameters were not saved.
219 +test \$exitcode = 0) || { (exit 1); exit 1; }
222 + as_lineno_1=\$LINENO
223 + as_lineno_2=\$LINENO
224 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
225 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
226 +") 2> /dev/null; then
229 + as_candidate_shells=
230 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
231 +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
234 + test -z "$as_dir" && as_dir=.
237 + for as_base in sh bash ksh sh5; do
238 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
245 + for as_shell in $as_candidate_shells $SHELL; do
246 + # Try only shells that exist, to save several forks.
247 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
248 + { ("$as_shell") 2> /dev/null <<\_ASEOF
249 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
252 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
253 + # is contrary to our usage. Disable this feature.
254 + alias -g '${1+"$@"}'='"$@"'
255 + setopt NO_GLOB_SUBST
257 + case `(set -o) 2>/dev/null` in
258 + *posix*) set -o posix ;;
267 + CONFIG_SHELL=$as_shell
268 + as_have_required=yes
269 + if { "$as_shell" 2> /dev/null <<\_ASEOF
270 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
273 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
274 + # is contrary to our usage. Disable this feature.
275 + alias -g '${1+"$@"}'='"$@"'
276 + setopt NO_GLOB_SUBST
278 + case `(set -o) 2>/dev/null` in
279 + *posix*) set -o posix ;;
286 +(as_func_return () {
289 +as_func_success () {
292 +as_func_failure () {
295 +as_func_ret_success () {
298 +as_func_ret_failure () {
303 +if as_func_success; then
307 + echo as_func_success failed.
310 +if as_func_failure; then
312 + echo as_func_failure succeeded.
315 +if as_func_ret_success; then
319 + echo as_func_ret_success failed.
322 +if as_func_ret_failure; then
324 + echo as_func_ret_failure succeeded.
327 +if ( set x; as_func_ret_success y && test x = "$1" ); then
331 + echo positional parameters were not saved.
334 +test $exitcode = 0) || { (exit 1); exit 1; }
337 + as_lineno_1=$LINENO
338 + as_lineno_2=$LINENO
339 + test "x$as_lineno_1" != "x$as_lineno_2" &&
340 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351 + if test "x$CONFIG_SHELL" != x; then
352 + for as_var in BASH_ENV ENV
353 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
355 + export CONFIG_SHELL
356 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
360 + if test $as_have_required = no; then
361 + echo This script requires a shell more modern than all the
362 + echo shells that I found on your system. Please install a
363 + echo modern shell, or manually run the script under such a
364 + echo shell if you do have one.
365 + { (exit 1); exit 1; }
375 +(eval "as_func_return () {
378 +as_func_success () {
381 +as_func_failure () {
384 +as_func_ret_success () {
387 +as_func_ret_failure () {
392 +if as_func_success; then
396 + echo as_func_success failed.
399 +if as_func_failure; then
401 + echo as_func_failure succeeded.
404 +if as_func_ret_success; then
408 + echo as_func_ret_success failed.
411 +if as_func_ret_failure; then
413 + echo as_func_ret_failure succeeded.
416 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
420 + echo positional parameters were not saved.
423 +test \$exitcode = 0") || {
424 + echo No shell found that supports shell functions.
425 + echo Please tell autoconf@gnu.org about your system,
426 + echo including any error possibly output before this
432 + as_lineno_1=$LINENO
433 + as_lineno_2=$LINENO
434 + test "x$as_lineno_1" != "x$as_lineno_2" &&
435 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
437 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
438 + # uniformly replaced by the line number. The first 'sed' inserts a
439 + # line-number line after each line using $LINENO; the second 'sed'
440 + # does the real work. The second script uses 'N' to pair each
441 + # line-number line with the line containing $LINENO, and appends
442 + # trailing '-' during substitution so that $LINENO is not a special
443 + # case at line end.
444 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
445 + # scripts with optimization help from Paolo Bonzini. Blame Lee
446 + # E. McMahon (1931-1989) for sed's syntax. :-)
458 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 + ' >$as_me.lineno &&
462 + chmod +x "$as_me.lineno" ||
463 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
464 + { (exit 1); exit 1; }; }
466 + # Don't try to exec as it changes $[0], causing all sort of problems
467 + # (the dirname of $[0] is not the place where we might find the
468 + # original and so on. Autoconf is especially sensitive to this).
469 + . "./$as_me.lineno"
470 + # Exit status is that of the last command.
475 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
481 +ECHO_C= ECHO_N= ECHO_T=
484 + case `echo 'x\c'` in
485 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
492 +if expr a : '\(a\)' >/dev/null 2>&1 &&
493 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
499 +rm -f conf$$ conf$$.exe conf$$.file
500 +if test -d conf$$.dir; then
501 + rm -f conf$$.dir/conf$$.file
507 +if ln -s conf$$.file conf$$ 2>/dev/null; then
509 + # ... but there are two gotchas:
510 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
511 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
512 + # In both cases, we have to default to `cp -p'.
513 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
515 +elif ln conf$$.file conf$$ 2>/dev/null; then
520 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
521 +rmdir conf$$.dir 2>/dev/null
523 +if mkdir -p . 2>/dev/null; then
526 + test -d ./-p && rmdir ./-p
530 +if test -x / >/dev/null 2>&1; then
531 + as_test_x='test -x'
533 + if ls -dL / >/dev/null 2>&1; then
540 + if test -d "$1"; then
546 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
547 + ???[sx]*):;;*)false;;esac;fi
551 +as_executable_p=$as_test_x
553 +# Sed expression to map a string onto a valid CPP name.
554 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 +# Sed expression to map a string onto a valid variable name.
557 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 +exec 7<&0 </dev/null 6>&1
564 +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
565 +# so uname gets run too.
566 +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
572 -# Any additions from configure.in:
574 - --enable-maintainer-mode
575 - enable maintainer-specific make rules (default: auto)"
577 - --enable-compat install <libelf.h>, <nlist.h> and <gelf.h> (default: auto)"
579 - --enable-elf64 compile in 64-bit support (default: auto)"
581 - --enable-versioning compile in versioning support (default: auto)"
583 - --enable-nls use Native Language Support (default: yes)"
585 - --enable-shared build shared library (default: yes)"
587 - --enable-gnu-names use GNU library naming conventions (default: no)"
589 - --enable-extended-format support extended file formats (default: no)"
591 - --enable-sanity-checks enable sanity checks by default (default: yes)"
593 - --enable-debug include extra debugging code (default: no)"
595 +ac_config_libobj_dir=.
601 +SHELL=${CONFIG_SHELL-/bin/sh}
603 +# Identity of this package.
610 +ac_unique_file="VERSION"
611 +# Factoring default headers for most tests.
612 +ac_includes_default="\
614 +#ifdef HAVE_SYS_TYPES_H
615 +# include <sys/types.h>
617 +#ifdef HAVE_SYS_STAT_H
618 +# include <sys/stat.h>
621 +# include <stdlib.h>
622 +# include <stddef.h>
624 +# ifdef HAVE_STDLIB_H
625 +# include <stdlib.h>
628 +#ifdef HAVE_STRING_H
629 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
630 +# include <memory.h>
632 +# include <string.h>
634 +#ifdef HAVE_STRINGS_H
635 +# include <strings.h>
637 +#ifdef HAVE_INTTYPES_H
638 +# include <inttypes.h>
640 +#ifdef HAVE_STDINT_H
641 +# include <stdint.h>
643 +#ifdef HAVE_UNISTD_H
644 +# include <unistd.h>
647 +ac_subst_vars='SHELL
656 +program_transform_name
738 + ac_precious_vars='build_alias
749 # Initialize some variables set by options.
751 +ac_init_version=false
752 # The variables have the same names as the options, with
753 # dashes changed to underlines.
755 -cache_file=./config.cache
756 +cache_file=/dev/null
764 @@ -50,94 +731,117 @@ program_transform_name=s,x,x,
773 +# Installation directory options.
774 +# These are left unexpanded so users can "make install exec_prefix=/foo"
775 +# and all the variables that are supposed to be based on exec_prefix
776 +# by default will actually change.
777 +# Use braces instead of parens because sh, perl, etc. also accept them.
778 +# (The list follows the same order as the GNU Coding Standards.)
779 bindir='${exec_prefix}/bin'
780 sbindir='${exec_prefix}/sbin'
781 libexecdir='${exec_prefix}/libexec'
782 -datadir='${prefix}/share'
783 +datarootdir='${prefix}/share'
784 +datadir='${datarootdir}'
785 sysconfdir='${prefix}/etc'
786 sharedstatedir='${prefix}/com'
787 localstatedir='${prefix}/var'
788 -libdir='${exec_prefix}/lib'
789 includedir='${prefix}/include'
790 oldincludedir='/usr/include'
791 -infodir='${prefix}/info'
792 -mandir='${prefix}/man'
794 -# Initialize some other variables.
797 -SHELL=${CONFIG_SHELL-/bin/sh}
798 -# Maximum number of lines to put in a shell here document.
799 -ac_max_here_lines=12
800 +docdir='${datarootdir}/doc/${PACKAGE}'
801 +infodir='${datarootdir}/info'
806 +libdir='${exec_prefix}/lib'
807 +localedir='${datarootdir}/locale'
808 +mandir='${datarootdir}/man'
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 - eval "$ac_prev=\$ac_option"
818 + eval $ac_prev=\$ac_option
823 - case "$ac_option" in
824 - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
827 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828 + *) ac_optarg=yes ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 - case "$ac_option" in
834 + case $ac_dashdash$ac_option in
838 -bindir | --bindir | --bindi | --bind | --bin | --bi)
840 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 - bindir="$ac_optarg" ;;
842 + bindir=$ac_optarg ;;
844 -build | --build | --buil | --bui | --bu)
846 + ac_prev=build_alias ;;
847 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
848 - build="$ac_optarg" ;;
849 + build_alias=$ac_optarg ;;
851 -cache-file | --cache-file | --cache-fil | --cache-fi \
852 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
853 ac_prev=cache_file ;;
854 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
855 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
856 - cache_file="$ac_optarg" ;;
857 + cache_file=$ac_optarg ;;
859 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
860 + --config-cache | -C)
861 + cache_file=config.cache ;;
863 + -datadir | --datadir | --datadi | --datad)
865 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
867 - datadir="$ac_optarg" ;;
868 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
869 + datadir=$ac_optarg ;;
871 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
872 + | --dataroo | --dataro | --datar)
873 + ac_prev=datarootdir ;;
874 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
875 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
876 + datarootdir=$ac_optarg ;;
878 -disable-* | --disable-*)
879 - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
880 + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
881 # Reject names that are not valid shell variable names.
882 - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
883 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
885 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
886 - eval "enable_${ac_feature}=no" ;;
887 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
888 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
889 + { (exit 1); exit 1; }; }
890 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
891 + eval enable_$ac_feature=no ;;
893 + -docdir | --docdir | --docdi | --doc | --do)
895 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
896 + docdir=$ac_optarg ;;
898 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
900 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
901 + dvidir=$ac_optarg ;;
903 -enable-* | --enable-*)
904 - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
905 + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
906 # Reject names that are not valid shell variable names.
907 - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
908 - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
910 - ac_feature=`echo $ac_feature| sed 's/-/_/g'`
911 - case "$ac_option" in
913 - *) ac_optarg=yes ;;
915 - eval "enable_${ac_feature}='$ac_optarg'" ;;
916 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 + { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 + { (exit 1); exit 1; }; }
919 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 + eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 @@ -146,116 +850,77 @@ do
925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
927 | --exec=* | --exe=* | --ex=*)
928 - exec_prefix="$ac_optarg" ;;
929 + exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
935 - -help | --help | --hel | --he)
936 - # Omit some internal or obsolete options to make the list less imposing.
937 - # This message is too long to be a string in the A/UX 3.1 sh.
939 -Usage: configure [options] [host]
940 -Options: [defaults in brackets after descriptions]
942 - --cache-file=FILE cache test results in FILE
943 - --help print this message
944 - --no-create do not create output files
945 - --quiet, --silent do not print \`checking...' messages
946 - --version print the version of autoconf that created configure
947 -Directory and file names:
948 - --prefix=PREFIX install architecture-independent files in PREFIX
949 - [$ac_default_prefix]
950 - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
952 - --bindir=DIR user executables in DIR [EPREFIX/bin]
953 - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
954 - --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
955 - --datadir=DIR read-only architecture-independent data in DIR
957 - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
958 - --sharedstatedir=DIR modifiable architecture-independent data in DIR
960 - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
961 - --libdir=DIR object code libraries in DIR [EPREFIX/lib]
962 - --includedir=DIR C header files in DIR [PREFIX/include]
963 - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
964 - --infodir=DIR info documentation in DIR [PREFIX/info]
965 - --mandir=DIR man documentation in DIR [PREFIX/man]
966 - --srcdir=DIR find the sources in DIR [configure dir or ..]
967 - --program-prefix=PREFIX prepend PREFIX to installed program names
968 - --program-suffix=SUFFIX append SUFFIX to installed program names
969 - --program-transform-name=PROGRAM
970 - run sed PROGRAM on installed program names
974 - --build=BUILD configure for building on BUILD [BUILD=HOST]
975 - --host=HOST configure for HOST [guessed]
976 - --target=TARGET configure for TARGET [TARGET=HOST]
977 -Features and packages:
978 - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
979 - --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
980 - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
981 - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
982 - --x-includes=DIR X include files are in DIR
983 - --x-libraries=DIR X library files are in DIR
985 - if test -n "$ac_help"; then
986 - echo "--enable and --with options recognized:$ac_help"
989 + -help | --help | --hel | --he | -h)
990 + ac_init_help=long ;;
991 + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
992 + ac_init_help=recursive ;;
993 + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
994 + ac_init_help=short ;;
996 -host | --host | --hos | --ho)
998 + ac_prev=host_alias ;;
999 -host=* | --host=* | --hos=* | --ho=*)
1000 - host="$ac_optarg" ;;
1001 + host_alias=$ac_optarg ;;
1003 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004 + ac_prev=htmldir ;;
1005 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1007 + htmldir=$ac_optarg ;;
1009 -includedir | --includedir | --includedi | --included | --include \
1010 | --includ | --inclu | --incl | --inc)
1011 ac_prev=includedir ;;
1012 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013 | --includ=* | --inclu=* | --incl=* | --inc=*)
1014 - includedir="$ac_optarg" ;;
1015 + includedir=$ac_optarg ;;
1017 -infodir | --infodir | --infodi | --infod | --info | --inf)
1019 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1020 - infodir="$ac_optarg" ;;
1021 + infodir=$ac_optarg ;;
1023 -libdir | --libdir | --libdi | --libd)
1025 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026 - libdir="$ac_optarg" ;;
1027 + libdir=$ac_optarg ;;
1029 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1030 | --libexe | --libex | --libe)
1031 ac_prev=libexecdir ;;
1032 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1033 | --libexe=* | --libex=* | --libe=*)
1034 - libexecdir="$ac_optarg" ;;
1035 + libexecdir=$ac_optarg ;;
1037 + -localedir | --localedir | --localedi | --localed | --locale)
1038 + ac_prev=localedir ;;
1039 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1040 + localedir=$ac_optarg ;;
1042 -localstatedir | --localstatedir | --localstatedi | --localstated \
1043 - | --localstate | --localstat | --localsta | --localst \
1044 - | --locals | --local | --loca | --loc | --lo)
1045 + | --localstate | --localstat | --localsta | --localst | --locals)
1046 ac_prev=localstatedir ;;
1047 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1048 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1049 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1050 - localstatedir="$ac_optarg" ;;
1051 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052 + localstatedir=$ac_optarg ;;
1054 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1056 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057 - mandir="$ac_optarg" ;;
1058 + mandir=$ac_optarg ;;
1060 -nfp | --nfp | --nf)
1061 # Obsolete; use --without-fp.
1064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065 - | --no-cr | --no-c)
1066 + | --no-cr | --no-c | -n)
1069 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1070 @@ -269,26 +934,26 @@ EOF
1071 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1072 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1073 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1074 - oldincludedir="$ac_optarg" ;;
1075 + oldincludedir=$ac_optarg ;;
1077 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1079 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1080 - prefix="$ac_optarg" ;;
1081 + prefix=$ac_optarg ;;
1083 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1084 | --program-pre | --program-pr | --program-p)
1085 ac_prev=program_prefix ;;
1086 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1087 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1088 - program_prefix="$ac_optarg" ;;
1089 + program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 - program_suffix="$ac_optarg" ;;
1097 + program_suffix=$ac_optarg ;;
1099 -program-transform-name | --program-transform-name \
1100 | --program-transform-nam | --program-transform-na \
1101 @@ -305,7 +970,17 @@ EOF
1102 | --program-transfo=* | --program-transf=* \
1103 | --program-trans=* | --program-tran=* \
1104 | --progr-tra=* | --program-tr=* | --program-t=*)
1105 - program_transform_name="$ac_optarg" ;;
1106 + program_transform_name=$ac_optarg ;;
1108 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1110 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1111 + pdfdir=$ac_optarg ;;
1113 + -psdir | --psdir | --psdi | --psd | --ps)
1115 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1116 + psdir=$ac_optarg ;;
1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1119 | -silent | --silent | --silen | --sile | --sil)
1120 @@ -315,7 +990,7 @@ EOF
1122 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124 - sbindir="$ac_optarg" ;;
1125 + sbindir=$ac_optarg ;;
1127 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129 @@ -326,58 +1001,53 @@ EOF
1130 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1131 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1133 - sharedstatedir="$ac_optarg" ;;
1134 + sharedstatedir=$ac_optarg ;;
1136 -site | --site | --sit)
1138 -site=* | --site=* | --sit=*)
1139 - site="$ac_optarg" ;;
1140 + site=$ac_optarg ;;
1142 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145 - srcdir="$ac_optarg" ;;
1146 + srcdir=$ac_optarg ;;
1148 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149 | --syscon | --sysco | --sysc | --sys | --sy)
1150 ac_prev=sysconfdir ;;
1151 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153 - sysconfdir="$ac_optarg" ;;
1154 + sysconfdir=$ac_optarg ;;
1156 -target | --target | --targe | --targ | --tar | --ta | --t)
1158 + ac_prev=target_alias ;;
1159 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1160 - target="$ac_optarg" ;;
1161 + target_alias=$ac_optarg ;;
1163 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1166 - -version | --version | --versio | --versi | --vers)
1167 - echo "configure generated by autoconf version 2.13"
1169 + -version | --version | --versio | --versi | --vers | -V)
1170 + ac_init_version=: ;;
1173 - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
1174 + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
1177 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
1179 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1180 - case "$ac_option" in
1182 - *) ac_optarg=yes ;;
1184 - eval "with_${ac_package}='$ac_optarg'" ;;
1185 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186 + { echo "$as_me: error: invalid package name: $ac_package" >&2
1187 + { (exit 1); exit 1; }; }
1188 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1189 + eval with_$ac_package=\$ac_optarg ;;
1191 -without-* | --without-*)
1192 - ac_package=`echo $ac_option|sed -e 's/-*without-//'`
1193 + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
1196 - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
1198 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1199 - eval "with_${ac_package}=no" ;;
1200 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1201 + { echo "$as_me: error: invalid package name: $ac_package" >&2
1202 + { (exit 1); exit 1; }; }
1203 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1204 + eval with_$ac_package=no ;;
1207 # Obsolete; use --with-x.
1208 @@ -388,157 +1058,652 @@ EOF
1209 ac_prev=x_includes ;;
1210 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1211 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1212 - x_includes="$ac_optarg" ;;
1213 + x_includes=$ac_optarg ;;
1215 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1216 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1217 ac_prev=x_libraries ;;
1218 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1219 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1220 - x_libraries="$ac_optarg" ;;
1221 + x_libraries=$ac_optarg ;;
1223 - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
1224 + -*) { echo "$as_me: error: unrecognized option: $ac_option
1225 +Try \`$0 --help' for more information." >&2
1226 + { (exit 1); exit 1; }; }
1230 + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 + # Reject names that are not valid shell variable names.
1232 + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1233 + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1234 + { (exit 1); exit 1; }; }
1235 + eval $ac_envvar=\$ac_optarg
1236 + export $ac_envvar ;;
1239 - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
1240 - echo "configure: warning: $ac_option: invalid host type" 1>&2
1242 - if test "x$nonopt" != xNONE; then
1243 - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
1245 - nonopt="$ac_option"
1246 + # FIXME: should be removed in autoconf 3.0.
1247 + echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249 + echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1256 if test -n "$ac_prev"; then
1257 - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
1258 + ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1259 + { echo "$as_me: error: missing argument to $ac_option" >&2
1260 + { (exit 1); exit 1; }; }
1263 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1264 +# Be sure to have absolute directory names.
1265 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 + datadir sysconfdir sharedstatedir localstatedir includedir \
1267 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 + libdir localedir mandir
1270 + eval ac_val=\$$ac_var
1272 + [\\/$]* | ?:[\\/]* ) continue;;
1273 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1275 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1276 + { (exit 1); exit 1; }; }
1279 -# File descriptor usage:
1282 -# 2 errors and warnings
1283 -# 3 some systems may open it to /dev/tty
1284 -# 4 used on the Kubota Titan
1285 -# 6 checking for... messages and results
1286 -# 5 compiler messages saved in config.log
1287 -if test "$silent" = yes; then
1291 +# There might be people who depend on the old broken behavior: `$host'
1292 +# used to hold the argument of --host etc.
1293 +# FIXME: To remove some day.
1296 +target=$target_alias
1298 +# FIXME: To remove some day.
1299 +if test "x$host_alias" != x; then
1300 + if test "x$build_alias" = x; then
1301 + cross_compiling=maybe
1302 + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1303 + If a cross compiler is detected then cross compile mode will be used." >&2
1304 + elif test "x$build_alias" != "x$host_alias"; then
1305 + cross_compiling=yes
1308 -exec 5>./config.log
1311 -This file contains any messages produced by compilers while
1312 -running configure, to aid debugging if configure makes a mistake.
1315 +test -n "$host_alias" && ac_tool_prefix=$host_alias-
1317 -# Strip out --no-create and --no-recursion so they do not pile up.
1318 -# Also quote any args containing shell metacharacters.
1323 - -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1324 - | --no-cr | --no-c) ;;
1325 - -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1326 - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1327 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
1328 - ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1329 - *) ac_configure_args="$ac_configure_args $ac_arg" ;;
1332 +test "$silent" = yes && exec 6>/dev/null
1335 -# Only set these to C if already set. These must not be set unconditionally
1336 -# because not all systems understand e.g. LANG=C (notably SCO).
1337 -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
1338 -# Non-C LC_CTYPE values break the ctype check.
1339 -if test "${LANG+set}" = set; then LANG=C; export LANG; fi
1340 -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
1341 -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
1342 -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
1344 -# confdefs.h avoids OS command line length limits that DEFS can exceed.
1345 -rm -rf conftest* confdefs.h
1346 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1348 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1349 +ac_ls_di=`ls -di .` &&
1350 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1351 + { echo "$as_me: error: Working directory cannot be determined" >&2
1352 + { (exit 1); exit 1; }; }
1353 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1354 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1355 + { (exit 1); exit 1; }; }
1357 -# A filename unique to this package, relative to the directory that
1358 -# configure is in, which we can look for to find out if srcdir is correct.
1359 -ac_unique_file=VERSION
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 - # Try the directory containing this script, then its parent.
1366 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
1367 - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1368 + # Try the directory containing this script, then the parent directory.
1369 + ac_confdir=`$as_dirname -- "$0" ||
1370 +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 + X"$0" : 'X\(//\)[^/]' \| \
1372 + X"$0" : 'X\(//\)$' \| \
1373 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1375 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1379 + /^X\(\/\/\)[^/].*/{
1393 - if test ! -r $srcdir/$ac_unique_file; then
1394 + if test ! -r "$srcdir/$ac_unique_file"; then
1398 ac_srcdir_defaulted=no
1400 -if test ! -r $srcdir/$ac_unique_file; then
1401 - if test "$ac_srcdir_defaulted" = yes; then
1402 - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
1404 - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
1406 +if test ! -r "$srcdir/$ac_unique_file"; then
1407 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1408 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1409 + { (exit 1); exit 1; }; }
1411 -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1412 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1414 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1415 + { (exit 1); exit 1; }; }
1417 +# When building in place, set srcdir=.
1418 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1421 +# Remove unnecessary trailing slashes from srcdir.
1422 +# Double slashes in file names in object file debugging info
1423 +# mess up M-x gdb in Emacs.
1425 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 +for ac_var in $ac_precious_vars; do
1428 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1429 + eval ac_env_${ac_var}_value=\$${ac_var}
1430 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1431 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1435 +# Report the --help message.
1437 +if test "$ac_init_help" = "long"; then
1438 + # Omit some internal or obsolete options to make the list less imposing.
1439 + # This message is too long to be a string in the A/UX 3.1 sh.
1441 +\`configure' configures this package to adapt to many kinds of systems.
1443 +Usage: $0 [OPTION]... [VAR=VALUE]...
1445 +To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446 +VAR=VALUE. See below for descriptions of some of the useful variables.
1448 +Defaults for the options are specified in brackets.
1451 + -h, --help display this help and exit
1452 + --help=short display options specific to this package
1453 + --help=recursive display the short help of all the included packages
1454 + -V, --version display version information and exit
1455 + -q, --quiet, --silent do not print \`checking...' messages
1456 + --cache-file=FILE cache test results in FILE [disabled]
1457 + -C, --config-cache alias for \`--cache-file=config.cache'
1458 + -n, --no-create do not create output files
1459 + --srcdir=DIR find the sources in DIR [configure dir or \`..']
1461 +Installation directories:
1462 + --prefix=PREFIX install architecture-independent files in PREFIX
1463 + [$ac_default_prefix]
1464 + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1467 +By default, \`make install' will install all the files in
1468 +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1469 +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470 +for instance \`--prefix=\$HOME'.
1472 +For better control, use the options below.
1474 +Fine tuning of the installation directories:
1475 + --bindir=DIR user executables [EPREFIX/bin]
1476 + --sbindir=DIR system admin executables [EPREFIX/sbin]
1477 + --libexecdir=DIR program executables [EPREFIX/libexec]
1478 + --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1479 + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1480 + --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1481 + --libdir=DIR object code libraries [EPREFIX/lib]
1482 + --includedir=DIR C header files [PREFIX/include]
1483 + --oldincludedir=DIR C header files for non-gcc [/usr/include]
1484 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1485 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1486 + --infodir=DIR info documentation [DATAROOTDIR/info]
1487 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1488 + --mandir=DIR man documentation [DATAROOTDIR/man]
1489 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1490 + --htmldir=DIR html documentation [DOCDIR]
1491 + --dvidir=DIR dvi documentation [DOCDIR]
1492 + --pdfdir=DIR pdf documentation [DOCDIR]
1493 + --psdir=DIR ps documentation [DOCDIR]
1499 + --build=BUILD configure for building on BUILD [guessed]
1500 + --host=HOST cross-compile to build programs to run on HOST [BUILD]
1504 +if test -n "$ac_init_help"; then
1509 + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1510 + --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1511 + --enable-maintainer-mode
1512 + enable maintainer-specific make rules (default: auto)
1513 + --enable-compat install <libelf.h>, <nlist.h> and <gelf.h> (default: auto)
1514 + --enable-elf64 compile in 64-bit support (default: auto)
1515 + --enable-versioning compile in versioning support (default: auto)
1516 + --enable-nls use Native Language Support (default: yes)
1517 + --enable-shared build shared library (default: yes)
1518 + --enable-gnu-names use GNU library naming conventions (default: no)
1519 + --enable-extended-format support extended file formats (default: no)
1520 + --enable-sanity-checks enable sanity checks by default (default: yes)
1521 + --enable-debug include extra debugging code (default: no)
1523 +Some influential environment variables:
1524 + CC C compiler command
1525 + CFLAGS C compiler flags
1526 + LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1527 + nonstandard directory <lib dir>
1528 + LIBS libraries to pass to the linker, e.g. -l<library>
1529 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1530 + you have headers in a nonstandard directory <include dir>
1531 + CPP C preprocessor
1533 +Use these variables to override the choices made by `configure' or to help
1534 +it to find libraries and programs with nonstandard names/locations.
1540 +if test "$ac_init_help" = "recursive"; then
1541 + # If there are subdirs, report their specific --help.
1542 + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1543 + test -d "$ac_dir" || continue
1547 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1550 + # A ".." for each directory in $ac_dir_suffix.
1551 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1552 + case $ac_top_builddir_sub in
1553 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1554 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1557 +ac_abs_top_builddir=$ac_pwd
1558 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1559 +# for backward compatibility:
1560 +ac_top_builddir=$ac_top_build_prefix
1563 + .) # We are building in place.
1565 + ac_top_srcdir=$ac_top_builddir_sub
1566 + ac_abs_top_srcdir=$ac_pwd ;;
1567 + [\\/]* | ?:[\\/]* ) # Absolute name.
1568 + ac_srcdir=$srcdir$ac_dir_suffix;
1569 + ac_top_srcdir=$srcdir
1570 + ac_abs_top_srcdir=$srcdir ;;
1571 + *) # Relative name.
1572 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1574 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1576 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1578 + cd "$ac_dir" || { ac_status=$?; continue; }
1579 + # Check for guested configure.
1580 + if test -f "$ac_srcdir/configure.gnu"; then
1582 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583 + elif test -f "$ac_srcdir/configure"; then
1585 + $SHELL "$ac_srcdir/configure" --help=recursive
1587 + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588 + fi || ac_status=$?
1589 + cd "$ac_pwd" || { ac_status=$?; break; }
1593 +test -n "$ac_init_help" && exit $ac_status
1594 +if $ac_init_version; then
1597 +generated by GNU Autoconf 2.61
1599 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1600 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1601 +This configure script is free software; the Free Software Foundation
1602 +gives unlimited permission to copy, distribute and modify it.
1606 +cat >config.log <<_ACEOF
1607 +This file contains any messages produced by compilers while
1608 +running configure, to aid debugging if configure makes a mistake.
1610 +It was created by $as_me, which was
1611 +generated by GNU Autoconf 2.61. Invocation command line was
1623 +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1624 +uname -m = `(uname -m) 2>/dev/null || echo unknown`
1625 +uname -r = `(uname -r) 2>/dev/null || echo unknown`
1626 +uname -s = `(uname -s) 2>/dev/null || echo unknown`
1627 +uname -v = `(uname -v) 2>/dev/null || echo unknown`
1629 +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1630 +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1632 +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1633 +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1634 +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1635 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1636 +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1637 +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1638 +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1642 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1643 +for as_dir in $PATH
1646 + test -z "$as_dir" && as_dir=.
1647 + echo "PATH: $as_dir"
1663 +# Keep a trace of the command line.
1664 +# Strip out --no-create and --no-recursion so they do not pile up.
1665 +# Strip out --silent because we don't want to record it for future runs.
1666 +# Also quote any args containing shell meta-characters.
1667 +# Make two passes to allow for proper duplicate-argument suppression.
1669 +ac_configure_args0=
1670 +ac_configure_args1=
1671 +ac_must_keep_next=false
1677 + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1678 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1679 + | -silent | --silent | --silen | --sile | --sil)
1682 + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1685 + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1687 + ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1688 + if test $ac_must_keep_next = true; then
1689 + ac_must_keep_next=false # Got value, back to normal.
1692 + *=* | --config-cache | -C | -disable-* | --disable-* \
1693 + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1694 + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1695 + | -with-* | --with-* | -without-* | --without-* | --x)
1696 + case "$ac_configure_args0 " in
1697 + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1700 + -* ) ac_must_keep_next=true ;;
1703 + ac_configure_args="$ac_configure_args '$ac_arg'"
1708 +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1709 +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1711 +# When interrupted or exit'd, cleanup temporary files, and complete
1712 +# config.log. We remove comments because anyway the quotes in there
1713 +# would cause problems or look ugly.
1714 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1715 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1716 +trap 'exit_status=$?
1717 + # Save into config.log some information that might help in debugging.
1722 +## ---------------- ##
1723 +## Cache variables. ##
1724 +## ---------------- ##
1727 + # The following way of writing the cache mishandles newlines in values,
1729 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1730 + eval ac_val=\$$ac_var
1731 + case $ac_val in #(
1733 + case $ac_var in #(
1734 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1735 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1737 + case $ac_var in #(
1738 + _ | IFS | as_nl) ;; #(
1739 + *) $as_unset $ac_var ;;
1744 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1745 + *${as_nl}ac_space=\ *)
1747 + "s/'\''/'\''\\\\'\'''\''/g;
1748 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1751 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1759 +## ----------------- ##
1760 +## Output variables. ##
1761 +## ----------------- ##
1764 + for ac_var in $ac_subst_vars
1766 + eval ac_val=\$$ac_var
1768 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1770 + echo "$ac_var='\''$ac_val'\''"
1774 + if test -n "$ac_subst_files"; then
1776 +## ------------------- ##
1777 +## File substitutions. ##
1778 +## ------------------- ##
1781 + for ac_var in $ac_subst_files
1783 + eval ac_val=\$$ac_var
1785 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1787 + echo "$ac_var='\''$ac_val'\''"
1792 + if test -s confdefs.h; then
1802 + test "$ac_signal" != 0 &&
1803 + echo "$as_me: caught signal $ac_signal"
1804 + echo "$as_me: exit $exit_status"
1806 + rm -f core *.core core.conftest.* &&
1807 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1810 +for ac_signal in 1 2 13 15; do
1811 + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1815 +# confdefs.h avoids OS command line length limits that DEFS can exceed.
1816 +rm -f -r conftest* confdefs.h
1818 +# Predefined preprocessor variables.
1820 +cat >>confdefs.h <<_ACEOF
1821 +#define PACKAGE_NAME "$PACKAGE_NAME"
1825 +cat >>confdefs.h <<_ACEOF
1826 +#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1830 +cat >>confdefs.h <<_ACEOF
1831 +#define PACKAGE_VERSION "$PACKAGE_VERSION"
1835 +cat >>confdefs.h <<_ACEOF
1836 +#define PACKAGE_STRING "$PACKAGE_STRING"
1840 +cat >>confdefs.h <<_ACEOF
1841 +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1845 +# Let the site file select an alternate cache file if it wants to.
1846 # Prefer explicitly selected file to automatically selected ones.
1847 -if test -z "$CONFIG_SITE"; then
1848 - if test "x$prefix" != xNONE; then
1849 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1851 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1853 +if test -n "$CONFIG_SITE"; then
1854 + set x "$CONFIG_SITE"
1855 +elif test "x$prefix" != xNONE; then
1856 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1858 + set x "$ac_default_prefix/share/config.site" \
1859 + "$ac_default_prefix/etc/config.site"
1861 -for ac_site_file in $CONFIG_SITE; do
1865 if test -r "$ac_site_file"; then
1866 - echo "loading site script $ac_site_file"
1867 + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1868 +echo "$as_me: loading site script $ac_site_file" >&6;}
1869 + sed 's/^/| /' "$ac_site_file" >&5
1874 if test -r "$cache_file"; then
1875 - echo "loading cache $cache_file"
1877 + # Some versions of bash will fail to source /dev/null (special
1878 + # files actually), so we avoid doing that.
1879 + if test -f "$cache_file"; then
1880 + { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1881 +echo "$as_me: loading cache $cache_file" >&6;}
1882 + case $cache_file in
1883 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1884 + *) . "./$cache_file";;
1888 - echo "creating cache $cache_file"
1890 + { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1891 +echo "$as_me: creating cache $cache_file" >&6;}
1896 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1897 -ac_cpp='$CPP $CPPFLAGS'
1898 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1899 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1900 -cross_compiling=$ac_cv_prog_cc_cross
1904 -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
1905 - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
1906 - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
1910 - ac_n=-n ac_c= ac_t=
1911 +# Check that the precious variables saved in the cache have kept the same
1913 +ac_cache_corrupted=false
1914 +for ac_var in $ac_precious_vars; do
1915 + eval ac_old_set=\$ac_cv_env_${ac_var}_set
1916 + eval ac_new_set=\$ac_env_${ac_var}_set
1917 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1918 + eval ac_new_val=\$ac_env_${ac_var}_value
1919 + case $ac_old_set,$ac_new_set in
1921 + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1922 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1923 + ac_cache_corrupted=: ;;
1925 + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1926 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1927 + ac_cache_corrupted=: ;;
1930 + if test "x$ac_old_val" != "x$ac_new_val"; then
1931 + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1932 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1933 + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1934 +echo "$as_me: former value: $ac_old_val" >&2;}
1935 + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1936 +echo "$as_me: current value: $ac_new_val" >&2;}
1937 + ac_cache_corrupted=:
1940 + # Pass precious variables to config.status.
1941 + if test "$ac_new_set" = set; then
1942 + case $ac_new_val in
1943 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1944 + *) ac_arg=$ac_var=$ac_new_val ;;
1946 + case " $ac_configure_args " in
1947 + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1948 + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1952 - ac_n= ac_c='\c' ac_t=
1954 +if $ac_cache_corrupted; then
1955 + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1956 +echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1957 + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1958 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1959 + { (exit 1); exit 1; }; }
1963 @@ -546,14 +1711,36 @@ fi
1979 +ac_cpp='$CPP $CPPFLAGS'
1980 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1981 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1982 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1985 +ac_config_headers="$ac_config_headers config.h lib/sys_elf.h"
1991 VERSION=`cat $srcdir/VERSION`
1994 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1997 + # Check whether --enable-maintainer-mode was given.
1998 if test "${enable_maintainer_mode+set}" = set; then
1999 - enableval="$enable_maintainer_mode"
2000 - mr_enable_maintainer_mode="$enableval"
2001 + enableval=$enable_maintainer_mode; mr_enable_maintainer_mode="$enableval"
2003 case :${I_AM_THE_MAINTAINER_OF}: in
2004 *:libelf:*) mr_enable_maintainer_mode=yes;;
2005 @@ -566,7 +1753,7 @@ fi
2007 MAINT='maintainer-only-'
2013 ALL_LINGUAS=`cd $srcdir/po && echo *.po | sed 's/\.po//g'`
2014 @@ -577,241 +1764,821 @@ MINOR=${2-0}
2018 -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
2019 -echo "configure:582: checking whether ${MAKE-make} sets \${MAKE}" >&5
2020 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2021 -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2022 - echo $ac_n "(cached) $ac_c" 1>&6
2023 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2024 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2025 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2026 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2027 + echo $ECHO_N "(cached) $ECHO_C" >&6
2029 - cat > conftestmake <<\EOF
2030 + cat >conftest.make <<\_ACEOF
2033 - @echo 'ac_maketemp="${MAKE}"'
2035 + @echo '@@@%%%=$(MAKE)=@@@%%%'
2037 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2038 -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
2039 -if test -n "$ac_maketemp"; then
2040 - eval ac_cv_prog_make_${ac_make}_set=yes
2042 - eval ac_cv_prog_make_${ac_make}_set=no
2045 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
2046 + *@@@%%%=?*=@@@%%%*)
2047 + eval ac_cv_prog_make_${ac_make}_set=yes;;
2049 + eval ac_cv_prog_make_${ac_make}_set=no;;
2051 +rm -f conftest.make
2053 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2054 - echo "$ac_t""yes" 1>&6
2055 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2056 + { echo "$as_me:$LINENO: result: yes" >&5
2057 +echo "${ECHO_T}yes" >&6; }
2060 - echo "$ac_t""no" 1>&6
2061 + { echo "$as_me:$LINENO: result: no" >&5
2062 +echo "${ECHO_T}no" >&6; }
2063 SET_MAKE="MAKE=${MAKE-make}"
2066 -# Extract the first word of "gcc", so it can be a program name with args.
2068 +ac_cpp='$CPP $CPPFLAGS'
2069 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2070 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2071 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2072 +if test -n "$ac_tool_prefix"; then
2073 + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2074 +set dummy ${ac_tool_prefix}gcc; ac_word=$2
2075 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2077 +if test "${ac_cv_prog_CC+set}" = set; then
2078 + echo $ECHO_N "(cached) $ECHO_C" >&6
2080 + if test -n "$CC"; then
2081 + ac_cv_prog_CC="$CC" # Let the user override the test.
2083 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084 +for as_dir in $PATH
2087 + test -z "$as_dir" && as_dir=.
2088 + for ac_exec_ext in '' $ac_executable_extensions; do
2089 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2090 + ac_cv_prog_CC="${ac_tool_prefix}gcc"
2091 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2101 +if test -n "$CC"; then
2102 + { echo "$as_me:$LINENO: result: $CC" >&5
2103 +echo "${ECHO_T}$CC" >&6; }
2105 + { echo "$as_me:$LINENO: result: no" >&5
2106 +echo "${ECHO_T}no" >&6; }
2111 +if test -z "$ac_cv_prog_CC"; then
2113 + # Extract the first word of "gcc", so it can be a program name with args.
2114 set dummy gcc; ac_word=$2
2115 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2116 -echo "configure:611: checking for $ac_word" >&5
2117 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2118 - echo $ac_n "(cached) $ac_c" 1>&6
2119 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2121 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2122 + echo $ECHO_N "(cached) $ECHO_C" >&6
2124 + if test -n "$ac_ct_CC"; then
2125 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2127 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 +for as_dir in $PATH
2131 + test -z "$as_dir" && as_dir=.
2132 + for ac_exec_ext in '' $ac_executable_extensions; do
2133 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2134 + ac_cv_prog_ac_ct_CC="gcc"
2135 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2144 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
2145 +if test -n "$ac_ct_CC"; then
2146 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2147 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2149 + { echo "$as_me:$LINENO: result: no" >&5
2150 +echo "${ECHO_T}no" >&6; }
2153 + if test "x$ac_ct_CC" = x; then
2156 + case $cross_compiling:$ac_tool_warned in
2158 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2159 +whose name does not start with the host triplet. If you think this
2160 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2161 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2162 +whose name does not start with the host triplet. If you think this
2163 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2164 +ac_tool_warned=yes ;;
2169 + CC="$ac_cv_prog_CC"
2172 +if test -z "$CC"; then
2173 + if test -n "$ac_tool_prefix"; then
2174 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2175 +set dummy ${ac_tool_prefix}cc; ac_word=$2
2176 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2177 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2178 +if test "${ac_cv_prog_CC+set}" = set; then
2179 + echo $ECHO_N "(cached) $ECHO_C" >&6
2181 if test -n "$CC"; then
2182 ac_cv_prog_CC="$CC" # Let the user override the test.
2184 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2186 - for ac_dir in $ac_dummy; do
2187 - test -z "$ac_dir" && ac_dir=.
2188 - if test -f $ac_dir/$ac_word; then
2189 - ac_cv_prog_CC="gcc"
2193 - IFS="$ac_save_ifs"
2194 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 +for as_dir in $PATH
2198 + test -z "$as_dir" && as_dir=.
2199 + for ac_exec_ext in '' $ac_executable_extensions; do
2200 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 + ac_cv_prog_CC="${ac_tool_prefix}cc"
2202 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 -CC="$ac_cv_prog_CC"
2213 if test -n "$CC"; then
2214 - echo "$ac_t""$CC" 1>&6
2215 + { echo "$as_me:$LINENO: result: $CC" >&5
2216 +echo "${ECHO_T}$CC" >&6; }
2218 - echo "$ac_t""no" 1>&6
2219 + { echo "$as_me:$LINENO: result: no" >&5
2220 +echo "${ECHO_T}no" >&6; }
2226 if test -z "$CC"; then
2227 # Extract the first word of "cc", so it can be a program name with args.
2228 set dummy cc; ac_word=$2
2229 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2230 -echo "configure:641: checking for $ac_word" >&5
2231 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2232 - echo $ac_n "(cached) $ac_c" 1>&6
2233 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2234 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2235 +if test "${ac_cv_prog_CC+set}" = set; then
2236 + echo $ECHO_N "(cached) $ECHO_C" >&6
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC="$CC" # Let the user override the test.
2241 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2244 - for ac_dir in $ac_dummy; do
2245 - test -z "$ac_dir" && ac_dir=.
2246 - if test -f $ac_dir/$ac_word; then
2247 - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2248 - ac_prog_rejected=yes
2251 - ac_cv_prog_CC="cc"
2255 - IFS="$ac_save_ifs"
2256 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 +for as_dir in $PATH
2260 + test -z "$as_dir" && as_dir=.
2261 + for ac_exec_ext in '' $ac_executable_extensions; do
2262 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2264 + ac_prog_rejected=yes
2267 + ac_cv_prog_CC="cc"
2268 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test $ac_prog_rejected = yes; then
2276 # We found a bogon in the path, so make sure we never use it.
2277 set dummy $ac_cv_prog_CC
2279 - if test $# -gt 0; then
2280 + if test $# != 0; then
2281 # We chose a different compiler from the bogus one.
2282 # However, it has the same basename, so the bogon will be chosen
2283 # first if we set CC to just the basename; use the full file name.
2285 - set dummy "$ac_dir/$ac_word" "$@"
2287 - ac_cv_prog_CC="$@"
2288 + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2293 -CC="$ac_cv_prog_CC"
2295 if test -n "$CC"; then
2296 - echo "$ac_t""$CC" 1>&6
2297 + { echo "$as_me:$LINENO: result: $CC" >&5
2298 +echo "${ECHO_T}$CC" >&6; }
2300 - echo "$ac_t""no" 1>&6
2301 + { echo "$as_me:$LINENO: result: no" >&5
2302 +echo "${ECHO_T}no" >&6; }
2305 - if test -z "$CC"; then
2306 - case "`uname -s`" in
2307 - *win32* | *WIN32*)
2308 - # Extract the first word of "cl", so it can be a program name with args.
2309 -set dummy cl; ac_word=$2
2310 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2311 -echo "configure:692: checking for $ac_word" >&5
2312 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
2313 - echo $ac_n "(cached) $ac_c" 1>&6
2316 +if test -z "$CC"; then
2317 + if test -n "$ac_tool_prefix"; then
2318 + for ac_prog in cl.exe
2320 + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2321 +set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2322 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2324 +if test "${ac_cv_prog_CC+set}" = set; then
2325 + echo $ECHO_N "(cached) $ECHO_C" >&6
2327 if test -n "$CC"; then
2328 ac_cv_prog_CC="$CC" # Let the user override the test.
2330 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2332 - for ac_dir in $ac_dummy; do
2333 - test -z "$ac_dir" && ac_dir=.
2334 - if test -f $ac_dir/$ac_word; then
2335 - ac_cv_prog_CC="cl"
2339 - IFS="$ac_save_ifs"
2340 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 +for as_dir in $PATH
2344 + test -z "$as_dir" && as_dir=.
2345 + for ac_exec_ext in '' $ac_executable_extensions; do
2346 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2347 + ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2348 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 -CC="$ac_cv_prog_CC"
2359 if test -n "$CC"; then
2360 - echo "$ac_t""$CC" 1>&6
2361 + { echo "$as_me:$LINENO: result: $CC" >&5
2362 +echo "${ECHO_T}$CC" >&6; }
2364 - echo "$ac_t""no" 1>&6
2365 + { echo "$as_me:$LINENO: result: no" >&5
2366 +echo "${ECHO_T}no" >&6; }
2372 + test -n "$CC" && break
2375 +if test -z "$CC"; then
2377 + for ac_prog in cl.exe
2379 + # Extract the first word of "$ac_prog", so it can be a program name with args.
2380 +set dummy $ac_prog; ac_word=$2
2381 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2382 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2383 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2384 + echo $ECHO_N "(cached) $ECHO_C" >&6
2386 + if test -n "$ac_ct_CC"; then
2387 + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2389 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 +for as_dir in $PATH
2393 + test -z "$as_dir" && as_dir=.
2394 + for ac_exec_ext in '' $ac_executable_extensions; do
2395 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2396 + ac_cv_prog_ac_ct_CC="$ac_prog"
2397 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
2407 +ac_ct_CC=$ac_cv_prog_ac_ct_CC
2408 +if test -n "$ac_ct_CC"; then
2409 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2410 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2412 + { echo "$as_me:$LINENO: result: no" >&5
2413 +echo "${ECHO_T}no" >&6; }
2416 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
2417 -echo "configure:724: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2420 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2421 -ac_cpp='$CPP $CPPFLAGS'
2422 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2423 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2424 -cross_compiling=$ac_cv_prog_cc_cross
2425 + test -n "$ac_ct_CC" && break
2428 -cat > conftest.$ac_ext << EOF
2429 + if test "x$ac_ct_CC" = x; then
2432 + case $cross_compiling:$ac_tool_warned in
2434 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2435 +whose name does not start with the host triplet. If you think this
2436 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2437 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2438 +whose name does not start with the host triplet. If you think this
2439 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2440 +ac_tool_warned=yes ;;
2446 -#line 735 "configure"
2447 -#include "confdefs.h"
2452 -if { (eval echo configure:740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2453 - ac_cv_prog_cc_works=yes
2454 - # If we can't run a trivial program, we are probably using a cross compiler.
2455 - if (./conftest; exit) 2>/dev/null; then
2456 - ac_cv_prog_cc_cross=no
2458 +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2459 +See \`config.log' for more details." >&5
2460 +echo "$as_me: error: no acceptable C compiler found in \$PATH
2461 +See \`config.log' for more details." >&2;}
2462 + { (exit 1); exit 1; }; }
2464 +# Provide some information about the compiler.
2465 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2466 +ac_compiler=`set X $ac_compile; echo $2`
2467 +{ (ac_try="$ac_compiler --version >&5"
2468 +case "(($ac_try" in
2469 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 + *) ac_try_echo=$ac_try;;
2472 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2473 + (eval "$ac_compiler --version >&5") 2>&5
2475 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 + (exit $ac_status); }
2477 +{ (ac_try="$ac_compiler -v >&5"
2478 +case "(($ac_try" in
2479 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 + *) ac_try_echo=$ac_try;;
2482 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2483 + (eval "$ac_compiler -v >&5") 2>&5
2485 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 + (exit $ac_status); }
2487 +{ (ac_try="$ac_compiler -V >&5"
2488 +case "(($ac_try" in
2489 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490 + *) ac_try_echo=$ac_try;;
2492 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2493 + (eval "$ac_compiler -V >&5") 2>&5
2495 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 + (exit $ac_status); }
2498 +cat >conftest.$ac_ext <<_ACEOF
2501 +cat confdefs.h >>conftest.$ac_ext
2502 +cat >>conftest.$ac_ext <<_ACEOF
2503 +/* end confdefs.h. */
2513 +ac_clean_files_save=$ac_clean_files
2514 +ac_clean_files="$ac_clean_files a.out a.exe b.out"
2515 +# Try to create an executable without -o first, disregard a.out.
2516 +# It will help us diagnose broken compilers, and finding out an intuition
2518 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2519 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2520 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2522 +# List of possible output files, starting from the most likely.
2523 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2524 +# only as a last resort. b.out is created by i960 compilers.
2525 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2527 +# The IRIX 6 linker writes into existing files which may not be
2528 +# executable, retaining their permissions. Remove them first so a
2529 +# subsequent execution test works.
2531 +for ac_file in $ac_files
2534 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2535 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2540 +if { (ac_try="$ac_link_default"
2541 +case "(($ac_try" in
2542 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 + *) ac_try_echo=$ac_try;;
2545 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2546 + (eval "$ac_link_default") 2>&5
2548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 + (exit $ac_status); }; then
2550 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2551 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2552 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2553 +# so that the user can short-circuit this test for compilers unknown to
2555 +for ac_file in $ac_files ''
2557 + test -f "$ac_file" || continue
2559 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2562 + # We found the default executable, but exeext='' is most
2563 + # certainly right.
2566 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2568 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2570 + # We set ac_cv_exeext here because the later test for it is not
2571 + # safe: cross compilers may not add the suffix if given an `-o'
2572 + # argument, so we may need to know it at that point already.
2573 + # Even if this section looks crufty: it has the advantage of
2574 + # actually working.
2580 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2586 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2587 +echo "${ECHO_T}$ac_file" >&6; }
2588 +if test -z "$ac_file"; then
2589 + echo "$as_me: failed program was:" >&5
2590 +sed 's/^/| /' conftest.$ac_ext >&5
2592 +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2593 +See \`config.log' for more details." >&5
2594 +echo "$as_me: error: C compiler cannot create executables
2595 +See \`config.log' for more details." >&2;}
2596 + { (exit 77); exit 77; }; }
2599 +ac_exeext=$ac_cv_exeext
2601 +# Check that the compiler produces executables we can run. If not, either
2602 +# the compiler is broken, or we cross compile.
2603 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2604 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2605 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2606 +# If not cross compiling, check that we can run a simple program.
2607 +if test "$cross_compiling" != yes; then
2608 + if { ac_try='./$ac_file'
2609 + { (case "(($ac_try" in
2610 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 + *) ac_try_echo=$ac_try;;
2613 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614 + (eval "$ac_try") 2>&5
2616 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 + (exit $ac_status); }; }; then
2618 + cross_compiling=no
2620 - ac_cv_prog_cc_cross=yes
2621 + if test "$cross_compiling" = maybe; then
2622 + cross_compiling=yes
2624 + { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2625 +If you meant to cross compile, use \`--host'.
2626 +See \`config.log' for more details." >&5
2627 +echo "$as_me: error: cannot run C compiled programs.
2628 +If you meant to cross compile, use \`--host'.
2629 +See \`config.log' for more details." >&2;}
2630 + { (exit 1); exit 1; }; }
2634 +{ echo "$as_me:$LINENO: result: yes" >&5
2635 +echo "${ECHO_T}yes" >&6; }
2637 +rm -f a.out a.exe conftest$ac_cv_exeext b.out
2638 +ac_clean_files=$ac_clean_files_save
2639 +# Check that the compiler produces executables we can run. If not, either
2640 +# the compiler is broken, or we cross compile.
2641 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2642 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2643 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2644 +echo "${ECHO_T}$cross_compiling" >&6; }
2646 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2647 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2648 +if { (ac_try="$ac_link"
2649 +case "(($ac_try" in
2650 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 + *) ac_try_echo=$ac_try;;
2653 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2654 + (eval "$ac_link") 2>&5
2656 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 + (exit $ac_status); }; then
2658 + # If both `conftest.exe' and `conftest' are `present' (well, observable)
2659 +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2660 +# work properly (i.e., refer to `conftest.exe'), while it won't with
2662 +for ac_file in conftest.exe conftest conftest.*; do
2663 + test -f "$ac_file" || continue
2665 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2666 + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2672 - echo "configure: failed program was:" >&5
2673 - cat conftest.$ac_ext >&5
2674 - ac_cv_prog_cc_works=no
2675 + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2676 +See \`config.log' for more details." >&5
2677 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2678 +See \`config.log' for more details." >&2;}
2679 + { (exit 1); exit 1; }; }
2683 -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2684 -ac_cpp='$CPP $CPPFLAGS'
2685 -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2686 -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2687 -cross_compiling=$ac_cv_prog_cc_cross
2689 -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
2690 -if test $ac_cv_prog_cc_works = no; then
2691 - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
2692 +rm -f conftest$ac_cv_exeext
2693 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2694 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2696 +rm -f conftest.$ac_ext
2697 +EXEEXT=$ac_cv_exeext
2699 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2700 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2701 +if test "${ac_cv_objext+set}" = set; then
2702 + echo $ECHO_N "(cached) $ECHO_C" >&6
2704 + cat >conftest.$ac_ext <<_ACEOF
2707 +cat confdefs.h >>conftest.$ac_ext
2708 +cat >>conftest.$ac_ext <<_ACEOF
2709 +/* end confdefs.h. */
2719 +rm -f conftest.o conftest.obj
2720 +if { (ac_try="$ac_compile"
2721 +case "(($ac_try" in
2722 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723 + *) ac_try_echo=$ac_try;;
2725 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2726 + (eval "$ac_compile") 2>&5
2728 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 + (exit $ac_status); }; then
2730 + for ac_file in conftest.o conftest.obj conftest.*; do
2731 + test -f "$ac_file" || continue;
2733 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2734 + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2739 + echo "$as_me: failed program was:" >&5
2740 +sed 's/^/| /' conftest.$ac_ext >&5
2742 +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2743 +See \`config.log' for more details." >&5
2744 +echo "$as_me: error: cannot compute suffix of object files: cannot compile
2745 +See \`config.log' for more details." >&2;}
2746 + { (exit 1); exit 1; }; }
2748 -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
2749 -echo "configure:766: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
2750 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
2751 -cross_compiling=$ac_cv_prog_cc_cross
2753 -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
2754 -echo "configure:771: checking whether we are using GNU C" >&5
2755 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
2756 - echo $ac_n "(cached) $ac_c" 1>&6
2757 +rm -f conftest.$ac_cv_objext conftest.$ac_ext
2759 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2760 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2761 +OBJEXT=$ac_cv_objext
2763 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2764 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2765 +if test "${ac_cv_c_compiler_gnu+set}" = set; then
2766 + echo $ECHO_N "(cached) $ECHO_C" >&6
2768 - cat > conftest.c <<EOF
2771 + cat >conftest.$ac_ext <<_ACEOF
2774 +cat confdefs.h >>conftest.$ac_ext
2775 +cat >>conftest.$ac_ext <<_ACEOF
2776 +/* end confdefs.h. */
2785 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
2786 - ac_cv_prog_gcc=yes
2792 +rm -f conftest.$ac_objext
2793 +if { (ac_try="$ac_compile"
2794 +case "(($ac_try" in
2795 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 + *) ac_try_echo=$ac_try;;
2798 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2799 + (eval "$ac_compile") 2>conftest.er1
2801 + grep -v '^ *+' conftest.er1 >conftest.err
2802 + rm -f conftest.er1
2803 + cat conftest.err >&5
2804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 + (exit $ac_status); } && {
2806 + test -z "$ac_c_werror_flag" ||
2807 + test ! -s conftest.err
2808 + } && test -s conftest.$ac_objext; then
2809 + ac_compiler_gnu=yes
2812 + echo "$as_me: failed program was:" >&5
2813 +sed 's/^/| /' conftest.$ac_ext >&5
2815 + ac_compiler_gnu=no
2818 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 +ac_cv_c_compiler_gnu=$ac_compiler_gnu
2822 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2823 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2824 +GCC=`test $ac_compiler_gnu = yes && echo yes`
2825 +ac_test_CFLAGS=${CFLAGS+set}
2826 +ac_save_CFLAGS=$CFLAGS
2827 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2828 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2829 +if test "${ac_cv_prog_cc_g+set}" = set; then
2830 + echo $ECHO_N "(cached) $ECHO_C" >&6
2832 + ac_save_c_werror_flag=$ac_c_werror_flag
2833 + ac_c_werror_flag=yes
2834 + ac_cv_prog_cc_g=no
2836 + cat >conftest.$ac_ext <<_ACEOF
2839 +cat confdefs.h >>conftest.$ac_ext
2840 +cat >>conftest.$ac_ext <<_ACEOF
2841 +/* end confdefs.h. */
2843 -echo "$ac_t""$ac_cv_prog_gcc" 1>&6
2848 -if test $ac_cv_prog_gcc = yes; then
2854 +rm -f conftest.$ac_objext
2855 +if { (ac_try="$ac_compile"
2856 +case "(($ac_try" in
2857 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2858 + *) ac_try_echo=$ac_try;;
2860 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2861 + (eval "$ac_compile") 2>conftest.er1
2863 + grep -v '^ *+' conftest.er1 >conftest.err
2864 + rm -f conftest.er1
2865 + cat conftest.err >&5
2866 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 + (exit $ac_status); } && {
2868 + test -z "$ac_c_werror_flag" ||
2869 + test ! -s conftest.err
2870 + } && test -s conftest.$ac_objext; then
2871 + ac_cv_prog_cc_g=yes
2875 + echo "$as_me: failed program was:" >&5
2876 +sed 's/^/| /' conftest.$ac_ext >&5
2878 -ac_test_CFLAGS="${CFLAGS+set}"
2879 -ac_save_CFLAGS="$CFLAGS"
2881 -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
2882 -echo "configure:799: checking whether ${CC-cc} accepts -g" >&5
2883 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
2884 - echo $ac_n "(cached) $ac_c" 1>&6
2886 + cat >conftest.$ac_ext <<_ACEOF
2889 +cat confdefs.h >>conftest.$ac_ext
2890 +cat >>conftest.$ac_ext <<_ACEOF
2891 +/* end confdefs.h. */
2901 +rm -f conftest.$ac_objext
2902 +if { (ac_try="$ac_compile"
2903 +case "(($ac_try" in
2904 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 + *) ac_try_echo=$ac_try;;
2907 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2908 + (eval "$ac_compile") 2>conftest.er1
2910 + grep -v '^ *+' conftest.er1 >conftest.err
2911 + rm -f conftest.er1
2912 + cat conftest.err >&5
2913 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 + (exit $ac_status); } && {
2915 + test -z "$ac_c_werror_flag" ||
2916 + test ! -s conftest.err
2917 + } && test -s conftest.$ac_objext; then
2920 - echo 'void f(){}' > conftest.c
2921 -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
2922 + echo "$as_me: failed program was:" >&5
2923 +sed 's/^/| /' conftest.$ac_ext >&5
2925 + ac_c_werror_flag=$ac_save_c_werror_flag
2927 + cat >conftest.$ac_ext <<_ACEOF
2930 +cat confdefs.h >>conftest.$ac_ext
2931 +cat >>conftest.$ac_ext <<_ACEOF
2932 +/* end confdefs.h. */
2942 +rm -f conftest.$ac_objext
2943 +if { (ac_try="$ac_compile"
2944 +case "(($ac_try" in
2945 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946 + *) ac_try_echo=$ac_try;;
2948 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2949 + (eval "$ac_compile") 2>conftest.er1
2951 + grep -v '^ *+' conftest.er1 >conftest.err
2952 + rm -f conftest.er1
2953 + cat conftest.err >&5
2954 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 + (exit $ac_status); } && {
2956 + test -z "$ac_c_werror_flag" ||
2957 + test ! -s conftest.err
2958 + } && test -s conftest.$ac_objext; then
2961 - ac_cv_prog_cc_g=no
2962 + echo "$as_me: failed program was:" >&5
2963 +sed 's/^/| /' conftest.$ac_ext >&5
2969 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972 -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2973 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 + ac_c_werror_flag=$ac_save_c_werror_flag
2979 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2980 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2981 if test "$ac_test_CFLAGS" = set; then
2982 - CFLAGS="$ac_save_CFLAGS"
2983 + CFLAGS=$ac_save_CFLAGS
2984 elif test $ac_cv_prog_cc_g = yes; then
2985 if test "$GCC" = yes; then
2987 @@ -825,105 +2592,387 @@ else
2991 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2992 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2993 +if test "${ac_cv_prog_cc_c89+set}" = set; then
2994 + echo $ECHO_N "(cached) $ECHO_C" >&6
2996 + ac_cv_prog_cc_c89=no
2998 +cat >conftest.$ac_ext <<_ACEOF
3001 +cat confdefs.h >>conftest.$ac_ext
3002 +cat >>conftest.$ac_ext <<_ACEOF
3003 +/* end confdefs.h. */
3004 +#include <stdarg.h>
3006 +#include <sys/types.h>
3007 +#include <sys/stat.h>
3008 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3009 +struct buf { int x; };
3010 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
3011 +static char *e (p, i)
3017 +static char *f (char * (*g) (char **, int), char **p, ...)
3022 + s = g (p, va_arg (v,int));
3027 -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
3028 -echo "configure:831: checking how to run the C preprocessor" >&5
3029 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3030 + function prototypes and stuff, but not '\xHH' hex character constants.
3031 + These don't provoke an error unfortunately, instead are silently treated
3032 + as 'x'. The following induces an error, until -std is added to get
3033 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3034 + array size at least. It's necessary to write '\x00'==0 to get something
3035 + that's true only with -std. */
3036 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3038 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3039 + inside strings and character constants. */
3041 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3043 +int test (int i, double x);
3044 +struct s1 {int (*f) (int a);};
3045 +struct s2 {int (*f) (double a);};
3046 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3052 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3057 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3058 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3060 + CC="$ac_save_CC $ac_arg"
3061 + rm -f conftest.$ac_objext
3062 +if { (ac_try="$ac_compile"
3063 +case "(($ac_try" in
3064 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 + *) ac_try_echo=$ac_try;;
3067 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3068 + (eval "$ac_compile") 2>conftest.er1
3070 + grep -v '^ *+' conftest.er1 >conftest.err
3071 + rm -f conftest.er1
3072 + cat conftest.err >&5
3073 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 + (exit $ac_status); } && {
3075 + test -z "$ac_c_werror_flag" ||
3076 + test ! -s conftest.err
3077 + } && test -s conftest.$ac_objext; then
3078 + ac_cv_prog_cc_c89=$ac_arg
3080 + echo "$as_me: failed program was:" >&5
3081 +sed 's/^/| /' conftest.$ac_ext >&5
3086 +rm -f core conftest.err conftest.$ac_objext
3087 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3089 +rm -f conftest.$ac_ext
3094 +case "x$ac_cv_prog_cc_c89" in
3096 + { echo "$as_me:$LINENO: result: none needed" >&5
3097 +echo "${ECHO_T}none needed" >&6; } ;;
3099 + { echo "$as_me:$LINENO: result: unsupported" >&5
3100 +echo "${ECHO_T}unsupported" >&6; } ;;
3102 + CC="$CC $ac_cv_prog_cc_c89"
3103 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3104 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3109 +ac_cpp='$CPP $CPPFLAGS'
3110 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3115 +ac_cpp='$CPP $CPPFLAGS'
3116 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3118 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3120 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3121 # On Suns, sometimes $CPP names a directory.
3122 if test -n "$CPP" && test -d "$CPP"; then
3125 if test -z "$CPP"; then
3126 -if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
3127 - echo $ac_n "(cached) $ac_c" 1>&6
3128 + if test "${ac_cv_prog_CPP+set}" = set; then
3129 + echo $ECHO_N "(cached) $ECHO_C" >&6
3131 - # This must be in double quotes, not single quotes, because CPP may get
3132 - # substituted into the Makefile and "${CC-cc}" will confuse make.
3134 + # Double quotes because CPP needs to be expanded
3135 + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3137 + ac_preproc_ok=false
3138 +for ac_c_preproc_warn_flag in '' yes
3140 + # Use a header file that comes with gcc, so configuring glibc
3141 + # with a fresh cross-compiler works.
3142 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3143 + # <limits.h> exists even on freestanding compilers.
3144 # On the NeXT, cc -E runs the code through the compiler's parser,
3145 - # not just through cpp.
3146 - cat > conftest.$ac_ext <<EOF
3147 -#line 846 "configure"
3148 -#include "confdefs.h"
3149 -#include <assert.h>
3152 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3153 -{ (eval echo configure:852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3154 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3155 -if test -z "$ac_err"; then
3158 - echo "$ac_err" >&5
3159 - echo "configure: failed program was:" >&5
3160 - cat conftest.$ac_ext >&5
3162 - CPP="${CC-cc} -E -traditional-cpp"
3163 - cat > conftest.$ac_ext <<EOF
3164 -#line 863 "configure"
3165 -#include "confdefs.h"
3166 -#include <assert.h>
3169 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3170 -{ (eval echo configure:869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3171 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3172 -if test -z "$ac_err"; then
3173 + # not just through cpp. "Syntax error" is here to catch this case.
3174 + cat >conftest.$ac_ext <<_ACEOF
3177 +cat confdefs.h >>conftest.$ac_ext
3178 +cat >>conftest.$ac_ext <<_ACEOF
3179 +/* end confdefs.h. */
3181 +# include <limits.h>
3183 +# include <assert.h>
3187 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3188 +case "(($ac_try" in
3189 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190 + *) ac_try_echo=$ac_try;;
3192 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3193 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3195 + grep -v '^ *+' conftest.er1 >conftest.err
3196 + rm -f conftest.er1
3197 + cat conftest.err >&5
3198 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 + (exit $ac_status); } >/dev/null && {
3200 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3201 + test ! -s conftest.err
3205 - echo "$ac_err" >&5
3206 - echo "configure: failed program was:" >&5
3207 - cat conftest.$ac_ext >&5
3209 - CPP="${CC-cc} -nologo -E"
3210 - cat > conftest.$ac_ext <<EOF
3211 -#line 880 "configure"
3212 -#include "confdefs.h"
3213 -#include <assert.h>
3216 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3217 -{ (eval echo configure:886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3218 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3219 -if test -z "$ac_err"; then
3221 + echo "$as_me: failed program was:" >&5
3222 +sed 's/^/| /' conftest.$ac_ext >&5
3224 + # Broken: fails on valid input.
3228 +rm -f conftest.err conftest.$ac_ext
3230 + # OK, works on sane cases. Now check whether nonexistent headers
3231 + # can be detected and how.
3232 + cat >conftest.$ac_ext <<_ACEOF
3235 +cat confdefs.h >>conftest.$ac_ext
3236 +cat >>conftest.$ac_ext <<_ACEOF
3237 +/* end confdefs.h. */
3238 +#include <ac_nonexistent.h>
3240 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3241 +case "(($ac_try" in
3242 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243 + *) ac_try_echo=$ac_try;;
3245 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3246 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3248 + grep -v '^ *+' conftest.er1 >conftest.err
3249 + rm -f conftest.er1
3250 + cat conftest.err >&5
3251 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 + (exit $ac_status); } >/dev/null && {
3253 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3254 + test ! -s conftest.err
3256 + # Broken: success on invalid input.
3259 - echo "$ac_err" >&5
3260 - echo "configure: failed program was:" >&5
3261 - cat conftest.$ac_ext >&5
3264 + echo "$as_me: failed program was:" >&5
3265 +sed 's/^/| /' conftest.$ac_ext >&5
3267 + # Passes both tests.
3273 +rm -f conftest.err conftest.$ac_ext
3276 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3277 +rm -f conftest.err conftest.$ac_ext
3278 +if $ac_preproc_ok; then
3284 + ac_cv_prog_CPP=$CPP
3288 - ac_cv_prog_CPP="$CPP"
3289 + CPP=$ac_cv_prog_CPP
3291 + ac_cv_prog_CPP=$CPP
3293 - CPP="$ac_cv_prog_CPP"
3294 +{ echo "$as_me:$LINENO: result: $CPP" >&5
3295 +echo "${ECHO_T}$CPP" >&6; }
3296 +ac_preproc_ok=false
3297 +for ac_c_preproc_warn_flag in '' yes
3299 + # Use a header file that comes with gcc, so configuring glibc
3300 + # with a fresh cross-compiler works.
3301 + # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3302 + # <limits.h> exists even on freestanding compilers.
3303 + # On the NeXT, cc -E runs the code through the compiler's parser,
3304 + # not just through cpp. "Syntax error" is here to catch this case.
3305 + cat >conftest.$ac_ext <<_ACEOF
3308 +cat confdefs.h >>conftest.$ac_ext
3309 +cat >>conftest.$ac_ext <<_ACEOF
3310 +/* end confdefs.h. */
3312 +# include <limits.h>
3314 +# include <assert.h>
3318 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3319 +case "(($ac_try" in
3320 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3321 + *) ac_try_echo=$ac_try;;
3323 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3324 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3326 + grep -v '^ *+' conftest.er1 >conftest.err
3327 + rm -f conftest.er1
3328 + cat conftest.err >&5
3329 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 + (exit $ac_status); } >/dev/null && {
3331 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3332 + test ! -s conftest.err
3336 - ac_cv_prog_CPP="$CPP"
3337 + echo "$as_me: failed program was:" >&5
3338 +sed 's/^/| /' conftest.$ac_ext >&5
3340 + # Broken: fails on valid input.
3343 -echo "$ac_t""$CPP" 1>&6
3345 +rm -f conftest.err conftest.$ac_ext
3347 + # OK, works on sane cases. Now check whether nonexistent headers
3348 + # can be detected and how.
3349 + cat >conftest.$ac_ext <<_ACEOF
3352 +cat confdefs.h >>conftest.$ac_ext
3353 +cat >>conftest.$ac_ext <<_ACEOF
3354 +/* end confdefs.h. */
3355 +#include <ac_nonexistent.h>
3357 +if { (ac_try="$ac_cpp conftest.$ac_ext"
3358 +case "(($ac_try" in
3359 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 + *) ac_try_echo=$ac_try;;
3362 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3365 + grep -v '^ *+' conftest.er1 >conftest.err
3366 + rm -f conftest.er1
3367 + cat conftest.err >&5
3368 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 + (exit $ac_status); } >/dev/null && {
3370 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3371 + test ! -s conftest.err
3373 + # Broken: success on invalid input.
3376 + echo "$as_me: failed program was:" >&5
3377 +sed 's/^/| /' conftest.$ac_ext >&5
3379 + # Passes both tests.
3384 +rm -f conftest.err conftest.$ac_ext
3387 +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3388 +rm -f conftest.err conftest.$ac_ext
3389 +if $ac_preproc_ok; then
3392 + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3393 +See \`config.log' for more details." >&5
3394 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3395 +See \`config.log' for more details." >&2;}
3396 + { (exit 1); exit 1; }; }
3400 +ac_cpp='$CPP $CPPFLAGS'
3401 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3402 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3403 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3406 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
3407 - if test -f $ac_dir/install-sh; then
3408 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3409 + if test -f "$ac_dir/install-sh"; then
3411 ac_install_sh="$ac_aux_dir/install-sh -c"
3413 - elif test -f $ac_dir/install.sh; then
3414 + elif test -f "$ac_dir/install.sh"; then
3416 ac_install_sh="$ac_aux_dir/install.sh -c"
3418 + elif test -f "$ac_dir/shtool"; then
3419 + ac_aux_dir=$ac_dir
3420 + ac_install_sh="$ac_aux_dir/shtool install -c"
3424 if test -z "$ac_aux_dir"; then
3425 - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
3426 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
3427 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
3428 + { (exit 1); exit 1; }; }
3430 -ac_config_guess=$ac_aux_dir/config.guess
3431 -ac_config_sub=$ac_aux_dir/config.sub
3432 -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
3434 +# These three variables are undocumented and unsupported,
3435 +# and are intended to be withdrawn in a future Autoconf release.
3436 +# They can cause serious problems if a builder's source tree is in a directory
3437 +# whose full name contains unusual characters.
3438 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3439 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3440 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3443 # Find a good install program. We prefer a C program (faster),
3444 # so one script is as good as another. But avoid the broken or
3445 @@ -932,156 +2981,418 @@ ac_configure=$ac_aux_dir/configure # Thi
3446 # SunOS /usr/etc/install
3447 # IRIX /sbin/install
3449 +# AmigaOS /C/install, which installs bootblocks on floppy discs
3450 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3451 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3452 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3453 +# OS/2's system install, which has a completely different semantic
3454 # ./install, which can be erroneously created by make from ./install.sh.
3455 -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3456 -echo "configure:941: checking for a BSD compatible install" >&5
3457 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3458 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3459 if test -z "$INSTALL"; then
3460 -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
3461 - echo $ac_n "(cached) $ac_c" 1>&6
3462 +if test "${ac_cv_path_install+set}" = set; then
3463 + echo $ECHO_N "(cached) $ECHO_C" >&6
3465 - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
3466 - for ac_dir in $PATH; do
3467 - # Account for people who put trailing slashes in PATH elements.
3468 - case "$ac_dir/" in
3469 - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
3471 - # OSF1 and SCO ODT 3.0 have their own names for install.
3472 - # Don't use installbsd from OSF since it installs stuff as root
3474 - for ac_prog in ginstall scoinst install; do
3475 - if test -f $ac_dir/$ac_prog; then
3476 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 +for as_dir in $PATH
3480 + test -z "$as_dir" && as_dir=.
3481 + # Account for people who put trailing slashes in PATH elements.
3483 + ./ | .// | /cC/* | \
3484 + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3485 + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3488 + # OSF1 and SCO ODT 3.0 have their own names for install.
3489 + # Don't use installbsd from OSF since it installs stuff as root
3491 + for ac_prog in ginstall scoinst install; do
3492 + for ac_exec_ext in '' $ac_executable_extensions; do
3493 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3494 if test $ac_prog = install &&
3495 - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
3496 + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3497 # AIX install. It has an incompatible calling convention.
3499 + elif test $ac_prog = install &&
3500 + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3501 + # program-specific install script used by HP pwplus--don't use.
3504 - ac_cv_path_install="$ac_dir/$ac_prog -c"
3506 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3514 - IFS="$ac_save_IFS"
3523 if test "${ac_cv_path_install+set}" = set; then
3524 - INSTALL="$ac_cv_path_install"
3525 + INSTALL=$ac_cv_path_install
3527 - # As a last resort, use the slow shell script. We don't cache a
3528 - # path for INSTALL within a source directory, because that will
3529 + # As a last resort, use the slow shell script. Don't cache a
3530 + # value for INSTALL within a source directory, because that will
3531 # break other packages using the cache if that directory is
3532 - # removed, or if the path is relative.
3533 - INSTALL="$ac_install_sh"
3534 + # removed, or if the value is a relative name.
3535 + INSTALL=$ac_install_sh
3538 -echo "$ac_t""$INSTALL" 1>&6
3539 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3540 +echo "${ECHO_T}$INSTALL" >&6; }
3542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3543 # It thinks the first close brace ends the variable substitution.
3544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3546 -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
3547 +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3549 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3551 -# Extract the first word of "ranlib", so it can be a program name with args.
3552 -set dummy ranlib; ac_word=$2
3553 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3554 -echo "configure:996: checking for $ac_word" >&5
3555 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
3556 - echo $ac_n "(cached) $ac_c" 1>&6
3557 +if test -n "$ac_tool_prefix"; then
3558 + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3559 +set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3560 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3561 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3562 +if test "${ac_cv_prog_RANLIB+set}" = set; then
3563 + echo $ECHO_N "(cached) $ECHO_C" >&6
3565 if test -n "$RANLIB"; then
3566 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3568 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3570 - for ac_dir in $ac_dummy; do
3571 - test -z "$ac_dir" && ac_dir=.
3572 - if test -f $ac_dir/$ac_word; then
3573 - ac_cv_prog_RANLIB="ranlib"
3575 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576 +for as_dir in $PATH
3579 + test -z "$as_dir" && as_dir=.
3580 + for ac_exec_ext in '' $ac_executable_extensions; do
3581 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3582 + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3583 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3592 +RANLIB=$ac_cv_prog_RANLIB
3593 +if test -n "$RANLIB"; then
3594 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
3595 +echo "${ECHO_T}$RANLIB" >&6; }
3597 + { echo "$as_me:$LINENO: result: no" >&5
3598 +echo "${ECHO_T}no" >&6; }
3603 +if test -z "$ac_cv_prog_RANLIB"; then
3604 + ac_ct_RANLIB=$RANLIB
3605 + # Extract the first word of "ranlib", so it can be a program name with args.
3606 +set dummy ranlib; ac_word=$2
3607 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3608 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3609 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3610 + echo $ECHO_N "(cached) $ECHO_C" >&6
3612 + if test -n "$ac_ct_RANLIB"; then
3613 + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3615 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 +for as_dir in $PATH
3619 + test -z "$as_dir" && as_dir=.
3620 + for ac_exec_ext in '' $ac_executable_extensions; do
3621 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622 + ac_cv_prog_ac_ct_RANLIB="ranlib"
3623 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3633 +if test -n "$ac_ct_RANLIB"; then
3634 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3635 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3637 + { echo "$as_me:$LINENO: result: no" >&5
3638 +echo "${ECHO_T}no" >&6; }
3641 + if test "x$ac_ct_RANLIB" = x; then
3644 + case $cross_compiling:$ac_tool_warned in
3646 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3647 +whose name does not start with the host triplet. If you think this
3648 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3649 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3650 +whose name does not start with the host triplet. If you think this
3651 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3652 +ac_tool_warned=yes ;;
3654 + RANLIB=$ac_ct_RANLIB
3657 + RANLIB="$ac_cv_prog_RANLIB"
3660 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3661 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3663 +if test "$LN_S" = "ln -s"; then
3664 + { echo "$as_me:$LINENO: result: yes" >&5
3665 +echo "${ECHO_T}yes" >&6; }
3667 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3668 +echo "${ECHO_T}no, using $LN_S" >&6; }
3675 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3676 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3677 +if test "${ac_cv_path_GREP+set}" = set; then
3678 + echo $ECHO_N "(cached) $ECHO_C" >&6
3680 + # Extract the first word of "grep ggrep" to use in msg output
3681 +if test -z "$GREP"; then
3682 +set dummy grep ggrep; ac_prog_name=$2
3683 +if test "${ac_cv_path_GREP+set}" = set; then
3684 + echo $ECHO_N "(cached) $ECHO_C" >&6
3686 + ac_path_GREP_found=false
3687 +# Loop through the user's path and test for each of PROGNAME-LIST
3688 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3692 + test -z "$as_dir" && as_dir=.
3693 + for ac_prog in grep ggrep; do
3694 + for ac_exec_ext in '' $ac_executable_extensions; do
3695 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3696 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3697 + # Check for GNU ac_path_GREP and select it if it is found.
3698 + # Check for GNU $ac_path_GREP
3699 +case `"$ac_path_GREP" --version 2>&1` in
3701 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3704 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3707 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3708 + mv "conftest.tmp" "conftest.in"
3709 + cp "conftest.in" "conftest.nl"
3710 + echo 'GREP' >> "conftest.nl"
3711 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3712 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3713 + ac_count=`expr $ac_count + 1`
3714 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
3715 + # Best one so far, save it but keep looking for a better one
3716 + ac_cv_path_GREP="$ac_path_GREP"
3717 + ac_path_GREP_max=$ac_count
3719 + # 10*(2^10) chars as input seems more than enough
3720 + test $ac_count -gt 10 && break
3722 - IFS="$ac_save_ifs"
3723 - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
3724 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3728 + $ac_path_GREP_found && break 3
3738 +GREP="$ac_cv_path_GREP"
3739 +if test -z "$GREP"; then
3740 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3741 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3742 + { (exit 1); exit 1; }; }
3744 -RANLIB="$ac_cv_prog_RANLIB"
3745 -if test -n "$RANLIB"; then
3746 - echo "$ac_t""$RANLIB" 1>&6
3749 - echo "$ac_t""no" 1>&6
3750 + ac_cv_path_GREP=$GREP
3753 -echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
3754 -echo "configure:1024: checking whether ln -s works" >&5
3755 -if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
3756 - echo $ac_n "(cached) $ac_c" 1>&6
3759 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3760 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3761 + GREP="$ac_cv_path_GREP"
3764 +{ echo "$as_me:$LINENO: checking for egrep" >&5
3765 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3766 +if test "${ac_cv_path_EGREP+set}" = set; then
3767 + echo $ECHO_N "(cached) $ECHO_C" >&6
3769 - rm -f conftestdata
3770 -if ln -s X conftestdata 2>/dev/null
3772 - rm -f conftestdata
3773 - ac_cv_prog_LN_S="ln -s"
3774 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3775 + then ac_cv_path_EGREP="$GREP -E"
3777 + # Extract the first word of "egrep" to use in msg output
3778 +if test -z "$EGREP"; then
3779 +set dummy egrep; ac_prog_name=$2
3780 +if test "${ac_cv_path_EGREP+set}" = set; then
3781 + echo $ECHO_N "(cached) $ECHO_C" >&6
3783 - ac_cv_prog_LN_S=ln
3784 + ac_path_EGREP_found=false
3785 +# Loop through the user's path and test for each of PROGNAME-LIST
3786 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3790 + test -z "$as_dir" && as_dir=.
3791 + for ac_prog in egrep; do
3792 + for ac_exec_ext in '' $ac_executable_extensions; do
3793 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3794 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3795 + # Check for GNU ac_path_EGREP and select it if it is found.
3796 + # Check for GNU $ac_path_EGREP
3797 +case `"$ac_path_EGREP" --version 2>&1` in
3799 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3802 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3805 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3806 + mv "conftest.tmp" "conftest.in"
3807 + cp "conftest.in" "conftest.nl"
3808 + echo 'EGREP' >> "conftest.nl"
3809 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3810 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3811 + ac_count=`expr $ac_count + 1`
3812 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3813 + # Best one so far, save it but keep looking for a better one
3814 + ac_cv_path_EGREP="$ac_path_EGREP"
3815 + ac_path_EGREP_max=$ac_count
3817 + # 10*(2^10) chars as input seems more than enough
3818 + test $ac_count -gt 10 && break
3820 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3824 + $ac_path_EGREP_found && break 3
3834 +EGREP="$ac_cv_path_EGREP"
3835 +if test -z "$EGREP"; then
3836 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3837 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3838 + { (exit 1); exit 1; }; }
3840 -LN_S="$ac_cv_prog_LN_S"
3841 -if test "$ac_cv_prog_LN_S" = "ln -s"; then
3842 - echo "$ac_t""yes" 1>&6
3845 - echo "$ac_t""no" 1>&6
3846 + ac_cv_path_EGREP=$EGREP
3852 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3853 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3854 + EGREP="$ac_cv_path_EGREP"
3856 -echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3857 -echo "configure:1047: checking for ANSI C header files" >&5
3858 -if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
3859 - echo $ac_n "(cached) $ac_c" 1>&6
3861 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3862 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3863 +if test "${ac_cv_header_stdc+set}" = set; then
3864 + echo $ECHO_N "(cached) $ECHO_C" >&6
3866 - cat > conftest.$ac_ext <<EOF
3867 -#line 1052 "configure"
3868 -#include "confdefs.h"
3869 + cat >conftest.$ac_ext <<_ACEOF
3872 +cat confdefs.h >>conftest.$ac_ext
3873 +cat >>conftest.$ac_ext <<_ACEOF
3874 +/* end confdefs.h. */
3880 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3881 -{ (eval echo configure:1060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3882 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3883 -if test -z "$ac_err"; then
3894 +rm -f conftest.$ac_objext
3895 +if { (ac_try="$ac_compile"
3896 +case "(($ac_try" in
3897 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898 + *) ac_try_echo=$ac_try;;
3900 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3901 + (eval "$ac_compile") 2>conftest.er1
3903 + grep -v '^ *+' conftest.er1 >conftest.err
3904 + rm -f conftest.er1
3905 + cat conftest.err >&5
3906 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907 + (exit $ac_status); } && {
3908 + test -z "$ac_c_werror_flag" ||
3909 + test ! -s conftest.err
3910 + } && test -s conftest.$ac_objext; then
3911 ac_cv_header_stdc=yes
3913 - echo "$ac_err" >&5
3914 - echo "configure: failed program was:" >&5
3915 - cat conftest.$ac_ext >&5
3917 - ac_cv_header_stdc=no
3918 + echo "$as_me: failed program was:" >&5
3919 +sed 's/^/| /' conftest.$ac_ext >&5
3921 + ac_cv_header_stdc=no
3925 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 if test $ac_cv_header_stdc = yes; then
3928 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3929 -cat > conftest.$ac_ext <<EOF
3930 -#line 1077 "configure"
3931 -#include "confdefs.h"
3932 + cat >conftest.$ac_ext <<_ACEOF
3935 +cat confdefs.h >>conftest.$ac_ext
3936 +cat >>conftest.$ac_ext <<_ACEOF
3937 +/* end confdefs.h. */
3942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3943 - egrep "memchr" >/dev/null 2>&1; then
3944 + $EGREP "memchr" >/dev/null 2>&1; then
3948 ac_cv_header_stdc=no
3951 @@ -1090,16 +3401,19 @@ fi
3953 if test $ac_cv_header_stdc = yes; then
3954 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3955 -cat > conftest.$ac_ext <<EOF
3956 -#line 1095 "configure"
3957 -#include "confdefs.h"
3958 + cat >conftest.$ac_ext <<_ACEOF
3961 +cat confdefs.h >>conftest.$ac_ext
3962 +cat >>conftest.$ac_ext <<_ACEOF
3963 +/* end confdefs.h. */
3968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3969 - egrep "free" >/dev/null 2>&1; then
3970 + $EGREP "free" >/dev/null 2>&1; then
3974 ac_cv_header_stdc=no
3977 @@ -1108,218 +3422,658 @@ fi
3979 if test $ac_cv_header_stdc = yes; then
3980 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3981 -if test "$cross_compiling" = yes; then
3982 + if test "$cross_compiling" = yes; then
3985 - cat > conftest.$ac_ext <<EOF
3986 -#line 1116 "configure"
3987 -#include "confdefs.h"
3988 + cat >conftest.$ac_ext <<_ACEOF
3991 +cat confdefs.h >>conftest.$ac_ext
3992 +cat >>conftest.$ac_ext <<_ACEOF
3993 +/* end confdefs.h. */
3995 -#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3996 -#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3997 -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3998 -int main () { int i; for (i = 0; i < 256; i++)
3999 -if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
4001 +#include <stdlib.h>
4002 +#if ((' ' & 0x0FF) == 0x020)
4003 +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4004 +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4006 +# define ISLOWER(c) \
4007 + (('a' <= (c) && (c) <= 'i') \
4008 + || ('j' <= (c) && (c) <= 'r') \
4009 + || ('s' <= (c) && (c) <= 'z'))
4010 +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4014 -if { (eval echo configure:1127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4016 +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4021 + for (i = 0; i < 256; i++)
4022 + if (XOR (islower (i), ISLOWER (i))
4023 + || toupper (i) != TOUPPER (i))
4028 +rm -f conftest$ac_exeext
4029 +if { (ac_try="$ac_link"
4030 +case "(($ac_try" in
4031 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4032 + *) ac_try_echo=$ac_try;;
4034 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4035 + (eval "$ac_link") 2>&5
4037 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4039 + { (case "(($ac_try" in
4040 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 + *) ac_try_echo=$ac_try;;
4043 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4044 + (eval "$ac_try") 2>&5
4046 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 + (exit $ac_status); }; }; then
4050 - echo "configure: failed program was:" >&5
4051 - cat conftest.$ac_ext >&5
4053 - ac_cv_header_stdc=no
4054 + echo "$as_me: program exited with status $ac_status" >&5
4055 +echo "$as_me: failed program was:" >&5
4056 +sed 's/^/| /' conftest.$ac_ext >&5
4058 +( exit $ac_status )
4059 +ac_cv_header_stdc=no
4062 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4069 -echo "$ac_t""$ac_cv_header_stdc" 1>&6
4070 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4071 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4072 if test $ac_cv_header_stdc = yes; then
4073 - cat >> confdefs.h <<\EOF
4075 +cat >>confdefs.h <<\_ACEOF
4076 #define STDC_HEADERS 1
4082 -for ac_hdr in unistd.h stdint.h fcntl.h
4083 +# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4093 +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4094 + inttypes.h stdint.h unistd.h
4096 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4097 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4098 -echo "configure:1154: checking for $ac_hdr" >&5
4099 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4100 - echo $ac_n "(cached) $ac_c" 1>&6
4101 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4102 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4103 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4104 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4105 + echo $ECHO_N "(cached) $ECHO_C" >&6
4107 - cat > conftest.$ac_ext <<EOF
4108 -#line 1159 "configure"
4109 -#include "confdefs.h"
4112 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4113 -{ (eval echo configure:1164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4114 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4115 -if test -z "$ac_err"; then
4117 - eval "ac_cv_header_$ac_safe=yes"
4118 + cat >conftest.$ac_ext <<_ACEOF
4121 +cat confdefs.h >>conftest.$ac_ext
4122 +cat >>conftest.$ac_ext <<_ACEOF
4123 +/* end confdefs.h. */
4124 +$ac_includes_default
4126 +#include <$ac_header>
4128 +rm -f conftest.$ac_objext
4129 +if { (ac_try="$ac_compile"
4130 +case "(($ac_try" in
4131 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 + *) ac_try_echo=$ac_try;;
4134 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4135 + (eval "$ac_compile") 2>conftest.er1
4137 + grep -v '^ *+' conftest.er1 >conftest.err
4138 + rm -f conftest.er1
4139 + cat conftest.err >&5
4140 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 + (exit $ac_status); } && {
4142 + test -z "$ac_c_werror_flag" ||
4143 + test ! -s conftest.err
4144 + } && test -s conftest.$ac_objext; then
4145 + eval "$as_ac_Header=yes"
4147 - echo "$ac_err" >&5
4148 - echo "configure: failed program was:" >&5
4149 - cat conftest.$ac_ext >&5
4151 - eval "ac_cv_header_$ac_safe=no"
4152 + echo "$as_me: failed program was:" >&5
4153 +sed 's/^/| /' conftest.$ac_ext >&5
4155 + eval "$as_ac_Header=no"
4159 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4161 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4162 - echo "$ac_t""yes" 1>&6
4163 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4164 - cat >> confdefs.h <<EOF
4165 -#define $ac_tr_hdr 1
4168 +ac_res=`eval echo '${'$as_ac_Header'}'`
4169 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4170 +echo "${ECHO_T}$ac_res" >&6; }
4171 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
4172 + cat >>confdefs.h <<_ACEOF
4173 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4184 +for ac_header in unistd.h stdint.h fcntl.h
4186 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4187 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4188 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
4189 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4190 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4191 + echo $ECHO_N "(cached) $ECHO_C" >&6
4193 +ac_res=`eval echo '${'$as_ac_Header'}'`
4194 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4195 +echo "${ECHO_T}$ac_res" >&6; }
4197 - echo "$ac_t""no" 1>&6
4198 + # Is the header compilable?
4199 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4200 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4201 +cat >conftest.$ac_ext <<_ACEOF
4204 +cat confdefs.h >>conftest.$ac_ext
4205 +cat >>conftest.$ac_ext <<_ACEOF
4206 +/* end confdefs.h. */
4207 +$ac_includes_default
4208 +#include <$ac_header>
4210 +rm -f conftest.$ac_objext
4211 +if { (ac_try="$ac_compile"
4212 +case "(($ac_try" in
4213 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 + *) ac_try_echo=$ac_try;;
4216 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4217 + (eval "$ac_compile") 2>conftest.er1
4219 + grep -v '^ *+' conftest.er1 >conftest.err
4220 + rm -f conftest.er1
4221 + cat conftest.err >&5
4222 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 + (exit $ac_status); } && {
4224 + test -z "$ac_c_werror_flag" ||
4225 + test ! -s conftest.err
4226 + } && test -s conftest.$ac_objext; then
4227 + ac_header_compiler=yes
4229 + echo "$as_me: failed program was:" >&5
4230 +sed 's/^/| /' conftest.$ac_ext >&5
4232 + ac_header_compiler=no
4235 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4237 +echo "${ECHO_T}$ac_header_compiler" >&6; }
4239 +# Is the header present?
4240 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4241 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4242 +cat >conftest.$ac_ext <<_ACEOF
4245 +cat confdefs.h >>conftest.$ac_ext
4246 +cat >>conftest.$ac_ext <<_ACEOF
4247 +/* end confdefs.h. */
4248 +#include <$ac_header>
4250 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4251 +case "(($ac_try" in
4252 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4253 + *) ac_try_echo=$ac_try;;
4255 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4256 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4258 + grep -v '^ *+' conftest.er1 >conftest.err
4259 + rm -f conftest.er1
4260 + cat conftest.err >&5
4261 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 + (exit $ac_status); } >/dev/null && {
4263 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4264 + test ! -s conftest.err
4266 + ac_header_preproc=yes
4268 + echo "$as_me: failed program was:" >&5
4269 +sed 's/^/| /' conftest.$ac_ext >&5
4271 + ac_header_preproc=no
4274 +rm -f conftest.err conftest.$ac_ext
4275 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4276 +echo "${ECHO_T}$ac_header_preproc" >&6; }
4278 +# So? What about this header?
4279 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4281 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4282 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4283 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4284 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4285 + ac_header_preproc=yes
4288 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4289 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4290 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4291 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4292 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4293 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4294 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4295 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4296 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4297 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4298 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4299 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4303 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4304 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4305 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4306 + echo $ECHO_N "(cached) $ECHO_C" >&6
4308 + eval "$as_ac_Header=\$ac_header_preproc"
4310 +ac_res=`eval echo '${'$as_ac_Header'}'`
4311 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4312 +echo "${ECHO_T}$ac_res" >&6; }
4315 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
4316 + cat >>confdefs.h <<_ACEOF
4317 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4324 -for ac_hdr in elf.h sys/elf.h link.h sys/link.h
4329 +for ac_header in elf.h sys/elf.h link.h sys/link.h
4331 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4332 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4333 -echo "configure:1194: checking for $ac_hdr" >&5
4334 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4335 - echo $ac_n "(cached) $ac_c" 1>&6
4336 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4337 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4338 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
4339 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4340 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4341 + echo $ECHO_N "(cached) $ECHO_C" >&6
4343 +ac_res=`eval echo '${'$as_ac_Header'}'`
4344 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4345 +echo "${ECHO_T}$ac_res" >&6; }
4347 - cat > conftest.$ac_ext <<EOF
4348 -#line 1199 "configure"
4349 -#include "confdefs.h"
4352 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4353 -{ (eval echo configure:1204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4354 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4355 -if test -z "$ac_err"; then
4357 - eval "ac_cv_header_$ac_safe=yes"
4358 + # Is the header compilable?
4359 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4360 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4361 +cat >conftest.$ac_ext <<_ACEOF
4364 +cat confdefs.h >>conftest.$ac_ext
4365 +cat >>conftest.$ac_ext <<_ACEOF
4366 +/* end confdefs.h. */
4367 +$ac_includes_default
4368 +#include <$ac_header>
4370 +rm -f conftest.$ac_objext
4371 +if { (ac_try="$ac_compile"
4372 +case "(($ac_try" in
4373 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4374 + *) ac_try_echo=$ac_try;;
4376 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4377 + (eval "$ac_compile") 2>conftest.er1
4379 + grep -v '^ *+' conftest.er1 >conftest.err
4380 + rm -f conftest.er1
4381 + cat conftest.err >&5
4382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 + (exit $ac_status); } && {
4384 + test -z "$ac_c_werror_flag" ||
4385 + test ! -s conftest.err
4386 + } && test -s conftest.$ac_objext; then
4387 + ac_header_compiler=yes
4389 - echo "$ac_err" >&5
4390 - echo "configure: failed program was:" >&5
4391 - cat conftest.$ac_ext >&5
4393 - eval "ac_cv_header_$ac_safe=no"
4394 + echo "$as_me: failed program was:" >&5
4395 +sed 's/^/| /' conftest.$ac_ext >&5
4397 + ac_header_compiler=no
4401 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4402 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4403 +echo "${ECHO_T}$ac_header_compiler" >&6; }
4405 +# Is the header present?
4406 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4407 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4408 +cat >conftest.$ac_ext <<_ACEOF
4411 +cat confdefs.h >>conftest.$ac_ext
4412 +cat >>conftest.$ac_ext <<_ACEOF
4413 +/* end confdefs.h. */
4414 +#include <$ac_header>
4416 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4417 +case "(($ac_try" in
4418 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4419 + *) ac_try_echo=$ac_try;;
4421 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4422 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4424 + grep -v '^ *+' conftest.er1 >conftest.err
4425 + rm -f conftest.er1
4426 + cat conftest.err >&5
4427 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 + (exit $ac_status); } >/dev/null && {
4429 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4430 + test ! -s conftest.err
4432 + ac_header_preproc=yes
4434 + echo "$as_me: failed program was:" >&5
4435 +sed 's/^/| /' conftest.$ac_ext >&5
4437 + ac_header_preproc=no
4439 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4440 - echo "$ac_t""yes" 1>&6
4441 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4442 - cat >> confdefs.h <<EOF
4443 -#define $ac_tr_hdr 1
4447 +rm -f conftest.err conftest.$ac_ext
4448 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4449 +echo "${ECHO_T}$ac_header_preproc" >&6; }
4451 +# So? What about this header?
4452 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4454 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4455 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4456 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4457 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4458 + ac_header_preproc=yes
4461 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4462 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4463 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4464 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4465 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4466 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4467 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4468 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4469 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4470 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4471 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4472 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4476 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4477 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4478 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4479 + echo $ECHO_N "(cached) $ECHO_C" >&6
4481 - echo "$ac_t""no" 1>&6
4482 + eval "$as_ac_Header=\$ac_header_preproc"
4484 +ac_res=`eval echo '${'$as_ac_Header'}'`
4485 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4486 +echo "${ECHO_T}$ac_res" >&6; }
4489 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
4490 + cat >>confdefs.h <<_ACEOF
4491 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4498 -echo $ac_n "checking if ${CC} can compile elf.h""... $ac_c" 1>&6
4499 -echo "configure:1231: checking if ${CC} can compile elf.h" >&5
4500 -if eval "test \"`echo '$''{'libelf_cv_elf_h_works'+set}'`\" = set"; then
4501 - echo $ac_n "(cached) $ac_c" 1>&6
4502 +{ echo "$as_me:$LINENO: checking if ${CC} can compile elf.h" >&5
4503 +echo $ECHO_N "checking if ${CC} can compile elf.h... $ECHO_C" >&6; }
4504 +if test "${libelf_cv_elf_h_works+set}" = set; then
4505 + echo $ECHO_N "(cached) $ECHO_C" >&6
4508 - cat > conftest.$ac_ext <<EOF
4509 -#line 1237 "configure"
4510 -#include "confdefs.h"
4512 + cat >conftest.$ac_ext <<_ACEOF
4515 +cat confdefs.h >>conftest.$ac_ext
4516 +cat >>conftest.$ac_ext <<_ACEOF
4517 +/* end confdefs.h. */
4520 #elif HAVE_SYS_ELF_H
4521 #include <sys/elf.h>
4530 -if { (eval echo configure:1248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4536 +rm -f conftest.$ac_objext
4537 +if { (ac_try="$ac_compile"
4538 +case "(($ac_try" in
4539 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4540 + *) ac_try_echo=$ac_try;;
4542 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4543 + (eval "$ac_compile") 2>conftest.er1
4545 + grep -v '^ *+' conftest.er1 >conftest.err
4546 + rm -f conftest.er1
4547 + cat conftest.err >&5
4548 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 + (exit $ac_status); } && {
4550 + test -z "$ac_c_werror_flag" ||
4551 + test ! -s conftest.err
4552 + } && test -s conftest.$ac_objext; then
4553 libelf_cv_elf_h_works=yes
4555 - echo "configure: failed program was:" >&5
4556 - cat conftest.$ac_ext >&5
4558 - libelf_cv_elf_h_works=no
4561 + echo "$as_me: failed program was:" >&5
4562 +sed 's/^/| /' conftest.$ac_ext >&5
4564 + libelf_cv_elf_h_works=no
4567 -echo "$ac_t""$libelf_cv_elf_h_works" 1>&6
4568 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571 +{ echo "$as_me:$LINENO: result: $libelf_cv_elf_h_works" >&5
4572 +echo "${ECHO_T}$libelf_cv_elf_h_works" >&6; }
4573 if test "$libelf_cv_elf_h_works" = no; then
4574 ac_cv_header_elf_h=no
4575 ac_cv_header_sys_elf_h=no
4577 if test "$ac_cv_header_elf_h" = yes; then
4578 - cat >> confdefs.h <<\EOF
4579 + cat >>confdefs.h <<\_ACEOF
4580 #define __LIBELF_HEADER_ELF_H <elf.h>
4584 elif test "$ac_cv_header_sys_elf_h" = yes; then
4585 - cat >> confdefs.h <<\EOF
4586 + cat >>confdefs.h <<\_ACEOF
4587 #define __LIBELF_HEADER_ELF_H <sys/elf.h>
4593 -for ac_hdr in ar.h libelf.h nlist.h gelf.h
4598 +for ac_header in ar.h libelf.h nlist.h gelf.h
4600 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4601 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4602 -echo "configure:1282: checking for $ac_hdr" >&5
4603 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4604 - echo $ac_n "(cached) $ac_c" 1>&6
4605 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4606 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4607 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
4608 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4609 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4610 + echo $ECHO_N "(cached) $ECHO_C" >&6
4612 +ac_res=`eval echo '${'$as_ac_Header'}'`
4613 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4614 +echo "${ECHO_T}$ac_res" >&6; }
4616 - cat > conftest.$ac_ext <<EOF
4617 -#line 1287 "configure"
4618 -#include "confdefs.h"
4621 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4622 -{ (eval echo configure:1292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4623 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4624 -if test -z "$ac_err"; then
4626 - eval "ac_cv_header_$ac_safe=yes"
4627 + # Is the header compilable?
4628 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4629 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4630 +cat >conftest.$ac_ext <<_ACEOF
4633 +cat confdefs.h >>conftest.$ac_ext
4634 +cat >>conftest.$ac_ext <<_ACEOF
4635 +/* end confdefs.h. */
4636 +$ac_includes_default
4637 +#include <$ac_header>
4639 +rm -f conftest.$ac_objext
4640 +if { (ac_try="$ac_compile"
4641 +case "(($ac_try" in
4642 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4643 + *) ac_try_echo=$ac_try;;
4645 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4646 + (eval "$ac_compile") 2>conftest.er1
4648 + grep -v '^ *+' conftest.er1 >conftest.err
4649 + rm -f conftest.er1
4650 + cat conftest.err >&5
4651 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 + (exit $ac_status); } && {
4653 + test -z "$ac_c_werror_flag" ||
4654 + test ! -s conftest.err
4655 + } && test -s conftest.$ac_objext; then
4656 + ac_header_compiler=yes
4658 - echo "$ac_err" >&5
4659 - echo "configure: failed program was:" >&5
4660 - cat conftest.$ac_ext >&5
4662 - eval "ac_cv_header_$ac_safe=no"
4663 + echo "$as_me: failed program was:" >&5
4664 +sed 's/^/| /' conftest.$ac_ext >&5
4666 + ac_header_compiler=no
4670 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4672 +echo "${ECHO_T}$ac_header_compiler" >&6; }
4674 +# Is the header present?
4675 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4676 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4677 +cat >conftest.$ac_ext <<_ACEOF
4680 +cat confdefs.h >>conftest.$ac_ext
4681 +cat >>conftest.$ac_ext <<_ACEOF
4682 +/* end confdefs.h. */
4683 +#include <$ac_header>
4685 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4686 +case "(($ac_try" in
4687 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 + *) ac_try_echo=$ac_try;;
4690 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4691 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4693 + grep -v '^ *+' conftest.er1 >conftest.err
4694 + rm -f conftest.er1
4695 + cat conftest.err >&5
4696 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 + (exit $ac_status); } >/dev/null && {
4698 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4699 + test ! -s conftest.err
4701 + ac_header_preproc=yes
4703 + echo "$as_me: failed program was:" >&5
4704 +sed 's/^/| /' conftest.$ac_ext >&5
4706 + ac_header_preproc=no
4708 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4709 - echo "$ac_t""yes" 1>&6
4710 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4711 - cat >> confdefs.h <<EOF
4712 -#define $ac_tr_hdr 1
4716 +rm -f conftest.err conftest.$ac_ext
4717 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4718 +echo "${ECHO_T}$ac_header_preproc" >&6; }
4720 +# So? What about this header?
4721 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4723 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4724 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4725 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4726 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4727 + ac_header_preproc=yes
4730 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4731 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4732 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4733 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4734 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4735 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4736 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4737 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4738 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4739 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4740 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4741 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4745 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4746 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4747 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4748 + echo $ECHO_N "(cached) $ECHO_C" >&6
4750 - echo "$ac_t""no" 1>&6
4751 + eval "$as_ac_Header=\$ac_header_preproc"
4753 +ac_res=`eval echo '${'$as_ac_Header'}'`
4754 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4755 +echo "${ECHO_T}$ac_res" >&6; }
4758 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
4759 + cat >>confdefs.h <<_ACEOF
4760 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4767 -echo $ac_n "checking whether to install <libelf.h>, <nlist.h> and <gelf.h>""... $ac_c" 1>&6
4768 -echo "configure:1319: checking whether to install <libelf.h>, <nlist.h> and <gelf.h>" >&5
4769 -# Check whether --enable-compat or --disable-compat was given.
4770 +{ echo "$as_me:$LINENO: checking whether to install <libelf.h>, <nlist.h> and <gelf.h>" >&5
4771 +echo $ECHO_N "checking whether to install <libelf.h>, <nlist.h> and <gelf.h>... $ECHO_C" >&6; }
4772 +# Check whether --enable-compat was given.
4773 if test "${enable_compat+set}" = set; then
4774 - enableval="$enable_compat"
4775 - DO_COMPAT="$enableval"
4776 + enableval=$enable_compat; DO_COMPAT="$enableval"
4778 if test "$ac_cv_header_libelf_h$ac_cv_header_nlist_h$ac_cv_header_gelf_h" = yesyesyes
4780 @@ -1327,345 +4081,2267 @@ else
4784 -echo "$ac_t""$DO_COMPAT" 1>&6
4785 +{ echo "$as_me:$LINENO: result: $DO_COMPAT" >&5
4786 +echo "${ECHO_T}$DO_COMPAT" >&6; }
4789 -echo $ac_n "checking for working const""... $ac_c" 1>&6
4790 -echo "configure:1335: checking for working const" >&5
4791 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
4792 - echo $ac_n "(cached) $ac_c" 1>&6
4793 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4794 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
4795 +if test "${ac_cv_c_const+set}" = set; then
4796 + echo $ECHO_N "(cached) $ECHO_C" >&6
4798 - cat > conftest.$ac_ext <<EOF
4799 -#line 1340 "configure"
4800 -#include "confdefs.h"
4801 + cat >conftest.$ac_ext <<_ACEOF
4804 +cat confdefs.h >>conftest.$ac_ext
4805 +cat >>conftest.$ac_ext <<_ACEOF
4806 +/* end confdefs.h. */
4812 +/* FIXME: Include the comments suggested by Paul. */
4813 +#ifndef __cplusplus
4814 + /* Ultrix mips cc rejects this. */
4815 + typedef int charset[2];
4817 + /* SunOS 4.1.1 cc rejects this. */
4818 + char const *const *pcpcc;
4820 + /* NEC SVR4.0.2 mips cc rejects this. */
4821 + struct point {int x, y;};
4822 + static struct point const zero = {0,0};
4823 + /* AIX XL C 1.02.0.0 rejects this.
4824 + It does not let you subtract one const X* pointer from another in
4825 + an arm of an if-expression whose if-part is not a constant
4827 + const char *g = "string";
4828 + pcpcc = &g + (g ? g-g : 0);
4829 + /* HPUX 7.0 cc rejects these. */
4831 + ppc = (char**) pcpcc;
4832 + pcpcc = (char const *const *) ppc;
4833 + { /* SCO 3.2v4 cc rejects this. */
4835 + char const *s = 0 ? (char *) 0 : (char const *) 0;
4837 -/* Ultrix mips cc rejects this. */
4838 -typedef int charset[2]; const charset x;
4839 -/* SunOS 4.1.1 cc rejects this. */
4840 -char const *const *ccp;
4842 -/* NEC SVR4.0.2 mips cc rejects this. */
4843 -struct point {int x, y;};
4844 -static struct point const zero = {0,0};
4845 -/* AIX XL C 1.02.0.0 rejects this.
4846 - It does not let you subtract one const X* pointer from another in an arm
4847 - of an if-expression whose if-part is not a constant expression */
4848 -const char *g = "string";
4849 -ccp = &g + (g ? g-g : 0);
4850 -/* HPUX 7.0 cc rejects these. */
4853 -ccp = (char const *const *) p;
4854 -{ /* SCO 3.2v4 cc rejects this. */
4856 - char const *s = 0 ? (char *) 0 : (char const *) 0;
4860 + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4861 + int x[] = {25, 17};
4862 + const int *foo = &x[0];
4865 + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4866 + typedef const int *iptr;
4870 + { /* AIX XL C 1.02.0.0 rejects this saying
4871 + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4872 + struct s { int j; const int *ap[3]; };
4873 + struct s *b; b->j = 5;
4875 + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4876 + const int foo = 10;
4877 + if (!foo) return 0;
4879 + return !cs[0] && !zero.x;
4884 -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4885 - int x[] = {25, 17};
4886 - const int *foo = &x[0];
4889 -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4890 - typedef const int *iptr;
4894 -{ /* AIX XL C 1.02.0.0 rejects this saying
4895 - "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4896 - struct s { int j; const int *ap[3]; };
4897 - struct s *b; b->j = 5;
4899 -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4900 - const int foo = 10;
4907 -if { (eval echo configure:1389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4910 +rm -f conftest.$ac_objext
4911 +if { (ac_try="$ac_compile"
4912 +case "(($ac_try" in
4913 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4914 + *) ac_try_echo=$ac_try;;
4916 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4917 + (eval "$ac_compile") 2>conftest.er1
4919 + grep -v '^ *+' conftest.er1 >conftest.err
4920 + rm -f conftest.er1
4921 + cat conftest.err >&5
4922 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 + (exit $ac_status); } && {
4924 + test -z "$ac_c_werror_flag" ||
4925 + test ! -s conftest.err
4926 + } && test -s conftest.$ac_objext; then
4929 - echo "configure: failed program was:" >&5
4930 - cat conftest.$ac_ext >&5
4935 + echo "$as_me: failed program was:" >&5
4936 +sed 's/^/| /' conftest.$ac_ext >&5
4941 -echo "$ac_t""$ac_cv_c_const" 1>&6
4942 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4945 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
4946 if test $ac_cv_c_const = no; then
4947 - cat >> confdefs.h <<\EOF
4951 +cat >>confdefs.h <<\_ACEOF
4957 -echo $ac_n "checking for off_t""... $ac_c" 1>&6
4958 -echo "configure:1410: checking for off_t" >&5
4959 -if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
4960 - echo $ac_n "(cached) $ac_c" 1>&6
4961 +{ echo "$as_me:$LINENO: checking for off_t" >&5
4962 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
4963 +if test "${ac_cv_type_off_t+set}" = set; then
4964 + echo $ECHO_N "(cached) $ECHO_C" >&6
4966 - cat > conftest.$ac_ext <<EOF
4967 -#line 1415 "configure"
4968 -#include "confdefs.h"
4969 -#include <sys/types.h>
4971 -#include <stdlib.h>
4972 -#include <stddef.h>
4975 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4976 - egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
4978 + cat >conftest.$ac_ext <<_ACEOF
4981 +cat confdefs.h >>conftest.$ac_ext
4982 +cat >>conftest.$ac_ext <<_ACEOF
4983 +/* end confdefs.h. */
4984 +$ac_includes_default
4985 +typedef off_t ac__type_new_;
4989 +if ((ac__type_new_ *) 0)
4991 +if (sizeof (ac__type_new_))
4997 +rm -f conftest.$ac_objext
4998 +if { (ac_try="$ac_compile"
4999 +case "(($ac_try" in
5000 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001 + *) ac_try_echo=$ac_try;;
5003 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5004 + (eval "$ac_compile") 2>conftest.er1
5006 + grep -v '^ *+' conftest.er1 >conftest.err
5007 + rm -f conftest.er1
5008 + cat conftest.err >&5
5009 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 + (exit $ac_status); } && {
5011 + test -z "$ac_c_werror_flag" ||
5012 + test ! -s conftest.err
5013 + } && test -s conftest.$ac_objext; then
5014 ac_cv_type_off_t=yes
5017 - ac_cv_type_off_t=no
5018 + echo "$as_me: failed program was:" >&5
5019 +sed 's/^/| /' conftest.$ac_ext >&5
5021 + ac_cv_type_off_t=no
5025 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5027 -echo "$ac_t""$ac_cv_type_off_t" 1>&6
5028 -if test $ac_cv_type_off_t = no; then
5029 - cat >> confdefs.h <<\EOF
5032 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5033 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
5034 +if test $ac_cv_type_off_t = yes; then
5038 +cat >>confdefs.h <<_ACEOF
5039 +#define off_t long int
5044 -echo $ac_n "checking for size_t""... $ac_c" 1>&6
5045 -echo "configure:1443: checking for size_t" >&5
5046 -if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
5047 - echo $ac_n "(cached) $ac_c" 1>&6
5048 +{ echo "$as_me:$LINENO: checking for size_t" >&5
5049 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
5050 +if test "${ac_cv_type_size_t+set}" = set; then
5051 + echo $ECHO_N "(cached) $ECHO_C" >&6
5053 - cat > conftest.$ac_ext <<EOF
5054 -#line 1448 "configure"
5055 -#include "confdefs.h"
5056 -#include <sys/types.h>
5058 -#include <stdlib.h>
5059 -#include <stddef.h>
5062 -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5063 - egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
5065 + cat >conftest.$ac_ext <<_ACEOF
5068 +cat confdefs.h >>conftest.$ac_ext
5069 +cat >>conftest.$ac_ext <<_ACEOF
5070 +/* end confdefs.h. */
5071 +$ac_includes_default
5072 +typedef size_t ac__type_new_;
5076 +if ((ac__type_new_ *) 0)
5078 +if (sizeof (ac__type_new_))
5084 +rm -f conftest.$ac_objext
5085 +if { (ac_try="$ac_compile"
5086 +case "(($ac_try" in
5087 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5088 + *) ac_try_echo=$ac_try;;
5090 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5091 + (eval "$ac_compile") 2>conftest.er1
5093 + grep -v '^ *+' conftest.er1 >conftest.err
5094 + rm -f conftest.er1
5095 + cat conftest.err >&5
5096 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 + (exit $ac_status); } && {
5098 + test -z "$ac_c_werror_flag" ||
5099 + test ! -s conftest.err
5100 + } && test -s conftest.$ac_objext; then
5101 ac_cv_type_size_t=yes
5104 - ac_cv_type_size_t=no
5105 + echo "$as_me: failed program was:" >&5
5106 +sed 's/^/| /' conftest.$ac_ext >&5
5108 + ac_cv_type_size_t=no
5112 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5114 -echo "$ac_t""$ac_cv_type_size_t" 1>&6
5115 -if test $ac_cv_type_size_t = no; then
5116 - cat >> confdefs.h <<\EOF
5117 -#define size_t unsigned
5119 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5120 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
5121 +if test $ac_cv_type_size_t = yes; then
5125 +cat >>confdefs.h <<_ACEOF
5126 +#define size_t unsigned int
5132 -echo $ac_n "checking size of short""... $ac_c" 1>&6
5133 -echo "configure:1477: checking size of short" >&5
5134 -if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
5135 - echo $ac_n "(cached) $ac_c" 1>&6
5136 +{ echo "$as_me:$LINENO: checking for short" >&5
5137 +echo $ECHO_N "checking for short... $ECHO_C" >&6; }
5138 +if test "${ac_cv_type_short+set}" = set; then
5139 + echo $ECHO_N "(cached) $ECHO_C" >&6
5141 + cat >conftest.$ac_ext <<_ACEOF
5144 +cat confdefs.h >>conftest.$ac_ext
5145 +cat >>conftest.$ac_ext <<_ACEOF
5146 +/* end confdefs.h. */
5147 +$ac_includes_default
5148 +typedef short ac__type_new_;
5152 +if ((ac__type_new_ *) 0)
5154 +if (sizeof (ac__type_new_))
5160 +rm -f conftest.$ac_objext
5161 +if { (ac_try="$ac_compile"
5162 +case "(($ac_try" in
5163 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164 + *) ac_try_echo=$ac_try;;
5166 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5167 + (eval "$ac_compile") 2>conftest.er1
5169 + grep -v '^ *+' conftest.er1 >conftest.err
5170 + rm -f conftest.er1
5171 + cat conftest.err >&5
5172 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 + (exit $ac_status); } && {
5174 + test -z "$ac_c_werror_flag" ||
5175 + test ! -s conftest.err
5176 + } && test -s conftest.$ac_objext; then
5177 + ac_cv_type_short=yes
5179 + echo "$as_me: failed program was:" >&5
5180 +sed 's/^/| /' conftest.$ac_ext >&5
5182 + ac_cv_type_short=no
5185 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5187 +{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
5188 +echo "${ECHO_T}$ac_cv_type_short" >&6; }
5190 +# The cast to long int works around a bug in the HP C Compiler
5191 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5192 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5193 +# This bug is HP SR number 8606223364.
5194 +{ echo "$as_me:$LINENO: checking size of short" >&5
5195 +echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
5196 +if test "${ac_cv_sizeof_short+set}" = set; then
5197 + echo $ECHO_N "(cached) $ECHO_C" >&6
5199 if test "$cross_compiling" = yes; then
5200 - ac_cv_sizeof_short=2
5201 + # Depending upon the size, compute the lo and hi bounds.
5202 +cat >conftest.$ac_ext <<_ACEOF
5205 +cat confdefs.h >>conftest.$ac_ext
5206 +cat >>conftest.$ac_ext <<_ACEOF
5207 +/* end confdefs.h. */
5208 +$ac_includes_default
5209 + typedef short ac__type_sizeof_;
5213 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5220 +rm -f conftest.$ac_objext
5221 +if { (ac_try="$ac_compile"
5222 +case "(($ac_try" in
5223 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5224 + *) ac_try_echo=$ac_try;;
5226 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5227 + (eval "$ac_compile") 2>conftest.er1
5229 + grep -v '^ *+' conftest.er1 >conftest.err
5230 + rm -f conftest.er1
5231 + cat conftest.err >&5
5232 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 + (exit $ac_status); } && {
5234 + test -z "$ac_c_werror_flag" ||
5235 + test ! -s conftest.err
5236 + } && test -s conftest.$ac_objext; then
5239 + cat >conftest.$ac_ext <<_ACEOF
5242 +cat confdefs.h >>conftest.$ac_ext
5243 +cat >>conftest.$ac_ext <<_ACEOF
5244 +/* end confdefs.h. */
5245 +$ac_includes_default
5246 + typedef short ac__type_sizeof_;
5250 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5257 +rm -f conftest.$ac_objext
5258 +if { (ac_try="$ac_compile"
5259 +case "(($ac_try" in
5260 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261 + *) ac_try_echo=$ac_try;;
5263 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5264 + (eval "$ac_compile") 2>conftest.er1
5266 + grep -v '^ *+' conftest.er1 >conftest.err
5267 + rm -f conftest.er1
5268 + cat conftest.err >&5
5269 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 + (exit $ac_status); } && {
5271 + test -z "$ac_c_werror_flag" ||
5272 + test ! -s conftest.err
5273 + } && test -s conftest.$ac_objext; then
5274 + ac_hi=$ac_mid; break
5276 - cat > conftest.$ac_ext <<EOF
5277 -#line 1485 "configure"
5278 -#include "confdefs.h"
5281 + echo "$as_me: failed program was:" >&5
5282 +sed 's/^/| /' conftest.$ac_ext >&5
5284 + ac_lo=`expr $ac_mid + 1`
5285 + if test $ac_lo -le $ac_mid; then
5289 + ac_mid=`expr 2 '*' $ac_mid + 1`
5292 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5295 + echo "$as_me: failed program was:" >&5
5296 +sed 's/^/| /' conftest.$ac_ext >&5
5298 + cat >conftest.$ac_ext <<_ACEOF
5301 +cat confdefs.h >>conftest.$ac_ext
5302 +cat >>conftest.$ac_ext <<_ACEOF
5303 +/* end confdefs.h. */
5304 +$ac_includes_default
5305 + typedef short ac__type_sizeof_;
5309 - FILE *f=fopen("conftestval", "w");
5311 - fprintf(f, "%d\n", sizeof(short));
5313 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5320 -if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5322 - ac_cv_sizeof_short=`cat conftestval`
5324 +rm -f conftest.$ac_objext
5325 +if { (ac_try="$ac_compile"
5326 +case "(($ac_try" in
5327 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5328 + *) ac_try_echo=$ac_try;;
5330 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5331 + (eval "$ac_compile") 2>conftest.er1
5333 + grep -v '^ *+' conftest.er1 >conftest.err
5334 + rm -f conftest.er1
5335 + cat conftest.err >&5
5336 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 + (exit $ac_status); } && {
5338 + test -z "$ac_c_werror_flag" ||
5339 + test ! -s conftest.err
5340 + } && test -s conftest.$ac_objext; then
5341 + ac_hi=-1 ac_mid=-1
5343 + cat >conftest.$ac_ext <<_ACEOF
5346 +cat confdefs.h >>conftest.$ac_ext
5347 +cat >>conftest.$ac_ext <<_ACEOF
5348 +/* end confdefs.h. */
5349 +$ac_includes_default
5350 + typedef short ac__type_sizeof_;
5354 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5361 +rm -f conftest.$ac_objext
5362 +if { (ac_try="$ac_compile"
5363 +case "(($ac_try" in
5364 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5365 + *) ac_try_echo=$ac_try;;
5367 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5368 + (eval "$ac_compile") 2>conftest.er1
5370 + grep -v '^ *+' conftest.er1 >conftest.err
5371 + rm -f conftest.er1
5372 + cat conftest.err >&5
5373 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 + (exit $ac_status); } && {
5375 + test -z "$ac_c_werror_flag" ||
5376 + test ! -s conftest.err
5377 + } && test -s conftest.$ac_objext; then
5378 + ac_lo=$ac_mid; break
5380 - echo "configure: failed program was:" >&5
5381 - cat conftest.$ac_ext >&5
5383 - ac_cv_sizeof_short=0
5384 + echo "$as_me: failed program was:" >&5
5385 +sed 's/^/| /' conftest.$ac_ext >&5
5387 + ac_hi=`expr '(' $ac_mid ')' - 1`
5388 + if test $ac_mid -le $ac_hi; then
5392 + ac_mid=`expr 2 '*' $ac_mid`
5396 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399 + echo "$as_me: failed program was:" >&5
5400 +sed 's/^/| /' conftest.$ac_ext >&5
5405 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5407 -echo "$ac_t""$ac_cv_sizeof_short" 1>&6
5408 -cat >> confdefs.h <<EOF
5410 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5411 +# Binary search between lo and hi bounds.
5412 +while test "x$ac_lo" != "x$ac_hi"; do
5413 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5414 + cat >conftest.$ac_ext <<_ACEOF
5417 +cat confdefs.h >>conftest.$ac_ext
5418 +cat >>conftest.$ac_ext <<_ACEOF
5419 +/* end confdefs.h. */
5420 +$ac_includes_default
5421 + typedef short ac__type_sizeof_;
5425 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5432 +rm -f conftest.$ac_objext
5433 +if { (ac_try="$ac_compile"
5434 +case "(($ac_try" in
5435 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5436 + *) ac_try_echo=$ac_try;;
5438 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5439 + (eval "$ac_compile") 2>conftest.er1
5441 + grep -v '^ *+' conftest.er1 >conftest.err
5442 + rm -f conftest.er1
5443 + cat conftest.err >&5
5444 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 + (exit $ac_status); } && {
5446 + test -z "$ac_c_werror_flag" ||
5447 + test ! -s conftest.err
5448 + } && test -s conftest.$ac_objext; then
5451 + echo "$as_me: failed program was:" >&5
5452 +sed 's/^/| /' conftest.$ac_ext >&5
5454 + ac_lo=`expr '(' $ac_mid ')' + 1`
5457 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5460 +?*) ac_cv_sizeof_short=$ac_lo;;
5461 +'') if test "$ac_cv_type_short" = yes; then
5462 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5463 +See \`config.log' for more details." >&5
5464 +echo "$as_me: error: cannot compute sizeof (short)
5465 +See \`config.log' for more details." >&2;}
5466 + { (exit 77); exit 77; }; }
5468 + ac_cv_sizeof_short=0
5472 + cat >conftest.$ac_ext <<_ACEOF
5475 +cat confdefs.h >>conftest.$ac_ext
5476 +cat >>conftest.$ac_ext <<_ACEOF
5477 +/* end confdefs.h. */
5478 +$ac_includes_default
5479 + typedef short ac__type_sizeof_;
5480 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5481 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5483 +#include <stdlib.h>
5488 + FILE *f = fopen ("conftest.val", "w");
5491 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5493 + long int i = longval ();
5494 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5496 + fprintf (f, "%ld\n", i);
5500 + unsigned long int i = ulongval ();
5501 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5503 + fprintf (f, "%lu\n", i);
5505 + return ferror (f) || fclose (f) != 0;
5511 +rm -f conftest$ac_exeext
5512 +if { (ac_try="$ac_link"
5513 +case "(($ac_try" in
5514 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5515 + *) ac_try_echo=$ac_try;;
5517 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5518 + (eval "$ac_link") 2>&5
5520 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5521 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5522 + { (case "(($ac_try" in
5523 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5524 + *) ac_try_echo=$ac_try;;
5526 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527 + (eval "$ac_try") 2>&5
5529 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 + (exit $ac_status); }; }; then
5531 + ac_cv_sizeof_short=`cat conftest.val`
5533 + echo "$as_me: program exited with status $ac_status" >&5
5534 +echo "$as_me: failed program was:" >&5
5535 +sed 's/^/| /' conftest.$ac_ext >&5
5537 +( exit $ac_status )
5538 +if test "$ac_cv_type_short" = yes; then
5539 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
5540 +See \`config.log' for more details." >&5
5541 +echo "$as_me: error: cannot compute sizeof (short)
5542 +See \`config.log' for more details." >&2;}
5543 + { (exit 77); exit 77; }; }
5545 + ac_cv_sizeof_short=0
5548 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5552 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
5553 +echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
5557 +cat >>confdefs.h <<_ACEOF
5558 #define SIZEOF_SHORT $ac_cv_sizeof_short
5563 -echo $ac_n "checking size of int""... $ac_c" 1>&6
5564 -echo "configure:1516: checking size of int" >&5
5565 -if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
5566 - echo $ac_n "(cached) $ac_c" 1>&6
5567 +{ echo "$as_me:$LINENO: checking for int" >&5
5568 +echo $ECHO_N "checking for int... $ECHO_C" >&6; }
5569 +if test "${ac_cv_type_int+set}" = set; then
5570 + echo $ECHO_N "(cached) $ECHO_C" >&6
5572 + cat >conftest.$ac_ext <<_ACEOF
5575 +cat confdefs.h >>conftest.$ac_ext
5576 +cat >>conftest.$ac_ext <<_ACEOF
5577 +/* end confdefs.h. */
5578 +$ac_includes_default
5579 +typedef int ac__type_new_;
5583 +if ((ac__type_new_ *) 0)
5585 +if (sizeof (ac__type_new_))
5591 +rm -f conftest.$ac_objext
5592 +if { (ac_try="$ac_compile"
5593 +case "(($ac_try" in
5594 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595 + *) ac_try_echo=$ac_try;;
5597 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 + (eval "$ac_compile") 2>conftest.er1
5600 + grep -v '^ *+' conftest.er1 >conftest.err
5601 + rm -f conftest.er1
5602 + cat conftest.err >&5
5603 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 + (exit $ac_status); } && {
5605 + test -z "$ac_c_werror_flag" ||
5606 + test ! -s conftest.err
5607 + } && test -s conftest.$ac_objext; then
5608 + ac_cv_type_int=yes
5610 + echo "$as_me: failed program was:" >&5
5611 +sed 's/^/| /' conftest.$ac_ext >&5
5616 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5618 +{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
5619 +echo "${ECHO_T}$ac_cv_type_int" >&6; }
5621 +# The cast to long int works around a bug in the HP C Compiler
5622 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5623 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5624 +# This bug is HP SR number 8606223364.
5625 +{ echo "$as_me:$LINENO: checking size of int" >&5
5626 +echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
5627 +if test "${ac_cv_sizeof_int+set}" = set; then
5628 + echo $ECHO_N "(cached) $ECHO_C" >&6
5630 if test "$cross_compiling" = yes; then
5631 - ac_cv_sizeof_int=4
5632 + # Depending upon the size, compute the lo and hi bounds.
5633 +cat >conftest.$ac_ext <<_ACEOF
5636 +cat confdefs.h >>conftest.$ac_ext
5637 +cat >>conftest.$ac_ext <<_ACEOF
5638 +/* end confdefs.h. */
5639 +$ac_includes_default
5640 + typedef int ac__type_sizeof_;
5644 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
5651 +rm -f conftest.$ac_objext
5652 +if { (ac_try="$ac_compile"
5653 +case "(($ac_try" in
5654 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5655 + *) ac_try_echo=$ac_try;;
5657 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5658 + (eval "$ac_compile") 2>conftest.er1
5660 + grep -v '^ *+' conftest.er1 >conftest.err
5661 + rm -f conftest.er1
5662 + cat conftest.err >&5
5663 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 + (exit $ac_status); } && {
5665 + test -z "$ac_c_werror_flag" ||
5666 + test ! -s conftest.err
5667 + } && test -s conftest.$ac_objext; then
5670 + cat >conftest.$ac_ext <<_ACEOF
5673 +cat confdefs.h >>conftest.$ac_ext
5674 +cat >>conftest.$ac_ext <<_ACEOF
5675 +/* end confdefs.h. */
5676 +$ac_includes_default
5677 + typedef int ac__type_sizeof_;
5681 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5688 +rm -f conftest.$ac_objext
5689 +if { (ac_try="$ac_compile"
5690 +case "(($ac_try" in
5691 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5692 + *) ac_try_echo=$ac_try;;
5694 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5695 + (eval "$ac_compile") 2>conftest.er1
5697 + grep -v '^ *+' conftest.er1 >conftest.err
5698 + rm -f conftest.er1
5699 + cat conftest.err >&5
5700 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 + (exit $ac_status); } && {
5702 + test -z "$ac_c_werror_flag" ||
5703 + test ! -s conftest.err
5704 + } && test -s conftest.$ac_objext; then
5705 + ac_hi=$ac_mid; break
5707 - cat > conftest.$ac_ext <<EOF
5708 -#line 1524 "configure"
5709 -#include "confdefs.h"
5712 + echo "$as_me: failed program was:" >&5
5713 +sed 's/^/| /' conftest.$ac_ext >&5
5715 + ac_lo=`expr $ac_mid + 1`
5716 + if test $ac_lo -le $ac_mid; then
5720 + ac_mid=`expr 2 '*' $ac_mid + 1`
5723 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5726 + echo "$as_me: failed program was:" >&5
5727 +sed 's/^/| /' conftest.$ac_ext >&5
5729 + cat >conftest.$ac_ext <<_ACEOF
5732 +cat confdefs.h >>conftest.$ac_ext
5733 +cat >>conftest.$ac_ext <<_ACEOF
5734 +/* end confdefs.h. */
5735 +$ac_includes_default
5736 + typedef int ac__type_sizeof_;
5740 - FILE *f=fopen("conftestval", "w");
5742 - fprintf(f, "%d\n", sizeof(int));
5744 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
5751 -if { (eval echo configure:1535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5753 - ac_cv_sizeof_int=`cat conftestval`
5755 +rm -f conftest.$ac_objext
5756 +if { (ac_try="$ac_compile"
5757 +case "(($ac_try" in
5758 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5759 + *) ac_try_echo=$ac_try;;
5761 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5762 + (eval "$ac_compile") 2>conftest.er1
5764 + grep -v '^ *+' conftest.er1 >conftest.err
5765 + rm -f conftest.er1
5766 + cat conftest.err >&5
5767 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 + (exit $ac_status); } && {
5769 + test -z "$ac_c_werror_flag" ||
5770 + test ! -s conftest.err
5771 + } && test -s conftest.$ac_objext; then
5772 + ac_hi=-1 ac_mid=-1
5774 + cat >conftest.$ac_ext <<_ACEOF
5777 +cat confdefs.h >>conftest.$ac_ext
5778 +cat >>conftest.$ac_ext <<_ACEOF
5779 +/* end confdefs.h. */
5780 +$ac_includes_default
5781 + typedef int ac__type_sizeof_;
5785 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
5792 +rm -f conftest.$ac_objext
5793 +if { (ac_try="$ac_compile"
5794 +case "(($ac_try" in
5795 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5796 + *) ac_try_echo=$ac_try;;
5798 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5799 + (eval "$ac_compile") 2>conftest.er1
5801 + grep -v '^ *+' conftest.er1 >conftest.err
5802 + rm -f conftest.er1
5803 + cat conftest.err >&5
5804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 + (exit $ac_status); } && {
5806 + test -z "$ac_c_werror_flag" ||
5807 + test ! -s conftest.err
5808 + } && test -s conftest.$ac_objext; then
5809 + ac_lo=$ac_mid; break
5811 - echo "configure: failed program was:" >&5
5812 - cat conftest.$ac_ext >&5
5814 - ac_cv_sizeof_int=0
5815 + echo "$as_me: failed program was:" >&5
5816 +sed 's/^/| /' conftest.$ac_ext >&5
5818 + ac_hi=`expr '(' $ac_mid ')' - 1`
5819 + if test $ac_mid -le $ac_hi; then
5823 + ac_mid=`expr 2 '*' $ac_mid`
5827 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5830 + echo "$as_me: failed program was:" >&5
5831 +sed 's/^/| /' conftest.$ac_ext >&5
5836 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5838 -echo "$ac_t""$ac_cv_sizeof_int" 1>&6
5839 -cat >> confdefs.h <<EOF
5841 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5842 +# Binary search between lo and hi bounds.
5843 +while test "x$ac_lo" != "x$ac_hi"; do
5844 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5845 + cat >conftest.$ac_ext <<_ACEOF
5848 +cat confdefs.h >>conftest.$ac_ext
5849 +cat >>conftest.$ac_ext <<_ACEOF
5850 +/* end confdefs.h. */
5851 +$ac_includes_default
5852 + typedef int ac__type_sizeof_;
5856 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
5863 +rm -f conftest.$ac_objext
5864 +if { (ac_try="$ac_compile"
5865 +case "(($ac_try" in
5866 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5867 + *) ac_try_echo=$ac_try;;
5869 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5870 + (eval "$ac_compile") 2>conftest.er1
5872 + grep -v '^ *+' conftest.er1 >conftest.err
5873 + rm -f conftest.er1
5874 + cat conftest.err >&5
5875 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 + (exit $ac_status); } && {
5877 + test -z "$ac_c_werror_flag" ||
5878 + test ! -s conftest.err
5879 + } && test -s conftest.$ac_objext; then
5882 + echo "$as_me: failed program was:" >&5
5883 +sed 's/^/| /' conftest.$ac_ext >&5
5885 + ac_lo=`expr '(' $ac_mid ')' + 1`
5888 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 +?*) ac_cv_sizeof_int=$ac_lo;;
5892 +'') if test "$ac_cv_type_int" = yes; then
5893 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5894 +See \`config.log' for more details." >&5
5895 +echo "$as_me: error: cannot compute sizeof (int)
5896 +See \`config.log' for more details." >&2;}
5897 + { (exit 77); exit 77; }; }
5899 + ac_cv_sizeof_int=0
5903 + cat >conftest.$ac_ext <<_ACEOF
5906 +cat confdefs.h >>conftest.$ac_ext
5907 +cat >>conftest.$ac_ext <<_ACEOF
5908 +/* end confdefs.h. */
5909 +$ac_includes_default
5910 + typedef int ac__type_sizeof_;
5911 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
5912 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
5914 +#include <stdlib.h>
5919 + FILE *f = fopen ("conftest.val", "w");
5922 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
5924 + long int i = longval ();
5925 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5927 + fprintf (f, "%ld\n", i);
5931 + unsigned long int i = ulongval ();
5932 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
5934 + fprintf (f, "%lu\n", i);
5936 + return ferror (f) || fclose (f) != 0;
5942 +rm -f conftest$ac_exeext
5943 +if { (ac_try="$ac_link"
5944 +case "(($ac_try" in
5945 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5946 + *) ac_try_echo=$ac_try;;
5948 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5949 + (eval "$ac_link") 2>&5
5951 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5953 + { (case "(($ac_try" in
5954 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5955 + *) ac_try_echo=$ac_try;;
5957 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5958 + (eval "$ac_try") 2>&5
5960 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 + (exit $ac_status); }; }; then
5962 + ac_cv_sizeof_int=`cat conftest.val`
5964 + echo "$as_me: program exited with status $ac_status" >&5
5965 +echo "$as_me: failed program was:" >&5
5966 +sed 's/^/| /' conftest.$ac_ext >&5
5968 +( exit $ac_status )
5969 +if test "$ac_cv_type_int" = yes; then
5970 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
5971 +See \`config.log' for more details." >&5
5972 +echo "$as_me: error: cannot compute sizeof (int)
5973 +See \`config.log' for more details." >&2;}
5974 + { (exit 77); exit 77; }; }
5976 + ac_cv_sizeof_int=0
5979 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5983 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
5984 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
5988 +cat >>confdefs.h <<_ACEOF
5989 #define SIZEOF_INT $ac_cv_sizeof_int
5994 -echo $ac_n "checking size of long""... $ac_c" 1>&6
5995 -echo "configure:1555: checking size of long" >&5
5996 -if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
5997 - echo $ac_n "(cached) $ac_c" 1>&6
5998 +{ echo "$as_me:$LINENO: checking for long" >&5
5999 +echo $ECHO_N "checking for long... $ECHO_C" >&6; }
6000 +if test "${ac_cv_type_long+set}" = set; then
6001 + echo $ECHO_N "(cached) $ECHO_C" >&6
6003 + cat >conftest.$ac_ext <<_ACEOF
6006 +cat confdefs.h >>conftest.$ac_ext
6007 +cat >>conftest.$ac_ext <<_ACEOF
6008 +/* end confdefs.h. */
6009 +$ac_includes_default
6010 +typedef long ac__type_new_;
6014 +if ((ac__type_new_ *) 0)
6016 +if (sizeof (ac__type_new_))
6022 +rm -f conftest.$ac_objext
6023 +if { (ac_try="$ac_compile"
6024 +case "(($ac_try" in
6025 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6026 + *) ac_try_echo=$ac_try;;
6028 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6029 + (eval "$ac_compile") 2>conftest.er1
6031 + grep -v '^ *+' conftest.er1 >conftest.err
6032 + rm -f conftest.er1
6033 + cat conftest.err >&5
6034 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035 + (exit $ac_status); } && {
6036 + test -z "$ac_c_werror_flag" ||
6037 + test ! -s conftest.err
6038 + } && test -s conftest.$ac_objext; then
6039 + ac_cv_type_long=yes
6041 + echo "$as_me: failed program was:" >&5
6042 +sed 's/^/| /' conftest.$ac_ext >&5
6044 + ac_cv_type_long=no
6047 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6049 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
6050 +echo "${ECHO_T}$ac_cv_type_long" >&6; }
6052 +# The cast to long int works around a bug in the HP C Compiler
6053 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6054 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6055 +# This bug is HP SR number 8606223364.
6056 +{ echo "$as_me:$LINENO: checking size of long" >&5
6057 +echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
6058 +if test "${ac_cv_sizeof_long+set}" = set; then
6059 + echo $ECHO_N "(cached) $ECHO_C" >&6
6061 if test "$cross_compiling" = yes; then
6062 - ac_cv_sizeof_long=4
6063 + # Depending upon the size, compute the lo and hi bounds.
6064 +cat >conftest.$ac_ext <<_ACEOF
6067 +cat confdefs.h >>conftest.$ac_ext
6068 +cat >>conftest.$ac_ext <<_ACEOF
6069 +/* end confdefs.h. */
6070 +$ac_includes_default
6071 + typedef long ac__type_sizeof_;
6075 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6082 +rm -f conftest.$ac_objext
6083 +if { (ac_try="$ac_compile"
6084 +case "(($ac_try" in
6085 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6086 + *) ac_try_echo=$ac_try;;
6088 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6089 + (eval "$ac_compile") 2>conftest.er1
6091 + grep -v '^ *+' conftest.er1 >conftest.err
6092 + rm -f conftest.er1
6093 + cat conftest.err >&5
6094 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 + (exit $ac_status); } && {
6096 + test -z "$ac_c_werror_flag" ||
6097 + test ! -s conftest.err
6098 + } && test -s conftest.$ac_objext; then
6101 + cat >conftest.$ac_ext <<_ACEOF
6104 +cat confdefs.h >>conftest.$ac_ext
6105 +cat >>conftest.$ac_ext <<_ACEOF
6106 +/* end confdefs.h. */
6107 +$ac_includes_default
6108 + typedef long ac__type_sizeof_;
6112 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6119 +rm -f conftest.$ac_objext
6120 +if { (ac_try="$ac_compile"
6121 +case "(($ac_try" in
6122 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6123 + *) ac_try_echo=$ac_try;;
6125 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6126 + (eval "$ac_compile") 2>conftest.er1
6128 + grep -v '^ *+' conftest.er1 >conftest.err
6129 + rm -f conftest.er1
6130 + cat conftest.err >&5
6131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 + (exit $ac_status); } && {
6133 + test -z "$ac_c_werror_flag" ||
6134 + test ! -s conftest.err
6135 + } && test -s conftest.$ac_objext; then
6136 + ac_hi=$ac_mid; break
6138 - cat > conftest.$ac_ext <<EOF
6139 -#line 1563 "configure"
6140 -#include "confdefs.h"
6143 + echo "$as_me: failed program was:" >&5
6144 +sed 's/^/| /' conftest.$ac_ext >&5
6146 + ac_lo=`expr $ac_mid + 1`
6147 + if test $ac_lo -le $ac_mid; then
6151 + ac_mid=`expr 2 '*' $ac_mid + 1`
6154 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6157 + echo "$as_me: failed program was:" >&5
6158 +sed 's/^/| /' conftest.$ac_ext >&5
6160 + cat >conftest.$ac_ext <<_ACEOF
6163 +cat confdefs.h >>conftest.$ac_ext
6164 +cat >>conftest.$ac_ext <<_ACEOF
6165 +/* end confdefs.h. */
6166 +$ac_includes_default
6167 + typedef long ac__type_sizeof_;
6171 - FILE *f=fopen("conftestval", "w");
6173 - fprintf(f, "%d\n", sizeof(long));
6175 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6182 -if { (eval echo configure:1574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6184 - ac_cv_sizeof_long=`cat conftestval`
6186 +rm -f conftest.$ac_objext
6187 +if { (ac_try="$ac_compile"
6188 +case "(($ac_try" in
6189 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6190 + *) ac_try_echo=$ac_try;;
6192 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6193 + (eval "$ac_compile") 2>conftest.er1
6195 + grep -v '^ *+' conftest.er1 >conftest.err
6196 + rm -f conftest.er1
6197 + cat conftest.err >&5
6198 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 + (exit $ac_status); } && {
6200 + test -z "$ac_c_werror_flag" ||
6201 + test ! -s conftest.err
6202 + } && test -s conftest.$ac_objext; then
6203 + ac_hi=-1 ac_mid=-1
6205 + cat >conftest.$ac_ext <<_ACEOF
6208 +cat confdefs.h >>conftest.$ac_ext
6209 +cat >>conftest.$ac_ext <<_ACEOF
6210 +/* end confdefs.h. */
6211 +$ac_includes_default
6212 + typedef long ac__type_sizeof_;
6216 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6223 +rm -f conftest.$ac_objext
6224 +if { (ac_try="$ac_compile"
6225 +case "(($ac_try" in
6226 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6227 + *) ac_try_echo=$ac_try;;
6229 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6230 + (eval "$ac_compile") 2>conftest.er1
6232 + grep -v '^ *+' conftest.er1 >conftest.err
6233 + rm -f conftest.er1
6234 + cat conftest.err >&5
6235 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 + (exit $ac_status); } && {
6237 + test -z "$ac_c_werror_flag" ||
6238 + test ! -s conftest.err
6239 + } && test -s conftest.$ac_objext; then
6240 + ac_lo=$ac_mid; break
6242 - echo "configure: failed program was:" >&5
6243 - cat conftest.$ac_ext >&5
6245 - ac_cv_sizeof_long=0
6246 + echo "$as_me: failed program was:" >&5
6247 +sed 's/^/| /' conftest.$ac_ext >&5
6249 + ac_hi=`expr '(' $ac_mid ')' - 1`
6250 + if test $ac_mid -le $ac_hi; then
6254 + ac_mid=`expr 2 '*' $ac_mid`
6258 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6261 + echo "$as_me: failed program was:" >&5
6262 +sed 's/^/| /' conftest.$ac_ext >&5
6267 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6269 -echo "$ac_t""$ac_cv_sizeof_long" 1>&6
6270 -cat >> confdefs.h <<EOF
6272 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6273 +# Binary search between lo and hi bounds.
6274 +while test "x$ac_lo" != "x$ac_hi"; do
6275 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6276 + cat >conftest.$ac_ext <<_ACEOF
6279 +cat confdefs.h >>conftest.$ac_ext
6280 +cat >>conftest.$ac_ext <<_ACEOF
6281 +/* end confdefs.h. */
6282 +$ac_includes_default
6283 + typedef long ac__type_sizeof_;
6287 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6294 +rm -f conftest.$ac_objext
6295 +if { (ac_try="$ac_compile"
6296 +case "(($ac_try" in
6297 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6298 + *) ac_try_echo=$ac_try;;
6300 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6301 + (eval "$ac_compile") 2>conftest.er1
6303 + grep -v '^ *+' conftest.er1 >conftest.err
6304 + rm -f conftest.er1
6305 + cat conftest.err >&5
6306 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 + (exit $ac_status); } && {
6308 + test -z "$ac_c_werror_flag" ||
6309 + test ! -s conftest.err
6310 + } && test -s conftest.$ac_objext; then
6313 + echo "$as_me: failed program was:" >&5
6314 +sed 's/^/| /' conftest.$ac_ext >&5
6316 + ac_lo=`expr '(' $ac_mid ')' + 1`
6319 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6322 +?*) ac_cv_sizeof_long=$ac_lo;;
6323 +'') if test "$ac_cv_type_long" = yes; then
6324 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6325 +See \`config.log' for more details." >&5
6326 +echo "$as_me: error: cannot compute sizeof (long)
6327 +See \`config.log' for more details." >&2;}
6328 + { (exit 77); exit 77; }; }
6330 + ac_cv_sizeof_long=0
6334 + cat >conftest.$ac_ext <<_ACEOF
6337 +cat confdefs.h >>conftest.$ac_ext
6338 +cat >>conftest.$ac_ext <<_ACEOF
6339 +/* end confdefs.h. */
6340 +$ac_includes_default
6341 + typedef long ac__type_sizeof_;
6342 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6343 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6345 +#include <stdlib.h>
6350 + FILE *f = fopen ("conftest.val", "w");
6353 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6355 + long int i = longval ();
6356 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
6358 + fprintf (f, "%ld\n", i);
6362 + unsigned long int i = ulongval ();
6363 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
6365 + fprintf (f, "%lu\n", i);
6367 + return ferror (f) || fclose (f) != 0;
6373 +rm -f conftest$ac_exeext
6374 +if { (ac_try="$ac_link"
6375 +case "(($ac_try" in
6376 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6377 + *) ac_try_echo=$ac_try;;
6379 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6380 + (eval "$ac_link") 2>&5
6382 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6384 + { (case "(($ac_try" in
6385 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6386 + *) ac_try_echo=$ac_try;;
6388 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6389 + (eval "$ac_try") 2>&5
6391 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 + (exit $ac_status); }; }; then
6393 + ac_cv_sizeof_long=`cat conftest.val`
6395 + echo "$as_me: program exited with status $ac_status" >&5
6396 +echo "$as_me: failed program was:" >&5
6397 +sed 's/^/| /' conftest.$ac_ext >&5
6399 +( exit $ac_status )
6400 +if test "$ac_cv_type_long" = yes; then
6401 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
6402 +See \`config.log' for more details." >&5
6403 +echo "$as_me: error: cannot compute sizeof (long)
6404 +See \`config.log' for more details." >&2;}
6405 + { (exit 77); exit 77; }; }
6407 + ac_cv_sizeof_long=0
6410 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6414 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
6415 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
6419 +cat >>confdefs.h <<_ACEOF
6420 #define SIZEOF_LONG $ac_cv_sizeof_long
6425 -echo $ac_n "checking size of long long""... $ac_c" 1>&6
6426 -echo "configure:1594: checking size of long long" >&5
6427 -if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
6428 - echo $ac_n "(cached) $ac_c" 1>&6
6429 +{ echo "$as_me:$LINENO: checking for long long" >&5
6430 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
6431 +if test "${ac_cv_type_long_long+set}" = set; then
6432 + echo $ECHO_N "(cached) $ECHO_C" >&6
6434 + cat >conftest.$ac_ext <<_ACEOF
6437 +cat confdefs.h >>conftest.$ac_ext
6438 +cat >>conftest.$ac_ext <<_ACEOF
6439 +/* end confdefs.h. */
6440 +$ac_includes_default
6441 +typedef long long ac__type_new_;
6445 +if ((ac__type_new_ *) 0)
6447 +if (sizeof (ac__type_new_))
6453 +rm -f conftest.$ac_objext
6454 +if { (ac_try="$ac_compile"
6455 +case "(($ac_try" in
6456 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6457 + *) ac_try_echo=$ac_try;;
6459 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6460 + (eval "$ac_compile") 2>conftest.er1
6462 + grep -v '^ *+' conftest.er1 >conftest.err
6463 + rm -f conftest.er1
6464 + cat conftest.err >&5
6465 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 + (exit $ac_status); } && {
6467 + test -z "$ac_c_werror_flag" ||
6468 + test ! -s conftest.err
6469 + } && test -s conftest.$ac_objext; then
6470 + ac_cv_type_long_long=yes
6472 + echo "$as_me: failed program was:" >&5
6473 +sed 's/^/| /' conftest.$ac_ext >&5
6475 + ac_cv_type_long_long=no
6478 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6480 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
6481 +echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
6483 +# The cast to long int works around a bug in the HP C Compiler
6484 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6485 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6486 +# This bug is HP SR number 8606223364.
6487 +{ echo "$as_me:$LINENO: checking size of long long" >&5
6488 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
6489 +if test "${ac_cv_sizeof_long_long+set}" = set; then
6490 + echo $ECHO_N "(cached) $ECHO_C" >&6
6492 if test "$cross_compiling" = yes; then
6493 - ac_cv_sizeof_long_long=0
6494 + # Depending upon the size, compute the lo and hi bounds.
6495 +cat >conftest.$ac_ext <<_ACEOF
6498 +cat confdefs.h >>conftest.$ac_ext
6499 +cat >>conftest.$ac_ext <<_ACEOF
6500 +/* end confdefs.h. */
6501 +$ac_includes_default
6502 + typedef long long ac__type_sizeof_;
6506 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6513 +rm -f conftest.$ac_objext
6514 +if { (ac_try="$ac_compile"
6515 +case "(($ac_try" in
6516 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6517 + *) ac_try_echo=$ac_try;;
6519 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6520 + (eval "$ac_compile") 2>conftest.er1
6522 + grep -v '^ *+' conftest.er1 >conftest.err
6523 + rm -f conftest.er1
6524 + cat conftest.err >&5
6525 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 + (exit $ac_status); } && {
6527 + test -z "$ac_c_werror_flag" ||
6528 + test ! -s conftest.err
6529 + } && test -s conftest.$ac_objext; then
6532 + cat >conftest.$ac_ext <<_ACEOF
6535 +cat confdefs.h >>conftest.$ac_ext
6536 +cat >>conftest.$ac_ext <<_ACEOF
6537 +/* end confdefs.h. */
6538 +$ac_includes_default
6539 + typedef long long ac__type_sizeof_;
6543 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6550 +rm -f conftest.$ac_objext
6551 +if { (ac_try="$ac_compile"
6552 +case "(($ac_try" in
6553 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 + *) ac_try_echo=$ac_try;;
6556 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6557 + (eval "$ac_compile") 2>conftest.er1
6559 + grep -v '^ *+' conftest.er1 >conftest.err
6560 + rm -f conftest.er1
6561 + cat conftest.err >&5
6562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 + (exit $ac_status); } && {
6564 + test -z "$ac_c_werror_flag" ||
6565 + test ! -s conftest.err
6566 + } && test -s conftest.$ac_objext; then
6567 + ac_hi=$ac_mid; break
6569 - cat > conftest.$ac_ext <<EOF
6570 -#line 1602 "configure"
6571 -#include "confdefs.h"
6574 + echo "$as_me: failed program was:" >&5
6575 +sed 's/^/| /' conftest.$ac_ext >&5
6577 + ac_lo=`expr $ac_mid + 1`
6578 + if test $ac_lo -le $ac_mid; then
6582 + ac_mid=`expr 2 '*' $ac_mid + 1`
6585 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6588 + echo "$as_me: failed program was:" >&5
6589 +sed 's/^/| /' conftest.$ac_ext >&5
6591 + cat >conftest.$ac_ext <<_ACEOF
6594 +cat confdefs.h >>conftest.$ac_ext
6595 +cat >>conftest.$ac_ext <<_ACEOF
6596 +/* end confdefs.h. */
6597 +$ac_includes_default
6598 + typedef long long ac__type_sizeof_;
6602 - FILE *f=fopen("conftestval", "w");
6604 - fprintf(f, "%d\n", sizeof(long long));
6606 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
6613 -if { (eval echo configure:1613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6615 - ac_cv_sizeof_long_long=`cat conftestval`
6617 +rm -f conftest.$ac_objext
6618 +if { (ac_try="$ac_compile"
6619 +case "(($ac_try" in
6620 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6621 + *) ac_try_echo=$ac_try;;
6623 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6624 + (eval "$ac_compile") 2>conftest.er1
6626 + grep -v '^ *+' conftest.er1 >conftest.err
6627 + rm -f conftest.er1
6628 + cat conftest.err >&5
6629 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 + (exit $ac_status); } && {
6631 + test -z "$ac_c_werror_flag" ||
6632 + test ! -s conftest.err
6633 + } && test -s conftest.$ac_objext; then
6634 + ac_hi=-1 ac_mid=-1
6636 + cat >conftest.$ac_ext <<_ACEOF
6639 +cat confdefs.h >>conftest.$ac_ext
6640 +cat >>conftest.$ac_ext <<_ACEOF
6641 +/* end confdefs.h. */
6642 +$ac_includes_default
6643 + typedef long long ac__type_sizeof_;
6647 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
6654 +rm -f conftest.$ac_objext
6655 +if { (ac_try="$ac_compile"
6656 +case "(($ac_try" in
6657 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6658 + *) ac_try_echo=$ac_try;;
6660 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661 + (eval "$ac_compile") 2>conftest.er1
6663 + grep -v '^ *+' conftest.er1 >conftest.err
6664 + rm -f conftest.er1
6665 + cat conftest.err >&5
6666 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 + (exit $ac_status); } && {
6668 + test -z "$ac_c_werror_flag" ||
6669 + test ! -s conftest.err
6670 + } && test -s conftest.$ac_objext; then
6671 + ac_lo=$ac_mid; break
6673 - echo "configure: failed program was:" >&5
6674 - cat conftest.$ac_ext >&5
6676 - ac_cv_sizeof_long_long=0
6677 + echo "$as_me: failed program was:" >&5
6678 +sed 's/^/| /' conftest.$ac_ext >&5
6680 + ac_hi=`expr '(' $ac_mid ')' - 1`
6681 + if test $ac_mid -le $ac_hi; then
6685 + ac_mid=`expr 2 '*' $ac_mid`
6689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6692 + echo "$as_me: failed program was:" >&5
6693 +sed 's/^/| /' conftest.$ac_ext >&5
6698 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 -echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
6701 -cat >> confdefs.h <<EOF
6703 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6704 +# Binary search between lo and hi bounds.
6705 +while test "x$ac_lo" != "x$ac_hi"; do
6706 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6707 + cat >conftest.$ac_ext <<_ACEOF
6710 +cat confdefs.h >>conftest.$ac_ext
6711 +cat >>conftest.$ac_ext <<_ACEOF
6712 +/* end confdefs.h. */
6713 +$ac_includes_default
6714 + typedef long long ac__type_sizeof_;
6718 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6725 +rm -f conftest.$ac_objext
6726 +if { (ac_try="$ac_compile"
6727 +case "(($ac_try" in
6728 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6729 + *) ac_try_echo=$ac_try;;
6731 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6732 + (eval "$ac_compile") 2>conftest.er1
6734 + grep -v '^ *+' conftest.er1 >conftest.err
6735 + rm -f conftest.er1
6736 + cat conftest.err >&5
6737 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 + (exit $ac_status); } && {
6739 + test -z "$ac_c_werror_flag" ||
6740 + test ! -s conftest.err
6741 + } && test -s conftest.$ac_objext; then
6744 + echo "$as_me: failed program was:" >&5
6745 +sed 's/^/| /' conftest.$ac_ext >&5
6747 + ac_lo=`expr '(' $ac_mid ')' + 1`
6750 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6753 +?*) ac_cv_sizeof_long_long=$ac_lo;;
6754 +'') if test "$ac_cv_type_long_long" = yes; then
6755 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
6756 +See \`config.log' for more details." >&5
6757 +echo "$as_me: error: cannot compute sizeof (long long)
6758 +See \`config.log' for more details." >&2;}
6759 + { (exit 77); exit 77; }; }
6761 + ac_cv_sizeof_long_long=0
6765 + cat >conftest.$ac_ext <<_ACEOF
6768 +cat confdefs.h >>conftest.$ac_ext
6769 +cat >>conftest.$ac_ext <<_ACEOF
6770 +/* end confdefs.h. */
6771 +$ac_includes_default
6772 + typedef long long ac__type_sizeof_;
6773 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
6774 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
6776 +#include <stdlib.h>
6781 + FILE *f = fopen ("conftest.val", "w");
6784 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
6786 + long int i = longval ();
6787 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
6789 + fprintf (f, "%ld\n", i);
6793 + unsigned long int i = ulongval ();
6794 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
6796 + fprintf (f, "%lu\n", i);
6798 + return ferror (f) || fclose (f) != 0;
6804 +rm -f conftest$ac_exeext
6805 +if { (ac_try="$ac_link"
6806 +case "(($ac_try" in
6807 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6808 + *) ac_try_echo=$ac_try;;
6810 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6811 + (eval "$ac_link") 2>&5
6813 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6815 + { (case "(($ac_try" in
6816 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6817 + *) ac_try_echo=$ac_try;;
6819 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6820 + (eval "$ac_try") 2>&5
6822 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 + (exit $ac_status); }; }; then
6824 + ac_cv_sizeof_long_long=`cat conftest.val`
6826 + echo "$as_me: program exited with status $ac_status" >&5
6827 +echo "$as_me: failed program was:" >&5
6828 +sed 's/^/| /' conftest.$ac_ext >&5
6830 +( exit $ac_status )
6831 +if test "$ac_cv_type_long_long" = yes; then
6832 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
6833 +See \`config.log' for more details." >&5
6834 +echo "$as_me: error: cannot compute sizeof (long long)
6835 +See \`config.log' for more details." >&2;}
6836 + { (exit 77); exit 77; }; }
6838 + ac_cv_sizeof_long_long=0
6841 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6845 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
6846 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
6850 +cat >>confdefs.h <<_ACEOF
6851 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
6857 -echo $ac_n "checking size of __int64""... $ac_c" 1>&6
6858 -echo "configure:1634: checking size of __int64" >&5
6859 -if eval "test \"`echo '$''{'ac_cv_sizeof___int64'+set}'`\" = set"; then
6860 - echo $ac_n "(cached) $ac_c" 1>&6
6861 +{ echo "$as_me:$LINENO: checking for __int64" >&5
6862 +echo $ECHO_N "checking for __int64... $ECHO_C" >&6; }
6863 +if test "${ac_cv_type___int64+set}" = set; then
6864 + echo $ECHO_N "(cached) $ECHO_C" >&6
6866 + cat >conftest.$ac_ext <<_ACEOF
6869 +cat confdefs.h >>conftest.$ac_ext
6870 +cat >>conftest.$ac_ext <<_ACEOF
6871 +/* end confdefs.h. */
6872 +$ac_includes_default
6873 +typedef __int64 ac__type_new_;
6877 +if ((ac__type_new_ *) 0)
6879 +if (sizeof (ac__type_new_))
6885 +rm -f conftest.$ac_objext
6886 +if { (ac_try="$ac_compile"
6887 +case "(($ac_try" in
6888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6889 + *) ac_try_echo=$ac_try;;
6891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6892 + (eval "$ac_compile") 2>conftest.er1
6894 + grep -v '^ *+' conftest.er1 >conftest.err
6895 + rm -f conftest.er1
6896 + cat conftest.err >&5
6897 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 + (exit $ac_status); } && {
6899 + test -z "$ac_c_werror_flag" ||
6900 + test ! -s conftest.err
6901 + } && test -s conftest.$ac_objext; then
6902 + ac_cv_type___int64=yes
6904 + echo "$as_me: failed program was:" >&5
6905 +sed 's/^/| /' conftest.$ac_ext >&5
6907 + ac_cv_type___int64=no
6910 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6912 +{ echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
6913 +echo "${ECHO_T}$ac_cv_type___int64" >&6; }
6915 +# The cast to long int works around a bug in the HP C Compiler
6916 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6917 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6918 +# This bug is HP SR number 8606223364.
6919 +{ echo "$as_me:$LINENO: checking size of __int64" >&5
6920 +echo $ECHO_N "checking size of __int64... $ECHO_C" >&6; }
6921 +if test "${ac_cv_sizeof___int64+set}" = set; then
6922 + echo $ECHO_N "(cached) $ECHO_C" >&6
6924 if test "$cross_compiling" = yes; then
6925 - ac_cv_sizeof___int64=0
6926 + # Depending upon the size, compute the lo and hi bounds.
6927 +cat >conftest.$ac_ext <<_ACEOF
6930 +cat confdefs.h >>conftest.$ac_ext
6931 +cat >>conftest.$ac_ext <<_ACEOF
6932 +/* end confdefs.h. */
6933 +$ac_includes_default
6934 + typedef __int64 ac__type_sizeof_;
6938 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
6945 +rm -f conftest.$ac_objext
6946 +if { (ac_try="$ac_compile"
6947 +case "(($ac_try" in
6948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949 + *) ac_try_echo=$ac_try;;
6951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952 + (eval "$ac_compile") 2>conftest.er1
6954 + grep -v '^ *+' conftest.er1 >conftest.err
6955 + rm -f conftest.er1
6956 + cat conftest.err >&5
6957 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 + (exit $ac_status); } && {
6959 + test -z "$ac_c_werror_flag" ||
6960 + test ! -s conftest.err
6961 + } && test -s conftest.$ac_objext; then
6964 + cat >conftest.$ac_ext <<_ACEOF
6967 +cat confdefs.h >>conftest.$ac_ext
6968 +cat >>conftest.$ac_ext <<_ACEOF
6969 +/* end confdefs.h. */
6970 +$ac_includes_default
6971 + typedef __int64 ac__type_sizeof_;
6975 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
6982 +rm -f conftest.$ac_objext
6983 +if { (ac_try="$ac_compile"
6984 +case "(($ac_try" in
6985 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6986 + *) ac_try_echo=$ac_try;;
6988 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6989 + (eval "$ac_compile") 2>conftest.er1
6991 + grep -v '^ *+' conftest.er1 >conftest.err
6992 + rm -f conftest.er1
6993 + cat conftest.err >&5
6994 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 + (exit $ac_status); } && {
6996 + test -z "$ac_c_werror_flag" ||
6997 + test ! -s conftest.err
6998 + } && test -s conftest.$ac_objext; then
6999 + ac_hi=$ac_mid; break
7001 - cat > conftest.$ac_ext <<EOF
7002 -#line 1642 "configure"
7003 -#include "confdefs.h"
7006 + echo "$as_me: failed program was:" >&5
7007 +sed 's/^/| /' conftest.$ac_ext >&5
7009 + ac_lo=`expr $ac_mid + 1`
7010 + if test $ac_lo -le $ac_mid; then
7014 + ac_mid=`expr 2 '*' $ac_mid + 1`
7017 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7020 + echo "$as_me: failed program was:" >&5
7021 +sed 's/^/| /' conftest.$ac_ext >&5
7023 + cat >conftest.$ac_ext <<_ACEOF
7026 +cat confdefs.h >>conftest.$ac_ext
7027 +cat >>conftest.$ac_ext <<_ACEOF
7028 +/* end confdefs.h. */
7029 +$ac_includes_default
7030 + typedef __int64 ac__type_sizeof_;
7034 - FILE *f=fopen("conftestval", "w");
7036 - fprintf(f, "%d\n", sizeof(__int64));
7038 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
7045 -if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7047 - ac_cv_sizeof___int64=`cat conftestval`
7049 +rm -f conftest.$ac_objext
7050 +if { (ac_try="$ac_compile"
7051 +case "(($ac_try" in
7052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7053 + *) ac_try_echo=$ac_try;;
7055 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7056 + (eval "$ac_compile") 2>conftest.er1
7058 + grep -v '^ *+' conftest.er1 >conftest.err
7059 + rm -f conftest.er1
7060 + cat conftest.err >&5
7061 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 + (exit $ac_status); } && {
7063 + test -z "$ac_c_werror_flag" ||
7064 + test ! -s conftest.err
7065 + } && test -s conftest.$ac_objext; then
7066 + ac_hi=-1 ac_mid=-1
7068 + cat >conftest.$ac_ext <<_ACEOF
7071 +cat confdefs.h >>conftest.$ac_ext
7072 +cat >>conftest.$ac_ext <<_ACEOF
7073 +/* end confdefs.h. */
7074 +$ac_includes_default
7075 + typedef __int64 ac__type_sizeof_;
7079 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
7086 +rm -f conftest.$ac_objext
7087 +if { (ac_try="$ac_compile"
7088 +case "(($ac_try" in
7089 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7090 + *) ac_try_echo=$ac_try;;
7092 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7093 + (eval "$ac_compile") 2>conftest.er1
7095 + grep -v '^ *+' conftest.er1 >conftest.err
7096 + rm -f conftest.er1
7097 + cat conftest.err >&5
7098 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 + (exit $ac_status); } && {
7100 + test -z "$ac_c_werror_flag" ||
7101 + test ! -s conftest.err
7102 + } && test -s conftest.$ac_objext; then
7103 + ac_lo=$ac_mid; break
7105 - echo "configure: failed program was:" >&5
7106 - cat conftest.$ac_ext >&5
7108 - ac_cv_sizeof___int64=0
7109 + echo "$as_me: failed program was:" >&5
7110 +sed 's/^/| /' conftest.$ac_ext >&5
7112 + ac_hi=`expr '(' $ac_mid ')' - 1`
7113 + if test $ac_mid -le $ac_hi; then
7117 + ac_mid=`expr 2 '*' $ac_mid`
7121 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7124 + echo "$as_me: failed program was:" >&5
7125 +sed 's/^/| /' conftest.$ac_ext >&5
7130 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7132 -echo "$ac_t""$ac_cv_sizeof___int64" 1>&6
7133 -cat >> confdefs.h <<EOF
7135 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7136 +# Binary search between lo and hi bounds.
7137 +while test "x$ac_lo" != "x$ac_hi"; do
7138 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7139 + cat >conftest.$ac_ext <<_ACEOF
7142 +cat confdefs.h >>conftest.$ac_ext
7143 +cat >>conftest.$ac_ext <<_ACEOF
7144 +/* end confdefs.h. */
7145 +$ac_includes_default
7146 + typedef __int64 ac__type_sizeof_;
7150 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
7157 +rm -f conftest.$ac_objext
7158 +if { (ac_try="$ac_compile"
7159 +case "(($ac_try" in
7160 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7161 + *) ac_try_echo=$ac_try;;
7163 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7164 + (eval "$ac_compile") 2>conftest.er1
7166 + grep -v '^ *+' conftest.er1 >conftest.err
7167 + rm -f conftest.er1
7168 + cat conftest.err >&5
7169 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 + (exit $ac_status); } && {
7171 + test -z "$ac_c_werror_flag" ||
7172 + test ! -s conftest.err
7173 + } && test -s conftest.$ac_objext; then
7176 + echo "$as_me: failed program was:" >&5
7177 +sed 's/^/| /' conftest.$ac_ext >&5
7179 + ac_lo=`expr '(' $ac_mid ')' + 1`
7182 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7185 +?*) ac_cv_sizeof___int64=$ac_lo;;
7186 +'') if test "$ac_cv_type___int64" = yes; then
7187 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
7188 +See \`config.log' for more details." >&5
7189 +echo "$as_me: error: cannot compute sizeof (__int64)
7190 +See \`config.log' for more details." >&2;}
7191 + { (exit 77); exit 77; }; }
7193 + ac_cv_sizeof___int64=0
7197 + cat >conftest.$ac_ext <<_ACEOF
7200 +cat confdefs.h >>conftest.$ac_ext
7201 +cat >>conftest.$ac_ext <<_ACEOF
7202 +/* end confdefs.h. */
7203 +$ac_includes_default
7204 + typedef __int64 ac__type_sizeof_;
7205 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
7206 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
7208 +#include <stdlib.h>
7213 + FILE *f = fopen ("conftest.val", "w");
7216 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
7218 + long int i = longval ();
7219 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
7221 + fprintf (f, "%ld\n", i);
7225 + unsigned long int i = ulongval ();
7226 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
7228 + fprintf (f, "%lu\n", i);
7230 + return ferror (f) || fclose (f) != 0;
7236 +rm -f conftest$ac_exeext
7237 +if { (ac_try="$ac_link"
7238 +case "(($ac_try" in
7239 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7240 + *) ac_try_echo=$ac_try;;
7242 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7243 + (eval "$ac_link") 2>&5
7245 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7247 + { (case "(($ac_try" in
7248 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7249 + *) ac_try_echo=$ac_try;;
7251 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7252 + (eval "$ac_try") 2>&5
7254 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 + (exit $ac_status); }; }; then
7256 + ac_cv_sizeof___int64=`cat conftest.val`
7258 + echo "$as_me: program exited with status $ac_status" >&5
7259 +echo "$as_me: failed program was:" >&5
7260 +sed 's/^/| /' conftest.$ac_ext >&5
7262 +( exit $ac_status )
7263 +if test "$ac_cv_type___int64" = yes; then
7264 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
7265 +See \`config.log' for more details." >&5
7266 +echo "$as_me: error: cannot compute sizeof (__int64)
7267 +See \`config.log' for more details." >&2;}
7268 + { (exit 77); exit 77; }; }
7270 + ac_cv_sizeof___int64=0
7273 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7277 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
7278 +echo "${ECHO_T}$ac_cv_sizeof___int64" >&6; }
7282 +cat >>confdefs.h <<_ACEOF
7283 #define SIZEOF___INT64 $ac_cv_sizeof___int64
7289 @@ -1674,362 +6350,652 @@ if test "$ac_cv_header_elf_h" = yes \
7291 # Slowaris declares Elf32_Dyn in <link.h>.
7292 # QNX declares Elf32_Dyn in <sys/link.h>.
7293 - echo $ac_n "checking for struct Elf32_Dyn""... $ac_c" 1>&6
7294 -echo "configure:1679: checking for struct Elf32_Dyn" >&5
7295 -if eval "test \"`echo '$''{'libelf_cv_struct_elf32_dyn'+set}'`\" = set"; then
7296 - echo $ac_n "(cached) $ac_c" 1>&6
7297 + { echo "$as_me:$LINENO: checking for struct Elf32_Dyn" >&5
7298 +echo $ECHO_N "checking for struct Elf32_Dyn... $ECHO_C" >&6; }
7299 +if test "${libelf_cv_struct_elf32_dyn+set}" = set; then
7300 + echo $ECHO_N "(cached) $ECHO_C" >&6
7303 - cat > conftest.$ac_ext <<EOF
7304 -#line 1685 "configure"
7305 -#include "confdefs.h"
7307 + cat >conftest.$ac_ext <<_ACEOF
7310 +cat confdefs.h >>conftest.$ac_ext
7311 +cat >>conftest.$ac_ext <<_ACEOF
7312 +/* end confdefs.h. */
7313 #include __LIBELF_HEADER_ELF_H
7321 -if { (eval echo configure:1692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7327 +rm -f conftest.$ac_objext
7328 +if { (ac_try="$ac_compile"
7329 +case "(($ac_try" in
7330 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7331 + *) ac_try_echo=$ac_try;;
7333 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7334 + (eval "$ac_compile") 2>conftest.er1
7336 + grep -v '^ *+' conftest.er1 >conftest.err
7337 + rm -f conftest.er1
7338 + cat conftest.err >&5
7339 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 + (exit $ac_status); } && {
7341 + test -z "$ac_c_werror_flag" ||
7342 + test ! -s conftest.err
7343 + } && test -s conftest.$ac_objext; then
7344 libelf_cv_struct_elf32_dyn=yes
7346 - echo "configure: failed program was:" >&5
7347 - cat conftest.$ac_ext >&5
7349 - cat > conftest.$ac_ext <<EOF
7350 -#line 1700 "configure"
7351 -#include "confdefs.h"
7352 + echo "$as_me: failed program was:" >&5
7353 +sed 's/^/| /' conftest.$ac_ext >&5
7355 + cat >conftest.$ac_ext <<_ACEOF
7358 +cat confdefs.h >>conftest.$ac_ext
7359 +cat >>conftest.$ac_ext <<_ACEOF
7360 +/* end confdefs.h. */
7369 -if { (eval echo configure:1707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7375 +rm -f conftest.$ac_objext
7376 +if { (ac_try="$ac_compile"
7377 +case "(($ac_try" in
7378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7379 + *) ac_try_echo=$ac_try;;
7381 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7382 + (eval "$ac_compile") 2>conftest.er1
7384 + grep -v '^ *+' conftest.er1 >conftest.err
7385 + rm -f conftest.er1
7386 + cat conftest.err >&5
7387 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 + (exit $ac_status); } && {
7389 + test -z "$ac_c_werror_flag" ||
7390 + test ! -s conftest.err
7391 + } && test -s conftest.$ac_objext; then
7392 libelf_cv_struct_elf32_dyn=link.h
7394 - echo "configure: failed program was:" >&5
7395 - cat conftest.$ac_ext >&5
7397 - cat > conftest.$ac_ext <<EOF
7398 -#line 1715 "configure"
7399 -#include "confdefs.h"
7400 + echo "$as_me: failed program was:" >&5
7401 +sed 's/^/| /' conftest.$ac_ext >&5
7403 + cat >conftest.$ac_ext <<_ACEOF
7406 +cat confdefs.h >>conftest.$ac_ext
7407 +cat >>conftest.$ac_ext <<_ACEOF
7408 +/* end confdefs.h. */
7409 #include <sys/link.h>
7417 -if { (eval echo configure:1722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7423 +rm -f conftest.$ac_objext
7424 +if { (ac_try="$ac_compile"
7425 +case "(($ac_try" in
7426 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7427 + *) ac_try_echo=$ac_try;;
7429 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7430 + (eval "$ac_compile") 2>conftest.er1
7432 + grep -v '^ *+' conftest.er1 >conftest.err
7433 + rm -f conftest.er1
7434 + cat conftest.err >&5
7435 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 + (exit $ac_status); } && {
7437 + test -z "$ac_c_werror_flag" ||
7438 + test ! -s conftest.err
7439 + } && test -s conftest.$ac_objext; then
7440 libelf_cv_struct_elf32_dyn=sys/link.h
7442 - echo "configure: failed program was:" >&5
7443 - cat conftest.$ac_ext >&5
7445 - libelf_cv_struct_elf32_dyn=no
7448 + echo "$as_me: failed program was:" >&5
7449 +sed 's/^/| /' conftest.$ac_ext >&5
7451 + libelf_cv_struct_elf32_dyn=no
7455 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7462 -echo "$ac_t""$libelf_cv_struct_elf32_dyn" 1>&6
7463 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 +{ echo "$as_me:$LINENO: result: $libelf_cv_struct_elf32_dyn" >&5
7466 +echo "${ECHO_T}$libelf_cv_struct_elf32_dyn" >&6; }
7467 if test "$libelf_cv_struct_elf32_dyn" = link.h; then
7468 - cat >> confdefs.h <<\EOF
7469 + cat >>confdefs.h <<\_ACEOF
7470 #define __LIBELF_NEED_LINK_H 1
7474 elif test "$libelf_cv_struct_elf32_dyn" = sys/link.h; then
7475 - cat >> confdefs.h <<\EOF
7476 + cat >>confdefs.h <<\_ACEOF
7477 #define __LIBELF_NEED_SYS_LINK_H 1
7481 elif test "$libelf_cv_struct_elf32_dyn" = no; then
7482 - { echo "configure: error: no declaration for Elf32_Dyn" 1>&2; exit 1; }
7483 + { { echo "$as_me:$LINENO: error: no declaration for Elf32_Dyn" >&5
7484 +echo "$as_me: error: no declaration for Elf32_Dyn" >&2;}
7485 + { (exit 1); exit 1; }; }
7488 # Linux declares struct nlist in <elf.h>.
7489 - echo $ac_n "checking for struct nlist in elf.h""... $ac_c" 1>&6
7490 -echo "configure:1755: checking for struct nlist in elf.h" >&5
7491 -if eval "test \"`echo '$''{'libelf_cv_struct_nlist'+set}'`\" = set"; then
7492 - echo $ac_n "(cached) $ac_c" 1>&6
7493 + { echo "$as_me:$LINENO: checking for struct nlist in elf.h" >&5
7494 +echo $ECHO_N "checking for struct nlist in elf.h... $ECHO_C" >&6; }
7495 +if test "${libelf_cv_struct_nlist+set}" = set; then
7496 + echo $ECHO_N "(cached) $ECHO_C" >&6
7499 - cat > conftest.$ac_ext <<EOF
7500 -#line 1761 "configure"
7501 -#include "confdefs.h"
7503 + cat >conftest.$ac_ext <<_ACEOF
7506 +cat confdefs.h >>conftest.$ac_ext
7507 +cat >>conftest.$ac_ext <<_ACEOF
7508 +/* end confdefs.h. */
7509 #include __LIBELF_HEADER_ELF_H
7517 -if { (eval echo configure:1768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7523 +rm -f conftest.$ac_objext
7524 +if { (ac_try="$ac_compile"
7525 +case "(($ac_try" in
7526 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7527 + *) ac_try_echo=$ac_try;;
7529 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7530 + (eval "$ac_compile") 2>conftest.er1
7532 + grep -v '^ *+' conftest.er1 >conftest.err
7533 + rm -f conftest.er1
7534 + cat conftest.err >&5
7535 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 + (exit $ac_status); } && {
7537 + test -z "$ac_c_werror_flag" ||
7538 + test ! -s conftest.err
7539 + } && test -s conftest.$ac_objext; then
7540 libelf_cv_struct_nlist=yes
7542 - echo "configure: failed program was:" >&5
7543 - cat conftest.$ac_ext >&5
7545 - libelf_cv_struct_nlist=no
7548 + echo "$as_me: failed program was:" >&5
7549 +sed 's/^/| /' conftest.$ac_ext >&5
7551 + libelf_cv_struct_nlist=no
7554 -echo "$ac_t""$libelf_cv_struct_nlist" 1>&6
7555 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7557 +{ echo "$as_me:$LINENO: result: $libelf_cv_struct_nlist" >&5
7558 +echo "${ECHO_T}$libelf_cv_struct_nlist" >&6; }
7559 if test "$libelf_cv_struct_nlist" = yes; then
7560 - cat >> confdefs.h <<\EOF
7561 + cat >>confdefs.h <<\_ACEOF
7562 #define HAVE_STRUCT_NLIST_DECLARATION 1
7568 # Check for 64-bit data types.
7569 - echo $ac_n "checking for struct Elf64_Ehdr""... $ac_c" 1>&6
7570 -echo "configure:1790: checking for struct Elf64_Ehdr" >&5
7571 -if eval "test \"`echo '$''{'libelf_cv_struct_elf64_ehdr'+set}'`\" = set"; then
7572 - echo $ac_n "(cached) $ac_c" 1>&6
7573 + { echo "$as_me:$LINENO: checking for struct Elf64_Ehdr" >&5
7574 +echo $ECHO_N "checking for struct Elf64_Ehdr... $ECHO_C" >&6; }
7575 +if test "${libelf_cv_struct_elf64_ehdr+set}" = set; then
7576 + echo $ECHO_N "(cached) $ECHO_C" >&6
7578 - cat > conftest.$ac_ext <<EOF
7579 -#line 1795 "configure"
7580 -#include "confdefs.h"
7581 + cat >conftest.$ac_ext <<_ACEOF
7584 +cat confdefs.h >>conftest.$ac_ext
7585 +cat >>conftest.$ac_ext <<_ACEOF
7586 +/* end confdefs.h. */
7587 #include __LIBELF_HEADER_ELF_H
7595 -if { (eval echo configure:1802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7601 +rm -f conftest.$ac_objext
7602 +if { (ac_try="$ac_compile"
7603 +case "(($ac_try" in
7604 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7605 + *) ac_try_echo=$ac_try;;
7607 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7608 + (eval "$ac_compile") 2>conftest.er1
7610 + grep -v '^ *+' conftest.er1 >conftest.err
7611 + rm -f conftest.er1
7612 + cat conftest.err >&5
7613 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 + (exit $ac_status); } && {
7615 + test -z "$ac_c_werror_flag" ||
7616 + test ! -s conftest.err
7617 + } && test -s conftest.$ac_objext; then
7618 libelf_cv_struct_elf64_ehdr=yes
7620 - echo "configure: failed program was:" >&5
7621 - cat conftest.$ac_ext >&5
7623 - libelf_cv_struct_elf64_ehdr=no
7626 + echo "$as_me: failed program was:" >&5
7627 +sed 's/^/| /' conftest.$ac_ext >&5
7629 + libelf_cv_struct_elf64_ehdr=no
7632 -echo "$ac_t""$libelf_cv_struct_elf64_ehdr" 1>&6
7633 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7635 +{ echo "$as_me:$LINENO: result: $libelf_cv_struct_elf64_ehdr" >&5
7636 +echo "${ECHO_T}$libelf_cv_struct_elf64_ehdr" >&6; }
7638 # Linux lacks typedefs for scalar ELF64_* types.
7639 - echo $ac_n "checking for Elf64_Addr""... $ac_c" 1>&6
7640 -echo "configure:1818: checking for Elf64_Addr" >&5
7641 -if eval "test \"`echo '$''{'libelf_cv_type_elf64_addr'+set}'`\" = set"; then
7642 - echo $ac_n "(cached) $ac_c" 1>&6
7643 + { echo "$as_me:$LINENO: checking for Elf64_Addr" >&5
7644 +echo $ECHO_N "checking for Elf64_Addr... $ECHO_C" >&6; }
7645 +if test "${libelf_cv_type_elf64_addr+set}" = set; then
7646 + echo $ECHO_N "(cached) $ECHO_C" >&6
7648 - cat > conftest.$ac_ext <<EOF
7649 -#line 1823 "configure"
7650 -#include "confdefs.h"
7651 + cat >conftest.$ac_ext <<_ACEOF
7654 +cat confdefs.h >>conftest.$ac_ext
7655 +cat >>conftest.$ac_ext <<_ACEOF
7656 +/* end confdefs.h. */
7657 #include __LIBELF_HEADER_ELF_H
7665 -if { (eval echo configure:1830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7671 +rm -f conftest.$ac_objext
7672 +if { (ac_try="$ac_compile"
7673 +case "(($ac_try" in
7674 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7675 + *) ac_try_echo=$ac_try;;
7677 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7678 + (eval "$ac_compile") 2>conftest.er1
7680 + grep -v '^ *+' conftest.er1 >conftest.err
7681 + rm -f conftest.er1
7682 + cat conftest.err >&5
7683 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 + (exit $ac_status); } && {
7685 + test -z "$ac_c_werror_flag" ||
7686 + test ! -s conftest.err
7687 + } && test -s conftest.$ac_objext; then
7688 libelf_cv_type_elf64_addr=yes
7690 - echo "configure: failed program was:" >&5
7691 - cat conftest.$ac_ext >&5
7693 - libelf_cv_type_elf64_addr=no
7696 + echo "$as_me: failed program was:" >&5
7697 +sed 's/^/| /' conftest.$ac_ext >&5
7699 + libelf_cv_type_elf64_addr=no
7702 -echo "$ac_t""$libelf_cv_type_elf64_addr" 1>&6
7703 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7705 +{ echo "$as_me:$LINENO: result: $libelf_cv_type_elf64_addr" >&5
7706 +echo "${ECHO_T}$libelf_cv_type_elf64_addr" >&6; }
7708 # IRIX' struct Elf64_Rel is slightly different. Ugh.
7709 - echo $ac_n "checking for struct Elf64_Rel""... $ac_c" 1>&6
7710 -echo "configure:1846: checking for struct Elf64_Rel" >&5
7711 -if eval "test \"`echo '$''{'libelf_cv_struct_elf64_rel'+set}'`\" = set"; then
7712 - echo $ac_n "(cached) $ac_c" 1>&6
7713 + { echo "$as_me:$LINENO: checking for struct Elf64_Rel" >&5
7714 +echo $ECHO_N "checking for struct Elf64_Rel... $ECHO_C" >&6; }
7715 +if test "${libelf_cv_struct_elf64_rel+set}" = set; then
7716 + echo $ECHO_N "(cached) $ECHO_C" >&6
7718 - cat > conftest.$ac_ext <<EOF
7719 -#line 1851 "configure"
7720 -#include "confdefs.h"
7721 + cat >conftest.$ac_ext <<_ACEOF
7724 +cat confdefs.h >>conftest.$ac_ext
7725 +cat >>conftest.$ac_ext <<_ACEOF
7726 +/* end confdefs.h. */
7727 #include __LIBELF_HEADER_ELF_H
7732 Elf64_Rel x; x.r_info = 1
7735 -if { (eval echo configure:1858: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7741 +rm -f conftest.$ac_objext
7742 +if { (ac_try="$ac_compile"
7743 +case "(($ac_try" in
7744 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7745 + *) ac_try_echo=$ac_try;;
7747 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7748 + (eval "$ac_compile") 2>conftest.er1
7750 + grep -v '^ *+' conftest.er1 >conftest.err
7751 + rm -f conftest.er1
7752 + cat conftest.err >&5
7753 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 + (exit $ac_status); } && {
7755 + test -z "$ac_c_werror_flag" ||
7756 + test ! -s conftest.err
7757 + } && test -s conftest.$ac_objext; then
7758 libelf_cv_struct_elf64_rel=yes
7760 - echo "configure: failed program was:" >&5
7761 - cat conftest.$ac_ext >&5
7763 - cat > conftest.$ac_ext <<EOF
7764 -#line 1866 "configure"
7765 -#include "confdefs.h"
7766 + echo "$as_me: failed program was:" >&5
7767 +sed 's/^/| /' conftest.$ac_ext >&5
7769 + cat >conftest.$ac_ext <<_ACEOF
7772 +cat confdefs.h >>conftest.$ac_ext
7773 +cat >>conftest.$ac_ext <<_ACEOF
7774 +/* end confdefs.h. */
7775 #include __LIBELF_HEADER_ELF_H
7780 Elf64_Rel x; x.r_sym = 1
7783 -if { (eval echo configure:1873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7789 +rm -f conftest.$ac_objext
7790 +if { (ac_try="$ac_compile"
7791 +case "(($ac_try" in
7792 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7793 + *) ac_try_echo=$ac_try;;
7795 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7796 + (eval "$ac_compile") 2>conftest.er1
7798 + grep -v '^ *+' conftest.er1 >conftest.err
7799 + rm -f conftest.er1
7800 + cat conftest.err >&5
7801 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 + (exit $ac_status); } && {
7803 + test -z "$ac_c_werror_flag" ||
7804 + test ! -s conftest.err
7805 + } && test -s conftest.$ac_objext; then
7806 libelf_cv_struct_elf64_rel=irix
7808 - echo "configure: failed program was:" >&5
7809 - cat conftest.$ac_ext >&5
7811 - libelf_cv_struct_elf64_rel=no
7814 + echo "$as_me: failed program was:" >&5
7815 +sed 's/^/| /' conftest.$ac_ext >&5
7817 + libelf_cv_struct_elf64_rel=no
7821 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7824 -echo "$ac_t""$libelf_cv_struct_elf64_rel" 1>&6
7825 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7827 +{ echo "$as_me:$LINENO: result: $libelf_cv_struct_elf64_rel" >&5
7828 +echo "${ECHO_T}$libelf_cv_struct_elf64_rel" >&6; }
7830 + { echo "$as_me:$LINENO: checking for 64bit support" >&5
7831 +echo $ECHO_N "checking for 64bit support... $ECHO_C" >&6; }
7832 +if test "${libelf_64bit+set}" = set; then
7833 + echo $ECHO_N "(cached) $ECHO_C" >&6
7835 case "$libelf_cv_struct_elf64_ehdr:\
7836 $libelf_cv_type_elf64_addr:\
7837 $libelf_cv_struct_elf64_rel" in
7841 - cat >> confdefs.h <<\EOF
7842 -#define __LIBELF64_IRIX 1
7845 - libelf_64bit=yes;;
7846 + libelf_64bit=irix;;
7848 - cat >> confdefs.h <<\EOF
7849 -#define __LIBELF64_LINUX 1
7852 - libelf_64bit=yes;;
7853 + libelf_64bit=linux;;
7859 +{ echo "$as_me:$LINENO: result: $libelf_64bit" >&5
7860 +echo "${ECHO_T}$libelf_64bit" >&6; }
7861 + case $libelf_64bit in
7863 + linux) cat >>confdefs.h <<\_ACEOF
7864 +#define __LIBELF64_LINUX 1
7867 + irix) cat >>confdefs.h <<\_ACEOF
7868 +#define __LIBELF64_IRIX 1
7873 # Check for symbol versioning definitions
7874 - echo $ac_n "checking for Elf32_Verdef""... $ac_c" 1>&6
7875 -echo "configure:1912: checking for Elf32_Verdef" >&5
7876 -if eval "test \"`echo '$''{'libelf_cv_verdef32'+set}'`\" = set"; then
7877 - echo $ac_n "(cached) $ac_c" 1>&6
7878 + { echo "$as_me:$LINENO: checking for Elf32_Verdef" >&5
7879 +echo $ECHO_N "checking for Elf32_Verdef... $ECHO_C" >&6; }
7880 +if test "${libelf_cv_verdef32+set}" = set; then
7881 + echo $ECHO_N "(cached) $ECHO_C" >&6
7883 - cat > conftest.$ac_ext <<EOF
7884 -#line 1917 "configure"
7885 -#include "confdefs.h"
7886 + cat >conftest.$ac_ext <<_ACEOF
7889 +cat confdefs.h >>conftest.$ac_ext
7890 +cat >>conftest.$ac_ext <<_ACEOF
7891 +/* end confdefs.h. */
7892 #include __LIBELF_HEADER_ELF_H
7893 #if __LIBELF_NEED_LINK_H
7894 #include <link.h> /* Solaris wants this */
7908 -if { (eval echo configure:1932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7914 +rm -f conftest.$ac_objext
7915 +if { (ac_try="$ac_compile"
7916 +case "(($ac_try" in
7917 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7918 + *) ac_try_echo=$ac_try;;
7920 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7921 + (eval "$ac_compile") 2>conftest.er1
7923 + grep -v '^ *+' conftest.er1 >conftest.err
7924 + rm -f conftest.er1
7925 + cat conftest.err >&5
7926 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
7927 + (exit $ac_status); } && {
7928 + test -z "$ac_c_werror_flag" ||
7929 + test ! -s conftest.err
7930 + } && test -s conftest.$ac_objext; then
7931 libelf_cv_verdef32=yes
7933 - echo "configure: failed program was:" >&5
7934 - cat conftest.$ac_ext >&5
7936 - libelf_cv_verdef32=no
7939 + echo "$as_me: failed program was:" >&5
7940 +sed 's/^/| /' conftest.$ac_ext >&5
7942 + libelf_cv_verdef32=no
7945 -echo "$ac_t""$libelf_cv_verdef32" 1>&6
7946 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7948 +{ echo "$as_me:$LINENO: result: $libelf_cv_verdef32" >&5
7949 +echo "${ECHO_T}$libelf_cv_verdef32" >&6; }
7951 - echo $ac_n "checking for Elf64_Verdef""... $ac_c" 1>&6
7952 -echo "configure:1947: checking for Elf64_Verdef" >&5
7953 -if eval "test \"`echo '$''{'libelf_cv_verdef64'+set}'`\" = set"; then
7954 - echo $ac_n "(cached) $ac_c" 1>&6
7955 + { echo "$as_me:$LINENO: checking for Elf64_Verdef" >&5
7956 +echo $ECHO_N "checking for Elf64_Verdef... $ECHO_C" >&6; }
7957 +if test "${libelf_cv_verdef64+set}" = set; then
7958 + echo $ECHO_N "(cached) $ECHO_C" >&6
7960 - cat > conftest.$ac_ext <<EOF
7961 -#line 1952 "configure"
7962 -#include "confdefs.h"
7963 + cat >conftest.$ac_ext <<_ACEOF
7966 +cat confdefs.h >>conftest.$ac_ext
7967 +cat >>conftest.$ac_ext <<_ACEOF
7968 +/* end confdefs.h. */
7969 #include __LIBELF_HEADER_ELF_H
7970 #if __LIBELF_NEED_LINK_H
7971 #include <link.h> /* Solaris wants this */
7985 -if { (eval echo configure:1967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7991 +rm -f conftest.$ac_objext
7992 +if { (ac_try="$ac_compile"
7993 +case "(($ac_try" in
7994 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7995 + *) ac_try_echo=$ac_try;;
7997 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7998 + (eval "$ac_compile") 2>conftest.er1
8000 + grep -v '^ *+' conftest.er1 >conftest.err
8001 + rm -f conftest.er1
8002 + cat conftest.err >&5
8003 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 + (exit $ac_status); } && {
8005 + test -z "$ac_c_werror_flag" ||
8006 + test ! -s conftest.err
8007 + } && test -s conftest.$ac_objext; then
8008 libelf_cv_verdef64=yes
8010 - echo "configure: failed program was:" >&5
8011 - cat conftest.$ac_ext >&5
8013 - libelf_cv_verdef64=no
8016 + echo "$as_me: failed program was:" >&5
8017 +sed 's/^/| /' conftest.$ac_ext >&5
8019 + libelf_cv_verdef64=no
8022 -echo "$ac_t""$libelf_cv_verdef64" 1>&6
8023 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8025 +{ echo "$as_me:$LINENO: result: $libelf_cv_verdef64" >&5
8026 +echo "${ECHO_T}$libelf_cv_verdef64" >&6; }
8028 - echo $ac_n "checking for SHT_SUNW_verdef""... $ac_c" 1>&6
8029 -echo "configure:1982: checking for SHT_SUNW_verdef" >&5
8030 -if eval "test \"`echo '$''{'libelf_cv_sun_verdef'+set}'`\" = set"; then
8031 - echo $ac_n "(cached) $ac_c" 1>&6
8032 + { echo "$as_me:$LINENO: checking for SHT_SUNW_verdef" >&5
8033 +echo $ECHO_N "checking for SHT_SUNW_verdef... $ECHO_C" >&6; }
8034 +if test "${libelf_cv_sun_verdef+set}" = set; then
8035 + echo $ECHO_N "(cached) $ECHO_C" >&6
8037 - cat > conftest.$ac_ext <<EOF
8038 -#line 1987 "configure"
8039 -#include "confdefs.h"
8040 + cat >conftest.$ac_ext <<_ACEOF
8043 +cat confdefs.h >>conftest.$ac_ext
8044 +cat >>conftest.$ac_ext <<_ACEOF
8045 +/* end confdefs.h. */
8046 #include __LIBELF_HEADER_ELF_H
8051 Elf32_Word x = SHT_SUNW_verdef + SHT_SUNW_verneed + SHT_SUNW_versym
8054 -if { (eval echo configure:1994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8060 +rm -f conftest.$ac_objext
8061 +if { (ac_try="$ac_compile"
8062 +case "(($ac_try" in
8063 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8064 + *) ac_try_echo=$ac_try;;
8066 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8067 + (eval "$ac_compile") 2>conftest.er1
8069 + grep -v '^ *+' conftest.er1 >conftest.err
8070 + rm -f conftest.er1
8071 + cat conftest.err >&5
8072 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 + (exit $ac_status); } && {
8074 + test -z "$ac_c_werror_flag" ||
8075 + test ! -s conftest.err
8076 + } && test -s conftest.$ac_objext; then
8077 libelf_cv_sun_verdef=yes
8079 - echo "configure: failed program was:" >&5
8080 - cat conftest.$ac_ext >&5
8082 - libelf_cv_sun_verdef=no
8085 + echo "$as_me: failed program was:" >&5
8086 +sed 's/^/| /' conftest.$ac_ext >&5
8088 + libelf_cv_sun_verdef=no
8091 -echo "$ac_t""$libelf_cv_sun_verdef" 1>&6
8092 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8094 +{ echo "$as_me:$LINENO: result: $libelf_cv_sun_verdef" >&5
8095 +echo "${ECHO_T}$libelf_cv_sun_verdef" >&6; }
8097 - echo $ac_n "checking for SHT_GNU_verdef""... $ac_c" 1>&6
8098 -echo "configure:2009: checking for SHT_GNU_verdef" >&5
8099 -if eval "test \"`echo '$''{'libelf_cv_gnu_verdef'+set}'`\" = set"; then
8100 - echo $ac_n "(cached) $ac_c" 1>&6
8101 + { echo "$as_me:$LINENO: checking for SHT_GNU_verdef" >&5
8102 +echo $ECHO_N "checking for SHT_GNU_verdef... $ECHO_C" >&6; }
8103 +if test "${libelf_cv_gnu_verdef+set}" = set; then
8104 + echo $ECHO_N "(cached) $ECHO_C" >&6
8106 - cat > conftest.$ac_ext <<EOF
8107 -#line 2014 "configure"
8108 -#include "confdefs.h"
8109 + cat >conftest.$ac_ext <<_ACEOF
8112 +cat confdefs.h >>conftest.$ac_ext
8113 +cat >>conftest.$ac_ext <<_ACEOF
8114 +/* end confdefs.h. */
8115 #include __LIBELF_HEADER_ELF_H
8120 Elf32_Word x = SHT_GNU_verdef + SHT_GNU_verneed + SHT_GNU_versym
8123 -if { (eval echo configure:2021: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8129 +rm -f conftest.$ac_objext
8130 +if { (ac_try="$ac_compile"
8131 +case "(($ac_try" in
8132 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8133 + *) ac_try_echo=$ac_try;;
8135 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8136 + (eval "$ac_compile") 2>conftest.er1
8138 + grep -v '^ *+' conftest.er1 >conftest.err
8139 + rm -f conftest.er1
8140 + cat conftest.err >&5
8141 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142 + (exit $ac_status); } && {
8143 + test -z "$ac_c_werror_flag" ||
8144 + test ! -s conftest.err
8145 + } && test -s conftest.$ac_objext; then
8146 libelf_cv_gnu_verdef=yes
8148 - echo "configure: failed program was:" >&5
8149 - cat conftest.$ac_ext >&5
8151 - libelf_cv_gnu_verdef=no
8154 + echo "$as_me: failed program was:" >&5
8155 +sed 's/^/| /' conftest.$ac_ext >&5
8157 + libelf_cv_gnu_verdef=no
8160 -echo "$ac_t""$libelf_cv_gnu_verdef" 1>&6
8161 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8163 +{ echo "$as_me:$LINENO: result: $libelf_cv_gnu_verdef" >&5
8164 +echo "${ECHO_T}$libelf_cv_gnu_verdef" >&6; }
8166 # lib/elf_repl.h supports 64-bit
8168 @@ -2041,12 +7007,12 @@ else
8169 libelf_cv_gnu_verdef=yes
8172 -echo $ac_n "checking for 64-bit integer""... $ac_c" 1>&6
8173 -echo "configure:2046: checking for 64-bit integer" >&5
8174 -if eval "test \"`echo '$''{'libelf_cv_int64'+set}'`\" = set"; then
8175 - echo $ac_n "(cached) $ac_c" 1>&6
8176 +{ echo "$as_me:$LINENO: checking for 64-bit integer" >&5
8177 +echo $ECHO_N "checking for 64-bit integer... $ECHO_C" >&6; }
8178 +if test "${libelf_cv_int64+set}" = set; then
8179 + echo $ECHO_N "(cached) $ECHO_C" >&6
8183 if test "$ac_cv_sizeof_long" = 8; then
8184 libelf_cv_int64='long'
8185 elif test "$ac_cv_sizeof___int64" = 8; then
8186 @@ -2057,27 +7023,27 @@ else
8191 -echo "$ac_t""$libelf_cv_int64" 1>&6
8192 +{ echo "$as_me:$LINENO: result: $libelf_cv_int64" >&5
8193 +echo "${ECHO_T}$libelf_cv_int64" >&6; }
8194 if test "$libelf_cv_int64" = no; then
8197 - cat >> confdefs.h <<EOF
8198 + cat >>confdefs.h <<_ACEOF
8199 #define __libelf_i64_t $libelf_cv_int64
8203 - cat >> confdefs.h <<EOF
8204 + cat >>confdefs.h <<_ACEOF
8205 #define __libelf_u64_t unsigned $libelf_cv_int64
8211 -echo $ac_n "checking for 32-bit integer""... $ac_c" 1>&6
8212 -echo "configure:2077: checking for 32-bit integer" >&5
8213 -if eval "test \"`echo '$''{'libelf_cv_int32'+set}'`\" = set"; then
8214 - echo $ac_n "(cached) $ac_c" 1>&6
8215 +{ echo "$as_me:$LINENO: checking for 32-bit integer" >&5
8216 +echo $ECHO_N "checking for 32-bit integer... $ECHO_C" >&6; }
8217 +if test "${libelf_cv_int32+set}" = set; then
8218 + echo $ECHO_N "(cached) $ECHO_C" >&6
8222 if test "$ac_cv_sizeof_int" = 4; then
8223 libelf_cv_int32='int'
8224 elif test "$ac_cv_sizeof_long" = 4; then
8225 @@ -2086,27 +7052,29 @@ else
8230 -echo "$ac_t""$libelf_cv_int32" 1>&6
8231 +{ echo "$as_me:$LINENO: result: $libelf_cv_int32" >&5
8232 +echo "${ECHO_T}$libelf_cv_int32" >&6; }
8233 if test "$libelf_cv_int32" = no; then
8234 - { echo "configure: error: neither int nor long is 32-bit" 1>&2; exit 1; }
8235 + { { echo "$as_me:$LINENO: error: neither int nor long is 32-bit" >&5
8236 +echo "$as_me: error: neither int nor long is 32-bit" >&2;}
8237 + { (exit 1); exit 1; }; }
8239 - cat >> confdefs.h <<EOF
8240 + cat >>confdefs.h <<_ACEOF
8241 #define __libelf_i32_t $libelf_cv_int32
8245 - cat >> confdefs.h <<EOF
8246 + cat >>confdefs.h <<_ACEOF
8247 #define __libelf_u32_t unsigned $libelf_cv_int32
8253 -echo $ac_n "checking for 16-bit integer""... $ac_c" 1>&6
8254 -echo "configure:2106: checking for 16-bit integer" >&5
8255 -if eval "test \"`echo '$''{'libelf_cv_int16'+set}'`\" = set"; then
8256 - echo $ac_n "(cached) $ac_c" 1>&6
8257 +{ echo "$as_me:$LINENO: checking for 16-bit integer" >&5
8258 +echo $ECHO_N "checking for 16-bit integer... $ECHO_C" >&6; }
8259 +if test "${libelf_cv_int16+set}" = set; then
8260 + echo $ECHO_N "(cached) $ECHO_C" >&6
8264 if test "$ac_cv_sizeof_short" = 2; then
8265 libelf_cv_int16='short'
8266 elif test "$ac_cv_sizeof_int" = 2; then
8267 @@ -2115,127 +7083,275 @@ else
8272 -echo "$ac_t""$libelf_cv_int16" 1>&6
8273 +{ echo "$as_me:$LINENO: result: $libelf_cv_int16" >&5
8274 +echo "${ECHO_T}$libelf_cv_int16" >&6; }
8275 if test "$libelf_cv_int16" = no; then
8276 - { echo "configure: error: neither short nor int is 16-bit" 1>&2; exit 1; }
8277 + { { echo "$as_me:$LINENO: error: neither short nor int is 16-bit" >&5
8278 +echo "$as_me: error: neither short nor int is 16-bit" >&2;}
8279 + { (exit 1); exit 1; }; }
8281 - cat >> confdefs.h <<EOF
8282 + cat >>confdefs.h <<_ACEOF
8283 #define __libelf_i16_t $libelf_cv_int16
8287 - cat >> confdefs.h <<EOF
8288 + cat >>confdefs.h <<_ACEOF
8289 #define __libelf_u16_t unsigned $libelf_cv_int16
8295 -for ac_hdr in unistd.h
8298 +for ac_header in stdlib.h unistd.h
8300 -ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8301 -echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8302 -echo "configure:2138: checking for $ac_hdr" >&5
8303 -if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8304 - echo $ac_n "(cached) $ac_c" 1>&6
8305 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8306 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8307 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
8308 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8309 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8310 + echo $ECHO_N "(cached) $ECHO_C" >&6
8312 +ac_res=`eval echo '${'$as_ac_Header'}'`
8313 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8314 +echo "${ECHO_T}$ac_res" >&6; }
8316 - cat > conftest.$ac_ext <<EOF
8317 -#line 2143 "configure"
8318 -#include "confdefs.h"
8321 -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8322 -{ (eval echo configure:2148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8323 -ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8324 -if test -z "$ac_err"; then
8326 - eval "ac_cv_header_$ac_safe=yes"
8327 + # Is the header compilable?
8328 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8329 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8330 +cat >conftest.$ac_ext <<_ACEOF
8333 +cat confdefs.h >>conftest.$ac_ext
8334 +cat >>conftest.$ac_ext <<_ACEOF
8335 +/* end confdefs.h. */
8336 +$ac_includes_default
8337 +#include <$ac_header>
8339 +rm -f conftest.$ac_objext
8340 +if { (ac_try="$ac_compile"
8341 +case "(($ac_try" in
8342 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8343 + *) ac_try_echo=$ac_try;;
8345 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8346 + (eval "$ac_compile") 2>conftest.er1
8348 + grep -v '^ *+' conftest.er1 >conftest.err
8349 + rm -f conftest.er1
8350 + cat conftest.err >&5
8351 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 + (exit $ac_status); } && {
8353 + test -z "$ac_c_werror_flag" ||
8354 + test ! -s conftest.err
8355 + } && test -s conftest.$ac_objext; then
8356 + ac_header_compiler=yes
8358 - echo "$ac_err" >&5
8359 - echo "configure: failed program was:" >&5
8360 - cat conftest.$ac_ext >&5
8362 - eval "ac_cv_header_$ac_safe=no"
8363 + echo "$as_me: failed program was:" >&5
8364 +sed 's/^/| /' conftest.$ac_ext >&5
8366 + ac_header_compiler=no
8370 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8371 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8372 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8374 +# Is the header present?
8375 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8376 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8377 +cat >conftest.$ac_ext <<_ACEOF
8380 +cat confdefs.h >>conftest.$ac_ext
8381 +cat >>conftest.$ac_ext <<_ACEOF
8382 +/* end confdefs.h. */
8383 +#include <$ac_header>
8385 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8386 +case "(($ac_try" in
8387 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8388 + *) ac_try_echo=$ac_try;;
8390 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8391 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8393 + grep -v '^ *+' conftest.er1 >conftest.err
8394 + rm -f conftest.er1
8395 + cat conftest.err >&5
8396 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 + (exit $ac_status); } >/dev/null && {
8398 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8399 + test ! -s conftest.err
8401 + ac_header_preproc=yes
8403 + echo "$as_me: failed program was:" >&5
8404 +sed 's/^/| /' conftest.$ac_ext >&5
8406 + ac_header_preproc=no
8408 -if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8409 - echo "$ac_t""yes" 1>&6
8410 - ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8411 - cat >> confdefs.h <<EOF
8412 -#define $ac_tr_hdr 1
8416 +rm -f conftest.err conftest.$ac_ext
8417 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8418 +echo "${ECHO_T}$ac_header_preproc" >&6; }
8420 +# So? What about this header?
8421 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8423 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8424 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8425 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8426 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8427 + ac_header_preproc=yes
8430 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8431 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8432 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8433 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8434 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8435 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8436 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8437 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8438 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8439 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8440 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8441 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8445 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8446 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8447 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8448 + echo $ECHO_N "(cached) $ECHO_C" >&6
8450 - echo "$ac_t""no" 1>&6
8451 + eval "$as_ac_Header=\$ac_header_preproc"
8453 +ac_res=`eval echo '${'$as_ac_Header'}'`
8454 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8455 +echo "${ECHO_T}$ac_res" >&6; }
8458 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
8459 + cat >>confdefs.h <<_ACEOF
8460 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8468 for ac_func in getpagesize
8470 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8471 -echo "configure:2177: checking for $ac_func" >&5
8472 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8473 - echo $ac_n "(cached) $ac_c" 1>&6
8474 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8475 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8476 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8477 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8478 + echo $ECHO_N "(cached) $ECHO_C" >&6
8480 - cat > conftest.$ac_ext <<EOF
8481 -#line 2182 "configure"
8482 -#include "confdefs.h"
8483 + cat >conftest.$ac_ext <<_ACEOF
8486 +cat confdefs.h >>conftest.$ac_ext
8487 +cat >>conftest.$ac_ext <<_ACEOF
8488 +/* end confdefs.h. */
8489 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8490 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
8491 +#define $ac_func innocuous_$ac_func
8493 /* System header to define __stub macros and hopefully few prototypes,
8494 - which can conflict with char $ac_func(); below. */
8495 -#include <assert.h>
8496 -/* Override any gcc2 internal prototype to avoid an error. */
8497 -/* We use char because int might match the return type of a gcc2
8498 - builtin and then its argument prototype would still apply. */
8500 + which can conflict with char $ac_func (); below.
8501 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8502 + <limits.h> exists even on freestanding compilers. */
8506 +# include <limits.h>
8508 +# include <assert.h>
8513 +/* Override any GCC internal prototype to avoid an error.
8514 + Use char because int might match the return type of a GCC
8515 + builtin and then its argument prototype would still apply. */
8520 /* The GNU C library defines this for functions which it implements
8521 to always fail with ENOSYS. Some functions are actually named
8522 something starting with __ and the normal name is an alias. */
8523 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8524 +#if defined __stub_$ac_func || defined __stub___$ac_func
8532 -if { (eval echo configure:2205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8534 - eval "ac_cv_func_$ac_func=yes"
8538 +return $ac_func ();
8543 +rm -f conftest.$ac_objext conftest$ac_exeext
8544 +if { (ac_try="$ac_link"
8545 +case "(($ac_try" in
8546 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8547 + *) ac_try_echo=$ac_try;;
8549 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8550 + (eval "$ac_link") 2>conftest.er1
8552 + grep -v '^ *+' conftest.er1 >conftest.err
8553 + rm -f conftest.er1
8554 + cat conftest.err >&5
8555 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 + (exit $ac_status); } && {
8557 + test -z "$ac_c_werror_flag" ||
8558 + test ! -s conftest.err
8559 + } && test -s conftest$ac_exeext &&
8560 + $as_test_x conftest$ac_exeext; then
8561 + eval "$as_ac_var=yes"
8563 - echo "configure: failed program was:" >&5
8564 - cat conftest.$ac_ext >&5
8566 - eval "ac_cv_func_$ac_func=no"
8567 + echo "$as_me: failed program was:" >&5
8568 +sed 's/^/| /' conftest.$ac_ext >&5
8570 + eval "$as_ac_var=no"
8574 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8575 + conftest$ac_exeext conftest.$ac_ext
8577 +ac_res=`eval echo '${'$as_ac_var'}'`
8578 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8579 +echo "${ECHO_T}$ac_res" >&6; }
8580 +if test `eval echo '${'$as_ac_var'}'` = yes; then
8581 + cat >>confdefs.h <<_ACEOF
8582 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8585 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8586 - echo "$ac_t""yes" 1>&6
8587 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8588 - cat >> confdefs.h <<EOF
8589 -#define $ac_tr_func 1
8593 - echo "$ac_t""no" 1>&6
8597 -echo $ac_n "checking for working mmap""... $ac_c" 1>&6
8598 -echo "configure:2230: checking for working mmap" >&5
8599 -if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
8600 - echo $ac_n "(cached) $ac_c" 1>&6
8601 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
8602 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
8603 +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8604 + echo $ECHO_N "(cached) $ECHO_C" >&6
8606 if test "$cross_compiling" = yes; then
8607 ac_cv_func_mmap_fixed_mapped=no
8609 - cat > conftest.$ac_ext <<EOF
8610 -#line 2238 "configure"
8611 -#include "confdefs.h"
8612 + cat >conftest.$ac_ext <<_ACEOF
8615 +cat confdefs.h >>conftest.$ac_ext
8616 +cat >>conftest.$ac_ext <<_ACEOF
8617 +/* end confdefs.h. */
8618 +$ac_includes_default
8619 +/* malloc might have been renamed as rpl_malloc. */
8622 /* Thanks to Mike Haertel and Jim Avera for this test.
8623 Here is a matrix of mmap possibilities:
8624 @@ -2249,25 +7365,25 @@ else
8625 back from the file, nor mmap's back from the file at a different
8626 address. (There have been systems where private was not correctly
8627 implemented like the infamous i386 svr4.0, and systems where the
8628 - VM page cache was not coherent with the filesystem buffer cache
8629 + VM page cache was not coherent with the file system buffer cache
8630 like early versions of FreeBSD and possibly contemporary NetBSD.)
8631 For shared mappings, we should conversely verify that changes get
8632 - propogated back to all the places they're supposed to be.
8633 + propagated back to all the places they're supposed to be.
8635 Grep wants private fixed already mapped.
8636 The main things grep needs to know about mmap are:
8637 * does it exist and is it safe to write into the mmap'd area
8638 * how to use it (BSD variants) */
8639 -#include <sys/types.h>
8642 #include <sys/mman.h>
8644 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8648 /* This mess was copied from the GNU getpagesize.h. */
8649 #ifndef HAVE_GETPAGESIZE
8650 -# ifdef HAVE_UNISTD_H
8651 -# include <unistd.h>
8654 /* Assume that all systems that can run configure have sys/param.h. */
8655 # ifndef HAVE_SYS_PARAM_H
8656 # define HAVE_SYS_PARAM_H 1
8657 @@ -2303,229 +7419,328 @@ else
8659 #endif /* no HAVE_GETPAGESIZE */
8662 -extern "C" { void *malloc(unsigned); }
8671 - char *data, *data2, *data3;
8674 + char *data, *data2, *data3;
8678 - pagesize = getpagesize();
8679 + pagesize = getpagesize ();
8682 - * First, make a file with some known garbage in it.
8684 - data = malloc(pagesize);
8687 - for (i = 0; i < pagesize; ++i)
8688 - *(data + i) = rand();
8690 - fd = creat("conftestmmap", 0600);
8693 - if (write(fd, data, pagesize) != pagesize)
8696 + /* First, make a file with some known garbage in it. */
8697 + data = (char *) malloc (pagesize);
8700 + for (i = 0; i < pagesize; ++i)
8701 + *(data + i) = rand ();
8703 + fd = creat ("conftest.mmap", 0600);
8706 + if (write (fd, data, pagesize) != pagesize)
8711 - * Next, try to mmap the file at a fixed address which
8712 - * already has something else allocated at it. If we can,
8713 - * also make sure that we see the same garbage.
8715 - fd = open("conftestmmap", O_RDWR);
8718 - data2 = malloc(2 * pagesize);
8721 - data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
8722 - if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
8723 - MAP_PRIVATE | MAP_FIXED, fd, 0L))
8725 - for (i = 0; i < pagesize; ++i)
8726 - if (*(data + i) != *(data2 + i))
8728 + /* Next, try to mmap the file at a fixed address which already has
8729 + something else allocated at it. If we can, also make sure that
8730 + we see the same garbage. */
8731 + fd = open ("conftest.mmap", O_RDWR);
8734 + data2 = (char *) malloc (2 * pagesize);
8737 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8738 + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8739 + MAP_PRIVATE | MAP_FIXED, fd, 0L))
8741 + for (i = 0; i < pagesize; ++i)
8742 + if (*(data + i) != *(data2 + i))
8746 - * Finally, make sure that changes to the mapped area
8747 - * do not percolate back to the file as seen by read().
8748 - * (This is a bug on some variants of i386 svr4.0.)
8750 - for (i = 0; i < pagesize; ++i)
8751 - *(data2 + i) = *(data2 + i) + 1;
8752 - data3 = malloc(pagesize);
8755 - if (read(fd, data3, pagesize) != pagesize)
8757 - for (i = 0; i < pagesize; ++i)
8758 - if (*(data + i) != *(data3 + i))
8761 - unlink("conftestmmap");
8763 + /* Finally, make sure that changes to the mapped area do not
8764 + percolate back to the file as seen by read(). (This is a bug on
8765 + some variants of i386 svr4.0.) */
8766 + for (i = 0; i < pagesize; ++i)
8767 + *(data2 + i) = *(data2 + i) + 1;
8768 + data3 = (char *) malloc (pagesize);
8771 + if (read (fd, data3, pagesize) != pagesize)
8773 + for (i = 0; i < pagesize; ++i)
8774 + if (*(data + i) != *(data3 + i))
8781 -if { (eval echo configure:2378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8784 +rm -f conftest$ac_exeext
8785 +if { (ac_try="$ac_link"
8786 +case "(($ac_try" in
8787 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8788 + *) ac_try_echo=$ac_try;;
8790 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8791 + (eval "$ac_link") 2>&5
8793 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8795 + { (case "(($ac_try" in
8796 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8797 + *) ac_try_echo=$ac_try;;
8799 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8800 + (eval "$ac_try") 2>&5
8802 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803 + (exit $ac_status); }; }; then
8804 ac_cv_func_mmap_fixed_mapped=yes
8806 - echo "configure: failed program was:" >&5
8807 - cat conftest.$ac_ext >&5
8809 - ac_cv_func_mmap_fixed_mapped=no
8810 + echo "$as_me: program exited with status $ac_status" >&5
8811 +echo "$as_me: failed program was:" >&5
8812 +sed 's/^/| /' conftest.$ac_ext >&5
8814 +( exit $ac_status )
8815 +ac_cv_func_mmap_fixed_mapped=no
8818 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8823 -echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
8825 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8826 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
8827 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8828 - cat >> confdefs.h <<\EOF
8830 +cat >>confdefs.h <<\_ACEOF
8836 +rm -f conftest.mmap
8842 for ac_func in ftruncate memcmp memcpy memmove
8844 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8845 -echo "configure:2403: checking for $ac_func" >&5
8846 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8847 - echo $ac_n "(cached) $ac_c" 1>&6
8848 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8849 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8850 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8851 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8852 + echo $ECHO_N "(cached) $ECHO_C" >&6
8854 - cat > conftest.$ac_ext <<EOF
8855 -#line 2408 "configure"
8856 -#include "confdefs.h"
8857 + cat >conftest.$ac_ext <<_ACEOF
8860 +cat confdefs.h >>conftest.$ac_ext
8861 +cat >>conftest.$ac_ext <<_ACEOF
8862 +/* end confdefs.h. */
8863 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8864 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
8865 +#define $ac_func innocuous_$ac_func
8867 /* System header to define __stub macros and hopefully few prototypes,
8868 - which can conflict with char $ac_func(); below. */
8869 -#include <assert.h>
8870 -/* Override any gcc2 internal prototype to avoid an error. */
8871 -/* We use char because int might match the return type of a gcc2
8872 - builtin and then its argument prototype would still apply. */
8874 + which can conflict with char $ac_func (); below.
8875 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8876 + <limits.h> exists even on freestanding compilers. */
8880 +# include <limits.h>
8882 +# include <assert.h>
8887 +/* Override any GCC internal prototype to avoid an error.
8888 + Use char because int might match the return type of a GCC
8889 + builtin and then its argument prototype would still apply. */
8894 /* The GNU C library defines this for functions which it implements
8895 to always fail with ENOSYS. Some functions are actually named
8896 something starting with __ and the normal name is an alias. */
8897 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8898 +#if defined __stub_$ac_func || defined __stub___$ac_func
8906 -if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8908 - eval "ac_cv_func_$ac_func=yes"
8912 +return $ac_func ();
8917 +rm -f conftest.$ac_objext conftest$ac_exeext
8918 +if { (ac_try="$ac_link"
8919 +case "(($ac_try" in
8920 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8921 + *) ac_try_echo=$ac_try;;
8923 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8924 + (eval "$ac_link") 2>conftest.er1
8926 + grep -v '^ *+' conftest.er1 >conftest.err
8927 + rm -f conftest.er1
8928 + cat conftest.err >&5
8929 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 + (exit $ac_status); } && {
8931 + test -z "$ac_c_werror_flag" ||
8932 + test ! -s conftest.err
8933 + } && test -s conftest$ac_exeext &&
8934 + $as_test_x conftest$ac_exeext; then
8935 + eval "$as_ac_var=yes"
8937 - echo "configure: failed program was:" >&5
8938 - cat conftest.$ac_ext >&5
8940 - eval "ac_cv_func_$ac_func=no"
8941 + echo "$as_me: failed program was:" >&5
8942 +sed 's/^/| /' conftest.$ac_ext >&5
8944 + eval "$as_ac_var=no"
8948 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8949 + conftest$ac_exeext conftest.$ac_ext
8951 +ac_res=`eval echo '${'$as_ac_var'}'`
8952 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8953 +echo "${ECHO_T}$ac_res" >&6; }
8954 +if test `eval echo '${'$as_ac_var'}'` = yes; then
8955 + cat >>confdefs.h <<_ACEOF
8956 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8959 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8960 - echo "$ac_t""yes" 1>&6
8961 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8962 - cat >> confdefs.h <<EOF
8963 -#define $ac_tr_func 1
8967 - echo "$ac_t""no" 1>&6
8972 for ac_func in memset
8974 -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8975 -echo "configure:2458: checking for $ac_func" >&5
8976 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8977 - echo $ac_n "(cached) $ac_c" 1>&6
8978 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8979 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8980 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8981 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8982 + echo $ECHO_N "(cached) $ECHO_C" >&6
8984 - cat > conftest.$ac_ext <<EOF
8985 -#line 2463 "configure"
8986 -#include "confdefs.h"
8987 + cat >conftest.$ac_ext <<_ACEOF
8990 +cat confdefs.h >>conftest.$ac_ext
8991 +cat >>conftest.$ac_ext <<_ACEOF
8992 +/* end confdefs.h. */
8993 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8994 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
8995 +#define $ac_func innocuous_$ac_func
8997 /* System header to define __stub macros and hopefully few prototypes,
8998 - which can conflict with char $ac_func(); below. */
8999 -#include <assert.h>
9000 -/* Override any gcc2 internal prototype to avoid an error. */
9001 -/* We use char because int might match the return type of a gcc2
9002 - builtin and then its argument prototype would still apply. */
9004 + which can conflict with char $ac_func (); below.
9005 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9006 + <limits.h> exists even on freestanding compilers. */
9010 +# include <limits.h>
9012 +# include <assert.h>
9017 +/* Override any GCC internal prototype to avoid an error.
9018 + Use char because int might match the return type of a GCC
9019 + builtin and then its argument prototype would still apply. */
9024 /* The GNU C library defines this for functions which it implements
9025 to always fail with ENOSYS. Some functions are actually named
9026 something starting with __ and the normal name is an alias. */
9027 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9028 +#if defined __stub_$ac_func || defined __stub___$ac_func
9036 -if { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9038 - eval "ac_cv_func_$ac_func=yes"
9042 +return $ac_func ();
9047 +rm -f conftest.$ac_objext conftest$ac_exeext
9048 +if { (ac_try="$ac_link"
9049 +case "(($ac_try" in
9050 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9051 + *) ac_try_echo=$ac_try;;
9053 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9054 + (eval "$ac_link") 2>conftest.er1
9056 + grep -v '^ *+' conftest.er1 >conftest.err
9057 + rm -f conftest.er1
9058 + cat conftest.err >&5
9059 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 + (exit $ac_status); } && {
9061 + test -z "$ac_c_werror_flag" ||
9062 + test ! -s conftest.err
9063 + } && test -s conftest$ac_exeext &&
9064 + $as_test_x conftest$ac_exeext; then
9065 + eval "$as_ac_var=yes"
9067 - echo "configure: failed program was:" >&5
9068 - cat conftest.$ac_ext >&5
9070 - eval "ac_cv_func_$ac_func=no"
9071 + echo "$as_me: failed program was:" >&5
9072 +sed 's/^/| /' conftest.$ac_ext >&5
9074 + eval "$as_ac_var=no"
9078 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9079 + conftest$ac_exeext conftest.$ac_ext
9081 +ac_res=`eval echo '${'$as_ac_var'}'`
9082 + { echo "$as_me:$LINENO: result: $ac_res" >&5
9083 +echo "${ECHO_T}$ac_res" >&6; }
9084 +if test `eval echo '${'$as_ac_var'}'` = yes; then
9085 + cat >>confdefs.h <<_ACEOF
9086 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9089 -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9090 - echo "$ac_t""yes" 1>&6
9091 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9092 - cat >> confdefs.h <<EOF
9093 -#define $ac_tr_func 1
9097 - echo "$ac_t""no" 1>&6
9098 -LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
9099 + case " $LIBOBJS " in
9100 + *" $ac_func.$ac_objext "* ) ;;
9101 + *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
9109 if test "$ac_cv_func_memset" = yes; then
9110 - cat >> confdefs.h <<\EOF
9111 + cat >>confdefs.h <<\_ACEOF
9112 #define HAVE_MEMSET 1
9118 -echo $ac_n "checking whether overlapping arrays are copied correctly""... $ac_c" 1>&6
9119 -echo "configure:2520: checking whether overlapping arrays are copied correctly" >&5
9120 -if eval "test \"`echo '$''{'libelf_cv_working_memmove'+set}'`\" = set"; then
9121 - echo $ac_n "(cached) $ac_c" 1>&6
9122 +{ echo "$as_me:$LINENO: checking whether overlapping arrays are copied correctly" >&5
9123 +echo $ECHO_N "checking whether overlapping arrays are copied correctly... $ECHO_C" >&6; }
9124 +if test "${libelf_cv_working_memmove+set}" = set; then
9125 + echo $ECHO_N "(cached) $ECHO_C" >&6
9127 if test "$cross_compiling" = yes; then
9128 libelf_cv_working_memmove='maybe not'
9130 - cat > conftest.$ac_ext <<EOF
9131 -#line 2528 "configure"
9132 -#include "confdefs.h"
9133 + cat >conftest.$ac_ext <<_ACEOF
9136 +cat confdefs.h >>conftest.$ac_ext
9137 +cat >>conftest.$ac_ext <<_ACEOF
9138 +/* end confdefs.h. */
9139 #include "confdefs.h"
9141 extern void *memmove();
9142 @@ -2540,108 +7755,131 @@ main() {
9143 if (strcmp(buf, "0012345678")) exit(1);
9147 -if { (eval echo configure:2545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9150 +rm -f conftest$ac_exeext
9151 +if { (ac_try="$ac_link"
9152 +case "(($ac_try" in
9153 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9154 + *) ac_try_echo=$ac_try;;
9156 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9157 + (eval "$ac_link") 2>&5
9159 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9161 + { (case "(($ac_try" in
9162 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9163 + *) ac_try_echo=$ac_try;;
9165 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9166 + (eval "$ac_try") 2>&5
9168 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 + (exit $ac_status); }; }; then
9170 libelf_cv_working_memmove=yes
9172 - echo "configure: failed program was:" >&5
9173 - cat conftest.$ac_ext >&5
9175 - libelf_cv_working_memmove=no
9176 + echo "$as_me: program exited with status $ac_status" >&5
9177 +echo "$as_me: failed program was:" >&5
9178 +sed 's/^/| /' conftest.$ac_ext >&5
9180 +( exit $ac_status )
9181 +libelf_cv_working_memmove=no
9184 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9189 -echo "$ac_t""$libelf_cv_working_memmove" 1>&6
9191 +{ echo "$as_me:$LINENO: result: $libelf_cv_working_memmove" >&5
9192 +echo "${ECHO_T}$libelf_cv_working_memmove" >&6; }
9193 if test "$libelf_cv_working_memmove" != yes; then
9194 - cat >> confdefs.h <<\EOF
9195 + cat >>confdefs.h <<\_ACEOF
9196 #define HAVE_BROKEN_MEMMOVE 1
9202 -echo $ac_n "checking the coffee machine""... $ac_c" 1>&6
9203 -echo "configure:2568: checking the coffee machine" >&5
9204 -if eval "test \"`echo '$''{'mr_cv_coffee_machine'+set}'`\" = set"; then
9205 - echo $ac_n "(cached) $ac_c" 1>&6
9206 +{ echo "$as_me:$LINENO: checking the coffee machine" >&5
9207 +echo $ECHO_N "checking the coffee machine... $ECHO_C" >&6; }
9208 +if test "${mr_cv_coffee_machine+set}" = set; then
9209 + echo $ECHO_N "(cached) $ECHO_C" >&6
9211 mr_cv_coffee_machine='empty - operator may not work as expected'
9213 +{ echo "$as_me:$LINENO: result: $mr_cv_coffee_machine" >&5
9214 +echo "${ECHO_T}$mr_cv_coffee_machine" >&6; }
9216 -echo "$ac_t""$mr_cv_coffee_machine" 1>&6
9218 -echo $ac_n "checking whether 64-bit ELF support is sufficient""... $ac_c" 1>&6
9219 -echo "configure:2578: checking whether 64-bit ELF support is sufficient" >&5
9220 -echo "$ac_t""$libelf_64bit" 1>&6
9221 -echo $ac_n "checking whether to include 64-bit support""... $ac_c" 1>&6
9222 -echo "configure:2581: checking whether to include 64-bit support" >&5
9223 +{ echo "$as_me:$LINENO: checking whether 64-bit ELF support is sufficient" >&5
9224 +echo $ECHO_N "checking whether 64-bit ELF support is sufficient... $ECHO_C" >&6; }
9225 +{ echo "$as_me:$LINENO: result: $libelf_64bit" >&5
9226 +echo "${ECHO_T}$libelf_64bit" >&6; }
9227 +{ echo "$as_me:$LINENO: checking whether to include 64-bit support" >&5
9228 +echo $ECHO_N "checking whether to include 64-bit support... $ECHO_C" >&6; }
9229 if test "$libelf_64bit" = no; then
9230 libelf_enable_64bit=no
9232 - # Check whether --enable-elf64 or --disable-elf64 was given.
9233 + # Check whether --enable-elf64 was given.
9234 if test "${enable_elf64+set}" = set; then
9235 - enableval="$enable_elf64"
9236 - libelf_enable_64bit="$enableval"
9237 + enableval=$enable_elf64; libelf_enable_64bit="$enableval"
9239 libelf_enable_64bit=yes
9243 -echo "$ac_t""$libelf_enable_64bit" 1>&6
9244 +{ echo "$as_me:$LINENO: result: $libelf_enable_64bit" >&5
9245 +echo "${ECHO_T}$libelf_enable_64bit" >&6; }
9246 if test "$libelf_enable_64bit" = yes; then
9247 - cat >> confdefs.h <<\EOF
9248 + cat >>confdefs.h <<\_ACEOF
9249 #define __LIBELF64 1
9255 -echo $ac_n "checking whether versioning support is sufficient""... $ac_c" 1>&6
9256 -echo "configure:2603: checking whether versioning support is sufficient" >&5
9257 +{ echo "$as_me:$LINENO: checking whether versioning support is sufficient" >&5
9258 +echo $ECHO_N "checking whether versioning support is sufficient... $ECHO_C" >&6; }
9259 libelf_versioning=no
9260 case "$libelf_enable_64bit:$libelf_cv_verdef32:$libelf_cv_verdef64" in
9261 no:yes:* | yes:yes:yes)
9262 if test "$libelf_cv_sun_verdef" = yes; then
9263 - cat >> confdefs.h <<\EOF
9264 + cat >>confdefs.h <<\_ACEOF
9265 #define __LIBELF_SUN_SYMBOL_VERSIONS 1
9269 libelf_versioning=yes
9270 elif test "$libelf_cv_gnu_verdef" = yes; then
9271 - cat >> confdefs.h <<\EOF
9272 + cat >>confdefs.h <<\_ACEOF
9273 #define __LIBELF_GNU_SYMBOL_VERSIONS 1
9277 libelf_versioning=yes
9280 -echo "$ac_t""$libelf_versioning" 1>&6
9281 -echo $ac_n "checking whether to include versioning support""... $ac_c" 1>&6
9282 -echo "configure:2623: checking whether to include versioning support" >&5
9283 +{ echo "$as_me:$LINENO: result: $libelf_versioning" >&5
9284 +echo "${ECHO_T}$libelf_versioning" >&6; }
9285 +{ echo "$as_me:$LINENO: checking whether to include versioning support" >&5
9286 +echo $ECHO_N "checking whether to include versioning support... $ECHO_C" >&6; }
9287 if test "$libelf_versioning" = no; then
9288 libelf_enable_versioning=no
9290 - # Check whether --enable-versioning or --disable-versioning was given.
9291 + # Check whether --enable-versioning was given.
9292 if test "${enable_versioning+set}" = set; then
9293 - enableval="$enable_versioning"
9294 - libelf_enable_versioning="$enableval"
9295 + enableval=$enable_versioning; libelf_enable_versioning="$enableval"
9297 libelf_enable_versioning=yes
9301 -echo "$ac_t""$libelf_enable_versioning" 1>&6
9302 +{ echo "$as_me:$LINENO: result: $libelf_enable_versioning" >&5
9303 +echo "${ECHO_T}$libelf_enable_versioning" >&6; }
9304 if test "$libelf_enable_versioning" = yes; then
9305 - cat >> confdefs.h <<\EOF
9306 + cat >>confdefs.h <<\_ACEOF
9307 #define __LIBELF_SYMBOL_VERSIONS 1
9317 # Needed for `make dist' even if NLS is disabled.
9319 @@ -2652,292 +7890,412 @@ fi
9320 MSGFILES="$MSGFILES $mr_lang.msg"
9321 POFILES="$POFILES $mr_lang.po"
9327 - echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
9328 -echo "configure:2661: checking whether NLS is requested" >&5
9329 - # Check whether --enable-nls or --disable-nls was given.
9333 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
9334 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
9335 + # Check whether --enable-nls was given.
9336 if test "${enable_nls+set}" = set; then
9337 - enableval="$enable_nls"
9338 - mr_enable_nls="$enableval"
9339 + enableval=$enable_nls; mr_enable_nls="$enableval"
9344 - echo "$ac_t""$mr_enable_nls" 1>&6
9345 + { echo "$as_me:$LINENO: result: $mr_enable_nls" >&5
9346 +echo "${ECHO_T}$mr_enable_nls" >&6; }
9351 if test "$mr_enable_nls" = yes; then
9352 mr_PATH=`echo ":$PATH" | sed -e 's,:^:*openwin^:*,,g' -e 's,^:,,'`
9353 - echo $ac_n "checking for dgettext""... $ac_c" 1>&6
9354 -echo "configure:2678: checking for dgettext" >&5
9355 -if eval "test \"`echo '$''{'mr_cv_func_dgettext'+set}'`\" = set"; then
9356 - echo $ac_n "(cached) $ac_c" 1>&6
9357 + { echo "$as_me:$LINENO: checking for dgettext" >&5
9358 +echo $ECHO_N "checking for dgettext... $ECHO_C" >&6; }
9359 +if test "${mr_cv_func_dgettext+set}" = set; then
9360 + echo $ECHO_N "(cached) $ECHO_C" >&6
9363 - cat > conftest.$ac_ext <<EOF
9364 -#line 2684 "configure"
9365 -#include "confdefs.h"
9367 + cat >conftest.$ac_ext <<_ACEOF
9370 +cat confdefs.h >>conftest.$ac_ext
9371 +cat >>conftest.$ac_ext <<_ACEOF
9372 +/* end confdefs.h. */
9373 #include <libintl.h>
9378 char *s = dgettext("", ""); return 0
9381 -if { (eval echo configure:2691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9387 +rm -f conftest.$ac_objext conftest$ac_exeext
9388 +if { (ac_try="$ac_link"
9389 +case "(($ac_try" in
9390 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9391 + *) ac_try_echo=$ac_try;;
9393 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9394 + (eval "$ac_link") 2>conftest.er1
9396 + grep -v '^ *+' conftest.er1 >conftest.err
9397 + rm -f conftest.er1
9398 + cat conftest.err >&5
9399 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 + (exit $ac_status); } && {
9401 + test -z "$ac_c_werror_flag" ||
9402 + test ! -s conftest.err
9403 + } && test -s conftest$ac_exeext &&
9404 + $as_test_x conftest$ac_exeext; then
9405 mr_cv_func_dgettext=yes
9407 - echo "configure: failed program was:" >&5
9408 - cat conftest.$ac_ext >&5
9410 - mr_cv_func_dgettext=no
9414 + echo "$as_me: failed program was:" >&5
9415 +sed 's/^/| /' conftest.$ac_ext >&5
9417 + mr_cv_func_dgettext=no
9420 -echo "$ac_t""$mr_cv_func_dgettext" 1>&6
9421 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9422 + conftest$ac_exeext conftest.$ac_ext
9425 +{ echo "$as_me:$LINENO: result: $mr_cv_func_dgettext" >&5
9426 +echo "${ECHO_T}$mr_cv_func_dgettext" >&6; }
9427 if test "$mr_cv_func_dgettext" = yes; then
9428 # Extract the first word of "msgfmt", so it can be a program name with args.
9429 set dummy msgfmt; ac_word=$2
9430 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9431 -echo "configure:2709: checking for $ac_word" >&5
9432 -if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
9433 - echo $ac_n "(cached) $ac_c" 1>&6
9434 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9435 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9436 +if test "${ac_cv_path_MSGFMT+set}" = set; then
9437 + echo $ECHO_N "(cached) $ECHO_C" >&6
9442 + [\\/]* | ?:[\\/]*)
9443 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
9446 - ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a dos path.
9449 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9450 - ac_dummy="$mr_PATH"
9451 - for ac_dir in $ac_dummy; do
9452 - test -z "$ac_dir" && ac_dir=.
9453 - if test -f $ac_dir/$ac_word; then
9454 - ac_cv_path_MSGFMT="$ac_dir/$ac_word"
9458 - IFS="$ac_save_ifs"
9459 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9460 +for as_dir in $mr_PATH
9463 + test -z "$as_dir" && as_dir=.
9464 + for ac_exec_ext in '' $ac_executable_extensions; do
9465 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9466 + ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
9467 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9474 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
9478 -MSGFMT="$ac_cv_path_MSGFMT"
9479 +MSGFMT=$ac_cv_path_MSGFMT
9480 if test -n "$MSGFMT"; then
9481 - echo "$ac_t""$MSGFMT" 1>&6
9482 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
9483 +echo "${ECHO_T}$MSGFMT" >&6; }
9485 - echo "$ac_t""no" 1>&6
9486 + { echo "$as_me:$LINENO: result: no" >&5
9487 +echo "${ECHO_T}no" >&6; }
9491 if test "$MSGFMT" != no; then
9492 # Extract the first word of "gmsgfmt", so it can be a program name with args.
9493 set dummy gmsgfmt; ac_word=$2
9494 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9495 -echo "configure:2746: checking for $ac_word" >&5
9496 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
9497 - echo $ac_n "(cached) $ac_c" 1>&6
9498 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9499 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9500 +if test "${ac_cv_path_GMSGFMT+set}" = set; then
9501 + echo $ECHO_N "(cached) $ECHO_C" >&6
9503 - case "$GMSGFMT" in
9506 + [\\/]* | ?:[\\/]*)
9507 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
9510 - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
9513 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9514 - ac_dummy="$mr_PATH"
9515 - for ac_dir in $ac_dummy; do
9516 - test -z "$ac_dir" && ac_dir=.
9517 - if test -f $ac_dir/$ac_word; then
9518 - ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
9522 - IFS="$ac_save_ifs"
9523 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9524 +for as_dir in $mr_PATH
9527 + test -z "$as_dir" && as_dir=.
9528 + for ac_exec_ext in '' $ac_executable_extensions; do
9529 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530 + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
9531 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9538 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
9542 -GMSGFMT="$ac_cv_path_GMSGFMT"
9543 +GMSGFMT=$ac_cv_path_GMSGFMT
9544 if test -n "$GMSGFMT"; then
9545 - echo "$ac_t""$GMSGFMT" 1>&6
9546 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
9547 +echo "${ECHO_T}$GMSGFMT" >&6; }
9549 - echo "$ac_t""no" 1>&6
9550 + { echo "$as_me:$LINENO: result: no" >&5
9551 +echo "${ECHO_T}no" >&6; }
9555 # Extract the first word of "xgettext", so it can be a program name with args.
9556 set dummy xgettext; ac_word=$2
9557 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9558 -echo "configure:2782: checking for $ac_word" >&5
9559 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
9560 - echo $ac_n "(cached) $ac_c" 1>&6
9561 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9562 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9563 +if test "${ac_cv_path_XGETTEXT+set}" = set; then
9564 + echo $ECHO_N "(cached) $ECHO_C" >&6
9566 - case "$XGETTEXT" in
9569 + [\\/]* | ?:[\\/]*)
9570 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
9573 - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a dos path.
9576 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9577 - ac_dummy="$mr_PATH"
9578 - for ac_dir in $ac_dummy; do
9579 - test -z "$ac_dir" && ac_dir=.
9580 - if test -f $ac_dir/$ac_word; then
9581 - ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
9585 - IFS="$ac_save_ifs"
9586 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 +for as_dir in $mr_PATH
9590 + test -z "$as_dir" && as_dir=.
9591 + for ac_exec_ext in '' $ac_executable_extensions; do
9592 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9593 + ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
9594 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9601 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="xgettext"
9605 -XGETTEXT="$ac_cv_path_XGETTEXT"
9606 +XGETTEXT=$ac_cv_path_XGETTEXT
9607 if test -n "$XGETTEXT"; then
9608 - echo "$ac_t""$XGETTEXT" 1>&6
9609 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
9610 +echo "${ECHO_T}$XGETTEXT" >&6; }
9612 - echo "$ac_t""no" 1>&6
9613 + { echo "$as_me:$LINENO: result: no" >&5
9614 +echo "${ECHO_T}no" >&6; }
9618 # Extract the first word of "msgmerge", so it can be a program name with args.
9619 set dummy msgmerge; ac_word=$2
9620 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9621 -echo "configure:2818: checking for $ac_word" >&5
9622 -if eval "test \"`echo '$''{'ac_cv_path_MSGMERGE'+set}'`\" = set"; then
9623 - echo $ac_n "(cached) $ac_c" 1>&6
9624 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9625 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9626 +if test "${ac_cv_path_MSGMERGE+set}" = set; then
9627 + echo $ECHO_N "(cached) $ECHO_C" >&6
9629 - case "$MSGMERGE" in
9632 + [\\/]* | ?:[\\/]*)
9633 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
9636 - ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a dos path.
9639 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
9640 - ac_dummy="$mr_PATH"
9641 - for ac_dir in $ac_dummy; do
9642 - test -z "$ac_dir" && ac_dir=.
9643 - if test -f $ac_dir/$ac_word; then
9644 - ac_cv_path_MSGMERGE="$ac_dir/$ac_word"
9648 - IFS="$ac_save_ifs"
9649 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 +for as_dir in $mr_PATH
9653 + test -z "$as_dir" && as_dir=.
9654 + for ac_exec_ext in '' $ac_executable_extensions; do
9655 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9656 + ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
9657 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="msgmerge"
9668 -MSGMERGE="$ac_cv_path_MSGMERGE"
9669 +MSGMERGE=$ac_cv_path_MSGMERGE
9670 if test -n "$MSGMERGE"; then
9671 - echo "$ac_t""$MSGMERGE" 1>&6
9672 + { echo "$as_me:$LINENO: result: $MSGMERGE" >&5
9673 +echo "${ECHO_T}$MSGMERGE" >&6; }
9675 - echo "$ac_t""no" 1>&6
9676 + { echo "$as_me:$LINENO: result: no" >&5
9677 +echo "${ECHO_T}no" >&6; }
9680 - echo $ac_n "checking for GNU gettext""... $ac_c" 1>&6
9681 -echo "configure:2852: checking for GNU gettext" >&5
9682 -if eval "test \"`echo '$''{'mr_cv_gnu_gettext'+set}'`\" = set"; then
9683 - echo $ac_n "(cached) $ac_c" 1>&6
9685 + { echo "$as_me:$LINENO: checking for GNU gettext" >&5
9686 +echo $ECHO_N "checking for GNU gettext... $ECHO_C" >&6; }
9687 +if test "${mr_cv_gnu_gettext+set}" = set; then
9688 + echo $ECHO_N "(cached) $ECHO_C" >&6
9691 - cat > conftest.$ac_ext <<EOF
9692 -#line 2858 "configure"
9693 -#include "confdefs.h"
9696 + cat >conftest.$ac_ext <<_ACEOF
9699 +cat confdefs.h >>conftest.$ac_ext
9700 +cat >>conftest.$ac_ext <<_ACEOF
9701 +/* end confdefs.h. */
9706 extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr
9709 -if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9715 +rm -f conftest.$ac_objext conftest$ac_exeext
9716 +if { (ac_try="$ac_link"
9717 +case "(($ac_try" in
9718 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9719 + *) ac_try_echo=$ac_try;;
9721 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9722 + (eval "$ac_link") 2>conftest.er1
9724 + grep -v '^ *+' conftest.er1 >conftest.err
9725 + rm -f conftest.er1
9726 + cat conftest.err >&5
9727 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 + (exit $ac_status); } && {
9729 + test -z "$ac_c_werror_flag" ||
9730 + test ! -s conftest.err
9731 + } && test -s conftest$ac_exeext &&
9732 + $as_test_x conftest$ac_exeext; then
9733 mr_cv_gnu_gettext=yes
9735 - echo "configure: failed program was:" >&5
9736 - cat conftest.$ac_ext >&5
9738 - mr_cv_gnu_gettext=no
9742 + echo "$as_me: failed program was:" >&5
9743 +sed 's/^/| /' conftest.$ac_ext >&5
9745 + mr_cv_gnu_gettext=no
9748 -echo "$ac_t""$mr_cv_gnu_gettext" 1>&6
9749 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9750 + conftest$ac_exeext conftest.$ac_ext
9753 +{ echo "$as_me:$LINENO: result: $mr_cv_gnu_gettext" >&5
9754 +echo "${ECHO_T}$mr_cv_gnu_gettext" >&6; }
9755 if test "$mr_cv_gnu_gettext" = yes; then
9756 - echo $ac_n "checking for losing catgets-based GNU gettext""... $ac_c" 1>&6
9757 -echo "configure:2881: checking for losing catgets-based GNU gettext" >&5
9758 -if eval "test \"`echo '$''{'mr_cv_catgets_based_gettext'+set}'`\" = set"; then
9759 - echo $ac_n "(cached) $ac_c" 1>&6
9760 + { echo "$as_me:$LINENO: checking for losing catgets-based GNU gettext" >&5
9761 +echo $ECHO_N "checking for losing catgets-based GNU gettext... $ECHO_C" >&6; }
9762 +if test "${mr_cv_catgets_based_gettext+set}" = set; then
9763 + echo $ECHO_N "(cached) $ECHO_C" >&6
9766 - cat > conftest.$ac_ext <<EOF
9767 -#line 2887 "configure"
9768 -#include "confdefs.h"
9771 + cat >conftest.$ac_ext <<_ACEOF
9774 +cat confdefs.h >>conftest.$ac_ext
9775 +cat >>conftest.$ac_ext <<_ACEOF
9776 +/* end confdefs.h. */
9781 extern int _msg_tbl_length; return _msg_tbl_length
9784 -if { (eval echo configure:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9790 +rm -f conftest.$ac_objext conftest$ac_exeext
9791 +if { (ac_try="$ac_link"
9792 +case "(($ac_try" in
9793 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9794 + *) ac_try_echo=$ac_try;;
9796 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9797 + (eval "$ac_link") 2>conftest.er1
9799 + grep -v '^ *+' conftest.er1 >conftest.err
9800 + rm -f conftest.er1
9801 + cat conftest.err >&5
9802 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 + (exit $ac_status); } && {
9804 + test -z "$ac_c_werror_flag" ||
9805 + test ! -s conftest.err
9806 + } && test -s conftest$ac_exeext &&
9807 + $as_test_x conftest$ac_exeext; then
9808 mr_cv_catgets_based_gettext=yes
9810 - echo "configure: failed program was:" >&5
9811 - cat conftest.$ac_ext >&5
9813 - mr_cv_catgets_based_gettext=no
9817 + echo "$as_me: failed program was:" >&5
9818 +sed 's/^/| /' conftest.$ac_ext >&5
9820 + mr_cv_catgets_based_gettext=no
9823 -echo "$ac_t""$mr_cv_catgets_based_gettext" 1>&6
9824 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9825 + conftest$ac_exeext conftest.$ac_ext
9828 +{ echo "$as_me:$LINENO: result: $mr_cv_catgets_based_gettext" >&5
9829 +echo "${ECHO_T}$mr_cv_catgets_based_gettext" >&6; }
9830 if test "$mr_cv_catgets_based_gettext" = yes; then
9831 # This loses completely. Turn it off and use catgets.
9832 LIBS=`echo $LIBS | sed 's,-lintl,,g'`
9833 mr_cv_func_dgettext=no
9835 # Is there a better test for this case?
9836 - echo $ac_n "checking for pure GNU gettext""... $ac_c" 1>&6
9837 -echo "configure:2915: checking for pure GNU gettext" >&5
9838 -if eval "test \"`echo '$''{'mr_cv_pure_gnu_gettext'+set}'`\" = set"; then
9839 - echo $ac_n "(cached) $ac_c" 1>&6
9840 + { echo "$as_me:$LINENO: checking for pure GNU gettext" >&5
9841 +echo $ECHO_N "checking for pure GNU gettext... $ECHO_C" >&6; }
9842 +if test "${mr_cv_pure_gnu_gettext+set}" = set; then
9843 + echo $ECHO_N "(cached) $ECHO_C" >&6
9846 - cat > conftest.$ac_ext <<EOF
9847 -#line 2921 "configure"
9848 -#include "confdefs.h"
9851 + cat >conftest.$ac_ext <<_ACEOF
9854 +cat confdefs.h >>conftest.$ac_ext
9855 +cat >>conftest.$ac_ext <<_ACEOF
9856 +/* end confdefs.h. */
9861 extern int gettext(); return gettext()
9864 -if { (eval echo configure:2928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9870 +rm -f conftest.$ac_objext conftest$ac_exeext
9871 +if { (ac_try="$ac_link"
9872 +case "(($ac_try" in
9873 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9874 + *) ac_try_echo=$ac_try;;
9876 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9877 + (eval "$ac_link") 2>conftest.er1
9879 + grep -v '^ *+' conftest.er1 >conftest.err
9880 + rm -f conftest.er1
9881 + cat conftest.err >&5
9882 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 + (exit $ac_status); } && {
9884 + test -z "$ac_c_werror_flag" ||
9885 + test ! -s conftest.err
9886 + } && test -s conftest$ac_exeext &&
9887 + $as_test_x conftest$ac_exeext; then
9888 mr_cv_pure_gnu_gettext=yes
9890 - echo "configure: failed program was:" >&5
9891 - cat conftest.$ac_ext >&5
9893 - mr_cv_pure_gnu_gettext=no
9897 + echo "$as_me: failed program was:" >&5
9898 +sed 's/^/| /' conftest.$ac_ext >&5
9900 + mr_cv_pure_gnu_gettext=no
9903 -echo "$ac_t""$mr_cv_pure_gnu_gettext" 1>&6
9904 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9905 + conftest$ac_exeext conftest.$ac_ext
9908 +{ echo "$as_me:$LINENO: result: $mr_cv_pure_gnu_gettext" >&5
9909 +echo "${ECHO_T}$mr_cv_pure_gnu_gettext" >&6; }
9910 if test "$mr_cv_pure_gnu_gettext" = yes; then
9912 localedir='$(prefix)/share/locale'
9913 @@ -2959,172 +8317,213 @@ echo "$ac_t""$mr_cv_pure_gnu_gettext" 1>
9916 if test "$mr_cv_func_dgettext" = yes; then
9917 - cat >> confdefs.h <<\EOF
9918 + cat >>confdefs.h <<\_ACEOF
9919 #define HAVE_DGETTEXT 1
9924 - echo $ac_n "checking for catgets""... $ac_c" 1>&6
9925 -echo "configure:2969: checking for catgets" >&5
9926 -if eval "test \"`echo '$''{'mr_cv_func_catgets'+set}'`\" = set"; then
9927 - echo $ac_n "(cached) $ac_c" 1>&6
9928 + { echo "$as_me:$LINENO: checking for catgets" >&5
9929 +echo $ECHO_N "checking for catgets... $ECHO_C" >&6; }
9930 +if test "${mr_cv_func_catgets+set}" = set; then
9931 + echo $ECHO_N "(cached) $ECHO_C" >&6
9934 - cat > conftest.$ac_ext <<EOF
9935 -#line 2975 "configure"
9936 -#include "confdefs.h"
9938 + cat >conftest.$ac_ext <<_ACEOF
9941 +cat confdefs.h >>conftest.$ac_ext
9942 +cat >>conftest.$ac_ext <<_ACEOF
9943 +/* end confdefs.h. */
9944 #include <nl_types.h>
9949 catgets(catopen("",0),0,0,"");return 0;
9952 -if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9958 +rm -f conftest.$ac_objext conftest$ac_exeext
9959 +if { (ac_try="$ac_link"
9960 +case "(($ac_try" in
9961 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9962 + *) ac_try_echo=$ac_try;;
9964 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9965 + (eval "$ac_link") 2>conftest.er1
9967 + grep -v '^ *+' conftest.er1 >conftest.err
9968 + rm -f conftest.er1
9969 + cat conftest.err >&5
9970 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 + (exit $ac_status); } && {
9972 + test -z "$ac_c_werror_flag" ||
9973 + test ! -s conftest.err
9974 + } && test -s conftest$ac_exeext &&
9975 + $as_test_x conftest$ac_exeext; then
9976 mr_cv_func_catgets=yes
9978 - echo "configure: failed program was:" >&5
9979 - cat conftest.$ac_ext >&5
9981 - mr_cv_func_catgets=no
9985 + echo "$as_me: failed program was:" >&5
9986 +sed 's/^/| /' conftest.$ac_ext >&5
9988 + mr_cv_func_catgets=no
9991 -echo "$ac_t""$mr_cv_func_catgets" 1>&6
9992 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9993 + conftest$ac_exeext conftest.$ac_ext
9996 +{ echo "$as_me:$LINENO: result: $mr_cv_func_catgets" >&5
9997 +echo "${ECHO_T}$mr_cv_func_catgets" >&6; }
9998 if test "$mr_cv_func_catgets" = yes; then
9999 # Extract the first word of "gencat", so it can be a program name with args.
10000 set dummy gencat; ac_word=$2
10001 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10002 -echo "configure:3000: checking for $ac_word" >&5
10003 -if eval "test \"`echo '$''{'ac_cv_path_GENCAT'+set}'`\" = set"; then
10004 - echo $ac_n "(cached) $ac_c" 1>&6
10005 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10006 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10007 +if test "${ac_cv_path_GENCAT+set}" = set; then
10008 + echo $ECHO_N "(cached) $ECHO_C" >&6
10010 - case "$GENCAT" in
10013 + [\\/]* | ?:[\\/]*)
10014 ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a path.
10017 - ac_cv_path_GENCAT="$GENCAT" # Let the user override the test with a dos path.
10020 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10021 - ac_dummy="$mr_PATH"
10022 - for ac_dir in $ac_dummy; do
10023 - test -z "$ac_dir" && ac_dir=.
10024 - if test -f $ac_dir/$ac_word; then
10025 - ac_cv_path_GENCAT="$ac_dir/$ac_word"
10029 - IFS="$ac_save_ifs"
10030 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10031 +for as_dir in $mr_PATH
10034 + test -z "$as_dir" && as_dir=.
10035 + for ac_exec_ext in '' $ac_executable_extensions; do
10036 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10037 + ac_cv_path_GENCAT="$as_dir/$ac_word$ac_exec_ext"
10038 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10045 test -z "$ac_cv_path_GENCAT" && ac_cv_path_GENCAT="no"
10049 -GENCAT="$ac_cv_path_GENCAT"
10050 +GENCAT=$ac_cv_path_GENCAT
10051 if test -n "$GENCAT"; then
10052 - echo "$ac_t""$GENCAT" 1>&6
10053 + { echo "$as_me:$LINENO: result: $GENCAT" >&5
10054 +echo "${ECHO_T}$GENCAT" >&6; }
10056 - echo "$ac_t""no" 1>&6
10057 + { echo "$as_me:$LINENO: result: no" >&5
10058 +echo "${ECHO_T}no" >&6; }
10062 if test "$GENCAT" != no; then
10063 - cat >> confdefs.h <<\EOF
10064 + cat >>confdefs.h <<\_ACEOF
10065 #define HAVE_CATGETS 1
10069 # Extract the first word of "gmsgfmt msgfmt", so it can be a program name with args.
10070 set dummy gmsgfmt msgfmt; ac_word=$2
10071 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10072 -echo "configure:3041: checking for $ac_word" >&5
10073 -if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
10074 - echo $ac_n "(cached) $ac_c" 1>&6
10075 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10076 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10077 +if test "${ac_cv_path_GMSGFMT+set}" = set; then
10078 + echo $ECHO_N "(cached) $ECHO_C" >&6
10080 - case "$GMSGFMT" in
10083 + [\\/]* | ?:[\\/]*)
10084 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10087 - ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a dos path.
10090 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10091 - ac_dummy="$mr_PATH"
10092 - for ac_dir in $ac_dummy; do
10093 - test -z "$ac_dir" && ac_dir=.
10094 - if test -f $ac_dir/$ac_word; then
10095 - ac_cv_path_GMSGFMT="$ac_dir/$ac_word"
10099 - IFS="$ac_save_ifs"
10100 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10101 +for as_dir in $mr_PATH
10104 + test -z "$as_dir" && as_dir=.
10105 + for ac_exec_ext in '' $ac_executable_extensions; do
10106 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10107 + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10108 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10115 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="msgfmt"
10119 -GMSGFMT="$ac_cv_path_GMSGFMT"
10120 +GMSGFMT=$ac_cv_path_GMSGFMT
10121 if test -n "$GMSGFMT"; then
10122 - echo "$ac_t""$GMSGFMT" 1>&6
10123 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
10124 +echo "${ECHO_T}$GMSGFMT" >&6; }
10126 - echo "$ac_t""no" 1>&6
10127 + { echo "$as_me:$LINENO: result: no" >&5
10128 +echo "${ECHO_T}no" >&6; }
10132 # Extract the first word of "xgettext", so it can be a program name with args.
10133 set dummy xgettext; ac_word=$2
10134 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10135 -echo "configure:3077: checking for $ac_word" >&5
10136 -if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
10137 - echo $ac_n "(cached) $ac_c" 1>&6
10138 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10139 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10140 +if test "${ac_cv_path_XGETTEXT+set}" = set; then
10141 + echo $ECHO_N "(cached) $ECHO_C" >&6
10143 - case "$XGETTEXT" in
10145 + case $XGETTEXT in
10146 + [\\/]* | ?:[\\/]*)
10147 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
10150 - ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a dos path.
10153 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10154 - ac_dummy="$mr_PATH"
10155 - for ac_dir in $ac_dummy; do
10156 - test -z "$ac_dir" && ac_dir=.
10157 - if test -f $ac_dir/$ac_word; then
10158 - ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
10162 - IFS="$ac_save_ifs"
10163 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 +for as_dir in $mr_PATH
10167 + test -z "$as_dir" && as_dir=.
10168 + for ac_exec_ext in '' $ac_executable_extensions; do
10169 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10170 + ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
10171 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10178 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="xgettext"
10182 -XGETTEXT="$ac_cv_path_XGETTEXT"
10183 +XGETTEXT=$ac_cv_path_XGETTEXT
10184 if test -n "$XGETTEXT"; then
10185 - echo "$ac_t""$XGETTEXT" 1>&6
10186 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
10187 +echo "${ECHO_T}$XGETTEXT" >&6; }
10189 - echo "$ac_t""no" 1>&6
10190 + { echo "$as_me:$LINENO: result: no" >&5
10191 +echo "${ECHO_T}no" >&6; }
10197 localedir='$(prefix)/lib/locale'
10200 - echo "configure: warning: no NLS support, disabled" 1>&2
10201 + { echo "$as_me:$LINENO: WARNING: no NLS support, disabled" >&5
10202 +echo "$as_me: WARNING: no NLS support, disabled" >&2;}
10216 if test "$mr_enable_nls" = yes; then
10217 - echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
10218 -echo "configure:3128: checking for catalogs to be installed" >&5
10219 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
10220 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
10222 for mr_lang in ${LINGUAS=$ALL_LINGUAS}; do
10223 case " $ALL_LINGUAS " in
10224 @@ -3134,84 +8533,166 @@ echo "configure:3128: checking for catal
10228 - echo "$ac_t""$mr_linguas" 1>&6
10229 + { echo "$as_me:$LINENO: result: $mr_linguas" >&5
10230 +echo "${ECHO_T}$mr_linguas" >&6; }
10239 -echo $ac_n "checking for gettext in -lintl""... $ac_c" 1>&6
10240 -echo "configure:3146: checking for gettext in -lintl" >&5
10241 -ac_lib_var=`echo intl'_'gettext | sed 'y%./+-%__p_%'`
10242 -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10243 - echo $ac_n "(cached) $ac_c" 1>&6
10244 +{ echo "$as_me:$LINENO: checking for gettext in -lintl" >&5
10245 +echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6; }
10246 +if test "${ac_cv_lib_intl_gettext+set}" = set; then
10247 + echo $ECHO_N "(cached) $ECHO_C" >&6
10249 - ac_save_LIBS="$LIBS"
10250 + ac_check_lib_save_LIBS=$LIBS
10251 LIBS="-lintl $LIBS"
10252 -cat > conftest.$ac_ext <<EOF
10253 -#line 3154 "configure"
10254 -#include "confdefs.h"
10255 -/* Override any gcc2 internal prototype to avoid an error. */
10256 -/* We use char because int might match the return type of a gcc2
10257 - builtin and then its argument prototype would still apply. */
10259 +cat >conftest.$ac_ext <<_ACEOF
10262 +cat confdefs.h >>conftest.$ac_ext
10263 +cat >>conftest.$ac_ext <<_ACEOF
10264 +/* end confdefs.h. */
10270 -if { (eval echo configure:3165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10272 - eval "ac_cv_lib_$ac_lib_var=yes"
10273 +/* Override any GCC internal prototype to avoid an error.
10274 + Use char because int might match the return type of a GCC
10275 + builtin and then its argument prototype would still apply. */
10276 +#ifdef __cplusplus
10283 +return gettext ();
10288 +rm -f conftest.$ac_objext conftest$ac_exeext
10289 +if { (ac_try="$ac_link"
10290 +case "(($ac_try" in
10291 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10292 + *) ac_try_echo=$ac_try;;
10294 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10295 + (eval "$ac_link") 2>conftest.er1
10297 + grep -v '^ *+' conftest.er1 >conftest.err
10298 + rm -f conftest.er1
10299 + cat conftest.err >&5
10300 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 + (exit $ac_status); } && {
10302 + test -z "$ac_c_werror_flag" ||
10303 + test ! -s conftest.err
10304 + } && test -s conftest$ac_exeext &&
10305 + $as_test_x conftest$ac_exeext; then
10306 + ac_cv_lib_intl_gettext=yes
10308 - echo "configure: failed program was:" >&5
10309 - cat conftest.$ac_ext >&5
10311 - eval "ac_cv_lib_$ac_lib_var=no"
10312 + echo "$as_me: failed program was:" >&5
10313 +sed 's/^/| /' conftest.$ac_ext >&5
10315 + ac_cv_lib_intl_gettext=no
10318 -LIBS="$ac_save_LIBS"
10320 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10321 + conftest$ac_exeext conftest.$ac_ext
10322 +LIBS=$ac_check_lib_save_LIBS
10324 -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10325 - echo "$ac_t""yes" 1>&6
10326 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
10327 +echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6; }
10328 +if test $ac_cv_lib_intl_gettext = yes; then
10331 - echo "$ac_t""no" 1>&6
10337 # Make sure we can run config.sub.
10338 -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
10339 -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
10340 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
10341 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
10342 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
10343 + { (exit 1); exit 1; }; }
10345 +{ echo "$as_me:$LINENO: checking build system type" >&5
10346 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
10347 +if test "${ac_cv_build+set}" = set; then
10348 + echo $ECHO_N "(cached) $ECHO_C" >&6
10350 + ac_build_alias=$build_alias
10351 +test "x$ac_build_alias" = x &&
10352 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
10353 +test "x$ac_build_alias" = x &&
10354 + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
10355 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
10356 + { (exit 1); exit 1; }; }
10357 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
10358 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
10359 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
10360 + { (exit 1); exit 1; }; }
10363 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
10364 +echo "${ECHO_T}$ac_cv_build" >&6; }
10365 +case $ac_cv_build in
10367 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
10368 +echo "$as_me: error: invalid value of canonical build" >&2;}
10369 + { (exit 1); exit 1; }; };;
10371 +build=$ac_cv_build
10372 +ac_save_IFS=$IFS; IFS='-'
10373 +set x $ac_cv_build
10378 +# Remember, the first character of IFS is used to create $*,
10379 +# except with old shells:
10382 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
10384 -echo $ac_n "checking host system type""... $ac_c" 1>&6
10385 -echo "configure:3194: checking host system type" >&5
10388 -case "$host_alias" in
10392 - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
10393 - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
10395 - *) host_alias=$nonopt ;;
10397 +{ echo "$as_me:$LINENO: checking host system type" >&5
10398 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
10399 +if test "${ac_cv_host+set}" = set; then
10400 + echo $ECHO_N "(cached) $ECHO_C" >&6
10402 + if test "x$host_alias" = x; then
10403 + ac_cv_host=$ac_cv_build
10405 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
10406 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
10407 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
10408 + { (exit 1); exit 1; }; }
10412 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
10413 +echo "${ECHO_T}$ac_cv_host" >&6; }
10414 +case $ac_cv_host in
10416 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
10417 +echo "$as_me: error: invalid value of canonical host" >&2;}
10418 + { (exit 1); exit 1; }; };;
10421 +ac_save_IFS=$IFS; IFS='-'
10427 +# Remember, the first character of IFS is used to create $*,
10428 +# except with old shells:
10431 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
10434 -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
10435 -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
10436 -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
10437 -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
10438 -echo "$ac_t""$host" 1>&6
10445 @@ -3219,83 +8700,91 @@ echo "$ac_t""$host" 1>&6
10449 - echo $ac_n "checking whether to build a shared library""... $ac_c" 1>&6
10450 -echo "configure:3224: checking whether to build a shared library" >&5
10451 - # Check whether --enable-shared or --disable-shared was given.
10452 + { echo "$as_me:$LINENO: checking whether to build a shared library" >&5
10453 +echo $ECHO_N "checking whether to build a shared library... $ECHO_C" >&6; }
10454 + # Check whether --enable-shared was given.
10455 if test "${enable_shared+set}" = set; then
10456 - enableval="$enable_shared"
10457 - mr_enable_shared="$enableval"
10458 + enableval=$enable_shared; mr_enable_shared="$enableval"
10460 mr_enable_shared=yes
10463 - echo "$ac_t""$mr_enable_shared" 1>&6
10464 + { echo "$as_me:$LINENO: result: $mr_enable_shared" >&5
10465 +echo "${ECHO_T}$mr_enable_shared" >&6; }
10466 if test "$mr_enable_shared" = yes; then
10467 - echo $ac_n "checking whether GNU naming conventions are requested""... $ac_c" 1>&6
10468 -echo "configure:3236: checking whether GNU naming conventions are requested" >&5
10469 - # Check whether --enable-gnu-names or --disable-gnu-names was given.
10470 + { echo "$as_me:$LINENO: checking whether GNU naming conventions are requested" >&5
10471 +echo $ECHO_N "checking whether GNU naming conventions are requested... $ECHO_C" >&6; }
10472 + # Check whether --enable-gnu-names was given.
10473 if test "${enable_gnu_names+set}" = set; then
10474 - enableval="$enable_gnu_names"
10475 - mr_enable_gnu_names="$enableval"
10476 + enableval=$enable_gnu_names; mr_enable_gnu_names="$enableval"
10478 mr_enable_gnu_names=no
10481 - echo "$ac_t""$mr_enable_gnu_names" 1>&6
10484 + { echo "$as_me:$LINENO: result: $mr_enable_gnu_names" >&5
10485 +echo "${ECHO_T}$mr_enable_gnu_names" >&6; }
10488 # Extract the first word of "ld", so it can be a program name with args.
10489 set dummy ld; ac_word=$2
10490 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10491 -echo "configure:3251: checking for $ac_word" >&5
10492 -if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
10493 - echo $ac_n "(cached) $ac_c" 1>&6
10494 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10495 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10496 +if test "${ac_cv_path_LD+set}" = set; then
10497 + echo $ECHO_N "(cached) $ECHO_C" >&6
10502 + [\\/]* | ?:[\\/]*)
10503 ac_cv_path_LD="$LD" # Let the user override the test with a path.
10506 - ac_cv_path_LD="$LD" # Let the user override the test with a dos path.
10509 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10511 - for ac_dir in $ac_dummy; do
10512 - test -z "$ac_dir" && ac_dir=.
10513 - if test -f $ac_dir/$ac_word; then
10514 - ac_cv_path_LD="$ac_dir/$ac_word"
10518 - IFS="$ac_save_ifs"
10519 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10520 +for as_dir in $PATH
10523 + test -z "$as_dir" && as_dir=.
10524 + for ac_exec_ext in '' $ac_executable_extensions; do
10525 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10526 + ac_cv_path_LD="$as_dir/$ac_word$ac_exec_ext"
10527 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10534 test -z "$ac_cv_path_LD" && ac_cv_path_LD="ld"
10538 -LD="$ac_cv_path_LD"
10540 if test -n "$LD"; then
10541 - echo "$ac_t""$LD" 1>&6
10542 + { echo "$as_me:$LINENO: result: $LD" >&5
10543 +echo "${ECHO_T}$LD" >&6; }
10545 - echo "$ac_t""no" 1>&6
10546 + { echo "$as_me:$LINENO: result: no" >&5
10547 +echo "${ECHO_T}no" >&6; }
10553 if test "$GCC" = yes; then
10556 - echo $ac_n "checking for native ELF system""... $ac_c" 1>&6
10557 -echo "configure:3290: checking for native ELF system" >&5
10558 -if eval "test \"`echo '$''{'mr_cv_target_elf'+set}'`\" = set"; then
10559 - echo $ac_n "(cached) $ac_c" 1>&6
10562 + { echo "$as_me:$LINENO: checking for native ELF system" >&5
10563 +echo $ECHO_N "checking for native ELF system... $ECHO_C" >&6; }
10564 +if test "${mr_cv_target_elf+set}" = set; then
10565 + echo $ECHO_N "(cached) $ECHO_C" >&6
10567 if test "$cross_compiling" = yes; then
10568 mr_cv_target_elf=no
10570 - cat > conftest.$ac_ext <<EOF
10571 -#line 3298 "configure"
10572 -#include "confdefs.h"
10573 + cat >conftest.$ac_ext <<_ACEOF
10576 +cat confdefs.h >>conftest.$ac_ext
10577 +cat >>conftest.$ac_ext <<_ACEOF
10578 +/* end confdefs.h. */
10581 main(int argc, char **argv) {
10582 @@ -3316,22 +8805,43 @@ main(int argc, char **argv) {
10587 -if { (eval echo configure:3321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10590 +rm -f conftest$ac_exeext
10591 +if { (ac_try="$ac_link"
10592 +case "(($ac_try" in
10593 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10594 + *) ac_try_echo=$ac_try;;
10596 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10597 + (eval "$ac_link") 2>&5
10599 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10600 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10601 + { (case "(($ac_try" in
10602 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10603 + *) ac_try_echo=$ac_try;;
10605 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10606 + (eval "$ac_try") 2>&5
10608 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 + (exit $ac_status); }; }; then
10610 mr_cv_target_elf=yes
10612 - echo "configure: failed program was:" >&5
10613 - cat conftest.$ac_ext >&5
10615 - mr_cv_target_elf=no
10616 + echo "$as_me: program exited with status $ac_status" >&5
10617 +echo "$as_me: failed program was:" >&5
10618 +sed 's/^/| /' conftest.$ac_ext >&5
10620 +( exit $ac_status )
10621 +mr_cv_target_elf=no
10624 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10629 -echo "$ac_t""$mr_cv_target_elf" 1>&6
10631 +{ echo "$as_me:$LINENO: result: $mr_cv_target_elf" >&5
10632 +echo "${ECHO_T}$mr_cv_target_elf" >&6; }
10633 if test "$mr_cv_target_elf" = yes; then
10634 PICFLAGS='-fPIC -DPIC'
10635 if test "$mr_enable_gnu_names" = yes
10636 @@ -3344,11 +8854,13 @@ echo "$ac_t""$mr_cv_target_elf" 1>&6
10637 INSTALL_SHLIB='$(INSTALL_PROGRAM)'
10640 - echo "configure: warning: shared libraries not supported for $host" 1>&2
10641 + { echo "$as_me:$LINENO: WARNING: shared libraries not supported for $host" >&5
10642 +echo "$as_me: WARNING: shared libraries not supported for $host" >&2;}
10643 mr_enable_shared=no
10645 elif ${CC} -V 2>&1 | grep 'Intel(R) C++ Compiler' >/dev/null 2>&1; then
10646 - echo "configure: warning: Use --disable-shared if $CC fails to build the shared library" 1>&2
10647 + { echo "$as_me:$LINENO: WARNING: Use --disable-shared if $CC fails to build the shared library" >&5
10648 +echo "$as_me: WARNING: Use --disable-shared if $CC fails to build the shared library" >&2;}
10649 PICFLAGS='-fPIC -DPIC'
10650 if test "$mr_enable_gnu_names" = yes
10651 then SHLIB_SFX='-$(VERSION).so'
10652 @@ -3360,24 +8872,28 @@ echo "$ac_t""$mr_cv_target_elf" 1>&6
10653 INSTALL_SHLIB='$(INSTALL_PROGRAM)'
10656 - echo "configure: warning: GNU CC required for building shared libraries" 1>&2
10657 + { echo "$as_me:$LINENO: WARNING: GNU CC required for building shared libraries" >&5
10658 +echo "$as_me: WARNING: GNU CC required for building shared libraries" >&2;}
10659 mr_enable_shared=no
10665 - echo $ac_n "checking for native ELF system""... $ac_c" 1>&6
10666 -echo "configure:3372: checking for native ELF system" >&5
10667 -if eval "test \"`echo '$''{'mr_cv_target_elf'+set}'`\" = set"; then
10668 - echo $ac_n "(cached) $ac_c" 1>&6
10671 + { echo "$as_me:$LINENO: checking for native ELF system" >&5
10672 +echo $ECHO_N "checking for native ELF system... $ECHO_C" >&6; }
10673 +if test "${mr_cv_target_elf+set}" = set; then
10674 + echo $ECHO_N "(cached) $ECHO_C" >&6
10676 if test "$cross_compiling" = yes; then
10677 mr_cv_target_elf=no
10679 - cat > conftest.$ac_ext <<EOF
10680 -#line 3380 "configure"
10681 -#include "confdefs.h"
10682 + cat >conftest.$ac_ext <<_ACEOF
10685 +cat confdefs.h >>conftest.$ac_ext
10686 +cat >>conftest.$ac_ext <<_ACEOF
10687 +/* end confdefs.h. */
10690 main(int argc, char **argv) {
10691 @@ -3398,22 +8914,43 @@ main(int argc, char **argv) {
10696 -if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10699 +rm -f conftest$ac_exeext
10700 +if { (ac_try="$ac_link"
10701 +case "(($ac_try" in
10702 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10703 + *) ac_try_echo=$ac_try;;
10705 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10706 + (eval "$ac_link") 2>&5
10708 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10710 + { (case "(($ac_try" in
10711 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10712 + *) ac_try_echo=$ac_try;;
10714 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10715 + (eval "$ac_try") 2>&5
10717 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 + (exit $ac_status); }; }; then
10719 mr_cv_target_elf=yes
10721 - echo "configure: failed program was:" >&5
10722 - cat conftest.$ac_ext >&5
10724 - mr_cv_target_elf=no
10725 + echo "$as_me: program exited with status $ac_status" >&5
10726 +echo "$as_me: failed program was:" >&5
10727 +sed 's/^/| /' conftest.$ac_ext >&5
10729 +( exit $ac_status )
10730 +mr_cv_target_elf=no
10733 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10738 -echo "$ac_t""$mr_cv_target_elf" 1>&6
10740 +{ echo "$as_me:$LINENO: result: $mr_cv_target_elf" >&5
10741 +echo "${ECHO_T}$mr_cv_target_elf" >&6; }
10742 if test "$mr_cv_target_elf" = yes; then
10743 PICFLAGS='-fPIC -DPIC'
10744 if test "$mr_enable_gnu_names" = yes
10745 @@ -3426,7 +8963,8 @@ echo "$ac_t""$mr_cv_target_elf" 1>&6
10746 INSTALL_SHLIB='$(INSTALL_PROGRAM)'
10749 - echo "configure: warning: shared libraries not supported for $host" 1>&2
10750 + { echo "$as_me:$LINENO: WARNING: shared libraries not supported for $host" >&5
10751 +echo "$as_me: WARNING: shared libraries not supported for $host" >&2;}
10752 mr_enable_shared=no
10755 @@ -3446,465 +8984,1227 @@ echo "$ac_t""$mr_cv_target_elf" 1>&6
10756 INSTALL_SHLIB='$(INSTALL_PROGRAM)'
10759 - echo "configure: warning: shared libraries not supported for $host" 1>&2
10760 + { echo "$as_me:$LINENO: WARNING: shared libraries not supported for $host" >&5
10761 +echo "$as_me: WARNING: shared libraries not supported for $host" >&2;}
10762 mr_enable_shared=no
10766 mr_enable_shared=no
10782 DO_SHLIB="$mr_enable_shared"
10786 -# Check whether --enable-extended-format or --disable-extended-format was given.
10788 +# Check whether --enable-extended-format was given.
10789 if test "${enable_extended_format+set}" = set; then
10790 - enableval="$enable_extended_format"
10791 - mr_enable_extended_format="$enableval"
10792 + enableval=$enable_extended_format; mr_enable_extended_format="$enableval"
10794 mr_enable_extended_format=no
10797 if test "$mr_enable_extended_format" = yes; then
10798 - cat >> confdefs.h <<\EOF
10799 + cat >>confdefs.h <<\_ACEOF
10800 #define ENABLE_EXTENDED_FORMAT 1
10806 -# Check whether --enable-sanity-checks or --disable-sanity-checks was given.
10807 +# Check whether --enable-sanity-checks was given.
10808 if test "${enable_sanity_checks+set}" = set; then
10809 - enableval="$enable_sanity_checks"
10810 - mr_enable_sanity_checks="$enableval"
10811 + enableval=$enable_sanity_checks; mr_enable_sanity_checks="$enableval"
10813 mr_enable_sanity_checks=yes
10816 if test "$mr_enable_sanity_checks" = yes; then
10817 - cat >> confdefs.h <<\EOF
10818 + cat >>confdefs.h <<\_ACEOF
10819 #define ENABLE_SANITY_CHECKS 1
10827 - # Check whether --enable-debug or --disable-debug was given.
10829 + # Check whether --enable-debug was given.
10830 if test "${enable_debug+set}" = set; then
10831 - enableval="$enable_debug"
10832 - mr_enable_debug="$enableval"
10833 + enableval=$enable_debug; mr_enable_debug="$enableval"
10838 if test "$mr_enable_debug" = yes; then
10839 - cat >> confdefs.h <<\EOF
10840 + cat >>confdefs.h <<\_ACEOF
10841 #define ENABLE_DEBUG 1
10849 -cat > confcache <<\EOF
10850 +ac_config_files="$ac_config_files Makefile lib/Makefile po/Makefile libelf.pc"
10852 +ac_config_commands="$ac_config_commands default"
10854 +cat >confcache <<\_ACEOF
10855 # This file is a shell script that caches the results of configure
10856 # tests run on this system so they can be shared between configure
10857 -# scripts and configure runs. It is not useful on other systems.
10858 -# If it contains results you don't want to keep, you may remove or edit it.
10859 +# scripts and configure runs, see configure's option --config-cache.
10860 +# It is not useful on other systems. If it contains results you don't
10861 +# want to keep, you may remove or edit it.
10863 -# By default, configure uses ./config.cache as the cache file,
10864 -# creating it if it does not exist already. You can give configure
10865 -# the --cache-file=FILE option to use a different cache file; that is
10866 -# what configure does when it calls configure scripts in
10867 -# subdirectories, so they share the cache.
10868 -# Giving --cache-file=/dev/null disables caching, for debugging configure.
10869 -# config.status only pays attention to the cache file if you give it the
10870 -# --recheck option to rerun configure.
10871 +# config.status only pays attention to the cache file if you give it
10872 +# the --recheck option to rerun configure.
10875 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
10876 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
10877 +# following values.
10881 # The following way of writing the cache mishandles newlines in values,
10882 # but we know of no workaround that is simple, portable, and efficient.
10883 -# So, don't put newlines in cache variables' values.
10884 +# So, we kill variables containing newlines.
10885 # Ultrix sh set writes to stderr and can't be redirected directly,
10886 # and sets the high bit in the cache file unless we assign to the vars.
10888 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
10890 - # `set' does not quote correctly, so add quotes (double-quote substitution
10891 - # turns \\\\ into \\, and sed turns \\ into \).
10893 - -e "s/'/'\\\\''/g" \
10894 - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10897 - # `set' quotes correctly as required by POSIX, so do not add quotes.
10898 - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10900 - esac >> confcache
10901 -if cmp -s $cache_file confcache; then
10904 - if test -w $cache_file; then
10905 - echo "updating cache $cache_file"
10906 - cat confcache > $cache_file
10908 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10909 + eval ac_val=\$$ac_var
10910 + case $ac_val in #(
10912 + case $ac_var in #(
10913 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10914 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10916 + case $ac_var in #(
10917 + _ | IFS | as_nl) ;; #(
10918 + *) $as_unset $ac_var ;;
10924 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
10925 + *${as_nl}ac_space=\ *)
10926 + # `set' does not quote correctly, so add quotes (double-quote
10927 + # substitution turns \\\\ into \\, and sed turns \\ into \).
10930 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10933 + # `set' quotes correctly as required by POSIX, so do not add quotes.
10934 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10940 + /^ac_cv_env_/b end
10943 + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10945 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10946 + :end' >>confcache
10947 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10948 + if test -w "$cache_file"; then
10949 + test "x$cache_file" != "x/dev/null" &&
10950 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10951 +echo "$as_me: updating cache $cache_file" >&6;}
10952 + cat confcache >$cache_file
10954 - echo "not updating unwritable cache $cache_file"
10955 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10956 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10961 -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
10963 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10964 # Let make expand exec_prefix.
10965 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10967 -# Any assignment to VPATH causes Sun make to only execute
10968 -# the first set of double-colon rules, so remove it if not needed.
10969 -# If there is a colon in the path, we need to keep it.
10970 -if test "x$srcdir" = x.; then
10971 - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
10973 +DEFS=-DHAVE_CONFIG_H
10975 -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
10978 +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10979 + # 1. Remove the extension, and $U if already installed.
10980 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10981 + ac_i=`echo "$ac_i" | sed "$ac_script"`
10982 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10983 + # will be set to the directory where LIBOBJS objects are built.
10984 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10985 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10987 +LIBOBJS=$ac_libobjs
10989 -DEFS=-DHAVE_CONFIG_H
10990 +LTLIBOBJS=$ac_ltlibobjs
10992 -# Without the "./", some shells look in PATH for config.status.
10993 -: ${CONFIG_STATUS=./config.status}
10995 -echo creating $CONFIG_STATUS
10996 -rm -f $CONFIG_STATUS
10997 -cat > $CONFIG_STATUS <<EOF
10999 -# Generated automatically by configure.
11001 +: ${CONFIG_STATUS=./config.status}
11002 +ac_clean_files_save=$ac_clean_files
11003 +ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11004 +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11005 +echo "$as_me: creating $CONFIG_STATUS" >&6;}
11006 +cat >$CONFIG_STATUS <<_ACEOF
11008 +# Generated by $as_me.
11009 # Run this file to recreate the current configuration.
11010 -# This directory was configured as follows,
11011 -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11013 -# $0 $ac_configure_args
11015 # Compiler output produced by configure, useful for debugging
11016 -# configure, is in ./config.log if it exists.
11017 +# configure, is in config.log if it exists.
11019 -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11022 - case "\$ac_option" in
11023 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11024 - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11025 - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11026 - -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11027 - echo "$CONFIG_STATUS generated by autoconf version 2.13"
11029 - -help | --help | --hel | --he | --h)
11030 - echo "\$ac_cs_usage"; exit 0 ;;
11031 - *) echo "\$ac_cs_usage"; exit 1 ;;
11035 +ac_cs_recheck=false
11036 +ac_cs_silent=false
11037 +SHELL=\${CONFIG_SHELL-$SHELL}
11040 -ac_given_srcdir=$srcdir
11041 -ac_given_INSTALL="$INSTALL"
11042 +cat >>$CONFIG_STATUS <<\_ACEOF
11043 +## --------------------- ##
11044 +## M4sh Initialization. ##
11045 +## --------------------- ##
11047 -trap 'rm -fr `echo "Makefile lib/Makefile po/Makefile libelf.pc config.h lib/sys_elf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11049 -cat >> $CONFIG_STATUS <<EOF
11050 +# Be more Bourne compatible
11051 +DUALCASE=1; export DUALCASE # for MKS sh
11052 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11055 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11056 + # is contrary to our usage. Disable this feature.
11057 + alias -g '${1+"$@"}'='"$@"'
11058 + setopt NO_GLOB_SUBST
11060 + case `(set -o) 2>/dev/null` in
11061 + *posix*) set -o posix ;;
11064 -# Protect against being on the right side of a sed subst in config.status.
11065 -sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11066 - s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11069 -s%@SHELL@%$SHELL%g
11070 -s%@CFLAGS@%$CFLAGS%g
11071 -s%@CPPFLAGS@%$CPPFLAGS%g
11072 -s%@CXXFLAGS@%$CXXFLAGS%g
11073 -s%@FFLAGS@%$FFLAGS%g
11075 -s%@LDFLAGS@%$LDFLAGS%g
11077 -s%@exec_prefix@%$exec_prefix%g
11078 -s%@prefix@%$prefix%g
11079 -s%@program_transform_name@%$program_transform_name%g
11080 -s%@bindir@%$bindir%g
11081 -s%@sbindir@%$sbindir%g
11082 -s%@libexecdir@%$libexecdir%g
11083 -s%@datadir@%$datadir%g
11084 -s%@sysconfdir@%$sysconfdir%g
11085 -s%@sharedstatedir@%$sharedstatedir%g
11086 -s%@localstatedir@%$localstatedir%g
11087 -s%@libdir@%$libdir%g
11088 -s%@includedir@%$includedir%g
11089 -s%@oldincludedir@%$oldincludedir%g
11090 -s%@infodir@%$infodir%g
11091 -s%@mandir@%$mandir%g
11092 -s%@PACKAGE@%$PACKAGE%g
11093 -s%@VERSION@%$VERSION%g
11094 -s%@MAINT@%$MAINT%g
11095 -s%@MAJOR@%$MAJOR%g
11096 -s%@SET_MAKE@%$SET_MAKE%g
11099 -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
11100 -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
11101 -s%@INSTALL_DATA@%$INSTALL_DATA%g
11102 -s%@RANLIB@%$RANLIB%g
11104 -s%@DO_COMPAT@%$DO_COMPAT%g
11105 -s%@LIBOBJS@%$LIBOBJS%g
11106 -s%@GMOFILES@%$GMOFILES%g
11107 -s%@MSGFILES@%$MSGFILES%g
11108 -s%@POFILES@%$POFILES%g
11109 -s%@MSGFMT@%$MSGFMT%g
11110 -s%@GMSGFMT@%$GMSGFMT%g
11111 -s%@XGETTEXT@%$XGETTEXT%g
11112 -s%@MSGMERGE@%$MSGMERGE%g
11113 -s%@GENCAT@%$GENCAT%g
11114 -s%@CATOBJEXT@%$CATOBJEXT%g
11115 -s%@INSTOBJEXT@%$INSTOBJEXT%g
11116 -s%@localedir@%$localedir%g
11117 -s%@CATALOGS@%$CATALOGS%g
11118 -s%@POSUB@%$POSUB%g
11119 -s%@LIBINTL@%$LIBINTL%g
11121 -s%@host_alias@%$host_alias%g
11122 -s%@host_cpu@%$host_cpu%g
11123 -s%@host_vendor@%$host_vendor%g
11124 -s%@host_os@%$host_os%g
11126 -s%@PICFLAGS@%$PICFLAGS%g
11127 -s%@SHLIB_SFX@%$SHLIB_SFX%g
11128 -s%@SHLINK_SFX@%$SHLINK_SFX%g
11129 -s%@SONAME_SFX@%$SONAME_SFX%g
11130 -s%@LINK_SHLIB@%$LINK_SHLIB%g
11131 -s%@INSTALL_SHLIB@%$INSTALL_SHLIB%g
11132 -s%@DEPSHLIBS@%$DEPSHLIBS%g
11133 -s%@DO_SHLIB@%$DO_SHLIB%g
11139 -cat >> $CONFIG_STATUS <<\EOF
11141 -# Split the substitutions into bite-sized pieces for seds with
11142 -# small command number limits, like on Digital OSF/1 and HP-UX.
11143 -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
11144 -ac_file=1 # Number of current file.
11145 -ac_beg=1 # First line for current file.
11146 -ac_end=$ac_max_sed_cmds # Line after last line for current file.
11149 -while $ac_more_lines; do
11150 - if test $ac_beg -gt 1; then
11151 - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
11154 +# Avoid depending upon Character Ranges.
11155 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11156 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11157 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11158 +as_cr_digits='0123456789'
11159 +as_cr_alnum=$as_cr_Letters$as_cr_digits
11161 +# The user is always right.
11162 +if test "${PATH_SEPARATOR+set}" != set; then
11163 + echo "#! /bin/sh" >conf$$.sh
11164 + echo "exit 0" >>conf$$.sh
11165 + chmod +x conf$$.sh
11166 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11167 + PATH_SEPARATOR=';'
11169 - sed "${ac_end}q" conftest.subs > conftest.s$ac_file
11172 - if test ! -s conftest.s$ac_file; then
11173 - ac_more_lines=false
11174 - rm -f conftest.s$ac_file
11178 +# Support unset when possible.
11179 +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11187 +# We need space, tab and new line, in precisely that order. Quoting is
11188 +# there to prevent editors from complaining about space-tab.
11189 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11190 +# splitting by setting IFS to empty value.)
11195 +# Find who we are. Look in the path if we contain no directory separator.
11197 + *[\\/]* ) as_myself=$0 ;;
11198 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11199 +for as_dir in $PATH
11202 + test -z "$as_dir" && as_dir=.
11203 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11209 +# We did not find ourselves, most probably we were run as `sh COMMAND'
11210 +# in which case we are not to be found in the path.
11211 +if test "x$as_myself" = x; then
11214 +if test ! -f "$as_myself"; then
11215 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11216 + { (exit 1); exit 1; }
11219 +# Work around bugs in pre-3.0 UWIN ksh.
11220 +for as_var in ENV MAIL MAILPATH
11221 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11229 + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11230 + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11231 + LC_TELEPHONE LC_TIME
11233 + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11234 + eval $as_var=C; export $as_var
11236 - if test -z "$ac_sed_cmds"; then
11237 - ac_sed_cmds="sed -f conftest.s$ac_file"
11239 - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
11241 - ac_file=`expr $ac_file + 1`
11243 - ac_end=`expr $ac_end + $ac_max_sed_cmds`
11244 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11247 -if test -z "$ac_sed_cmds"; then
11250 +# Required to use basename.
11251 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11252 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11259 -cat >> $CONFIG_STATUS <<EOF
11260 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11261 + as_basename=basename
11263 + as_basename=false
11266 -CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile po/Makefile libelf.pc"}
11268 -cat >> $CONFIG_STATUS <<\EOF
11269 -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
11270 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11271 - case "$ac_file" in
11272 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
11273 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
11274 - *) ac_file_in="${ac_file}.in" ;;
11277 - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
11278 +# Name of the executable.
11279 +as_me=`$as_basename -- "$0" ||
11280 +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11281 + X"$0" : 'X\(//\)$' \| \
11282 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11284 + sed '/^.*\/\([^/][^/]*\)\/*$/{
11298 - # Remove last slash and all that follows it. Not all systems have dirname.
11299 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
11300 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11301 - # The file is in a subdirectory.
11302 - test ! -d "$ac_dir" && mkdir "$ac_dir"
11303 - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
11304 - # A "../" for each directory in $ac_dir_suffix.
11305 - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
11311 + as_lineno_1=$LINENO
11312 + as_lineno_2=$LINENO
11313 + test "x$as_lineno_1" != "x$as_lineno_2" &&
11314 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11316 + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11317 + # uniformly replaced by the line number. The first 'sed' inserts a
11318 + # line-number line after each line using $LINENO; the second 'sed'
11319 + # does the real work. The second script uses 'N' to pair each
11320 + # line-number line with the line containing $LINENO, and appends
11321 + # trailing '-' during substitution so that $LINENO is not a special
11322 + # case at line end.
11323 + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11324 + # scripts with optimization help from Paolo Bonzini. Blame Lee
11325 + # E. McMahon (1931-1989) for sed's syntax. :-)
11331 + s/[$]LINENO.*/&-/
11337 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11340 + ' >$as_me.lineno &&
11341 + chmod +x "$as_me.lineno" ||
11342 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11343 + { (exit 1); exit 1; }; }
11345 + # Don't try to exec as it changes $[0], causing all sort of problems
11346 + # (the dirname of $[0] is not the place where we might find the
11347 + # original and so on. Autoconf is especially sensitive to this).
11348 + . "./$as_me.lineno"
11349 + # Exit status is that of the last command.
11354 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11355 + as_dirname=dirname
11360 +ECHO_C= ECHO_N= ECHO_T=
11361 +case `echo -n x` in
11363 + case `echo 'x\c'` in
11364 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
11371 +if expr a : '\(a\)' >/dev/null 2>&1 &&
11372 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
11378 +rm -f conf$$ conf$$.exe conf$$.file
11379 +if test -d conf$$.dir; then
11380 + rm -f conf$$.dir/conf$$.file
11386 +if ln -s conf$$.file conf$$ 2>/dev/null; then
11388 + # ... but there are two gotchas:
11389 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11390 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11391 + # In both cases, we have to default to `cp -p'.
11392 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11394 +elif ln conf$$.file conf$$ 2>/dev/null; then
11399 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11400 +rmdir conf$$.dir 2>/dev/null
11402 +if mkdir -p . 2>/dev/null; then
11405 + test -d ./-p && rmdir ./-p
11409 +if test -x / >/dev/null 2>&1; then
11410 + as_test_x='test -x'
11412 + if ls -dL / >/dev/null 2>&1; then
11415 - ac_dir_suffix= ac_dots=
11420 + if test -d "$1"; then
11426 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11427 + ???[sx]*):;;*)false;;esac;fi
11431 +as_executable_p=$as_test_x
11433 - case "$ac_given_srcdir" in
11435 - if test -z "$ac_dots"; then top_srcdir=.
11436 - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
11437 - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
11438 - *) # Relative path.
11439 - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
11440 - top_srcdir="$ac_dots$ac_given_srcdir" ;;
11441 +# Sed expression to map a string onto a valid CPP name.
11442 +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11444 +# Sed expression to map a string onto a valid variable name.
11445 +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11450 +# Save the log message, to keep $[0] and so on meaningful, and to
11451 +# report actual input values of CONFIG_FILES etc. instead of their
11452 +# values after options handling.
11454 +This file was extended by $as_me, which was
11455 +generated by GNU Autoconf 2.61. Invocation command line was
11457 + CONFIG_FILES = $CONFIG_FILES
11458 + CONFIG_HEADERS = $CONFIG_HEADERS
11459 + CONFIG_LINKS = $CONFIG_LINKS
11460 + CONFIG_COMMANDS = $CONFIG_COMMANDS
11463 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
11468 +cat >>$CONFIG_STATUS <<_ACEOF
11469 +# Files that config.status was made for.
11470 +config_files="$ac_config_files"
11471 +config_headers="$ac_config_headers"
11472 +config_commands="$ac_config_commands"
11476 +cat >>$CONFIG_STATUS <<\_ACEOF
11478 +\`$as_me' instantiates files from templates according to the
11479 +current configuration.
11481 +Usage: $0 [OPTIONS] [FILE]...
11483 + -h, --help print this help, then exit
11484 + -V, --version print version number and configuration settings, then exit
11485 + -q, --quiet do not print progress messages
11486 + -d, --debug don't remove temporary files
11487 + --recheck update $as_me by reconfiguring in the same conditions
11488 + --file=FILE[:TEMPLATE]
11489 + instantiate the configuration file FILE
11490 + --header=FILE[:TEMPLATE]
11491 + instantiate the configuration header FILE
11493 +Configuration files:
11496 +Configuration headers:
11499 +Configuration commands:
11502 +Report bugs to <bug-autoconf@gnu.org>."
11505 +cat >>$CONFIG_STATUS <<_ACEOF
11508 +configured by $0, generated by GNU Autoconf 2.61,
11509 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11511 +Copyright (C) 2006 Free Software Foundation, Inc.
11512 +This config.status script is free software; the Free Software Foundation
11513 +gives unlimited permission to copy, distribute and modify it."
11517 +INSTALL='$INSTALL'
11520 +cat >>$CONFIG_STATUS <<\_ACEOF
11521 +# If no file are specified by the user, then we need to provide default
11522 +# value. By we need to know if files were specified by the user.
11523 +ac_need_defaults=:
11524 +while test $# != 0
11528 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
11529 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11539 - case "$ac_given_INSTALL" in
11540 - [/$]*) INSTALL="$ac_given_INSTALL" ;;
11541 - *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
11542 + case $ac_option in
11543 + # Handling of the options.
11544 + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11545 + ac_cs_recheck=: ;;
11546 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11547 + echo "$ac_cs_version"; exit ;;
11548 + --debug | --debu | --deb | --de | --d | -d )
11550 + --file | --fil | --fi | --f )
11552 + CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11553 + ac_need_defaults=false;;
11554 + --header | --heade | --head | --hea )
11556 + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11557 + ac_need_defaults=false;;
11559 + # Conflict between --help and --header
11560 + { echo "$as_me: error: ambiguous option: $1
11561 +Try \`$0 --help' for more information." >&2
11562 + { (exit 1); exit 1; }; };;
11563 + --help | --hel | -h )
11564 + echo "$ac_cs_usage"; exit ;;
11565 + -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11566 + | -silent | --silent | --silen | --sile | --sil | --si | --s)
11567 + ac_cs_silent=: ;;
11569 + # This is an error.
11570 + -*) { echo "$as_me: error: unrecognized option: $1
11571 +Try \`$0 --help' for more information." >&2
11572 + { (exit 1); exit 1; }; } ;;
11574 + *) ac_config_targets="$ac_config_targets $1"
11575 + ac_need_defaults=false ;;
11581 - echo creating "$ac_file"
11583 - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
11584 - case "$ac_file" in
11585 - *Makefile*) ac_comsub="1i\\
11586 -# $configure_input" ;;
11588 +ac_configure_extra_args=
11590 +if $ac_cs_silent; then
11592 + ac_configure_extra_args="$ac_configure_extra_args --silent"
11596 +cat >>$CONFIG_STATUS <<_ACEOF
11597 +if \$ac_cs_recheck; then
11598 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11599 + CONFIG_SHELL=$SHELL
11600 + export CONFIG_SHELL
11601 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11605 +cat >>$CONFIG_STATUS <<\_ACEOF
11606 +exec 5>>config.log
11609 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11610 +## Running $as_me. ##
11616 +cat >>$CONFIG_STATUS <<_ACEOF
11619 +cat >>$CONFIG_STATUS <<\_ACEOF
11621 +# Handling of arguments.
11622 +for ac_config_target in $ac_config_targets
11624 + case $ac_config_target in
11625 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
11626 + "lib/sys_elf.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/sys_elf.h" ;;
11627 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
11628 + "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
11629 + "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
11630 + "libelf.pc") CONFIG_FILES="$CONFIG_FILES libelf.pc" ;;
11631 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
11633 + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11634 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11635 + { (exit 1); exit 1; }; };;
11639 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11640 - sed -e "$ac_comsub
11641 -s%@configure_input@%$configure_input%g
11642 -s%@srcdir@%$srcdir%g
11643 -s%@top_srcdir@%$top_srcdir%g
11644 -s%@INSTALL@%$INSTALL%g
11645 -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
11649 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11650 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
11651 +# If the user did not use the arguments to specify the items to instantiate,
11652 +# then the envvar interface is used. Set only those that are not.
11653 +# We use the long form for the default assignment because of an extremely
11654 +# bizarre bug on SunOS 4.1.3.
11655 +if $ac_need_defaults; then
11656 + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
11657 + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
11658 + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
11661 +# Have a temporary directory for convenience. Make it in the build tree
11662 +# simply because there is no reason against having it here, and in addition,
11663 +# creating and moving files from /tmp can sometimes cause problems.
11664 +# Hook for its removal unless debugging.
11665 +# Note that there is a small window in which the directory will not be cleaned:
11666 +# after its creation but before its name has been assigned to `$tmp'.
11670 + trap 'exit_status=$?
11671 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11673 + trap '{ (exit 1); exit 1; }' 1 2 13 15
11675 +# Create a (secure) tmp directory for tmp files.
11678 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11679 + test -n "$tmp" && test -d "$tmp"
11682 + tmp=./conf$$-$RANDOM
11683 + (umask 077 && mkdir "$tmp")
11686 + echo "$me: cannot create a temporary directory in ." >&2
11687 + { (exit 1); exit 1; }
11691 +# Set up the sed scripts for CONFIG_FILES section.
11693 -# ac_d sets the value in "#define NAME VALUE" lines.
11694 -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11695 -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
11698 -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
11699 -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11700 -ac_uB='\([ ]\)%\1#\2define\3'
11703 -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11704 -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11705 -ac_eB='$%\1#\2define\3'
11709 -if test "${CONFIG_HEADERS+set}" != set; then
11711 -cat >> $CONFIG_STATUS <<EOF
11712 - CONFIG_HEADERS="config.h lib/sys_elf.h"
11714 -cat >> $CONFIG_STATUS <<\EOF
11715 +# No need to generate the scripts if there are no CONFIG_FILES.
11716 +# This happens for instance when ./config.status config.h
11717 +if test -n "$CONFIG_FILES"; then
11724 +for ac_last_try in false false false false false :; do
11725 + cat >conf$$subs.sed <<_ACEOF
11726 +SHELL!$SHELL$ac_delim
11727 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11728 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11729 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11730 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11731 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11732 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11733 +exec_prefix!$exec_prefix$ac_delim
11734 +prefix!$prefix$ac_delim
11735 +program_transform_name!$program_transform_name$ac_delim
11736 +bindir!$bindir$ac_delim
11737 +sbindir!$sbindir$ac_delim
11738 +libexecdir!$libexecdir$ac_delim
11739 +datarootdir!$datarootdir$ac_delim
11740 +datadir!$datadir$ac_delim
11741 +sysconfdir!$sysconfdir$ac_delim
11742 +sharedstatedir!$sharedstatedir$ac_delim
11743 +localstatedir!$localstatedir$ac_delim
11744 +includedir!$includedir$ac_delim
11745 +oldincludedir!$oldincludedir$ac_delim
11746 +docdir!$docdir$ac_delim
11747 +infodir!$infodir$ac_delim
11748 +htmldir!$htmldir$ac_delim
11749 +dvidir!$dvidir$ac_delim
11750 +pdfdir!$pdfdir$ac_delim
11751 +psdir!$psdir$ac_delim
11752 +libdir!$libdir$ac_delim
11753 +localedir!$localedir$ac_delim
11754 +mandir!$mandir$ac_delim
11755 +DEFS!$DEFS$ac_delim
11756 +ECHO_C!$ECHO_C$ac_delim
11757 +ECHO_N!$ECHO_N$ac_delim
11758 +ECHO_T!$ECHO_T$ac_delim
11759 +LIBS!$LIBS$ac_delim
11760 +build_alias!$build_alias$ac_delim
11761 +host_alias!$host_alias$ac_delim
11762 +target_alias!$target_alias$ac_delim
11763 +PACKAGE!$PACKAGE$ac_delim
11764 +VERSION!$VERSION$ac_delim
11765 +MAINT!$MAINT$ac_delim
11766 +MAJOR!$MAJOR$ac_delim
11767 +SET_MAKE!$SET_MAKE$ac_delim
11769 +CFLAGS!$CFLAGS$ac_delim
11770 +LDFLAGS!$LDFLAGS$ac_delim
11771 +CPPFLAGS!$CPPFLAGS$ac_delim
11772 +ac_ct_CC!$ac_ct_CC$ac_delim
11773 +EXEEXT!$EXEEXT$ac_delim
11774 +OBJEXT!$OBJEXT$ac_delim
11776 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11777 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11778 +INSTALL_DATA!$INSTALL_DATA$ac_delim
11779 +RANLIB!$RANLIB$ac_delim
11780 +LN_S!$LN_S$ac_delim
11781 +GREP!$GREP$ac_delim
11782 +EGREP!$EGREP$ac_delim
11783 +DO_COMPAT!$DO_COMPAT$ac_delim
11784 +LIBOBJS!$LIBOBJS$ac_delim
11785 +GMOFILES!$GMOFILES$ac_delim
11786 +MSGFILES!$MSGFILES$ac_delim
11787 +POFILES!$POFILES$ac_delim
11788 +MSGFMT!$MSGFMT$ac_delim
11789 +GMSGFMT!$GMSGFMT$ac_delim
11790 +XGETTEXT!$XGETTEXT$ac_delim
11791 +MSGMERGE!$MSGMERGE$ac_delim
11792 +GENCAT!$GENCAT$ac_delim
11793 +CATOBJEXT!$CATOBJEXT$ac_delim
11794 +INSTOBJEXT!$INSTOBJEXT$ac_delim
11795 +CATALOGS!$CATALOGS$ac_delim
11796 +POSUB!$POSUB$ac_delim
11797 +LIBINTL!$LIBINTL$ac_delim
11798 +build!$build$ac_delim
11799 +build_cpu!$build_cpu$ac_delim
11800 +build_vendor!$build_vendor$ac_delim
11801 +build_os!$build_os$ac_delim
11802 +host!$host$ac_delim
11803 +host_cpu!$host_cpu$ac_delim
11804 +host_vendor!$host_vendor$ac_delim
11805 +host_os!$host_os$ac_delim
11807 +PICFLAGS!$PICFLAGS$ac_delim
11808 +SHLIB_SFX!$SHLIB_SFX$ac_delim
11809 +SHLINK_SFX!$SHLINK_SFX$ac_delim
11810 +SONAME_SFX!$SONAME_SFX$ac_delim
11811 +LINK_SHLIB!$LINK_SHLIB$ac_delim
11812 +INSTALL_SHLIB!$INSTALL_SHLIB$ac_delim
11813 +DEPSHLIBS!$DEPSHLIBS$ac_delim
11814 +DO_SHLIB!$DO_SHLIB$ac_delim
11815 +LTLIBOBJS!$LTLIBOBJS$ac_delim
11818 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 90; then
11820 + elif $ac_last_try; then
11821 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11822 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11823 + { (exit 1); exit 1; }; }
11825 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11829 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11830 +if test -n "$ac_eof"; then
11831 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11832 + ac_eof=`expr $ac_eof + 1`
11834 -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
11835 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11836 - case "$ac_file" in
11837 - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
11838 - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
11839 - *) ac_file_in="${ac_file}.in" ;;
11841 +cat >>$CONFIG_STATUS <<_ACEOF
11842 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11843 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11846 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11847 +s/^/s,@/; s/!/@,|#_!!_#|/
11850 +s/'"$ac_delim"'$/,g/; t
11852 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11853 +' >>$CONFIG_STATUS <conf$$subs.sed
11854 +rm -f conf$$subs.sed
11855 +cat >>$CONFIG_STATUS <<_ACEOF
11862 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
11863 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11864 +# trailing colons and then remove the whole line if VPATH becomes empty
11865 +# (actually we leave an empty line to preserve line numbers).
11866 +if test "x$srcdir" = x.; then
11867 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
11868 +s/:*\$(srcdir):*/:/
11869 +s/:*\${srcdir}:*/:/
11871 +s/^\([^=]*=[ ]*\):*/\1/
11877 +cat >>$CONFIG_STATUS <<\_ACEOF
11878 +fi # test -n "$CONFIG_FILES"
11881 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
11884 + :[FHLC]) ac_mode=$ac_tag; continue;;
11886 + case $ac_mode$ac_tag in
11888 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11889 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11890 + { (exit 1); exit 1; }; };;
11891 + :[FH]-) ac_tag=-:-;;
11892 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11902 - echo creating $ac_file
11904 + :L) ac_source=$1;;
11910 + -) ac_f="$tmp/stdin";;
11911 + *) # Look for the file first in the build tree, then in the source tree
11912 + # (if the path is not absolute). The absolute path cannot be DOS-style,
11913 + # because $ac_f cannot contain `:'.
11914 + test -f "$ac_f" ||
11917 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11919 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11920 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11921 + { (exit 1); exit 1; }; };;
11923 + ac_file_inputs="$ac_file_inputs $ac_f"
11926 - rm -f conftest.frag conftest.in conftest.out
11927 - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11928 - cat $ac_file_inputs > conftest.in
11929 + # Let's still pretend it is `configure' which instantiates (i.e., don't
11930 + # use $as_me), people would be surprised to read:
11931 + # /* config.h. Generated by config.status. */
11932 + configure_input="Generated from "`IFS=:
11933 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11934 + if test x"$ac_file" != x-; then
11935 + configure_input="$ac_file. $configure_input"
11936 + { echo "$as_me:$LINENO: creating $ac_file" >&5
11937 +echo "$as_me: creating $ac_file" >&6;}
11942 + *:-:* | *:-) cat >"$tmp/stdin";;
11947 -# Transform confdefs.h into a sed script conftest.vals that substitutes
11948 -# the proper values into config.h.in to produce config.h. And first:
11949 -# Protect against being on the right side of a sed subst in config.status.
11950 -# Protect against being in an unquoted here document in config.status.
11951 -rm -f conftest.vals
11952 -cat > conftest.hdr <<\EOF
11955 -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
11959 -sed -n -f conftest.hdr confdefs.h > conftest.vals
11960 -rm -f conftest.hdr
11961 + ac_dir=`$as_dirname -- "$ac_file" ||
11962 +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11963 + X"$ac_file" : 'X\(//\)[^/]' \| \
11964 + X"$ac_file" : 'X\(//\)$' \| \
11965 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11966 +echo X"$ac_file" |
11967 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11971 + /^X\(\/\/\)[^/].*/{
11984 + { as_dir="$ac_dir"
11985 + case $as_dir in #(
11986 + -*) as_dir=./$as_dir;;
11988 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11991 + case $as_dir in #(
11992 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11993 + *) as_qdir=$as_dir;;
11995 + as_dirs="'$as_qdir' $as_dirs"
11996 + as_dir=`$as_dirname -- "$as_dir" ||
11997 +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11998 + X"$as_dir" : 'X\(//\)[^/]' \| \
11999 + X"$as_dir" : 'X\(//\)$' \| \
12000 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12002 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12006 + /^X\(\/\/\)[^/].*/{
12019 + test -d "$as_dir" && break
12021 + test -z "$as_dirs" || eval "mkdir $as_dirs"
12022 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12023 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
12024 + { (exit 1); exit 1; }; }; }
12027 -# This sed command replaces #undef with comments. This is necessary, for
12029 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12031 + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12032 + # A ".." for each directory in $ac_dir_suffix.
12033 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12034 + case $ac_top_builddir_sub in
12035 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12036 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12039 +ac_abs_top_builddir=$ac_pwd
12040 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
12041 +# for backward compatibility:
12042 +ac_top_builddir=$ac_top_build_prefix
12045 + .) # We are building in place.
12047 + ac_top_srcdir=$ac_top_builddir_sub
12048 + ac_abs_top_srcdir=$ac_pwd ;;
12049 + [\\/]* | ?:[\\/]* ) # Absolute name.
12050 + ac_srcdir=$srcdir$ac_dir_suffix;
12051 + ac_top_srcdir=$srcdir
12052 + ac_abs_top_srcdir=$srcdir ;;
12053 + *) # Relative name.
12054 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12055 + ac_top_srcdir=$ac_top_build_prefix$srcdir
12056 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12058 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12068 + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12069 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12073 +cat >>$CONFIG_STATUS <<\_ACEOF
12074 +# If the template does not know about datarootdir, expand it.
12075 +# FIXME: This hack should be removed a few years after 2.60.
12076 +ac_datarootdir_hack=; ac_datarootdir_seen=
12078 +case `sed -n '/datarootdir/ {
12087 +' $ac_file_inputs` in
12088 +*datarootdir*) ac_datarootdir_seen=yes;;
12089 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12090 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12091 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12093 +cat >>$CONFIG_STATUS <<_ACEOF
12094 + ac_datarootdir_hack='
12095 + s&@datadir@&$datadir&g
12096 + s&@docdir@&$docdir&g
12097 + s&@infodir@&$infodir&g
12098 + s&@localedir@&$localedir&g
12099 + s&@mandir@&$mandir&g
12100 + s&\\\${datarootdir}&$datarootdir&g' ;;
12104 +# Neutralize VPATH when `$srcdir' = `.'.
12105 +# Shell code in configure.ac might set extrasub.
12106 +# FIXME: do we really want to maintain this feature?
12107 +cat >>$CONFIG_STATUS <<_ACEOF
12111 +cat >>$CONFIG_STATUS <<\_ACEOF
12113 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12114 +s&@configure_input@&$configure_input&;t t
12115 +s&@top_builddir@&$ac_top_builddir_sub&;t t
12116 +s&@srcdir@&$ac_srcdir&;t t
12117 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
12118 +s&@top_srcdir@&$ac_top_srcdir&;t t
12119 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12120 +s&@builddir@&$ac_builddir&;t t
12121 +s&@abs_builddir@&$ac_abs_builddir&;t t
12122 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12123 +s&@INSTALL@&$ac_INSTALL&;t t
12124 +$ac_datarootdir_hack
12125 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
12127 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12128 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12129 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12130 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12131 +which seems to be undefined. Please make sure it is defined." >&5
12132 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12133 +which seems to be undefined. Please make sure it is defined." >&2;}
12135 + rm -f "$tmp/stdin"
12137 + -) cat "$tmp/out"; rm -f "$tmp/out";;
12138 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12147 +# Transform confdefs.h into a sed script `conftest.defines', that
12148 +# substitutes the proper values into config.h.in to produce config.h.
12149 +rm -f conftest.defines conftest.tail
12150 +# First, append a space to every undef/define line, to ease matching.
12151 +echo 's/$/ /' >conftest.defines
12152 +# Then, protect against being on the right side of a sed subst, or in
12153 +# an unquoted here document, in config.status. If some macros were
12154 +# called several times there might be several #defines for the same
12155 +# symbol, which is useless. But do not sort them, since the last
12156 +# AC_DEFINE must be honored.
12157 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12158 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12159 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
12160 +# PARAMS is the parameter list in the macro definition--in most cases, it's
12161 +# just an empty string.
12162 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12163 +ac_dB='\\)[ (].*,\\1define\\2'
12171 + s/^[ ]*#[ ]*define[ ][ ]*//
12176 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12177 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12178 + ' >>conftest.defines
12180 +# Remove the space that was appended to ease matching.
12181 +# Then replace #undef with comments. This is necessary, for
12182 # example, in the case of _POSIX_SOURCE, which is predefined and required
12183 # on some systems where configure will not decide to define it.
12184 -cat >> conftest.vals <<\EOF
12185 -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12187 +# (The regexp can be short, since the line contains either #define or #undef.)
12189 +s,^[ #]*u.*,/* & */,' >>conftest.defines
12191 -# Break up conftest.vals because some shells have a limit on
12192 -# the size of here documents, and old seds have small limits too.
12193 +# Break up conftest.defines:
12194 +ac_max_sed_lines=50
12196 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12197 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12198 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12200 +ac_in='$ac_file_inputs'
12201 +ac_out='"$tmp/out1"'
12202 +ac_nxt='"$tmp/out2"'
12204 -rm -f conftest.tail
12207 - ac_lines=`grep -c . conftest.vals`
12208 - # grep -c gives empty output for an empty file on some AIX systems.
12209 - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12210 - # Write a limited-size here document to conftest.frag.
12211 - echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12212 - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12213 + # Write a here document:
12214 + cat >>$CONFIG_STATUS <<_ACEOF
12215 + # First, check the format of the line:
12216 + cat >"\$tmp/defines.sed" <<\\CEOF
12217 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12218 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12222 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
12224 - sed -f conftest.frag conftest.in > conftest.out
12225 - rm -f conftest.in
12226 - mv conftest.out conftest.in
12227 -' >> $CONFIG_STATUS
12228 - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12229 - rm -f conftest.vals
12230 - mv conftest.tail conftest.vals
12231 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12232 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
12233 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
12234 + grep . conftest.tail >/dev/null || break
12235 + rm -f conftest.defines
12236 + mv conftest.tail conftest.defines
12238 -rm -f conftest.vals
12239 +rm -f conftest.defines conftest.tail
12241 -cat >> $CONFIG_STATUS <<\EOF
12242 - rm -f conftest.frag conftest.h
12243 - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12244 - cat conftest.in >> conftest.h
12245 - rm -f conftest.in
12246 - if cmp -s $ac_file conftest.h 2>/dev/null; then
12247 - echo "$ac_file is unchanged"
12250 - # Remove last slash and all that follows it. Not all systems have dirname.
12251 - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12252 - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12253 - # The file is in a subdirectory.
12254 - test ! -d "$ac_dir" && mkdir "$ac_dir"
12255 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
12256 +cat >>$CONFIG_STATUS <<\_ACEOF
12257 + if test x"$ac_file" != x-; then
12258 + echo "/* $configure_input */" >"$tmp/config.h"
12259 + cat "$ac_result" >>"$tmp/config.h"
12260 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
12261 + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12262 +echo "$as_me: $ac_file is unchanged" >&6;}
12265 + mv "$tmp/config.h" $ac_file
12268 - mv conftest.h $ac_file
12270 + echo "/* $configure_input */"
12274 + rm -f "$tmp/out12"
12278 -cat >> $CONFIG_STATUS <<EOF
12279 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12280 +echo "$as_me: executing $ac_file commands" >&6;}
12285 -cat >> $CONFIG_STATUS <<\EOF
12286 -echo timestamp > stamp-h; echo timestamp > lib/stamp-h
12290 + case $ac_file$ac_mode in
12291 + "default":C) echo timestamp > stamp-h; echo timestamp > lib/stamp-h ;;
12297 +{ (exit 0); exit 0; }
12299 chmod +x $CONFIG_STATUS
12300 -rm -fr confdefs* $ac_clean_files
12301 -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
12302 +ac_clean_files=$ac_clean_files_save
12305 +# configure is writing to config.log, and then calls config.status.
12306 +# config.status does its own redirection, appending to config.log.
12307 +# Unfortunately, on DOS this fails, as config.log is still kept open
12308 +# by configure, so config.status won't be able to write to it; its
12309 +# output is simply discarded. So we exec the FD to /dev/null,
12310 +# effectively closing config.log, so it can be properly (re)opened and
12311 +# appended to by config.status. When coming back to configure, we
12312 +# need to make the FD available again.
12313 +if test "$no_create" != yes; then
12315 + ac_config_status_args=
12316 + test "$silent" = yes &&
12317 + ac_config_status_args="$ac_config_status_args --quiet"
12319 + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
12320 + exec 5>>config.log
12321 + # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12322 + # would make configure fail if this is the last instruction.
12323 + $ac_cs_success || { (exit 1); exit 1; }
12327 # vi: set ts=8 sw=2 :
12328 diff -rdup libelf-0.8.10.orig/configure.in libelf-0.8.10/configure.in
12329 --- libelf-0.8.10.orig/configure.in 2007-09-07 14:07:59.000000000 +0200
12330 +++ libelf-0.8.10/configure.in 2007-09-20 10:31:42.000000000 +0200
12331 @@ -148,20 +148,25 @@ if test "$ac_cv_header_elf_h" = yes \
12332 [libelf_cv_struct_elf64_rel=irix],
12333 [libelf_cv_struct_elf64_rel=no])))
12335 - case "$libelf_cv_struct_elf64_ehdr:\
12336 + AC_CACHE_CHECK([for 64bit support], libelf_64bit,
12337 + [case "$libelf_cv_struct_elf64_ehdr:\
12338 $libelf_cv_type_elf64_addr:\
12339 $libelf_cv_struct_elf64_rel" in
12343 - AC_DEFINE(__LIBELF64_IRIX)
12344 - libelf_64bit=yes;;
12345 + libelf_64bit=irix;;
12347 - AC_DEFINE(__LIBELF64_LINUX)
12348 - libelf_64bit=yes;;
12349 + libelf_64bit=linux;;
12354 + case $libelf_64bit in
12356 + linux) AC_DEFINE(__LIBELF64_LINUX) ;;
12357 + irix) AC_DEFINE(__LIBELF64_IRIX) ;;
12360 # Check for symbol versioning definitions
12361 AC_CACHE_CHECK([for Elf32_Verdef], libelf_cv_verdef32,