summaryrefslogtreecommitdiff
path: root/src/third_party/unwind/dist/configure
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/unwind/dist/configure')
-rwxr-xr-xsrc/third_party/unwind/dist/configure187
1 files changed, 73 insertions, 114 deletions
diff --git a/src/third_party/unwind/dist/configure b/src/third_party/unwind/dist/configure
index 4e61bf4beb8..dd3c573db7e 100755
--- a/src/third_party/unwind/dist/configure
+++ b/src/third_party/unwind/dist/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for libunwind 1.5.0.
+# Generated by GNU Autoconf 2.69 for libunwind 1.6.2.
#
# Report bugs to <libunwind-devel@nongnu.org>.
#
@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='libunwind'
PACKAGE_TARNAME='libunwind'
-PACKAGE_VERSION='1.5.0'
-PACKAGE_STRING='libunwind 1.5.0'
+PACKAGE_VERSION='1.6.2'
+PACKAGE_STRING='libunwind 1.6.2'
PACKAGE_BUGREPORT='libunwind-devel@nongnu.org'
PACKAGE_URL=''
@@ -683,6 +683,8 @@ OS_HPUX_FALSE
OS_HPUX_TRUE
OS_LINUX_FALSE
OS_LINUX_TRUE
+ARCH_RISCV_FALSE
+ARCH_RISCV_TRUE
ARCH_S390X_FALSE
ARCH_S390X_TRUE
ARCH_TILEGX_FALSE
@@ -711,6 +713,8 @@ REMOTE_ONLY_FALSE
REMOTE_ONLY_TRUE
NO_PTRACE_TEST_FALSE
NO_PTRACE_TEST_TRUE
+BUILD_UNWIND_HEADER_FALSE
+BUILD_UNWIND_HEADER_TRUE
BUILD_SETJMP_FALSE
BUILD_SETJMP_TRUE
BUILD_PTRACE_FALSE
@@ -872,6 +876,7 @@ enable_setjmp
enable_documentation
enable_tests
enable_weak_backtrace
+enable_unwind_header
enable_debug
enable_cxx_exceptions
enable_debug_frame
@@ -1448,7 +1453,7 @@ if test "$ac_init_help" = "long"; then
# 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 libunwind 1.5.0 to adapt to many kinds of systems.
+\`configure' configures libunwind 1.6.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1520,7 +1525,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of libunwind 1.5.0:";;
+ short | recursive ) echo "Configuration of libunwind 1.6.2:";;
esac
cat <<\_ACEOF
@@ -1549,6 +1554,7 @@ Optional Features:
--disable-tests Disable tests build
--disable-weak-backtrace
Do not provide the weak 'backtrace' symbol.
+ --disable-unwind-header Do not export the 'unwind.h' header
--enable-debug turn on debug support (slows down execution)
--enable-cxx-exceptions use libunwind to handle C++ exceptions
--enable-debug-frame Load the ".debug_frame" section if available
@@ -1658,7 +1664,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-libunwind configure 1.5.0
+libunwind configure 1.6.2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2488,7 +2494,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by libunwind $as_me 1.5.0, which was
+It was created by libunwind $as_me 1.6.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3462,7 +3468,7 @@ fi
# Define the identity of the package.
PACKAGE='libunwind'
- VERSION='1.5.0'
+ VERSION='1.6.2'
cat >>confdefs.h <<_ACEOF
@@ -16791,27 +16797,6 @@ case "$ac_cv_search_dlopen" in
*) DLLIB="";;
esac
- for ac_header in atomic_ops.h
-do :
- ac_fn_c_check_header_mongrel "$LINENO" "atomic_ops.h" "ac_cv_header_atomic_ops_h" "$ac_includes_default"
-if test "x$ac_cv_header_atomic_ops_h" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_ATOMIC_OPS_H 1
-_ACEOF
-
-fi
-
-done
-
-#
-# Don't link against libatomic_ops for now. We don't want libunwind
-# to depend on libatomic_ops.so. Fortunately, none of the platforms
-# we care about so far need libatomic_ops.a (everything is done via
-# inline macros).
-#
-# AC_CHECK_LIB(atomic_ops, main)
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if ${ac_cv_header_stdc+:} false; then :
@@ -16924,9 +16909,10 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h
fi
-for ac_header in asm/ptrace_offsets.h endian.h sys/endian.h execinfo.h \
- ia64intrin.h sys/uc_access.h unistd.h signal.h sys/types.h \
- sys/procfs.h sys/ptrace.h byteswap.h elf.h sys/elf.h link.h sys/link.h
+for ac_header in asm/ptrace_offsets.h asm/ptrace.h endian.h sys/endian.h sys/param.h \
+ execinfo.h ia64intrin.h sys/uc_access.h unistd.h signal.h sys/types.h \
+ sys/procfs.h sys/ptrace.h sys/syscall.h byteswap.h elf.h sys/elf.h \
+ link.h sys/link.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
@@ -17454,6 +17440,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
build_arch=x86_64 ;; #(
tile*) :
build_arch=tilegx ;; #(
+ riscv*) :
+ build_arch=riscv ;; #(
*) :
build_arch=$build_cpu ;;
esac
@@ -17478,6 +17466,8 @@ esac
host_arch=x86_64 ;; #(
tile*) :
host_arch=tilegx ;; #(
+ riscv*) :
+ host_arch=riscv ;; #(
*) :
host_arch=$host_cpu ;;
esac
@@ -17502,6 +17492,8 @@ esac
target_arch=x86_64 ;; #(
tile*) :
target_arch=tilegx ;; #(
+ riscv*) :
+ target_arch=riscv ;; #(
*) :
target_arch=$target_cpu ;;
esac
@@ -17528,7 +17520,7 @@ if test "${enable_coredump+set}" = set; then :
enableval=$enable_coredump;
else
case $host_arch in #(
- aarch64*|arm*|mips*|sh*|x86*|tile*) :
+ aarch64*|arm*|mips*|sh*|x86*|tile*|riscv*) :
enable_coredump=yes ;; #(
*) :
enable_coredump=no ;;
@@ -17567,7 +17559,7 @@ $as_echo "$enable_ptrace" >&6; }
if test "${enable_setjmp+set}" = set; then :
enableval=$enable_setjmp;
else
- if test x$target_arch == x$host_arch; then :
+ if test x$target_arch = x$host_arch; then :
enable_setjmp=yes
else
enable_setjmp=no
@@ -17600,6 +17592,19 @@ else
fi
+# Check whether --enable-unwind-header was given.
+if test "${enable_unwind_header+set}" = set; then :
+ enableval=$enable_unwind_header;
+else
+ enable_unwind_header=yes
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should export unwind.h" >&5
+$as_echo_n "checking if we should export unwind.h... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unwind_header" >&5
+$as_echo "$enable_unwind_header" >&6; }
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should build libunwind-setjmp" >&5
$as_echo_n "checking if we should build libunwind-setjmp... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_setjmp" >&5
@@ -17646,6 +17651,14 @@ else
BUILD_SETJMP_FALSE=
fi
+ if test "x$enable_unwind_header" = xyes; then
+ BUILD_UNWIND_HEADER_TRUE=
+ BUILD_UNWIND_HEADER_FALSE='#'
+else
+ BUILD_UNWIND_HEADER_TRUE='#'
+ BUILD_UNWIND_HEADER_FALSE=
+fi
+
if test x$build_arch != x$host_arch; then
NO_PTRACE_TEST_TRUE=
NO_PTRACE_TEST_FALSE='#'
@@ -17758,6 +17771,14 @@ else
ARCH_S390X_FALSE=
fi
+ if test x$target_arch = xriscv; then
+ ARCH_RISCV_TRUE=
+ ARCH_RISCV_FALSE='#'
+else
+ ARCH_RISCV_TRUE='#'
+ ARCH_RISCV_FALSE=
+fi
+
if expr x$target_os : xlinux >/dev/null; then
OS_LINUX_TRUE=
OS_LINUX_FALSE='#'
@@ -17806,7 +17827,7 @@ case "${target_arch}" in
$as_echo "32" >&6; };;
(aarch64|ia64|ppc64|x86_64|s390x|tilegx) use_elf64=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: 64" >&5
$as_echo "64" >&6; };;
-(mips) use_elfxx=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: xx" >&5
+(mips|riscv) use_elfxx=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: xx" >&5
$as_echo "xx" >&6; };;
*) as_fn_error $? "Unknown ELF target: ${target_arch}" "$LINENO" 5
esac
@@ -17853,13 +17874,6 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_dwarf" >&5
$as_echo "$use_dwarf" >&6; }
-if test x$target_arch = xppc64; then
- libdir='${exec_prefix}/lib64'
- { $as_echo "$as_me:${as_lineno-$LINENO}: PowerPC64 detected, lib will be installed ${libdir}" >&5
-$as_echo "$as_me: PowerPC64 detected, lib will be installed ${libdir}" >&6;};
-
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to restrict build to remote support" >&5
$as_echo_n "checking whether to restrict build to remote support... " >&6; }
if test x$target_arch != x$host_arch; then
@@ -17900,6 +17914,7 @@ case $target_arch in
arm*) enable_cxx_exceptions=no;;
mips*) enable_cxx_exceptions=no;;
tile*) enable_cxx_exceptions=no;;
+ s390x*) enable_cxx_exceptions=no;;
*) enable_cxx_exceptions=yes;;
esac
@@ -17931,6 +17946,9 @@ case "${target_arch}" in
esac
fi
+if test x$remote_only = xyes; then
+ enable_debug_frame=no
+fi
if test x$enable_debug_frame = xyes; then
$as_echo "#define CONFIG_DEBUG_FRAME /**/" >>confdefs.h
@@ -18149,45 +18167,9 @@ fi
$as_echo "$enable_per_thread_cache" >&6; }
if test x$enable_per_thread_cache = xyes; then :
- if test "x$enable___thread" != xno; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
-$as_echo_n "checking for __thread... " >&6; }
-if ${libc_cv_gcc___thread+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat > conftest.c <<\EOF
- __thread int a = 42;
-EOF
- if { ac_try='${CC-cc} $CFLAGS -c conftest.c >&5'
- { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- libc_cv_gcc___thread=yes
- else
- libc_cv_gcc___thread=no
- fi
- rm -f conftest*
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
-$as_echo "$libc_cv_gcc___thread" >&6; }
- if test "$libc_cv_gcc___thread" = yes; then
-
-$as_echo "#define HAVE___THREAD 1" >>confdefs.h
- fi
-else
- libc_cv_gcc___thread=no
-fi
- if test x$libc_cv_gcc___thread = xno; then :
+$as_echo "#define HAVE___CACHE_PER_THREAD 1" >>confdefs.h
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "UNW_CACHE_PER_THREAD requires __thread
-See \`config.log' for more details" "$LINENO" 5; }
-
-fi
fi
@@ -18338,45 +18320,14 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have__builtin_unreachable" >&5
$as_echo "$have__builtin_unreachable" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync atomics" >&5
-$as_echo_n "checking for __sync atomics... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- __sync_bool_compare_and_swap((int *)0, 0, 1);
- __sync_fetch_and_add((int *)0, 1);
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- have_sync_atomics=yes
-else
- have_sync_atomics=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-if test x$have_sync_atomics = xyes; then
-
-$as_echo "#define HAVE_SYNC_ATOMICS 1" >>confdefs.h
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_sync_atomics" >&5
-$as_echo "$have_sync_atomics" >&6; }
-
CCASFLAGS="${CCASFLAGS} ${CPPFLAGS}"
arch="$target_arch"
ARCH=`echo $target_arch | tr a-z A-Z`
PKG_MAJOR=1
-PKG_MINOR=5
-PKG_EXTRA=0
+PKG_MINOR=6
+PKG_EXTRA=2
PKG_MAINTAINER=libunwind-devel@nongnu.org
old_LIBS="$LIBS"
@@ -18713,6 +18664,10 @@ if test -z "${BUILD_SETJMP_TRUE}" && test -z "${BUILD_SETJMP_FALSE}"; then
as_fn_error $? "conditional \"BUILD_SETJMP\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${BUILD_UNWIND_HEADER_TRUE}" && test -z "${BUILD_UNWIND_HEADER_FALSE}"; then
+ as_fn_error $? "conditional \"BUILD_UNWIND_HEADER\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${NO_PTRACE_TEST_TRUE}" && test -z "${NO_PTRACE_TEST_FALSE}"; then
as_fn_error $? "conditional \"NO_PTRACE_TEST\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -18769,6 +18724,10 @@ if test -z "${ARCH_S390X_TRUE}" && test -z "${ARCH_S390X_FALSE}"; then
as_fn_error $? "conditional \"ARCH_S390X\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
fi
+if test -z "${ARCH_RISCV_TRUE}" && test -z "${ARCH_RISCV_FALSE}"; then
+ as_fn_error $? "conditional \"ARCH_RISCV\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
if test -z "${OS_LINUX_TRUE}" && test -z "${OS_LINUX_FALSE}"; then
as_fn_error $? "conditional \"OS_LINUX\" was never defined.
Usually this means the macro was only invoked conditionally." "$LINENO" 5
@@ -19226,7 +19185,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by libunwind $as_me 1.5.0, which was
+This file was extended by libunwind $as_me 1.6.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -19292,7 +19251,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-libunwind config.status 1.5.0
+libunwind config.status 1.6.2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"