#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for elfutils 0.160.
+# Generated by GNU Autoconf 2.69 for elfutils 0.165.
#
# Report bugs to <https://bugzilla.redhat.com/>.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
#
-# Copyright (C) 1996-2014 Red Hat, Inc.
+# Copyright (C) 1996-2016 Red Hat, Inc.
## -------------------- ##
## M4sh Initialization. ##
## -------------------- ##
# Identity of this package.
PACKAGE_NAME='elfutils'
PACKAGE_TARNAME='elfutils'
-PACKAGE_VERSION='0.160'
-PACKAGE_STRING='elfutils 0.160'
+PACKAGE_VERSION='0.165'
+PACKAGE_STRING='elfutils 0.165'
PACKAGE_BUGREPORT='https://bugzilla.redhat.com/'
PACKAGE_URL=''
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
+HAVE_BUNZIP2
+HAVE_BISON
+HAVE_FLEX
CC_BIARCH
BIARCH_FALSE
BIARCH_TRUE
EGREP
GREP
CPP
+MODVERSION
eu_version
XGETTEXT_EXTRA_OPTIONS
MSGMERGE
STANDALONE_TRUE
HAVE_LIBASM_FALSE
HAVE_LIBASM_TRUE
+argp_LDADD
+ADD_STACK_USAGE_WARNING_FALSE
+ADD_STACK_USAGE_WARNING_TRUE
+SYMBOL_VERSIONING_FALSE
+SYMBOL_VERSIONING_TRUE
+FATAL_TEXTREL_FALSE
+FATAL_TEXTREL_TRUE
DEMANGLE_FALSE
DEMANGLE_TRUE
zip_LIBS
+LIBLZMA
LZMA_FALSE
LZMA_TRUE
+BZ2_LIB
BZLIB_FALSE
BZLIB_TRUE
ZLIB_FALSE
build_vendor
build_cpu
build
-MODVERSION
MAINT
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
enable_debugpred
enable_gprof
enable_gcov
+enable_sanitize_undefined
enable_valgrind
enable_tests_rpath
enable_libebl_subdir
with_zlib
with_bzlib
with_lzma
+enable_textrelcheck
+enable_symbol_versioning
enable_nls
with_biarch
'
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures elfutils 0.160 to adapt to many kinds of systems.
+\`configure' configures elfutils 0.165 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of elfutils 0.160:";;
+ short | recursive ) echo "Configuration of elfutils 0.165:";;
esac
cat <<\_ACEOF
prediction
--enable-gprof build binaries with gprof support
--enable-gcov build binaries with gcov support
+ --enable-sanitize-undefined
+ Use gcc undefined behaviour sanitizer
--enable-valgrind run all tests under valgrind
--enable-tests-rpath build $ORIGIN-using rpath into tests
--enable-libebl-subdir=DIR
install libebl_CPU modules in $(libdir)/DIR
+ --disable-textrelcheck Disable textrelcheck being a fatal error
+ --disable-symbol-versioning
+ Disable symbol versioning in shared objects
--disable-nls do not use Native Language Support
Optional Packages:
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-elfutils configure 0.160
+elfutils configure 0.165
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
-Copyright (C) 1996-2014 Red Hat, Inc.
+Copyright (C) 1996-2016 Red Hat, Inc.
_ACEOF
exit
fi
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by elfutils $as_me 0.160, which was
+It was created by elfutils $as_me 0.165, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
-am__api_version='1.13'
+am__api_version='1.15'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
if test x"${MISSING+set}" != xset; then
case $am_aux_dir in
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
fi
-if test x"${install_sh}" != xset; then
+if test x"${install_sh+set}" != xset; then
case $am_aux_dir in
*\ * | *\ *)
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
# Define the identity of the package.
PACKAGE='elfutils'
- VERSION='0.160'
+ VERSION='0.165'
cat >>confdefs.h <<_ACEOF
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
mkdir_p='$(MKDIR_P)'
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
+# We need awk for the "check" target (and possibly the TAP driver). The
+# system "awk" is bad on some platforms.
# Always define AMTAR for backward compatibility. Yes, it's still used
# in the wild :-( We should find a proper way to deprecate it ...
AMTAR='$${TAR-tar}'
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes. So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+ cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present. This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message. This
+can help us improve future automake versions.
+
+END
+ if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+ echo 'Configuration will proceed anyway, since you have set the' >&2
+ echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+ echo >&2
+ else
+ cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+ as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+ fi
+fi
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
-MODVERSION="Build on $(hostname) $(date +%FT%R:%S%z)"
-
-cat >>confdefs.h <<_ACEOF
-#define MODVERSION "$MODVERSION"
-_ACEOF
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+ enableval=$enable_silent_rules;
+fi
+case $enable_silent_rules in # (((
+ yes) AM_DEFAULT_VERBOSITY=0;;
+ no) AM_DEFAULT_VERBOSITY=1;;
+ *) AM_DEFAULT_VERBOSITY=0;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+ @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+ am_cv_make_support_nested_variables=yes
+else
+ am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+ AM_V='$(V)'
+ AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+ AM_V=$AM_DEFAULT_VERBOSITY
+ AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ # Make sure it works both with $CC and with simple cc.
+ # Following AC_PROG_CC_C_O, we do the test twice because some
+ # compilers refuse to overwrite an existing .o file with -o,
+ # though they will create one.
+ am_cv_prog_cc_c_o=yes
+ for am_i in 1 2; do
+ if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+ ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } \
+ && test -f conftest2.$ac_objext; then
+ : OK
+ else
+ am_cv_prog_cc_c_o=no
+ break
+ fi
+ done
+ rm -f core conftest*
+ unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
DEPDIR="${am__leading_dot}deps"
ac_config_commands="$ac_config_commands depfiles"
if ${am_cv_ar_interface+:} false; then :
$as_echo_n "(cached) " >&6
else
- am_cv_ar_interface=ar
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ am_cv_ar_interface=ar
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int some_variable = 0;
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with C99 support" >&5
-$as_echo_n "checking for gcc with C99 support... " >&6; }
+# We use -std=gnu99 but have explicit checks for some language constructs
+# and GNU extensions since some compilers claim GNU99 support, but don't
+# really support all language extensions. In particular we need
+# Mixed Declarations and Code
+# https://gcc.gnu.org/onlinedocs/gcc/Mixed-Declarations.html
+# Nested Functions
+# https://gcc.gnu.org/onlinedocs/gcc/Nested-Functions.html
+# Arrays of Variable Length
+# https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc with GNU99 support" >&5
+$as_echo_n "checking for gcc with GNU99 support... " >&6; }
if ${ac_cv_c99+:} false; then :
$as_echo_n "(cached) " >&6
else
CFLAGS="$CFLAGS -std=gnu99"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-int foo (int a) { for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; }
+int foo (int a)
+{
+ for (int i = 0; i < a; ++i) if (i % 4) break; int s = a; return s;
+}
+
+double bar (double a, double b)
+{
+ double square (double z) { return z * z; }
+ return square (a) + square (b);
+}
+
+void baz (int n)
+{
+ struct S { int x[n]; };
+}
_ACEOF
if ac_fn_c_try_compile "$LINENO"; then :
ac_cv_c99=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99" >&5
$as_echo "$ac_cv_c99" >&6; }
if test "x$ac_cv_c99" != xyes; then :
- as_fn_error $? "gcc with C99 support required" "$LINENO" 5
+ as_fn_error $? "gcc with GNU99 support required" "$LINENO" 5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread support" >&5
# Some old compiler/linker/libc combinations fail some ways and not others.
save_CFLAGS="$CFLAGS"
save_LDFLAGS="$LDFLAGS"
-CFLAGS="-fpic $CFLAGS"
+CFLAGS="-fPIC $CFLAGS"
LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <stdlib.h>
#undef __thread
static __thread int a; int foo (int b) { return a + b; }
int
fi
case $use_debugpred in
- yes) use_debugpred=1 ;;
- *) use_debugpred=0 ;;
+ yes) use_debugpred_val=1 ;;
+ *) use_debugpred_val=0 ;;
esac
-DEBUGPRED=$use_debugpred
+DEBUGPRED=$use_debugpred_val
# Check whether --enable-gprof was given.
fi
+# Check whether --enable-sanitize-undefined was given.
+if test "${enable_sanitize_undefined+set}" = set; then :
+ enableval=$enable_sanitize_undefined; use_undefined=$enableval
+else
+ use_undefined=no
+fi
+
+if test "$use_undefined" = yes; then
+ old_CFLAGS="$CFLAGS"
+ old_CXXFLAGS="$CXXFLAGS"
+ # We explicitly use unaligned access when possible (see ALLOW_UNALIGNED)
+ # We want to fail immediately on first error, don't try to recover.
+ CFLAGS="$CFLAGS -fsanitize=undefined -fno-sanitize-recover"
+ CXXFLAGS="$CXXFLAGS -fsanitize=undefined -fno-sanitize-recover"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+int main (int argc, char **argv) { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ use_undefined=yes
+else
+ use_undefined=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+ if test "x$use_undefined" != xyes; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc undefined behaviour sanitizer not available" >&5
+$as_echo "$as_me: WARNING: gcc undefined behaviour sanitizer not available" >&2;}
+ CFLAGS="$old_CFLAGS" CXXFLAGS="$old_CXXFLAGS"
+fi
+fi
+case $use_undefined in
+ yes) check_undefined_val=1 ;;
+ *) check_undefined_val=0 ;;
+esac
+
+cat >>confdefs.h <<_ACEOF
+#define CHECK_UNDEFINED $check_undefined_val
+_ACEOF
+
+
# Check whether --enable-valgrind was given.
if test "${enable_valgrind+set}" = set; then :
enableval=$enable_valgrind; use_valgrind=$enableval
if test $with_zlib = yes; then
$as_echo "#define USE_ZLIB 1" >>confdefs.h
+else
+ with_zlib=no
fi
+if test "x$with_zlib" = xno; then :
+ as_fn_error $? "\"zlib not found\"" "$LINENO" 5
+fi
+LIBS="$save_LIBS"
+
+save_LIBS="$LIBS"
+LIBS=
# Check whether --with-bzlib was given.
if test "${with_bzlib+set}" = set; then :
if test $with_bzlib = yes; then
$as_echo "#define USE_BZLIB 1" >>confdefs.h
+else
+ with_bzlib=no
fi
+# We need this since bzip2 doesn't have a pkgconfig file.
+BZ2_LIB="$LIBS"
+
# Check whether --with-lzma was given.
if test "${with_lzma+set}" = set; then :
if test $with_lzma = yes; then
$as_echo "#define USE_LZMA 1" >>confdefs.h
+else
+ with_lzma=no
+fi
+
+if test "x$with_lzma" = xyes; then :
+ LIBLZMA="liblzma"
+else
+ LIBLZMA=""
fi
zip_LIBS="$LIBS"
fi
- if test "$ac_cv_lib_stdcpp___cxa_demangle" = yes; then
+ if test "x$ac_cv_lib_stdcpp___cxa_demangle" = "xyes"; then
DEMANGLE_TRUE=
DEMANGLE_FALSE='#'
else
DEMANGLE_FALSE=
fi
+if test "x$ac_cv_lib_stdcpp___cxa_demangle" = "xyes"; then :
+ enable_demangler=yes
+else
+ enable_demangler=no
+fi
+
+# Check whether --enable-textrelcheck was given.
+if test "${enable_textrelcheck+set}" = set; then :
+ enableval=$enable_textrelcheck;
+fi
+
+ if test "x$enable_textrelcheck" != "xno"; then
+ FATAL_TEXTREL_TRUE=
+ FATAL_TEXTREL_FALSE='#'
+else
+ FATAL_TEXTREL_TRUE='#'
+ FATAL_TEXTREL_FALSE=
+fi
+
+if test "x$enable_textrelcheck" != "xno"; then :
+ enable_textrelcheck=yes
+else
+ enable_textrelcheck=no
+fi
+
+# Check whether --enable-symbol-versioning was given.
+if test "${enable_symbol_versioning+set}" = set; then :
+ enableval=$enable_symbol_versioning;
+fi
+
+ if test "x$enable_symbol_versioning" != "xno"; then
+ SYMBOL_VERSIONING_TRUE=
+ SYMBOL_VERSIONING_FALSE='#'
+else
+ SYMBOL_VERSIONING_TRUE='#'
+ SYMBOL_VERSIONING_FALSE=
+fi
+
+if test "x$enable_symbol_versioning" = "xno"; then :
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling symbol versioning breaks ABI compatibility." >&5
+$as_echo "$as_me: WARNING: Disabling symbol versioning breaks ABI compatibility." >&2;}
+ enable_symbol_versioning=no
+else
+ enable_symbol_versioning=yes
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc accepts -Wstack-usage" >&5
+$as_echo_n "checking whether gcc accepts -Wstack-usage... " >&6; }
+if ${ac_cv_stack_usage+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ old_CFLAGS="$CFLAGS"
+CFLAGS="$CFLAGS -Wstack-usage=262144"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ ac_cv_stack_usage=yes
+else
+ ac_cv_stack_usage=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+CFLAGS="$old_CFLAGS"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_stack_usage" >&5
+$as_echo "$ac_cv_stack_usage" >&6; }
+ if test "x$ac_cv_stack_usage" != "xno"; then
+ ADD_STACK_USAGE_WARNING_TRUE=
+ ADD_STACK_USAGE_WARNING_FALSE='#'
+else
+ ADD_STACK_USAGE_WARNING_TRUE='#'
+ ADD_STACK_USAGE_WARNING_FALSE=
+fi
+
+
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <argp.h>
+int
+main ()
+{
+int argc=1; char *argv={"test"}; argp_parse(0,argc,argv,0,0,0); return 0;
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ libc_has_argp="true"
+else
+ libc_has_argp="false"
+
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+
+if test "$libc_has_argp" = "false" ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"libc does not have argp\"" >&5
+$as_echo "$as_me: WARNING: \"libc does not have argp\"" >&2;}
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for argp_parse in -largp" >&5
+$as_echo_n "checking for argp_parse in -largp... " >&6; }
+if ${ac_cv_lib_argp_argp_parse+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-largp $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char argp_parse ();
+int
+main ()
+{
+return argp_parse ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_argp_argp_parse=yes
+else
+ ac_cv_lib_argp_argp_parse=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_argp_argp_parse" >&5
+$as_echo "$ac_cv_lib_argp_argp_parse" >&6; }
+if test "x$ac_cv_lib_argp_argp_parse" = xyes; then :
+ have_argp="true"
+else
+ have_argp="false"
+fi
+
+
+ if test "$have_argp" = "false"; then
+ as_fn_error $? "\"no libargp found\"" "$LINENO" 5
+ else
+ argp_LDADD="-largp"
+ fi
+else
+ argp_LDADD=""
+fi
+
ac_config_files="$ac_config_files tests/Makefile"
+ac_config_files="$ac_config_files config/libelf.pc config/libdw.pc"
+
+
# Get the definitions necessary to create the Makefiles in the po
# subdirectories. This is a small subset of the gettext rules.
USE_NLS=yes
# Round up to the next release API (x.y) version.
eu_version=$(( (eu_version + 999) / 1000 ))
+MODVERSION="Build for ${LIBEBL_SUBDIR} ${eu_version} ${ac_cv_build}"
+
+cat >>confdefs.h <<_ACEOF
+#define MODVERSION "$MODVERSION"
+_ACEOF
+
+
+
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
CC_BIARCH="$CC $utrace_biarch"
+# In maintainer mode we really need flex and bison.
+# Otherwise we really need a release dir with maintainer files generated.
+if test "x$enable_maintainer_mode" = xyes; then
+ # Extract the first word of "flex", so it can be a program name with args.
+set dummy flex; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_HAVE_FLEX+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$HAVE_FLEX"; then
+ ac_cv_prog_HAVE_FLEX="$HAVE_FLEX" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_HAVE_FLEX="yes"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_HAVE_FLEX" && ac_cv_prog_HAVE_FLEX="no"
+fi
+fi
+HAVE_FLEX=$ac_cv_prog_HAVE_FLEX
+if test -n "$HAVE_FLEX"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX" >&5
+$as_echo "$HAVE_FLEX" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test "$HAVE_FLEX" = "no"; then
+ as_fn_error $? "flex needed in maintainer mode" "$LINENO" 5
+ fi
+ # Extract the first word of "bison", so it can be a program name with args.
+set dummy bison; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_HAVE_BISON+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$HAVE_BISON"; then
+ ac_cv_prog_HAVE_BISON="$HAVE_BISON" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_HAVE_BISON="yes"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_HAVE_BISON" && ac_cv_prog_HAVE_BISON="no"
+fi
+fi
+HAVE_BISON=$ac_cv_prog_HAVE_BISON
+if test -n "$HAVE_BISON"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_BISON" >&5
+$as_echo "$HAVE_BISON" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ if test "$HAVE_BISON" = "no"; then
+ as_fn_error $? "bison needed in maintainer mode" "$LINENO" 5
+ fi
+else
+ if test ! -f ${srcdir}/libdw/known-dwarf.h; then
+ as_fn_error $? "No libdw/known-dwarf.h. configure --enable-maintainer-mode" "$LINENO" 5
+ fi
+fi
+
+# The testfiles are all compressed, we need bunzip2 when running make check
+# Extract the first word of "bunzip2", so it can be a program name with args.
+set dummy bunzip2; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_HAVE_BUNZIP2+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$HAVE_BUNZIP2"; then
+ ac_cv_prog_HAVE_BUNZIP2="$HAVE_BUNZIP2" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_HAVE_BUNZIP2="yes"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ test -z "$ac_cv_prog_HAVE_BUNZIP2" && ac_cv_prog_HAVE_BUNZIP2="no"
+fi
+fi
+HAVE_BUNZIP2=$ac_cv_prog_HAVE_BUNZIP2
+if test -n "$HAVE_BUNZIP2"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_BUNZIP2" >&5
+$as_echo "$HAVE_BUNZIP2" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+if test "$HAVE_BUNZIP2" = "no"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No bunzip2, needed to run make check" >&5
+$as_echo "$as_me: WARNING: No bunzip2, needed to run make check" >&2;}
+fi
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
as_fn_error $? "conditional \"DEMANGLE\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${FATAL_TEXTREL_TRUE}" && test -z "${FATAL_TEXTREL_FALSE}"; then
+ as_fn_error $? "conditional \"FATAL_TEXTREL\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${SYMBOL_VERSIONING_TRUE}" && test -z "${SYMBOL_VERSIONING_FALSE}"; then
+ as_fn_error $? "conditional \"SYMBOL_VERSIONING\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ADD_STACK_USAGE_WARNING_TRUE}" && test -z "${ADD_STACK_USAGE_WARNING_FALSE}"; then
+ as_fn_error $? "conditional \"ADD_STACK_USAGE_WARNING\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${HAVE_LIBASM_TRUE}" && test -z "${HAVE_LIBASM_FALSE}"; then
as_fn_error $? "conditional \"HAVE_LIBASM\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by elfutils $as_me 0.160, which was
+This file was extended by elfutils $as_me 0.165, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-elfutils config.status 0.160
+elfutils config.status 0.165
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
+ "config/libelf.pc") CONFIG_FILES="$CONFIG_FILES config/libelf.pc" ;;
+ "config/libdw.pc") CONFIG_FILES="$CONFIG_FILES config/libdw.pc" ;;
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
"version.h") CONFIG_FILES="$CONFIG_FILES version.h:config/version.h.in" ;;
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}:
+=====================================================================
+ elfutils: ${PACKAGE_VERSION} (eu_version: ${eu_version})
+=====================================================================
+
+ Prefix : ${prefix}
+ Program prefix (\"eu-\" recommended) : ${program_prefix}
+ Source code location : ${srcdir}
+ Maintainer mode : ${enable_maintainer_mode}
+ libebl modules subdirectory : ${LIBEBL_SUBDIR}
+ build arch : ${ac_cv_build}
+
+ RECOMMENDED FEATURES (should all be yes)
+ gzip support : ${with_zlib}
+ bzip2 support : ${with_bzlib}
+ lzma/xz support : ${with_lzma}
+ libstdc++ demangle support : ${enable_demangler}
+ File textrel check : ${enable_textrelcheck}
+ Symbol versioning : ${enable_symbol_versioning}
+
+ NOT RECOMMENDED FEATURES (should all be no)
+ Experimental thread safety : ${use_locks}
+
+ OTHER FEATURES
+ Deterministic archives by default : ${default_ar_deterministic}
+ Native language support : ${USE_NLS}
+
+ EXTRA TEST FEATURES (used with make check)
+ have bunzip2 installed (required) : ${HAVE_BUNZIP2}
+ debug branch prediction : ${use_debugpred}
+ gprof support : ${use_gprof}
+ gcov support : ${use_gcov}
+ run all tests under valgrind : ${use_valgrind}
+ gcc undefined behaviour sanitizer : ${use_undefined}
+ use rpath in tests : ${tests_use_rpath}
+ test biarch : ${utrace_cv_cc_biarch}
+" >&5
+$as_echo "$as_me:
+=====================================================================
+ elfutils: ${PACKAGE_VERSION} (eu_version: ${eu_version})
+=====================================================================
+
+ Prefix : ${prefix}
+ Program prefix (\"eu-\" recommended) : ${program_prefix}
+ Source code location : ${srcdir}
+ Maintainer mode : ${enable_maintainer_mode}
+ libebl modules subdirectory : ${LIBEBL_SUBDIR}
+ build arch : ${ac_cv_build}
+
+ RECOMMENDED FEATURES (should all be yes)
+ gzip support : ${with_zlib}
+ bzip2 support : ${with_bzlib}
+ lzma/xz support : ${with_lzma}
+ libstdc++ demangle support : ${enable_demangler}
+ File textrel check : ${enable_textrelcheck}
+ Symbol versioning : ${enable_symbol_versioning}
+
+ NOT RECOMMENDED FEATURES (should all be no)
+ Experimental thread safety : ${use_locks}
+
+ OTHER FEATURES
+ Deterministic archives by default : ${default_ar_deterministic}
+ Native language support : ${USE_NLS}
+
+ EXTRA TEST FEATURES (used with make check)
+ have bunzip2 installed (required) : ${HAVE_BUNZIP2}
+ debug branch prediction : ${use_debugpred}
+ gprof support : ${use_gprof}
+ gcov support : ${use_gcov}
+ run all tests under valgrind : ${use_valgrind}
+ gcc undefined behaviour sanitizer : ${use_undefined}
+ use rpath in tests : ${tests_use_rpath}
+ test biarch : ${utrace_cv_cc_biarch}
+" >&6;}