Skip to content

Commit cab1935

Browse files
author
jan.nijtmans
committed
Update to latest TEA
1 parent b0ae9ac commit cab1935

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
@@ -9320,6 +9320,42 @@ printf "%s\n" "#define TK_MAJOR_VERSION 8" >>confdefs.h
93209320
if test "$GCC" = "yes"; then
93219321
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -static-libgcc"
93229322
fi
9323+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if the linker understands --disable-high-entropy-va" >&5
9324+
printf %s "checking if the linker understands --disable-high-entropy-va... " >&6; }
9325+
if test ${tcl_cv_ld_high_entropy+y}
9326+
then :
9327+
printf %s "(cached) " >&6
9328+
else case e in #(
9329+
e)
9330+
hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Wl,--disable-high-entropy-va"
9331+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332+
/* end confdefs.h. */
9333+
9334+
int
9335+
main (void)
9336+
{
9337+
9338+
;
9339+
return 0;
9340+
}
9341+
_ACEOF
9342+
if ac_fn_c_try_link "$LINENO"
9343+
then :
9344+
tcl_cv_ld_high_entropy=yes
9345+
else case e in #(
9346+
e) tcl_cv_ld_high_entropy=no ;;
9347+
esac
9348+
fi
9349+
rm -f core conftest.err conftest.$ac_objext conftest.beam \
9350+
conftest$ac_exeext conftest.$ac_ext
9351+
CFLAGS=$hold_cflags ;;
9352+
esac
9353+
fi
9354+
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_high_entropy" >&5
9355+
printf "%s\n" "$tcl_cv_ld_high_entropy" >&6; }
9356+
if test $tcl_cv_ld_high_entropy = yes; then
9357+
SHLIB_LD_LIBS="${SHLIB_LD_LIBS} -Wl,--disable-high-entropy-va"
9358+
fi
93239359
eval eval "PKG_LIB_FILE8=${PACKAGE_LIB_PREFIX8}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"
93249360
eval eval "PKG_LIB_FILE9=${PACKAGE_LIB_PREFIX9}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"
93259361
eval eval "PKG_LIB_FILE=${PACKAGE_LIB_PREFIX}${PACKAGE_NAME}${SHARED_LIB_SUFFIX}"

0 commit comments

Comments
 (0)