mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 07:37:38 +01:00
Regenerate.
(Logical change 1.22)
This commit is contained in:
parent
aca9360701
commit
fb2c7eb56d
1 changed files with 33 additions and 1 deletions
34
configure
vendored
34
configure
vendored
|
@ -4194,6 +4194,39 @@ if test "${enable_debug+set}" = set; then
|
|||
enable_debug=yes
|
||||
fi;
|
||||
|
||||
if test "x$use__thread" != xno; then
|
||||
echo "$as_me:$LINENO: checking for __thread" >&5
|
||||
echo $ECHO_N "checking for __thread... $ECHO_C" >&6
|
||||
if test "${libc_cv_gcc___thread+set}" = set; then
|
||||
echo $ECHO_N "(cached) $ECHO_C" >&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:$LINENO: \"$ac_try\"") >&5
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||
(exit $ac_status); }; }; then
|
||||
libc_cv_gcc___thread=yes
|
||||
else
|
||||
libc_cv_gcc___thread=no
|
||||
fi
|
||||
rm -f conftest*
|
||||
fi
|
||||
echo "$as_me:$LINENO: result: $libc_cv_gcc___thread" >&5
|
||||
echo "${ECHO_T}$libc_cv_gcc___thread" >&6
|
||||
if test "$libc_cv_gcc___thread" = yes; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE___THREAD 1
|
||||
_ACEOF
|
||||
|
||||
fi
|
||||
else
|
||||
libc_cv_gcc___thread=no
|
||||
fi
|
||||
|
||||
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
|
||||
if test x$enable_debug == xyes; then
|
||||
CPPFLAGS="${CPPFLAGS} -DDEBUG"
|
||||
|
@ -4211,7 +4244,6 @@ ARCH=`echo $target_arch | tr a-z A-Z`
|
|||
|
||||
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile"
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
|
|
Loading…
Reference in a new issue