Skip to content

Commit 108c75c

Browse files
author
jan.nijtmans
committed
Update to latest TEA
2 parents 6f8dae4 + cab1935 commit 108c75c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

configure

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9314,6 +9314,42 @@ printf "%s\n" "#define TK_MAJOR_VERSION 8" >>confdefs.h
93149314
if test "$GCC" = "yes"; then
93159315
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -static-libgcc"
93169316
fi
9317+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker understands --disable-high-entropy-va" >&5
9318+
printf %s "checking if the linker understands --disable-high-entropy-va... " >&6; }
9319+
if test ${tcl_cv_ld_high_entropy+y}
9320+
then :
9321+
printf %s "(cached) " >&6
9322+
else case e in #(
9323+
e)
9324+
hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Wl,--disable-high-entropy-va"
9325+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326+
/* end confdefs.h. */
9327+
9328+
int
9329+
main (void)
9330+
{
9331+
9332+
;
9333+
return 0;
9334+
}
9335+
_ACEOF
9336+
if ac_fn_c_try_link "$LINENO"
9337+
then :
9338+
tcl_cv_ld_high_entropy=yes
9339+
else case e in #(
9340+
e) tcl_cv_ld_high_entropy=no ;;
9341+
esac
9342+
fi
9343+
rm -f core conftest.err conftest.$ac_objext conftest.beam \
9344+
conftest$ac_exeext conftest.$ac_ext
9345+
CFLAGS=$hold_cflags ;;
9346+
esac
9347+
fi
9348+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_high_entropy" >&5
9349+
printf "%s\n" "$tcl_cv_ld_high_entropy" >&6; }
9350+
if test $tcl_cv_ld_high_entropy = yes; then
9351+
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,--disable-high-entropy-va"
9352+
fi
93179353
eval eval "PKG_LIB_FILE8=${PACKAGE_LIB_PREFIX8}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"
93189354
eval eval "PKG_LIB_FILE9=${PACKAGE_LIB_PREFIX9}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"
93199355
eval eval "PKG_LIB_FILE=${PACKAGE_LIB_PREFIX}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"

0 commit comments

Comments
 (0)